Skip to main content

Header Format

All requests must include your API key in the Authorization header:
RapidTopup supports two environment key formats:
  • Live Keys: Begin with rtu_live_sk_ (invokes live transactions and deducts real wallet balance).
  • Test (Sandbox) Keys: Begin with rtu_test_sk_ (routes requests to the isolated mock sandbox environment without spending real funds).

Example Request


Key Security Rules

Store as environment variable

Never hardcode keys in source files.

Server-side only

Keys must only be used from your backend. Never expose them in frontend JavaScript or mobile apps.

Rotate if compromised

Revoke the key immediately from the Developer Dashboard and generate a new one.

Up to 5 active keys

You can maintain up to 5 active API keys per environment (5 live, 5 test).

Authentication Errors