1 Quick Start Guide
Create Account
Sign up for an account and access your developer settings.
Generate Keys
Retrieve your Public Key and Secret Key from the developer dashboard.
Make Request
Pass your keys in request headers and test balances and beneficiaries.
Authentication
The Flovide API uses your Public Key and Secret Key to authenticate requests. Include both keys in the request headers. Your public key identifies your account, while your secret key authorizes access.
All API requests must be made over HTTPS. Never expose your secret key in frontend code or public repositories.
Security
Store your secret key only on the server side. Use your public key for identification and your secret key for authorization.
Balances API
Reference/api/v1/balances
List all balances
Returns all balances that belong to the matched account.
Parameters
/api/v1/balances/{id}
Fetch single balance
Returns one balance record for the matched account.
Path Parameter
/api/v1/balances
Create a balance
Creates a new balance for the matched account.
Body Parameters
Beneficiaries API
Reference/api/v1/beneficiaries/account-inquiry
Account Inquiry
Validate recipient details before creating a beneficiary.
Body Parameters
Use the Flovide bank code. The provider-specific code is resolved internally.
/api/v1/beneficiaries
Create beneficiary
Creates a beneficiary for the matched account.
Body Parameters
/api/v1/beneficiaries
List beneficiaries
Returns all beneficiaries for the matched account.
/api/v1/beneficiaries/{id}
Fetch single beneficiary
Returns one beneficiary record for the matched account.
Path Parameter
/api/v1/beneficiaries/{id}
Delete beneficiary
Deletes a beneficiary by ID for the matched account.
Path Parameter
Transactions API
Reference/api/v1/transactions
List transactions
Returns all transactions for the matched account.
/api/v1/transactions/{id}
Fetch single transaction
Returns one transaction record for the matched account.
Path Parameter
/api/v1/transactions
Initiate transaction
Creates a new transaction for the matched account.
Path Parameter
Swaps API
Reference/api/v1/swap
Swap between business balances
Converts funds from one of your business currency balances to another using Flovide's configured exchange rate. Both currency balances must exist in the active API environment. The test endpoint is /api/test/v1/swap.
Request Body
Collections API
Reference/api/v1/collections/interac
Interac collection (top-up)
Create a Flovide CAD collection with one API request. Flovide returns the payment instructions and credits the matching CAD wallet after the payment is confirmed. Track the final result with your collection webhook.
Body Parameters
Rates API
Reference/api/v1/rates
Get exchange rate
Returns exchange rate and transfer fee for a currency pair.
Query Params
Reference Data API
Reference/api/v1/reference-data/currencies
Currencies only
Returns all supported currencies.
/api/v1/reference-data/banks
Banks only
Returns banks, optionally filtered by country_iso and currency.
Query Params
Webhooks
Flovide sends a signed webhook to the configured Collection URL or Payout URL when an API transaction is created and whenever its status changes. Configure separate live and test endpoints from the Webhooks settings panel. Status changes such as pending, processing, successful, or failed are reported as separate events.
Always verify the X-Flovide-Signature header before trusting a webhook payload. Never process a webhook you haven't verified.
Event Types
collection.created
Sent to the configured Collection URL when the API creates a collection request, including its initial status.
payout.created
Sent to the configured Payout URL when the API creates a payout request, including its initial status.
transaction.success
Sent when an API transaction status changes to successful.
transaction.failed
Sent when an API transaction status changes to failed.
transaction.pending
Sent when an API transaction status changes to pending.
transaction.status_updated
Sent when an API transaction changes to a status not covered by the success, failed, or pending events.
Payloads
Every webhook request is a POST with a JSON body. Collection events are sent to the Collection URL and payout events to the Payout URL. Both use the common transaction fields; payout events also include recipient details.
For a collection, payer_email is the payer's email address when supplied with the collection request. It is separate from customer_id, which is an optional Flovide customer identifier and may be null. transaction_amount is the gross amount and transaction_amount_without_fee is the amount after the Flovide fee. Collection payloads do not include a recipient object. Subsequent status changes are delivered as separate events, such as transaction.success or transaction.failed.
Acknowledge a webhook
After verifying and handling the request, respond with an HTTP 2xx status. The response body may be JSON; Flovide records the HTTP status and response for delivery logs.
Headers
| Header | Description |
|---|---|
| X-Flovide-Signature | HMAC-SHA256 hex digest of the raw request body, signed with your webhook secret_key. |
| X-Flovide-Event | The event type, matching the event field in the body (e.g. payout.created). |
| X-Flovide-Event-Id | Unique ID for this event; use it to prevent processing duplicate deliveries. |
Webhook logs
Fetch recent webhook events for the environment associated with your API keys:
GET /api/v1/webhooks/logs or GET /api/test/v1/webhooks/logs.
Optionally filter with ?type=COLLECTION or ?type=PAYOUT.
Verifying the Signature
Compute an HMAC-SHA256 digest of the raw request body using your secret key, then compare it to the X-Flovide-Signature header using a constant-time comparison.
Retry Policy
If your endpoint doesn't respond with a 2xx status, Flovide retries delivery up to 5 times with increasing backoff:
| Attempt | Delay After Previous Failure |
|---|---|
| 1 | 10 seconds |
| 2 | 30 seconds |
| 3 | 2 minutes |
| 4 | 10 minutes |
| 5 | 30 minutes |
Respond quickly — return a 200 immediately, then process the event asynchronously if it requires heavier work. Your endpoint should be idempotent, since the same event may be delivered more than once.
Error Handling
All errors return a consistent structure: success, message, code, and optional errors/data.
| Status | Error Code | Meaning |
|---|---|---|
| 400 | BAD_REQUEST | Malformed or invalid request payload. |
| 401 | UNAUTHORIZED | Missing or invalid authentication credentials/API keys. |
| 403 | FORBIDDEN | Authenticated but not allowed to perform this action. |
| 403 | INVALID_KEY_MODE | The API key environment does not match the endpoint (live or test). |
| 403 | WALLET_LOCKED | A wallet involved in the requested swap is locked. |
| 404 | NOT_FOUND | Requested resource was not found. |
| 404 | RATE_NOT_FOUND | No configured exchange rate is available for the requested currency pair. |
| 422 | VALIDATION_ERROR | Validation failed for one or more request fields. |
| 422 | SAME_CURRENCY | The source and destination currencies must be different. |
| 422 | INVALID_WALLET | A required wallet is missing for the account or API environment. |
| 422 | INSUFFICIENT_FUNDS | Wallet balance is not enough to complete the transaction. |
| 422 | INSUFFICIENT_BALANCE | The source wallet does not have enough funds for the requested swap. |
| 500 | SERVER_ERROR | Unexpected internal server error occurred. |
| 500 | TXN_FAILED | Transaction processing failed on the server/provider side. |