API reference
Stores API
The Stores API allows you to manage stores within your Zentact account. You can create, retrieve, and update stores programmatically.
Authentication
After configuring an API key in the Zentact admin, include it in requests by adding an X-API-Key header. For example:
curl https://test.api.zentact.com/api/v1/stores
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
Update store
PATCH /api/v1/stores/ST32962227727Z5LXVJ65G7ZL
Required Parameters
- splitConfigurationGroupId (string): The ID of the transaction fee that will be assigned to the store.
Request
{
"splitConfigurationGroupId": "SPTR4516P4E5U"
}
Response
{
"status": "ok",
"data": {
"merchantAccountId": "MERYVF6TS47YS",
"storeId": "ST32962227727Z5LXVJ65G7ZL",
"splitConfigurationGroupId": "SPTR4516P4E5U"
}
}