|
@@ -66,25 +66,19 @@ It consists of general fields and channel-specific fields. All upload fields mus
|
|
|
| orderNum | String(60) | M | Order number: it is defined by the merchant itself, and the order number must not be repeated for the same merchant number |
|
|
|
| orderAmount | String(12) | M | Order amount: if 100CNY, it will be 100 or 100.00 |
|
|
|
| orderCurrency | String(3) | M | Currency of the order: ISO standard, such as RMB filling in "CNY", US dollar filling in "USD" |
|
|
|
-| frontURL | String(400) | M | When the payment is complete, jump to the address |
|
|
|
-| backURL | String(400) | M | Payment results are asynchronously notified to this address |
|
|
|
-| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
+| frontURL | String(400) | M | When the payment is complete, jump to the URL. |
|
|
|
+| backURL | String(400) | M | Payment results are asynchronously notified to this URL. After the payment is successful, the GoAllPay server will call the backURL by POST method, informing the payment result (JSON). When merchant receive the notification, it is required to response String "OK".<br>If we didn't receive "OK" from merchant,GoAllPay will resend the response message to merchant.Time interval is[15, 15, 30, 180, 1800, 3600, 7200, 14400, 14400], the unit is second. |
|
|
|
+| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
| acqID | String(11) | M | "99020344" |
|
|
|
| paymentSchema | String(10) | M | Channel ID:[Click Here](paymentSchema.md) |
|
|
|
| goodsInfo | String(60) | M | Commodity information, displayed on the payment page |
|
|
|
-| detailInfo | String(400) | M | Product details format: [{"goods_name":"iPhone X","quantity":"2"},{"goods_name":"iPhone 8","quantity":"4"}], which requires base-64 encoding of this field before signing and sending. |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| detailInfo | String(400) | M | Product details format: [{"goods_name":"iPhone X","quantity":"2"},{"goods_name":"iPhone 8","quantity":"4"}], which requires Base64 encoding of this field before signing and sending. |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| merReserve | String(1024) | O | Merchant reserved content, can pass any content, such as purchase information, account number, etc., but do not pass special symbols, such as commas. |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
|
-**3.Jump transformation Purchase interface response message**
|
|
|
-
|
|
|
- The merchant needs to provide an HTTP/HTTPS protocol interface that is included in the parameters passed to the SDK, the backURL. After the payment is complete, the GoAllPay server will call the backURL by POST method, informing the payment result (JSON). When merchant receive the notification, the merchant is required to response String "OK".
|
|
|
-
|
|
|
- If we didn't receive "OK" from merchant,GoAllPay will resend the response message to merchant.Time interval is[15, 15, 30, 180, 1800, 3600, 7200, 14400, 14400], the unit is second.
|
|
|
-
|
|
|
-Parameters as follows:
|
|
|
+**3.Jump transformation Purchase interface response parameters**
|
|
|
|
|
|
| parameter | Type | Required | Description |
|
|
|
| ------------- | ------------ | ---- | ------------------------------------------------------------ |
|
|
@@ -92,16 +86,16 @@ Parameters as follows:
|
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
|
| transType | String(4) | M | "PURC" |
|
|
|
| orderNum | String(60) | M | Order number |
|
|
|
-| orderAmount | String(12) | M | Order amount: if 100CNY, it will be 100 or 100.00 |
|
|
|
+| orderAmount | String(12) | M | Order amount: if 100CNY, it will be 100 or 100.00 |
|
|
|
| orderCurrency | String(3) | M | Currency of the order: ISO standard, such as RMB filling in "CNY", us dollar filling in "USD" |
|
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
| acqID | String(11) | M | "99020344" |
|
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
|
| RespCode | String(2) | M | 00 stands for success; 01 stands for fail. See Chapter 6 Response Codes in this document for details. |
|
|
|
| RespMsg | String(20) | M | Response message |
|
|
|
-| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
|
+| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
|
| GWTime | String(14) | M | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time. |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| merReserve | String(1024) | O | Merchant reserved content, can pass any content, such as purchase information, account number, etc., but do not pass special symbols, such as commas. |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
@@ -131,7 +125,7 @@ Parameters as follows:
|
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
| acqID | String(11) | M | "99020344" |
|
|
|
| paymentSchema | String(10) | M | Channel ID:[Click Here](paymentSchema.md) |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
@@ -149,7 +143,7 @@ Parameters as follows:
|
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
|
| RespCode | String(2) | M | 00 stands for success; 01 stands for fail. See Chapter 6 Response Codes in this document for details. |
|
|
|
| RespMsg | String(20) | M | Response message |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| GWTime | String(14) | M | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time |
|
|
|
| signType | String(3) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
@@ -184,7 +178,7 @@ Parameters as follows:
|
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
| paymentSchema | String(10) | M | Channel ID:[Click Here](paymentSchema.md) |
|
|
|
| acqID | String(11) | M | "99020344" |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| signType | String(3) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
@@ -202,7 +196,7 @@ Parameters as follows:
|
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
|
| RespCode | String(2) | M | 00 stands for success; 01 stands for fail. See Chapter 6 Response Codes in this document for details. |
|
|
|
| RespMsg | String(20) | M | Response message |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| GWTime | String(14) | M | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
@@ -232,7 +226,7 @@ Parameters as follows:
|
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
| acqID | String(11) | M | "99020344" |
|
|
|
| paymentSchema | String(10) | M | Channel ID:[Click Here](paymentSchema.md) |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
@@ -250,7 +244,7 @@ Parameters as follows:
|
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
|
| RespCode | String(2) | M | 00 stands for success; 01 stands for fail. See Chapter 6 Response Codes in this document for details. |
|
|
|
| RespMsg | String(20) | M | Response message |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| GWTime | String(14) | M | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
@@ -284,7 +278,7 @@ Parameters as follows:
|
|
|
| paymentSchema | String(10) | M | Channel ID: [Click Here](paymentSchema.md) |
|
|
|
| goodsInfo | String(60) | M | Commodity information, displayed on the payment page |
|
|
|
| detailInfo | String(400) | M | Product details format: [{"goods_name":"iPhone X","quantity":"2"},{"goods_name":"iPhone 8","quantity":"4"}], which requires base-64 encoding of this field before signing and sending. |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| merReserve | String(1024) | O | Merchant reserved content, can pass any content, such as purchase information, account number, etc., but do not pass special symbols, such as commas. |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
@@ -312,7 +306,7 @@ Parameters as follows:
|
|
|
| RespMsg | String(20) | M | Response message |
|
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
|
| GWTime | String(14) | M | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time. |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| merReserve | String(1024) | O | Merchant reserved content, can pass any content, such as purchase information, account number, etc., but do not pass special symbols, such as commas. |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
@@ -347,7 +341,7 @@ Parameters as follows:
|
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
| acqID | String(11) | M | "99020344" |
|
|
|
| paymentSchema | String(10) | M | Channel ID: [Click Here](paymentSchema.md) |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
@@ -365,7 +359,7 @@ Parameters as follows:
|
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
|
| RespCode | String(2) | M | 00 stands for success; 01 stands for fail. See Chapter 6 Response Codes in this document for details. |
|
|
|
| RespMsg | String(20) | M | Response message |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| GWTime | String(14) | M | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time. |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
@@ -397,7 +391,7 @@ Parameters as follows:
|
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
| acqID | String(11) | M | "99020344" |
|
|
|
| paymentSchema | String(10) | M | Channel ID: [Click Here](paymentSchema.md) |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
@@ -415,7 +409,7 @@ Parameters as follows:
|
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
|
| RespCode | String(2) | M | 00 stands for success; 01 stands for fail. See Chapter 6 Response Codes in this document for details. |
|
|
|
| RespMsg | String(20) | M | Response message |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| GWTime | String(14) | M | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time. |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
@@ -440,7 +434,7 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
|
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
| paymentSchema | String(10) | M | Channel ID: [Click Here](paymentSchema.md) |
|
|
|
| acqID | String(11) | M | "99020344" |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| signType | String(3) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
@@ -458,7 +452,7 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
|
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
|
| RespCode | String(2) | M | 00 means the application has been accepted |
|
|
|
| RespMsg | String(20) | M | Response message |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| GWTime | String(14) | M | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
@@ -482,7 +476,7 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
|
|
|
| backURL | String(400) | M | After binding successfully, it will be notified to this address asynchronously |
|
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
| paymentSchema | String(10) | M | Channel ID: [Click Here](paymentSchema.md) |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
@@ -501,7 +495,7 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
|
|
|
| token | String(32) | O | Returned when the response code is 00 |
|
|
|
| customerId | String(60) | O | User ID: It is defined by the merchant, and it cannot be repeated under the same merchant number. |
|
|
|
| cardNoTail | String(4) | O | The last four digits of the card number, return when the channel is FC |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| GWTime | String(14) | M | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
@@ -524,7 +518,7 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
|
|
|
| token | String(32) | M | The token returned after the card is successfully bound |
|
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
| paymentSchema | String(10) | M | Channel ID: [Click Here](paymentSchema.md) |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
@@ -543,7 +537,7 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
|
|
|
| customerId | String(60) | O | User ID: It is defined by the merchant, and it cannot be repeated under the same merchant number. |
|
|
|
| cardNoTail | String(4) | O | The last four digits of the card number, return when the channel is FC |
|
|
|
| token | String(32) | O | token |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| GWTime | String(14) | M | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
@@ -577,7 +571,7 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
|
|
|
| acqID | String(11) | M | "99020344" |
|
|
|
| paymentSchema | String(10) | M | Channel ID: [Click Here](paymentSchema.md) |
|
|
|
| detailInfo | String(400) | M | Product details format: [{"goods_name":"iPhone X","quantity":"2"},{"goods_name":"iPhone 8","quantity":"4"}], which requires base-64 encoding of this field before signing and sending. |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| merReserve | String(1024) | O | Merchant reserved content, can pass any content, such as purchase information, account number, etc., but do not pass special symbols, such as commas. |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
@@ -605,7 +599,7 @@ Parameters as follows:
|
|
|
| RespMsg | String(20) | M | Response message |
|
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
|
| GWTime | String(14) | M | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time |
|
|
|
-| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
|
| merReserve | String(1024) | O | Merchant reserved content, can pass any content, such as purchase information, account number, etc., but do not pass special symbols, such as commas. |
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|