ONRAMP Webhook

ONRAMP webhook example

referenceId: unique ID of an onramp transaction.

Onramp Webhook Events

  • FIAT_DEPOSIT_RECEIVED -> 2, 10 (deposit secured)

  • TRADE COMPLETED-> 3, 12

  • ON_CHAIN_INITIATED-> 14 (withdrawal initiated)

  • ON_CHAIN_COMPLETED-> 4, 15 (withdrawal complete)

  • ON_CHAIN_COMPLETED-> 16 (ON_CHAIN_COPMLETED and webhook sent to client)

  • FAILED-> -1 (transaction timed out), -2 (transaction abandoned), -3 (bank and kyc name mismatch), -4 (amount mismatch)

{
   "referenceId":23,
   "eventType":"ONRAMP",
   "status":"FAILED",
   "metadata":{
     "failure_reasons": "Transaction timed out"
   }
}