Create payment type

Creates a new payment type configuration that specifies which tokens an entity or merchant will accept as payment. Each payment type defines a specific blockchain network (e.g. Ethereum, Polygon) and token (e.g. USDC, DAI) combination. The payment type is associated with the entity identified by the provided API key, and optionally can be linked to a specific merchant under that entity.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The ID of the merchant to associate the payment type to. If not provided, the payment type will be associated with the organization.

int32
required
≥ 1

The blockchain network ID the payout destination is associated with.

Valid values:

  • 1 (Ethereum)
  • 10 (Optimism)
  • 56 (BNB)
  • 137 (Polygon)
  • 8453 (Base)
  • 42161 (Arbitrum)
  • 900 (Solana)
  • 11155111 (Sepolia) - Only available for demo environment
  • 901 (Solana devnet) - Only available for demo environment
string

The token contract address for the payment type. Must be a valid token contract address for the specified network.

Note: Either tokenAddress or tokenSymbol must be provided. If both are provided, the tokenAddress takes precedence.

string

The token symbol that identifies the token on the blockchain network. Must match the symbol of the token contract.

Note: Either tokenAddress or tokenSymbol must be provided. If both are provided, the tokenAddress takes precedence.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json