invoice_batch.created
A new invoice batch is created.
postAstalty sends a
POST to each webhook subscribed to this event.X-Astalty-SignaturestringrequiredHMAC-SHA256 of the raw request body, keyed with the webhook's signing secret and hex encoded. See Verifying the signature.
Payload
application/jsonidstring<uuid>requiredThe delivery ID. It stays the same across retries, so use it to ignore a delivery you have already processed.
event_typeenum<string>requiredThe event that occurred.
Available options:invoice_batch.createdresourceobjectrequiredThe record the event relates to.
▶Show 2 child attributesHide child attributes
idstring<uuid>requiredThe ID of the invoice batch.
typeenum<string>requiredAvailable options:invoice_batch
dataany[]requiredAlways empty for this event. Fetch the record from the API for its current details.
Return any 2xx status within 15 seconds to acknowledge the delivery. Anything else is retried up to 10 times over about 42 hours, so make your handler idempotent on the delivery id. See Retries and delivery.