v2-app
Refund Deposit
Hand back every unspent deposit still inside the window.
Order matters and is deliberate: the ledger is debited first, through _charge, which takes the wallet lock and refuses to push the balance negative. Only then is Stripe asked for the money. Doing it the other way round would leave a customer who double-clicked with two real refunds and one ledger line.
Each deposit is refunded at most once: the ledger ref is the PaymentIntent's own id with a suffix, so a retry hits the unique index instead of Stripe.
post/api/v2/app/refund
Request
- Base URL: https://api.getle.ad (the document declares no server; this is the origin it was published from)
- URL: https://api.getle.ad/api/v2/app/refund
- Auth: none declared
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 2 revisions of this API.