Paragrams
name | type | optional |
---|---|---|
timestamp | int | false |
nonce | string | false |
sign | string | false |
Unix timestamp
RSA SHA256 signature
- Sort all the parameters (exclude
text
andarray
paragrams) with keys and turn it into http_query string (no url-encoding). - Sign the string with private key by SHA256.
- Encode the signature by BASE64.
Submit an order
Paragrams
name | type | optional |
---|---|---|
merchandiser_id | int | false |
trade_no | string | false |
subject | string | false |
amount | float | false |
items | array | true |
returnUrl | string | false |
notifyUrl | string | false |
Return
Order object or error info
Process an order
Query an order
Paragrams
none
Return
Order object or error info
Modify an order
Paragrams
name | type | optional |
---|---|---|
subject | string | true |
amount | float | true |
items | array | true |
Return
Order object or error info
Complete an order
Paragrams
name | type | optional |
---|---|---|
trade_no | string | false |
Return
Order object or error info
Delete an order
Paragrams
name | type | optional |
---|---|---|
trade_no | string | false |
Return
Null or error info
- i18n
- Admin dashboard
- Frontend redirecting
- Backenden notification
- Plugable gateway via plugins or extensions
The MIT License (MIT)
More info see LICENSE