put https://test.cashfree.com/api/v2/subscriptions/charge//simulate
Use this API to update the status of the charge from PENDING to SUCCESS or FAILED. This is applicable only in the test environment.
URLs
- You can update a charge status only if you have created a charge in the test environment.
- Charges that are in the "PENDING" status alone can be updated to SUCCESS/FAILED. Other charge statuses cannot be updated."
- In case of E-Nach, charges will be in the PENDING state indefinitely if no action is performed to update the status.
- In case of UPI, charges will automatically be updated to SUCCESS state if not updated by the merchant within 24 hours.