PaymentStatus
Used in: Initiate Payment, Confirm PaymentThe
status field is a numeric enum (PaymentStatus). Serialised as an integer in all JSON responses.| Value | Name | Description |
|---|---|---|
0 | InProgress | Payment is currently being processed |
1 | Success | Payment completed successfully |
2 | Failed | Payment failed |
3 | Cancelled | Payment was cancelled |
4 | Initiated | Payment has been initiated, awaiting confirmation |
The Status query endpoints (Get Payment Status and Get Payment Status by Reference) return
status as a plain string (e.g., "Success") rather than an integer, as PaymentStatusResponse does not use the enum type directly.