Step 6) oVASP updates KYC template with signature details and encrypted KYC/IVMS

If preferred, the oVASP could wait to receive the bVASP’s KYC/IVMS data first. In this example, the oVASP includes their encrypted KYC/IVMS data in their first response back to the bVASP.
endpoint
`POST` {{baseUrl}}/api/v1/server/create_kyc_template
body
"attestation_hash": "0xff447fc35f7eee4245c8c4028aa67c86e225f30864a1dab3f0ac011e6e919f43"
"user_account": "0x96ee3769a2422215626b8a32594e8fbd5dd1b61a"
"user_public_key": "0x0423f6bd02dac58e22f493c63a347922fedfb521a4d9908836c0194e364c018552bc8e1b78e0868f1249c37d199690780a9ba635b49ecd295c086cab02270364fa"
"user_signature": "{"r":"0x27a0f86e6afdfb93e8f5e7c6bc48d55af0fb43f4a888676c86e61a7db808cca7","s":"0x2487c6da94c174831a4ce28256488288743d29e78eafa5d57c319a9badcb4bc8","v":"0x25"}"
"user_signature_hash": "0x7ec005c40fadb64f4180dcc14d9f5927f649096a08478a4a5a112a3aa77ca549"
"ivms_encrypt": "BGqavksg9ZzUjsAr8AcgxQQ3BCNqBdijdk5kv4YJzDVkb7l5386Z59VGGLJbjwX4oxmrAVk4FILLdtwXczFVk/Lz5jgseoidTxubmIyZ5XN6xGFBgRvYim68G0WQarY/GEOTlMIfyWaFIofLtG3rAHkRIn5aIJnxbGT4wTrwZM6gNcXiS07rHWlDJmlIL+XOm/n1WU8D3oA="
"coin_transaction_hash": (optional)
"coin_transaction_value": (optional)
"ivms_state_code": (optional)
response (200 OK)
{
    "id": 13,
    "attestation_hash": "0xff447fc35f7eee4245c8c4028aa67c86e225f30864a1dab3f0ac011e6e919f43",
    "beneficiary_ta_address": "0x1358D8FF6bF65002d051c059b95E60f54007516e",
    "beneficiary_ta_public_key": "0e67d158116a7c330953bde9d53dac5db35a7af64337f5b3de5246ab576d98e4d2f32cb96e0b291332573eed2884edb0a626e58525e7d89ce1ecb1dd50d9ee89",
    "beneficiary_user_address": "0x279623a9378725fe271dccd8a390228f81c87a5e",
    "beneficiary_user_public_key": "0x0409e8d4a705e9dff75c5d082b601a8326b77c61b763df76ec242f24b85abd070fcada35335033ec0bfe8308dfcf0ea551b0193836219bbb535f059ade08140772",
    "beneficiary_ta_signature_hash": "0x0b709dd4809f36a22fe48250b24a5e41e8aea491bace26627f5c68ea9b4fad3f",
    "beneficiary_ta_signature": "{\"r\":\"0x221ad084d6a3eaa93446508033ed746a831d5fd31748dfb5a8eb1c850555218e\",\"s\":\"0x0e731078734180087e61fcd7c9248e8172608c2a645a438c379fc08aedbbaa70\",\"v\":\"0x26\"}",
    "crypto_address_type": null,
    "crypto_address": null,
    "crypto_public_key": null,
    "crypto_signature_hash": null,
    "crypto_signature": null,
    "sender_ta_address": "0xF937c412e7172c2c8978cEdD850DDD08e0D95e60",
    "sender_ta_public_key": "eb7a66b64a0c04362aa8384d28068106f0e41d24adf507afcc64e3d5b756aa2cd6dd33fdf1a5db36e63fffd37fa654a3d1cb6778bcf6de0352cc0e6e2f323209",
    "sender_user_address": "0x96ee3769a2422215626b8a32594e8fbd5dd1b61a",
    "sender_user_public_key": "0x0423f6bd02dac58e22f493c63a347922fedfb521a4d9908836c0194e364c018552bc8e1b78e0868f1249c37d199690780a9ba635b49ecd295c086cab02270364fa",
    "sender_ta_signature_hash": "0x0b709dd4809f36a22fe48250b24a5e41e8aea491bace26627f5c68ea9b4fad3f",
    "sender_ta_signature": "{\"r\":\"0x12fe4dc19292e0efef7119193e33e4a92f9e859fe5850c75b6a5dd64c7b9b383\",\"s\":\"0x549b32f75b25aa8233f633dfef51b3353db4c499e119f10d44e24d15e5cd054b\",\"v\":\"0x26\"}",
    "payload": null,
    "beneficiary_kyc": null,
    "sender_kyc": "BGqavksg9ZzUjsAr8AcgxQQ3BCNqBdijdk5kv4YJzDVkb7l5386Z59VGGLJbjwX4oxmrAVk4FILLdtwXczFVk/Lz5jgseoidTxubmIyZ5XN6xGFBgRvYim68G0WQarY/GEOTlMIfyWaFIofLtG3rAHkRIn5aIJnxbGT4wTrwZM6gNcXiS07rHWlDJmlIL+XOm/n1WU8D3oA=",
    "created_at": "2022-06-27T07:44:55.000000Z",
    "updated_at": "2022-06-27T07:51:06.000000Z",
    "kyc_template_state_id": null,
    "beneficiary_user_signature_hash": "0x7ec005c40fadb64f4180dcc14d9f5927f649096a08478a4a5a112a3aa77ca549",
    "beneficiary_user_signature": "{\"r\":\"0x8edb489caf90ea1ec47b185099825b763b0dbfee72cf0685c0662fe96b178dd5\",\"s\":\"0x3eb2f91b549512aeb8438fac961cca34c47873c11ce17f383f54c4346458b149\",\"v\":\"0x26\"}",
    "sender_user_signature_hash": "0x7ec005c40fadb64f4180dcc14d9f5927f649096a08478a4a5a112a3aa77ca549",
    "sender_user_signature": "{\"r\":\"0x27a0f86e6afdfb93e8f5e7c6bc48d55af0fb43f4a888676c86e61a7db808cca7\",\"s\":\"0x2487c6da94c174831a4ce28256488288743d29e78eafa5d57c319a9badcb4bc8\",\"v\":\"0x25\"}",
    "beneficiary_ta_url": "https://ks-node-4.veriscope.network/kyc-template",
    "sender_ta_url": "https://ks-node-3.veriscope.network/kyc-template",
    "beneficiary_kyc_decrypt": null,
    "sender_kyc_decrypt": null,
    "coin_blockchain": "ETH",
    "coin_token": "USDC",
    "coin_address": "0x5481fabc980af705c556517426c81a963af5657d",
    "coin_memo": "end-to-end walkthrough",
    "coin_transaction_hash": "",
    "coin_transaction_value": "",
    "status": "OR_TA_VERIFIED",
    "webhook_status": "OR_DATA_REQ_RECEIVED",
    "ivms_status": "START"
}
sender_kyc contains the ivms_encrypt from the earlier step.

