Unified payments API
Create orders, query status, and issue refunds with a predictable HTTP + JSON contract.
Manage payments, refunds, events, and payouts with one straightforward server-side API. Keep your team focused on your business, not payment plumbing.
Orders in,money settled.
Fig. 1illustrative figures, not real volume
01Platform capabilities
The essentials in one API. Every state can be queried, and every movement of funds can be traced.
Create orders, query status, and issue refunds with a predictable HTTP + JSON contract.
Send customers to a signed checkout link without handling payment credentials yourself.
Independent test and live keys lower the risk of accidental real transactions.
Verify signatures, retry failed deliveries, inspect logs, and resend events.
Pending payments and refunds are checked again when a notification is missed.
Track payments, refunds, and payouts in an auditable record of balance changes.
02Coverage and pricing
The platform's standard terms. Approved merchants see their own signed rates in the merchant portal.
03Built for developers
Create an order on your server, then redirect the customer to the checkout URL. Your order reference also acts as an idempotency key, so retries are safe.
Request
curl -X POST https://api.kukopay.com/v1/orders \
-H "X-Api-Key: kuko_test_•••" \
-H "Content-Type: application/json" \
-d '{
"out_trade_no": "ORD_2026_001",
"amount": 2990,
"currency": "USD",
"subject": "Premium plan"
}'Response 201
{
"code": 201,
"data": {
"trade_no": "TRD_SB_9F3A2C7E…",
"status": "pending",
"checkout_url": "https://checkout.kukopay.com/…"
}
}Order amount
$29.90 USD
ORD_2026_001
Payment lifecycle
POST /v1/orderscheckout_urlpayment.succeededHTTP 200+ $29.90Fig. 2Illustration, not a real transaction
View quickstart04Ways to integrate
Every option creates the same orders on the same hosted checkout, settled and notified the same way. They differ only in who writes the code.
Orders, refunds, disputes, reconciliation and payouts over HTTP + JSON. Full control.
A stable URL for a product or service. Each visit opens a new order — no code.
Already wired to a common payment protocol? Point it at KukoPay with a gateway URL and key — no new code.
Install the plugin for your platform, enter your keys, and its orders are paid on hosted checkout.
05Integration flow
The browser return improves the experience; a verified server-side event is the basis for fulfillment.
Create a merchant account and request a test key to start integration.
Send the amount, order reference, and notification URL to get a checkout link.
Redirect the customer to KukoPay's hosted checkout.
Verify the payment.succeeded event and deduplicate by event ID.
06Security by design
Separate environments, signed events, and ledger rules reduce operational mistakes.
Keys are stored encrypted and can be reset by merchants.
Merchant-level API rate limits and optional IP allowlists.
Test and live use independent keys and ledgers.
Idempotent state changes and balance movements have matching records.
07FAQ
KukoPay is a payment gateway for businesses that sell across borders. Your server creates an order with one API call and sends the customer to KukoPay's hosted checkout. KukoPay confirms the payment with the processor, credits the net amount to your wallet in that currency and notifies you with a signed webhook. Refunds, chargebacks, reconciliation and payouts run through the same API and merchant portal.
Cards, Apple Pay, Google Pay, Alipay, WeChat Pay and PayPal, in USD, HKD and CNY. The sandbox offers all of them; for live payments, methods and currencies are enabled per merchant at approval, and more can be requested in the portal. Each currency is a separate wallet with no automatic conversion.
The standard rate is 3.5% plus a fixed fee per successful payment: $0.30 in USD, HK$2.35 in HKD and ¥2.00 in CNY. A fee never exceeds the order amount. Rates can be agreed per payment-method group at signing, and the rate applied is recorded on every order. The sandbox is free.
Yes. Besides mainland Chinese companies, sole proprietorships and companies registered outside mainland China, individuals aged 18 or over can apply with their own ID document. Individual accounts have payment limits, can only be paid out to a personal account in their own name, and cannot sell digital goods or online games.
Yes. Payment links need no code; systems that already support a common payment protocol connect with a gateway URL and key; and supported platforms have ready-made plugins. Refunds, reconciliation and dispute evidence are handled in the merchant portal.
Public integration docs are at kukopay.com/docs. Keys, orders, and webhook delivery logs are in the merchant portal.
Use a unique out_trade_no when creating an order, then deduplicate webhook events by event ID. You can retry the same order reference after a timeout.
No. Fulfill only after verifying a payment.succeeded webhook; query the order for an additional check.
Open a merchant account, request a test key, and follow the quickstart from end to end.