inChurch
Webhooks

Payload

Envelope

All the event requests will be sent following the same envelope:

JSONCode
{ "id": "78f2a1b4-2d3e-4c5a-9f1b-123456abcdef", "event": "donation.created", "timestamp": "2023-12-15T14:23:45Z", "data": { } }

Examples

Person Created

//to-do: acertar exemplo

JSONCode
{ "id": "78f2a1b4-2d3e-4c5a-9f1b-123456abcdef", "event": "person.created", "timestamp": "2023-12-15T14:23:45Z", "data": { "donation_id": "d8f13a7b-2345-6789-abcd-ef0123456789", "member_id": "c5e09a21-9876-4f3a-b123-abcdef123456", "amount": 15000, "currency": "BRL", "payment_method": "pix", "status": "pending" } }
Last modified on