Skip to main content

Generate Your First Address

curl -X POST https://api.2settle.io/v1/wallets \
-H "Content-Type: application/json" \
-H "X-API-Key: pk_your_api_key" \
-H "X-Timestamp: 1709472000000" \
-H "X-Signature: your_hmac_signature" \
-d '{
"network": "trc20",
"crypto": "USDT",
"metadata": {
"orderId": "ORD-12345",
"customerId": "cust_abc"
}
}'

Response:

{
"success": true,
"wallet": {
"id": "wal_abc123xyz",
"address": "TXxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"network": "trc20",
"crypto": "USDT",
"status": "watching",
"createdAt": "2024-03-03T10:00:00.000Z",
"metadata": {
"orderId": "ORD-12345",
"customerId": "cust_abc"
}
}
}