UNPKG

bitpay-sdk

Version:

Complete version of the NodeJS library for the new cryptographically secure BitPay API

26 lines (25 loc) 1 kB
import { BitPayClient } from './BitPayClient'; import { TokenContainer } from '../TokenContainer'; import { GuidGenerator } from '../util/GuidGenerator'; import { PayoutGroupInterface, PayoutInterface } from '../Model'; export declare class PayoutGroupClient { private bitPayClient; private tokenContainer; private guidGenerator; constructor(bitPayClient: BitPayClient, tokenContainer: TokenContainer, guidGenerator: GuidGenerator); /** * * @param payouts * @throws BitPayApiException BitPayApiException class * @throws BitPayGenericException BitPayGenericException class */ submitPayouts: (payouts: PayoutInterface[]) => Promise<PayoutGroupInterface>; /** * * @param payoutGroupId * @throws BitPayApiException BitPayApiException class * @throws BitPayGenericException BitPayGenericException class */ cancelPayouts: (payoutGroupId: string) => Promise<PayoutGroupInterface>; private static getPayoutGroupResponse; }