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

The '@public' API from Teya — 4 operation(s) for '@public'.

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

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

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

4 operations 4 paths 21 schemas 4 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 4

Across 4 paths, the API surfaces 4 operations — 4 POST. Each is listed below with its method, path, parameters, and response codes.

'@public' 4
POST
/v1/transactions/{id}/capture
Capture a pre-auth
captureRequest 2 params body → 201202400403409500503
POST
/v1/transactions/moto
Process a mail order or telephone order transaction
motoTransactions 1 param body → 201202400401403409500522
POST
/v1/transactions/card-present
Process a transaction with card present
cardTransactions_2 1 param body → 201202400401403409500503
POST
/v2/reversals
Process a reversal of a transaction
cardTransactions_3 body → 200202400401403500503523

Schemas 21

The contract defines 21 schemas that model the data the API accepts and returns. The most detailed are TransactionRequest (14 properties), MotoTransactionRequest (7 properties), CaptureResponse (6 properties), TransactionResponse (6 properties). Each schema is shown below with its type and property counts.

EncryptedTrack
object
Encrypted track data from card reader
3 properties 3 required
TransactionRequest
object
A request to process a transaction
14 properties 6 required
InvalidParams
object
Invalid parameter details
2 properties 2 required
ReversalRequest
object
A request to reverse a transaction
3 properties 1 required
RequestedAmounts
object
3 properties 2 required
MotoIssuerResult
object
2 properties
CardData
object
Card details for payment
4 properties 3 required
PinBlock
object
PIN block data
4 properties 4 required
CaptureRequest
object
A request to capture pre-authorised transaction
2 properties 1 required
IssuerResult
object
Result data from the issuer
4 properties
ReversalResponse
object
A response to reverse a transaction
3 properties 2 required
Error
object
Error response
3 properties 2 required
MotoTransactionRequest
object
A request to process a MOTO transaction
7 properties 4 required
EncryptedMotoCard
object
5 properties 3 required
MotoTransactionResponse
object
The response for a processed MOTO transaction
5 properties 3 required
CaptureResponse
object
The response for a processed capture
6 properties 4 required
TransactionResponse
object
The response for a processed transaction
6 properties 4 required
CaptureIssuerResult
object
Issuer result data for capture transactions
3 properties
Amount
object
Amount object
2 properties 2 required
DccRequest
object
Dynamic Currency Conversion request
2 properties 2 required
TerminalData
object
Terminal specific data for transactions
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

teya-public-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 '@internal' API
Teya Pay at Table API
Teya PayByLink API
Teya Payment Requests API
Teya Print Receipts (ePOS) API
Teya Refunds API
Teya Reversals API
Teya Stores API