API Integration


To trigger automated emails to your end-customers, you must securely pass their contact information to the system at the time of the transaction.

📘 Before integrating, please raise a request with your Business Point of Contact (POC) to ensure the email notification feature is enabled for your account.

Implementation & Payload

You must include the customerDetails object within the request payload of any supported API. Here is the required JSON structure:

"customerDetails": {
  "name": "John Doe",
  "email": "[email protected]",
  "phoneNumber": "9999999999"
}

Validation & Error Handling

To ensure notifications are delivered successfully, the data provided in the customerDetails object must be accurate:

  • Missing Information: If the customerDetails object is omitted, or if the email field is missing from the payload, the automated customer email will not be triggered.
  • Invalid Formatting: The email address must follow a valid format (e.g., [email protected]). Passing invalid formatting may result in an API validation error or cause the email delivery to fail silently.

Supported APIs

Below is the list of endpoints and the specific notifications they trigger when the customerDetails object is included:

EndpointNotification Triggered
POST /subscriptions/v2/setupSetup confirmation email
POST /subscriptions/v2/notifyFeeds redemption flow
POST /subscriptions/v2/redeemRedemption success / failure email
POST /subscriptions/v2/{id}/cancelCancellation email
POST /checkout/v2/payAutopay on Standard Checkout Setup
POST /checkout/v2/subscriptions/notifyFeeds redemption flow
POST /checkout/v2/subscriptions/redeemRedemption success / failure email
POST /checkout/v2/subscriptions/{id}/cancelCancellation email
POST /checkout/v2/payCheckout payment notifications
POST /checkout/v2/sdk/orderSDK order notifications
POST /payments/v2/refundRefund confirmation email
POST /payments/v2/payCustom checkout pay
UPI Intent, UPI QR, CARD, NetBanking, Token, EMI, Wallet
POST /payments/v2/sdk/orderCustom SDK order notifications
Is this article helpful?