curl --request GET \
--url https://api.whop.com/api/v1/card_transactions \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"usd_amount": 6.9,
"authorization_method": "ecommerce",
"created_at": "2023-12-01T05:00:00.401Z",
"card_id": "<string>",
"cashback_usd_amount": 6.9,
"currency": "USD",
"declined_reason": "insufficient_funds",
"international": true,
"local_amount": 6.9,
"memo": "Team dinner",
"merchant_category": "Software",
"merchant_category_code": "5734",
"merchant_icon_url": "https://logo.clearbit.com/example.com",
"merchant_name": "Acme Corporation",
"posted_at": "2023-12-01T05:00:00.401Z",
"status": "pending",
"transaction_type": "spend"
}
],
"page_info": {
"end_cursor": "<string>",
"start_cursor": "<string>",
"has_next_page": true,
"has_previous_page": true
}
}Returns a paginated list of card transactions for a company.
Required permissions:
payout:account:readcurl --request GET \
--url https://api.whop.com/api/v1/card_transactions \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"usd_amount": 6.9,
"authorization_method": "ecommerce",
"created_at": "2023-12-01T05:00:00.401Z",
"card_id": "<string>",
"cashback_usd_amount": 6.9,
"currency": "USD",
"declined_reason": "insufficient_funds",
"international": true,
"local_amount": 6.9,
"memo": "Team dinner",
"merchant_category": "Software",
"merchant_category_code": "5734",
"merchant_icon_url": "https://logo.clearbit.com/example.com",
"merchant_name": "Acme Corporation",
"posted_at": "2023-12-01T05:00:00.401Z",
"status": "pending",
"transaction_type": "spend"
}
],
"page_info": {
"end_cursor": "<string>",
"start_cursor": "<string>",
"has_next_page": true,
"has_previous_page": true
}
}Documentation Index
Fetch the complete documentation index at: https://docs.whop.com/llms.txt
Use this file to discover all available pages before exploring further.
A company API key, company scoped JWT, app API key, or user OAuth token. You must prepend your key/token with the word 'Bearer', which will look like Bearer ***************************
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
42
Returns the last n elements from the list.
42
Filter transactions to a specific card.
The company to list card transactions for.
"biz_xxxxxxxxxxxxxx"
Only return transactions created after this timestamp.
"2023-12-01T05:00:00.401Z"
Only return transactions created before this timestamp.
"2023-12-01T05:00:00.401Z"
Sort direction for results.
asc, desc Filter by transaction lifecycle status.
pending, completed, reversed, declined Was this page helpful?