13. Withdrawals, retry and decline recovery

Withdrawals

  • A pay-out session opens the withdrawal cashier. A session with both intents shows a Deposit and a Withdraw tab.
  • Included: the balance check, payout methods and accounts, and the list of pending withdrawals with cancel.
  • A withdrawal ends with the same result statuses. The result's intent is withdrawal, and withdrawalStatus carries the Praxis status of the withdrawal.
  • A request Praxis accepted but has not paid out yet ends with the status pending and the withdrawal status requested.
  • The two withdrawal error pages (a card withdrawal with no saved card and no other method, and a method with no payout account) end with payment_method_unavailable and the cashier closes. They send transaction_failed, not cashier_loading_failed.
  • In a session with both tabs, the snapshot's intent follows the tab that shows, and the step is loading while a tab loads.
Withdrawal statusRaw valueMeaning
.approvedapprovedThe withdrawal was paid out
.requestedrequestedThe request was accepted and waits to be paid out
.requestedPayoutrequested_payoutThe payout request was accepted and waits to be paid out
.pendingpendingStill processing
.pendingAsyncpending_asyncStill processing at the provider
.initializedinitializedCreated, not started processing
.verificationverificationBeing verified
.declineddeclinedRefused
.errorerrorFailed
.canceledcancelledCancelled

Amounts on a withdrawal

The live amount update and the snapshot carry the withdrawal figures: displayAmount is what leaves the balance (a fee on top added) and total is what the customer receives (an included fee taken out).

Retry and decline recovery

  • After a declined payment whose answer offers a retry or a recovery, the drop-in and Cashier.Outcome show the retry page (a lower amount) or the recovery page (other payment methods for the same amount) in place of the declined result.
  • The snapshot's step is result on these pages. A close on one of them ends with the declined result.
  • The two pages send no result events (transaction, createResultPage, thank_you_page_loaded); the screen that follows them does.
  • They add no public type, event or result field. A confirmed recovery lives only while the session is open.
  • For the Atlas settings behind them, see the Atlas Guide, 7.12 Retry with APM and Retry with insufficient funds.

Partial approval and bank wire

  • A partially approved payment shows the partial approval screen with its countdown.
  • A manual bank wire shows the bank details after the payment is created.
  • With returnsAfterResult = true these screens are skipped and your app gets the result at once (section 5).

Did this page help you?