Authentication

Learn how to set up authentication for the Bamboo API. Step-by-step guide for implementing authentication headers, handling private keys, and configuring API response languages.

Configuring the authentication

All methods used in Purchase API require the following authentication headers.

KeyValueComments
Content-Typeapplication/jsonWith this header, the request will be transmitted in JSON format.
AuthorizationBasic {{Merchant Private Key}}Send the {{Merchant Private Key}} (your merchant identifier) and the word Basic.
Example: Basic RVkeLr-86_iTzSMLvDtuyQ-1zqIcsmFG-oSzncn_uFv-nj7bhB3rtZg__

Setting the language of the response codes

You can receive the error description by relying on localization features. To do this, you need to send the lang header in your integration, using any of the following languages in ISO 639-1 format.

CodeLanguage
enEnglish.
This is the default language. If you don’t send this header or set a non-existent language, you will receive errors in this language.
esSpanish.
ptPortuguese.
footer
Last modified December 30, 2024

© Bamboo | All rights reserved 2024