Skip to content

Pay invoice with credit

POST
/dashboard/invoices/{id}/pay/credit

Pays a specific invoice using the credit balance on your account.

Parameters

Path Parameters

id
required
integer

The ID of the invoice to pay with credit

Responses

200

Invoice successfully paid with credit

object
success
boolean
true

400

Invalid invoice ID or invoice cannot be paid with credit

object
success
boolean
message
string

403

User does not have access to this invoice

object
success
boolean
message
string

404

Invoice not found

object
success
boolean
message
string

422

Insufficient credit balance

object
success
boolean
message
string