Webhooks & Idempotency

Verify 6MM webhook signatures and process repeated notifications safely.
View as Markdown

Webhook headers

HeaderDescription
X-Agent-TimestampUnix timestamp in seconds.
X-Agent-NonceReplay-protection nonce.
X-Agent-SignatureHMAC-SHA256 signature.
timestamp + nonce + rawBody

Order idempotency

CaseHandling
Initial transfer requestCreate one globally unique agentOrderNo.
HTTP timeoutQuery the original agentOrderNo before creating a new one.
PROCESSING responseWait for webhook or query order status.
Repeated webhookDeduplicate by idempotency key and final status.