cURL
curl --request POST \ --url https://api-production.fossapay.com/api/v1/wallets/crypto/create \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data ' { "network": "<string>", "customerId": "<string>" } '
{ "success": true, "message": "Crypto wallet created successfully", "data": { "walletId": "user:u3d", "address": "8a0BY97fxiX26Pe2ckc3ke...z5MtWBCVk4pEx96Sqeb", "network": "solana" } }
Create a new crypto wallet for a merchant
Documentation IndexFetch the complete documentation index at: https://docs.fossapay.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.fossapay.com/llms.txt
Use this file to discover all available pages before exploring further.
solana
evm
curl -X POST https://api-production.fossapay.com/api/v1/wallets/crypto/create \ -H "x-api-key: your_api_key_here" \ -H "Content-Type: application/json" \ -d '{ "network": "solana", "customerId": "550e8400-e29b-41d4-a716-446655440000" }'
const response = await fetch('https://api-production.fossapay.com/api/v1/wallets/crypto/create', { method: 'POST', headers: { 'x-api-key': 'your_api_key_here', 'Content-Type': 'application/json' }, body: JSON.stringify({ network: 'solana', customerId: '550e8400-e29b-41d4-a716-446655440000' }) }); if (!response.ok) { throw new Error(`Request failed: ${response.status} ${response.statusText}`); } const cryptoWallet = await response.json();