Karauti API documentation
/
Sign in

Gift cards

A gift card is ordered like a top-up, with two differences.

1 · No user_id

Leave it out. A gift card is delivered to nobody.

-d '{"merchant_id":"M2608001","order_id":"ORD-1002","sku":"RZRTA120"}'

2 · The code arrives in data.voucher

{ "event": "order.updated", "data": { "order_id": "ORD-1002", "trx_id": "K260821DNHMRH", "status": 1, "failure_code": null, "message": "The order completed.", "sku": "RZRTA120", "target": "", "nickname": null, "sn": "122KGBL0Y7TJAA4F808F0", "fee": 2, "balance": 4976, "created_at": "2026-08-14T05:46:40+00:00", "voucher": "8461-2290-7735-1148" }, "meta": { "unix_timestamp": 1786686455 } }
Warning

voucher is money. Anyone who reads it can spend it. Store it encrypted, keep it out of logs and show it only to the customer who paid. It comes only on the webhook, not from Check a status — if a callback was missed, press Resend on the order in the console.