SDKs & Postman
Official helpers for TypeScript/Node and PHP.
TypeScript / Node
The client retries network errors, 5xx, 429 (honouring Retry-After) and 409 idempotency_request_in_progress up to 2 times, always with the same Idempotency-Key, so a retry can never repeat a payment or refund. Every POST gets a generated key if you pass none; pass your own to stay safe across process restarts.
PHP
The PHP client does not retry automatically; if you retry, reuse the same idempotencyKey.
Postman
Download the OneGate Postman collection, then set the secret_key variable to a Test key. It uses https://api.onegate.am and generates an idempotency key for each POST.
Packages are published from the OneGate repository; until they appear on npm and Packagist, install them from the release archive supplied by OneGate.