Skip to main content

Create your first wallet

Create an account for your user, each one gets a wallet automatically.
import Whop from "@whop/sdk";

const client = new Whop({ apiKey: process.env.WHOP_API_KEY });

const account = await client.accounts.create({
	email: "customer@example.com",
	metadata: {
		external_id: "user_12345",
	},
});

const wallet = account.wallet;

console.log(`Created a new wallet: ${wallet.address}`);

Two ways to integrate

Embedded elements

Pre-built UI components you drop into your app. Handles state, styling, and auth out of the box. Coming soon.

Server-side API

Call wallet functions directly from your backend with the Whop SDK or REST API.

What you can do

Deposit

Let your users add money with a card, bank transfer, or external crypto wallet.

Withdraw

Pay out to a bank, card, or external crypto wallet your user has linked.

Send

Send money to another user or business on Whop.

Receive

Show your users an address that accepts transfers from anywhere.

Convert

Convert between currencies your user holds.

Issue cards

Coming soon.