Submit order

Where this sits
Submit a fiat amount and network; the response returns this order’s cryptoAmount and payUrl. Pay this data.cryptoAmount.
POST/api/public/order/apply

Content-Type: application/json

Request parameters

FieldTypeRequiredSignExampleDescription
appIdstring(12-16)YesYesk-mch8x2k1p4q9APP ID
merchantOrderNostring(5-32)YesYesORD-20260822-0001Merchant order no, unique on the merchant side
networkstringYesYesTRCNetwork, see Parameter lookup
assetstringYesYesUSDTCollection asset; TRC currently supports USDT only. See Parameter lookup
amountstringYesYes10.99Fiat amount
currencystring(3)YesYesUSDFiat ISO code; see Parameter lookup
notifyUrlstringYesYeshttps://merchant.example.com/ucashier/notifyPublicly reachable callback URL
attachstringNoNo—Echoed on callback
redirectUrlstringNoNohttps://merchant.example.com/orders/thank-youFront-end redirect after payment
signaturestring(32)YesNo07BA8514788F143D2437E0D6F4C028D0Signature, see algorithm

Response data fields

FieldTypeDescription
appIdstringAPP ID
orderNostringPlatform order no
merchantOrderNostringMerchant order no
exchangeRatestringExchange rate returned by the API
assetstringOrder asset; see Parameter lookup
cryptoAmountstringFinal amount due; see asset for the coin. Authoritative for payment
statusstringOrder status; see Parameter lookup
payUrlstringCashier URL

Request example

{
  "appId": "k-mch8x2k1p4q9",
  "merchantOrderNo": "ORD-20260822-0001",
  "network": "TRC",
  "asset": "USDT",
  "amount": "10.99",
  "currency": "USD",
  "notifyUrl": "https://merchant.example.com/ucashier/notify",
  "redirectUrl": "https://merchant.example.com/orders/thank-you",
  "attach": "custom",
  "signature": "07BA8514788F143D2437E0D6F4C028D0"
}

Response example

{
  "code": "100000",
  "message": "Success",
  "data": {
    "appId": "k-mch8x2k1p4q9",
    "orderNo": "U260830162530123456",
    "merchantOrderNo": "ORD-20260822-0001",
    "exchangeRate": "1.0000",
    "asset": "USDT",
    "cryptoAmount": "10.99",
    "status": "pending",
    "payUrl": "https://pay.ucashier.ink/#/payment/order?..."
  },
  "requestId": "..."
}