Hanzo
OpenapiCommerce

Payment-provider webhook intake for settlement and subscription lifecycle events

Accepts a payment provider's event, verifies it, records it for audit, and applies subscription lifecycle changes to the matching local row.

POST /v1/commerce/webhooks/{provider}

Addresshttps://api.hanzo.ai/v1/commerce/webhooks/{provider}
MethodPOST
Operationpost_commerce_webhooks_by_provider
AuthAuthorization: Bearer $HANZO_API_KEY

Accepts a payment provider's event, verifies it, records it for audit, and applies subscription lifecycle changes to the matching local row. There is no bearer here and there cannot be: the provider's SIGNATURE over the body IS the authentication, so a request with no recognized signature header is 400 and one whose signature does not verify is 401. The provider path segment is only a hint for dashboard configuration — verification picks the processor regardless of what the URL says. Redelivery is safe: an event id already recorded is acknowledged as a duplicate without re-applying any side effect, which matters because providers retry for days until they see a 2xx.

Request

1 field.

FieldInTypeRequiredDescription
providerpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Commerce API · All Hanzo APIs · Interactive reference

How is this guide?

On this page