All Mandates
v3 GET api.console.bayar.cash/v3/mandates?{query_parameter}
Retrieve a paginated list of Direct Debit mandates. Available query parameters are as below:
Name
Description
Example of sending GET request with cURL.
curl -X GET https://api.console.bayar.cash/v3/mandates?order_number=DD001 \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <Personal_Access_Token>'Example of JSON structured response.
{
"data": [
{
"id": "md_MGWpzp",
"updated_at": "2024-07-21T15:07:09.000000Z",
"mandate_reference_number": "E-20230408F00230289",
"order_number": "DD001",
"application_reason": "Enrollment for DD001",
"frequency_mode": "MT",
"frequency_mode_label": "Monthly",
"effective_date": "2023-04-05",
"expiry_date": null,
"currency": "MYR",
"amount": 10,
"payer_name": "Mohd Ali",
"payer_id": "910810065921",
"payer_id_type": "1",
"payer_bank_account_number": "*********3111",
"payer_email": "mohd.ali@gmail.com",
"payer_telephone_number": "60199971822",
"status": 3,
"status_description": "Active",
"return_url": "http://website.net/transaction/mandates/callback",
"metadata": null,
"portal": "Portal ABC",
"merchant": {
"name": "Web Impian Sdn. Bhd.",
"email": "webimpian.merchant@gmail.com"
}
}
],
"links": {
"first": "https://api.console.bayar.cash/v3/mandates?page=1",
"last": "https://api.console.bayar.cash/v3/mandates?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://api.console.bayar.cash/v3/mandates",
"per_page": 15,
"to": 1,
"total": 1
}
}Last updated