v1

latestOpenAPI 3.1.02026-08-04490133.8 KB

Create Payout Transaction Beneficiary

post/payouts

Request body

tokenstring required

JWT token from quotation

beneficiaryIdstring required

Id of beneficiary you are sending to, you can get the beneficiary Id from the get beneficiary endpoint

Response

200

codeinteger
successboolean

Example response

{
  "code": 200,
  "data": {
    "transaction": {
      "transactionId": "BP11678735362605",
      "currency": "UGX",
      "type": "payout",
      "amount": 1000,
      "userId": 3,
      "sourceCurrency": "UGX",
      "destinationCurrency": "NGN",
      "destinationAmount": "191.16",
      "destinationCountry": "NG",
      "beneficiary": {
        "id": 272,
        "firstName": "John Doe",
        "lastName": "Smith",
        "phoneNumber": "+234812345678",
        "country": "NG",
        "createdAt": "2023-03-13T19:22:43.538Z",
        "updatedAt": "2023-03-13T19:22:44.986Z"
      },
      "status": "pending",
      "createdAt": "2023-03-13T19:22:46.070Z",
      "updatedAt": "2023-03-13T19:22:46.071Z"
    }
  },
  "success": true
}