Skip to content

POST Prepare Transfer endpoint.

Endpoint

POST/web/v1/partner/transfers/command/prepare WEB

Authentication

  • Chain: WEB
  • JWT Token: true
  • API Key: false
  • Permissions: ["transfer:create"]
  • Secure Channel: REQUIRED

Rate Limit

120 requests per 60 seconds.

Headers

Frontend Headers

HeaderRequiredDescription
X-LOCALEYes用户的 locale
Accept-LanguageNo语言偏好

Cloudflare Headers

HeaderRequiredDescription
CF-Connecting-IPYesClient IP from Cloudflare
CF-IPCountryYesClient country code
CF-RayYesCloudflare Ray ID
CF-VisitorYesVisitor scheme
X-Real-IPYesReal client IP

Nginx Headers

HeaderRequiredDescription
X-PORTAL-ACCESS-CODEYesPortal access code
X-Real-IPYes客户端真实 IP
X-Forwarded-ForYes代理链
X-Forwarded-ProtoYes协议

Request Parameters

Body (JSON)

FieldTypeRequiredDescription
idempotentKeyStringYesIdempotency key (max 128)
fromWalletIdStringYesSource wallet ID (max 64)
toWalletIdStringYesTarget wallet ID (max 64)
currencyStringYesCurrency code (3-5 chars)
amountBigDecimalYesTransfer amount (max 18.8 digits)
remarkStringNoRemark (max 256)

Response

200 OK

FieldTypeDescription
bizIdStringTransfer order business ID
fromWalletIdStringSource wallet ID
toWalletIdStringTarget wallet ID
currencyStringCurrency code
amountBigDecimalTransfer amount
feeAmountBigDecimalFee amount
totalAmountBigDecimalTotal amount (amount + fee)
statusIntegerStatus code
statusNameStringStatus display name
failureReasonStringFailure reason (if failed)
remarkStringRemark
createdAtInstantCreation time
completedAtInstantCompletion time

Phase 3 Simulation

SlaunchX Internal Documentation