Base URL

The Orcuspay API is built on REST principles. All communication is over HTTPS.

Authentication

Every request must include your API key and secret, available from your Orcuspay dashboard. Include them as request headers:
Or use Bearer authentication:
Your keys are prefixed with the mode they belong to — keys starting with ak_prod_ / sk_prod_ are for live payments, and ak_test_ / sk_test_ are for test mode. Never expose your secret key in client-side code.

Response Format

Successful responses are wrapped in a data field:
List endpoints include pagination metadata:
Errors return a JSON body with an error object:

Response Codes

Rate Limiting

You can make up to 50 requests per second. Exceeding this limit may result in temporary restrictions.

Test Mode

Use your ak_test_ / sk_test_ keys to make requests in test mode. Test payments and payment links are fully isolated from live data.