Authentication

Branta endpoints require an API key to authenticate. Two API Keys are issued during registration; 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.)

Branta Staging Authentication

curl -X POST -H "Content-Type: application/json" \
-H "API_KEY: <your_api_key>" \
 -d '{
 "payment": {
 "merchant": "<your_merchant>",
 "ttl": "86400",
 "description": "<your_description>",
 "payment": "<your_payment>"}
 }' \
 https://staging.branta.pro/v1/payments

Branta Production Authentication

curl -X POST -H "Content-Type: application/json" \
-H "API_KEY: <your_api_key>" \
 -d '{
 "payment": {
 "merchant": "<your_merchant>",
 "ttl": "86400",
 "description": "<your_description>",
 "payment": "<your_payment>"}
 }' \
 https://payments.branta.pro/v1/payments

Last updated