curl --location 'http://api.nomba.com/v1/direct-debits/status?mandateId=<mandateId>' \
--header 'Authorization: Bearer [token]' \
--header 'accountId: <accountId>' \
--header 'Content-Type: application/json' \
--data ''
{
    "code": "00",
    "description": "SUCCESS",
    "data": {
        "customerAccountName": "Habib Muhammad",
        "mandateId": "e50b7835-502c-4cfe-8828-47657633d7a2",
        "customerAccountNumber": "8079914423",
        "mandateStatus": "Active",
        "rejectionReason": null,
        "mandateAdviceStatus": "Advice Sent"
    },
    "message": "SUCCESS",
    "status": true
}

GET /v1/direct-debits/status?mandateId=<mandateId>

Response body

code
string
required
Response code
description
string
required
Response description
data
object
message
string
required
Message
status
boolean
required
status
curl --location 'http://api.nomba.com/v1/direct-debits/status?mandateId=<mandateId>' \
--header 'Authorization: Bearer [token]' \
--header 'accountId: <accountId>' \
--header 'Content-Type: application/json' \
--data ''
{
    "code": "00",
    "description": "SUCCESS",
    "data": {
        "customerAccountName": "Habib Muhammad",
        "mandateId": "e50b7835-502c-4cfe-8828-47657633d7a2",
        "customerAccountNumber": "8079914423",
        "mandateStatus": "Active",
        "rejectionReason": null,
        "mandateAdviceStatus": "Advice Sent"
    },
    "message": "SUCCESS",
    "status": true
}