Billing Events
BILLING_DEPOSIT_CONFIRMED
Fired when a crypto deposit reaches 3 on-chain confirmations and is credited to your program ledger.
WEBHOOK
Fires when an incoming crypto deposit reaches 3 on-chain confirmations. The funds are credited to your program. Pending invoices are automatically paid and any surplus goes to the program balance.Documentation Index
Fetch the complete documentation index at: https://docs.fyatu.com/llms.txt
Use this file to discover all available pages before exploring further.
Event Type
Payload
Payload Fields
| Field | Type | Description |
|---|---|---|
depositId | string | Unique deposit identifier |
programId | string | The program that received the deposit |
amountCents | integer | Total deposit amount in cents |
currency | string | USDT or USDC |
network | string | TRC20 or ERC20 |
fromAddress | string | Sender wallet address |
toAddress | string | Your program’s deposit address |
txHash | string | Blockchain transaction hash |
confirmations | integer | Final confirmation count (3 or more) |
status | string | Always CONFIRMED |
invoicesPaid | array | Invoices automatically paid with this deposit |
invoicesPaid[].invoiceId | string | Invoice ID |
invoicesPaid[].amountCents | integer | Amount applied to this invoice, in cents |
surplusCreditedCents | integer | Amount credited to the program balance after paying invoices, in cents |
programBalanceCents | integer | Program ledger balance after this deposit, in cents |
Authorizations
API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.
Body
application/json
Response
200
Acknowledge the event.

