WalletsApi - factory interface export

  • Parameters

    • Optionalconfiguration: Configuration
    • OptionalbasePath: string
    • Optionalaxios: AxiosInstance

    Returns {
        apiWalletsBalanceGet(options?: RawAxiosRequestConfig): AxiosPromise<Balance>;
        apiWalletsGet(options?: RawAxiosRequestConfig): AxiosPromise<Wallet[]>;
        apiWalletsKeyEnablePost(key: string, walletEnableDeets?: WalletEnableDeets, options?: RawAxiosRequestConfig): AxiosPromise<Wallet>;
        apiWalletsKeyGet(key: string, options?: RawAxiosRequestConfig): AxiosPromise<Wallet>;
        apiWalletsKeyPaymentMethodsPost(key: string, paymentMethodCreateDeets?: PaymentMethodCreateDeets, options?: RawAxiosRequestConfig): AxiosPromise<void>;
        apiWalletsKeyPaymentMethodsPut(key: string, paymentMethodUpdateDeets?: PaymentMethodUpdateDeets, options?: RawAxiosRequestConfig): AxiosPromise<void>;
        apiWalletsKeyPaymentPayoutDefaultPost(key: string, payoutMethodDefaultUpdateDeets?: PayoutMethodDefaultUpdateDeets, options?: RawAxiosRequestConfig): AxiosPromise<void>;
        apiWalletsKeyPaymentPayoutMethodsPost(key: string, paymentPayoutMethodCreateDeets?: PaymentPayoutMethodCreateDeets, options?: RawAxiosRequestConfig): AxiosPromise<void>;
        apiWalletsKeyPayoutMethodsPost(key: string, payoutMethodCreateDeets?: PayoutMethodCreateDeets, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    }

    • apiWalletsBalanceGet:function
      • summary Get the balance for all wallets

        Parameters

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<Balance>

    • apiWalletsGet:function
      • summary Get all wallets

        Parameters

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<Wallet[]>

    • apiWalletsKeyEnablePost:function
      • 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 AxiosPromise<Wallet>

    • apiWalletsKeyGet:function
      • summary Get a single wallet

        Parameters

        • key: string

          The key/identifier for the wallet

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns AxiosPromise<Wallet>

    • apiWalletsKeyPaymentMethodsPost:function
      • 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 AxiosPromise<void>

    • apiWalletsKeyPaymentMethodsPut:function
      • 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 AxiosPromise<void>

    • apiWalletsKeyPaymentPayoutDefaultPost:function
      • summary Set Wallet Default Payout Method

        Parameters

        Returns AxiosPromise<void>

    • apiWalletsKeyPaymentPayoutMethodsPost:function
      • 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 AxiosPromise<void>

    • apiWalletsKeyPayoutMethodsPost:function
      • 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 AxiosPromise<void>