WalletsApi - object-oriented interface export WalletsApi

Hierarchy (view full)

Constructors

Properties

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

Methods

  • summary Get the balance for all wallets

    Parameters

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Balance, any>>

    memberof WalletsApi

  • summary Get all wallets

    Parameters

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

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

    memberof WalletsApi

  • summary Enable a wallet

    Parameters

    • key: string

      The wallet key/identifier

    • OptionalwalletEnableDeets: WalletEnableDeets

      Details for the wallet to enable

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Wallet, any>>

    memberof WalletsApi

  • summary Get a single wallet

    Parameters

    • key: string

      The key/identifier for the wallet

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Wallet, any>>

    memberof WalletsApi

  • summary Add a payment method to a wallet

    Parameters

    • key: string

      The wallet key

    • OptionalpaymentMethodCreateDeets: PaymentMethodCreateDeets

      The payment method details

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof WalletsApi

  • summary Update a card or bank payment method.

    Parameters

    • key: string

      The wallet key

    • OptionalpaymentMethodUpdateDeets: PaymentMethodUpdateDeets

      Payment method update details

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof WalletsApi

  • summary Set Wallet Default Payout Method

    Parameters

    Returns Promise<AxiosResponse<void, any>>

    memberof WalletsApi

  • summary Add a payment/payout both method to a wallet

    Parameters

    • key: string

      The wallet key

    • OptionalpaymentPayoutMethodCreateDeets: PaymentPayoutMethodCreateDeets

      The payment method details

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof WalletsApi

  • summary Add a payout method to a wallet

    Parameters

    • key: string

      The wallet key

    • OptionalpayoutMethodCreateDeets: PayoutMethodCreateDeets

      The payout method details

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof WalletsApi