Invoices
Create invoice payment settings
Changed onCreate 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
Request
- Base URLhttps://sandbox.sequencehq.com/api
- URLhttps://sandbox.sequencehq.com/api/payments/settings/invoices
- Authnone declared. Required headers: Authorization
Headers
Authorizationstring required
Your API credentials. Eg. Basic {credentials}.
sequence-version'2024-07-30'
Use this header to select an API version
Request body
Example request
{
"invoiceId": "bc61d4b8-e9d6-4f4a-9bcf-f5dae874c730",
"customerId": "bc61d4b8-e9d6-4f4a-9bcf-f5dae874c730",
"paymentProvider": "STRIPE"
}Response
Created
Example response
{
"id": "bc61d4b8-e9d6-4f4a-9bcf-f5dae874c730",
"sequenceAccountId": "bc61d4b8-e9d6-4f4a-9bcf-f5dae874c730",
"invoiceId": "bc61d4b8-e9d6-4f4a-9bcf-f5dae874c730",
"customerId": "bc61d4b8-e9d6-4f4a-9bcf-f5dae874c730",
"paymentProvider": "STRIPE"
}Changes
- breaking
the request property
became not nullable - warning
deleted the
headerrequest parameterSequence-Version - info
added the new optional
headerrequest parametersequence-version
- breaking
- info
the request property
became nullable
- info