Transfer to business

Move money from a digital wallet to your business balance.

When you receive payments from a customer using the virtual account number attached to their digital wallet, you can transfer this money to your business balance on Duplo.

URI

POST

https://api.tryduplo.com/v1/wallets/merchant-withdrawal

Parameters

Body Param

Sample request

curl --location --request POST 'https://api.tryduplo.com/v1/wallets/merchant-withdrawal' \
--header 'Authorization: Bearer SECRET_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
   "business_id": "{YOUR_VALUE}",
   "customer_wallet_ref": "wal_jh6ckcNWFEcb",
   "amount": 4000,
   "description": "payment for service rendered"
}'

Duplo Response

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

Last updated