Skip to main content
Before using Saberโ€™s APIs or SDK, generate an authentication signature โ€” the process differs slightly depending on the type of request.

Receiving keys

Saber provides two key sets โ€” sandbox and production โ€” each with an API Key (client_id) and API Secret (client_secret). Use these to generate an authentication token (API Signature) for your requests.
Contact your Saber representative to get access to Saber dashboard. API Keys are generated from the dashboard.

Generating the authentication token

1

Generate a timestamp

2

Create the signature string

The signature string differs by request type:
For merchant-level requests not tied to a specific user (e.g. create a user):
3

Generate the HMAC-SHA256 signature

The resulting signature can now be used to authenticate API requests.

Full example

Request headers

The earlier header names X-CLIENT-ID (client ID) and X-CLIENT-SECRET (generated signature) have been replaced:You may still find the older names referenced in some documentation. We suggest using the new headers, but both work โ€” theyโ€™re backwards compatible.

Understanding the Platform

Sandbox Functionality

Developer Section