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
Note: If you add a payment type on a new blockchain network, we’ll automatically set up webhook notifications for that network using your existing webhook settings
Required API permissions: CreatePaymentTypes
The ID of the merchant to associate the payment type to. If not provided, the payment type will be associated with the organization.
"9f47c95b-2d1a-4c3e-b67f-891e36c172a8"
The blockchain network ID the payout destination is associated with.
Valid values:
1 (Ethereum)10 (Optimism)56 (BNB)137 (Polygon)8453 (Base)42220 (Celo)42161 (Arbitrum)900 (Solana)11155111 (Sepolia) - Only available for demo environment901 (Solana Devnet) - Only available on the demo environmentx >= 11
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.
"USDC"
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.
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
Specifies if this payment type should be set as the default. All payments created without specifying a payment type will use the default payment types list.
Defaults to true.
true
Ok
The merchant ID associated with this payment type
"550e8400-e29b-41d4-a716-446655440000"
The unique identifier for the token used by the payment type.
"d9e1f2a3-b4c5-6d7e-8f9g-0h1i2j3k4l5m"
Specifies if this payment type should be set as the default. All payments created without specifying a payment type will use the default payment types list.
true
The blockchain network ID the token is associated with
1
The token symbol that identifies the token on the blockchain network
"USDC"
The token contract address for the payment type
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
The number of decimal places used to represent token amounts
6
The date the payment type record was created, represented as a Unix timestamp in seconds.
1716211200