curl --location 'http://api.nomba.com/v1/direct-debits/mandates?page=0&pageSize=20' \
--header 'Authorization: Bearer [token]' \
--header 'accountId: <accountId>' \
--header 'Content-Type: application/json' \
--data ''
{
    "code": "00",
    "description": "SUCCESS",
    "data": {
        "items": [
          {
              "status": "SUSPEND",
              "customerAccountNumber": "085566772",
              "customerAccountName": "Kolapo Ojo",
              "bankCode": "057",
              "amount": 100.0,
              "customerName": "Kolapo Ojo",
              "customerAddress": "maryland Ikeja computer village",
              "customerEmail": "[email protected]",
              "customerPhoneNumber": "08022342232",
              "merchantReference": "12003074001",
              "frequency": "VARIABLE",
              "startDate": [
                  2025,
                  8,
                  13,
                  15,
                  30
              ],
              "endDate": [
                  2025,
                  8,
                  30,
                  10,
                  40
              ],
              "mandateAdviceStatus": "ADVICE_NOT_SENT",
              "mandateId": "c93e1e1b-85f5-461e-8b9b-74ee091d4aa4"
          }

        ],
        "page": 0,
        "pageSize": 20,
        "totalItems": 4,
        "totalPages": 1,
        "hasMore": false
    },
    "message": "SUCCESS",
    "status": true
}

GET /v1/direct-debits/mandates?page=0&pageSize=20&status=ACTIVE

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/mandates?page=0&pageSize=20' \
--header 'Authorization: Bearer [token]' \
--header 'accountId: <accountId>' \
--header 'Content-Type: application/json' \
--data ''
{
    "code": "00",
    "description": "SUCCESS",
    "data": {
        "items": [
          {
              "status": "SUSPEND",
              "customerAccountNumber": "085566772",
              "customerAccountName": "Kolapo Ojo",
              "bankCode": "057",
              "amount": 100.0,
              "customerName": "Kolapo Ojo",
              "customerAddress": "maryland Ikeja computer village",
              "customerEmail": "[email protected]",
              "customerPhoneNumber": "08022342232",
              "merchantReference": "12003074001",
              "frequency": "VARIABLE",
              "startDate": [
                  2025,
                  8,
                  13,
                  15,
                  30
              ],
              "endDate": [
                  2025,
                  8,
                  30,
                  10,
                  40
              ],
              "mandateAdviceStatus": "ADVICE_NOT_SENT",
              "mandateId": "c93e1e1b-85f5-461e-8b9b-74ee091d4aa4"
          }

        ],
        "page": 0,
        "pageSize": 20,
        "totalItems": 4,
        "totalPages": 1,
        "hasMore": false
    },
    "message": "SUCCESS",
    "status": true
}