Type Alias Check

Check: {
    amount: string;
    asset: CryptoCurrencyCode;
    botCheckUrl: string;
    createdAt: Date;
    hash: string;
    id: number;
    status: CheckStatus;
    activatedAt?: Date;
    pinToUserId?: number;
    pinToUsername?: string;
}

Check type object for Client.getChecks, Client.getChecksPaginate and Client.createCheck methods results

Type declaration

  • amount: string

    Check amount

  • asset: CryptoCurrencyCode

    Check asset

  • botCheckUrl: string

    Check receive url for user by bot

  • createdAt: Date

    Check created date

  • hash: string

    Check hash

  • id: number

    Check identifier

  • status: CheckStatus

    Check status

  • OptionalactivatedAt?: Date

    Check activated date

  • OptionalpinToUserId?: number

    ID of the user who will be able to activate the check, only if passed in check creation, if exists, field pinToUsername will be absent

  • OptionalpinToUsername?: string

    A user with the specified username will be able to activate the check, only if passed in check creation, if exists, field pinToUserId will be absent