Type Definitions
Type Definitions
Crypto Event Types
Deposit Events
Transaction Events
Card Events
IBAN Events
KYC Events
Webhook Payload Examples
All payloads share the same envelope structure:deposit.confirmed
transaction.failed
transaction.settled
iban.transfer.received
gas.low
Signature Verification
Every webhook delivery is signed with a timestamp to prevent replay attacks. Two headers are sent:
The HMAC is computed over
"${timestamp}.${JSON.stringify(payload)}":
Setting Up Webhooks
All events — deposits, swaps, card lifecycle, card transactions, customer funding — are delivered through a single webhook service. Register once atPOST /v1/webhook/create-webhook and subscribe to any combination of event types.
string
required
The HTTPS endpoint to receive events.
array
Event slugs to subscribe to. Pass
["*"] (or omit) to receive all events.string
Optional label for this subscription.
Response
List card webhooks
GET/yativo-card/webhooks
Get a card webhook (includes secret)
GET/yativo-card/webhooks/:webhookId
Update a card webhook
PUT/yativo-card/webhooks/:webhookId
"enabled": false to pause delivery without deleting the subscription.
Delete a card webhook
DELETE/yativo-card/webhooks/:webhookId
Rotate the signing secret
POST/yativo-card/webhooks/:webhookId/rotate-secret
Generates a new secret and invalidates the old one immediately.
Delivery history
GET/yativo-card/webhooks/:webhookId/deliveries
Query params: limit, offset, status, eventType
/yativo-card/webhooks/deliveries/all — All deliveries across all subscriptions.
Retry a failed delivery
POST/yativo-card/webhooks/deliveries/:deliveryId/retry

