Callback Structure Explain
About
GTR uses the same API Endpoint (from your service) to process the Travel Rule verification. Please log in to the GTR dashboard to configure the Callback URL.
The outer payload will be like:
{
"requestId": "[REQUEST-ID]",
"invokeVaspCode": "[Invoker VASP Code]",
"originatorVasp": "[Originator VASP Code]",
"beneficiaryVasp": "[Beneficiary VASP Code]",
"callbackType": 0,
"callbackData": {
}
}
Parameter explanations are as follows:
requestId: the requestId from Initiator VASP. The same Travel Rule will use the same request ID. If you see any parameter namedrequestId, it refers to the same thing. We include it in the callback data for convenience.invokeVaspCode: who will receive this callback. This is useful if you have many local exchanges sharing the same API endpoint for management. You can recognize theinvokeVaspCodeto route traffic to the correct VASP logic.originatorVaspis the originator of the assets transfer directionbeneficiaryVaspis the beneficiary of the assets transfer directioncallbackTypeis the stage representation as a numeric IDcallbackDatais the dynamic structure that depends on the differentcallbackType