Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagejson
GET https://sandbox.monnify.com/api/v1/direct-debit/mandate?mandateReferences=shdjdii9292

Sample Responses

Expand
titleActive Mandate Response
Code Block
languagejson
{
   
"requestSuccessful": true,
   
"responseMessage": "success",
   
"responseCode": "0",
   
"responseBody": [
       
{

           "mandateCode": "MTDD|
01HW2S3BN6XEPYD90PP3VEZXG3
01J2KVEZXYQG9EB0P7F0QT1TH1",
           
"
externalMandateReference
mandateReference": "
shdjdii9292
unique_ref_LiveCard-17",

           "startDate": "2024-
05
07-
19T09
12T09:15:30.000+
0000
00:00",
           
"endDate": "2025-
01
04-
19T09
22T09:15:30.000+
0000
00:00",
           
"mandateStatus": "ACTIVE",
           
"mandateAmount": 
100000.00,
199.00,
           "autoRenew": false,
           "customerPhoneNumber": "+2348166189142",
           "customerEmailAddress": "dogunnaike@moniepoint.com",
           "customerAddress": "123 Example Street, City, Country 13",
           "customerName": "Ahsan",
           "customerAccountName": "Damilare Ogunnaike",
           "customerAccountNumber": "0039300622",
           "customerAccountBankCode": "221",
           "mandateDescription": "Subscription Fee",
           "debitAmount": 150,
           "
contractCode
authorizationMessage": 
"4934121686"
null,
           "authorizationLink": null,
           "responseMessage": "Active 
"autoRenew
Mandate"
       }
   ]
}
Expand
titleMandate With Pending Authorisation Response
Code Block
languagejson
{
   "requestSuccessful": true,
   "responseMessage": "success",
   "responseCode": "0",
   "
customerPhoneNumber
responseBody": [
       {
           "mandateCode": "
1234567890
MTDD|01J3NARHGMMABYGW06KAB1D4A7",
           "mandateReference": "test_ref_08072024-9",
           "
customerEmailAddress
startDate": "
benjamin.on@gmail.com
2024-08-18T09:00:30.000+00:00",
           "endDate": "2025-04-22T09:15:30.000+00:00",
           "mandateStatus": 
"customerAddress": "123 Example Street, City, Country",
"PENDING_AUTHORIZATION",
           "mandateAmount": 120000.00,
           "autoRenew": false,
           "customerPhoneNumber": "08091385415",
           "customerEmailAddress": "ankit.kushwaha@moniepoint.com",
           "customerAddress": "12 David East Lagos",
           "customerName": "
Marvelous
Ojinaka Daniel 
Benji
Ifeanyi",
           
"customerAccountName": "
Benjamin
OJINAKA DANIEL 
Wilson
IFEANYI",
           
"customerAccountNumber": "
8088523230
0433003972",

           "customerAccountBankCode": "
305
058",
           
"mandateDescription": "Subscription Fee",
           
"debitAmount": null,
           
"authorizationMessage":
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": "https://monnify-payment-pages.staging.monnify.com/mandate-auth/MTDD|01J3NARHGMMABYGW06KAB1D4A7?accountNumber=9020025928&bankName=Fidelity Bank&customerAccountName=OJINAKA+DANIEL+IFEANYI&amount=50.00",
           "
authorizationLink
responseMessage": 
null
"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

...