Create transfer order
POST
/api/v1/transfer/command/createHMACInitiates a wallet-to-wallet transfer. The order is processed asynchronously and returns with PENDING status.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
X-Api-Key | string | Yes | API key identifier |
X-Signature | string | Yes | HMAC-SHA256 signature |
X-Timestamp | string | Yes | Unix timestamp in seconds |
X-Nonce | string | Yes | Unique request identifier (UUID) |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
idempotentKey | string | Yes | Client-provided idempotency key, unique per transfer |
fromWalletId | string | Yes | Source wallet business ID |
toWalletId | string | Yes | Target wallet business ID |
currency | string | Yes | ISO currency code |
amount | number | Yes | Transaction amount in major currency units |
remark | string | Yes | Optional remark or memo for the transfer |
Request Example
curl -X POST https://api.slaunchx.cc/api/v1/transfer/command/create \
-H "X-Api-Key: sk_live_xxx" \
-H "X-Signature: <computed_signature>" \
-H "X-Timestamp: 1709337600" \
-H "X-Nonce: 550e8400-e29b-41d4-a716-446655440000" \
-H "Content-Type: application/json" \
-d '{
"idempotentKey": "txn_20260302_001",
"fromWalletId": "wlt_sender_001",
"toWalletId": "wlt_receiver_002",
"currency": "USD",
"amount": 100.5,
"remark": "Monthly payment"
}'Response
Created201
{
"version": "1.3.0",
"success": true,
"code": "2001",
"message": "CREATED",
"data": {
"bizId": "txn_ghi789",
"fromWalletId": "wlt_sender_001",
"toWalletId": "wlt_receiver_002",
"currency": "USD",
"amount": 100.5,
"feeAmount": 0.5,
"totalAmount": 101,
"status": 10060101,
"statusName": "PENDING",
"failureReason": null,
"remark": "Monthly payment",
"createdAt": "2026-03-02T11:20:00Z",
"completedAt": null
}
}