Revoke a credit note link
The public link stops working at once. A credit note with no link also answers 204: there is nothing to revoke. Sharing again afterwards mints a different token; the old one stays dead for good.
apiKeyAuthorizationBearer <token>An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.
id*stringRevoked, or there was nothing to revoke
curl -X DELETE "https://example.com/v1/credit-notes/crn_01K6XJ4Q8ZT3M9R5V2B7WDHNCA/share"Share a credit note POST
Creates a public, read-only link to this credit note that needs no API key: `GET /public/credit-notes/{token}`. Calling this again returns the same token, so the share button is safe to press twice.
Get a customer's balance GET
What a customer owes you and has paid, with one row for each currency they have been sold in. A customer with no sales has no rows. Every invoiced figure is net of the credit notes issued against those invoices.