Walletfunded webhook
Credit was added to a wallet (purchase, top-up, plan credit, coupon, credit note, manual grant, or credit a voided invoice gave back)
Body
Credit entered a customer's wallet.
In minor units of currency or credit_unit.
The products whose charges the grant pays; empty when it pays every product.
What the grant pays: ALL any charge, USAGE only usage charges.
ALL, USAGE The grant the credit entered.
"cgr_7n42DGM5Tflk9n8mt7Fhc7"
"cus_7n42DGM5Tflk9n8mt7Fhc7"
PAID or PROMOTIONAL: whether the credit applies after or before tax.
PAID, PROMOTIONAL The credit ledger entry recording the movement.
"wle_7n42DGM5Tflk9n8mt7Fhc7"
Where the credit came from.
MANUAL, PURCHASE, PLAN, CREDIT_NOTE, ADJUSTMENT, MIGRATED, ROLLOVER, COUPON, OVERPAYMENT "evt_7n42DGM5Tflk9n8mt7Fhc7"
metric.created, customer.created, subscription.created, subscription.updated, subscription.cancelled, subscription.ended, invoice.created, invoice.finalized, invoice.paid, invoice.voided, invoice.closed, invoice.consolidated, invoice.deleted, invoice.accounting_pdf_generated, quote.accepted, quote.converted, credit_note.created, credit_note.finalized, credit_note.voided, plan.created, plan.published, plan.archived, product.created, product.updated, product.archived, metric.updated, metric.archived, coupon.created, coupon.updated, coupon.archived, addon.created, addon.updated, addon.archived, refund.issued, refund.settled, refund.failed, payment.reversed, payment.reinstated, payment.failed, wallet.funded, wallet.debited, wallet.balance_low, wallet.credit_unrecovered, wallet.credit_recovered, wallet.auto_top_up_failed, wallet.auto_top_up_suspended, wallet.auto_top_up_consent_changed, wallet.depleted, wallet.recovered, wallet.auto_top_up_cap_reached, credit_grant.expired, entitlement.usage_threshold_reached, entitlement.limit_reached, budget.threshold_reached, budget.exceeded, entitlement.too_many_groups The credit note that gave the credit back.
"crn_7n42DGM5Tflk9n8mt7Fhc7"
The credit unit (its code) the amounts are in; absent for a currency.
Decimal places of credit_unit: amounts are integers of 10^-precision credit.
x >= 0Absent when the amounts are in a credit unit.
The invoice that bought the credit, or whose void gave it back.
"inv_7n42DGM5Tflk9n8mt7Fhc7"
The subscription the grant belongs to: it pays only that subscription's charges. Null when it pays any of the customer's subscriptions.
Response
Webhook received successfully