Skip to main content
Report the payment execution outcome back to Prava. Always report after you attempt the charge with the credentials — it updates transaction records and relays the outcome to the card network. POST /v1/sessions/{sessionId}/report-status · Authenticated with your secret key.
Always report status after checkout execution. Report DECLINED if a payment token was used but checkout failed.

Path parameters

string
required
The session id from Create Session.

Body

string
required
The line-item reference from Get Payment Result.
string
required
APPROVED or DECLINED.
string
default:"PURCHASE"
Transaction type.
string
Authorization code from your processor, max 128 chars.
string
Processor response code, max 2 chars (e.g. "00" for approved).
string
Override the total paid, if different from the original.
object[]
Optional per-product status overrides; informational (the overall mandate status follows txn_status).

Response

string
Always "confirmed".
string
string
APPROVED or DECLINED.
string
SUCCESS or FAILURE.

Notes

  • A mandate is the spending permission created when the cardholder approved the payment. Reporting a one-time mandate charge as APPROVED consumes the mandate (it can’t be reused); a recurring mandate stays active for future charges. See Mandates.
  • product_statuses is optional and informational; the overall mandate status follows txn_status.

Error responses