Payout methods
List payout methods
Changed onLists the active payout methods configured for an account, newest first.
Required permissions:
- payout:destination:read
get/payout_methods
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Query parameters
after, string
Returns the elements in the list that come after the specified cursor.
before, string
Returns the elements in the list that come before the specified cursor.
first, integer
Returns the first n elements from the list.
Example:42
last, integer
Returns the last n elements from the list.
Example:42
account_id, string required
The unique identifier of the company to list payout methods for.
Example:biz_xxxxxxxxxxxxxx
Response
A successful response
object required
The connection type for PayoutToken.
data, Payout Method List Item[] required
A list of nodes.
page_info, Page Info required
Information to aid in pagination.
Example response
{
"data": [
{
"account_reference": "****1234",
"company": {
"id": "biz_xxxxxxxxxxxxxx"
},
"created_at": "2023-12-01T05:00:00.401Z",
"currency": "USD",
"id": "potk_xxxxxxxxxxxxx",
"institution_name": "Frost Bank",
"nickname": "Ops checking"
}
]
}Changes
- breaking
added the new required
queryrequest parameteraccount_id - warning
deleted the
queryrequest parametercompany_id
- breaking
- info
added the non-success response with the status
- info