Skip to main content
Use this reference to understand the status and status_code values returned by the Debit Wallet API and Verify Debit Wallet API, and configure your debit flow accordingly.

Status and status-code reference

The following table describes all possible status and status_code combinations returned by debit APIs, along with recommended actions for each scenario.

Debit transaction statuses

Statuses are organised by transaction state. Each state contains specific status codes that indicate the current progress and required actions.
Status codeDescriptionRecommended action
PENDINGCashfree received the debit request and is processing it.Wait for a terminal status or poll using the debit response
OTP_GENERATEDCashfree sent an OTP to the user for debit authorisation.Call the Verify Debit Wallet API with the debit_id and OTP
LAST_OTP_ATTEMPT_FAILEDThe OTP verification attempt failed, but retries remain.Prompt the user to re-enter the OTP and call the Verify Debit Wallet API again
Status codeDescriptionRecommended action
SUCCESSThe debit completed successfully.Proceed with order fulfilment or downstream processing
Status codeDescriptionRecommended action
OTP_GENERATION_FAILEDCashfree could not generate the OTP for the debit.Retry the debit or verify notification channel configuration
OTP_VERIFICATION_FAILEDThe OTP verification failed.Initiate a new debit if required
OTP_EXPIREDThe OTP has expired.Initiate a new debit
OTP_VERIFICATION_ATTEMPT_EXHAUSTEDThe maximum OTP verification attempts were exceeded.Initiate a new debit
FAILEDThe debit failed.Review the failure reason and retry if applicable
Status codeDescriptionRecommended action
REJECTEDCashfree rejected the debit.Review the rejection reason before retrying
INSUFFICIENT_BALANCEThe sub-wallet does not have sufficient balance for the debit.Ask the user to top up the wallet or reduce the debit amount
Status codeDescriptionRecommended action
REVERSEDCashfree reversed the debit.Update order or balance records accordingly