Validate Full Travel Rule Transaction
Validate Full Travel Rule transactions.
Checks for all required information on the originator and beneficiary VASPs.
const response: Promise<FireblocksResponse<TravelRuleValidateTransactionResponse>> = fireblocks.travelRule.validateFullTravelRuleTransaction(travelRuleApiValidateFullTravelRuleTransactionRequest);CompletableFuture<ApiResponse<TravelRuleValidateTransactionResponse>> response = fireblocks.travelRule().validateFullTravelRuleTransaction(travelRuleValidateFullTransactionRequest, notation, idempotencyKey);response = fireblocks.travel_rule.validate_full_travel_rule_transaction(travel_rule_validate_full_transaction_request, notation, idempotency_key);curl --request POST \
--url https://api.fireblocks.io/v1/screening/travel_rule/transaction/validate/full \
--header 'Content-Type: application/json' \
--data '
{
"originator": {
"originatorPersons": [
{
"naturalPerson": {
"name": [
{
"nameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"localNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"phoneticNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
]
}
],
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"dateAndPlaceOfBirth": {
"dateOfBirth": "1990-01-01",
"placeOfBirth": "New York, USA"
},
"customerIdentification": "CUST123456",
"countryOfResidence": "US",
"customerNumber": 123456789
},
"legalPerson": {
"name": {
"legalPersonName": "Acme Corporation",
"legalPersonNameIdentifierType": "REGISTERED"
},
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"customerIdentification": "CUST987654",
"customerNumber": 123456789,
"countryOfRegistration": "US"
}
}
],
"beneficiaryPersons": [
{
"naturalPerson": {
"name": [
{
"nameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"localNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"phoneticNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
]
}
],
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"dateAndPlaceOfBirth": {
"dateOfBirth": "1990-01-01",
"placeOfBirth": "New York, USA"
},
"customerIdentification": "CUST123456",
"countryOfResidence": "US",
"customerNumber": 123456789
},
"legalPerson": {
"name": {
"legalPersonName": "Acme Corporation",
"legalPersonNameIdentifierType": "REGISTERED"
},
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"customerIdentification": "CUST987654",
"customerNumber": 123456789,
"countryOfRegistration": "US"
}
}
],
"accountNumber": [
"<string>"
]
},
"beneficiary": {
"originatorPersons": [
{
"naturalPerson": {
"name": [
{
"nameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"localNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"phoneticNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
]
}
],
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"dateAndPlaceOfBirth": {
"dateOfBirth": "1990-01-01",
"placeOfBirth": "New York, USA"
},
"customerIdentification": "CUST123456",
"countryOfResidence": "US",
"customerNumber": 123456789
},
"legalPerson": {
"name": {
"legalPersonName": "Acme Corporation",
"legalPersonNameIdentifierType": "REGISTERED"
},
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"customerIdentification": "CUST987654",
"customerNumber": 123456789,
"countryOfRegistration": "US"
}
}
],
"beneficiaryPersons": [
{
"naturalPerson": {
"name": [
{
"nameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"localNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"phoneticNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
]
}
],
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"dateAndPlaceOfBirth": {
"dateOfBirth": "1990-01-01",
"placeOfBirth": "New York, USA"
},
"customerIdentification": "CUST123456",
"countryOfResidence": "US",
"customerNumber": 123456789
},
"legalPerson": {
"name": {
"legalPersonName": "Acme Corporation",
"legalPersonNameIdentifierType": "REGISTERED"
},
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"customerIdentification": "CUST987654",
"customerNumber": 123456789,
"countryOfRegistration": "US"
}
}
],
"accountNumber": [
"<string>"
]
},
"originatorVASPdid": "did:ethr:0x44957e75d6ce4a5bf37aae117da86422c848f7c2",
"beneficiaryVASPdid": "did:ethr:0x17fe2dd11a2daa7f6c1fdf22532a4763f963aea6",
"transactionAsset": "BTC",
"transactionAmount": "10",
"originatorVASPname": "Originator VASP Ltd.",
"beneficiaryVASPname": "Beneficiary VASP Inc.",
"transactionBlockchainInfo": {
"txHash": 6.685730843558756e+76,
"origin": 8.41132469470587e+47,
"destination": 8.41132469470587e+47
},
"encrypted": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"protocol": "TRLight",
"skipBeneficiaryDataValidation": false,
"travelRuleBehavior": true,
"originatorRef": "ORG123456",
"beneficiaryRef": "BEN654321",
"travelRuleBehaviorRef": "TRB987654",
"originatorProof": {
"type": "eip-191",
"proof": "0x3dd4a17a...ce4a2bcd1b",
"attestation": "I certify that ETH account 0x896B...0b9b belongs to me.",
"address": "0x896B...0b9b",
"wallet_provider": "Metamask",
"url": "https://example.com/uploaded_image.png",
"did": "did:key:z6Mkf12345Zabcdef12345",
"status": "verified",
"confirmed": true
},
"beneficiaryProof": {
"type": "eip-191",
"proof": "0x3dd4a17a...ce4a2bcd1b",
"attestation": "I certify that ETH account 0x896B...0b9b belongs to me.",
"address": "0x896B...0b9b",
"wallet_provider": "Metamask",
"url": "https://example.com/uploaded_image.png",
"did": "did:key:z6Mkf12345Zabcdef12345",
"status": "verified",
"confirmed": true
},
"beneficiaryDid": "did:key:z6Mkf67890Zghijkl67890",
"originatorDid": "did:key:z6Mkf12345Zabcdef12345",
"isNonCustodial": true,
"notificationEmail": "<string>",
"pii": {
"originatorPersons": [
{
"naturalPerson": {
"name": [
{
"nameIdentifier": [
{
"primaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"secondaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"nameIdentifierType": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv"
}
],
"localNameIdentifier": [
{
"primaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"secondaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"nameIdentifierType": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv"
}
],
"phoneticNameIdentifier": [
{
"primaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"secondaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"nameIdentifierType": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv"
}
]
}
],
"geographicAddress": [
{
"streetName": "QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9",
"townName": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt",
"country": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"buildingNumber": "QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP",
"postCode": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"addressType": "Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H",
"department": "QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8",
"subDepartment": "QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s",
"buildingName": "QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9",
"floor": "QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1",
"postBox": "QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ",
"room": "QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ",
"townLocationName": "QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm",
"districtName": "QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy",
"countrySubDivision": "QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C",
"addressLine": [
"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT"
]
}
],
"nationalIdentification": {
"countryOfIssue": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"nationalIdentifier": "QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z",
"nationalIdentifierType": "QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi",
"registrationAuthority": "QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk"
},
"dateAndPlaceOfBirth": {
"dateOfBirth": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt",
"placeOfBirth": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt"
},
"customerIdentification": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"countryOfResidence": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"customerNumber": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj"
},
"legalPerson": {
"name": {
"legalPersonName": "QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q",
"legalPersonNameIdentifierType": "QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e"
},
"geographicAddress": [
{
"streetName": "QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9",
"townName": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt",
"country": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"buildingNumber": "QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP",
"postCode": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"addressType": "Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H",
"department": "QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8",
"subDepartment": "QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s",
"buildingName": "QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9",
"floor": "QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1",
"postBox": "QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ",
"room": "QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ",
"townLocationName": "QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm",
"districtName": "QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy",
"countrySubDivision": "QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C",
"addressLine": [
"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT"
]
}
],
"nationalIdentification": {
"countryOfIssue": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"nationalIdentifier": "QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z",
"nationalIdentifierType": "QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi",
"registrationAuthority": "QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk"
},
"customerIdentification": "QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy",
"customerNumber": "QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8",
"countryOfRegistration": "QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr"
}
}
],
"beneficiaryPersons": [
{
"naturalPerson": {
"name": [
{
"nameIdentifier": [
{
"primaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"secondaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"nameIdentifierType": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv"
}
],
"localNameIdentifier": [
{
"primaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"secondaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"nameIdentifierType": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv"
}
],
"phoneticNameIdentifier": [
{
"primaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"secondaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"nameIdentifierType": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv"
}
]
}
],
"geographicAddress": [
{
"streetName": "QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9",
"townName": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt",
"country": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"buildingNumber": "QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP",
"postCode": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"addressType": "Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H",
"department": "QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8",
"subDepartment": "QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s",
"buildingName": "QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9",
"floor": "QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1",
"postBox": "QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ",
"room": "QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ",
"townLocationName": "QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm",
"districtName": "QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy",
"countrySubDivision": "QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C",
"addressLine": [
"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT"
]
}
],
"nationalIdentification": {
"countryOfIssue": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"nationalIdentifier": "QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z",
"nationalIdentifierType": "QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi",
"registrationAuthority": "QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk"
},
"dateAndPlaceOfBirth": {
"dateOfBirth": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt",
"placeOfBirth": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt"
},
"customerIdentification": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"countryOfResidence": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"customerNumber": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj"
},
"legalPerson": {
"name": {
"legalPersonName": "QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q",
"legalPersonNameIdentifierType": "QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e"
},
"geographicAddress": [
{
"streetName": "QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9",
"townName": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt",
"country": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"buildingNumber": "QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP",
"postCode": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"addressType": "Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H",
"department": "QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8",
"subDepartment": "QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s",
"buildingName": "QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9",
"floor": "QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1",
"postBox": "QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ",
"room": "QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ",
"townLocationName": "QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm",
"districtName": "QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy",
"countrySubDivision": "QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C",
"addressLine": [
"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT"
]
}
],
"nationalIdentification": {
"countryOfIssue": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"nationalIdentifier": "QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z",
"nationalIdentifierType": "QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi",
"registrationAuthority": "QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk"
},
"customerIdentification": "QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy",
"customerNumber": "QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8",
"countryOfRegistration": "QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr"
}
}
],
"accountNumber": [
"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt"
]
},
"pii_url": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
originator: {
originatorPersons: [
{
naturalPerson: {
name: [
{
nameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
localNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
phoneticNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
]
}
],
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
dateAndPlaceOfBirth: {dateOfBirth: '1990-01-01', placeOfBirth: 'New York, USA'},
customerIdentification: 'CUST123456',
countryOfResidence: 'US',
customerNumber: 123456789
},
legalPerson: {
name: {
legalPersonName: 'Acme Corporation',
legalPersonNameIdentifierType: 'REGISTERED'
},
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
customerIdentification: 'CUST987654',
customerNumber: 123456789,
countryOfRegistration: 'US'
}
}
],
beneficiaryPersons: [
{
naturalPerson: {
name: [
{
nameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
localNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
phoneticNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
]
}
],
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
dateAndPlaceOfBirth: {dateOfBirth: '1990-01-01', placeOfBirth: 'New York, USA'},
customerIdentification: 'CUST123456',
countryOfResidence: 'US',
customerNumber: 123456789
},
legalPerson: {
name: {
legalPersonName: 'Acme Corporation',
legalPersonNameIdentifierType: 'REGISTERED'
},
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
customerIdentification: 'CUST987654',
customerNumber: 123456789,
countryOfRegistration: 'US'
}
}
],
accountNumber: ['<string>']
},
beneficiary: {
originatorPersons: [
{
naturalPerson: {
name: [
{
nameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
localNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
phoneticNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
]
}
],
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
dateAndPlaceOfBirth: {dateOfBirth: '1990-01-01', placeOfBirth: 'New York, USA'},
customerIdentification: 'CUST123456',
countryOfResidence: 'US',
customerNumber: 123456789
},
legalPerson: {
name: {
legalPersonName: 'Acme Corporation',
legalPersonNameIdentifierType: 'REGISTERED'
},
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
customerIdentification: 'CUST987654',
customerNumber: 123456789,
countryOfRegistration: 'US'
}
}
],
beneficiaryPersons: [
{
naturalPerson: {
name: [
{
nameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
localNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
phoneticNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
]
}
],
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
dateAndPlaceOfBirth: {dateOfBirth: '1990-01-01', placeOfBirth: 'New York, USA'},
customerIdentification: 'CUST123456',
countryOfResidence: 'US',
customerNumber: 123456789
},
legalPerson: {
name: {
legalPersonName: 'Acme Corporation',
legalPersonNameIdentifierType: 'REGISTERED'
},
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
customerIdentification: 'CUST987654',
customerNumber: 123456789,
countryOfRegistration: 'US'
}
}
],
accountNumber: ['<string>']
},
originatorVASPdid: 'did:ethr:0x44957e75d6ce4a5bf37aae117da86422c848f7c2',
beneficiaryVASPdid: 'did:ethr:0x17fe2dd11a2daa7f6c1fdf22532a4763f963aea6',
transactionAsset: 'BTC',
transactionAmount: '10',
originatorVASPname: 'Originator VASP Ltd.',
beneficiaryVASPname: 'Beneficiary VASP Inc.',
transactionBlockchainInfo: {
txHash: 6.685730843558756e+76,
origin: 8.41132469470587e+47,
destination: 8.41132469470587e+47
},
encrypted: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...',
protocol: 'TRLight',
skipBeneficiaryDataValidation: false,
travelRuleBehavior: true,
originatorRef: 'ORG123456',
beneficiaryRef: 'BEN654321',
travelRuleBehaviorRef: 'TRB987654',
originatorProof: {
type: 'eip-191',
proof: '0x3dd4a17a...ce4a2bcd1b',
attestation: 'I certify that ETH account 0x896B...0b9b belongs to me.',
address: '0x896B...0b9b',
wallet_provider: 'Metamask',
url: 'https://example.com/uploaded_image.png',
did: 'did:key:z6Mkf12345Zabcdef12345',
status: 'verified',
confirmed: true
},
beneficiaryProof: {
type: 'eip-191',
proof: '0x3dd4a17a...ce4a2bcd1b',
attestation: 'I certify that ETH account 0x896B...0b9b belongs to me.',
address: '0x896B...0b9b',
wallet_provider: 'Metamask',
url: 'https://example.com/uploaded_image.png',
did: 'did:key:z6Mkf12345Zabcdef12345',
status: 'verified',
confirmed: true
},
beneficiaryDid: 'did:key:z6Mkf67890Zghijkl67890',
originatorDid: 'did:key:z6Mkf12345Zabcdef12345',
isNonCustodial: true,
notificationEmail: '<string>',
pii: {
originatorPersons: [
{
naturalPerson: {
name: [
{
nameIdentifier: [
{
primaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
secondaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
nameIdentifierType: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
}
],
localNameIdentifier: [
{
primaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
secondaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
nameIdentifierType: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
}
],
phoneticNameIdentifier: [
{
primaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
secondaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
nameIdentifierType: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
}
]
}
],
geographicAddress: [
{
streetName: 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
townName: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
country: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
buildingNumber: 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
postCode: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
addressType: 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
department: 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
subDepartment: 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
buildingName: 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
floor: 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
postBox: 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
room: 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
townLocationName: 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
districtName: 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
countrySubDivision: 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
addressLine: ['QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT']
}
],
nationalIdentification: {
countryOfIssue: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
nationalIdentifier: 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
nationalIdentifierType: 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
registrationAuthority: 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
},
dateAndPlaceOfBirth: {
dateOfBirth: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
placeOfBirth: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt'
},
customerIdentification: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
countryOfResidence: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
customerNumber: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj'
},
legalPerson: {
name: {
legalPersonName: 'QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q',
legalPersonNameIdentifierType: 'QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e'
},
geographicAddress: [
{
streetName: 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
townName: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
country: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
buildingNumber: 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
postCode: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
addressType: 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
department: 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
subDepartment: 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
buildingName: 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
floor: 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
postBox: 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
room: 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
townLocationName: 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
districtName: 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
countrySubDivision: 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
addressLine: ['QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT']
}
],
nationalIdentification: {
countryOfIssue: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
nationalIdentifier: 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
nationalIdentifierType: 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
registrationAuthority: 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
},
customerIdentification: 'QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy',
customerNumber: 'QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8',
countryOfRegistration: 'QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr'
}
}
],
beneficiaryPersons: [
{
naturalPerson: {
name: [
{
nameIdentifier: [
{
primaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
secondaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
nameIdentifierType: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
}
],
localNameIdentifier: [
{
primaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
secondaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
nameIdentifierType: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
}
],
phoneticNameIdentifier: [
{
primaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
secondaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
nameIdentifierType: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
}
]
}
],
geographicAddress: [
{
streetName: 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
townName: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
country: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
buildingNumber: 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
postCode: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
addressType: 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
department: 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
subDepartment: 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
buildingName: 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
floor: 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
postBox: 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
room: 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
townLocationName: 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
districtName: 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
countrySubDivision: 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
addressLine: ['QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT']
}
],
nationalIdentification: {
countryOfIssue: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
nationalIdentifier: 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
nationalIdentifierType: 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
registrationAuthority: 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
},
dateAndPlaceOfBirth: {
dateOfBirth: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
placeOfBirth: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt'
},
customerIdentification: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
countryOfResidence: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
customerNumber: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj'
},
legalPerson: {
name: {
legalPersonName: 'QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q',
legalPersonNameIdentifierType: 'QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e'
},
geographicAddress: [
{
streetName: 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
townName: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
country: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
buildingNumber: 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
postCode: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
addressType: 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
department: 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
subDepartment: 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
buildingName: 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
floor: 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
postBox: 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
room: 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
townLocationName: 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
districtName: 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
countrySubDivision: 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
addressLine: ['QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT']
}
],
nationalIdentification: {
countryOfIssue: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
nationalIdentifier: 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
nationalIdentifierType: 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
registrationAuthority: 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
},
customerIdentification: 'QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy',
customerNumber: 'QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8',
countryOfRegistration: 'QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr'
}
}
],
accountNumber: ['QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt']
},
pii_url: '<string>'
})
};
fetch('https://api.fireblocks.io/v1/screening/travel_rule/transaction/validate/full', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fireblocks.io/v1/screening/travel_rule/transaction/validate/full",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'originator' => [
'originatorPersons' => [
[
'naturalPerson' => [
'name' => [
[
'nameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'localNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'phoneticNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
]
]
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'dateAndPlaceOfBirth' => [
'dateOfBirth' => '1990-01-01',
'placeOfBirth' => 'New York, USA'
],
'customerIdentification' => 'CUST123456',
'countryOfResidence' => 'US',
'customerNumber' => 123456789
],
'legalPerson' => [
'name' => [
'legalPersonName' => 'Acme Corporation',
'legalPersonNameIdentifierType' => 'REGISTERED'
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'customerIdentification' => 'CUST987654',
'customerNumber' => 123456789,
'countryOfRegistration' => 'US'
]
]
],
'beneficiaryPersons' => [
[
'naturalPerson' => [
'name' => [
[
'nameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'localNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'phoneticNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
]
]
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'dateAndPlaceOfBirth' => [
'dateOfBirth' => '1990-01-01',
'placeOfBirth' => 'New York, USA'
],
'customerIdentification' => 'CUST123456',
'countryOfResidence' => 'US',
'customerNumber' => 123456789
],
'legalPerson' => [
'name' => [
'legalPersonName' => 'Acme Corporation',
'legalPersonNameIdentifierType' => 'REGISTERED'
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'customerIdentification' => 'CUST987654',
'customerNumber' => 123456789,
'countryOfRegistration' => 'US'
]
]
],
'accountNumber' => [
'<string>'
]
],
'beneficiary' => [
'originatorPersons' => [
[
'naturalPerson' => [
'name' => [
[
'nameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'localNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'phoneticNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
]
]
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'dateAndPlaceOfBirth' => [
'dateOfBirth' => '1990-01-01',
'placeOfBirth' => 'New York, USA'
],
'customerIdentification' => 'CUST123456',
'countryOfResidence' => 'US',
'customerNumber' => 123456789
],
'legalPerson' => [
'name' => [
'legalPersonName' => 'Acme Corporation',
'legalPersonNameIdentifierType' => 'REGISTERED'
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'customerIdentification' => 'CUST987654',
'customerNumber' => 123456789,
'countryOfRegistration' => 'US'
]
]
],
'beneficiaryPersons' => [
[
'naturalPerson' => [
'name' => [
[
'nameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'localNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'phoneticNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
]
]
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'dateAndPlaceOfBirth' => [
'dateOfBirth' => '1990-01-01',
'placeOfBirth' => 'New York, USA'
],
'customerIdentification' => 'CUST123456',
'countryOfResidence' => 'US',
'customerNumber' => 123456789
],
'legalPerson' => [
'name' => [
'legalPersonName' => 'Acme Corporation',
'legalPersonNameIdentifierType' => 'REGISTERED'
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'customerIdentification' => 'CUST987654',
'customerNumber' => 123456789,
'countryOfRegistration' => 'US'
]
]
],
'accountNumber' => [
'<string>'
]
],
'originatorVASPdid' => 'did:ethr:0x44957e75d6ce4a5bf37aae117da86422c848f7c2',
'beneficiaryVASPdid' => 'did:ethr:0x17fe2dd11a2daa7f6c1fdf22532a4763f963aea6',
'transactionAsset' => 'BTC',
'transactionAmount' => '10',
'originatorVASPname' => 'Originator VASP Ltd.',
'beneficiaryVASPname' => 'Beneficiary VASP Inc.',
'transactionBlockchainInfo' => [
'txHash' => 6.685730843558756e+76,
'origin' => 8.41132469470587e+47,
'destination' => 8.41132469470587e+47
],
'encrypted' => 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...',
'protocol' => 'TRLight',
'skipBeneficiaryDataValidation' => false,
'travelRuleBehavior' => true,
'originatorRef' => 'ORG123456',
'beneficiaryRef' => 'BEN654321',
'travelRuleBehaviorRef' => 'TRB987654',
'originatorProof' => [
'type' => 'eip-191',
'proof' => '0x3dd4a17a...ce4a2bcd1b',
'attestation' => 'I certify that ETH account 0x896B...0b9b belongs to me.',
'address' => '0x896B...0b9b',
'wallet_provider' => 'Metamask',
'url' => 'https://example.com/uploaded_image.png',
'did' => 'did:key:z6Mkf12345Zabcdef12345',
'status' => 'verified',
'confirmed' => true
],
'beneficiaryProof' => [
'type' => 'eip-191',
'proof' => '0x3dd4a17a...ce4a2bcd1b',
'attestation' => 'I certify that ETH account 0x896B...0b9b belongs to me.',
'address' => '0x896B...0b9b',
'wallet_provider' => 'Metamask',
'url' => 'https://example.com/uploaded_image.png',
'did' => 'did:key:z6Mkf12345Zabcdef12345',
'status' => 'verified',
'confirmed' => true
],
'beneficiaryDid' => 'did:key:z6Mkf67890Zghijkl67890',
'originatorDid' => 'did:key:z6Mkf12345Zabcdef12345',
'isNonCustodial' => true,
'notificationEmail' => '<string>',
'pii' => [
'originatorPersons' => [
[
'naturalPerson' => [
'name' => [
[
'nameIdentifier' => [
[
'primaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'secondaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'nameIdentifierType' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
]
],
'localNameIdentifier' => [
[
'primaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'secondaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'nameIdentifierType' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
]
],
'phoneticNameIdentifier' => [
[
'primaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'secondaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'nameIdentifierType' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
]
]
]
],
'geographicAddress' => [
[
'streetName' => 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
'townName' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
'country' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'buildingNumber' => 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
'postCode' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'addressType' => 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
'department' => 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
'subDepartment' => 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
'buildingName' => 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
'floor' => 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
'postBox' => 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
'room' => 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
'townLocationName' => 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
'districtName' => 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
'countrySubDivision' => 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
'addressLine' => [
'QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'nationalIdentifier' => 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
'nationalIdentifierType' => 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
'registrationAuthority' => 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
],
'dateAndPlaceOfBirth' => [
'dateOfBirth' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
'placeOfBirth' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt'
],
'customerIdentification' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'countryOfResidence' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'customerNumber' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj'
],
'legalPerson' => [
'name' => [
'legalPersonName' => 'QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q',
'legalPersonNameIdentifierType' => 'QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e'
],
'geographicAddress' => [
[
'streetName' => 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
'townName' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
'country' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'buildingNumber' => 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
'postCode' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'addressType' => 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
'department' => 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
'subDepartment' => 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
'buildingName' => 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
'floor' => 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
'postBox' => 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
'room' => 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
'townLocationName' => 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
'districtName' => 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
'countrySubDivision' => 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
'addressLine' => [
'QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'nationalIdentifier' => 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
'nationalIdentifierType' => 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
'registrationAuthority' => 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
],
'customerIdentification' => 'QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy',
'customerNumber' => 'QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8',
'countryOfRegistration' => 'QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr'
]
]
],
'beneficiaryPersons' => [
[
'naturalPerson' => [
'name' => [
[
'nameIdentifier' => [
[
'primaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'secondaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'nameIdentifierType' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
]
],
'localNameIdentifier' => [
[
'primaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'secondaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'nameIdentifierType' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
]
],
'phoneticNameIdentifier' => [
[
'primaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'secondaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'nameIdentifierType' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
]
]
]
],
'geographicAddress' => [
[
'streetName' => 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
'townName' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
'country' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'buildingNumber' => 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
'postCode' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'addressType' => 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
'department' => 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
'subDepartment' => 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
'buildingName' => 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
'floor' => 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
'postBox' => 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
'room' => 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
'townLocationName' => 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
'districtName' => 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
'countrySubDivision' => 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
'addressLine' => [
'QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'nationalIdentifier' => 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
'nationalIdentifierType' => 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
'registrationAuthority' => 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
],
'dateAndPlaceOfBirth' => [
'dateOfBirth' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
'placeOfBirth' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt'
],
'customerIdentification' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'countryOfResidence' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'customerNumber' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj'
],
'legalPerson' => [
'name' => [
'legalPersonName' => 'QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q',
'legalPersonNameIdentifierType' => 'QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e'
],
'geographicAddress' => [
[
'streetName' => 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
'townName' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
'country' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'buildingNumber' => 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
'postCode' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'addressType' => 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
'department' => 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
'subDepartment' => 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
'buildingName' => 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
'floor' => 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
'postBox' => 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
'room' => 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
'townLocationName' => 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
'districtName' => 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
'countrySubDivision' => 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
'addressLine' => [
'QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'nationalIdentifier' => 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
'nationalIdentifierType' => 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
'registrationAuthority' => 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
],
'customerIdentification' => 'QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy',
'customerNumber' => 'QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8',
'countryOfRegistration' => 'QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr'
]
]
],
'accountNumber' => [
'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt'
]
],
'pii_url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fireblocks.io/v1/screening/travel_rule/transaction/validate/full"
payload := strings.NewReader("{\n \"originator\": {\n \"originatorPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"beneficiaryPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"accountNumber\": [\n \"<string>\"\n ]\n },\n \"beneficiary\": {\n \"originatorPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"beneficiaryPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"accountNumber\": [\n \"<string>\"\n ]\n },\n \"originatorVASPdid\": \"did:ethr:0x44957e75d6ce4a5bf37aae117da86422c848f7c2\",\n \"beneficiaryVASPdid\": \"did:ethr:0x17fe2dd11a2daa7f6c1fdf22532a4763f963aea6\",\n \"transactionAsset\": \"BTC\",\n \"transactionAmount\": \"10\",\n \"originatorVASPname\": \"Originator VASP Ltd.\",\n \"beneficiaryVASPname\": \"Beneficiary VASP Inc.\",\n \"transactionBlockchainInfo\": {\n \"txHash\": 6.685730843558756e+76,\n \"origin\": 8.41132469470587e+47,\n \"destination\": 8.41132469470587e+47\n },\n \"encrypted\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\",\n \"protocol\": \"TRLight\",\n \"skipBeneficiaryDataValidation\": false,\n \"travelRuleBehavior\": true,\n \"originatorRef\": \"ORG123456\",\n \"beneficiaryRef\": \"BEN654321\",\n \"travelRuleBehaviorRef\": \"TRB987654\",\n \"originatorProof\": {\n \"type\": \"eip-191\",\n \"proof\": \"0x3dd4a17a...ce4a2bcd1b\",\n \"attestation\": \"I certify that ETH account 0x896B...0b9b belongs to me.\",\n \"address\": \"0x896B...0b9b\",\n \"wallet_provider\": \"Metamask\",\n \"url\": \"https://example.com/uploaded_image.png\",\n \"did\": \"did:key:z6Mkf12345Zabcdef12345\",\n \"status\": \"verified\",\n \"confirmed\": true\n },\n \"beneficiaryProof\": {\n \"type\": \"eip-191\",\n \"proof\": \"0x3dd4a17a...ce4a2bcd1b\",\n \"attestation\": \"I certify that ETH account 0x896B...0b9b belongs to me.\",\n \"address\": \"0x896B...0b9b\",\n \"wallet_provider\": \"Metamask\",\n \"url\": \"https://example.com/uploaded_image.png\",\n \"did\": \"did:key:z6Mkf12345Zabcdef12345\",\n \"status\": \"verified\",\n \"confirmed\": true\n },\n \"beneficiaryDid\": \"did:key:z6Mkf67890Zghijkl67890\",\n \"originatorDid\": \"did:key:z6Mkf12345Zabcdef12345\",\n \"isNonCustodial\": true,\n \"notificationEmail\": \"<string>\",\n \"pii\": {\n \"originatorPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"placeOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\"\n },\n \"customerIdentification\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"countryOfResidence\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"customerNumber\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\"\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q\",\n \"legalPersonNameIdentifierType\": \"QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"customerIdentification\": \"QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy\",\n \"customerNumber\": \"QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8\",\n \"countryOfRegistration\": \"QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr\"\n }\n }\n ],\n \"beneficiaryPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"placeOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\"\n },\n \"customerIdentification\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"countryOfResidence\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"customerNumber\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\"\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q\",\n \"legalPersonNameIdentifierType\": \"QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"customerIdentification\": \"QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy\",\n \"customerNumber\": \"QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8\",\n \"countryOfRegistration\": \"QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr\"\n }\n }\n ],\n \"accountNumber\": [\n \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\"\n ]\n },\n \"pii_url\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://api.fireblocks.io/v1/screening/travel_rule/transaction/validate/full")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"originator\": {\n \"originatorPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"beneficiaryPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"accountNumber\": [\n \"<string>\"\n ]\n },\n \"beneficiary\": {\n \"originatorPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"beneficiaryPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"accountNumber\": [\n \"<string>\"\n ]\n },\n \"originatorVASPdid\": \"did:ethr:0x44957e75d6ce4a5bf37aae117da86422c848f7c2\",\n \"beneficiaryVASPdid\": \"did:ethr:0x17fe2dd11a2daa7f6c1fdf22532a4763f963aea6\",\n \"transactionAsset\": \"BTC\",\n \"transactionAmount\": \"10\",\n \"originatorVASPname\": \"Originator VASP Ltd.\",\n \"beneficiaryVASPname\": \"Beneficiary VASP Inc.\",\n \"transactionBlockchainInfo\": {\n \"txHash\": 6.685730843558756e+76,\n \"origin\": 8.41132469470587e+47,\n \"destination\": 8.41132469470587e+47\n },\n \"encrypted\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\",\n \"protocol\": \"TRLight\",\n \"skipBeneficiaryDataValidation\": false,\n \"travelRuleBehavior\": true,\n \"originatorRef\": \"ORG123456\",\n \"beneficiaryRef\": \"BEN654321\",\n \"travelRuleBehaviorRef\": \"TRB987654\",\n \"originatorProof\": {\n \"type\": \"eip-191\",\n \"proof\": \"0x3dd4a17a...ce4a2bcd1b\",\n \"attestation\": \"I certify that ETH account 0x896B...0b9b belongs to me.\",\n \"address\": \"0x896B...0b9b\",\n \"wallet_provider\": \"Metamask\",\n \"url\": \"https://example.com/uploaded_image.png\",\n \"did\": \"did:key:z6Mkf12345Zabcdef12345\",\n \"status\": \"verified\",\n \"confirmed\": true\n },\n \"beneficiaryProof\": {\n \"type\": \"eip-191\",\n \"proof\": \"0x3dd4a17a...ce4a2bcd1b\",\n \"attestation\": \"I certify that ETH account 0x896B...0b9b belongs to me.\",\n \"address\": \"0x896B...0b9b\",\n \"wallet_provider\": \"Metamask\",\n \"url\": \"https://example.com/uploaded_image.png\",\n \"did\": \"did:key:z6Mkf12345Zabcdef12345\",\n \"status\": \"verified\",\n \"confirmed\": true\n },\n \"beneficiaryDid\": \"did:key:z6Mkf67890Zghijkl67890\",\n \"originatorDid\": \"did:key:z6Mkf12345Zabcdef12345\",\n \"isNonCustodial\": true,\n \"notificationEmail\": \"<string>\",\n \"pii\": {\n \"originatorPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"placeOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\"\n },\n \"customerIdentification\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"countryOfResidence\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"customerNumber\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\"\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q\",\n \"legalPersonNameIdentifierType\": \"QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"customerIdentification\": \"QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy\",\n \"customerNumber\": \"QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8\",\n \"countryOfRegistration\": \"QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr\"\n }\n }\n ],\n \"beneficiaryPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"placeOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\"\n },\n \"customerIdentification\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"countryOfResidence\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"customerNumber\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\"\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q\",\n \"legalPersonNameIdentifierType\": \"QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"customerIdentification\": \"QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy\",\n \"customerNumber\": \"QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8\",\n \"countryOfRegistration\": \"QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr\"\n }\n }\n ],\n \"accountNumber\": [\n \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\"\n ]\n },\n \"pii_url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"isValid": true,
"type": "TRAVELRULE",
"beneficiaryAddressType": "UNKNOWN",
"addressSource": "UNKNOWN",
"beneficiaryVASPdid": "did:ethr:0x46a7ed5813ce735387df2bfb245bd7722e0de992",
"beneficiaryVASPname": "Fireblocks",
"warnings": [
"optional-beneficiaryAccountNumber"
]
}{
"message": "<string>",
"code": 123
}Headers
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Query Parameters
Specifies the notation of the transaction. Possible values are: - notabene: Uses Notabene notation (default behavior). - fireblocks: Uses Fireblocks notation, with automatic translation of asset tickers and amounts. - <none>: Defaults to notabene for backward compatibility.
Note: The default value for the notation parameter will change from notabene to fireblocks Update your integrations accordingly.
fireblocks, notabene Body
Information about the originator of the transaction.
Show child attributes
Show child attributes
Information about the originator of the transaction.
Show child attributes
Show child attributes
The Decentralized Identifier (DID) of the exchange (VASP) that is sending the virtual assets. This identifier is unique to the exchange and is generated when the exchange's account is created in the Notabene network.
"did:ethr:0x44957e75d6ce4a5bf37aae117da86422c848f7c2"
The Decentralized Identifier (DID) of the exchange (VASP) that is receiving the virtual assets. This identifier is unique to the exchange and is generated when the exchange's account is created in the Notabene network.
"did:ethr:0x17fe2dd11a2daa7f6c1fdf22532a4763f963aea6"
Transaction asset symbol (e.g., BTC, ETH, USDC). By using the notation query string, users can select the type of asset notation: - fireblocks: Converts asset symbols to Fireblocks notation. - notabene: Retains the original Notabene asset symbol format.
"BTC"
Transaction amount in the transaction asset. For example, if the asset is BTC, the amount is the value in BTC units. By using the notation query string, users can select the type of amount notation: - fireblocks: Converts the amount to Fireblocks notation (e.g., adjusted for decimals). - notabene: Retains the original Notabene amount format.
"10"
The name of the VASP acting as the transaction originator.
"Originator VASP Ltd."
The name of the VASP acting as the transaction beneficiary.
"Beneficiary VASP Inc."
Information about the blockchain transaction.
Show child attributes
Show child attributes
Encrypted data related to the transaction.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
The protocol used to perform the travel rule.
TRLight, TRP, OpenVASP, GTR "TRLight"
Whether to skip validation of beneficiary data.
false
Whether to check if the transaction complies with the travel rule in the beneficiary VASP's jurisdiction.
true
A reference ID related to the originator of the transaction.
"ORG123456"
A reference ID related to the beneficiary of the transaction.
"BEN654321"
A reference ID related to the travel rule behavior.
"TRB987654"
Ownership proof related to the originator of the transaction.
Show child attributes
Show child attributes
Ownership proof related to the originator of the transaction.
Show child attributes
Show child attributes
The Decentralized Identifier (DID) of the person at the receiving exchange (VASP). This identifier is generated when the customer is registered in the Notabene network, or automatically created based on the beneficiaryRef. - If neither beneficiaryRef nor beneficiaryDid is provided in the txCreate payload,
a new random DID is generated for every transaction.
"did:key:z6Mkf67890Zghijkl67890"
The Decentralized Identifier (DID) of the person at the exchange (VASP) who is requesting the withdrawal. This identifier is generated when the customer is registered in the Notabene network or automatically created based on the originatorRef. - If neither originatorRef nor originatorDid is provided in the txCreate payload,
a new random DID is generated for every transaction.
"did:key:z6Mkf12345Zabcdef12345"
Indicates if the transaction involves a non-custodial wallet.
true
The email address where a notification should be sent upon completion of the travel rule
Personal identifiable information related to the transaction
Show child attributes
Show child attributes
The URL of the personal identifiable information related to the transaction
Response
Transaction validated successfully
"isValid" will tell you if you have collected all the information needed for the travel rule data transfer. Once this field = "true", you can move on to the next step which is to transfer the front-end information to your back-end and perform Travel Rule Transaction create
true
"type" will tell you if the virtual asset value converted to FIAT value of the withdrawal request is above (=TRAVELRULE) or below (=BELOW_THRESHOLD) the threshold in your jurisdiction. If it is to an unhosted wallet which does not require travel rule information to be sent and only collected, it will say NON_CUSTODIAL.
"TRAVELRULE"
"beneficiaryAddressType" will tell you if your blockchain analytics provider or internal address book has been able to identify the wallet address.
UNKNOWN, HOSTED, UNHOSTED "UNKNOWN"
"addressSource" will tell you if the address was found in your internal address book or identified by the blockchain analytics provider.
UNKNOWN, ADDRESS_HASH, ADDRESS_GRAPH, CHAINALYSIS, ELLIPTIC, CRYSTAL "UNKNOWN"
The VASP DID of the beneficiary VASP
"did:ethr:0x46a7ed5813ce735387df2bfb245bd7722e0de992"
"beneficiaryVASPname" will tell you the name of the VASP that has been identified as the owner of the wallet address. This name is used in a subsequent call to get its DID.
"Fireblocks"
"errors/warnings" will tell you what information about the beneficiary you need to collect from the sender.
["optional-beneficiaryAccountNumber"]
Was this page helpful?
const response: Promise<FireblocksResponse<TravelRuleValidateTransactionResponse>> = fireblocks.travelRule.validateFullTravelRuleTransaction(travelRuleApiValidateFullTravelRuleTransactionRequest);CompletableFuture<ApiResponse<TravelRuleValidateTransactionResponse>> response = fireblocks.travelRule().validateFullTravelRuleTransaction(travelRuleValidateFullTransactionRequest, notation, idempotencyKey);response = fireblocks.travel_rule.validate_full_travel_rule_transaction(travel_rule_validate_full_transaction_request, notation, idempotency_key);curl --request POST \
--url https://api.fireblocks.io/v1/screening/travel_rule/transaction/validate/full \
--header 'Content-Type: application/json' \
--data '
{
"originator": {
"originatorPersons": [
{
"naturalPerson": {
"name": [
{
"nameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"localNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"phoneticNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
]
}
],
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"dateAndPlaceOfBirth": {
"dateOfBirth": "1990-01-01",
"placeOfBirth": "New York, USA"
},
"customerIdentification": "CUST123456",
"countryOfResidence": "US",
"customerNumber": 123456789
},
"legalPerson": {
"name": {
"legalPersonName": "Acme Corporation",
"legalPersonNameIdentifierType": "REGISTERED"
},
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"customerIdentification": "CUST987654",
"customerNumber": 123456789,
"countryOfRegistration": "US"
}
}
],
"beneficiaryPersons": [
{
"naturalPerson": {
"name": [
{
"nameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"localNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"phoneticNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
]
}
],
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"dateAndPlaceOfBirth": {
"dateOfBirth": "1990-01-01",
"placeOfBirth": "New York, USA"
},
"customerIdentification": "CUST123456",
"countryOfResidence": "US",
"customerNumber": 123456789
},
"legalPerson": {
"name": {
"legalPersonName": "Acme Corporation",
"legalPersonNameIdentifierType": "REGISTERED"
},
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"customerIdentification": "CUST987654",
"customerNumber": 123456789,
"countryOfRegistration": "US"
}
}
],
"accountNumber": [
"<string>"
]
},
"beneficiary": {
"originatorPersons": [
{
"naturalPerson": {
"name": [
{
"nameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"localNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"phoneticNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
]
}
],
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"dateAndPlaceOfBirth": {
"dateOfBirth": "1990-01-01",
"placeOfBirth": "New York, USA"
},
"customerIdentification": "CUST123456",
"countryOfResidence": "US",
"customerNumber": 123456789
},
"legalPerson": {
"name": {
"legalPersonName": "Acme Corporation",
"legalPersonNameIdentifierType": "REGISTERED"
},
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"customerIdentification": "CUST987654",
"customerNumber": 123456789,
"countryOfRegistration": "US"
}
}
],
"beneficiaryPersons": [
{
"naturalPerson": {
"name": [
{
"nameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"localNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
],
"phoneticNameIdentifier": [
{
"primaryIdentifier": "John",
"secondaryIdentifier": "Doe",
"nameIdentifierType": "LEGL"
}
]
}
],
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"dateAndPlaceOfBirth": {
"dateOfBirth": "1990-01-01",
"placeOfBirth": "New York, USA"
},
"customerIdentification": "CUST123456",
"countryOfResidence": "US",
"customerNumber": 123456789
},
"legalPerson": {
"name": {
"legalPersonName": "Acme Corporation",
"legalPersonNameIdentifierType": "REGISTERED"
},
"geographicAddress": [
{
"streetName": "123 Main St",
"townName": "New York",
"country": "US",
"buildingNumber": 123,
"postCode": 12345,
"addressType": "HOME",
"department": "IT",
"subDepartment": "Security",
"buildingName": "Acme Building",
"floor": 1,
"postBox": 123,
"room": 101,
"townLocationName": "Downtown",
"districtName": "Manhattan",
"countrySubDivision": "New York",
"addressLine": [
"123 Main St",
"New York",
"NY 12345"
]
}
],
"nationalIdentification": {
"countryOfIssue": "US",
"nationalIdentifier": 123456789,
"nationalIdentifierType": "NATIONAL_ID",
"registrationAuthority": "RA123456"
},
"customerIdentification": "CUST987654",
"customerNumber": 123456789,
"countryOfRegistration": "US"
}
}
],
"accountNumber": [
"<string>"
]
},
"originatorVASPdid": "did:ethr:0x44957e75d6ce4a5bf37aae117da86422c848f7c2",
"beneficiaryVASPdid": "did:ethr:0x17fe2dd11a2daa7f6c1fdf22532a4763f963aea6",
"transactionAsset": "BTC",
"transactionAmount": "10",
"originatorVASPname": "Originator VASP Ltd.",
"beneficiaryVASPname": "Beneficiary VASP Inc.",
"transactionBlockchainInfo": {
"txHash": 6.685730843558756e+76,
"origin": 8.41132469470587e+47,
"destination": 8.41132469470587e+47
},
"encrypted": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"protocol": "TRLight",
"skipBeneficiaryDataValidation": false,
"travelRuleBehavior": true,
"originatorRef": "ORG123456",
"beneficiaryRef": "BEN654321",
"travelRuleBehaviorRef": "TRB987654",
"originatorProof": {
"type": "eip-191",
"proof": "0x3dd4a17a...ce4a2bcd1b",
"attestation": "I certify that ETH account 0x896B...0b9b belongs to me.",
"address": "0x896B...0b9b",
"wallet_provider": "Metamask",
"url": "https://example.com/uploaded_image.png",
"did": "did:key:z6Mkf12345Zabcdef12345",
"status": "verified",
"confirmed": true
},
"beneficiaryProof": {
"type": "eip-191",
"proof": "0x3dd4a17a...ce4a2bcd1b",
"attestation": "I certify that ETH account 0x896B...0b9b belongs to me.",
"address": "0x896B...0b9b",
"wallet_provider": "Metamask",
"url": "https://example.com/uploaded_image.png",
"did": "did:key:z6Mkf12345Zabcdef12345",
"status": "verified",
"confirmed": true
},
"beneficiaryDid": "did:key:z6Mkf67890Zghijkl67890",
"originatorDid": "did:key:z6Mkf12345Zabcdef12345",
"isNonCustodial": true,
"notificationEmail": "<string>",
"pii": {
"originatorPersons": [
{
"naturalPerson": {
"name": [
{
"nameIdentifier": [
{
"primaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"secondaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"nameIdentifierType": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv"
}
],
"localNameIdentifier": [
{
"primaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"secondaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"nameIdentifierType": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv"
}
],
"phoneticNameIdentifier": [
{
"primaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"secondaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"nameIdentifierType": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv"
}
]
}
],
"geographicAddress": [
{
"streetName": "QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9",
"townName": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt",
"country": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"buildingNumber": "QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP",
"postCode": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"addressType": "Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H",
"department": "QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8",
"subDepartment": "QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s",
"buildingName": "QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9",
"floor": "QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1",
"postBox": "QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ",
"room": "QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ",
"townLocationName": "QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm",
"districtName": "QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy",
"countrySubDivision": "QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C",
"addressLine": [
"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT"
]
}
],
"nationalIdentification": {
"countryOfIssue": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"nationalIdentifier": "QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z",
"nationalIdentifierType": "QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi",
"registrationAuthority": "QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk"
},
"dateAndPlaceOfBirth": {
"dateOfBirth": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt",
"placeOfBirth": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt"
},
"customerIdentification": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"countryOfResidence": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"customerNumber": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj"
},
"legalPerson": {
"name": {
"legalPersonName": "QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q",
"legalPersonNameIdentifierType": "QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e"
},
"geographicAddress": [
{
"streetName": "QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9",
"townName": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt",
"country": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"buildingNumber": "QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP",
"postCode": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"addressType": "Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H",
"department": "QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8",
"subDepartment": "QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s",
"buildingName": "QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9",
"floor": "QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1",
"postBox": "QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ",
"room": "QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ",
"townLocationName": "QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm",
"districtName": "QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy",
"countrySubDivision": "QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C",
"addressLine": [
"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT"
]
}
],
"nationalIdentification": {
"countryOfIssue": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"nationalIdentifier": "QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z",
"nationalIdentifierType": "QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi",
"registrationAuthority": "QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk"
},
"customerIdentification": "QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy",
"customerNumber": "QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8",
"countryOfRegistration": "QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr"
}
}
],
"beneficiaryPersons": [
{
"naturalPerson": {
"name": [
{
"nameIdentifier": [
{
"primaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"secondaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"nameIdentifierType": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv"
}
],
"localNameIdentifier": [
{
"primaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"secondaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"nameIdentifierType": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv"
}
],
"phoneticNameIdentifier": [
{
"primaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"secondaryIdentifier": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv",
"nameIdentifierType": "QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv"
}
]
}
],
"geographicAddress": [
{
"streetName": "QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9",
"townName": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt",
"country": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"buildingNumber": "QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP",
"postCode": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"addressType": "Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H",
"department": "QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8",
"subDepartment": "QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s",
"buildingName": "QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9",
"floor": "QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1",
"postBox": "QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ",
"room": "QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ",
"townLocationName": "QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm",
"districtName": "QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy",
"countrySubDivision": "QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C",
"addressLine": [
"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT"
]
}
],
"nationalIdentification": {
"countryOfIssue": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"nationalIdentifier": "QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z",
"nationalIdentifierType": "QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi",
"registrationAuthority": "QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk"
},
"dateAndPlaceOfBirth": {
"dateOfBirth": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt",
"placeOfBirth": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt"
},
"customerIdentification": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"countryOfResidence": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"customerNumber": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj"
},
"legalPerson": {
"name": {
"legalPersonName": "QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q",
"legalPersonNameIdentifierType": "QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e"
},
"geographicAddress": [
{
"streetName": "QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9",
"townName": "QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt",
"country": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"buildingNumber": "QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP",
"postCode": "QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj",
"addressType": "Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H",
"department": "QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8",
"subDepartment": "QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s",
"buildingName": "QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9",
"floor": "QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1",
"postBox": "QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ",
"room": "QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ",
"townLocationName": "QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm",
"districtName": "QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy",
"countrySubDivision": "QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C",
"addressLine": [
"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT"
]
}
],
"nationalIdentification": {
"countryOfIssue": "QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm",
"nationalIdentifier": "QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z",
"nationalIdentifierType": "QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi",
"registrationAuthority": "QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk"
},
"customerIdentification": "QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy",
"customerNumber": "QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8",
"countryOfRegistration": "QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr"
}
}
],
"accountNumber": [
"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt"
]
},
"pii_url": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
originator: {
originatorPersons: [
{
naturalPerson: {
name: [
{
nameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
localNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
phoneticNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
]
}
],
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
dateAndPlaceOfBirth: {dateOfBirth: '1990-01-01', placeOfBirth: 'New York, USA'},
customerIdentification: 'CUST123456',
countryOfResidence: 'US',
customerNumber: 123456789
},
legalPerson: {
name: {
legalPersonName: 'Acme Corporation',
legalPersonNameIdentifierType: 'REGISTERED'
},
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
customerIdentification: 'CUST987654',
customerNumber: 123456789,
countryOfRegistration: 'US'
}
}
],
beneficiaryPersons: [
{
naturalPerson: {
name: [
{
nameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
localNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
phoneticNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
]
}
],
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
dateAndPlaceOfBirth: {dateOfBirth: '1990-01-01', placeOfBirth: 'New York, USA'},
customerIdentification: 'CUST123456',
countryOfResidence: 'US',
customerNumber: 123456789
},
legalPerson: {
name: {
legalPersonName: 'Acme Corporation',
legalPersonNameIdentifierType: 'REGISTERED'
},
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
customerIdentification: 'CUST987654',
customerNumber: 123456789,
countryOfRegistration: 'US'
}
}
],
accountNumber: ['<string>']
},
beneficiary: {
originatorPersons: [
{
naturalPerson: {
name: [
{
nameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
localNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
phoneticNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
]
}
],
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
dateAndPlaceOfBirth: {dateOfBirth: '1990-01-01', placeOfBirth: 'New York, USA'},
customerIdentification: 'CUST123456',
countryOfResidence: 'US',
customerNumber: 123456789
},
legalPerson: {
name: {
legalPersonName: 'Acme Corporation',
legalPersonNameIdentifierType: 'REGISTERED'
},
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
customerIdentification: 'CUST987654',
customerNumber: 123456789,
countryOfRegistration: 'US'
}
}
],
beneficiaryPersons: [
{
naturalPerson: {
name: [
{
nameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
localNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
],
phoneticNameIdentifier: [
{
primaryIdentifier: 'John',
secondaryIdentifier: 'Doe',
nameIdentifierType: 'LEGL'
}
]
}
],
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
dateAndPlaceOfBirth: {dateOfBirth: '1990-01-01', placeOfBirth: 'New York, USA'},
customerIdentification: 'CUST123456',
countryOfResidence: 'US',
customerNumber: 123456789
},
legalPerson: {
name: {
legalPersonName: 'Acme Corporation',
legalPersonNameIdentifierType: 'REGISTERED'
},
geographicAddress: [
{
streetName: '123 Main St',
townName: 'New York',
country: 'US',
buildingNumber: 123,
postCode: 12345,
addressType: 'HOME',
department: 'IT',
subDepartment: 'Security',
buildingName: 'Acme Building',
floor: 1,
postBox: 123,
room: 101,
townLocationName: 'Downtown',
districtName: 'Manhattan',
countrySubDivision: 'New York',
addressLine: ['123 Main St', 'New York', 'NY 12345']
}
],
nationalIdentification: {
countryOfIssue: 'US',
nationalIdentifier: 123456789,
nationalIdentifierType: 'NATIONAL_ID',
registrationAuthority: 'RA123456'
},
customerIdentification: 'CUST987654',
customerNumber: 123456789,
countryOfRegistration: 'US'
}
}
],
accountNumber: ['<string>']
},
originatorVASPdid: 'did:ethr:0x44957e75d6ce4a5bf37aae117da86422c848f7c2',
beneficiaryVASPdid: 'did:ethr:0x17fe2dd11a2daa7f6c1fdf22532a4763f963aea6',
transactionAsset: 'BTC',
transactionAmount: '10',
originatorVASPname: 'Originator VASP Ltd.',
beneficiaryVASPname: 'Beneficiary VASP Inc.',
transactionBlockchainInfo: {
txHash: 6.685730843558756e+76,
origin: 8.41132469470587e+47,
destination: 8.41132469470587e+47
},
encrypted: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...',
protocol: 'TRLight',
skipBeneficiaryDataValidation: false,
travelRuleBehavior: true,
originatorRef: 'ORG123456',
beneficiaryRef: 'BEN654321',
travelRuleBehaviorRef: 'TRB987654',
originatorProof: {
type: 'eip-191',
proof: '0x3dd4a17a...ce4a2bcd1b',
attestation: 'I certify that ETH account 0x896B...0b9b belongs to me.',
address: '0x896B...0b9b',
wallet_provider: 'Metamask',
url: 'https://example.com/uploaded_image.png',
did: 'did:key:z6Mkf12345Zabcdef12345',
status: 'verified',
confirmed: true
},
beneficiaryProof: {
type: 'eip-191',
proof: '0x3dd4a17a...ce4a2bcd1b',
attestation: 'I certify that ETH account 0x896B...0b9b belongs to me.',
address: '0x896B...0b9b',
wallet_provider: 'Metamask',
url: 'https://example.com/uploaded_image.png',
did: 'did:key:z6Mkf12345Zabcdef12345',
status: 'verified',
confirmed: true
},
beneficiaryDid: 'did:key:z6Mkf67890Zghijkl67890',
originatorDid: 'did:key:z6Mkf12345Zabcdef12345',
isNonCustodial: true,
notificationEmail: '<string>',
pii: {
originatorPersons: [
{
naturalPerson: {
name: [
{
nameIdentifier: [
{
primaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
secondaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
nameIdentifierType: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
}
],
localNameIdentifier: [
{
primaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
secondaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
nameIdentifierType: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
}
],
phoneticNameIdentifier: [
{
primaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
secondaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
nameIdentifierType: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
}
]
}
],
geographicAddress: [
{
streetName: 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
townName: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
country: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
buildingNumber: 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
postCode: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
addressType: 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
department: 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
subDepartment: 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
buildingName: 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
floor: 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
postBox: 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
room: 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
townLocationName: 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
districtName: 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
countrySubDivision: 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
addressLine: ['QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT']
}
],
nationalIdentification: {
countryOfIssue: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
nationalIdentifier: 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
nationalIdentifierType: 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
registrationAuthority: 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
},
dateAndPlaceOfBirth: {
dateOfBirth: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
placeOfBirth: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt'
},
customerIdentification: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
countryOfResidence: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
customerNumber: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj'
},
legalPerson: {
name: {
legalPersonName: 'QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q',
legalPersonNameIdentifierType: 'QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e'
},
geographicAddress: [
{
streetName: 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
townName: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
country: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
buildingNumber: 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
postCode: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
addressType: 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
department: 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
subDepartment: 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
buildingName: 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
floor: 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
postBox: 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
room: 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
townLocationName: 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
districtName: 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
countrySubDivision: 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
addressLine: ['QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT']
}
],
nationalIdentification: {
countryOfIssue: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
nationalIdentifier: 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
nationalIdentifierType: 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
registrationAuthority: 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
},
customerIdentification: 'QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy',
customerNumber: 'QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8',
countryOfRegistration: 'QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr'
}
}
],
beneficiaryPersons: [
{
naturalPerson: {
name: [
{
nameIdentifier: [
{
primaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
secondaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
nameIdentifierType: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
}
],
localNameIdentifier: [
{
primaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
secondaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
nameIdentifierType: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
}
],
phoneticNameIdentifier: [
{
primaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
secondaryIdentifier: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
nameIdentifierType: 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
}
]
}
],
geographicAddress: [
{
streetName: 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
townName: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
country: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
buildingNumber: 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
postCode: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
addressType: 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
department: 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
subDepartment: 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
buildingName: 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
floor: 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
postBox: 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
room: 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
townLocationName: 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
districtName: 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
countrySubDivision: 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
addressLine: ['QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT']
}
],
nationalIdentification: {
countryOfIssue: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
nationalIdentifier: 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
nationalIdentifierType: 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
registrationAuthority: 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
},
dateAndPlaceOfBirth: {
dateOfBirth: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
placeOfBirth: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt'
},
customerIdentification: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
countryOfResidence: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
customerNumber: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj'
},
legalPerson: {
name: {
legalPersonName: 'QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q',
legalPersonNameIdentifierType: 'QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e'
},
geographicAddress: [
{
streetName: 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
townName: 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
country: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
buildingNumber: 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
postCode: 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
addressType: 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
department: 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
subDepartment: 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
buildingName: 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
floor: 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
postBox: 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
room: 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
townLocationName: 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
districtName: 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
countrySubDivision: 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
addressLine: ['QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT']
}
],
nationalIdentification: {
countryOfIssue: 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
nationalIdentifier: 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
nationalIdentifierType: 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
registrationAuthority: 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
},
customerIdentification: 'QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy',
customerNumber: 'QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8',
countryOfRegistration: 'QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr'
}
}
],
accountNumber: ['QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt']
},
pii_url: '<string>'
})
};
fetch('https://api.fireblocks.io/v1/screening/travel_rule/transaction/validate/full', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fireblocks.io/v1/screening/travel_rule/transaction/validate/full",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'originator' => [
'originatorPersons' => [
[
'naturalPerson' => [
'name' => [
[
'nameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'localNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'phoneticNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
]
]
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'dateAndPlaceOfBirth' => [
'dateOfBirth' => '1990-01-01',
'placeOfBirth' => 'New York, USA'
],
'customerIdentification' => 'CUST123456',
'countryOfResidence' => 'US',
'customerNumber' => 123456789
],
'legalPerson' => [
'name' => [
'legalPersonName' => 'Acme Corporation',
'legalPersonNameIdentifierType' => 'REGISTERED'
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'customerIdentification' => 'CUST987654',
'customerNumber' => 123456789,
'countryOfRegistration' => 'US'
]
]
],
'beneficiaryPersons' => [
[
'naturalPerson' => [
'name' => [
[
'nameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'localNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'phoneticNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
]
]
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'dateAndPlaceOfBirth' => [
'dateOfBirth' => '1990-01-01',
'placeOfBirth' => 'New York, USA'
],
'customerIdentification' => 'CUST123456',
'countryOfResidence' => 'US',
'customerNumber' => 123456789
],
'legalPerson' => [
'name' => [
'legalPersonName' => 'Acme Corporation',
'legalPersonNameIdentifierType' => 'REGISTERED'
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'customerIdentification' => 'CUST987654',
'customerNumber' => 123456789,
'countryOfRegistration' => 'US'
]
]
],
'accountNumber' => [
'<string>'
]
],
'beneficiary' => [
'originatorPersons' => [
[
'naturalPerson' => [
'name' => [
[
'nameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'localNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'phoneticNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
]
]
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'dateAndPlaceOfBirth' => [
'dateOfBirth' => '1990-01-01',
'placeOfBirth' => 'New York, USA'
],
'customerIdentification' => 'CUST123456',
'countryOfResidence' => 'US',
'customerNumber' => 123456789
],
'legalPerson' => [
'name' => [
'legalPersonName' => 'Acme Corporation',
'legalPersonNameIdentifierType' => 'REGISTERED'
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'customerIdentification' => 'CUST987654',
'customerNumber' => 123456789,
'countryOfRegistration' => 'US'
]
]
],
'beneficiaryPersons' => [
[
'naturalPerson' => [
'name' => [
[
'nameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'localNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
],
'phoneticNameIdentifier' => [
[
'primaryIdentifier' => 'John',
'secondaryIdentifier' => 'Doe',
'nameIdentifierType' => 'LEGL'
]
]
]
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'dateAndPlaceOfBirth' => [
'dateOfBirth' => '1990-01-01',
'placeOfBirth' => 'New York, USA'
],
'customerIdentification' => 'CUST123456',
'countryOfResidence' => 'US',
'customerNumber' => 123456789
],
'legalPerson' => [
'name' => [
'legalPersonName' => 'Acme Corporation',
'legalPersonNameIdentifierType' => 'REGISTERED'
],
'geographicAddress' => [
[
'streetName' => '123 Main St',
'townName' => 'New York',
'country' => 'US',
'buildingNumber' => 123,
'postCode' => 12345,
'addressType' => 'HOME',
'department' => 'IT',
'subDepartment' => 'Security',
'buildingName' => 'Acme Building',
'floor' => 1,
'postBox' => 123,
'room' => 101,
'townLocationName' => 'Downtown',
'districtName' => 'Manhattan',
'countrySubDivision' => 'New York',
'addressLine' => [
'123 Main St',
'New York',
'NY 12345'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'US',
'nationalIdentifier' => 123456789,
'nationalIdentifierType' => 'NATIONAL_ID',
'registrationAuthority' => 'RA123456'
],
'customerIdentification' => 'CUST987654',
'customerNumber' => 123456789,
'countryOfRegistration' => 'US'
]
]
],
'accountNumber' => [
'<string>'
]
],
'originatorVASPdid' => 'did:ethr:0x44957e75d6ce4a5bf37aae117da86422c848f7c2',
'beneficiaryVASPdid' => 'did:ethr:0x17fe2dd11a2daa7f6c1fdf22532a4763f963aea6',
'transactionAsset' => 'BTC',
'transactionAmount' => '10',
'originatorVASPname' => 'Originator VASP Ltd.',
'beneficiaryVASPname' => 'Beneficiary VASP Inc.',
'transactionBlockchainInfo' => [
'txHash' => 6.685730843558756e+76,
'origin' => 8.41132469470587e+47,
'destination' => 8.41132469470587e+47
],
'encrypted' => 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...',
'protocol' => 'TRLight',
'skipBeneficiaryDataValidation' => false,
'travelRuleBehavior' => true,
'originatorRef' => 'ORG123456',
'beneficiaryRef' => 'BEN654321',
'travelRuleBehaviorRef' => 'TRB987654',
'originatorProof' => [
'type' => 'eip-191',
'proof' => '0x3dd4a17a...ce4a2bcd1b',
'attestation' => 'I certify that ETH account 0x896B...0b9b belongs to me.',
'address' => '0x896B...0b9b',
'wallet_provider' => 'Metamask',
'url' => 'https://example.com/uploaded_image.png',
'did' => 'did:key:z6Mkf12345Zabcdef12345',
'status' => 'verified',
'confirmed' => true
],
'beneficiaryProof' => [
'type' => 'eip-191',
'proof' => '0x3dd4a17a...ce4a2bcd1b',
'attestation' => 'I certify that ETH account 0x896B...0b9b belongs to me.',
'address' => '0x896B...0b9b',
'wallet_provider' => 'Metamask',
'url' => 'https://example.com/uploaded_image.png',
'did' => 'did:key:z6Mkf12345Zabcdef12345',
'status' => 'verified',
'confirmed' => true
],
'beneficiaryDid' => 'did:key:z6Mkf67890Zghijkl67890',
'originatorDid' => 'did:key:z6Mkf12345Zabcdef12345',
'isNonCustodial' => true,
'notificationEmail' => '<string>',
'pii' => [
'originatorPersons' => [
[
'naturalPerson' => [
'name' => [
[
'nameIdentifier' => [
[
'primaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'secondaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'nameIdentifierType' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
]
],
'localNameIdentifier' => [
[
'primaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'secondaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'nameIdentifierType' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
]
],
'phoneticNameIdentifier' => [
[
'primaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'secondaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'nameIdentifierType' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
]
]
]
],
'geographicAddress' => [
[
'streetName' => 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
'townName' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
'country' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'buildingNumber' => 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
'postCode' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'addressType' => 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
'department' => 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
'subDepartment' => 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
'buildingName' => 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
'floor' => 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
'postBox' => 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
'room' => 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
'townLocationName' => 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
'districtName' => 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
'countrySubDivision' => 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
'addressLine' => [
'QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'nationalIdentifier' => 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
'nationalIdentifierType' => 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
'registrationAuthority' => 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
],
'dateAndPlaceOfBirth' => [
'dateOfBirth' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
'placeOfBirth' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt'
],
'customerIdentification' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'countryOfResidence' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'customerNumber' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj'
],
'legalPerson' => [
'name' => [
'legalPersonName' => 'QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q',
'legalPersonNameIdentifierType' => 'QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e'
],
'geographicAddress' => [
[
'streetName' => 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
'townName' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
'country' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'buildingNumber' => 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
'postCode' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'addressType' => 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
'department' => 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
'subDepartment' => 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
'buildingName' => 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
'floor' => 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
'postBox' => 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
'room' => 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
'townLocationName' => 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
'districtName' => 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
'countrySubDivision' => 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
'addressLine' => [
'QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'nationalIdentifier' => 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
'nationalIdentifierType' => 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
'registrationAuthority' => 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
],
'customerIdentification' => 'QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy',
'customerNumber' => 'QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8',
'countryOfRegistration' => 'QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr'
]
]
],
'beneficiaryPersons' => [
[
'naturalPerson' => [
'name' => [
[
'nameIdentifier' => [
[
'primaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'secondaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'nameIdentifierType' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
]
],
'localNameIdentifier' => [
[
'primaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'secondaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'nameIdentifierType' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
]
],
'phoneticNameIdentifier' => [
[
'primaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'secondaryIdentifier' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv',
'nameIdentifierType' => 'QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv'
]
]
]
],
'geographicAddress' => [
[
'streetName' => 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
'townName' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
'country' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'buildingNumber' => 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
'postCode' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'addressType' => 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
'department' => 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
'subDepartment' => 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
'buildingName' => 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
'floor' => 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
'postBox' => 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
'room' => 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
'townLocationName' => 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
'districtName' => 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
'countrySubDivision' => 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
'addressLine' => [
'QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'nationalIdentifier' => 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
'nationalIdentifierType' => 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
'registrationAuthority' => 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
],
'dateAndPlaceOfBirth' => [
'dateOfBirth' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
'placeOfBirth' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt'
],
'customerIdentification' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'countryOfResidence' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'customerNumber' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj'
],
'legalPerson' => [
'name' => [
'legalPersonName' => 'QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q',
'legalPersonNameIdentifierType' => 'QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e'
],
'geographicAddress' => [
[
'streetName' => 'QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9',
'townName' => 'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt',
'country' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'buildingNumber' => 'QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP',
'postCode' => 'QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj',
'addressType' => 'Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H',
'department' => 'QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8',
'subDepartment' => 'QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s',
'buildingName' => 'QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9',
'floor' => 'QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1',
'postBox' => 'QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ',
'room' => 'QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ',
'townLocationName' => 'QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm',
'districtName' => 'QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy',
'countrySubDivision' => 'QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C',
'addressLine' => [
'QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT'
]
]
],
'nationalIdentification' => [
'countryOfIssue' => 'QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm',
'nationalIdentifier' => 'QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z',
'nationalIdentifierType' => 'QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi',
'registrationAuthority' => 'QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk'
],
'customerIdentification' => 'QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy',
'customerNumber' => 'QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8',
'countryOfRegistration' => 'QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr'
]
]
],
'accountNumber' => [
'QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt'
]
],
'pii_url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fireblocks.io/v1/screening/travel_rule/transaction/validate/full"
payload := strings.NewReader("{\n \"originator\": {\n \"originatorPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"beneficiaryPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"accountNumber\": [\n \"<string>\"\n ]\n },\n \"beneficiary\": {\n \"originatorPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"beneficiaryPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"accountNumber\": [\n \"<string>\"\n ]\n },\n \"originatorVASPdid\": \"did:ethr:0x44957e75d6ce4a5bf37aae117da86422c848f7c2\",\n \"beneficiaryVASPdid\": \"did:ethr:0x17fe2dd11a2daa7f6c1fdf22532a4763f963aea6\",\n \"transactionAsset\": \"BTC\",\n \"transactionAmount\": \"10\",\n \"originatorVASPname\": \"Originator VASP Ltd.\",\n \"beneficiaryVASPname\": \"Beneficiary VASP Inc.\",\n \"transactionBlockchainInfo\": {\n \"txHash\": 6.685730843558756e+76,\n \"origin\": 8.41132469470587e+47,\n \"destination\": 8.41132469470587e+47\n },\n \"encrypted\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\",\n \"protocol\": \"TRLight\",\n \"skipBeneficiaryDataValidation\": false,\n \"travelRuleBehavior\": true,\n \"originatorRef\": \"ORG123456\",\n \"beneficiaryRef\": \"BEN654321\",\n \"travelRuleBehaviorRef\": \"TRB987654\",\n \"originatorProof\": {\n \"type\": \"eip-191\",\n \"proof\": \"0x3dd4a17a...ce4a2bcd1b\",\n \"attestation\": \"I certify that ETH account 0x896B...0b9b belongs to me.\",\n \"address\": \"0x896B...0b9b\",\n \"wallet_provider\": \"Metamask\",\n \"url\": \"https://example.com/uploaded_image.png\",\n \"did\": \"did:key:z6Mkf12345Zabcdef12345\",\n \"status\": \"verified\",\n \"confirmed\": true\n },\n \"beneficiaryProof\": {\n \"type\": \"eip-191\",\n \"proof\": \"0x3dd4a17a...ce4a2bcd1b\",\n \"attestation\": \"I certify that ETH account 0x896B...0b9b belongs to me.\",\n \"address\": \"0x896B...0b9b\",\n \"wallet_provider\": \"Metamask\",\n \"url\": \"https://example.com/uploaded_image.png\",\n \"did\": \"did:key:z6Mkf12345Zabcdef12345\",\n \"status\": \"verified\",\n \"confirmed\": true\n },\n \"beneficiaryDid\": \"did:key:z6Mkf67890Zghijkl67890\",\n \"originatorDid\": \"did:key:z6Mkf12345Zabcdef12345\",\n \"isNonCustodial\": true,\n \"notificationEmail\": \"<string>\",\n \"pii\": {\n \"originatorPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"placeOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\"\n },\n \"customerIdentification\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"countryOfResidence\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"customerNumber\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\"\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q\",\n \"legalPersonNameIdentifierType\": \"QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"customerIdentification\": \"QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy\",\n \"customerNumber\": \"QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8\",\n \"countryOfRegistration\": \"QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr\"\n }\n }\n ],\n \"beneficiaryPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"placeOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\"\n },\n \"customerIdentification\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"countryOfResidence\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"customerNumber\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\"\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q\",\n \"legalPersonNameIdentifierType\": \"QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"customerIdentification\": \"QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy\",\n \"customerNumber\": \"QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8\",\n \"countryOfRegistration\": \"QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr\"\n }\n }\n ],\n \"accountNumber\": [\n \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\"\n ]\n },\n \"pii_url\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://api.fireblocks.io/v1/screening/travel_rule/transaction/validate/full")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"originator\": {\n \"originatorPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"beneficiaryPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"accountNumber\": [\n \"<string>\"\n ]\n },\n \"beneficiary\": {\n \"originatorPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"beneficiaryPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"John\",\n \"secondaryIdentifier\": \"Doe\",\n \"nameIdentifierType\": \"LEGL\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"1990-01-01\",\n \"placeOfBirth\": \"New York, USA\"\n },\n \"customerIdentification\": \"CUST123456\",\n \"countryOfResidence\": \"US\",\n \"customerNumber\": 123456789\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"Acme Corporation\",\n \"legalPersonNameIdentifierType\": \"REGISTERED\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"123 Main St\",\n \"townName\": \"New York\",\n \"country\": \"US\",\n \"buildingNumber\": 123,\n \"postCode\": 12345,\n \"addressType\": \"HOME\",\n \"department\": \"IT\",\n \"subDepartment\": \"Security\",\n \"buildingName\": \"Acme Building\",\n \"floor\": 1,\n \"postBox\": 123,\n \"room\": 101,\n \"townLocationName\": \"Downtown\",\n \"districtName\": \"Manhattan\",\n \"countrySubDivision\": \"New York\",\n \"addressLine\": [\n \"123 Main St\",\n \"New York\",\n \"NY 12345\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"US\",\n \"nationalIdentifier\": 123456789,\n \"nationalIdentifierType\": \"NATIONAL_ID\",\n \"registrationAuthority\": \"RA123456\"\n },\n \"customerIdentification\": \"CUST987654\",\n \"customerNumber\": 123456789,\n \"countryOfRegistration\": \"US\"\n }\n }\n ],\n \"accountNumber\": [\n \"<string>\"\n ]\n },\n \"originatorVASPdid\": \"did:ethr:0x44957e75d6ce4a5bf37aae117da86422c848f7c2\",\n \"beneficiaryVASPdid\": \"did:ethr:0x17fe2dd11a2daa7f6c1fdf22532a4763f963aea6\",\n \"transactionAsset\": \"BTC\",\n \"transactionAmount\": \"10\",\n \"originatorVASPname\": \"Originator VASP Ltd.\",\n \"beneficiaryVASPname\": \"Beneficiary VASP Inc.\",\n \"transactionBlockchainInfo\": {\n \"txHash\": 6.685730843558756e+76,\n \"origin\": 8.41132469470587e+47,\n \"destination\": 8.41132469470587e+47\n },\n \"encrypted\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\",\n \"protocol\": \"TRLight\",\n \"skipBeneficiaryDataValidation\": false,\n \"travelRuleBehavior\": true,\n \"originatorRef\": \"ORG123456\",\n \"beneficiaryRef\": \"BEN654321\",\n \"travelRuleBehaviorRef\": \"TRB987654\",\n \"originatorProof\": {\n \"type\": \"eip-191\",\n \"proof\": \"0x3dd4a17a...ce4a2bcd1b\",\n \"attestation\": \"I certify that ETH account 0x896B...0b9b belongs to me.\",\n \"address\": \"0x896B...0b9b\",\n \"wallet_provider\": \"Metamask\",\n \"url\": \"https://example.com/uploaded_image.png\",\n \"did\": \"did:key:z6Mkf12345Zabcdef12345\",\n \"status\": \"verified\",\n \"confirmed\": true\n },\n \"beneficiaryProof\": {\n \"type\": \"eip-191\",\n \"proof\": \"0x3dd4a17a...ce4a2bcd1b\",\n \"attestation\": \"I certify that ETH account 0x896B...0b9b belongs to me.\",\n \"address\": \"0x896B...0b9b\",\n \"wallet_provider\": \"Metamask\",\n \"url\": \"https://example.com/uploaded_image.png\",\n \"did\": \"did:key:z6Mkf12345Zabcdef12345\",\n \"status\": \"verified\",\n \"confirmed\": true\n },\n \"beneficiaryDid\": \"did:key:z6Mkf67890Zghijkl67890\",\n \"originatorDid\": \"did:key:z6Mkf12345Zabcdef12345\",\n \"isNonCustodial\": true,\n \"notificationEmail\": \"<string>\",\n \"pii\": {\n \"originatorPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"placeOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\"\n },\n \"customerIdentification\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"countryOfResidence\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"customerNumber\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\"\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q\",\n \"legalPersonNameIdentifierType\": \"QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"customerIdentification\": \"QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy\",\n \"customerNumber\": \"QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8\",\n \"countryOfRegistration\": \"QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr\"\n }\n }\n ],\n \"beneficiaryPersons\": [\n {\n \"naturalPerson\": {\n \"name\": [\n {\n \"nameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"localNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ],\n \"phoneticNameIdentifier\": [\n {\n \"primaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"secondaryIdentifier\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\",\n \"nameIdentifierType\": \"QmP6wx8bx3SVNG3hd3SZKnS5pDjUan4y9H1VtyRqu7tsAv\"\n }\n ]\n }\n ],\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"dateAndPlaceOfBirth\": {\n \"dateOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"placeOfBirth\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\"\n },\n \"customerIdentification\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"countryOfResidence\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"customerNumber\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\"\n },\n \"legalPerson\": {\n \"name\": {\n \"legalPersonName\": \"QmVXXj5BJchhqQTU27uEkeghYMnxR6aVjZxJP9jS6uCg9Q\",\n \"legalPersonNameIdentifierType\": \"QmPevsa5xdkxf6Lgt7f9YweRBdgseeAkWVaYyssKF3Q86e\"\n },\n \"geographicAddress\": [\n {\n \"streetName\": \"QmZGXXsKPk5iPS97LLjXB5e8Qs555ocdzcpbPMXvt84Ji9\",\n \"townName\": \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\",\n \"country\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"buildingNumber\": \"QmUFpNkxdsVtebDSUz5eP51kzoysXmqj2gBgeH11PD7SVP\",\n \"postCode\": \"QmTJsK3sc3fPEVwvAp97UUiVoFhjzQhYX3sCda1JxuCnXj\",\n \"addressType\": \"Qmdr9LcChZsoivS6uAhe7Qk7cGLDAx73wBZTVvq4WoU71H\",\n \"department\": \"QmN7fb65x5MyA7RKyhbXaUKvJ7U4Y9eqpEZTmJYpNyEG8\",\n \"subDepartment\": \"QmTkfyGh54tXNqFxyEGK9NyTJZYpQ6RZ9zpNykxykME8s\",\n \"buildingName\": \"QmXJfGk85t6RKyhbXaEK9Nz4MEeMKypq6EY9zpJyC9nM9\",\n \"floor\": \"QmZP5G7fhZpMyQxXnT9KyR6ybXaEM9zpJy4ME9MkTJGE1\",\n \"postBox\": \"QmTkfYRGK54xFqXyJYNZyE9kY9zpMKytJnXy5z9EME9sJ\",\n \"room\": \"QmRYXnT9KyhbXaEMZpMyxMkZ9zpYNYTJ4ME5kCGE7fhMJ\",\n \"townLocationName\": \"QmNpZTyXJXnT9K6EYZpQxYNYMkC5p4kGEfhnkMJzpYT9Jm\",\n \"districtName\": \"QmT9p6ERKyNYXnTyhbpMYJ4zpYT9kMJZT9QmEMGZ5kMhCy\",\n \"countrySubDivision\": \"QmK9yTbXaZpMYJYTYp6NT9QmEMGZT9p9kMJfhyGE4Z7k5C\",\n \"addressLine\": [\n \"QmNp9kMjfhGZ5kMJzpNYXZTy6NQmZYEMGZ4kZT9Y6pNYT\"\n ]\n }\n ],\n \"nationalIdentification\": {\n \"countryOfIssue\": \"QmRGHdoxQfSi6tevyvaYGzs8BVStfqJqEyrMYqUfzXxkmm\",\n \"nationalIdentifier\": \"QmdR6qLnZ7Kwf5cBaXG8QFQenEvRg9JNZeoPranVuGd63z\",\n \"nationalIdentifierType\": \"QmUKTg3aFJFhMz1o9gPqA3MgTRwd2LvDLwWTPHYUoMEYVi\",\n \"registrationAuthority\": \"QmV9KJMyT9RJzpYfhME5xNCZ4G67fEkzTpRMyJzp9kTNYk\"\n },\n \"customerIdentification\": \"QmRY9AA4Uit2JRTxDzfzshrJdTK86Kf5HriA3dXDnihDmy\",\n \"customerNumber\": \"QmXvyML3AJUFpBbJqL5NVp7Vn7xNkuedTsSMk93duLCNW8\",\n \"countryOfRegistration\": \"QmeoTk6UPruEAYNbJEAHdQYc53ap9BXmpnPMcuvs8wutdr\"\n }\n }\n ],\n \"accountNumber\": [\n \"QmNkEt9VdnhjefQMXo3ZaZAs765ugoWiazaqcY9skHMjCt\"\n ]\n },\n \"pii_url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"isValid": true,
"type": "TRAVELRULE",
"beneficiaryAddressType": "UNKNOWN",
"addressSource": "UNKNOWN",
"beneficiaryVASPdid": "did:ethr:0x46a7ed5813ce735387df2bfb245bd7722e0de992",
"beneficiaryVASPname": "Fireblocks",
"warnings": [
"optional-beneficiaryAccountNumber"
]
}{
"message": "<string>",
"code": 123
}