Ledger accounts
Retrieve ledger account
Changed onRetrieves the details of an existing ledger account.
Required permissions:
- company:balance:read
- payout:account:read
get/ledger_accounts/{id}
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/ledger_accounts/{id}
- Auth: HTTP bearer
Path parameters
idstring required
Example:ldgr_xxxxxxxxxxxxx
The identifier to look up the ledger account. Accepts a user ID ('user_xxx'), company ID ('biz_xxx'), or ledger account ID ('ldgr_xxx').
Response
A successful response
Example response
{
"balances": [
{
"balance": 6.9,
"currency": "usd",
"pending_balance": 6.9,
"reserve_balance": 6.9
}
],
"id": "ldgr_xxxxxxxxxxxxx",
"owner": {
"id": "user_xxxxxxxxxxxxx",
"name": "John Doe",
"username": "johndoe42"
},
"payout_account_details": {
"id": "poact_xxxxxxxxxxxx",
"latest_verification": {
"id": "verf_xxxxxxxxxxxxx",
"last_error_reason": "Document image was too blurry to read."
}
},
"settlement_time_at": "2023-12-01T05:00:00.401Z",
"transfer_fee": 6.9,
"treasury_balance": {
"balance": 6.9,
"balance_usd": 6.9,
"currency": "usd",
"pending_balance": 6.9,
"reserve_balance": 6.9,
"total_withdrawable_balance": 6.9
}
}Changes
- info
added the required property
to the response with the status
- info
- warning
added the new
blocked_by_parentenum value to the/////response property for the response status - warning
added the new
deniedenum value to the/////response property for the response status - warning
added the new
manual_reviewenum value to the//response property for the response status - warning
added the new
manual_reviewenum value to the/////response property for the response status - info
added the required property
to the response with the status
- warning