A bearer token is an authentication credential that validates your requests to the Forage API.
Forage Authentication guide
Check out the Forage Authentication guide for complete instructions on how to authenticate with Forage.
The Forage API offers two different types of bearer tokens to validate requests: authentication tokens and session tokens.
Authentication tokens validate sensitive requests from your backend server, like to create Payment Capture Sessions
, Orders
, and Refunds
.
Session tokens verify requests from the front-end, including requests forwarded from Forage SDK methods.
For comprehensive information about the different token types and detailed instructions for how to authenticate with Forage, check out the Authentication guide.