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 Reversals API

The Reversals API from Teya — 1 operation(s) for reversals.

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

Tagged areas include Reversals. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, and defines 5 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.

1 operations 1 paths 5 schemas 1 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 1

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

Reversals 1
POST
/v2/reversals
Process a reversal of a transaction
cardTransactions_3 body → 200202400401403500503523

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are ReversalResponse (3 properties), ReversalRequest (3 properties), Error (3 properties), Amount (2 properties). Each schema is shown below with its type and property counts.

InvalidParams
object
Invalid parameter details
2 properties 2 required
Error
object
Error response
3 properties 2 required
ReversalRequest
object
A request to reverse a transaction
3 properties 1 required
Amount
object
Amount object
2 properties 2 required
ReversalResponse
object
A response to reverse a transaction
3 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

teya-reversals-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 '@public' API
Teya Refunds API
Teya Stores API