Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Teya Hosted Checkout API

APIs exposed for session management

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 operations 2 paths 10 schemas 1 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
createSessionV2 1 param body → 201400401403409429500
GET
/v2/checkout/sessions/{session_id}
Get session details
getSessionInfoV2 1 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 properties 4 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 properties 2 required
checkout_CreateSessionResponse
object
Result of the creation of a Hosted Checkout session that will be used to process an Ecommerce transaction
2 properties 2 required
checkout_Customer
object
3 properties
checkout_DccOfferInfo
object
Dynamic Currency Conversion offer info for a session.
4 properties 3 required
checkout_BusinessAddress
object
The address of a business
7 properties 1 required
checkout_SessionInfoResponse
object
Returns the Hosted Checkout session information that will be used to process an Ecommerce transaction
28 properties 6 required
checkout_SessionLineItem
object
Basket information to be shown in the payment screen
3 properties 3 required
checkout_BillingAddress
object
Customer's Billing Address
7 properties 1 required
checkout_CreateSessionRequest
object
Creates a Hosted Checkout session that will be used to process an Ecommerce transaction
16 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

teya-hosted-checkout-api-openapi.yml Raw ↑

Other APIs Teya publishes across the network.

Teya Captures API
Teya DCC API
Teya ePOS Registration API
Teya '@internal' API
Teya Pay at Table API
Teya PayByLink API
Teya Payment Requests API
Teya Print Receipts (ePOS) API
Teya '@public' API
Teya Refunds API
Teya Reversals API
Teya Stores API