Skip to main content

Create a funding source for an account

This endpoint can be used to claim a web3 address as a source of funds. The funding address may be an EOA or a smart contract implementing the ERC-1271 interface. If the address is a smart contract, the ownerAddress, message, and signature fields are required.
The Create challenge endpoint can be used to prove ownership of a web3 address by signing the returned message.

Request Body required
  • oneOf

  • accountId string required

    The ID of the cardholder account to add this Funding Source to.

  • fundingAddress string required

    The address to claim as a Funding Source. This can be a smart contract implementing ERC-1271 or an EOA address.

  • fundingChannelId string required

    The id of the Funding Channel that this Funding Source relates to.

Responses

Successful operation


Schema
  • id string

    Funding Source primary identifier

  • accountId string

    Cardholder account this Funding Source belongs to

  • createdAt string

    Timestamp of Funding Source creation

  • balance string

    Current balance of Funding Source in minor units

  • balanceCurrency string

    Currency of the balance

  • fundingChannelId string

    The id of the Funding Channel that this Funding Source relates to.

Loading...