Get

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

entityIdstringRequired
Entity ID or Entity ForeignID
counterpartyIdstringRequired
Counterparty Entity ID or Counterparty Entity ForeignID
vendorCreditIdstringRequired
ID of the vendor credit to retrieve

Response

This endpoint returns an object.
idstring
vendorIdstring
ID of the vendor the vendor credit may be used for
payerIdstring
ID of the payer who may use the vendor credit
createdAtdatetime
updatedAtdatetime
memoNumberstring
Memo number for the vendor credit
totalAmountdouble
Total issued amount of the vendor credit in major units
remainingAmountdouble
Remaining usable amount in the vendor credit in major units
currencyenum
Currency code for the amount. Defaults to USD.
creatorEntityIdstring
ID of the entity that created this vendor credit
notestring
An optional note to attach to the vendor credit
invoiceIdslist of strings
The IDs of the invoices that this vendor credit has been applied to

Errors

400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
409
Conflict
500
Internal Server Error
501
Unimplemented