Invoices
Create invoice payment settings
Create payment settings for invoices. Invoices with payment settings contain payment links. If payment details are on file with Stripe or other payment providers, then payments are automatically collected when you finalise and send an invoice. Invoice payment settings override billing schedule payment settings and customer payment settings.
POST
/
payments
/
settings
/
invoices
Headers
Authorization
string
requiredYour API credentials. Eg. Basic {credentials}
.
Sequence-Version
enum<string>
Use this header to select an API version
Available options:
2024-07-30
Body
application/json
invoiceId
string
requiredInvoice ID.
paymentProvider
enum<string>
requiredSequence Account ID.
Available options:
STRIPE
, NONE
customerId
string
Customer ID.
Response
201 - application/json
id
string
requiredUnique payment provider id.
sequenceAccountId
string
requiredSequence Account ID.
invoiceId
string
requiredInvoice ID.
customerId
string
requiredCustomer ID.
paymentProvider
enum<string>
requiredSequence Account ID.
Available options:
STRIPE
, NONE