Options
All
  • Public
  • Public/Protected
  • All
Menu

Channels - object-oriented interface

export

Hierarchy

Index

Constructors

Methods

  • list(customerId?: string, startingAfter?: string, options?: any): Promise<AxiosResponse<ChannelListResult>>
  • summary

    List channels

    throws

    {RequiredError}

    memberof

    Channels

    Parameters

    • Optional customerId: string
    • Optional startingAfter: string
    • Optional options: any

    Returns Promise<AxiosResponse<ChannelListResult>>

  • listPayments(channelId: string, startingAfter?: string, options?: any): Promise<AxiosResponse<ChannelPaymentListResult>>
  • summary

    List channel payments

    throws

    {RequiredError}

    memberof

    Channels

    Parameters

    • channelId: string

      Channel ID

    • Optional startingAfter: string
    • Optional options: any

    Returns Promise<AxiosResponse<ChannelPaymentListResult>>

  • retrieve(channelId: string, options?: any): Promise<AxiosResponse<ChannelResult>>
  • summary

    Retrieve a channel

    throws

    {RequiredError}

    memberof

    Channels

    Parameters

    • channelId: string

      Channel ID

    • Optional options: any

    Returns Promise<AxiosResponse<ChannelResult>>

  • retrieveByCustomId(customId: string, options?: any): Promise<AxiosResponse<ChannelResult>>
  • summary

    Retrieve a channel by custom id

    throws

    {RequiredError}

    memberof

    Channels

    Parameters

    • customId: string
    • Optional options: any

    Returns Promise<AxiosResponse<ChannelResult>>

  • retrievePayment(channelId: string, channelPaymentId: string, options?: any): Promise<AxiosResponse<ChannelPaymentResult>>
  • summary

    Retrieve a channel payment

    throws

    {RequiredError}

    memberof

    Channels

    Parameters

    • channelId: string

      Channel ID

    • channelPaymentId: string

      Channel payment ID

    • Optional options: any

    Returns Promise<AxiosResponse<ChannelPaymentResult>>

Generated using TypeDoc