Skip to main content
POST
/
accountOwners
/
{accountOwnerId}
curl --request POST \
     --url https://api.tryaqueduct.com/v1/accountOwners/accountOwnerId \
     --header 'Accept: application/json' \
     --header 'Authorization: null' \
     --header 'Content-Type: application/json'
{
  "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 POST \
     --url https://api.tryaqueduct.com/v1/accountOwners/accountOwnerId \
     --header 'Accept: application/json' \
     --header 'Authorization: null' \
     --header 'Content-Type: application/json'

Authorizations

Authorization
string
header
required

Path Parameters

accountOwnerId
string
required

The id of the AccountOwner to update

Body

application/json
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"

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"

address
object

A physical address associated with an account owner

tags
string[]

Tags associated with this account owner

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

Response

200 - application/json

Returns the AccountOwner that was updated in the request

Person or organization that owns an Account

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"