FIDEL API accounts have test mode and live mode API keys. To change modes just use the appropriate key to get a live or test object. You can find your API keys in the account page of your FIDEL dashboard.
Authenticate your API requests by including your test or live secret API key in the request header. Create an HTTP header named
fidel-key and set your secret key as the value.
You should use the public keys on the SDKs and the secret keys to authenticate API requests.
curl -X GET \ https://api.fidel.uk/v1/transactions/85cdb967-5c5d-45e3-afdd-d0a9e792bf0f \ -H 'content-type: application/json' \ -H 'fidel-key: sk_test_50ea90b6-2a3b-4a56-814d-1bc592ba4d63'
Do not share or include your secret API keys on client side code.