Subscriptions/Recurring Payments
Last updated
Last updated
Following are the APIs that are required to create, debit, and cancel a subscription.
Create subscription - You can refer to the link given below to know the parameters required for creating a subscription: https://docs.rocketfuel.inc/developer-guides/api-reference/generate-invoice-link
Request a debit of funds for the subscription
Reminder emails are sent to the shoppers to make the pre-payment for the subscriptions with the invoice link or maintain the exchange balance equal to the bill amount.
POST
/subscription/debit
Name | Type | Description |
---|---|---|
3. To cancel a subscription
POST
/subscription/cancel
Name | Type | Description |
---|---|---|
merchantAuth*
String
merchantId*
String
orderId
String
items
Array
subscriptionId*
String
amount*
Number
currency*
String
merchantId
String
merchantAuth
String
subscriptionId
String