Create webhook endpoint

Creates a new webhook endpoint which Cash App can send events to. <Note title="Note"> Webhook events will not be successfully delivered for new domains until the new domain is allow-listed. New domains must be manually reviewed and allow-listed. It will typically take 1 business day to allow-list new domains. </Note> Scopes: `WEBHOOK_CONFIG_WRITE`

Headers

AcceptstringRequired
X-RegionstringRequired
X-SignaturestringRequired
User-AgentstringRequired

Request

This endpoint expects an object.
idempotency_keystringRequired>=1 character<=64 characters

A unique identifier which can be used by Cash App to de-duplicate retries of this request, making it idempotent. Learn more about idempotency in the API.

webhook_endpointobjectRequired

Response

Created
webhook_endpointobject
The events will be sent to this webhook endpoint.

Errors