Developers
Build global payments with one API.
Clean REST endpoints, predictable JSON responses and SDKs for Node.js, Python, PHP, Go and Java. Go from sandbox to live production in hours, not months.
- Quickstart
- Authentication
- Payments
- Payouts
- Accounts
- Webhooks
- Errors
Payments
Create a payment
Creates a payment in the customer’s local currency and returns the next action for the chosen method.
Find what you need
The documentation is organized around the jobs you do during an integration.
Integration guides
Step-by-step walkthroughs for hosted checkout, embedded UI components, payouts and virtual accounts.
Learn moreAPI reference
Every resource, parameter and response shape, with request examples in each supported language.
Learn moreWebhooks
Real-time event notifications for every transaction state, with signing and retry behavior explained.
Learn moreChangelog
How the API is versioned, how changes are announced and how deprecations are handled.
Learn moreSystem status
Live availability for the API, dashboard, payment rails and webhook delivery.
Learn morePlugins and partners
One-click plugins for WooCommerce, Shopify and Magento, plus the partner program for platforms.
Learn more
Your first payment, in a few lines
Create a payment with a local method, pass an idempotency key, and listen for the result on your webhook endpoint.
- Predictable JSON responses across every resource
- Idempotent requests so retries never double-charge
- Real-time events for every transaction state
const fletpay = new Fletpay(process.env.FLETPAY_KEY);
const payment = await fletpay.payments.create({
amount: 125000,
currency: "BRL",
method: "pix",
customer: { email: "ana@example.com" },
}, { idempotencyKey: "order_8812" });
console.log(payment.status); // "pending"
Webhook events · order_8812Illustrative example
- 12:04:01.218payment.created
- 12:04:01.402payment.routed
- 12:04:03.977payment.succeeded
- 12:04:04.010settlement.completed
From sandbox to first live payment
- 01
Create a sandbox account
Sign up and get test API keys right away. The sandbox mirrors production behavior without moving real money.
- 02
Simulate the full lifecycle
Trigger successful payments, declines, refunds and webhook payloads to validate every branch of your flow.
- 03
Switch to live keys
Once onboarding is approved, swap in your live keys and activate the payment corridors you need.
Frequently asked questions
Something else on your mind? Talk to our team.
Which languages have official SDKs?
Fletpay provides SDKs for Node.js, Python, PHP, Go and Java. Any language that can make HTTPS requests can call the REST API directly.
Is there a test environment?
Yes. Every account gets a dedicated sandbox where you can simulate payments, declines, refunds and webhook deliveries before going live.
Do I need separate integrations per country?
No. One API covers every supported country and payment method. You choose which corridors to activate from your dashboard.
Keep exploring
- DevelopersIntegration GuidesStep-by-step guides for hosted checkout, embedded components, payouts, virtual accounts and e-commerce plugins.Read more
- DevelopersAPI ReferenceResources, endpoints and conventions of the Fletpay REST API: idempotency, pagination, errors and versioning.Read more
- DevelopersWebhooksReal-time event notifications for every payment, payout and settlement state, with signed payloads and automatic retries.Read more
Ready to Unlock Emerging & Global Markets?
Join fast-growing enterprises scaling their payment infrastructure with Fletpay.