PUT /self/{shopId}/settings/payments/square
PUT
/self/{shopId}/settings/payments/square
Path parameters
-
shopId integer(int32) Required
Body
-
apiKey string Required
Minimum length is
1
. -
appId string Required
Minimum length is
1
. -
locationId string Required
Minimum length is
1
. -
gatewayRules object Required
PUT /self/{shopId}/settings/payments/square
curl \
-X PUT https://dev.sellpass.io/self/{shopId}/settings/payments/square \
-H "Authorization: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"apiKey":"string","appId":"string","locationId":"string","gatewayRules":{"blockVpn":true}}'
Request example
{
"apiKey": "string",
"appId": "string",
"locationId": "string",
"gatewayRules": {
"blockVpn": true
}
}