Money

get/v0/transactions

Query parameters

starting_afterstring date-time

Return transactions after this timestamp (exclusive)

Example:2024-03-15T00:00:00Z
ending_beforestring date-time

Return transactions before this timestamp (exclusive)

Example:2024-03-16T00:00:00Z
limitstring

Maximum number of transactions to return (default: 50, max: 500)

Example:20
'buy' | 'sell' | 'transfer' | 'error' | 'instant_deposit' | 'deposit_ach' | 'withdrawal_bank' | 'refund' | 'admin_ledger_transfer' | 'fulfillment_escrow_release' | 'promotional_credit' | 'delivery_fees_collected'
OR
string[]
'primary' | 'capital' | 'withdrawal_reserve' | 'fulfillment_escrow' | 'delivery_fee_escrow'

The kind of account involved in the transaction. Each user has one account of each account kind. The account "primary" is the main one used for buy/sell on the platform.

OR
SanFranciscoComputeDocumentationAccountKind[]
Example:primary

Response

List of transactions for the account

object'transactions' required

The type of the response object

Example response

{
  "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"
  }
}

Changes

Changed in 3 of the 44 revisions of this API.32

  • efc2aea65f9b11See the full diff
    • added subschema #1 subschema #2 to the // response property oneOf list for the response status

      response-property-one-of-added

    • removed subschema #1 subschema #2 from the // response property oneOf list for the response status

      response-property-one-of-removed

  • cb712e28ea8e11See the full diff
    • added subschema #1 subschema #2 to the // response property oneOf list for the response status

      response-property-one-of-added

    • removed subschema #1 subschema #2 from the // response property oneOf list for the response status

      response-property-one-of-removed

    • removed the required property //// from the response with the status

      response-required-property-removed

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog