Passer au contenu

Invoice Received
Webhook

RequĂȘte

Triggered when an invoice is received.

En-tĂȘtes
X-Webhook-Signaturestring(X-Webhook-Signature)obligatoire

HMAC-SHA256 signature of the request body using your webhook secret.

Corpsapplication/jsonobligatoire
event_idstring(Event Id)obligatoire

Unique event identifier

timestampstring, (date-time)(Timestamp)obligatoire

Event timestamp

sponsor_idstring(Sponsor Id)obligatoire

Sponsor ID

event_typestring(Event Type)obligatoire
Valeur:"invoice.received"
dataobject(InvoiceReceivedData)obligatoire

Data payload for invoice.received webhook event.

Payload
{ "event_id": "evt_abc123def456", "timestamp": "2019-08-24T14:15:22Z", "sponsor_id": "sandbox-1234/5678", "event_type": "invoice.received", "data": { "invoice_id": "42", "direction": "INCOMING", "original_format": "UBL", "sender_id": "0225:884553033", "recipient_id": "0225:123456789", "client_id": "client_xyz789" } }

Réponses

Successful Response

Corpsapplication/json
any
Response
// Aucun exemple de réponse