Place an order
Warning
POST https://karauti.com/api/v1/transaction
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
merchant_id | string | yes | See Authentication. |
order_id | string, max 64 | yes | Your reference. Letters, digits, . _ - only.
Unique per merchant. Re-sending returns the original transaction. |
sku | string, max 64 | yes | Product code. |
user_id | string, max 64 | top-ups | Player account. Not sent for a gift-card SKU, which is delivered to nobody — see Gift cards. |
server_id | string, max 32 | some products | The zone or server the player is on. Required when the product's
inputs lists it — see
Products. Sending an order
without one for such a product fails with INVALID_TARGET, so build
the form from inputs rather than per game. |
callback_url | string, max 255 | no | HTTPS, public host, port 443 or 8443. Overrides the saved webhook for this order. |
curl -X POST https://karauti.com/api/v1/transaction \
-H 'Content-Type: application/json' \
-H 'X-Karauti-Timestamp: 1786686400' \
-H 'X-Karauti-Nonce: 9f2b41c7d0e8a35b' \
-H 'X-Karauti-Signature: …' \
-d '{"merchant_id":"M2608001","order_id":"ORD-1001","sku":"UNIFF25","user_id":"9003278192"}'
{
"status": 1,
"data": {
"order_id": "ORD-1001",
"trx_id": "K260816YULHW3",
"status": 0,
"failure_code": null,
"message": "The order is being processed. Wait for the webhook.",
"sku": "UNIFF25",
"target": "9003278192",
"nickname": null,
"sn": null,
"fee": 0,
"balance": 4976,
"created_at": "2026-08-14T05:46:40+00:00"
},
"meta": { "unix_timestamp": 1786686401 }
}
Warning
This is an acknowledgement. The inner status is normally 0 — not a
failure. Wait for the webhook or poll. Re-ordering on 0 buys twice.
Errors
A refused order is never bought and never billed.
INVALID_REQUEST | A field is missing or wrong; errors names it. |
INVALID_SKU | No product with that code. |
SKU_UNAVAILABLE | Nobody is selling it right now. |
NO_CONNECTION | You have no working account at its supplier. |
INSUFFICIENT_BALANCE | Your Karauti balance is below the fee. |
CALLBACK_URL_REFUSED | callback_url is not a public HTTPS address. |
API documentation