DepositOrders
Create Deposit Order
Data signature (required only if we enable it for your merchant):
If data signature validation is enabled for your merchant , you must compute data signature string and put in dataSignature field, the dataSignature sould generation by following procedure:
Base64(
HMACSHA256(
UTF8(
"{orderId},{channel},{amount:0.0000}"
),
UTF8(
"{your merchant data signature key}"
)
)
)
for example, if your reqeust data is
{
"orderId":"001001010",
"channel":111,
"amount":100,
"notifyUrl":"https://domin.to.your.site/orderupdate/001001010"
}
then the string you sould compute for signature is "001001010,111,100.0000"
Order Process Notification:
If order complete and [NotifyUrl] have value, you can get auto notification
Media type: application/json; charset=utf-8
POST / {{NotifyUrl}}
{
"systemOrderId": integer($int64),
"orderId": string,
"amount": number($double),
"actualAmount": number($double),
"status": OrderNotifyStatus integer($int32),
Enum:
Success - 0
Failure - 1
"orderStatus": DepositOrderStatus integer($int32),
Enum:
Success - 10
ManualSuccess - 11
AmountNotMatch - 20
Expired - 99
"closeTime": string($date-time),
"utrCode": string,
"remark": string,
"dataSignature": string
}
- If don't get a successful status code (200), will automatically retry 3 times
- DataSignature generation by following procedure
Base64(
HMACSHA256(
UTF8(
"{orderId},{utrCode},{amount:0.0000},{actualAmount:0.0000},{(int)status},{(int)orderStatus},{UnixTimeMilliseconds(closeTime)}"
),
UTF8(
"{your merchant data signature key}"
)
)
)
post/api/orders/deposit
Request
- Base URL: https://api.ju-pay.net (the document declares no server; this is the origin it was published from)
- URL: https://api.ju-pay.net/api/orders/deposit
- Auth: HTTP bearer
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.