Skip to content

This workflow covers outgoing transfers where you must submit PII (Personally Identifiable Information). You create the Travel Rule message, collect PII from your end user, submit it through the API, and then create the transfer intent with the suggestedIntentId the message returns.

Creating the message first is the only supported entry path. Ripple Custody doesn't create a Notabene transfer from a transfer intent on its own.

Prerequisites

  • Travel Rule setup complete.
  • Wallet addresses registered with Notabene. Ripple Custody registers them automatically when you connect your Notabene account and when you create new wallets.

Process flow

BlockchainNotabeneCustodyEnd UserCustomerBlockchainNotabeneCustodyEnd UserCustomeralt[Screening failed][Screening passed or notconfigured]alt[AUTO_APPROVED][AUTO_REJECTED]1. Create Travel Rule messageForward to NotabeneReturn transfer detailsReturn suggestedIntentId, complianceTravelRuleId,transfer details (including travelRulePolicyId)2. Get transfer status (check PII requirements)Return isTravelRule, presentationDefinitionUrl3. Request PIIProvide PII4. Submit PII via APIForward PIIPII attachedConfirmed5. Create Transfer Order Intent (using suggestedIntentId)6. Screen risk (if configured)AUTO_REJECTED (no Travel Rule check)7. Travel Rule check8. Compliance decision9. Execute transactionNotify settlementNotify rejection
BlockchainNotabeneCustodyEnd UserCustomerBlockchainNotabeneCustodyEnd UserCustomeralt[Screening failed][Screening passed or notconfigured]alt[AUTO_APPROVED][AUTO_REJECTED]1. Create Travel Rule messageForward to NotabeneReturn transfer detailsReturn suggestedIntentId, complianceTravelRuleId,transfer details (including travelRulePolicyId)2. Get transfer status (check PII requirements)Return isTravelRule, presentationDefinitionUrl3. Request PIIProvide PII4. Submit PII via APIForward PIIPII attachedConfirmed5. Create Transfer Order Intent (using suggestedIntentId)6. Screen risk (if configured)AUTO_REJECTED (no Travel Rule check)7. Travel Rule check8. Compliance decision9. Execute transactionNotify settlementNotify rejection

Step 1: Create Travel Rule message

Create a Travel Rule message with counterparty information:

POST /v1/domains/{domainId}/compliance/travel-rule/providers/NOTABENE/messages

Notabene is the only supported Travel Rule provider, so the provider path segment is always NOTABENE.

Request body:

FieldTypeDescription
originatorobjectOriginator identifier (contains @id - DID or identifier for the party)
beneficiaryobjectBeneficiary identifier (contains @id - DID or identifier for the party)
assetstringAsset identifier (e.g., bip122:000000000019d6689c085ae165831e93/slip44:0). See Notabene asset registry for supported formats.
amountstringTransfer amount
refstringReference identifier for the transfer
agentsarrayAgents involved in the transfer. Each agent has @id, for, and role (values: VASP, Custodian, SettlementAddress, SourceAddress, Gateway, Unknown)

Response:

FieldTypeDescription
createTransfer201Response.transferobjectTransfer details from Notabene. If the beneficiary VASP attached a Notabene policy to the transfer, the details include that policy's ID. Use it as {travelRulePolicyId} in Step 4, Option C.
suggestedIntentIdstring (uuid)The intent ID to use when creating the transfer intent
complianceTravelRuleIdstring (uuid)The ID of this Travel Rule record in Ripple Custody. Use it as {travelRuleId} in the status and PII endpoints.

Step 2: Check PII requirements

Get the transfer to check whether Notabene requires PII and what the counterparty requests:

GET /v1/domains/{domainId}/compliance/travel-rule/providers/NOTABENE/messages/{travelRuleId}

Use the complianceTravelRuleId from Step 1 as {travelRuleId}.

Key response fields:

FieldTypeDescription
transfer.isTravelRulebooleanWhether the transfer requires Travel Rule compliance.
transfer.presentationDefinitionUrlstringURL of the presentation definition that lists the PII the counterparty requires.
transfer.statusstringNotabene transfer status.

Fetch the document at presentationDefinitionUrl. A presentation definition is a JSON document, in the Presentation Exchange format, that lists the IVMS-101 fields the beneficiary VASP's jurisdiction requires. Notabene publishes one per jurisdiction.

Step 3: Collect PII from end user

Collect required PII from your end user according to the IVMS-101 standard and the requirements in the presentation definition from Step 2.

Step 4: Submit PII via API

Notabene offers two ways to attach PII to a transfer, and Ripple Custody exposes both:

  • Append (Option A). You submit plaintext IVMS-101 data. Notabene encrypts it with keys that Notabene manages and stores the encrypted PII on both your Notabene entity and the beneficiary's. Notabene can decrypt it, which lets Notabene run checks such as name screening on it.
  • Present (Options B and C). You encrypt the IVMS-101 data yourself before you submit it. Notabene can't read the payload and forwards it to the beneficiary VASP. Only the beneficiary side stores the PII. Your Notabene entity and the Notabene platform don't store it.

