Skip to main content
POST
Revoke a payment session before it is used. Revocation is immediate and cannot be undone — a revoked session can no longer collect a card or produce credentials. POST /v1/sessions/{id}/revoke · Authenticated with your secret key.

Path parameters

string
required
The session_id returned by Create Session.

Response

boolean
Always true on successful revocation.

Notes

  • Once revoked, the session token can no longer be used for any SDK operations.
  • Any in-progress card collection or intent registration (the step that creates the payment’s spending permission) within the session will fail.
  • Revocation is immediate and irreversible.

Error responses

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The session_id of the session to revoke

Response

Session revoked

success
boolean

Always true on successful revocation