API Reference

Create payment method

Creates a new payment method in the system. A payment method represents a payment method that can be used to make a payment. Returns the newly created payment method details including its unique identifier and status.

Log in to see full request history
Body Params
string
required

A descriptive name to identify this payment method

string
required

The ID of the merchant to associate this payment method with.

string
required

The ID of the customer to associate this payment method with.

Note: This is not the customerRefId from the customer object, it is the customerId

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 on the demo environment
  • 901 (Solana devnet) - Only available on the demo environment
string
required

The blockchain wallet address where payments will be sent from. Must be a valid address for the specified network.

string

The token contract address for the payment type. Must be a valid token contract address for the specified network. Either 'tokenAddress' or 'tokenSymbol' must be provided.

string

The token symbol that identifies the token on the blockchain network. Must match the symbol of the token contract. Either 'tokenAddress' or 'tokenSymbol' must be provided.

boolean

Whether the payment method is the default payment method for wallet address. Defaults to true.

string
required

A base64 encoded JWT token containing a signature proving ownership of the wallet address being registered as a payment method.

Responses

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