Quickstart
This guide takes you from an API key to a customer you can use in a payment request. It uses the sandbox, so you can integrate without moving real money.Before you begin
You need an Inflow organization with an API key. Create or copy the key from the Inflow Dashboard, then store it in an environment variable—never expose it in browser or mobile-app code.API keys are scoped to one organization. Requests made with a key can access only that organization’s customers, payments, and wallets.
Authenticate requests
Send the key in theAuthorization header as a Bearer token. Inflow also accepts the X-API-Key header, but use one method consistently.
Create a customer
Create a customer before creating a payment. Save the returneddata.id; it is the customerId required by the payment API.
Use the right environment
Keep sandbox and production keys separate. When you are ready to go live, switch both the base URL and the API key.