Defines the fields that are included in the response body of a request to the UpdateWebhookSubscriptionSignatureKey endpoint.
Note: If there are errors processing the request, the Subscription is not present.
UpdateWebhookSubscriptionSignatureKeyResponse
Name | Type | Tags | Description | Getter |
---|---|---|---|---|
Errors |
List<Error> |
Optional | Information on errors encountered during the request. | List getErrors() |
SignatureKey |
String |
Optional | The new Square-generated signature key used to validate the origin of the webhook event. | String getSignatureKey() |
{
"signature_key": "1k9bIJKCeTmSQwyagtNRLg",
"errors": [
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "INVALID_EXPIRATION",
"detail": "detail6",
"field": "field4"
},
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "INVALID_EXPIRATION",
"detail": "detail6",
"field": "field4"
},
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "INVALID_EXPIRATION",
"detail": "detail6",
"field": "field4"
}
]
}