Initiate a payout

Send money to recipient

URI

POST

https://api.tryduplo.com/v1/wallets/transfer

Parameters

Body Param

Sample request

curl --location --request POST 'https://api.tryduplo.com/v1/wallets/transfer' \
--header 'Authorization: Bearer SECRET_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
   "recipient_bank_code": "044",
   "recipient_account_number": "0694002924",
   "amount": "200",
   "description": "chop money",
   "payout_otp": "893745",  //optional. This should be parse if it's enabled
   "business_id":"2e5071-59cb-4057-a14b-d49a3c90ef"
}'

Duplo Response

{
   "data": {},
   "errors": {},
   "message": "Transaction request successful"
}

Last updated