Generate Wallet For Self
Generate a wallet address for the authenticated merchant.
Endpoint: POST /wallets/generate-merchant-wallet
Authentication: Required (x-api-key for live, x-staging-api-key for test)
Request Body
{
"network": "bitcoin"
}Request Parameters
Parameter
Type
Required
Description
network
string
Yes
Network code to parse in requests. Use values like bitcoin, erc20, bep20, trc20
Example Request
curl -X POST https://service.roqqu.com/v1/wallets/generate-merchant-wallet \
-H "Content-Type: application/json" \
-d '{"network": "bitcoin"}'Example Response
{
"status": "success",
"message": "wallet generated successfully",
"data": {
"address": "36jVM83y7K3iN8hkbLgzRrCKSQkuPwnrks"
}
}Error Responses
Unsupported network:
Wallet generation disabled for network:
Wallet generation failed:
Invalid merchant:
Merchant does not exist:
Missing required body field:
Last updated