Webhooks
Last updated
Last updated
new
when /onramp/transaction
is called via a POST request.
processing
the fiat gateway provider is processing the transaction.
success
user has successfully received asset.
failed
fiat-gateway has encountered an error processing the transaction. The user will not be charged.
invalid
unable to continue with DeFi route.
To verify the authenticity of the webhook payload, you can hash (sha256 hex) the payload's body using the webhook's secret key. Once you've generated this hash, compare it with the value provided in the x-signature
header. If the two values match, it confirms that the payload is genuine and hasn't been tampered with.
For verification, consider using this sha256 hash generator as a reference: