Skip to content

Create transfer order ​

POST/api/v1/transfer/command/createHMAC

Initiates a wallet-to-wallet transfer. The order is processed asynchronously and returns with PENDING status.

Headers ​

NameTypeRequiredDescription
X-Api-KeystringYesAPI key identifier
X-SignaturestringYesHMAC-SHA256 signature
X-TimestampstringYesUnix timestamp in seconds
X-NoncestringYesUnique request identifier (UUID)

Request Body ​

NameTypeRequiredDescription
idempotentKeystringYesClient-provided idempotency key, unique per transfer
fromWalletIdstringYesSource wallet business ID
toWalletIdstringYesTarget wallet business ID
currencystringYesISO currency code
amountnumberYesTransaction amount in major currency units
remarkstringYesOptional remark or memo for the transfer

Request Example ​

curl -X POST https://api.elaypay.app/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
  }
}

Elaypay API Documentation