Cookbook
Working integration recipes — each is a self-contained guide with the request/response shape, code in 3 languages, and a runnable sample repository link. Estimated time = our average customer integration time, measured from sandbox key issuance to first live payment.
Mini app launches checkout, webhook posts back to bot, deep-link returns user.
Partial refund with idempotency_key keyed on the queue retry.
Authorise on order, capture on shipping confirmation, void on cancellation.
Tokenise on first charge, re-charge on schedule, dunning on failure.
Hold funds, distribute to seller payouts net of platform fee.
Field-by-field endpoint mapping, dual-running pattern, key rotation strategy.
Store event.id, ACK fast, reconcile asynchronously, deduplicate retries.
Daily cron pulls /v2/payments, hashes with your DB, surfaces drift.