Skip to main content

Create a Funding Channel

POST 

/api/funding-channels

This endpoint can be used to create a Funding Channel.

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]

    The name of the Funding Type.

    params

    object

    required

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

    storageAddress string

    The address of the storage contract. Required for universal evm Funding Types.

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.

Loading...