Update Charge Status

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.
Language

Experience the all-new Cashfree Payments Docs! Faster, smarter, and easier to navigate. Check it out here!🎉