Get a checkout session
Its status, the payer's choice of coin and network, and what has arrived. With an API key, in its mode; when logged in, name the mode.
Authorization
ApiKey AuthorizationBearer <token>
A merchant API key, sent as Authorization: Bearer vk_live_…. The prefix
selects the mode: vk_test_ for testnets, vk_live_ for real money.
In: header
Path Parameters
checkout_session_id*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/checkout_sessions/string"{ "object": "checkout_session", "id": "string", "livemode": true, "url": "http://example.com", "status": "open", "invoice": "string", "customer": "string", "customer_email": "string", "amount": "string", "currency": "usd", "description": "string", "payment": { "source": "string", "asset": "USDT", "network": "tron", "amount_due": "string", "withdraw_amount": "string", "rate": "string", "expires_at": "2019-08-24T14:15:22Z" }, "amount_received": "string", "payments": [ { "object": "payment", "id": "string", "checkout_session": "string", "asset": "USDT", "network": "tron", "amount": "string", "status": "detected", "tx_hash": "string", "detected_at": "2019-08-24T14:15:22Z", "confirmed_at": "2019-08-24T14:15:22Z" } ], "success_url": "string", "cancel_url": "string", "expires_at": "2019-08-24T14:15:22Z", "paid_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z"}