Authentication

Branta endpoints require an API key to authenticate. Two API Keys are issued - staging and production.

Include API_KEY in the HTTP Header to authenticate.

Your API keys carry sensitive privileges so they should be kept secure at all times. Do not commit them to code or share them publicly.

(NOTE - DO NOT USE PRODUCTION API KEYS ON THESE PAGES. ONLY ENTER STAGING API KEYS ON THIS WEBSITE FOR TESTING PURPOSES.)

curl -X POST -H "Content-Type: application/json" \
-H "API_KEY: mykey" \
 -d '{
 "payment": {
 "ttl": "86400",
 "payment": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa"}
 }' \
 https://staging.branta.pro/v1/payments

IP Whitelisting

To enhance security and prevent unauthorized access, Branta allows you to whitelist specific IP addresses when making POST requests to our servers.

Why Use IP Whitelisting?

  • Enhanced Security – API requests from untrusted sources will be rejected, even with a valid key.

  • Compliance & Data Protection – Only approved servers can interact with Guardrail, facilitating security and regulatory compliance.

Last updated