Webhooks
Receive real-time notifications for invoice events
Webhook events
Gwop sends webhook events when invoice status changes:
Headers
Every webhook request includes these headers:
Payload
Webhook payloads use snake_case field names (the wire format), not the camelCase used in SDK responses.
invoice.paid data fields
amount_usdc in webhooks is a string, not a number. This is different from REST API responses where it’s a number. Parse it: parseInt(data.amount_usdc, 10).