GET
/
v2
/
accounts
/
master_account
curl --request GET \
  --url https://api.sandbox.solidfi.com/v2/accounts/master_account \
  --header 'api-key: <api-key>'
{
  "total": 1,
  "data": [
    {
      "id": "mas_743fa071316bc6beaf5dddfd05f49c30",
      "client_id": "cli_64c6c87ee9d609f36a6f390dc378a4ce",
      "master_account_holder_id": "mah_201e02c581a098a740456c5c19fcfcd6",
      "label": "Payments Account",
      "available_balance": "104100.41",
      "pending_credits": "1198.50",
      "pending_debits": "390.10",
      "account_number": "9545931209",
      "routing_number": "123321123",
      "sponsor_bank": "Sponsor Bank",
      "currency": "usd",
      "external_reference_id": "XV-H27LGD-FX",
      "purpose": "Payment Ops Master Account",
      "attachments": [
        {
          "label": "flow of funds doc",
          "id": "att_a8d2b191fa0e960d8e49a4bfd320e07b",
          "created_at": "2024-04-01T21:00:00Z"
        }
      ],
      "metadata": {
        "master_account_code": "001"
      },
      "status": "open",
      "timestamps": {
        "created_at": "2024-04-01T21:00:00Z",
        "updated_at": "2024-04-02T21:00:00Z",
        "closed_at": "2024-04-03T21:00:00Z"
      }
    }
  ],
  "has_more": "true",
  "starting_after": "Y2xpXzAxOGY4NjEzMDEyYjdlNTFiOTZjNmVlYWJiNmRiZTky",
  "ending_before": "Y2xpXzAxOGY4NjEzMDEyYjdlNTFiOTZjNmVlYWJiNmRiZTky"
}

Headers

api-key
string
required

API key is required to call Solid APIs. You can view and manage your API keys in the Solid dashboard.

Query Parameters

master_account_holder_id
string

unique id of the master account holder

status
enum<string>

status of master account

Available options:
open,
closed,
credit_blocked,
debit_blocked,
blocked,
locked
limit
number

number of records to return

starting_after
string

A cursor for use in pagination. starting_after is an ID that defines your place in the list. For instance, if you make a list request and receive 50 records, ending with Y2xpXzAxOGY4NjEzMDEyYjdlNTFiOTZjNmVlYWJiNmRiZTky, your subsequent call can include starting_after=Y2xpXzAxOGY4NjEzMDEyYjdlNTFiOTZjNmVlYWJiNmRiZTky in order to fetch the next page of the list.

ending_before
string

A cursor for use in pagination. ending_before is an ID that defines your place in the list. For instance, if you make a list request and receive 50 records, starting with Y2xpXzAxOGY4NjEzMDEyYjdlNTFiOTZjNmVlYWJiNmRiZTky, your subsequent call can include ending_before= Y2xpXzAxOGY4NjEzMDEyYjdlNTFiOTZjNmVlYWJiNmRiZTky in order to fetch the previous page of the list.

Response

200
application/json
List all Master Accounts
total
number

total number of records

data
object[]
has_more
enum<string>

if there are more records to iterate or not

Available options:
true,
false
starting_after
string

A cursor for use in pagination. starting_after is an ID that defines your place in the list. For instance, if you make a list request and receive 50 records, ending with Y2xpXzAxOGY4NjEzMDEyYjdlNTFiOTZjNmVlYWJiNmRiZTky, your subsequent call can include starting_after=Y2xpXzAxOGY4NjEzMDEyYjdlNTFiOTZjNmVlYWJiNmRiZTky in order to fetch the next page of the list.

ending_before
string

A cursor for use in pagination. ending_before is an ID that defines your place in the list. For instance, if you make a list request and receive 50 records, starting with Y2xpXzAxOGY4NjEzMDEyYjdlNTFiOTZjNmVlYWJiNmRiZTky, your subsequent call can include ending_before= Y2xpXzAxOGY4NjEzMDEyYjdlNTFiOTZjNmVlYWJiNmRiZTky in order to fetch the previous page of the list.