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.

Read the docs ›
A test payment, end to endExample · test mode
Request
POST /v1/checkout/sessions
Response
{ "id": "cs_t-…", "livemode": false, "url": "https://…" }
Event
checkout.session.completed
Webhook
Your endpoint answered 200

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.

  1. The least code
  2. No payment page to maintain
  3. Your shopper picks how to pay
Accept a payment ›

Payment intent

You build the payment step into your own page or app, and show the payment details yourself.

  1. Your page, your design
  2. You pick the payment method
  3. You decide what happens when a payment expires
Accept a payment on your own page ›

Start with one and add the other later. Compare the two ›

How an API integration works. Your server holds the secret. FLIK hosts the payment page.

Get an access tokenYour server

Every request goes to api.flik.co.id, with test keys and with live keys.

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.

Read the test mode guide ›

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 ›
KeyWhere it livesWhat it can do
API keyYour serverClient 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 keyYour website or appNot a secret. It only reads a checkout session from the browser, with that session's client secret.
Payout keyYour payout serverOnly 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 partnerYour bank integrationBI 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 ›

See the full API reference ›

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.

Step 1

Pass your own tests

Run a paid, a failed, an expired and a late payment in test mode, plus a duplicate webhook.

Step 2

Verify your business

Complete account verification in the FLIK dashboard. Live keys need an activated account.

Step 3

Switch your keys

Create live keys and a live webhook endpoint, swap them into your configuration and run one small real payment.

Open the go-live checklist ›

Not building? We connect the platforms you already sell on.

Shopify

We connect your Shopify store to FLIK Checkout and Shipping for you.

Get started ›

WooCommerce

We connect your WordPress store and switch it to FLIK Checkout.

Get started ›

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.