Authentication
Send your token in the Authorization header: the word Token, a space, and the token in Base64. VoltBras also accepts the token without Base64.
Authorization: Token NG1YM3VKMGI5R1o3a3EyWXRSOHZMMXNONnBXNWNBMGVIM2ZEOWlLMm9RNw==
A missing or unknown token gets HTTP 401 with status 2000.
Registration token
OCPI's CREDENTIALS_TOKEN_A. VoltBras sends it to you out of band, and you use it only to register, on the Versions and Credentials modules. It stops working once you register, or when VoltBras sends you a new one.
Credentials token
Each Credentials exchange gives you a new one, whichever platform starts it, and you use it for every request after registering. It stops working when the next exchange completes, or when either platform disconnects.
VoltBras renews the tokens about once a month: see Update the tokens.
Token format
VoltBras's tokens have 43 URL-safe characters. The token you give VoltBras can have up to 64 characters; VoltBras stores it encrypted and sends it to you in Base64.