Source type
Square Source Configuration
Square sources receive payment, order, customer, inventory, and subscription events with Square signature verification.
Square configuration
Create a Square source, keep POST and PUT and PATCH and DELETE enabled, and provide the configured Signature Key values for provider signature. FastHook uses these settings to validate each Square delivery before it enters the routing workflow.
Source TypeSQUARE
Allowed methodsPOST, PUT, PATCH, DELETE
AuthenticationProvider signature
Credential fieldsSignature Key
{
"type": "SQUARE",
"config": {
"auth_type": "PROVIDER_SIGNATURE",
"auth": {
"provider": "SQUARE",
"webhook_signing_secret": "provider-secret"
},
"allowed_http_methods": ["POST","PUT","PATCH","DELETE"]
}
}Square request contract
FastHook signs request URL + raw body with HMAC-SHA256 and compares the base64 digest to x-square-hmacsha256-signature.
Square headers
Preserve x-square-hmacsha256-signature when sending Square test deliveries. FastHook evaluates this request context before accepting the payload, so missing or modified values remain visible as rejected requests instead of routed events.
x-square-hmacsha256-signatureBase64 HMAC-SHA256 signature over notification URL + body.
Square setup
- Use the generated FastHook Source URL as the Square notification URL.
- Paste the Square signature key into FastHook.
- Do not add or remove query parameters after Square is configured because the URL is part of the signature input.