Karauti API documentation
/
Sign in

Place an order

POST https://karauti.com/api/v1/transaction

Parameters

ParameterTypeRequiredDescription
merchant_idstringyes See Authentication.
order_idstring, max 64yes Your reference. Letters, digits, . _ - only. Unique per merchant. Re-sending returns the original transaction.
skustring, max 64yesProduct code.
user_idstring, max 64top-ups Player account. Not sent for a gift-card SKU, which is delivered to nobody — see Gift cards.
server_idstring, max 32some 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_urlstring, max 255no 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_REQUESTA field is missing or wrong; errors names it.
INVALID_SKUNo product with that code.
SKU_UNAVAILABLENobody is selling it right now.
NO_CONNECTIONYou have no working account at its supplier.
INSUFFICIENT_BALANCEYour Karauti balance is below the fee.
CALLBACK_URL_REFUSEDcallback_url is not a public HTTPS address.