Authorization: No authentication required for this event (as it’s webhook-based and triggered by the provider).
curl --location --request POST 'https://api.zid.sa/v1/api/webhook/v1/thirdpartywebhook' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "merchant_linked",
"thirdPartyId": 1, // assigned to payment provider by ZidPay
"merchantId": "45cb5978-c6cd-4e34-bd93-de6bee9b3cae"
"data": {
"storeId": "123",
"thirdPartyApiKeys": {
"Publishable_Key": "pk_test_9a6Z61CUnM6nX4bStnNnZLnrKrbj2QK6xxscScDe",
"Secret_Key": "sk_test_aLdogZnphPpoqcka4Qf5hRPFdffGL4p8dwB1Scsa"
}
}
}'
{}