Deposits
Reverse Deposit
Changed onSends a deposit back where it came from. If the available balance doesn't cover it, nothing is sent.
- Bank deposit: pass its vbt_ ID. The deposit fee is returned, so the balance only has to cover the rest. Returns a topup_reversal row.
- Card deposit: pass its pay_ ID. It's refunded to the card, and its fees aren't returned. Returns a payment_refund row.
post/deposits/{id}/reverse
Request
- Base URLhttps://api.whop.com/api/v1
- URLhttps://api.whop.com/api/v1/deposits/{id}/reverse
- AuthHTTP bearer
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"metadata": {
"ticket": "SUP-42"
}
}Response
deposit reversed
Example response
{
"account": {
"id": "biz_xxxxxxxxxxxxxx",
"logo_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/shine-time-logo",
"object": "account",
"route": "biz_xxxxxxxxxxxxxx",
"title": "Shine Time Auto Detailing"
},
"amount": "2375000000",
"available_at": "2026-01-01T12:00:00.000Z",
"currency": {
"code": "usd",
"precision": "100000000"
},
"id": "line_3",
"ledger_account_id": "ldgr_xxxxxxxxxxxxxx",
"line_type": "payment_gross",
"object": "ledger_activity",
"payment": {
"amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"object": "payment"
},
"posted_at": "2026-01-01T12:00:00.000Z",
"resource": {
"id": "biz_xxxxxxxxxxxxxx",
"logo_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/shine-time-logo",
"object": "account",
"route": "biz_xxxxxxxxxxxxxx",
"title": "Shine Time Auto Detailing"
},
"source": {
"amount_float": 1500,
"chain": "plasma",
"claim_url": "https://whop.com/claim",
"created_at": "2026-01-01T12:00:00.000Z",
"created_by_user": {
"id": "user_xxxxxxxxxxxxxx",
"name": "Dana Whitfield",
"profile_picture": {
"url": "https://ui-avatars.com/api/"
},
"username": "danawhitfield"
},
"estimated_arrival": "2026-01-01T12:00:00.000Z",
"fee_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"fee_kind": "swap",
"fee_type": "exclusive",
"from_amount": "502.51",
"from_currency": "usdt",
"id": "airdrp_xxxxxxxxxxxxxx",
"object": "airdrop_link",
"payer_name": "MassPay",
"payment_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"payout_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"payout_destination": {
"icon_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/ach-activity-icon",
"payer_name": "ACH Bank Deposit"
},
"payout_token_nickname": "Ops checking",
"reason": "bounty_payout",
"risk_review_hold": true,
"sender_address": "0x8a4de51b9c37f2e6a0d1b8c94e5f7a2d3c6b0e19",
"status": "fully_claimed",
"to_amount": "500.0",
"to_currency": "usd",
"tx_hash": "0x5d84a1c7e2f9b036d48c5a7e1b9f2d6c3a8e0b4f7c1d9e5a2b6f8c0d3e7a1b52"
},
"usd_amount": "23.75"
}Changes
- info
endpoint added
- info