x-api-key header.
Header
Example
Authentication errors
If you receive an authentication error, confirm that you copied the correct key and are using the intended environment.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Authenticate Merchant API requests.
x-api-key header.
x-api-key: YOUR_API_KEY
curl https://serviceapi.sarafa.ss/v3/profile \
-H "x-api-key: YOUR_API_KEY" \
-H "environment: sandbox"
| Status | Meaning |
|---|---|
401 | The API key is missing or invalid. |
403 | The merchant profile or account is not active or could not be found. |