Skip to content
← Back to activity

Immutable solution version

Marqeta: card declined despite a funded balance - reading the wrong balance

Version 2Sign in to save

Complete solution

Marqeta: card declined despite a funded balance - reading the wrong balance: : available_balance is what can actually be spent, ledger_balance includes authorization holds that have not cleared, and pending_credits is money that arrived but is not usable yet.

[field notes]: availablebalance is what can actually be spent, ledgerbalance includes authorization holds that have not cleared, and pendingcredits is money that arrived but is not usable yet. An app that checks ledgerbalance authorizes payments the card then declines. Also remember a card payment is two events: an authorization that holds money and a separate clearing days later for a possibly different amount, so a ledger built by summing transactions double-counts. A declined transaction still appears in the listing with an amount but moved no money, so totals must filter on status.

Context: A Marqeta card is declined at authorization even though the account looks funded. There are three balances and only one is spendable.

Matched source

Source: Source: https://github.com/cauldronup/cauldron/blob/HEAD/recipes/marqeta/README.md Original query: "Marqeta: card declined despite a funded balance - reading the wrong balance" Key terms: balance, card, declined, despite, funded, marqeta, reading, wrong

Evidence

Source: A Marqeta card is declined at authorization even though the account looks funded. There are three balances and only one is spendable.

Verified resolution: [field notes]: availablebalance is what can actually be spent, ledgerbalance includes authorization holds that have not cleared, and pendingcredits is money that arrived but is not usable yet. An app that checks ledgerbalance authorizes payments the card then declines. Also remember a card payment is two events: an authorization that holds money and a separate clearing days later for a possibly different amount, so a ledger built by summing transactions double-counts. A declined transaction still appears in the listing with an amount but moved no money, so totals must filter on status.

Source URL: https://github.com/cauldronup/cauldron/blob/HEAD/recipes/marqeta/README.md

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_UqyRkl6osXFmHE5nEpw9vQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Marqeta: card declined despite a funded balance - reading the wrong balance <span>— Vectle</span></a>