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

Telnyx x402 Payment Transactions API

Operations for x402 cryptocurrency payment transactions. Fund your Telnyx account using USDC stablecoin payments via the x402 protocol.

Telnyx x402 Payment Transactions API is one of 168 APIs that Telnyx publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

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

Requests are made against a single base URL, https://api.telnyx.com/v2.

2 operations 2 paths 7 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0.0
Base URL
https://api.telnyx.com/v2
Authentication
HTTP Bearer, HTTP Bearer, OAuth 2.0, HTTP Bearer, HTTP Bearer, HTTP Bearer
Resource Areas
1

Authentication & Security 6

Telnyx x402 Payment Transactions API declares 6 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). It accepts HTTP bearer tokens (branded-calling_bearerAuth). It supports OAuth 2.0 (oauthClientAuth) using the authorizationCode and clientCredentials flows, exposing 1 scope. It accepts HTTP bearer tokens (JWT) (outbound-voice-profiles_bearerAuth). It accepts HTTP bearer tokens (pronunciation-dicts_bearerAuth). It accepts HTTP bearer tokens (JWT) (stored-payment-transactions_bearerAuth). By default, every request must be authenticated.

  • branded-calling_bearerAuth — API key passed as a Bearer token in the Authorization header
  • oauthClientAuth — OAuth 2.0 authentication for Telnyx API and MCP integrations
  • pronunciation-dicts_bearerAuth — Telnyx API v2 key. Obtain from https://portal.telnyx.com

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.

x402 Payment Transactions 2

Operations for x402 cryptocurrency payment transactions. Fund your Telnyx account using USDC stablecoin payments via the x402 protocol.

POST
/v2/x402/credit_account
Settle a payment
settleX402Payment 1 param body → 200201400401403422500502
POST
/v2/x402/credit_account/quote
Create a payment quote
createX402Quote body → 200401403422502

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are X402PaymentRequirements (3 properties), X402SettleRequest (2 properties), X402TransactionResponse (1 property), X402QuoteResponse (1 property). Each schema is shown below with its type and property counts.

x402-transactions_ErrorResponse
object
1 property
X402QuoteRequest
object
1 property 1 required
X402SettlementErrorResponse
object
Error response for x402 settlement failures. Uses string error codes from the x402 error handling system.
1 property
X402SettleRequest
object
2 properties 1 required
X402PaymentRequirements
object
x402 protocol v2 payment requirements. Contains all information needed to construct and sign a payment authorization.
3 properties
X402QuoteResponse
object
1 property
X402TransactionResponse
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

telnyx-x402-payment-transactions-api-openapi.yml Raw ↑

Other APIs Telnyx publishes across the network.

Telnyx Access Tokens API
Telnyx Addresses API
Telnyx Advanced Number Orders API
Telnyx Assistants API
Telnyx Audio API
Telnyx Audit Logs API
Telnyx Authentication Providers API
Telnyx AutoRechargePreferences API
Telnyx Billing API
Telnyx Billing Groups API
Telnyx Brands API
Telnyx Bucket SSL Certificate API