API Reference
Enable or disable autopay for an invoice
POST
/
invoices
/
{invoiceId}
/
autopay
Authorizations
X-CUSTOMER-OS-API-KEY
string
headerrequiredPath Parameters
invoiceId
string
requiredBody
application/json
autopayEnabled
boolean
requiredpaymentMethodId
string
Response
200 - application/json
id
string
autopayEnabled
boolean
paymentMethodId
string