Authentication

Our API authentication relies on the use of the Authorization HTTP header.

You'll need to include your API token in this header to access all API resources.

Make sure to keep your token secure, as anyone with it will be able to access all cards you generate.

How to get an API token?

Send an email to api@spendit.finance to request an API token.

Our team will respond to your request within 24 hours.

How to authenticate?

Add your token to every request you make to our API in the Authorization header. Prepend your token by "Bearer ".

Request Example

curl -X GET https://spendit.finance/api/cards \
-H "Authorization: Bearer YOUR_API_TOKEN 

How to generate a new token?

If your token has been exposed or leaked, please revoke it immediately.

You can do it on your partners portal: https://spendit.finance/partners

By revoking your token, a new one will be automatically created for you.

Last updated