Authorization header.
Get an Access Token
Exchange your Client ID and Secret at the token endpoint for your environment:Use the Token
Pass theaccess_token as a Bearer token on every request:
Fundflow API:
Token Refresh
Request a new token before the current one expires. A 30-second buffer is sufficient:401 Unauthorized response means the token has expired — re-authenticate and retry the request once.
Environments
Staging credentials and production credentials are separate. Staging calls do not move real funds.
Security
- Store
CLIENT_IDandCLIENT_SECRETin environment variables or a secrets manager — never in source code or version control. - Never log or expose tokens in client-side code.
- Treat a leaked secret as compromised immediately — rotate it via your Venly account and invalidate any outstanding tokens.

