Authentication
Every request carries your partner credential as a bearer token.
Getting a credential
We issue the credential for you. Contact us with the name of your integration. It is shown once, when we hand it over, and we store only a hash of it.
A lost credential is replaced, not recovered. Put it in your secret manager as soon as you receive it, and never ship it in client-side code.
What the credential spends
The credential acts on your Campino account and its wallet. Searches and purchases are charged to
that wallet. Top up the wallet before you submit: a search that the balance does not cover answers 400
and nothing is charged.
When authentication fails
Every credential problem answers the same way, so a response never tells an attacker which part was wrong.
The status is 401 and the response carries WWW-Authenticate: Bearer. It means the credential is
missing, malformed, unknown, revoked or expired, the request came from an address outside the
allow-list, or the Authorization header was sent twice.

