Link Merchant Event
Overview
/api/webhook/v1/thirdpartywebhook
Request Model
SupplierLinkedDto definition:
Property | Type | Description |
---|---|---|
thirdPartyApiKeys | ThirdPartyApiKeysDto | Merchant provider public/secret keys |
storeId | string | Zid Store ID |
ThirdPartyApiKeysDto definition:
Property | Type |
---|---|
Publishable_Key | string |
Secret_Key | string |
Link Merchant Sample Code
{
"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"
}
}
}