Prerequisites
- A transaction with status
on-holdand reasonpending-requests-for-information - Your system is set up to listen to webhooks for transaction status changes
- Understanding of the transaction flow that triggered the RFI (deposit, withdrawal, etc.)
Detect held transaction
Monitor webhook events to detect when a transaction is placed on hold:- core.transaction.status-changed
status: on-holdwithstatusDetails.reason: pending-requests-for-information
List pending RFIs
Retrieve the pending requests for information using List Requests for Information endpoint.Travel Rule
Travel Rule is a regulatory requirement that mandates the collection and transmission of information about the originator and beneficiary of certain crypto transactions.The flow
Create the widget session
When atravel-rule RFI is pending, create a widget session using Create Session endpoint.
url and token for the widget session, and data containing additional context to setup and prefill the Travel Rule form.
Open the widget
Launch the widget to guide the user through the Travel Rule information collection process.The example code below is for web applications. For native applications using a WebView, you’ll still need to implement communication through a bridge to send events to the native side. Check out the Native App Integration page for more details.
Update the RFI
Once the widget emits thecomplete event, update the RFI using Update Request for Information endpoint.
The
travel-rule RFI has been successfully resolved, and the transaction will proceed automatically.Monitor transaction completion
Once the RFI is resolved, the transaction will automatically resume processing. Prefer webhooks for real-time updates, or fall back to polling if webhooks are not feasible.- Webhook events (recommended):
- core.transaction.status-changed
status: processing→ transaction is being processedstatus: completed→ transaction finalized and funds creditedstatus: failed→ transaction failed, checkstatusDetailsfor more info
- core.transaction.status-changed
- Polling (fallback):
- Get Transaction endpoint.
Related flows
This flow can be triggered as part of:- Crypto Deposit - When incoming deposits require compliance information