{ "success": false, "error": { "status": 400, "code": "DUPLICATE_ENTRY", "message": "Domain already exists" }, "data": null }
Create a new merchant account
curl -X POST https://api.transaction.gg/merchant/create \ -H "Authorization: Bearer jwt_token" \ -H "Content-Type: application/json" \ -d '{ "name": "My Store", "domain": "mystore.com", "description": "Online store description" }'
{ "success": true, "data": { "merchant": { "id": "merchant_uuid", "name": "My Store", "description": "Online store description", "domain": { "name": "mystore.com", "isVerified": false, "verification": "verification_token" }, "auth": { "public": "pk_public_key", "secret": "sk_secret_key" }, "wallets": { "BTC": "bitcoin_address", "ETH": "ethereum_address", "LTC": "litecoin_address", "SOL": "solana_address" } } } }