Create Funding Channel

post/api/funding-channels

Create a Funding Channel to let your Cardholders create Funding Sources for a Funding Type's network and token. See Creating a Funding Channel for the parameters each Funding Type requires.

Request

Body application/json

  • accountIdstringrequired

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

  • fundingTypeNamestringrequired

    Name of the Funding Type to configure. See Funding Types for the available names.

  • purposestring
    Allowed values:card-fundingbilling

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

  • paramsobjectrequired

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

    One of

    • storageAddressstringrequired

      The address of the storage contract.

Response

Successful operation.

Body application/json

  • idstringrequired

    Funding Channel primary identifier.

  • accountIdstringrequired

    Partner Account ID.

  • createdAtstringrequired

    Timestamp of Funding Channel creation.

  • fundingTypeNamestringrequired

    Name of the Funding Type the Funding Channel configures. See Funding Types.

  • namestringrequired

    Name of the Funding Channel.

  • purposestringrequired

    Purpose of the Funding Channel.

  • modestringrequired

    Funding Mode of the Funding Channel.

  • paramsobjectrequired

    Parameters for the Funding Channel.

    One of

    • storageAddressstringrequired

      The address of the storage contract.

  • storageAddressstringdeprecated

    Deprecated. See params for storage address.