Function RefundsApiAxiosParamCreator

  • RefundsApi - axios parameter creator

    Export

    Parameters

    Returns {
        createRefund: ((tilled_account, RefundCreateParams, options?) => Promise<RequestArgs>);
        getRefund: ((tilled_account, id, options?) => Promise<RequestArgs>);
        listRefunds: ((tilled_account, metadata?, offset?, limit?, options?) => Promise<RequestArgs>);
    }

    • createRefund: ((tilled_account, RefundCreateParams, options?) => Promise<RequestArgs>)
        • (tilled_account, RefundCreateParams, options?): Promise<RequestArgs>
        • Creates a Refund.

          Summary

          Create a Refund

          Throws

          Parameters

          • tilled_account: string

            The id of the Tilled Account (usually starting with the prefix `acct_`) that the request is performed on behalf of.

          • RefundCreateParams: RefundCreateParams
          • Optional options: RawAxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getRefund: ((tilled_account, id, options?) => Promise<RequestArgs>)
        • (tilled_account, id, options?): Promise<RequestArgs>
        • Retrieves the details of an existing Refund.

          Summary

          Get a Refund

          Throws

          Parameters

          • tilled_account: string

            The id of the Tilled Account (usually starting with the prefix `acct_`) that the request is performed on behalf of.

          • id: string
          • Optional options: RawAxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • listRefunds: ((tilled_account, metadata?, offset?, limit?, options?) => Promise<RequestArgs>)
        • (tilled_account, metadata?, offset?, limit?, options?): Promise<RequestArgs>
        • Returns a list of Refunds. The Refunds are sorted with the most recently created appearing first.

          Summary

          List all Refunds

          Throws

          Parameters

          • tilled_account: string

            The id of the Tilled Account (usually starting with the prefix `acct_`) that the request is performed on behalf of.

          • Optional metadata: {
                [key: string]: string;
            }

            `metadata` key-value pairs to filter by. Only exact matches on the key-value pair(s) will be returned. Example: `?metadata[internal_customer_id]=7cb1159d-875e-47ae-a309-319fa7ff395b`.

            • [key: string]: string
          • Optional offset: number

            The (zero-based) offset of the first item in the collection to return.

          • Optional limit: number

            The maximum number of entries to return. If the value exceeds the maximum, then the maximum value will be used.

          • Optional options: RawAxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

Generated using TypeDoc