- Merchant API
- Start Here 🚀
- Overview to Zid Apps
- Authorization
- Responses
- Webhooks
- Rate Limiting
- APIs
- Orders
- Reverse Orders
- Carts
- Products
- Inventories
- Shipping
- Marketing
- Gift Cards
- Coupons
- Bundle Offers
- Loyalty Program
- Customer Wallet
- Customer Points
- Loyalty Program Points per Order
- Store Loyalty Status
- Redemption Methods
- Cashback Rules
- Add Redemption to Cart
- Remove Redemption from Cart
- Info Page
- Loyalty Program Activation
- Loyalty Status
- Set Points Expiration
- Cashback Rule Method Update
- Cashback Rule Method Update Status
- Add Points Redemption Method
- Update Points Redemption Method
- Delete Points Redemption Method
- Toggle Redemption Method Status
- Show Loyalty Points Info for Specific Customer
- Customer Profile
- List Data
- Customer Points History
- Info Page - Managers
- Update Info Page
- Adjust Customer Points
- Customers
- Store Settings
- Countries and Cities
- Webhook
- Store Events
- Payment API
- Apps
- Themes
- 🚨 Important Update: Zid Themes
- Adding Video URL Feature to Third-Party Themes
- Landing Page Development
- Getting Started with Zid Themes
- Templates
- Settings Schema
- Code Snippets
- Zid Themes Library: API Integration
- Data Reference
- Themes CLI
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"
}
}
}