Setup Recurring
Overview
The setup_recurring method establishes a payment mandate for future recurring charges. This enables subscription billing without requiring customer presence for each transaction.
Business Use Case: A customer signs up for your SaaS monthly plan. Setup a recurring mandate so you can charge their card automatically each month.
Purpose
SaaS subscriptions
Automate monthly billing
Utility bills
Enable automatic payments
Membership dues
Automate renewals
Request Fields
merchant_recurring_payment_id
str
Yes
Your unique recurring setup ID
amount
Money
Yes
Initial amount for validation
payment_method
PaymentMethod
Yes
Card or payment method
address
PaymentAddress
Yes
Billing address
auth_type
str
Yes
THREE_DS or NO_THREE_DS
setup_future_usage
str
No
ON_SESSION or OFF_SESSION
Response Fields
merchant_recurring_payment_id
str
Your reference
connector_recurring_payment_id
str
Connector's mandate ID
status
PaymentStatus
ACTIVE, FAILED
mandate_reference
dict
Mandate ID and status
status_code
int
HTTP status code
Example
SDK Setup
Request
Response
Next Steps
RecurringPaymentService.charge - Use mandate for charges
RecurringPaymentService.revoke - Cancel the mandate
Last updated
Was this helpful?

