Skip to main content
GET
/
v0
/
business
/
{business_id}
/
vendor-credit
/
{vendor_credit_id}
Get a Vendor Credit by ID
curl --request GET \
  --url https://api.sandbox.getasset.com/v0/business/{business_id}/vendor-credit/{vendor_credit_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "business_id": "<string>",
    "vendor_id": "<string>",
    "number": "<string>",
    "amount": 123,
    "issued_at": "2023-11-07T05:31:56Z",
    "journal_entry_id": "<string>",
    "id": "<string>",
    "voided": true,
    "memo": "<string>",
    "voided_at": "2023-11-07T05:31:56Z",
    "created_by": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

business_id
string<biz_string>
required
vendor_credit_id
string<vc_string>
required

Response

Successful Response

data
VendorCreditPublic · object
required