Base URL
The Orcuspay API is built on REST principles. All communication is over HTTPS. All requests use the following base URL:Authentication
Every request must include your API key and secret, available from your Orcuspay dashboard. Include them as request headers: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 Codes
| Code | Meaning |
|---|---|
200 | Success |
201 | Resource created |
400 | Bad request — missing or invalid parameters |
401 | Unauthorized — invalid or missing API credentials |
404 | Not found |
405 | Method not allowed |
500 | Internal server error |
error field:
Rate Limiting
You can make up to 50 requests per second. Exceeding this limit may result in temporary restrictions.Test Mode
Use yourak_test_ / sk_test_ keys to make requests in test mode. Test payments and payment links are fully isolated from live data.