List owner payables
GET
/api/trust/owner-payables
const url = 'https://api.getvespy.com/api/trust/owner-payables?kind=distribution&status=pending';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.getvespy.com/api/trust/owner-payables?kind=distribution&status=pending' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”ownerId
string format: uuid
propertyId
string format: uuid
kind
string
A distribution pays the owner out of the property’s account; a contribution is money the owner puts in.
status
string
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
ownerPayables
required
Array<object>
object
amountCents
required
integer
bankAccountId
required
The bank account the money moved in; set when paid.
string format: uuid
createdAt
required
string format: date-time
createdByUserId
required
string format: uuid
description
required
string
id
required
string format: uuid
kind
required
A distribution pays the owner out of the property’s account; a contribution is money the owner puts in.
string
organizationId
required
string format: uuid
overrideReason
required
string
ownerId
required
string format: uuid
paidAt
required
string format: date-time
paymentMethod
required
string
propertyId
required
string format: uuid
reference
required
string
status
required
string
updatedAt
required
string format: date-time
voidedAt
required
string format: date-time
Example
{ "ownerPayables": [ { "kind": "distribution", "paymentMethod": "check", "status": "pending" } ]}Default Response
Media typeapplication/json
object
code
string
errors
Array<object>
object
code
required
string
message
required
string
path
required
string
message
required
string
Examplegenerated
{ "code": "example", "errors": [ { "code": "example", "message": "example", "path": "example" } ], "message": "example"}Default Response
Media typeapplication/json
object
code
string
errors
Array<object>
object
code
required
string
message
required
string
path
required
string
message
required
string
Examplegenerated
{ "code": "example", "errors": [ { "code": "example", "message": "example", "path": "example" } ], "message": "example"}Default Response
Media typeapplication/json
object
code
string
errors
Array<object>
object
code
required
string
message
required
string
path
required
string
message
required
string
Examplegenerated
{ "code": "example", "errors": [ { "code": "example", "message": "example", "path": "example" } ], "message": "example"}