• Funds an existing channel with the given amount. The channel must be in state OPEN

    Parameters

    • payload: {
          amount: string;
          apiEndpoint: string | URL;
          apiToken: string;
          channelId: string;
          timeout?: number;
      }
      • amount: string
      • apiEndpoint: string | URL

        The API endpoint for authentication.

      • apiToken: string

        The API token for authentication.

      • channelId: string
      • Optional timeout?: number

        optional timeout for the requests

    Returns Promise<{
        receipt: string;
    }>