Skip to content

Commit

Permalink
Add reference to error property for fraud reson
Browse files Browse the repository at this point in the history
Signed-off-by: joaobaptistanqda <[email protected]>
  • Loading branch information
joaobaptistanqda committed Jul 11, 2024
1 parent 65c06f0 commit 1e4efa3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/flows/crypto-onramp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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
}
}
Expand Down

0 comments on commit 1e4efa3

Please sign in to comment.