Skip to main content
GET
/
accountOwners
curl --request GET \
     --url https://api.tryaqueduct.com/v1/accountOwners \
     --header 'Accept: application/json' \
     --header 'Authorization: null
[
  {
    "id": "owner_01FSSVRVGQ7GGB13815DE3F518",
    "name": "Bobby Buyer",
    "email": "[email protected]",
    "phoneNumber": "555-555-5555",
    "address": {
      "addressLine1": "123 Cherry Lane",
      "addressLine2": "Apt 456",
      "city": "San Francisco",
      "state": "CA",
      "postalCode": "94103",
      "country": "USA"
    },
    "tags": [
      "customer",
      "payout-target"
    ],
    "primaryAccount": {
      "id": "acct_01FSSVRVGQ7GGB13815DE3F518",
      "currentBalance": 123,
      "currency": "USD",
      "isCredits": true,
      "tag": "marketplace"
    },
    "stripeCustomerId": "cus_234827394"
  }
]
curl --request GET \
     --url https://api.tryaqueduct.com/v1/accountOwners \
     --header 'Accept: application/json' \
     --header 'Authorization: null

Authorizations

Authorization
string
header
required

Query Parameters

accountType
string

The account type to fetch

tag
string

The tag to filter by

Response

200 - application/json

Returns a list of account owners that matched the parameters provided

id
string

A unique identifier for the object

Example:

"owner_01FSSVRVGQ7GGB13815DE3F518"

name
string

Name of the account owner (person or organization)

Example:

"Bobby Buyer"

email
string

Contact email address - usually the billing email of the organization

phoneNumber
string
Example:

"555-555-5555"

address
object

A physical address associated with an account owner

tags
string[]

Tags associated with this account owner

Example:
["customer", "payout-target"]
primaryAccount
object

The default ledger account for this account owner - as opposed to additional accounts for e.g. credits

stripeCustomerId
string

The Stripe Customer Id associated with this account owner. Will be used for all Stripe payments associated with the account owner.

Example:

"cus_234827394"