Channels

A channel is a configured payment integration: on-chain assets, cards or local fiat methods such as LianLian. List channels with your own signed API key to discover the codes and capabilities available in that environment.

The capabilities model

  • Name
    code
    Type
    string
    Description

    The channel code to pass as channel when creating a charge.

  • Name
    name
    Type
    string
    Description

    Human-readable channel name. An operator-assigned name when set, else a generated English default.

  • Name
    name_is_default
    Type
    boolean
    Description

    true when name is the generated default (no operator-assigned name). UIs may then localize the label themselves from kind + currencies. Omitted when false.

  • Name
    kind
    Type
    string
    Description

    Payment-method family: crypto, card, local or other. LianLian is local and is controlled by the merchant’s fiat payment-mode setting.

  • Name
    settlement
    Type
    string
    Description

    Funds-flow mode: direct settles to your own wallet or Stripe account; custodial credits your Fluxa balance. Availability depends on the account’s enabled modes. See Settlement modes.

  • Name
    network
    Type
    string
    Description

    For self-hosted on-chain channels, the normalized network label (tron, base, bsc, …) matched by routed charges (the network parameter on Charges). Absent when not network-routable.

  • Name
    currencies
    Type
    array
    Description

    Accepted pricing currencies. Empty means any.

  • Name
    pay_currencies
    Type
    array
    Description

    When a channel lets the payer pick which crypto asset to settle in, the selectable assets. The first entry is the default. Absent when not selectable.

  • Name
    supports_refund
    Type
    boolean
    Description

    Whether the channel can be refunded through the platform.

  • Name
    requires_watcher
    Type
    boolean
    Description

    true for self-hosted on-chain channels (settlement is non-custodial).


GET/api/v1/channels

List channels

Signed locally — your secret stays in this browser and is never sent or stored.

No keys yet? Create an API key pair in the merchant portal — the secret is shown only once. Open the merchant portal →

Return the channels available for charges as a plain data array of capability objects.

Stripe Connect. While your own Stripe account is linked and active, the stripe entry describes the account your charges really run on: kind: "card", settlement: "direct", supports_refund: false. Keep charging with that stripe code. The platform's internal Connect channel never appears in this list, and while your link is disabled or disconnected the stripe entry is omitted, because a charge on it would be refused (stripe_connect_inactive).

Your own Stripe key. The same holds while you have your own Stripe key saved for an environment (and no Connect link there, which takes precedence): the stripe entry reports kind: "card", settlement: "direct", supports_refund: true (you can refund those orders through fluxa, on your own Stripe account), and the internal own-key channel is never listed.

Request

GET
/api/v1/channels
curl "$BASE/api/v1/channels" \
  -H "X-Api-Key: $KEY_ID" \
  -H "X-Timestamp: $TS" \
  -H "X-Signature: $SIG"

Response

{
  "data": [
    {
      "code": "usdc_base",
      "name": "USDC (Base)",
      "kind": "crypto",
      "settlement": "direct",
      "network": "base",
      "currencies": ["USDC"],
      "supports_refund": false,
      "requires_watcher": true
    },
    {
      "code": "usdt_erc20",
      "name": "USDT (ERC-20)",
      "kind": "crypto",
      "settlement": "direct",
      "network": "ethereum",
      "currencies": ["USDT"],
      "supports_refund": false,
      "requires_watcher": true
    }
  ]
}