Initiate a Payout v2
Send money to recipient
URI
POST
https://api.tryduplo.com/v1/wallets/v2/transfer
Parameters
Header
Authorization
string
set value to Bearer SECRET_KEY
Body Param
recipient_bank_code
string
required
The bank code of the recipient bank
recipient_account_number
string
required
The bank account number of the recipient
amount
number
required
The amount to be transferred. a minimum of 200 naira
description
string
required
Specify the reason for the transaction
business_id
string
required
Merchant business ID
transaction_id
string
optional
Transaction ID
Sample request
curl --location --request POST 'https://api.tryduplo.com/v1/wallets/v2/transfer' \
--header 'Authorization: Bearer SECRET_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"recipient_bank_code": "044",
"recipient_account_number": "0694002924",
"amount": "200",
"description": "sample description",
"business_id":"15f87763-8b6c-47c2-b1ec-e90574c2c4a9f",
"transaction_id": "S02PA234"
}'
Duplo Response
{
"data": {
"transaction_ref": "tran_i81LURD7sH",
"amount": 200,
"description": "sample description",
"business_id": "15f87763-8b6c-47c2-b1ec-e90574c2c4a9",
"status": "awaiting_otp_verification",
"transaction_id": "S02PA234" // this is returned if it was passed while initiating the transfer
},
"errors": {},
"message": "Payout request initiated successfully"
}
Last updated
Was this helpful?