Specification

Payouts

Payout API calls

Request

Create batch EFT payouts from the account specified in a payment method to a specified recipient.

Path

POST /payouts/request

Request Body

{
    "batch_reference": "PAY23011",
    "payouts": [{
      "recipient": {
        "reference": "CLN240919000001",
        "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,
      
        "bank": {
          "bank_account_holder_name": "J DOE",
          "bank_account_number": "10004291601",
          "bank_account_type_lookups_id": "loo_abc123...",
          "bank_name_lookups_id": "loo_abc123...",
          "bank_branch_code": 632005
        },

        "eft_reference": "THEIR REF1234"
      },

      "payment": {
        "eft_reference": "MY REF1234",
        "payment_methods_id": "pam_abc123...",
        "amount": "45.00",
        "transaction_reference": "PAYOUT1234",
        "is_immediate": true
      }
    }, ...]
}

Request Parameters

Field
RequiredType
Description
Example
batch_referenceNString(128)Custom API reference number you may assign to this collection that will also reflect on subsequent transactions.RFR23011
payoutsYArray of objects
*.recipient.referenceYString(35)Reference to identify a specific customerCLN240919000001
*.recipient.company_nameNString(64)Either a company name OR person name and surname must be provided. Company name is used when collection is made from a specific companySuperior Meteor Corp
*.recipient.person_nameNString(32)Name of the person to be collected fromJohn
*.recipient.person_surnameNString(32)Surname of the person to be collected fromDoe
*.recipient.emailNString(128)Valid email address of the person to be collected fromjohndoe@mail.com
*.recipient.contact_numberNString(16)Mobile contact number of the person to be collected from. Must include the area code.+27831234567
*.recipient.billing_address_line_1NString(128)First line of address for the person to be collected from. Should be the street address if no complex number is applicable.145 Superior Complex
*.recipient.billing_address_line_2NString(128)Second line of address for the person to be collected from. Should be the street address if a complex was used on line 1.541 New River Road
*.recipient.city_or_townNString(64)City/Town where address lines 1 and 2 are located in.Pretoria
*.recipient.postal_codeNIntegerPostal code related to address lines 1 and 2.1285
*.recipient.bank.bank_account_holder_nameYString(30)Bank account holder name for the bank account to be collected fromJ DOE
*.recipient.bank.bank_account_numberYString(17)Bank account number to be collected from10004291601
*.recipient.bank.bank_account_type_lookups_idYString(32)Lookups ID relating to a bank account e.g. Cheque. Lookups type must be 'Bank Account'loo_abc123...
*.recipient.bank.bank_name_lookups_idYString(32)Lookups ID relating to the bank name of the account number e.g. ABSA. Lookups type must be 'Bank Name'loo_abc123...
*.recipient.bank.bank_branch_codeYIntegerBank branch code for the account number632005
*.recipient.eft_referenceNString(20)Reference to be used for the EFT payment that will appear in the recipient bank account, if left blank a reference will be generatedMYREF1234
*.payment.eft_referenceNString(20)Reference to be used for the EFT payment that will appear in your bank account, if left blank a reference will be generatedMYREF1234
*.payment.payment_methods_idYString(32)ID of the payment method to be used to specify the account paying from payment methodspam_abc123...
*.payment.amountYDecimalThe amount to be paid by the customer45.00
*.payment.transaction_referenceYString(128)Reference used internally to identify a specific transactionPAYOUT1234
*.payment.is_immediateYBooleanBoolean to make an immediate or normal EFT paymentTRUE/FALSE

Response Body

Display's the floating account details for the customer to make the payment to.

{
  "status": true,
  "batch_reference": "PAY23011",
  "payouts": [{
      "transaction_reference": "TRANS1234",
      "transaction_status_lookups_id": "loo_abc123...",
      "transaction_date": "2024-02-03 08:14:35"
  }, ...]
}

Response Parameters

Field
Description
Example
statustrue - successfully requested, false - failedtrue
batch_referenceCustom API reference number you may assign to this collection that will also reflect on subsequent transactions.RFR23011
payoutsPayout details
*.transaction_referenceReference used internally to identify a specific transactionTRANS1234
*.transaction_status_lookups_idLookups ID relating to the status of this transaction e.g. paid, unpaid etcloo_abc123...
*.transaction_dateWhen the new transaction was billed2024-02-03 08:14:35

Copyright © 2024 Kwik