Corresponding webhook events

eventType
"eventType": "BE_KYC_REQ"
body
{
    "eventType": "BE_KYC_REQ",
    "kycTemplate": {
        "AttestationHash": "0xff447fc35f7eee4245c8c4028aa67c86e225f30864a1dab3f0ac011e6e919f43",
        "BeneficiaryTAAddress": "0x1358D8FF6bF65002d051c059b95E60f54007516e",
        "BeneficiaryTAPublicKey": "0e67d158116a7c330953bde9d53dac5db35a7af64337f5b3de5246ab576d98e4d2f32cb96e0b291332573eed2884edb0a626e58525e7d89ce1ecb1dd50d9ee89",
        "BeneficiaryUserAddress": "0x279623a9378725fe271dccd8a390228f81c87a5e",
        "BeneficiaryUserPublicKey": "0x0409e8d4a705e9dff75c5d082b601a8326b77c61b763df76ec242f24b85abd070fcada35335033ec0bfe8308dfcf0ea551b0193836219bbb535f059ade08140772",
        "BeneficiaryTASignatureHash": "0x0b709dd4809f36a22fe48250b24a5e41e8aea491bace26627f5c68ea9b4fad3f",
        "BeneficiaryTASignature": {
            "r": "0x221ad084d6a3eaa93446508033ed746a831d5fd31748dfb5a8eb1c850555218e",
            "s": "0x0e731078734180087e61fcd7c9248e8172608c2a645a438c379fc08aedbbaa70",
            "v": "0x26"
        },
        "BeneficiaryUserSignatureHash": "0x7ec005c40fadb64f4180dcc14d9f5927f649096a08478a4a5a112a3aa77ca549",
        "BeneficiaryUserSignature": {
            "r": "0x8edb489caf90ea1ec47b185099825b763b0dbfee72cf0685c0662fe96b178dd5",
            "s": "0x3eb2f91b549512aeb8438fac961cca34c47873c11ce17f383f54c4346458b149",
            "v": "0x26"
        },
        "CoinBlockchain": "ETH",
        "CoinToken": "USDC",
        "CoinAddress": "0x5481fabc980af705c556517426c81a963af5657d",
        "CoinMemo": "end-to-end walkthrough",
        "CoinTransactionHash": null,
        "CoinTransactionValue": null,
        "SenderTAAddress": "0xf937c412e7172c2c8978cedd850ddd08e0d95e60",
        "SenderTAPublicKey": "eb7a66b64a0c04362aa8384d28068106f0e41d24adf507afcc64e3d5b756aa2cd6dd33fdf1a5db36e63fffd37fa654a3d1cb6778bcf6de0352cc0e6e2f323209",
        "SenderUserAddress": "0x96ee3769a2422215626b8a32594e8fbd5dd1b61a",
        "SenderUserPublicKey": "0x0423f6bd02dac58e22f493c63a347922fedfb521a4d9908836c0194e364c018552bc8e1b78e0868f1249c37d199690780a9ba635b49ecd295c086cab02270364fa",
        "SenderTASignatureHash": "0x0b709dd4809f36a22fe48250b24a5e41e8aea491bace26627f5c68ea9b4fad3f",
        "SenderTASignature": {
            "r": "0x12fe4dc19292e0efef7119193e33e4a92f9e859fe5850c75b6a5dd64c7b9b383",
            "s": "0x549b32f75b25aa8233f633dfef51b3353db4c499e119f10d44e24d15e5cd054b",
            "v": "0x26"
        },
        "SenderUserSignatureHash": "0x7ec005c40fadb64f4180dcc14d9f5927f649096a08478a4a5a112a3aa77ca549",
        "SenderUserSignature": {
            "r": "0x27a0f86e6afdfb93e8f5e7c6bc48d55af0fb43f4a888676c86e61a7db808cca7",
            "s": "0x2487c6da94c174831a4ce28256488288743d29e78eafa5d57c319a9badcb4bc8",
            "v": "0x25"
        },
        "BeneficiaryKYC": null,
        "SenderKYC": "BGqavksg9ZzUjsAr8AcgxQQ3BCNqBdijdk5kv4YJzDVkb7l5386Z59VGGLJbjwX4oxmrAVk4FILLdtwXczFVk/Lz5jgseoidTxubmIyZ5XN6xGFBgRvYim68G0WQarY/GEOTlMIfyWaFIofLtG3rAHkRIn5aIJnxbGT4wTrwZM6gNcXiS07rHWlDJmlIL+XOm/n1WU8D3oA=",
        "BeneficiaryTAUrl": "https://ks-node-4.veriscope.network/kyc-template",
        "SenderTAUrl": "https://ks-node-3.veriscope.network/kyc-template"
    }
}
eventType
"eventType": "OR_ENC"
body
{
    "eventType": "OR_ENC",
    "kycTemplate": {
        "AttestationHash": "0xff447fc35f7eee4245c8c4028aa67c86e225f30864a1dab3f0ac011e6e919f43",
        "BeneficiaryTAAddress": "0x1358D8FF6bF65002d051c059b95E60f54007516e",
        "BeneficiaryTAPublicKey": "0e67d158116a7c330953bde9d53dac5db35a7af64337f5b3de5246ab576d98e4d2f32cb96e0b291332573eed2884edb0a626e58525e7d89ce1ecb1dd50d9ee89",
        "BeneficiaryUserAddress": "0x279623a9378725fe271dccd8a390228f81c87a5e",
        "BeneficiaryUserPublicKey": "0x0409e8d4a705e9dff75c5d082b601a8326b77c61b763df76ec242f24b85abd070fcada35335033ec0bfe8308dfcf0ea551b0193836219bbb535f059ade08140772",
        "BeneficiaryTASignatureHash": "0x0b709dd4809f36a22fe48250b24a5e41e8aea491bace26627f5c68ea9b4fad3f",
        "BeneficiaryTASignature": {
            "r": "0x221ad084d6a3eaa93446508033ed746a831d5fd31748dfb5a8eb1c850555218e",
            "s": "0x0e731078734180087e61fcd7c9248e8172608c2a645a438c379fc08aedbbaa70",
            "v": "0x26"
        },
        "BeneficiaryUserSignatureHash": "0x7ec005c40fadb64f4180dcc14d9f5927f649096a08478a4a5a112a3aa77ca549",
        "BeneficiaryUserSignature": {
            "r": "0x8edb489caf90ea1ec47b185099825b763b0dbfee72cf0685c0662fe96b178dd5",
            "s": "0x3eb2f91b549512aeb8438fac961cca34c47873c11ce17f383f54c4346458b149",
            "v": "0x26"
        },
        "CoinBlockchain": "ETH",
        "CoinToken": "USDC",
        "CoinAddress": "0x5481fabc980af705c556517426c81a963af5657d",
        "CoinMemo": "end-to-end walkthrough",
        "CoinTransactionHash": null,
        "CoinTransactionValue": null,
        "SenderTAAddress": "0xf937c412e7172c2c8978cedd850ddd08e0d95e60",
        "SenderTAPublicKey": "eb7a66b64a0c04362aa8384d28068106f0e41d24adf507afcc64e3d5b756aa2cd6dd33fdf1a5db36e63fffd37fa654a3d1cb6778bcf6de0352cc0e6e2f323209",
        "SenderUserAddress": "0x96ee3769a2422215626b8a32594e8fbd5dd1b61a",
        "SenderUserPublicKey": "0x0423f6bd02dac58e22f493c63a347922fedfb521a4d9908836c0194e364c018552bc8e1b78e0868f1249c37d199690780a9ba635b49ecd295c086cab02270364fa",
        "SenderTASignatureHash": "0x0b709dd4809f36a22fe48250b24a5e41e8aea491bace26627f5c68ea9b4fad3f",
        "SenderTASignature": {
            "r": "0x12fe4dc19292e0efef7119193e33e4a92f9e859fe5850c75b6a5dd64c7b9b383",
            "s": "0x549b32f75b25aa8233f633dfef51b3353db4c499e119f10d44e24d15e5cd054b",
            "v": "0x26"
        },
        "SenderUserSignatureHash": "0x7ec005c40fadb64f4180dcc14d9f5927f649096a08478a4a5a112a3aa77ca549",
        "SenderUserSignature": {
            "r": "0x27a0f86e6afdfb93e8f5e7c6bc48d55af0fb43f4a888676c86e61a7db808cca7",
            "s": "0x2487c6da94c174831a4ce28256488288743d29e78eafa5d57c319a9badcb4bc8",
            "v": "0x25"
        },
        "BeneficiaryKYC": null,
        "SenderKYC": "BGqavksg9ZzUjsAr8AcgxQQ3BCNqBdijdk5kv4YJzDVkb7l5386Z59VGGLJbjwX4oxmrAVk4FILLdtwXczFVk/Lz5jgseoidTxubmIyZ5XN6xGFBgRvYim68G0WQarY/GEOTlMIfyWaFIofLtG3rAHkRIn5aIJnxbGT4wTrwZM6gNcXiS07rHWlDJmlIL+XOm/n1WU8D3oA=",
        "BeneficiaryTAUrl": "https://ks-node-4.veriscope.network/kyc-template",
        "SenderTAUrl": "https://ks-node-3.veriscope.network/kyc-template"
    }
}
Given the oVASP responded with KYC/IVMS data included, the OR_KYC_REQ webhook event is not fired at the oVASP.