Skip to main content
The Atlas API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

Base URL

All API requests should be made to:
https://api.atlaspay.cc/functions/v1

Authentication

The Atlas API uses API keys to authenticate requests. You can view and manage your API keys in the Dashboard. Include your API key in the Authorization header:
Authorization: Bearer sk_test_your_api_key

Environments

EnvironmentKey PrefixDescription
Testsk_test_Use for development and testing
Livesk_live_Use for production transactions

Response Codes

CodeDescription
200Success
400Bad Request - Invalid parameters
401Unauthorized - Invalid API key
404Not Found - Resource doesn’t exist
429Rate Limited - Too many requests
500Server Error - Something went wrong