Reverse a wallet transaction
Undo a top-up or manual adjustment with a reversal entry.
Undo one TOP_UP or MANUAL_ADJUSTMENT entry in a customer's wallet. SellApp writes a REVERSAL entry for the opposite amount in USD cents and returns it. Reversing a top-up also reverses its top-up bonus. This changes the wallet balance only: it does not refund a card payment, and the customer is not emailed.
Read the customer's history with List wallet transactions or the store-wide wallet ledger to find the entry ID, then send it as transaction with a note. Add expected_balance_cents with the balance you saw so the reversal applies only if nothing changed in between.
An entry can be reversed once. Money a checkout reserved or the customer already spent cannot be taken back, and cashback, rewards, support refunds, and purchases are reversed elsewhere; each refusal returns 422 on transaction and changes nothing. A reversal cannot be undone: to put money back afterwards, adjust the wallet.
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
customer*integerThe customer ID whose wallet holds the entry.
transaction*integerThe ID of the wallet entry to reverse, as listed by GET /v2/wallets/{customer}/transactions or GET /v2/wallet/transactions.
Idempotency-Key?stringOptional. Your key for this one reversal, at most 255 characters. Repeat it with the same body within 24 hours to get the original response back; a different body returns 409.
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
note*stringWhy the entry is reversed. It must contain more than spaces and is saved on the reversal entry.
1 <= length <= 255expected_balance_cents?integerOptional. The wallet balance in integer USD cents that you read before deciding. If the balance is different now, nothing changes and the request returns 422 on expected_balance_cents.
0 <= value <= 999999999999The entry was reversed. The body is the new REVERSAL entry for the entry in the path.
application/json- response
data*curl -X POST 'https://sell.app/api/v2/wallets/42/transactions/501/reverse' \ -H 'Idempotency-Key: reverse-wallet-entry-501' \ -H 'X-STORE: launch-lab' \ -H 'Content-Type: application/json' \ -d '{ "note": "Credit went to the wrong customer", "expected_balance_cents": 2500}'{ "data": { "id": 502, "wallet_id": 71, "type": "REVERSAL", "amount_cents": -2500, "balance_after_cents": 0, "currency_at_source": null, "exchange_rate_to_usd": null, "order_id": null, "charge_id": null, "reverses_entry_id": 501, "note": "Credit went to the wrong customer", "idempotency_key": null, "expires_at": null, "expired_at": null, "created_by_user_id": 1, "created_at": "2026-07-03T09:12:00.000000Z" }}