Void owner payable
POST
/api/trust/owner-payables/{id}/void
const url = 'https://api.getvespy.com/api/trust/owner-payables/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/void';const options = {method: 'POST', 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 POST \ --url https://api.getvespy.com/api/trust/owner-payables/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/void \ --header 'Authorization: Bearer <token>'A pending payable is cancelled; a paid one also posts the reversal.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
ownerPayable
required
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
{ "ownerPayable": { "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"}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"}