Skip to main content
Pays an open invoice using the account default payment method or the payment_method you provide. On success, status becomes paid and amount_due becomes zero.

Parameters

string
Override the default payment method with a specific payment method ID.

Returns

Returns the updated invoice.