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
}
Learn how to get all created Mandates using the Nomba API
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
Hide object
Hide object
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
}