Create
Path parameters
entityId
Entity ID or Entity ForeignID
counterpartyId
Counterparty Entity ID or Counterparty Entity ForeignID
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
totalAmount
Total amount of the vendor credit in major units
currency
Currency code for the amount. Defaults to USD.
note
An optional note to attach to the vendor credit
Response
This endpoint returns an object.
id
vendorId
ID of the vendor the vendor credit may be used for
payerId
ID of the payer who may use the vendor credit
createdAt
updatedAt
totalAmount
Total issued amount of the vendor credit in major units
remainingAmount
Remaining usable amount in the vendor credit in major units
currency
Currency code for the amount. Defaults to USD.
creatorEntityId
ID of the entity that created this vendor credit
note
An optional note to attach to the vendor credit
invoiceIds
The IDs of the invoices that this vendor credit has been applied to