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, custodial-test-usdc]

    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 stringrequired

    Funding Channel primary identifier.

    accountId stringrequired

    Partner Account ID.

    createdAt stringrequired

    Timestamp of Funding Channel creation.

    fundingTypeName stringrequired

    The type of Funding Channel registered.

    name stringrequired

    Name of the Funding Channel.

    purpose stringrequired

    Purpose of the Funding Channel.

    params

    object

    required

    Parameters for the Funding Channel.

    oneOf

    storageAddress string

    The address of the storage contract.

    storageAddress stringdeprecated

    Deprecated. See params for storage address.

Loading...