Paycose Docs
Checkout
GET/checkouts/{checkout_session_id}

Retrieve Checkout Session

Merchant view: status (open/completed/expired), target_type, target_id, charge_id.

Request

Example

curl -X GET 'https://api.paycose.com/api/v1/app1/platform/wallet/checkouts/{{checkout_session_id}}' \
  -H 'X-Session-Token: {{session_token}}' \
  -H 'X-Country: {{country}}'

Headers

NameValue
X-Session-Token{{session_token}}
X-Country{{country}}

Responses

500500 Internal Server Error

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}

On this page