An account credit or debit gave up
WEBHOOK
account_credit.failedThe account-credit rail stopped retrying a credit or debit after its last attempt: no customer matched (no_customer), several did (ambiguous_customer), no FX rate converts to the balance currency (fx_rate_missing) or the provider refused it (failed). POST /v1/programs/{id}/credit-rail/requeue gives the first three another round. Stripe rows also send stripe_credit.failed.
POSTed to every active webhook endpoint subscribed to account_credit.failed (or *), signed the Standard Webhooks way. Answer any 2xx within 15 seconds; anything else is retried with backoff for 3 days.
Parameters
webhook-idstring
header
required
The delivery id; the same on every retry and replay. Deduplicate on it.
webhook-timestampinteger
header
required
When this attempt was signed, in unix seconds. Reject it when more than 5 minutes from your clock.
webhook-signaturestring
header
required
v1, plus the base64 HMAC-SHA256 of {webhook-id}.{webhook-timestamp}.{raw body}, keyed with the base64-decoded secret after whsec_. During a rotation, two signatures separated by a space.x-referalli-topicstring
header
required
The event topic, as in the body. The legacy header names from before the rename are also sent, with identical values, for existing integrations.
Payload
application/json
An account credit or debit gave up: the account_credit.failed delivery body.
idstring
required
The event id (
evt_…); the same event delivered to several endpoints has the same id.topicstring
required
orgIdstring
required
livemodeboolean
required
false for events from test mode.
createdAtstring
required
dataobject
required
data of a account_credit.failed event: The account-credit rail stopped retrying a credit or debit after its last attempt: no customer matched (no_customer), several did (ambiguous_customer), no FX rate converts to the balance currency (fx_rate_missing) or the provider refused it (failed). POST /v1/programs/{id}/credit-rail/requeue gives the first three another round. Stripe rows also send stripe_credit.failed.Show child parameters
idstring
required
programIdstring
required
sourceEventIdstring
required
The settled commission line, the reversal, or the referee reward this applies.
kindstring
required
commissionIdstring
required
partnerIdstring
required
customerRefstring
required
amountMinorinteger
required
Positive, integer minor units. Credits are sent to Stripe as a negative amount, debits as positive.
currencystring
required
The commission's currency.
appliedAmountMinorinteger
required
What was (or will be) sent to Stripe, in appliedCurrency: amountMinor converted at your FX rate when the balance currency differs. A debit uses its credit's currency and rate.
appliedCurrencystring
required
The Stripe customer balance currency the row is applied in.
statusstring
required
attemptsinteger
required
lastErrorstring
required
createdAtstring
required
updatedAtstring
required
providerstring
required
The billing provider credited:
stripe or chargebee.connectionIdstring
required
The billing connection whose credentials were used; null for Stripe on its own key path.
customerIdstring
required
The provider's customer id (Stripe
cus_…, Chargebee customer id).transactionIdstring
required
The provider's record of the credit or debit once applied (Stripe balance transaction, Chargebee promotional credit).
{
"id": "string",
"topic": "string",
"orgId": "string",
"livemode": true,
"createdAt": "2024-01-01T00:00:00Z",
"data": {
"id": "string",
"programId": "string",
"sourceEventId": "string",
"kind": "referrer_credit",
"commissionId": "string",
"partnerId": "string",
"customerRef": "string",
"amountMinor": 0,
"currency": "string",
"appliedAmountMinor": 0,
"appliedCurrency": "string",
"status": "pending",
"attempts": 0,
"lastError": "string",
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
"provider": "string",
"connectionId": "string",
"customerId": "string",
"transactionId": "string"
}
}Responses
200 Received. Any 2xx acknowledges the delivery.
Updated