Skip to main content

Apply a payment to an invoice

POST 

/api/v3/invoice/:invoice_id/_action/pay

If a customer has an available balance (due to credit given, or previous overpayment), you can use this to apply their open/available customer balance to an invoice.

Request

Body

    number string
    expdate_year string
    expdate_month string
    name string
    address string
    city string
    state string
    postcode string
    country string
    routing string
    type string
    use_customer_balance boolean

Responses

Action completed successfully

Schema

    code integer
    status string
    message stringnullable
    details objectnullable
    response boolean
Loading...