Update a mandate

Modify the details of an existing DebiPay mandate through the update endpoint.

PUThttps://api.debipay.co.za/api/v1/mandates
Loading code example

Body

idstringrequired
Length: >= 0, <= 36
addressobject
address.streetAddressstringrequired
address.suburbnull | string
address.citystringrequired
address.provinceIdinteger | string<int32>
Pattern: ^-?(?:0|[1-9]\d*)$
address.postalCodenull | string
address.blockOrFloorLevelnull | string
amountnumber | string<double>
Pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
startDatestring<date-time>
actionDayIdinteger | string<int32>
Pattern: ^-?(?:0|[1-9]\d*)$
bankAccountany
bankCardany
paymentMethodIdinteger | string<int32>
Pattern: ^-?(?:0|[1-9]\d*)$
payerstringrequired
signatoryFirstNamestring
signatoryLastNamestring
identificationTypeIdinteger | string<int32>
Pattern: ^-?(?:0|[1-9]\d*)$
identificationValuestring
adjustmentRatenumber | string<double>
Pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
maximumAmountnumber | string<double>
Pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
countryIdstring

Use this endpoint to update the details of an existing mandate. The request body allows you to change the mandate's commercial and payment details while preserving the mandate identity and linking it to the same payer.

Use the update operation when you need to revise a mandate after it has already been created, such as changing the payer, amount, payment method, or address details.

Fields you may update

The request payload supports fields such as:

  • id to identify the target mandate
  • address for postal or physical address details
  • amount, startDate, and actionDayId for payment timing
  • bankAccount, bankCard, or paymentMethodId for payment method changes
  • payer and signatory names for customer details

When to use it

  • Correct information after initial mandate creation.
  • Adjust the payment method or amount for the mandate.
  • Refresh customer or signatory details without recreating the mandate.

If the change is temporary or you want to pause processing, the suspend endpoint may be more appropriate than a full update.