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

Authorization string

set value to Bearer SECRET_KEY

Body Param

business_id string required

Merchant Business ID

customer_wallet_ref string required

Wallet reference of the customer's wallet

amount number required

Amount to be withdrawn

description number required

Specify the purpose of the withdrawal

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