Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Guides Cards Card decline reasons

Card decline reasons

Read why a card payment was declined from the webhook, and check the card's status, limit and balance when the reason is missing.

3 min read

A declined payment arrives as a cards.transaction.payment webhook with transaction.status failed. Read transaction.declined_reason first. It is a code such as insufficient_funds, or a sentence, depending on the card program. It is null when the card program gave no reason, such as a decline by the card network or a fraud rule. Then confirm the cause from three reads, fix it and ask the cardholder to try again.

A money example. Ada tries to pay 45 USD and it is declined. Her card holds 30 USD, so you top it up with 20 USD and she pays. In another case, her card holds 200 USD, but its daily limit reads 0 after an update sent without limit. You set the limit back to 300 and she pays.

The webhook

cards.transaction.payment (declined)
{
"event_category": "cards",
"event_type": "cards.transaction.payment",
"event_group_id": "a14ec356-f33d-4384-ba68-4d9bfa19765b",
"timestamp": "2026-10-13T19:22:31.902117Z",
"event_data": {
"card": {
"customer_id": "5b0f6c1e-2a8f-4c39-9d0e-0c7e3b9a1f42",
"id": "a14ec356-f33d-4384-ba68-4d9bfa19765b",
"last4": "9351",
"name_on_card": "Ada Obi",
"network": "visa",
"status": "active"
},
"transaction": {
"amount": 45,
"currency": "USD",
"declined_reason": "insufficient_funds",
"id": "f1e2d3c4-b5a6-4978-8a6b-5c4d3e2f1a0b",
"status": "failed",
"transaction_type": "card_payment"
}
},
"event_id": "0f1e2d3c-4b5a-4697-8877-665544332211"
}

transaction.amount is a JSON number in US dollars. The real event also carries the merchant and cardholder fields listed in the event catalogue. For each payment, Gravv sends pending, then completed or failed.

declined_reason codeMeaning
insufficient_fundsThe card's balance is below the amount
exceeds_daily_transaction_limitThe payment would take the card past its daily limit
exceeds_single_transaction_limitThe payment alone is above the card's limit
card_not_activeThe card is not active: frozen, blocked or not yet activated
card_not_activatedA physical card that the cardholder has not activated yet
currency_mismatchThe network billed a currency other than the card's

Some card programs send a sentence instead of a code. Show the cardholder your own message, and log the text you received.

Find the cause

1.
Call Get card. status must be active, and spending_controls.daily_transaction_limit must be above the amount.
2.
Call Get card balance. balance must cover the amount.
3.
Check card_type. A physical card cannot spend today.
What you seeLikely causeFix
status freezeCard frozenUnfreeze it (Manage card status)
status blockedCard closedIssue a new card
status inactiveA physical card not yet activatedNot yet available. See Physical card shipping
balance below the amountNot enough moneyFund the card
daily_transaction_limit below the amount, or 0Over the daily limit, or you sent an update without limitSend the intended limit with the current status
Several payments today add up past the limitDaily limit reachedWait 24 hours or raise the limit
All of the above are fineA merchant, card network or fraud ruleContact support with the card id, amount and time

When declined_reason is null, tell the cardholder that this is the most likely cause, because none of these reads proves the reason.

In sandbox, you cannot make a card spend or decline through the API today. Spend and decline simulation is Not yet available. To test your handler, post the example above to your own endpoint, or resend a stored event (Gravv signs a resend like any other delivery).

Was this page helpful? Yes No