HiTechPAY API Docs
API ExplorerMini AppSDK
API ExplorerMini AppSDK
  1. Order
  • Order
    • Create a new order
      POST
    • Query status of an order
      POST
  • Refund
    • Refund for a transaction
      POST
    • Query for refund status
      POST
  • Tokenization
    • Create new binding for the tokenization
      POST
    • Query for the payment tokenization of a binding
      POST
    • Create new binding for the agreement
      POST
    • Unbind an agreement
      POST
    • Query for the payment token of a binding
      POST
    • Query the balance of a specific user before paying
      POST
    • Request for agreement pay
      POST
    • Query the basic user info
      POST
    • Hybrid payment
      POST
  • Disbursement
    • Query user account info
      POST
    • Topup for a user
      POST
    • Query merchant's account balance
      POST
  • Payment Gateway
    • List supported banks
      POST
  • ZOD
  1. Order

Create a new order

Sandbox
https://sb-openapi.hitechpay.vn/v2
Sandbox
https://sb-openapi.hitechpay.vn/v2
POST
https://sb-openapi.hitechpay.vn/v2
/create
Last modified:2025-12-03 11:54:11
Merchant Server establish order information then send to HiTechPay Server to create order.

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sb-openapi.hitechpay.vn/v2/create' \
--header 'Content-Type: application/json' \
--data-raw '{
  "app_id": 0,
  "app_user": "string",
  "app_trans_id": "string",
  "app_time": 0,
  "expire_duration_seconds": 0,
  "amount": 0,
  "description": "string",
  "callback_url": "string",
  "sub_app_id": "string",
  "item": "string",
  "embed_data": "string",
  "mac": "string",
  "bank_code": "string"
}'
Response Response Example
{
  "return_code": 0,
  "return_message": "string",
  "sub_return_code": 0,
  "sub_return_message": "string",
  "zp_trans_token": "string",
  "order_url": "string",
  "order_token": "string",
  "qr_code": "string"
}
Modified at 2025-12-03 11:54:11
Next
Query status of an order
Built with