Skip to main content

Payment Lifecycle

State Machine

States

StateDescription
INITIATEDPayment created, idempotency recorded
FRAUD_CHECKAwaiting fraud/risk screening
AUTHORIZEDFraud approved, ready for processing
PROCESSINGLedger posting in progress
COMPLETEDSuccessfully completed
FAILEDProcessing error
CANCELLEDCancelled by user/system
REJECTEDDeclined by fraud/risk

Successful Payment

Fraud Rejection

Refund

Retry and Timeout