Prerequisites
Before you start, make sure you have:- A RemitFlex account. Sign up at dashboard.remitflex.com if you don’t have one yet.
- An API key from your dashboard. The Authentication guide explains how to create one.
curlinstalled, or a JavaScript/Node.js environment ready.
All examples on this page use the sandbox base URL and a test API key (prefixed
rf_test_). Sandbox payments never move real funds. When you’re ready to go live, swap in your live key and the production base URL.Get Your API Key
Log in to the RemitFlex Dashboard, navigate to Settings → API Keys, and click Create new key. Give the key a descriptive name (for example,
quickstart-test) and select the Sandbox environment.Copy the key immediately — it is only shown once. Store it in an environment variable so you never hard-code it in your source files:Fetch a Conversion Quote
Before creating a payment, request a quote to see the exact exchange rate, converted amount, and fee that will apply. Quotes expire after five minutes, so request one immediately before you intend to create a payment.A successful response looks like this:Note the
quote_id — you can optionally attach it to your payment request to lock in this rate. If you omit it, RemitFlex generates a fresh quote at the moment of payment creation.Create a Payment
With a quote in hand, create your first payment. This example sends 500 USDC from the US to a EUR bank account in Spain.RemitFlex returns a payment object immediately with a Save the
pending status:id field (here pmt_01HX4N3R...) — you’ll use it to track the payment’s progress.Check Payment Status
Poll the payment endpoint or listen for a webhook event to track when the payment moves through processing, conversion, and settlement. To fetch the current status directly:The
status field progresses through these values as the payment settles:| Status | Meaning |
|---|---|
pending | Payment received and queued for processing |
processing | Conversion and routing in progress |
in_transit | Funds sent to the recipient’s bank |
completed | Recipient’s bank confirmed delivery |
failed | Payment could not be completed — check failure_reason |
In production, we recommend subscribing to webhook events rather than polling. Webhooks deliver real-time status updates to your server the moment a payment changes state.
Next Steps
You’ve made your first RemitFlex payment. Here’s where to go from here:Send a Payment
Dive deeper into payment creation — corridors, recipient validation, idempotency keys, and error handling.
API Reference
Browse the complete API reference for every endpoint, request parameter, and response field.