Teya Hosted Checkout API is one of 16 APIs that Teya publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Hosted Checkout. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.
This API exposes
2 operations
across 2 paths,
and defines 10 schemas.
It is described by OpenAPI 3.1.0, at version 1.0.0.
Requests are made against 2 base URLs: https://api.teya.com, https://api.teya.xyz.
2 operations2 paths10 schemas1 GET1 POST
Metadata
The identity and technical contract details declared by the specification.
Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.teya.com
Resource Areas
1
Paths & Operations 2
Across 2 paths, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.
Hosted Checkout 2
APIs exposed for session management
POST
/v2/checkout/sessions
Creates a new hosted checkout session
createSessionV21 parambody→ 201400401403409429500
GET
/v2/checkout/sessions/{session_id}
Get session details
getSessionInfoV21 param→ 200400401403404429500
Schemas 10
The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are checkout_SessionInfoResponse (28 properties), checkout_CreateSessionRequest (16 properties), checkout_BillingAddress (7 properties), checkout_BusinessAddress (7 properties). Each schema is shown below with its type and property counts.
checkout_BackendBusinessData
object
The business information
5 properties4 required
checkout_Amount
object
The transaction amount in the smallest currency unit according to ISO 4217 format. For example: - 100 ISK (Icelandic króna): the amount is 100 (since 1 ISK = 1…
2 properties2 required
checkout_CreateSessionResponse
object
Result of the creation of a Hosted Checkout session that will be used to process an Ecommerce transaction
2 properties2 required
checkout_Customer
object
3 properties
checkout_DccOfferInfo
object
Dynamic Currency Conversion offer info for a session.
4 properties3 required
checkout_BusinessAddress
object
The address of a business
7 properties1 required
checkout_SessionInfoResponse
object
Returns the Hosted Checkout session information that will be used to process an Ecommerce transaction
28 properties6 required
checkout_SessionLineItem
object
Basket information to be shown in the payment screen
3 properties3 required
checkout_BillingAddress
object
Customer's Billing Address
7 properties1 required
checkout_CreateSessionRequest
object
Creates a Hosted Checkout session that will be used to process an Ecommerce transaction
16 properties2 required
Specification
The full machine-readable OpenAPI contract behind this narrative.