VerifyPIIResponse
- Schema
- Example
encryptedPayload
OptionalString
initiatorPublicKey
RequiredString
initiatorPublicKey here is your public key
Example
0szeNNub/IGoe623JCGD4B4bH8I94FozOeZjv1dKlXQ=
[+]piiSecuredInfo
RequiredObject
PiiSecuredInfo
Example
(Refer to inner structure)
preflightCheckMessage
OptionalString
preflight check message is to let you know whether the counter-party vasp will accept your request or not *This is only suitable in before-on-chain scenario. *And also not mandatory for check the result of pre-flight
Example
(ANY MESSAGE)
preflightCheckStatus
OptionalString
PreflightCheckStatusEnum
Example
ACCEPTED
receiverPublicKey
RequiredString
receiverPublicKey is the counter-party VASP's public key in Curve25519, you can get this public key by vaspDetail api or vaspList api. *If you're using newest version, please mind that this field is for curve25519 format-key, using PiiSecuredInfo structure, but also fill the value same as piiSecuredInfo here
Example
0szeNNub/IGoe623JCGD4B4bH8I94FozOeZjv1dKlXQ=
requestId
RequiredString
requestId is the unique id for all transaction, the same travelrule-request invoke process flow should be using same requestId, the recommend format is: "[YOUR_VASP_NAME]-[UUIDv4]"
Example
testexchange-189e9948-64c7-4a6c-bb4f-859c173321c5
[+]verifyFields
RequiredArray<Object>
the verified fields
Example
[
{
"type": "111001",
"status": 1,
"message": "beneficiary legal person name match"
},
{
"type": "110026",
"status": 2,
"message": "beneficiary natural person name mismatch"
},
{
"type": "110025",
"status": 2,
"message": "beneficiary natural person date of birth mismatch"
}
]
{
"encryptedPayload": "string",
"verifyFields": "[\n {\n \"type\": \"111001\",\n \"status\": 1,\n \"message\": \"beneficiary legal person name match\"\n },\n {\n \"type\": \"110026\",\n \"status\": 2,\n \"message\": \"beneficiary natural person name mismatch\"\n },\n {\n \"type\": \"110025\",\n \"status\": 2,\n \"message\": \"beneficiary natural person date of birth mismatch\"\n }\n]",
"requestId": "testexchange-189e9948-64c7-4a6c-bb4f-859c173321c5",
"initiatorPublicKey": "0szeNNub/IGoe623JCGD4B4bH8I94FozOeZjv1dKlXQ=",
"piiSecuredInfo": "(Refer to inner structure)",
"preflightCheckStatus": "ACCEPTED",
"receiverPublicKey": "0szeNNub/IGoe623JCGD4B4bH8I94FozOeZjv1dKlXQ=",
"preflightCheckMessage": "(ANY MESSAGE)"
}