POST / (Step 2 - PII Callback)
Version: 3.0.0
Url
https://{VASP_SERVICE_URL}/
GTR will callback you and inform you the PII, please verify the PII and return by the structure of RegularizeCallbackVerifyPIIResponse
Authentication
bearerAuth(http)
Scheme: bearer
Bearer Format: JWT
Path Parameters
No path parameters
Query Parameters
No query parameters
Request Body (Required)
- Schema
- Example
{
"beneficiaryVasp": "string",
"requestId": "string",
"invokeVaspCode": "Originator VASP Code 1",
"callbackData": {
"piiSpecVersion": "string",
"beneficiaryVasp": "Beneficiary VASP Code 1",
"initiatorExpectVerifyFields": [
[
"LICENSE_NUMBER_US_CA",
"NAME",
"LOCAL_NAME",
"PLACE_OF_BIRTH",
"DATE_OF_BIRTH"
]
],
"travelruleId": "string",
"emptyPiiSchema": "{\"ivms101\":{\"OriginatingVASP\":...}}",
"txId": "string",
"originatorVasp": "Originator VASP Code 1",
"receiverPublicKey": "Receiver VASP Public Key / Your Public Key",
"network": "ETH,BTC...",
"hashSalt": "string",
"fiatName": "EUR,USD,USDT,FDUSD...",
"requestId": "string",
"beneficiaryVaspName": "Beneficiary VASP Name 1",
"fiatPrice": "339.5",
"tag": "memo:[account_id in service]",
"beneficiaryPublicKey": "Beneficiary VASP 1 Public Key",
"verificationDirection": "1 // 1: RECEIVER TO SENDER (YOU AS ORIGINATOR) CHECK, 2: SENDER TO RECEIVER (YOU AS BENEFICIARY) CHECK",
"initiatorVasp": "Initiator VASP Code",
"encryptedPayload": "[Curve 25519 Encrypted Payload] The encrypted PII info sent from originating VASP, the payload schema JSON should follow IVMS-101. And the payload is encrypted by Curve 25519 algorithm, which need your private key and originating vasp's public key to decrypt.",
"ticker": "USDT,FDUSD...",
"address": "Beneficiary Wallet Address / Account Address, mostly using hash id text, not a block id number",
"lawThresholdEnabled": true,
"receiverVasp": "Receiver VASP Code / Your VASP COde",
"originatorPublicKey": "Originator VASP 1 Public Key",
"secretType": 1,
"originatorVaspName": "Originator VASP Name 1",
"initiatorPublicKey": "Initiator VASP Public Key"
},
"originatorVasp": "string",
"callbackType": 4
}
Responses
Status 200
Return the verify status, and please add beneficiaryVasp (you) into the decrypted ivms101, and encrypt by originator public key with cureve25519 and return back to GTR. (for other verify status, for example: verifyStatus code: 100001 (verification failed, please add the non-privacy reason to verifyMessage)
JSON Content
- Schema
- Example
{
"data": {
"hashSalt": "string",
"encryptedPayload": "[Curve25519 encrypted payload], The encrypted PII info sent from beneficiary VASP, they may brings the beneficiaryVasp to ivms101",
"verifyFields": [
{
"type": "NAME",
"message": "ok",
"status": 1
}
],
"requestId": "string",
"secretType": 1,
"emptyPiiSchema": "{\"ivms101\":{\"OriginatingVASP\":...}}",
"originatorPublicKey": "[Originator curve25519 public key]",
"initiatorPublicKey": "[initiator curve25519 public key]",
"beneficiaryPublicKey": "[Your curve25519 public key]",
"receiverPublicKey": "[Your curve25519 public key]"
},
"verifyStatus": 0,
"verifyMessage": "string"
}