InvoicesApi - object-oriented interface export InvoicesApi

Hierarchy (view full)

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • Invoices represent the lifecyle of moving funds from start to finish. Once a Invoice completes it provides the resulting invoices and payment ledgers for double-entry Invoiceing. Most Invoices are single-use.

    summary Retrieve a list of Invoices

    Parameters

    • Optionallimit: number

      A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

    • Optionalpage: number

      1-based page index for paginated results

    • OptionaluserId: string

      The user id to operate on their behalf (tenants only)

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Invoice[], any>>

    memberof InvoicesApi

  • Returns a single Invoice if found summary Find a Invoice by ID

    Parameters

    • id: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Invoice, any>>

    memberof InvoicesApi

  • Invoices are used as funding sources that are attached to Orchestrations. summary Create a Invoice

    Parameters

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Invoice, any>>

    memberof InvoicesApi

  • summary Download invoice pdf

    Parameters

    • id: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof InvoicesApi

  • summary Finalize draft invoive

    Parameters

    • id: string
    • OptionalinvoiceFinalizeDeets: InvoiceFinalizeDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Invoice, any>>

    memberof InvoicesApi

  • Parameters

    • id: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof InvoicesApi

  • summary Pay finalized invoice

    Parameters

    • id: string
    • OptionalinvoicePayDeets: InvoicePayDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Invoice, any>>

    memberof InvoicesApi