# API reference overview

Triple-A offers four REST APIs that accept and return JSON over HTTPS. Every request authenticates with an OAuth 2.0 access token sent as a bearer token. This page shows how the references are organized so you can jump to the endpoint or shared page you need.

## Before you call an API

Every API uses the same token mechanism and a base URL under `api.triple-a.io`. The cards below cover both.

<CardGroup cols={2}>
  <Card title="Authentication" icon="key-round" href="/docs/getting-started/authentication/">
    Get an access token with the Client Credentials grant and send it in the `Authorization` header.
  </Card>
  <Card title="Environments" icon="server" href="/docs/reference/environments/">
    The base URL of each API, and how sandbox and live requests differ.
  </Card>
</CardGroup>

## API references

Each API has its own reference, generated from its OpenAPI specification. The cards below link to the first endpoint group of each one.

<CardGroup cols={2}>
  <Card title="Stablecoin Payments API" icon="arrow-down-to-line" href="/api/stablecoin-payments">
    Create payments, read their status, and manage refunds and settlements.
  </Card>
  <Card title="Stablecoin Payouts API" icon="arrow-up-from-line" href="/api/stablecoin-payouts">
    Send stablecoins to recipients with a payout link or a direct request.
  </Card>
  <Card title="Local Currency Payouts API" icon="banknote" href="/api/local-currency-payouts">
    Send local currency to individuals and companies.
  </Card>
  <Card title="KYC API" icon="id-card" href="/api/kyc">
    Manage customers and their identity documents.
  </Card>
</CardGroup>

## Shared reference

These pages apply to more than one API, so each one is written once. Guides and endpoint pages link to them.

<CardGroup cols={2}>
  <Card title="Error codes" icon="triangle-alert" href="/docs/reference/error-codes/">
    HTTP statuses and error codes, and what to do about each one.
  </Card>
  <Card title="Webhooks" icon="webhook" href="/docs/reference/webhooks/">
    Notifications that Triple-A sends to your server, and how to verify them.
  </Card>
  <Card title="Payment statuses" icon="circle-check" href="/docs/reference/payment-statuses/">
    What each payment status means, and when to deliver an order.
  </Card>
  <Card title="Coins and networks" icon="coins" href="/docs/reference/coins-and-networks/">
    The digital currency and network codes you can use in a payment.
  </Card>
</CardGroup>

## Tools

The collection below lets you send requests without writing code.

<CardGroup cols={2}>
  <Card title="Postman collection" icon="send" href="/docs/reference/postman-collection/">
    Import ready-made requests for the Stablecoin APIs.
  </Card>
</CardGroup>