The key
Calls that make something need an Idempotency-Key header, 8 to 100 characters, such as your order number. Sent again with the same key within 30 days (after a timeout, say), the call answers as the first time did, with Idempotent-Replayed: true, and makes nothing twice. Later than that, check first with GET /api/v1/invoices?reference=<your order number>.
Use something that names the order, such as its number. A key is kept for 30 days. The same key for a different call is refused with 422; a key still being answered gives 409: wait and send again.
Example
curl -X POST https://YOUR-OSUITE/api/v1/invoices/123/payments \
-H "Authorization: Bearer $OSUITE_TOKEN" \
-H "Idempotency-Key: order-1001" \
-H "Content-Type: application/json" \
-d '{"amount":3196,"mode":"upi","reference":"pay_RZP123"}'
Also as Markdown. See the API reference for every field.