/
API Reference

API Reference

API Keys can be generated in Test and Live Modes, check error responses, request parameters and other APIs

Leatherback APIs are completely RESTful, and all responses are returned in JSON.

Integrations

  • Looking to integrate your website, e-commerce store, or mobile app with Leatherback Payment Gateway? Find the right integration method

  • Accept payments without a website or app using other Leatherback products, such as Payment Links

Test and Live Mode API Keys

You can use Leatherback APIs in two modes, Test and Live. The API keys are different for each mode.

Leatherback authenticates your API requests using your account’s API keys. If you do not include your key when making an API request, Leatherback will propagate an error.

We use two types of API keys on Leatherback:  Public Keys and Secret Keys

Credential

Description

Credential

Description

Public Key

This is required together with your secret key to generate your basic token

Secret Key

This should be kept confidential and only stored on your own servers. The secret key is used to authorize all your API calls on Leatherback without restriction.

 

Your API keys are available on your Leatherback Dashboard. You can navigate by following the steps below;

  • Login to your Leatherback dashboard.

  • Navigate to settings.

  • Click on Service Settings

  • Select the API Keys tab on the settings tab.

  • The image below shows you where your unique API Key is located.

You can get your credentials by clicking on the eye button as shown below; See the sample below:

 

In cases where your API keys have been compromised, you can easily generate new API keys. Simply click the 'Reset all Keys' text under the API Keys tab on the Service Settings page.

 

 Related articles

Leatherback 2024