Authentication

Learn how to authenticate requests to the Bamboo Purchase API. Configure Basic authentication headers, supported languages, and error localization for secure integrations.

Configuring the Authentication

All methods require the following authentication headers.

Key

Value

Comments

Content-Type

application/json

Indicates that the request body is transmitted in JSON format.

Authorization

Basic {{Merchant Private Key}}

Send the {{Merchant Private Key}} (your merchant identifier) prefixed with the word Basic.
Example: Basic RVkeLr-86_iTzSMLvDtuyQ-1zqIcsmFG-oSzncn_uFv-nj7bhB3rtZg__


Setting the Language of the Response Codes for Payins

Error descriptions can be localized by including the lang header in your request.
Use any of the following languages in ISO 639-1 format.

CodeLanguage
enEnglish. Default language. If no header is sent, or the value is invalid, the response will default to English.
esSpanish.
ptPortuguese.

Next Steps