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

Adopets payment-transaction API

Retrieve and refund payment transactions

Adopets payment-transaction API is one of 3 APIs that Adopets publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 2 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against 2 base URLs: https://service.api.dev.adopets.app, https://service.api.adopets.app.

2 operations 2 paths 4 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://service.api.dev.adopets.app
Authentication
API Key, HTTP Bearer
Contact
Resource Areas
1

Authentication & Security 2

Adopets payment-transaction API declares 2 security schemes for authenticating requests. An API key is passed in the header as x-api-key (apiKeyAuth). It accepts HTTP bearer tokens (JWT) (sessionBearer). By default, every request must be authenticated.

  • apiKeyAuth — Organization API key issued by Adopets, sent on every request.
  • sessionBearer — Per-session token (data.authorization) returned by system-auth/connect.

Paths & Operations 2

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

payment-transaction 2

Retrieve and refund payment transactions

POST
/organization/external/payment-transaction/get
Get external payment transaction
getPaymentTransaction 1 param body → 200default
POST
/organization/external/payment-transaction/refund
Refund external payment transaction
refundPaymentTransaction 1 param body → 200default

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Envelope (5 properties), RefundRequest (4 properties), UuidRef (1 property). Each schema is shown below with its type and property counts.

EnvelopeError
Error variant of the standard envelope (prefix 4xx/5xx, non-OK message).
Envelope
object
Standard Adopets response envelope.
5 properties
UuidRef
object
1 property 1 required
RefundRequest
object
4 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

adopets-payment-transaction-api-openapi.yml Raw ↑

Other APIs Adopets publishes across the network.

Adopets payment-request API
Adopets system-auth API