Create Deposit
Changed onReturns the deposit methods for an account or user, including crypto addresses, bank transfer instructions, and, for a business, a hosted deposit page. Bitcoin deposits are converted to USDT on Plasma in the destination's wallet. Business destinations require no authentication. Pass payment_method_id to also charge a business's saved payment method for amount in USD and add it to the business's balance; that requires authentication with the payment:charge scope. The charge has no fees or taxes and does not count as revenue.
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/deposits
- Auth: one of:
- none
- HTTP bearer
- HTTP bearer
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"amount": 50,
"destination": "biz_xxxxxxxxxxxxxx",
"payment_method_id": "payt_xxxxxxxxxxxxxx"
}Response
deposit created
Example response
{
"account_id": "biz_xxxxxxxxxxxxxx",
"amount": "50.00",
"hosted_url": "https://whop.com/deposit/biz_xxxxxxxxxxxxxx/",
"methods": {
"bank": {
"currencies": [
{
"account_number": "8825310472",
"currency": "USD",
"deposit_bank_address": "2115 Linwood Avenue, Fort Lee, New Jersey 07024",
"deposit_bank_name": "Cross River Bank",
"deposit_beneficiary_name": "Shine Time Auto Detailing",
"deposit_reference": "SHINE-1042",
"rails": [
"wire"
],
"routing_number": "021214891",
"swift_bic": "CRBAUS33"
}
]
},
"card": {
"payment_id": "pay_xxxxxxxxxxxxxx",
"payment_method_id": "payt_xxxxxxxxxxxxxx"
},
"crypto": [
{
"deposit_address": "soladdr",
"icon_url": "https://whop.com/_static/images/crypto/solana.svg",
"name": "Solana",
"supported_currencies": [
{
"icon_url": "https://whop.com/_static/images/crypto/pyusd.svg",
"name": "PYUSD"
}
]
}
]
},
"object": "deposit"
}Changes
- info
the security scope
payout:account:readwas added to the endpoint's security schemebearerAuth - info
the security scope
payment:chargewas removed from the endpoint's security schemebearerAuth
- info
- info
the security scope
payout:account:readwas added to the endpoint's security schemebearerAuth - info
the security scope
payment:chargewas removed from the endpoint's security schemebearerAuth
- info