CryptoSwift-to-Partner Transactions (Custom Integration)
Define how CryptoSwift should deliver Travel Rule messages to your partner network.
This page covers outgoing Travel Rule messages that CryptoSwift sends to your partner network.
For CryptoSwift -> Partner messages, each partner can define its own API specification, payload contract, identifiers, authentication scheme, and lifecycle semantics. CryptoSwift will build the integration layer that adapts CryptoSwift-originated messages to the partner's native setup.
This custom contract usually covers:
- endpoint URLs and authentication headers
- VASP and transaction identifiers used by the partner network
- encrypted IVMS101 payload format
- transaction metadata fields such as asset, amount, blockchain, origin, destination, and transaction hash
- response shape, retry behavior, and error handling
- any callback or webhook contract used by the partner network
If you want to connect your Travel Rule network with CryptoSwift, share your API specification, authentication model, sample payloads, and any routing or encryption requirements with us. Use the CryptoSwift contact page to reach out, and we will take it from there.
Check the status of an outgoing message
Save the CryptoSwift transaction reference included in the delivery. Use it as id to poll GET /partners/transactions/{id} with your X-Partner-Api-Key for the current status and transaction metadata. The message is available once CryptoSwift records your network as the delivery provider.
Partner status webhooks apply only to messages sent from a supported partner network to CryptoSwift.
Preferred Approach: Mirror CryptoSwift Models
Our strongly preferred methodology is for the partner to mirror CryptoSwift's native Partner API models as closely as possible. In other words, the custom CryptoSwift -> Partner contract should look similar to the standardized Partner -> CryptoSwift API where possible. Matching the same entity, transaction, and IVMS101 envelope structure reduces mapping ambiguity, shortens implementation time, and makes cross-network troubleshooting significantly simpler.
The most important area to align is encryption.
Encryption Alignment
To minimize security risk and transaction latency, the partner should mirror CryptoSwift's asymmetric libsodium protocol. The expected model is crypto_box_easy using Curve25519 keys translated from Ed25519 keypairs.
In the CryptoSwift -> Partner direction, the partner acts as the receiving VASP or receiving network:
- CryptoSwift encrypts with CryptoSwift's sender private key and the partner receiver public key.
- The partner decrypts with its own receiver private key and CryptoSwift's sender public key.
- The encrypted payload remains peer-to-peer across both network boundaries without exposing IVMS101 personal data to intermediate systems.
This keeps the security model consistent with the standardized Partner -> CryptoSwift API and avoids a separate cryptographic contract for each direction. It also lets both networks reuse key management, nonce handling, ciphertext format, and verification procedures already used by the standard Message Encryption Protocol.
When a partner cannot mirror the CryptoSwift encryption model, document the alternative precisely in the custom API specification. Include key formats, nonce handling, ciphertext encoding, replay protection, and the exact plaintext schema before encryption.