cURL
curl --request GET \ --url https://api.kyren.top/v1/checkouts/{id} \ --header 'x-api-key: <api-key>'
{ "code": 0, "message": "success", "data": { "id": "<string>", "productId": "<string>", "amount": 123, "currency": "<string>", "status": "OPEN", "url": "<string>", "expiresAt": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z" } }
Retrieves the details of an existing checkout session.
Your API key. Use kyren_live_* for production and kyren_test_* for testing.
kyren_live_*
kyren_test_*
The unique identifier of the resource
The checkout session object
0
"success"
Show child attributes