# Whop Docs: For Developers API Reference Current API Money > Whop is on a mission to deliver everyone a sustainable income. Accept payments, pay out users, build apps, and embed chat with SDKs in TypeScript, Python, and Ruby. > ## Agent Instructions > Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages. > MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md > Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Agent mode: https://docs.whop.com/cli/agent-mode.md > Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Every agent tool: https://docs.whop.com/developer/ai/overview.md > Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Comparison: https://docs.whop.com/developer/quickstart.md > API: send `Authorization: Bearer ` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json > Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only. ## Money ### Deposits - [Deposits](https://docs.whop.com/api-reference/deposits/deposit.md): Deposits describe the ways to add funds to an account or user balance: a hosted deposit page, bank transfer instructions, and crypto wallet addresses. - [Create Deposit](https://docs.whop.com/api-reference/deposits/create-deposit.md): Retrieve the deposit methods for an account, including crypto and bank transfer. Crypto deposits require a $10 minimum. - [Reverse Deposit](https://docs.whop.com/api-reference/deposits/reverse-deposit.md): Sends a deposit back where it came from. If the available balance doesn't cover it, nothing is sent. - [Deposit succeeded](https://docs.whop.com/api-reference/deposits/deposit-succeeded.md): Sent when a crypto or bank deposit is credited to a business account's balance. A crypto deposit has line_type `onchain_deposit` and an `onchain_transaction` source; a bank deposit has line_type `topup` and a `bank_deposit` source. Deposits to personal accounts, payouts into the account's own Whop w… ### Transfers - [Transfers](https://docs.whop.com/api-reference/transfers/transfer.md): A Transfer moves money between Whop balances: from one account or user to another, from an account's wallet to a person or address, or into a claim link anyone with the URL can redeem. - [Retrieve Claim Link](https://docs.whop.com/api-reference/transfers/retrieve-claim-link.md): Retrieves a funded claim link by ID or by its public claim code. By ID, the caller needs `airdrop_link:basic:read` on the funding account, or must own the funding personal account; `code` and `claim_url` are `null` without `airdrop_link:manage` on the funding account or `payout:withdraw_funds` on th… - [List Transfers](https://docs.whop.com/api-reference/transfers/list-transfers.md): Lists the transfers you can see, sent or received, newest first by default. Optional account filters narrow the results. - [Retrieve Transfer](https://docs.whop.com/api-reference/transfers/retrieve-transfer.md): Retrieves a single transfer. - [List Transfer Recipients](https://docs.whop.com/api-reference/transfers/list-transfer-recipients.md): Lists the people and accounts you can send money to from a balance. Pass a result's ID as `destination_id` when creating a transfer. - [Claim](https://docs.whop.com/api-reference/transfers/claim.md): Claims a funded link into the authenticated user's personal balance and returns the updated link. Requires a signed-in user and the public claim code; account API keys cannot claim on a recipient's behalf. Each user can claim a link once. Reuse the same `Idempotency-Key` when retrying the same reque… - [Create Transfer](https://docs.whop.com/api-reference/transfers/create-transfer.md): Moves money between Whop balances or funds a claim link anyone with the URL can redeem. The `type` you send decides which object comes back. - [Transfer completed](https://docs.whop.com/api-reference/transfers/transfer-completed.md): Sent to participating accounts when a transfer succeeds, including when a previously failed transfer succeeds after a retry. - [Transfer created](https://docs.whop.com/api-reference/transfers/transfer-created.md): Sent to participating accounts when a transfer succeeds, alongside `transfer.completed`. This event does not indicate entry into `processing`. - [Transfer failed](https://docs.whop.com/api-reference/transfers/transfer-failed.md): Sent to participating accounts when an existing transfer enters `failed`. The payload includes `failure_code`, `failure_reason`, and `failed_at`; a retry may later succeed under the same transfer ID. ### Payouts - [Payouts](https://docs.whop.com/api-reference/payouts/payout.md): Payouts represent money sent from an account or user balance to an external destination, such as a bank account, wallet, or other saved payout method. - [List Payouts](https://docs.whop.com/api-reference/payouts/list-payouts.md): Lists an account's or user's payouts, newest first. - [Retrieve Payout](https://docs.whop.com/api-reference/payouts/retrieve-payout.md): Retrieves a payout by its `wdrl_` ID, or by the `cofr_` conversion request ID a payout carries as `payout_request_id`. Authentication is optional: anyone with the ID can view tracking details, including notes, trace code, exchange rate, and payout request ID, while accounting fields require `payout:… - [List Saved Payout Methods](https://docs.whop.com/api-reference/payouts/list-saved-payout-methods.md): Lists the bank accounts, wallets, and crypto addresses an account or user can pay out to, newest first. - [List Supported Payout Methods](https://docs.whop.com/api-reference/payouts/list-supported-payout-methods.md): Lists the payout methods an account or user is eligible to add. Pass a result's ID as `supported_payout_method_id` to `POST /payouts/methods` to save one. - [Create Payout](https://docs.whop.com/api-reference/payouts/create-payout.md): Sends money from an account or user balance to a saved payout method for that owner. First create a quote with POST /payouts/quotes, then submit its quote_token with the same payout details before it expires. - [Cancel Payout](https://docs.whop.com/api-reference/payouts/cancel-payout.md): Cancels a payout before it is sent to the payout provider, or asks the provider to stop one already sent. While the payout is `in_review`, or `processing` with nothing sent yet (see `cancelable`), it is canceled and the funds, fees included, return to the balance. Once sent, the response is 202 with… - [Create Saved Payout Method](https://docs.whop.com/api-reference/payouts/create-saved-payout-method.md): Saves a bank account, wallet, or crypto address an account or user can pay out to, from a method listed by `GET /payouts/supported_methods`. Sensitive details are vaulted in transit and never stored raw. - [Create PayPal Link Session](https://docs.whop.com/api-reference/payouts/create-paypal-link-session.md): Starts a Log in with PayPal session so PayPal itself can confirm the account holder owns a verified PayPal account. Send the holder to `authorize_url`; after they log in, PayPal returns them to Whop, and Whop redirects the browser to your `return_url` with a `paypal_link_token` query parameter to pa… - [Create Payout Quote](https://docs.whop.com/api-reference/payouts/create-payout-quote.md): Creates a short-lived, provider-backed quote of a payout's fee, exchange rate, and destination amount. No funds move until you submit the returned `quote_token` to `POST /payouts`. - [Update Saved Payout Method](https://docs.whop.com/api-reference/payouts/update-saved-payout-method.md): Changes the label used to identify a saved payout method, makes it the account's default payout method, or updates the payout address on file for it. Send `address` on its own: it cannot be combined with `nickname` or `is_default`. Address updates require the `payout:account:update` scope as well, o… - [Delete Saved Payout Method](https://docs.whop.com/api-reference/payouts/delete-saved-payout-method.md): Deletes a saved payout method so it can no longer receive payouts. - [Payoutmethod created](https://docs.whop.com/api-reference/payouts/payoutmethod-created.md): Sent when a payout method is created - [Payout created](https://docs.whop.com/api-reference/payouts/payout-created.md): Sent when a payout is created (this event family replaces withdrawal.*) - [Payout reversed](https://docs.whop.com/api-reference/payouts/payout-reversed.md): Sent when a settled payout is reversed and the funds return to the balance (this event family replaces withdrawal.*) - [Payout updated](https://docs.whop.com/api-reference/payouts/payout-updated.md): Sent when a payout's status changes (this event family replaces withdrawal.*) ### Financial Activity - [Ledger Activity](https://docs.whop.com/api-reference/ledgers/ledger-activity.md): A Financial Activity row is a single movement of money in or out of an account's or user's balance: a payment, payout, refund, transfer, on-chain deposit, swap, or card transaction. Each row carries a typed `resource` and `source` so you can present and link the event without extra lookups. - [List Financial Activity](https://docs.whop.com/api-reference/ledgers/list-financial-activity.md): Returns an account's or user's activity feed: every movement of money in or out. - [Get Financial Report](https://docs.whop.com/api-reference/ledgers/get-financial-report.md): Returns a financial report — balance activity, income statement, or balance summary — for an account over a date range. - [Get Financial Report Breakdown](https://docs.whop.com/api-reference/ledgers/get-financial-report-breakdown.md): Breaks one bucket of a financial report, such as payments received or card spend, into the customers, accounts, merchants, or campaigns that contributed most, with the rest summed as a remainder. Use it to explain a total from `GET /financial_reports`. - [Financial Activity Funds Available](https://docs.whop.com/api-reference/ledgers/financial-activity-funds-available.md): Sent when a settlement moves one release date's pending funds into the account's available balance — one event per release date that cleared, carrying that settlement's ledger line. Its posted_at is the release date at midnight UTC, the same value as settlement_time_at on every payment it clears ### Cards - [Cards](https://docs.whop.com/api-reference/cards/card.md): Cards represent virtual payment cards that spend from an account or user balance. Cards can be assigned to cardholders and configured with spending limits for controlled spending. - [List Card Transactions](https://docs.whop.com/api-reference/cards/list-card-transactions.md): Lists the card transactions of an account or a user, newest first. Covers every card the owner has ever had, including canceled cards and spend that predates a re-application, and team members only see transactions on the cards assigned to them. Pass `transaction_ids` to fetch specific transactions… - [Retrieve Card Transaction](https://docs.whop.com/api-reference/cards/retrieve-card-transaction.md): Retrieves a single card transaction from any card the owner has ever had, including canceled cards. Team members can retrieve only transactions on the cards assigned to them. - [List Cards](https://docs.whop.com/api-reference/cards/list-cards.md): Lists the Whop cards of an account or user, including ones still being set up. Team members only see the cards assigned to them. - [Retrieve Card](https://docs.whop.com/api-reference/cards/retrieve-card.md): Retrieves a single card, including its `secrets` (card number, CVC, and PIN), which List Cards does not return. - [Create Card](https://docs.whop.com/api-reference/cards/create-card.md): Issues a virtual card, or applies for card issuing. An account with no application files one here and gets back a `202`; call again to issue the card once it is approved. An account whose application was denied or canceled applies again the same way, replacing that application. - [Update Card](https://docs.whop.com/api-reference/cards/update-card.md): Updates, freezes, or cancels a card. Updating the card's name, billing address, or limits requires both `payout:account:update` and `company:balance:read`; a card's assigned holder may update their own card's pin and frozen state with any user token. - [Card application approved](https://docs.whop.com/api-reference/cards/card-application-approved.md): Sent when a card application is approved - [Card application created](https://docs.whop.com/api-reference/cards/card-application-created.md): Sent when a card application is created - [Card application denied](https://docs.whop.com/api-reference/cards/card-application-denied.md): Sent when a card application is denied - [Card application updated](https://docs.whop.com/api-reference/cards/card-application-updated.md): Sent when a card application is updated - [Card transaction completed](https://docs.whop.com/api-reference/cards/card-transaction-completed.md): Sent when a card transaction is completed - [Card transaction created](https://docs.whop.com/api-reference/cards/card-transaction-created.md): Sent when a card transaction is created - [Card transaction declined](https://docs.whop.com/api-reference/cards/card-transaction-declined.md): Sent when a card transaction is declined - [Card transaction reversed](https://docs.whop.com/api-reference/cards/card-transaction-reversed.md): Sent when a card transaction is reversed - [Card transaction updated](https://docs.whop.com/api-reference/cards/card-transaction-updated.md): Sent when a card transaction is updated - [Card canceled](https://docs.whop.com/api-reference/cards/card-canceled.md): Sent when a card is canceled - [Card created](https://docs.whop.com/api-reference/cards/card-created.md): Sent when a card is created - [Card frozen](https://docs.whop.com/api-reference/cards/card-frozen.md): Sent when a card is frozen - [Card updated](https://docs.whop.com/api-reference/cards/card-updated.md): Sent when a card is updated ### Cashback Rules - [Cashback Rule](https://docs.whop.com/api-reference/cashback-rules/cashback-rule.md): A Cashback Rule pays a platform's direct subaccounts back a share of their card spend, funded by the platform. Each rule sets a rate, an eligibility window, and optional merchant filters, and can be limited to one subaccount. - [List Cashback Rules](https://docs.whop.com/api-reference/cashback-rules/list-cashback-rules.md): Lists the cashback rules funded by the authenticated platform account, including scheduled, expired, and discarded rules. Requires an account-scoped credential with `payout:transfer:read`. - [Create Cashback Rule](https://docs.whop.com/api-reference/cashback-rules/create-cashback-rule.md): Creates a future-dated card cashback rule for your direct subaccounts, funded by the authenticated platform account. Creating a rule does not transfer funds; pay cashback out with `POST /cashback_rules/payout`. Requires `payout:transfer_funds`. Supports `Idempotency-Key` for safe retries. - [Pay Out Cashback](https://docs.whop.com/api-reference/cashback-rules/pay-out-cashback.md): Pays out cashback on demand from the authenticated platform's available USD balance to its direct subaccounts. Covers completed, unpaid card transactions created before the request, each under its latest matching rule, which must be funded by the authenticated platform. Filters combine, and an empty… - [Update Cashback Rule](https://docs.whop.com/api-reference/cashback-rules/update-cashback-rule.md): Updates the merchant filters, description, or expiration of a cashback rule funded by the authenticated platform account; its start, rate, and accounts can't change. Omitted fields stay unchanged. Scheduled, active, and expired rules can be updated, but discarded rules can't. Updating a rule does no… ### Swaps - [Swaps](https://docs.whop.com/api-reference/swaps/swap.md): A Swap converts value between supported tokens, chains, or wallet destinations, or between fiat currencies at the mid-market rate, for an account or user. A swap quote previews the expected output, fees, and approval requirements before you create the swap. - [List Swaps](https://docs.whop.com/api-reference/swaps/list-swaps.md): Lists the completed or pending swaps for an account or user — currently only the most recent one. - [Retrieve Swap](https://docs.whop.com/api-reference/swaps/retrieve-swap.md): Retrieves a swap and its status. Poll it after creating a crypto swap, which finishes in the background. - [Create Swap](https://docs.whop.com/api-reference/swaps/create-swap.md): Swaps one token for another in an account or user's wallet, or converts between their fiat balances at the mid-market rate. Crypto swaps finish in the background — retrieve the swap to follow its status. - [Create Swap Quote](https://docs.whop.com/api-reference/swaps/create-swap-quote.md): Previews the price of a swap before you create it. Fiat pairs quote the mid-market rate — the same rate creating the swap fills at. No funds move, nothing is saved, and no authentication is required. - [Swap completed](https://docs.whop.com/api-reference/swaps/swap-completed.md): Sent when a swap is completed ### Trades - [Trades](https://docs.whop.com/api-reference/trades/trade.md): A Trade is one request on an account's or user's Whop-managed wallet. An `order` on a perpetual trades from the trading balance, bridging the USDT0 it needs from the wallet first when the balance is short; an `order` on spot swaps between USDT0 and the asset in the wallet. A `close` closes the whole… - [List Trades](https://docs.whop.com/api-reference/trades/list-trades.md): Lists trades you can access, newest first. User credentials see their own trades and those of accounts they belong to, including subaccounts; account credentials see their account and its subaccounts. - [Retrieve Trade](https://docs.whop.com/api-reference/trades/retrieve-trade.md): Retrieves a trade. Read it until its `status` is `completed`, `failed` or `in_review`. - [List Markets](https://docs.whop.com/api-reference/trades/list-markets.md): Returns every market you can trade on Whop. - [Create Trade](https://docs.whop.com/api-reference/trades/create-trade.md): Places an order, closes a perpetual position, or deposits to or withdraws from the trading balance, from the Whop-managed wallet of an account or user. Answers `201` with the trade in `pending`; it runs in the background, so read it with `GET /trades/:id` until its `status` is `completed`, `failed`… - [Cancel Trade](https://docs.whop.com/api-reference/trades/cancel-trade.md): Cancels the order of a trade while it rests on the book, such as a `good_til_canceled` limit order. Answers with the trade still `processing`; read it with `GET /trades/:id` until its `status` is `completed` or `failed`. A part that filled before the cancel landed stays filled, and money bridged in… ### Verifications - [Verification](https://docs.whop.com/api-reference/verifications/verification.md): A Verification represents a legal identity for a person or business. Accounts and users complete verification when Whop needs to confirm who they are before enabling payouts or compliance-sensitive workflows. - [List Verifications](https://docs.whop.com/api-reference/verifications/list-verifications.md): Lists the verifications for an account or user, including their status and any required actions. Platforms list their own and every subaccount's verifications at once with `include_subaccounts`; each one's `account_ids` names its account, and a verification shared by several accounts appears once fo… - [Retrieve Verification](https://docs.whop.com/api-reference/verifications/retrieve-verification.md): Retrieves a verification by ID, including its status and any information or documents still required. - [Create Verification](https://docs.whop.com/api-reference/verifications/create-verification.md): Starts a hosted verification session for an account or user, or returns the active session when one already exists; any fields you send prefill it. To skip the hosted session, send `documents` to verify the person from files in this request, `share_token` to reuse a verification another Sumsub accou… - [Update Verification](https://docs.whop.com/api-reference/verifications/update-verification.md): Updates editable profile details or submits answers for items returned in `requested_information`. On a business verification still collecting details, company details, `documents`, and `owners` also go to the verification provider; call Create Verification again to send the business for review once… - [Identityprofile updated](https://docs.whop.com/api-reference/verifications/identityprofile-updated.md): Sent whenever an identity profile changes state — a verification is approved, needs action, or is rejected, or a Whop review opens or clears. Every other identity_profile event is also delivered as an identity_profile.updated, so you can subscribe to this single event and re-fetch the verification t… ## OpenAPI Specs - [api-v1-native](/openapi/api-v1-native.json)