Get your API credentials
Learn everything you need to know about your dLocal API credentials.
All dLocal API requests require API credentials to verify the call is being made through a valid dLocal account.
Types of credentials
There are two types of credentials that you can use:
- Sandbox credentials. These credentials allow you to check your integration by sending payments to our Sandbox API. You will be able to view all the transactions through the Merchant Dashboard in Test mode. We recommend trying the Sandbox API before going live to ensure that your integration works properly.
- Production credentials. These credentials allow you to start processing real payments.
API credentials detail
Credentials | type | Description |
---|---|---|
X-Login | String | API key necessary to authenticate your request. |
X-Trans-Key | String | API key necessary to authenticate your request. |
Secret key | String | Use for the creation of the Authorization. |
Smartfields API key | String | Only for Smart Fields integration. |
Obtain your credentials
You can get the Sandbox and the Production credentials from your same account in the Merchant Dashboard.
You just have to change between the Test and the Live modes by pressing the toggle at the top bar and then find the corresponding credentials in Settings > Integration.
The account creation allows you to test payments but does not guarantee that you will be able to process live payments until the account is activated.
Updated about 2 months ago