Skip to content

Update API

| View as Markdown

Modify the status or lifecycle of an active mandate. Merchants can pause, resume, revoke (unsubscribe), or otherwise manage user subscriptions via API actions. Streamlines mandate management and enables automation for subscription-based services.

https://payments.airpay.co.in/pay/v4/api/mandates/update.php
ParameterType ValueDescriptionValue Like
Content-Type requiredStringThe Content-Type header specifies the media type of the request or response body, allowing the receiver to correctly interpret the For XML data, use application/xml.For JSON: application/json,For XML: application/xml
ParameterType ValueDescriptionValue Like
subscription_id requiredNumeric
(1–10)
Unique identifier assigned to the subscription or mandate.
action requiredAlphanumericrevoke/unsubscribe/pause/resume
ParameterType ValueDescriptionValue Like
subscription_id requiredStringUnique identifier assigned to the subscription or mandate.
status requiredStringStatus code representing the transaction result.200 = Success, 211 = InProcess, 400 = Failed