PayZApp-Gateway
  1. Deposit
PayZApp-Gateway
  • Getting started
  • Authentication
  • Callback Description
  • Error Description
  • Deposit
    • Create Invoice
      POST
    • Query Invoice
      GET
    • Invoice Callback
      POST
  • Transfer
    • Unified Transfer
      • Getting Strared
      • India-INR
      • Brazil-BRL
      • Blockchain-USDT
    • Query Transfer
      GET
    • Transfer Callback
      POST
  • UPI
    • Query UTR
      GET
    • UTR Repair
      POST
  • Other
    • Get Balance
      GET
  1. Deposit

Create Invoice

POST
/trade/payin/unifiedorder

Request

Body Params application/json
tradeAmount
integer 
Trade amount
required
Integer, the unit is based on the channel currency, for example, when placing an order in legal currency (Indian rupee) 100 = 1 rupee, when placing an order in USDT 1000000 = 1USDT
outTradeNo
string 
Merchant trade no
required
Please enter a unique value. The length supports 32 bits.
notifyUrl
string 
Callback URL
optional
Callback notification URL
channelCode
string 
Channel code
required
Please log in to the merchant management backend to view
attach
string 
Remark
optional
It will be returned as it is when called back.
Example
{
    "tradeAmount": 10000000,
    "outTradeNo": "1582622761571651584",
    "notifyUrl": "http://127.0.0.1/test",
    "channelCode": "2010",
    "attach": "Remark"
}

Request 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 '/trade/payin/unifiedorder' \
--header 'Content-Type: application/json' \
--data-raw '{
    "tradeAmount": 10000000,
    "outTradeNo": "1582622761571651584",
    "notifyUrl": "http://127.0.0.1/test",
    "channelCode": "2010",
    "attach": "Remark"
}'

Responses

🟢200成功
application/json
Body
code
integer 
required
data
object 
required
channelCode
string 
required
Channel code
tradeNo
string 
required
Platform trade no
outTradeNo
string 
required
Merchant trade no
tradeAmount
integer 
required
Trade Amount
currency
string 
required
Trade currency unit
payinUrl
string 
required
Payment URL
msg
string 
required
Example
{
    "code": 0,
    "data": {
        "channelCode": "2010",
        "tradeNo": "1582622767997370368",
        "outTradeNo": "1582622761571651584",
        "tradeAmount": 10000000,
        "currency": "INR",
        "payinUrl": "http://127.0.0.1:5173/payinfo/39ZayLLmyQXd"
    },
    "msg": ""
}
Modified at 2023-09-18 19:22:38
Previous
Error Description
Next
Query Invoice
Built with