Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

e-Mandate Maintenance


v2 PUT console.bayar.cash/api/v2/mandates/{mandate_id} v3 PUT api.console.bayar.cash/v3/mandates/{mandate_id}


Update an existing Direct Debit (e-Mandate). The mandate must be active. The order_number is taken from the mandate and does not need to be supplied.

Name
Description
Type
Condition

amount

Between 5.00 and 30000.00

integer

Required

payer_email

string

Required

payer_telephone_number

integer

Required

frequency_mode

string

Required

max_frequency

Maximum number of charges within a collection cycle. Defaults to 9

integer

Required

application_reason

string

Required

metadata

string

Optional

link_expired_at

Mandate link expiry datetime (Y-m-d H:i:s). Defaults to 1 hour from creation

string

Optional

platform_id

string

Optional

checksum

string

Optional


Example of sending PUT request with cURL.

curl -X PUT https://api.console.bayar.cash/v3/mandates/md_MGWpzp \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer <Personal_Access_Token>' \
  --data-raw '{
          "amount": 100,
          "payer_email": "mohd.ali@gmail.com",
          "payer_telephone_number": "60191122000",
          "frequency_mode": "MT",
          "max_frequency": 9,
          "application_reason": "Maintenance for DD001"
      }'

Example of JSON structured response.

Last updated