Create an outbound webhook subscription
Webhooks
Create an outbound webhook subscription
Subscribe an HTTPS endpoint to one or more event types. Caratuva POSTs each matching event signed with a per-subscription HMAC secret (the x-caratuva-signature header). The signing secret is returned ONCE in this response and is never retrievable again — persist it now so you can verify delivery signatures; if you lose it, rotate the secret to mint a new one.
POST
Create an outbound webhook subscription
Authorizations
Body
application/json
Required array length:
1 - 32 elementsAvailable options:
invoice.created, invoice.approved, invoice.buyer_invited, invoice.buyer_kyc_approved, invoice.buyer_kyc_rejected, invoice.on_ramp_started, invoice.fiat_received, invoice.on_chain_confirmed, invoice.offramp_initiated, invoice.settled, invoice.offramp_failed, invoice.failed, invoice.cancelled, invoice.expired, payment_intent.created, payment_intent.buyer_kyc_approved, payment_intent.buyer_kyc_rejected, payment_intent.on_chain_confirmed, payment_intent.settled, payment_intent.failed, payment_intent.cancelled, payment_intent.expired, connected_account.created, connected_account.kyb_approved, connected_account.kyb_rejected, connected_account.ready_to_collect