Developers
See it work before you write a line. Payments in your own site or app, by API.
Create a checkout session, watch the event arrive, then build your own.
Shortened from the Accept a payment › guide.
Two ways to take a payment. Same keys, same webhooks, same test mode.
Checkout session Recommended
You send the cart. FLIK hosts the payment page, and your shopper can try again there if a payment expires.
- The least code
- No payment page to maintain
- Your shopper picks how to pay
Payment intent
You build the payment step into your own page or app, and show the payment details yourself.
- Your page, your design
- You pick the payment method
- You decide what happens when a payment expires
Start with one and add the other later. Compare the two ›
Break things safely. Test keys, simulated payments, no real money.
Test keys that work straight away
Create them yourself in the FLIK dashboard. A test key never touches a live payment, and a live key never touches a test one.
Every outcome, on demand
Pay, expire or fail a test payment with one call. Fixed test amounts give you a decline.
The same events as live
Test payments send the same signed events, to your test webhook endpoints only.
Nothing reaches a bank
A simulator answers every test payment. No payment provider is called.
The essentials. What every integration needs to know.
Authentication
OAuth 2.0 client credentials. Your server exchanges its client ID and secret for a one-hour access token. Roll a secret and the old one keeps working for 24 hours.
Authentication and keys ›Test and live
Two separate modes, each with its own keys, webhook endpoints and events. Nothing carries over from test to live.
Test mode and live mode ›Errors and limits
Every error has a stable code, a page that explains it and a request ID to share with FLIK support. Up to 100 requests a minute per API key.
Error index ›Made for AI coding tools
Every docs page is also plain Markdown, with rules that keep generated code correct.
Docs for AI tools ›| Key | Where it lives | What it can do |
|---|---|---|
| API key | Your server | Client ID and secret for a one-hour access token. Scopes limit what it can do, such as checkout_sessions:write and payment_intents:read. |
| Publishable key | Your website or app | Not a secret. It only reads a checkout session from the browser, with that session's client secret. |
| Payout key | Your payout server | Only creates payouts to your registered bank account and reads your balance, so your checkout key can't move money out. A live payout key needs a one-time code and an IP allowlist. Payouts › |
| SNAP partner | Your bank integration | BI SNAP format (ASPI SNAP v1.0.2): requests signed with your private key and checked against your RSA public key (2048 bits or more). Covers virtual accounts, QRIS, balance inquiry and transfer to your bank account. BI SNAP › |
Coming soon. More ways to build, on the same API.
Embedded checkout
The FLIK checkout inside your own page.
Customizable elements
Payment components for a checkout in your own design.
Headless sessions
A checkout run entirely through the API, for AI agents and point-of-sale systems.
SDK
Client libraries for the Merchant API.
More ways to pay
E-wallets, cards and cash on delivery.
Shipping and promotions
Delivery options and discount codes on a checkout session.
None of these is available yet, so don't build against them. See what's coming ›
Go live when your tests say so. Three steps, then one small real payment.
Pass your own tests
Run a paid, a failed, an expired and a late payment in test mode, plus a duplicate webhook.
Verify your business
Complete account verification in the FLIK dashboard. Live keys need an activated account.
Switch your keys
Create live keys and a live webhook endpoint, swap them into your configuration and run one small real payment.
Not building? We connect the platforms you already sell on.
No code
Send payment links and invoices, and create shipments from the FLIK dashboard. Nothing to install.
Get started ›Questions, answered.
Can't find what you need? Talk to the FLIK team › Integration support ›
Start building today.
Create your FLIK account and get test keys, or talk to the FLIK team about your integration.

