Developers / Travel Rule
Transfer Status
The status of a Travel Rule transfer evolves as it moves through different stages of processing. Each status reflects a specific point in the transfer lifecycle. These status updates help you track progress and spot transfers that need attention.
Sample Flow
1. User → Originator VASP A: Initiates Withdrawal Request
2. Originator VASP A → Ospree: Create Travel Rule Transfer
3. Ospree → Beneficiary VASP B: Send Travel Rule Message (if it cannot be delivered, the status becomes FAILED)
4. Beneficiary VASP B → Ospree: Respond. Action “accept” or “reject”
5. Ospree → Originator VASP A: Pass Beneficiary Response
If “Accepted”
6a. Originator VASP A → Initiate Blockchain Transaction
6b. Originator VASP A → Ospree: Update Transfer respond action “complete”
If “Rejected”
6c. Originator VASP A → Customer: Notify Customer of Rejection
6d. Originator VASP A → End: Cancel Withdrawal
Expand Diagram
Markdown
sequenceDiagram participant U as User participant A as Originator VASP participant O as Ospree participant B as Beneficiary VASP participant W as Beneficiary Wallet U->>A: 1. Submit withdrawal request A->>O: 2. Create Transfer Note over A,O: Status: INITIATED O->>B: 3. Send Travel Rule information alt Delivery fails Note over O,B: Status: FAILED O->>A: 4c. Webhook TRANSFER_FAILED else Delivered Note over O,B: Status: REVIEW end alt Beneficiary VASP accepts B->>O: 4a. Action Transfer: accept Note over O,B: Status: ACCEPTED O->>A: 5a. Return accepted response A->>W: 6a. Initiate blockchain transaction A->>O: 7a. Action Transfer: complete<br/>Include transaction hash Note over A,O: Status: COMPLETED else Beneficiary VASP rejects B->>O: 4b. Action Transfer: reject Note over O,B: Status: REJECTED O->>A: 5b. Return rejected response A->>U: 6b. Notify user of rejection A->>A: 7b. Cancel withdrawal locally<br/>Do not initiate blockchain transaction end
Statuses
Status
Description
INITIATED
The transfer was created and is waiting to be sent to the counterparty VASP. The counterparty has not been contacted yet.
REVIEW
The transfer was delivered and the beneficiary VASP is reviewing it.
REPAIR
The counterparty VASP asked for corrected identity data before it will decide. You cannot set this status with an action.
FAILED
The transfer could not be delivered to the counterparty VASP. Not final: a late answer from the counterparty replaces it.
TIMED_OUT
The transfer was delivered, but the counterparty VASP did not answer before the response deadline you set with response_timeout. Not final: a late answer replaces it.
ACCEPTED
The beneficiary VASP accepted the transfer, so the originator VASP can send the crypto transaction. Not final: the transfer still waits for the originator to complete it.
COMPLETED
The originator VASP sent the crypto transaction and reported its transaction hash with the complete action. Final.
REJECTED
The beneficiary VASP declined the transfer with a rejection reason (reject_error) and a message. Final: to try again, create a new transfer.
CANCELED
The originator VASP withdrew the transfer with the cancel action instead of completing it. Final.
COMPLETED, REJECTED and CANCELED are final. Every other status can still change.
Actions and the statuses they need
Use the Action Transfer endpoint to move a transfer forward. Each action is accepted only from certain statuses:
Action
Who sends it
Allowed from
accept
Beneficiary VASP
REVIEW
reject
Beneficiary VASP
REVIEW (send reject_error and message)
complete
Originator VASP
ACCEPTED (send a non-empty transaction_hash)
cancel
Originator VASP
Depends on the protocol, see below
Which statuses allow cancel depends on the protocol:
Flow: from
REVIEWorTIMED_OUT, so you can withdraw a transfer the counterparty has not answered.TRP, TRISA and CryptoSwift: only from
ACCEPTED, to withdraw an accepted transfer instead of completing it.Records: from
REVIEW. On a record, your own business also sendsaccept,rejectandcomplete, with the same status rules as above.
Response deadline
By default Ospree waits for the counterparty’s answer with no time limit. To set a deadline, send response_timeout when you create the transfer. It is an ISO-8601 duration between 1 minute and 30 days, for example "PT1H" for one hour. If the transfer is still in REVIEW when the deadline passes, its status becomes TIMED_OUT and you receive a TRANSFER_TIMED_OUT webhook. A late answer from the counterparty still replaces TIMED_OUT.