{
"opencollection": "1.0.0",
"info": {
"name": "Teya FX Captures Hosted Checkout API",
"version": "1.0.0"
},
"items": [
{
"info": {
"name": "Hosted Checkout",
"type": "folder"
},
"items": [
{
"info": {
"name": "Creates a new hosted checkout session",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.teya.com/v2/checkout/sessions",
"headers": [
{
"name": "Idempotency-Key",
"value": ""
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "API to create a hosted checkout session.\n
Access Token Required scope: checkout/sessions/create\n"
},
{
"info": {
"name": "Get session details",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.teya.com/v2/checkout/sessions/:session_id",
"params": [
{
"name": "session_id",
"value": "",
"type": "path",
"description": "The session id"
}
]
},
"docs": "API to return details of a given session.\n
Access Token Required scope: checkout/sessions/id/get\n"
}
]
}
],
"bundled": true
}