Retrieve a checkout session
GET/checkout/sessions/{id}
GET
/checkout/sessions/{id}
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Checkout session ID
Responses
Section titled “Responses”The session
object
amount
required
A monetary amount in the currency’s minor units (e.g. cents for USD).
integer format: int64
Example
1000created
required
integer format: int64
currency
required
Currently supported currencies by Paygasus Pay
string
Example
USDid
required
string
livemode
required
boolean
object
required
string
payment_intent_id
status
required
string
status_detail
string | null
url
required
The Paygasus-hosted page for this session — where the merchant sends the customer.
string
No such session
object
error
required
object
code
required
string
message
required
string
param
string | null
type
required
string
