Skip to main content

Create Funding Channel

POST 

/api/funding-channels

This endpoint can be used to create a Funding Channel. See Funding Protocols for available funding types.

Request

Body

required

    accountId stringrequired

    The id of the partner account to add this Funding Channel to.

    fundingTypeName stringrequired

    Possible values: [polygon-amoy-usdc-universal-evm-test, polygon-usdc-universal-evm-live, arbitrum-mainnet-usdc-universal-evm, arbitrum-sepolia-usdc-universal-evm, algorand-usdc, algorand-testnet-usdc, simulator-usdc, custodial-usdc-live, custodial-usdc-test]

    The name of the Funding Type.

    purpose string

    Possible values: [card-funding, billing]

    The purpose of the Funding Channel. Defaults to "card-funding".

    params

    object

    required

    Parameters for the Funding Channel. The valid parameters depend on the Funding Type.

    oneOf

    storageAddress string

    The address of the storage contract.

Responses

Successful operation

Schema

    id string

    Funding Channel primary identifier.

    createdAt string

    Timestamp of Funding Channel creation.

    storageAddress string

    Fund storage smart contract address.

    fundingTypeName string

    The type of Funding Channel registered.

    name string

    Name of the Funding Channel.

    purpose string

    Purpose of the Funding Channel.

Loading...