These docs are for v2023-01-01. Click to read the latest docs for v2024-10-16.

Authentication

🚧

Upgrade to the latest version

These docs are for version 2023-01-01. We encourage you to upgrade to version 2023-12-01 to simplify user authorization and access new features. Please see the changelog for more information.

The Rainforest API uses API keys with Bearer Authentication.

API keys are prefixed with apikey_ in production and sbx_apikey_ in sandbox.

Provide the API key in the Authorization header with the Bearer prefix.

curl --request POST \
     --url http://api.sandbox.rainforestpay.com/v1/payin_configs \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {{your_apikey}} ' \
     --header 'Content-Type: application/json'
     --data '...'