Skip to main content
GET
A polling endpoint: after the cardholder completes card entry and passkey approval on Prava’s secure surface, poll it to read the outcome and, for non-quote checkouts, the single-use credentials. GET /v1/sessions/{sessionId}/payment-result · Authenticated with your secret key.

Path parameters

string
required
The session id from Create Session.

Response

string
string | null
string
Overall session status: pending, processing, awaiting_result, completed, or failed. processing means authentication or tokenization is in flight, or a quote-backed merchant checkout is not yet terminal.
object[]
object
Present only for quote-backed checkout sessions. Reports the merchant checkout lifecycle.
object
May be present when a quote-backed checkout fails: { code, message }.

Notes

  • For non-quote checkouts, token and dynamic_cvv contain the virtual card credentials your agent uses at checkout.
  • Read transactions[].card_id as the source of truth for the card bound to the transaction, whether it was preselected or chosen on the collection surface.
  • For quote-backed checkouts, Prava completes the merchant checkout. Results contain credential-free transaction summaries (txn_id, card_id, and status) and expose the checkout lifecycle as merchant_res; they never include token, CVV, expiry, or line-item credentials.
  • Use the top-level status as the normalized payment outcome. merchant_res.status provides lifecycle context and uses merchant terms such as prepared and paid.
  • merchant_res is omitted for non-quote sessions and before an order exists; it is not returned as null.
  • Prava performs a lazy mandate expiry check on every request — expired mandates are reflected in the status.
  • After using non-quote checkout credentials, report the outcome via Report Status.

Error responses

Authorizations

Authorization
string
header
required

Your secret key: sk_test_* (sandbox) or sk_live_* (production).

Path Parameters

sessionId
string
required

The session ID returned from Create Session

Response

Payment result

session_id
string
required
order_id
string | null
required
status
enum<string>
required

Overall session status. processing means the payment operation is still in flight: a non-quote checkout is authenticating or tokenizing, or a quote-backed merchant checkout has not reached a terminal outcome.

Available options:
pending,
processing,
awaiting_result,
completed,
failed
transactions
object[]
required
merchant_res
object

Merchant checkout lifecycle context. Present only for quote-backed sessions; omitted for non-quote sessions and before an order exists. Use the top-level status as the normalized payment outcome.

error
object

May be present when a quote-backed checkout fails.