Card subscriptions let you collect recurring payments from customers using card-based subscription mandates.
This guide walks through how to create a card subscription where the mandate is created using the customer’s card details.
Create Subscription
Create a card subscription order with standing instruction
3D Secure Auth
Handle 3D Secure authentication for card mandates
Prerequisites
Before you begin, ensure you have:- Credentials: Your Client ID and Client Secret
- Domain Whitelist: Whitelisted your website domain for integration
- Webhook URL: A secure endpoint to receive payment status updates
- Server environment: Ability to make HTTPS
POSTandGETrequests from your backend. - JSON & HTTP Client: Familiarity with JSON request bodies and HTTP client libraries.
Create Subscription
Use the Card Flow to create subscriptions using the customer’s card details. The request is sent from your server to EximPe with the required transaction parameters. Card-based subscriptions usemop_type CREDIT_CARD and require card_details (card number, cardholder name, expiry, CVV, network, and optional nickname).
Sample Request
Response
3D Secure Authentication
3D Secure Authentication: Card-based subscriptions may require 3D Secure authentication. If the response includes an
acstemplate, render it on the client side (e.g. in an iframe or new window) to complete the authentication process before the subscription mandate becomes active.