Money Out

Recipients

 

Manage recipient records for use with payouts.

Used to create, edit and archive recipients.

Create

API call to create new recipient(s) as single or batch records.

Path

POST /recipients/create

Request Body

{
  "records": [{
    "reference": "BAC240919000001",
    "recipient_category": "Employee",
    "company_name": null,
    "person_name": "John",
    "person_surname": "Doe",
    "email": "johndoe@mail.com",
    "contact_number": "+27831234567",
    "billing_address_line_1": "145 Superior Complex",
    "billing_address_line_2": "541 New River Road",
    "city_or_town": "Pretoria",
    "postal_code": 1285
  }]
}

Request Parameters

Field
RequiredType
Description
Example
*.referenceYString(35)Reference to identify a specific recipient.BAC240919000001
*.recipient_category.NString(32)Descriptive category string if applicable.Employee
*.company_nameCString(64)Either a company name OR person name and surname must be provided.Superior Meteor Corp
*.person_nameCString(32)Name of the recipient.John
*.person_surnameCString(32)Surname of the recipient.Doe
*.emailYString(128)Valid email address of the recipient.johndoe@mail.com
*.contact_numberNString(16)Mobile contact number of the recipient. Must include the area code.+27831234567
*.billing_address_line_1NString(128)First line of address for the recipient. Should be the street address if no complex number is applicable.145 Superior Complex
*.billing_address_line_2NString(128)Second line of address for the recipient. Should be the street address if a complex was used on line 1.541 New River Road
*.city_or_townNString(64)City/Town where billing address is located in.Pretoria
*.postal_codeNIntegerPostal code related to the billing address.1285

Response Body

The response follows the same format as the list response

{
    "status": true,
    "records": [{
        "id": "rcp_6ujw08sqs3d6DyWFj66au",
        "recipient_status": "ACTIVE",
        ...
    }, ...]
}

Update

API call to update existing recipient(s) as single or batch records. Records can not be deleted, only archived.

Path

POST /recipients/update

Request Body

Only include fields you wish to change (besides id used to find the record). Setting a column to null e.g. city_or_town = null will clear that fields' value if allowed.

{
  "records": [{
    "id": "rcp_6ujw08sqs3d6DyWFj66au",
    "recipient_status": "DISABLED",
    "reference": "BAC240919000001",
    "recipient_category": "Employee",
    "company_name": null,
    "person_name": "John",
    "person_surname": "Doe",
    "email": "johndoe@mail.com",
    "contact_number": "+27831234567",
    "billing_address_line_1": "145 Superior Complex",
    "billing_address_line_2": "541 New River Road",
    "city_or_town": "Pretoria",
    "postal_code": 1285
  }]
}

Request Parameters

Field
RequiredType
Description
Example
*.idYString(35)ID of the recipient to be updatedrcp_6ujw08sqs3d6DyWFj66au
*.recipient_statusNENUM(ACTIVE, ARCHIVED, DISABLED)ACTIVE
*.referenceNString(35)Reference to identify a specific recipient.BAC240919000001
*.recipient_category.NString(32)Descriptive category string if applicable.Employee
*.company_nameNString(64)Either a company name OR person name and surname must be provided.Superior Meteor Corp
*.person_nameNString(32)Name of the recipient.John
*.person_surnameNString(32)Surname of the recipient.Doe
*.emailNString(128)Valid email address of the recipient.johndoe@mail.com
*.contact_numberNString(16)Mobile contact number of the recipient. Must include the area code.+27831234567
*.billing_address_line_1NString(128)First line of address for the recipient. Should be the street address if no complex number is applicable.145 Superior Complex
*.billing_address_line_2NString(128)Second line of address for the recipient. Should be the street address if a complex was used on line 1.541 New River Road
*.city_or_townNString(64)City/Town where billing address is located in.Pretoria
*.postal_codeNIntegerPostal code related to the billing address.1285

Response Body

The response follows the same format as the list response

{
    "status": true,
    "records": [{
        "id": "cus_9F3jl6zuRAJxuBmiN3H4D",
        "customer_status": "ACTIVE",
        ...
    }, ...]
}

List

List recipients loaded on the platform.

Path

GET /recipients/list?{params}

Query Parameters

Field
Type
RequiredDescription
Example
recipient_statusENUMNFilter for a specific customer status. (ACTIVE,ARCHIVED,DISABLED).ACTIVE
date_startDate(YYYY-MM-DD)NFilter for records that have a created date on or after after this date specified.2024-09-13
date_endDate(YYYY-MM-DD)NFilter for records up to this created date2025-04-24
recipient_idString(32)NFilter for a specific recipient id.rcp_6ujw08sqs3d6DyWFj66au
referenceString(35)NFilter for a specific recipient reference.BAC240919000001
company_nameString(64)NFilter for a specific company names.Fast Corp LTD
person_nameString(32)NFilter for a specific name.John
person_surnameString(32)NFilter for a specific surname.Doe
emailString(128)NFilter for a specific email.johndoe@mail.com
contact_numberString(16)NFilter for a specific contact number.27831234567

Response Body

{
  "status": true,
  "records": [{
    "id": "rcp_6ujw08sqs3d6DyWFj66au",
    "recipient_status": "DISABLED",
    "deleted_at": null,
    "updated_at": null,
    "created_at": "2024-02-27 09:11:23",
    "reference": "BAC240919000001",
    "recipient_category": "Employee",
    "company_name": null,
    "person_name": "John",
    "person_surname": "Doe",
    "email": "johndoe@mail.com",
    "contact_number": "+27831234567",
    "billing_address_line_1": "145 Superior Complex",
    "billing_address_line_2": "541 New River Road",
    "city_or_town": "Pretoria",
    "postal_code": 1285
  }, ...]
}

Response Parameters

Field
Type
Description
Example
statusBooleantrue - success, false - errortrue
recordsArray of objects
*.idString(35)ID of the recipientrcp_6ujw08sqs3d6DyWFj66au
*.recipient_statusENUM(ACTIVE, ARCHIVED, DISABLED)ACTIVE
*.deleted_atDate(YYYY-MM-DD HH:mm:ss)Date when record was deleted2025-05-27 09:11:23
*.updated_atDate(YYYY-MM-DD HH:mm:ss)Date when record was last updated2025-05-21 09:11:23
*.created_atDate(YYYY-MM-DD HH:mm:ss)Date when record was created2025-05-01 09:11:23
*.referenceString(35)Reference to identify a specific recipient.BAC240919000001
*.recipient_category.String(32)Descriptive category string if applicable.Employee
*.company_nameString(64)Recipient company name.Superior Meteor Corp
*.person_nameString(32)Name of the recipient.John
*.person_surnameString(32)Surname of the recipient.Doe
*.emailString(128)Valid email address of the recipient.johndoe@mail.com
*.contact_numberString(16)Mobile contact number of the recipient.+27831234567
*.billing_address_line_1String(128)First line of address for the recipient.145 Superior Complex
*.billing_address_line_2String(128)Second line of address for the recipient.541 New River Road
*.city_or_townString(64)City/Town where billing address is located in.Pretoria
*.postal_codeIntegerPostal code related to the billing address.1285