curl --location 'https://api.nomba.com/v1/direct-debits' \
--header 'Authorization: Bearer [token]' \
--header 'accountId: <accountId>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "mandateId": "63fba2a159bef38d97f462d9b473306bed944544",
  "status": "SUSPEND",
}'
{
    "code": "00",
    "description": "SUCCESS",
    "data": {
        "mandateId": "c93e1e1b-85f5-461e-8b9b-74ee091d4aa4",
        "mandateAdviceStatus": "Advise not sent",
        "mandateStatus": "SUSPEND",

    },
    "message": "SUCCESS",
    "status": true
}

PUT /v1/direct-debits/update-status

Request body

mandateId
string
required
This is the mandate ID.
status
string
required
The status you want to change to.

Response body

code
string
required
Response code
description
string
required
Response description
data
object
message
string
required
Message
status
boolean
required
status
curl --location 'https://api.nomba.com/v1/direct-debits' \
--header 'Authorization: Bearer [token]' \
--header 'accountId: <accountId>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "mandateId": "63fba2a159bef38d97f462d9b473306bed944544",
  "status": "SUSPEND",
}'
{
    "code": "00",
    "description": "SUCCESS",
    "data": {
        "mandateId": "c93e1e1b-85f5-461e-8b9b-74ee091d4aa4",
        "mandateAdviceStatus": "Advise not sent",
        "mandateStatus": "SUSPEND",

    },
    "message": "SUCCESS",
    "status": true
}