Skip to content

POST Create Recharge endpoint.

Endpoint

POST/web/v1/partner/recharges WEB

Authentication

  • Chain: WEB
  • JWT Token: true
  • API Key: false
  • Permissions: ["recharge: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
channelBizIdStringYesChannel business ID (max 64)
amountBigDecimalYesRecharge amount (max 18.8 digits)
idempotentKeyStringYesIdempotency key (max 128)
remarkStringNoRemark (max 256)
bizParamsMap<String, Object>NoBusiness params

Response

201 Created

FieldTypeDescription
bizIdStringRecharge order business ID
workspaceBizIdStringWorkspace business ID
channelBizIdStringChannel business ID
currencyStringCurrency code
amountBigDecimalRecharge amount
userFeeAmountBigDecimalUser fee amount
channelFeeAmountBigDecimalChannel fee amount
netAmountBigDecimalNet amount
statusIntegerOrder status
expiredAtInstantExpiry time
proofFileBizIdStringProof file business ID
proofUploadedAtInstantProof upload time
operatorRemarkStringOperator remark
cancelReasonStringCancel reason
channelConfigSnapshotStringChannel config snapshot
createdAtInstantCreation time
completedAtInstantCompletion time

Phase 3 Simulation

SlaunchX Internal Documentation