From 1e4efa3e96a1a669a06b0bda0750f398284ea9d0 Mon Sep 17 00:00:00 2001 From: joaobaptistanqda Date: Thu, 11 Jul 2024 14:20:30 +0100 Subject: [PATCH] Add reference to `error` property for fraud reson Signed-off-by: joaobaptistanqda --- docs/flows/crypto-onramp.mdx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/flows/crypto-onramp.mdx b/docs/flows/crypto-onramp.mdx index 3d7d7e9..e468261 100644 --- a/docs/flows/crypto-onramp.mdx +++ b/docs/flows/crypto-onramp.mdx @@ -507,6 +507,8 @@ Triggered when a user's order has failed. - `id` UUID of the widget. - `name`: Name of the widget. - `flow`: Flow associated with the widget. +- `error`: Indicates specific error information. + - `reason`: Indicates the reason for the error, possible values are `fraud`. :::note The values for `origin.paymentMethod.type` can be found using our [REST API](../rest-api.md), via the [payment methods endpoint](https://api.topperpay.com/payment-methods/crypto-onramp). @@ -566,6 +568,9 @@ The values for `origin.paymentMethod.type` can be found using our [REST API](../ "name": "ACME", "flow": "crypto_onramp" } + "error": { + "reason": "fraud" + } // highlight-end } }