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 '@internal' API

The '@internal' API from Teya — 2 operation(s) for '@internal'.

Teya ‘@internal’ API is one of 16 APIs that Teya publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include ‘@internal’. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 paths, and defines 16 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 16 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.

'@internal' 2
GET
/v2/checkout/sessions/{session_id}
Get session details
getSessionInfoV2 1 param → 200400401403404429500
POST
/v3/refunds
Process a refund of a transaction
cardTransactions 1 param body → 201202400401403409500503

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are checkout_SessionInfoResponse (28 properties), RefundResponse (9 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
RefundResponse
object
A response to refund a transaction
9 properties 6 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
RefundIssuerResult
object
Issuer result data for refund transactions
2 properties
RefundedAmount
object
2 properties 2 required
InvalidParams
object
Invalid parameter details
2 properties 2 required
Error
object
Error response
3 properties 2 required
DccResponse
object
Dynamic Currency Conversion response
4 properties
RefundRequest
object
A request to refund a transaction
5 properties 2 required
Amount
object
Amount object
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

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

teya-internal-api-openapi.yml Raw ↑

Other APIs Teya publishes across the network.

Teya Captures API
Teya DCC API
Teya ePOS Registration API
Teya Hosted Checkout 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