Class RefundsApi

RefundsApi - object-oriented interface

Export

Hierarchy

  • BaseAPI
    • RefundsApi

Constructors

  • Parameters

    • Optional configuration: Configuration
    • basePath: string = BASE_PATH
    • axios: AxiosInstance = globalAxios

    Returns RefundsApi

Properties

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

Methods

  • Creates a Refund.

    Summary

    Create a Refund

    Throws

    Memberof

    RefundsApi

    Parameters

    • requestParameters: RefundsApiCreateRefundRequest

      Request parameters.

    • Optional options: RawAxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<Refund, any>>

  • Retrieves the details of an existing Refund.

    Summary

    Get a Refund

    Throws

    Memberof

    RefundsApi

    Parameters

    • requestParameters: RefundsApiGetRefundRequest

      Request parameters.

    • Optional options: RawAxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<Refund, any>>

  • Returns a list of Refunds. The Refunds are sorted with the most recently created appearing first.

    Summary

    List all Refunds

    Throws

    Memberof

    RefundsApi

    Parameters

    • requestParameters: RefundsApiListRefundsRequest

      Request parameters.

    • Optional options: RawAxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<ListRefunds200Response, any>>

Generated using TypeDoc