> ## Documentation Index
> Fetch the complete documentation index at: https://docs.streamlinedpayments.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get invoice payment instructions

> How the invoice's customer can pay it, as the invoice page shows it: the bank account for a
bank transfer or wire, the address for a check, whether card and bank debit are offered
online, and the invoice's `payment_url`.

A customer who has no bank account to send money to yet gets `bank_account_pending: true`.
Streamlined creates the account with the customer's first invoice that shows bank details.
This request never creates one.




## OpenAPI

````yaml /api-reference/openapi.yaml get /invoices/{id}/payment_instructions
openapi: 3.0.3
info:
  title: Streamlined API
  description: >
    Access customers, customer applications, customer groups, products, payouts,
    invoices, transactions, deposit links, and the reports behind your dashboard
    programmatically through this API, and receive webhooks when deposit links
    change. All requests must be authenticated with an API key, except [Create
    signup intent](/api-reference/signup/create-signup-intent), which an AI
    agent can call for a business that wants an account.
  version: 1.18.0
  license:
    name: Proprietary
    url: https://streamlinedpayments.com/terms
servers:
  - url: https://api.staging.streamlinedpayments.com/api/v1
    description: Sandbox
  - url: https://api.streamlinedpayments.com/api/v1
    description: Production
security:
  - AppIdAuth: []
    ApiKeyAuth: []
tags:
  - name: Customers
    description: Create, update and delete the businesses you sell to.
  - name: Customer applications
    description: >-
      List the applications your customers submit, and approve them. Approving
      can also set net terms and export the customer to Shopify. See [Approve
      customer applications](/guides/customer-applications).
  - name: Customer groups
    description: >-
      Organize customers into groups and manage who's in each one. A group can
      be linked to a Shopify B2B company.
  - name: Customer files
    description: Upload and manage files attached to a customer.
  - name: Customer addresses
    description: Manage a customer's addresses and choose their default billing address.
  - name: Orders
    description: Create orders, add and remove line items, and schedule them.
  - name: Invoices
    description: Create invoices from orders, then list, look up and update them.
  - name: Transactions
    description: >-
      Record payments you received elsewhere and credit or debit notes, apply
      payments to invoices, and look up where each one went. See [Record and
      apply payments](/guides/record-and-apply-payments).
  - name: Payouts
    description: List payouts, including pending ones, and look one up.
  - name: Products
    description: >-
      Create and update the products and services you sell, import them in bulk,
      and merge duplicates.
  - name: Deposit links
    description: Collect money from a customer before an invoice exists.
  - name: Webhooks
    description: >-
      Register HTTPS endpoints to receive events when something changes. See
      [Webhooks](/guides/webhooks) for signatures, retries and delivery
      guarantees.
  - name: Signup
    description: >-
      Get a signup link, or an email from our team, for a business you're
      helping start with Streamlined. For AI agents, with no API key. See [Sign
      up a business](/guides/sign-up-a-business).
  - name: Reports
    description: >-
      Read the aging, sales, collections, and customer figures your dashboard
      and customer pages show. Amounts are in cents, in the currency each
      response names. See [Reports](/guides/reports) for how each figure is
      worked out.
paths:
  /invoices/{id}/payment_instructions:
    get:
      tags:
        - Invoices
      summary: Get invoice payment instructions
      description: >
        How the invoice's customer can pay it, as the invoice page shows it: the
        bank account for a

        bank transfer or wire, the address for a check, whether card and bank
        debit are offered

        online, and the invoice's `payment_url`.


        A customer who has no bank account to send money to yet gets
        `bank_account_pending: true`.

        Streamlined creates the account with the customer's first invoice that
        shows bank details.

        This request never creates one.
      operationId: getInvoicePaymentInstructions
      parameters:
        - name: id
          in: path
          description: The UUID of the invoice
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentInstructions'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: The invoice isn't on your account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CodedError'
              example:
                error: Invoice not found
                code: invoice_not_found
components:
  schemas:
    PaymentInstructions:
      type: object
      properties:
        currency:
          $ref: '#/components/schemas/Currency'
        bank_transfer:
          type: object
          nullable: true
          description: >-
            The bank account to send a bank transfer or wire to. Null when the
            customer can't pay this way, or has no account yet (see
            `bank_account_pending`). Only the fields that apply to the account's
            country are present.
          properties:
            type:
              type: string
              description: >-
                `bank_transfer` for a domestic bank transfer, or
                `international_wire`.
            account_name:
              type: string
              description: Your legal business name.
            currency:
              type: string
            bank_name:
              type: string
            account_number:
              type: string
            routing_number:
              type: string
            swift_code:
              type: string
            iban:
              type: string
            bic:
              type: string
            sort_code:
              type: string
        bank_account_pending:
          type: boolean
          description: >-
            True when the customer can pay by bank transfer but has no account
            to send it to yet. Streamlined creates it with the customer's first
            invoice that shows bank details.
        check:
          type: object
          nullable: true
          description: Where to mail a check. Null when checks aren't offered.
          properties:
            payee:
              type: string
            attention:
              type: string
              description: The reference to write on the check.
            address1:
              type: string
            city:
              type: string
            state:
              type: string
            postal_code:
              type: string
            country:
              type: string
        online:
          type: object
          properties:
            card:
              type: boolean
              description: Whether the customer can pay by card online.
            bank_debit:
              type: boolean
              description: Whether the customer can pay by bank debit online.
            payment_url:
              type: string
              nullable: true
              description: The invoice's payment page. Null for a customer's instructions.
      example:
        currency: USD
        bank_transfer:
          type: bank_transfer
          account_name: Jane's Coffee Roasters LLC
          currency: USD
          bank_name: Example Bank
          account_number: '9876543210'
          routing_number: '084106768'
        bank_account_pending: false
        check:
          payee: Jane's Coffee Roasters LLC
          attention: NWT-4821
          address1: PO Box 2350
          city: Sioux Falls
          state: SD
          postal_code: '57101'
          country: US
        online:
          card: true
          bank_debit: true
          payment_url: >-
            https://app.streamlinedpayments.com/p/5f0c2e8a-91b4-4d7e-a3c6-2b8f1d9e4a70
    CodedError:
      type: object
      description: >-
        An error with a sentence to show people and a stable `code` to branch
        on.
      properties:
        error:
          type: string
          description: >-
            What went wrong, as a sentence to show people. Don't parse it. The
            wording can change.
        code:
          type: string
          description: A stable value to branch on. The endpoint's guide lists each one.
    Currency:
      type: string
      description: >-
        ISO currency code. Most resources support these. Products are limited to
        USD, CAD, EUR, GBP, AUD.
      enum:
        - USD
        - CAD
        - GBP
        - EUR
        - AUD
        - JPY
        - INR
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
  responses:
    Unauthorized:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            AuthenticationRequired:
              value:
                error: Authentication required
                message: >-
                  API endpoint requires authentication. Please provide valid
                  X-App-Id and X-Api-Key headers.
            InvalidCredentials:
              value:
                error: Invalid credentials
                message: >-
                  The provided API credentials are invalid. Please check your
                  X-App-Id and X-Api-Key values.
  securitySchemes:
    AppIdAuth:
      type: apiKey
      in: header
      name: X-App-Id
      description: App ID for authentication
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: API Key for authentication

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.