End Travel Rule
This POST /api/verify/v2/end endpoint is to notify GTR and your counterparty that you are cancelling this Travel Rule request after success verification response from POST /api/verify/v2/one_step in Pre-transaction Travel Rule situation.
In most cases, after you (as Originator VASP) receive success verification response from POST /api/verify/v2/one_step, your next step is to execute this asset transfer on the blockchain and notify GTR with your tx_id by calling POST /api/verify/v2/notify_tx_id.
However, your Compliance / Risk may make final decision of ending this withdrawal request. In such cases, you can invoke this endpoint to notify GTR and your counterparty with your specified cancellation reason.
For further details of VASP list API, see API Reference: /api/verify/v2/end.
Request & Response
{
"requestId": "original request id",
"reasonType": "ADDRESS_BOOK_VERIFY_PURPOSE",
"reason": "put your reason"
}
Details of these parameters:
requestId: Your original Travel Rule request ID that was same as last stepPOST /api/verify/v2/one_stepreasonType: The type/category of the cancellation reason. For example, "ADDRESS_BOOK_VERIFY_PURPOSE". For the full list, please check the table below.reason: Some descriptive reason explaining why this Travel Rule request has to be cancelled.
Cancellation Reason Type
| Code | Description |
|---|---|
| UNKNOWN | unknown |
| INTERRUPTED | interrupted transaction |
| ADDRESS_BOOK_VERIFY_PURPOSE | For address book whitelisting purposes |
| WITHDRAW_PROCESS_DNC | Withdrawal process disconnected, possibly due to app or other interruption |
| SECURITY_COMPLIANCE_FAIL | Reject based on security/compliance review |
| UNABLE_PROCESS | Unable to process, please contact VASP for more information |
| SYSTEM_ISSUE | Internal Error |
| REJECTED | Reject transfer without reason |
| CANCELLED | Cancelled by user or VASP |