Invoices

Get invoice payment settings by invoice ID

Changed on

Get payment settings for invoices by invoice ID. 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.

get/payments/settings/invoices/for-invoice/{id}

Request

  • Base URL
    https://sandbox.sequencehq.com/api
  • URL
    https://sandbox.sequencehq.com/api/payments/settings/invoices/for-invoice/{id}
  • Auth
    none declared. Required headers: Authorization

Path parameters

idstring required

Unique invoice ID

Headers

Authorizationstring required

Your API credentials. Eg. Basic {credentials}.

sequence-version'2024-07-30'

Use this header to select an API version

Response

OK

idstring required

Unique payment provider id.

sequenceAccountIdstring required

Sequence Account ID.

invoiceIdstring required

Invoice ID.

paymentProvider'STRIPE' | 'GOCARDLESS' | 'NONE' required

Example response

{
  "id": "bc61d4b8-e9d6-4f4a-9bcf-f5dae874c730",
  "sequenceAccountId": "bc61d4b8-e9d6-4f4a-9bcf-f5dae874c730",
  "invoiceId": "bc61d4b8-e9d6-4f4a-9bcf-f5dae874c730",
  "paymentProvider": "STRIPE"
}

Changes

    • warning

      deleted the header request parameter Sequence-Version

    • info

      added the new optional header request parameter sequence-version