post https://api-v2.honeycoin.app/api/b2b/fiat/payout
This endpoint is a universal endpoint, below are schemas for different payouts such as mobile money or bank accounts and this endpoint allows you to payout to these destinations through this single endpoint.
{
"publicKey": "HC-12",
"amount": 100,
"currency": "KES",
"country": "KE", //ISO 3166-1 alpha-2 code
"externalReference": "test",
"payoutMethod": {
"accountName": "John Doe", // registered account name
"accountNumber": "254719624552" //phone code + phone number (no plus sign)
},
"destination": "MoMo" //destination: MoMo
}
{
"publicKey": "HC-12",
"amount": 100,
"currency": "KES",
"country": "KE", //ISO 3166-1 alpha-2 code
"externalReference": "test",
"payoutMethod": {
"accountName": "John Doe", // registered account name
"accountNumber": "1280179878793", //phone code + phone number (no plus sign)
"code": "1243"
},
"destination": "Bank Account" //destination: MoMo
}
{
"amount": 100,
"externalReference": "1234",
"externalAccountId": "zxEFheZW6DlnCgXJIJDz"
}
{
"publicKey": "HC-12",
"amount": 100,
"currency": "KES",
"country": "KE",
"externalReference": "test",
"debitCurrency": "USD",
"payoutMethod": {
"accountName": "John Doe",
"accountNumber": "1234567890"
},
"destination": "MoMo"
}