Apply Credit to Open Invoices
Apply a credit to one or more open invoices. If no invoice UUIDs are provided, the credit is applied to open invoices oldest-first until exhausted.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The idempotency key that will be used to ensure the request is only performed once
Path Parameters
The company ID with the prefix 'cmp_'.
The resource ID
Body
The invoice UUIDs to apply the credits to. If not provided, we apply the credits to open invoices one by one till the credits run out or there are no more open invoices. We start by applying the invoices to the oldest invoice.
Response
OK
The amount which has value in cents and a currency
The amount which has value in cents and a currency

