Skip to main content
POST
Checkout a trip — returns a checkout URL the user opens to pay, plus the Shared Payment Token params an agent can use to pay programmatically
Checkout a trip, returns a checkout URL the user opens to pay, plus the Shared Payment Token params an agent can use to pay programmatically

Authorizations

X-API-Key
string
header
required

Body

application/json
trip_id
string
required
Example:

"trip_1048576"

intent
object

Response

Checkout session

session_id
string
Example:

"cs_1048576"

checkout_url
string
Example:

"https://book.gojinko.com/checkout?sid=1048576"

status
string
Example:

"pending_payment"

expires_at
string
Example:

"2026-06-01T13:04:56Z"

total_amount
object
items
null[]
agent_spt_params
object