openapi: 3.1.0 info: title: Airwallex Open Authentication Balances API version: v1 description: 'Best-effort OpenAPI 3.1 representation of the Airwallex REST API derived from https://www.airwallex.com/docs/api. Airwallex is a global payments and financial infrastructure platform. Coverage in this best-effort spec focuses on the Payment Acceptance and related core resources: payment intents, customers, refunds, payouts, transfers, balances, beneficiaries and account authentication. Endpoints accept and return JSON. ' contact: name: Airwallex url: https://www.airwallex.com/docs/api servers: - url: https://api.airwallex.com description: Airwallex production - url: https://api-demo.airwallex.com description: Airwallex demo / sandbox security: - BearerAuth: [] - ClientIdHeader: [] ApiKeyHeader: [] tags: - name: Balances paths: /api/v1/balances/current: get: tags: - Balances summary: Get current account balances operationId: getCurrentBalances responses: '200': description: OK components: securitySchemes: BearerAuth: type: http scheme: bearer description: 'Bearer access token obtained via POST /api/v1/authentication/login using `x-client-id` and `x-api-key` request headers. ' ClientIdHeader: type: apiKey in: header name: x-client-id ApiKeyHeader: type: apiKey in: header name: x-api-key