...
Info |
---|
This endpoint is protected with OAuth 2.0 Bearer token. To find out more about authorization for Monnify endpoints, check Here |
Endpoint URL: {{base_url}}/api/v1/merchant/direct-debit/mandate?mandateReference={{mandatereference}}
...
Code Block |
---|
|
GET https://sandbox.monnify.com/api/v1/direct-debit/mandate?mandateReferences=shdjdii9292 |
Sample Responses
Expand |
---|
title | Active Mandate Response |
---|
|
"requestSuccessful": true,
| "responseMessage": "success",
|
01HW2SXG652BPQ0WJDGG91806Z01J2KVEZXYQG9EB0P7F0QT1TH1",
| externalMandateReferenceshdjdii929s2
0519T090000 0119T090000 "mandateStatus": "ACTIVE",
| 100000.00199.00,
"autoRenew": false,
"customerPhoneNumber": "+2348166189142",
"customerEmailAddress": "dogunnaike@moniepoint.com",
"customerAddress": "123 Example Street, City, Country 13",
"customerName": "Ahsan",
| "contractCode": "4934121686""customerAccountName": "Damilare Ogunnaike",
"customerAccountNumber": "0039300622",
"customerAccountBankCode": "221",
"mandateDescription": "Subscription Fee",
"debitAmount": 150,
"authorizationMessage": null,
"authorizationLink": null,
"responseMessage": "Active | "autoRenew |
Expand |
---|
title | Mandate With Pending Authorisation Response |
---|
|
Code Block |
---|
| {
"requestSuccessful": true,
"responseMessage": "success",
"responseCode": "0",
" | customerPhoneNumberresponseBody": [
{
"mandateCode": " | 1234567890MTDD|01J3NARHGMMABYGW06KAB1D4A7",
"mandateReference": "test_ref_08072024-9",
" | customerEmailAddressbenjamin.ononogbu@moniepoint.com",2024-08-18T09:00:30.000+00:00",
"endDate": "2025-04-22T09:15:30.000+00:00",
"mandateStatus": "PENDING_AUTHORIZATION",
| "customerAddress"123 Example Street, City, Country",
120000.00,
"autoRenew": false,
"customerPhoneNumber": "08091385415",
"customerEmailAddress": "ankit.kushwaha@moniepoint.com",
"customerAddress": "12 David East Lagos",
"customerName": " | MarvelousBenji BenjaminWilson
"customerAccountNumber": " | 8088523241
"customerAccountBankCode": " | 305 "mandateDescription": "Subscription Fee",
| 20000 null "Request Ojinaka Daniel Ifeanyi to kindly proceed with a token payment of N50.00 into account number 9020025928 with Fidelity Bank. This transfer must be initiated from the account in the mandate request. This payment will trigger the authentication of customer and will authorize this mandate.",
| "authorizationLink": null
"authorizationLink": "https://monnify-payment-pages.staging.monnify.com/mandate-auth/MTDD|01J3NARHGMMABYGW06KAB1D4A7?accountNumber=9020025928&bankName=Fidelity Bank&customerAccountName=OJINAKA+DANIEL+IFEANYI&amount=50.00",
"responseMessage": "Mandate is awaiting customer authorization - https://monnify-payment-pages.staging.monnify.com/mandate-auth/MTDD|01J3NARHGMMABYGW06KAB1D4A7?accountNumber=9020025928&bankName=Fidelity Bank&customerAccountName=OJINAKA+DANIEL+IFEANYI&amount=50.00"
}
| |
Field Parameters
Fields | Mandatory or Optional | Description |
---|
contractCode | M | The merchant’s Monnify contract code |
mandateReference | M | Merchants generated reference to identify a mandate |
customerName | M | Name of merchants customer |
customerPhoneNumber | M | Phone number of merchants customer |
customerEmailAddress | M | Email address of merchants customer |
customerAddress | M | Location of merchants customer |
accountNumber | M | Customers account number to create a mandate on |
accountName | M | Customers account name for the account to create a mandate on |
bankCode | M | The bank code of the account number to create a mandate on |
mandateAmount | M | Total lifetime amount debitable on the mandate. |
mandateDescription | M | The description of the payment the mandate is associated to |
mandateStartDate | O | StartDate of Mandate: default to mandate creation date |
mandateEndDate | O | EndDate of Mandate: default to mandate creation date |
mandateCode | O | Monnify generated mandate identifier |
mandateStatus | O | The status of the mandate in request: INITIATED, ACTIVE, CANCELED |
mandateAuthorizationLink | O | 3Ds link presented to customers for authorization flow |
paymentReference | M | Merchants unique reference to identify a single direct debit payment |
debitAmount | O | Payment amount to be debited from a single debit transaction |
narration | M | Description of the single debit |
...