Documentation Index
Fetch the complete documentation index at: https://docs.yativo.com/llms.txt
Use this file to discover all available pages before exploring further.
Setup
Yativo sends webhook notifications to your registered HTTPS endpoint via HTTP POST whenever a program event occurs. Each request is signed with HMAC-SHA256 so you can verify it genuinely came from Yativo. You can subscribe to events and manage your webhook endpoints via the Webhooks API.Event categories
| Category | Events |
|---|---|
| Master Wallet | Deposits, token swaps, customer funding, withdrawals |
| Customer Funding | Funds received into a customer’s card wallet |
| Card Lifecycle | Card created, activated, frozen, unfrozen, voided, lost, stolen, cancelled, deactivated |
| Card Transactions | Authorization, settlement, decline, reversal, refund |
Event reference
| Event | Trigger |
|---|---|
master_wallet.deposit | Funds received into your master wallet |
master_wallet.swap | Token swap submitted (e.g. USD → EUR) |
master_wallet.customer_funded | Master wallet debited to fund a customer |
master_wallet.withdrawal | Withdrawal initiated from master wallet |
customer.funded | Customer’s card wallet received funds |
customer.balance.updated | Customer’s card balance changed (after spend, top-up, or authorization) |
card.created | New card issued to a customer |
card.activated | Card activated |
card.frozen | Card frozen |
card.unfrozen | Card unfrozen |
card.voided | Card voided (permanently disabled) |
card.lost | Card reported lost |
card.stolen | Card reported stolen |
card.cancelled | Card cancelled |
card.deactivated | Card deactivated |
transaction.authorized | Card transaction authorized |
transaction.settled | Transaction settled |
transaction.declined | Transaction declined |
transaction.reversed | Transaction reversed |
transaction.refund.created | Refund created |
Payload structure
All webhook events share a common envelope. Thedata object contains event-specific fields. The event type is also sent in the X-Yativo-Event request header.
Payload examples
master_wallet.deposit
Fired when funds arrive in your master wallet. The status field is processing while the settlement is in flight, and settled once confirmed.
master_wallet.swap
Fired when a token swap is submitted from your master wallet.
customer.funded
Fired when a customer’s card wallet has been credited.
card.frozen
Fired when a card is frozen, either by your program or by the customer.
customer.balance.updated
Fired whenever the card provider reports a balance change — after a purchase authorization, settlement, top-up, or reversal. Provides the full balance breakdown so you can update your UI in real time without polling.
transaction.authorized
Fired when a card transaction is authorized at the point of sale. A customer.balance.updated event typically follows immediately.
card.lost
Fired when a card is reported lost.
Signature verification
Every webhook request includes anX-Yativo-Signature header and an X-Yativo-Timestamp header. The event type is also in the X-Yativo-Event header and the unique delivery ID in X-Yativo-Delivery-Id. Verify signature and timestamp before processing the event.
The signature is computed over the entire JSON envelope (the object with id, type, created_at, and data).
Retry policy
Yativo retries failed webhook deliveries using exponential backoff. Respond with any HTTP2xx status code to acknowledge receipt and prevent retries. If your endpoint returns a non-2xx response or times out, Yativo will retry the delivery up to several times over the following hours.
To avoid processing duplicate events, use the top-level
id field (e.g. evt_1747058400000_abc123) as an idempotency key. You can also use the X-Yativo-Delivery-Id request header, which carries the same value.
