curl --request GET \
--url https://api.sfcompute.com/v0/transactions{
"object": "transactions",
"transactions": [
{
"id": "tx_1234567890-4",
"timestamp": "2024-03-15T00:30:00.000Z",
"direction": "outgoing",
"status": "accepted",
"amount": 5000,
"account_kind": "primary",
"balance_before": 70000,
"balance_after": 65000,
"metadata": {
"type": "buy",
"start_time": "2024-11-05T07:24:24.207Z",
"end_time": "2024-11-05T09:24:24.207Z",
"quantity": 2,
"order_id": "ordr_34Az95N",
"instance_type_requirements": {
"accelerator_types": [
"H100"
],
"interconnect_types": [
"Infiniband"
],
"regions": [
"NorthAmerica"
],
"delivery_type": "K8s"
}
}
}
],
"pagination": {
"has_more": true,
"count": 1,
"oldest_timestamp": "2024-03-15T00:30:00.000Z",
"newest_timestamp": "2024-03-15T00:30:00.000Z"
}
}curl --request GET \
--url https://api.sfcompute.com/v0/transactions{
"object": "transactions",
"transactions": [
{
"id": "tx_1234567890-4",
"timestamp": "2024-03-15T00:30:00.000Z",
"direction": "outgoing",
"status": "accepted",
"amount": 5000,
"account_kind": "primary",
"balance_before": 70000,
"balance_after": 65000,
"metadata": {
"type": "buy",
"start_time": "2024-11-05T07:24:24.207Z",
"end_time": "2024-11-05T09:24:24.207Z",
"quantity": 2,
"order_id": "ordr_34Az95N",
"instance_type_requirements": {
"accelerator_types": [
"H100"
],
"interconnect_types": [
"Infiniband"
],
"regions": [
"NorthAmerica"
],
"delivery_type": "K8s"
}
}
}
],
"pagination": {
"has_more": true,
"count": 1,
"oldest_timestamp": "2024-03-15T00:30:00.000Z",
"newest_timestamp": "2024-03-15T00:30:00.000Z"
}
}Return transactions after this timestamp (exclusive)
"2024-03-15T00:00:00Z"
Return transactions before this timestamp (exclusive)
"2024-03-16T00:00:00Z"
Maximum number of transactions to return (default: 50, max: 500)
^\d+$"20"
Filter transactions by one or more transaction types. No filter shows all transaction categories.
buy, sell, transfer, error, instant_deposit, deposit_ach, withdrawal_bank, refund, admin_ledger_transfer, fulfillment_escrow_release, promotional_credit, delivery_fees_collected "instant_deposit"
Filter transactions by one or more account kinds. Primary account most relevant for most users. No filter shows all account kinds.
primary, capital, withdrawal_reserve, fulfillment_escrow, delivery_fee_escrow "primary"
List of transactions for the account
List of transactions for an account
The type of the response object
transactions "transactions"
Transactions for all accounts (see account kind) associated with this user.
Show child attributes
Pagination information
Show child attributes