Headers
The signature of the webhook request with the webhook version prepended
Example:
"v1,BASE64ENCODEDSIGNATURE"
The timestamp in seconds since the Unix epoch that the webhook was sent at on the server
Example:
"1727606400"
Body
application/json
Send when a Invoice is Created
A unique ID for every single webhook request
Example:
"msg_xxxxxxxxxxxxxxxxxxxxxxxx"
The API version for this webhook
Allowed value:
"v1"
Example:
"v1"
The timestamp in seconds since the Unix epoch that the webhook was sent at on the server
Example:
"1727606400"
The webhook event type
Allowed value:
"invoice.created"
Example:
"invoice.created"
A statement that defines an amount due by a customer.
Response
200
Return a 200 status to indicate that the data was received successfully