Authentication
Branta endpoints require an API key to authenticate.
Include Authorization in the HTTP Header to authenticate.
(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 "Authorization: Bearer mykey" \
-d '{
"payment": {
"ttl": "86400",
"payment": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa"}
}' \
https://staging.branta.pro/v1/paymentsAPI keys carry sensitive privileges so they should be kept secure at all times. Do not commit them to code or share them publicly.
Last updated