Developers / Travel Rule
Transfer Type
Every Travel Rule transfer has one of two types. Ospree works out the type from the shape of the create request. The transfer_type field in the create request is deprecated and ignored: any value you send is discarded. The only input that affects the type is is_record.
Transfer Type
Description
INSTRUCTION
A message to a counterparty VASP over the protocol you name in protocol, which the counterparty answers. Neither leg of an instruction is ever a self-hosted wallet.
RECORD
A transfer kept for your own compliance and audit file. Create one with "is_record": true. A record is used when:
• The transaction is an incoming or outgoing transfer involving a self-hosted wallet.
• The transaction is an incoming VASP-to-VASP deposit for which the counterparty has not initiated a Travel Rule transfer, such as a me-to-me transfer or another applicable scenario.
A record carries no protocol (protocol reads back as null), sends nothing to any counterparty, and has no response deadline. Only the business that created it can see it.