CustomerInvoiceCharge

Create CustomerInvoiceCharge

Changed on

The invoice must be in draft status. Adding a charge to an issued invoice fails with 422 Invoice must be in draft status; return the invoice to draft first.

post/provider/customer_invoices/{customer_invoice_id}/charges

Request

  • Base URL
    https://api.sandbox.hint.com/api
  • URL
    https://api.sandbox.hint.com/api/provider/customer_invoices/{customer_invoice_id}/charges
  • Auth
    API key in header AUTHORIZATION

Path parameters

customer_invoice_idstring required

Unique Customer Invoice ID

Request body

quantitynumber double required
price_in_centsnumber double required
namestring required
descriptionstring
datestring date

Response

Successful response

Changes