API Request Authentication
Authenticate your API calls to Payment related endpoints.
Authenticate your API calls by including your gateway key in the Authorization
header of every request you make to the payment endpoints.
Generally, we provide both test and live keys. test
keys are meant to be used from your sandbox when integrating Juice API. The live
keys however, are to be kept secret.
Both test and live keys have the format: live_myusdguyheiuwX746bagbedjyqg, but sandbox keys will not be the same as the production keys.
Secure your live production key Do not commit your API keys to git, or use them in client-side code.
Authorization headers should be in the following format: Authorization: API_KEY
Sample Authorization Header
Authorization: test_r3m3mb3r2pu70nasm1l3
API requests made without authentication will fail with the status code 401: Unauthorized
. All API requests must be made over HTTPS.
Last updated