OpenAPI Specification
openapi: 3.1.0
info:
title: Reloadly Airtime Authentication Balance API
description: The Reloadly Airtime API enables businesses to programmatically deliver mobile airtime top-ups and data bundles to phones across 170+ countries and 800+ mobile operators. The API supports both operator-specific and auto-detect top-ups, with real-time fulfillment and detailed transaction reporting. Authentication uses OAuth 2.0 client credentials with separate sandbox and production environments.
version: 1.0.0
contact:
name: Reloadly Support
url: https://support.reloadly.com
termsOfService: https://www.reloadly.com/terms
servers:
- url: https://topups.reloadly.com
description: Production Server
- url: https://topups-sandbox.reloadly.com
description: Sandbox Server
security:
- bearerAuth: []
tags:
- name: Balance
description: Check your Reloadly account balance.
paths:
/accounts/balance:
get:
operationId: getAirtimeBalance
summary: Get Account Balance
description: Retrieve the current balance of your Reloadly account for airtime top-ups.
tags:
- Balance
responses:
'200':
description: Account balance
content:
application/json:
schema:
$ref: '#/components/schemas/Balance'
'401':
$ref: '#/components/responses/Unauthorized'
components:
schemas:
Balance:
type: object
properties:
balance:
type: number
format: double
currencyCode:
type: string
updatedAt:
type: string
format: date-time
Error:
type: object
properties:
timeStamp:
type: string
format: date-time
message:
type: string
path:
type: string
errorCode:
type: string
responses:
Unauthorized:
description: Missing or invalid authentication token
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: OAuth 2.0 bearer token obtained via the /oauth/token endpoint using client credentials grant.
externalDocs:
description: Reloadly Airtime API Reference
url: https://docs.reloadly.com/airtime