Update a subscription
Updates an existing independent subscription to match the specified parameters.
ARGUMENTS
Scroll inside to view more
|
Argument
|
Description
|
|---|---|
id REQUIRED
| The identifier of the subscription to update. Must not be a plan subscription. Must be in pending_customer_approval or active status.
|
amount optional
| The amount to charge on a recurring basis. A positive integer in paisa (one hundredth of a Rupee). e.g. 100 means Rs 1. Should be less than or equal to mandate's maximum_amount or equal to mandate's collection_amount. Must be less than or equal to Rs 1 crore (1 billion paisa).
|
metadata optional
| Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
name optional
| The name of the subscription. This will be set as the description on each ACH debit created. Must not exceed 255 characters.
|
Returns Returns an updated subscription object.
Request
Response
API Endpoints
Sandbox Link
POST
https://api-test.lotuspay.com/v1/subscriptions/{ID}
Production Link
POST
https://api.lotuspay.com/v1/subscriptions/{ID}
- Have questions?
- Need help? Contact support
- LLM? Read llms.txt

