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_unavailableand 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 status | Raw value | Meaning |
|---|---|---|
| .approved | approved | The withdrawal was paid out |
| .requested | requested | The request was accepted and waits to be paid out |
| .requestedPayout | requested_payout | The payout request was accepted and waits to be paid out |
| .pending | pending | Still processing |
| .pendingAsync | pending_async | Still processing at the provider |
| .initialized | initialized | Created, not started processing |
| .verification | verification | Being verified |
| .declined | declined | Refused |
| .error | error | Failed |
| .canceled | cancelled | Cancelled |
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 = truethese screens are skipped and your app gets the result at once (section 5).
Updated about 8 hours ago
Did this page help you?