C5GAME OPEN
  1. Buy
C5GAME OPEN
  • Access Guide
  • Account
    • Account Balance
      GET
    • User Reala Steam List
      GET
  • Sell
    • Sell List
      GET
    • Modify Product Price
      POST
    • Off Sell
      POST
    • Sell Steam Items
      POST
    • Price Query
      POST
  • Order
    • Buyer Order Detail
      GET
    • Buyer Orders
      POST
    • Seller Orders
      POST
  • Buy
    • Quick Buy
      POST
    • Normal Buy
      POST
  • Market
    • Query Item Sell
      POST
  • inventory
  1. Buy

Normal Buy

POST
/merchant/trade/v2/normal-buy
POST

Request

Authorization
Add parameter in query
app-key
Example:
app-key: ********************
Query Params

Body Params application/json

Example
{
    "outTradeNo": "string",
    "tradeUrl": "string",
    "productId": 0,
    "buyPrice": 0
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://openapi.c5game.com//merchant/trade/v2/normal-buy?app-key' \
--header 'Content-Type: application/json' \
--data-raw '{
    "outTradeNo": "string",
    "tradeUrl": "string",
    "productId": 0,
    "buyPrice": 0
}'

Responses

🟢200Success
application/json
Body

Example
{
  "success": false,
  "data": {
    "actualPay": 0.0,
    "delivery": 0,
    "orderAssetId": 0,
    "orderId": 0,
    "payStatus": 0,
    "orderStatus": 0,
    "requestId": 0,
    "offerId": ""
  },
  "errorCode": 0,
  "errorMsg": "",
  "errorData": {},
  "errorCodeStr": ""
}
Modified at 2023-11-14 12:17:02
Previous
Quick Buy
Next
Query Item Sell
Built with