Reverse a ticket wallet refund
Take a wallet refund issued from a ticket back out of the customer's wallet.
A reversal removes the full refunded amount from the customer's wallet balance and makes that amount refundable again for the item. It does not message the customer; your reason is kept with the reversal for your records.
If the customer already spent part of the credit, the wallet no longer holds the full amount. The reversal is then refused with 422 on walletRefund and nothing changes; there is no partial reversal. Settle the difference with the customer another way.
Each refund can be reversed once. A second attempt returns 422 on walletRefund, so retrying never takes the money twice. Find the refund's id with List ticket wallet refunds. An ID that is not a wallet refund of this ticket returns 404.
Your API key needs both the ticket and support.refund abilities, and the store member who owns the key needs both the ticket and the support refund permissions.
Take a wallet refund issued from this ticket back out of the customer's wallet, and return the refund with reversed true and its reversal. The reversal removes the full refunded amount from the wallet balance, records your reason, and makes that amount refundable again for the item. It does not message the customer. If the wallet no longer holds the full amount because the customer already spent some of it, the request returns 422 on walletRefund and nothing changes: there is no partial reversal. A refund that was already reversed also returns 422 on walletRefund, so the money is never taken back twice. An ID that is not a wallet refund of this ticket returns 404. Amounts are integer USD cents. Requires both the ticket and support.refund API-key abilities, and the store member needs both the ticket and the support refund permissions. To recover a lost response, retry with the same optional Idempotency-Key and identical body, or list the ticket's wallet refunds. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
ticket*integerThe ticket ID in the selected store.
walletRefund*integerThe wallet refund's id, from the ticket's wallet refunds.
Idempotency-Key?stringReuse this key only for an identical retry. A replay returns Idempotent-Replayed: true.
8 <= length <= 255X-STORE?stringStore slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.
application/json- body
reason*stringWhy the refund is reversed, 6 to 5000 characters. Kept with the reversal; not sent to the customer.
6 <= length <= 5000Successful response.
application/json- response
data*curl -X POST 'https://sell.app/api/v2/tickets/312/wallet-refunds/7001/reverse' \ -H 'Idempotency-Key: project-library-2026-09-04' \ -H 'X-STORE: launch-lab' \ -H 'Content-Type: application/json' \ -d '{ "reason": "Issued on the wrong ticket."}'{ "data": { "id": 7001, "ticket_id": 312, "invoice_id": 5120, "customer_id": 42, "amount_cents": 500, "currency": "USD", "balance_after_cents": 500, "customer_note": "We added $5.00 to your store wallet for the trouble with your download link.", "automatic": false, "reversed": true, "reversal": { "id": 7002, "amount_cents": -500, "balance_after_cents": 0, "reason": "Issued on the wrong ticket.", "created_at": "2026-09-04T11:05:00.000000Z" }, "created_at": "2026-09-04T09:30:00.000000Z" }}