Creates a new stable payment intent for stablecoin-to-stablecoin transfers.
This endpoint allows you to create payment intents for transfers between different stablecoins and networks. Perfect for cross-chain stablecoin swaps and conversions.
{
"sourceCurrency": "usdc",
"sourceNetwork": "ethereum",
"destinationCurrency": "eurc",
"destinationNetwork": "polygon",
"destinationAddress": "0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8e1",
"amount": "100.00",
"customer_first_name": "John",
"customer_last_name": "Doe",
"customer_email": "[email protected]"
}
Omit the amount field to create a flexible payment intent where users can specify the amount during payment.
Include an idempotency-key header with a unique UUID v4 to prevent duplicate payments. Subsequent requests with the same key will return the original response.
Your secret API key. Keep this secure and never expose it in client-side code.
Unique UUID v4 for idempotent requests. Prevents duplicate payments.
Stable payment intent creation data
The stablecoin currency to convert FROM. This is the currency the customer will pay with.
usdc, eurc "usdc"
The blockchain network where the source currency resides. Determines gas fees and transaction speed.
ethereum, solana, polygon, avalanche_c_chain, base, arbitrum, optimism, stellar, tron, bridge_wallet, wire, ach, ach_push, ach_same_day, sepa, swift, spei "ethereum"
The blockchain network where the converted currency will be delivered. Must support the destination currency.
ethereum, solana, polygon, avalanche_c_chain, base, arbitrum, optimism, stellar, tron, bridge_wallet, wire, ach, ach_push, ach_same_day, sepa, swift, spei "polygon"
The stablecoin currency to convert TO. If omitted, defaults to the same as source currency (cross-chain transfer).
usdc, eurc "eurc"
The wallet address where converted funds will be sent. Supports Ethereum (0x...) and Solana address formats.
"0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8e1"
Payment amount in the source currency. Omit for flexible amount payments where users specify the amount during checkout.
^\d+(\.\d{1,6})?$"100.50"
Customer's first name. Used for transaction records and compliance. Required for amounts over $1000.
100"John"
Customer's last name. Used for transaction records and compliance. Required for amounts over $1000.
100"Doe"
Customer's email address. Used for transaction notifications and receipts. Highly recommended for all transactions.
255Customer's full address. Required for compliance in certain jurisdictions and high-value transactions.
500"123 Main St, New York, NY 10001"
Customer's country of residence. Used for compliance and tax reporting.
100"United States"
Customer's country ISO 3166-1 alpha-2 code. Used for automated compliance checks.
2^[A-Z]{2}$"US"
Customer's state or province. Required for US and Canadian customers.
100"New York"
Customer's state or province ISO code. Used for automated tax calculations.
10"NY"
Customer's phone number with country code. Used for SMS notifications and verification.
20^[+]?[\d\s\-\(\)]+$"+1-555-123-4567"
Stable payment intent created successfully