Retrieve a checkout session
Retrieves a session owned by your project. Includes payment once a payment transaction has been detected.
Authorizations
Your project secret key: sk_test_... (testnet) or sk_live_... (mainnet). Use it only on your server.
Path Parameters
Session ID (ps_...).
Response
The session
"ps_8f14e45fceea167a5a36dedd4bea2543"
checkout.session Amount in USD as a decimal string.
"49.99"
USD pending: waiting for payment. processing: a transaction was submitted and is being verified. completed: payment verified. failed: verification failed. expired: no payment within 30 minutes.
pending, processing, completed, failed, expired Determined by the secret key used to create the session.
mainnet, testnet 30 minutes after creation.
Hosted checkout page to redirect the customer to.
"https://checkout.usewarp.net/session/ps_8f14e45fceea167a5a36dedd4bea2543"
Present on retrieve once a payment has been detected.