In all cases, Ripple Custody forwards the PII to Notabene without storing it.

How end-to-end encryption works

For Options B and C, you produce the encrypted payload. Notabene's end-to-end encryption uses ECDH-ES (RFC 7518) key agreement on the P-256 curve with the beneficiary VASP's public key, which the beneficiary publishes in its DIDdoc, and AES-256-GCM for content encryption. The encrypted payload is a compact JWE string. You publish your own public key in your DIDdoc so that counterparties can encrypt PII for you in the same way. For details and reference implementations, see Notabene's PII encryption guide and Encryption managed by the customer.

Option A: Append PII (stored on both sides)

Use this option when both sender and receiver need access to the PII. You submit the PII in plaintext IVMS-101 format and Notabene encrypts it.

POST /v1/domains/{domainId}/compliance/travel-rule/providers/NOTABENE/messages/{travelRuleId}/pii

Request body:

FieldTypeRequiredDescription
ivms101objectYesIVMS-101 formatted PII data
originatorobjectNoOriginator details
beneficiaryobjectNoBeneficiary details

Response: 200 OK

Option B: Present encrypted PII (stored on receiver side only)

Use this option for end-to-end encrypted PII that Notabene can't read.

POST /v1/domains/{domainId}/compliance/travel-rule/providers/NOTABENE/messages/{travelRuleId}/encrypted-pii

Query parameters:

ParameterTypeDefaultDescription
skipValidationbooleanfalseCorresponds to Notabene's skipValidation option. When true, Notabene skips validation of the PII against the jurisdiction's requirements, which allows an incomplete submission.

Request body:

FieldTypeRequiredDescription
ivms101objectYesEnd-to-end encrypted IVMS-101 data

Response: 202 Accepted (asynchronous processing)

Option C: Present encrypted PII for a specific policy (stored on receiver side only)

The policies in this endpoint are Notabene authorization requirements, not Ripple Custody governance policies. The beneficiary VASP defines them in Notabene to state what it needs before it authorizes an incoming transfer, for example a Travel Rule message with originator PII. Each policy references the presentation definition that satisfies it.

Use this option to fulfill one specific policy that the beneficiary VASP attached to the transfer. travelRulePolicyId is the ID of that Notabene policy. Notabene returns it in the transfer details in the response to Step 1, so you don't need to call Notabene directly to get it.

POST /v1/domains/{domainId}/compliance/travel-rule/providers/NOTABENE/messages/{travelRuleId}/policies/{travelRulePolicyId}/encrypted-pii

Query parameters and request body: Same as Option B.

Response: 202 Accepted (asynchronous processing)

Options B and C carry PII that you encrypted with the beneficiary VASP's public key. Notabene can't read the payload and doesn't store it on your Notabene entity or on the Notabene platform. Only the beneficiary side holds it.

Step 5: Create Transfer Order intent

Create the Transfer Order intent using the suggestedIntentId returned in Step 1.

Transfer Order intent payload:

FieldTypeRequiredDescription
payload.accountIdstring (uuid)YesSource account ID
payload.ledgerIdstringNoLedger identifier
payload.parameters.operationobjectYesTransfer operation details including destination, amount, and type
payload.typestringYesMust be v0_CreateTransferOrder
Critical

Use the suggestedIntentId from Step 1 when creating the intent. This links the compliance check to your transaction.

Step 6: Risk screening

If transaction screening is configured (Chainalysis or Elliptic), Ripple Custody screens the transaction first.

  • If screening fails (high risk score): The transaction is immediately rejected. No Travel Rule check occurs.
  • If screening passes: The workflow proceeds to the Travel Rule check.

Step 7: Travel Rule check

Notabene verifies counterparty information and PII.

Step 8: Compliance decision

Ripple Custody evaluates the results:

Screening ResultTravel Rule ResultDecision
ApprovedApprovedAUTO_APPROVED
Rejected—AUTO_REJECTED (Travel Rule skipped)
ApprovedRejectedAUTO_REJECTED
InconclusiveInconclusiveNEED_EXPLICIT_DECISION

If the decision is NEED_EXPLICIT_DECISION, manual review is required in Ripple Custody.

If only one check is configured (screening only or Travel Rule only), the decision is based on that single check.

Step 9: Execution and settlement

  • If AUTO_APPROVED: Transaction executes on blockchain, then Notabene is notified of settlement.
  • If AUTO_REJECTED: Intent closes, then Notabene is notified of rejection.
  • If the intent expires before execution (30 days by default): Ripple Custody automatically rejects the Travel Rule transfer on Notabene.

Verify transfer status

Poll the Travel Rule transfer status to confirm successful execution:

GET /v1/domains/{domainId}/compliance/travel-rule/providers/NOTABENE/messages/{travelRuleId}

Key response fields:

FieldTypeDescription
transfer.statusstringNotabene transfer status (e.g., SETTLED, REJECTED)
transfer.directionstringOUTGOING for this workflow

Next steps