POST
/
v1
/
direct-debits
/
debit-mandate
Debit a mandate
curl --request POST \
  --url https://api.nomba.com/v1/direct-debits/debit-mandate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'accountId: <accountid>' \
  --data '{
  "mandateId": "89b0efc0-dde5-49e2-8bde-5523ae081c43",
  "amount": "110.00"
}'
{
  "code": "00",
  "description": "SUCCESS",
  "data": {
    "mandateId": "89b0efc0-dde5-49e2-8bde-5523ae081c43",
    "status": "SUCCESS",
    "amount": "110.00",
    "message": "Approved or completed successfully"
  },
  "message": "SUCCESS",
  "status": true
}

Authorizations

Authorization
string
header
required

Nomba authenticates API calls with OAuth2 HTTP bearer tokens. There are two methods of authentication; Client-Credentials method and PKCE (Proof Key for Code Exchange) method. In each of the methods, You will get an ACCESS_TOKEN. You need to use an "Authorization" HTTP header to provide your ACCESS_TOKEN. For example: Authorization: {ACCESS_TOKEN}.

Headers

accountId
string
required

The vendor account ID

Body

application/json

Response

200
application/json

Mandate debited successfully

The response is of type object.