Skip to main content
You can find your personal API credentials on the Integration tab in your Rocka Hub. For more details on where to get your API key, see Get your API key.

Authorise your API calls

In Rocka, you’ll have two pairs of keys for both the sandbox and production environments.
KeyDescription
API keyYour main API key. Always include it in the request header as x-api-key.
Sign keyYour unique signature key. For more details, see Security checks.
To make API calls to stage.api.rocka.live, use your sandbox (test) credentials. To make API calls to api.rocka.live, the production environment, use your live credentials.
Sample request:
curl --request POST \
  --url https://api.stage.rocka.live/api/payments/logo \
  --header 'Accept: application/json, text/json, text/plain' \
  --header 'Content-Type: application/*+json' \
  --header 'x-api-key: your-api-key-goes-here' \
  --data '{
  "currency": "EUR"
}'
Last modified on April 27, 2026