Every /v1/* request is authenticated with your partner API key, sent as a standard bearer token in the Authorization header.
Requests without a valid key are rejected with 401 invalid_api_key. A valid key attempting an operation outside its permissions is rejected with 403 insufficient_scope.
Authorization: Bearer rk_test_...
Send Your API Key
Add the Authorization header to every request. The key identifies your partner account, so there is no separate partner-ID header.
advance_id='00000000-0000-4000-8000-000000000002'
curl "https://api-795734133708.asia-east1.run.app/v1/advances/$advance_id" \
-H "Authorization: Bearer $SSC_API_KEY"Anatomy of a Key
Keys look like rk_live_ or rk_test_ followed by 28 random characters. The prefix tells you what kind of key it is without revealing the secret — safe to mention in support conversations along with the last four characters. A lost key cannot be recovered, only replaced.
Test and Live Modes
The key prefix determines the mode of everything it touches: resources created with rk_test_ live in test mode, rk_live_ in live mode, and the two datasets never mix. A test key can never move real money — the full flow runs, including hosted confirmation and webhooks, against test data only. This is why we recommend keeping both keys configured and promoting from test to live by swapping a single environment variable.
Scopes
Each key carries scopes that bound what it may do. Partner keys are issued with everything the partner API needs, so under normal use you will never see a scope error. 403 insufficient_scope appearing in your logs usually means a key was used somewhere it should not be.
Keep Keys Safe
Keys must live on your server: environment variables or a secret manager, never browser code, mobile bundles, logs, or source control. If a key leaks, contact us to revoke and replace it immediately.