debit
Debit amount from a sub merchant account
API for debiting an amount from a specified submerchant account by Main merchant.
post/api/v1/accounts/{accountId}/debit
Path parameters
accountIdinteger required
The ID of the account to debit.
Request body
Example request
{
"amount": 100.5,
"notes": "Fee collection"
}Response
OK.
Example response
{
"debit": {
"accountId": 23422,
"balance": 900.5
},
"credit": {
"accountId": 32423,
"balance": 190.5
}
}