|
@@ -62,7 +62,7 @@ It consists of general fields and channel-specific fields. All upload fields mus
|
|
| ------------- | ------------ | ---- | ------------------------------------------------------------ |
|
|
| ------------- | ------------ | ---- | ------------------------------------------------------------ |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "PURC" |
|
|
|
|
|
|
+| transType | String(10) | M | "PURC" |
|
|
| 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 |
|
|
| 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 |
|
|
| 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" |
|
|
| orderCurrency | String(3) | M | Currency of the order: ISO standard, such as RMB filling in "CNY", US dollar filling in "USD" |
|
|
@@ -71,7 +71,7 @@ It consists of general fields and channel-specific fields. All upload fields mus
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| paymentSchema | String(10) | M | Channel ID:[Click Here](paymentSchema.md) |
|
|
| paymentSchema | String(10) | M | Channel ID:[Click Here](paymentSchema.md) |
|
|
-| goodsInfo | String(60) | M | Commodity information, displayed on the payment page |
|
|
|
|
|
|
+| goodsInfo | String(60) | M | Commodity information |
|
|
| 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. |
|
|
| 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" |
|
|
| 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. |
|
|
| 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. |
|
|
@@ -84,11 +84,11 @@ It consists of general fields and channel-specific fields. All upload fields mus
|
|
| ------------- | ------------ | ---- | ------------------------------------------------------------ |
|
|
| ------------- | ------------ | ---- | ------------------------------------------------------------ |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "PURC" |
|
|
|
|
|
|
+| transType | String(10) | M | "PURC" |
|
|
| orderNum | String(60) | M | Order number |
|
|
| orderNum | String(60) | M | Order 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" |
|
|
|
|
-| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
|
|
|
+| orderAmount | String(12) | M | Order amount |
|
|
|
|
+| orderCurrency | String(3) | M | Currency of the order |
|
|
|
|
+| merID | String(15) | M | Merchant ID |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
| 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. |
|
|
| RespCode | String(2) | M | 00 stands for success; 01 stands for fail. See Chapter 6 Response Codes in this document for details. |
|
|
@@ -96,7 +96,7 @@ It consists of general fields and channel-specific fields. All upload fields mus
|
|
| 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. |
|
|
| 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. |
|
|
|
|
|
|
+| merReserve | String(1024) | O | Merchant reserved content. |
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
|
@@ -120,7 +120,7 @@ It consists of general fields and channel-specific fields. All upload fields mus
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------------ |
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------------ |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "INQY" |
|
|
|
|
|
|
+| transType | String(10) | M | "INQY" |
|
|
| orderNum | String(60) | M | Original payment order number |
|
|
| orderNum | String(60) | M | Original payment order number |
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| acqID | String(11) | M | "99020344" |
|
|
@@ -135,17 +135,17 @@ It consists of general fields and channel-specific fields. All upload fields mus
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------------ |
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------------ |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "PURC" |
|
|
|
|
|
|
+| transType | String(10) | M | "PURC" |
|
|
| orderNum | String(60) | M | Original payment order number |
|
|
| orderNum | String(60) | M | Original payment order number |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
-| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
|
|
|
+| merID | String(15) | M | Merchant ID |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
| 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. |
|
|
| 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 |
|
|
| 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 |
|
|
| GWTime | String(14) | M | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time |
|
|
-| signType | String(3) | M | "MD5" or "SHA256" |
|
|
|
|
|
|
+| signType | String(10) | M | "MD5" or "SHA256" |
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
|
### 4.4 Refund interface
|
|
### 4.4 Refund interface
|
|
@@ -170,7 +170,7 @@ It consists of general fields and channel-specific fields. All upload fields mus
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------------ |
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------------ |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "REFD" |
|
|
|
|
|
|
+| transType | String(10) | M | "REFD" |
|
|
| orderNum | String(60) | M | Refund order number: it is defined by the merchant, and the refund order number under the same merchant number cannot be repeated |
|
|
| orderNum | String(60) | M | Refund order number: it is defined by the merchant, and the refund order number under the same merchant number cannot be repeated |
|
|
| origOrderNum | String(60) | M | Original trade order number |
|
|
| origOrderNum | String(60) | M | Original trade order number |
|
|
| returnAmount | String(12) | M | Refund amount: if 100CNY, it is 100 or 100.00 |
|
|
| returnAmount | String(12) | M | Refund amount: if 100CNY, it is 100 or 100.00 |
|
|
@@ -179,7 +179,7 @@ It consists of general fields and channel-specific fields. All upload fields mus
|
|
| paymentSchema | String(10) | M | Channel ID:[Click Here](paymentSchema.md) |
|
|
| paymentSchema | String(10) | M | Channel ID:[Click Here](paymentSchema.md) |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| 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" |
|
|
|
|
|
|
+| signType | String(10) | M | "MD5" or "SHA256" |
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
|
**3.Response parameters**
|
|
**3.Response parameters**
|
|
@@ -188,10 +188,10 @@ It consists of general fields and channel-specific fields. All upload fields mus
|
|
| --------- | ---------- | ---- | ---------------------------------------------- |
|
|
| --------- | ---------- | ---- | ---------------------------------------------- |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "REFD" |
|
|
|
|
|
|
+| transType | String(10) | M | "REFD" |
|
|
| orderNum | String(60) | M | Refund order number |
|
|
| orderNum | String(60) | M | Refund order number |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
-| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
|
|
|
+| merID | String(15) | M | Merchant ID |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
| 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. |
|
|
| RespCode | String(2) | M | 00 stands for success; 01 stands for fail. See Chapter 6 Response Codes in this document for details. |
|
|
@@ -221,7 +221,7 @@ It consists of general fields and channel-specific fields. All upload fields mus
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------------ |
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------------ |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "RFQY" |
|
|
|
|
|
|
+| transType | String(10) | M | "RFQY" |
|
|
| orderNum | String(60) | M | Refund order number |
|
|
| orderNum | String(60) | M | Refund order number |
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| acqID | String(11) | M | "99020344" |
|
|
@@ -236,10 +236,10 @@ It consists of general fields and channel-specific fields. All upload fields mus
|
|
| ------------- | ---------- | ---- | ------------------ |
|
|
| ------------- | ---------- | ---- | ------------------ |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "REFD" |
|
|
|
|
|
|
+| transType | String(10) | M | "REFD" |
|
|
| orderNum | String(60) | M | Refund order number |
|
|
| orderNum | String(60) | M | Refund order number |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
-| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
|
|
|
+| merID | String(15) | M | Merchant ID |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
| 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. |
|
|
| RespCode | String(2) | M | 00 stands for success; 01 stands for fail. See Chapter 6 Response Codes in this document for details. |
|
|
@@ -267,7 +267,7 @@ It consists of general fields and channel-specific fields. All upload fields mus
|
|
| ------------- | ------------ | ---- | ------------------------------------------------------------ |
|
|
| ------------- | ------------ | ---- | ------------------------------------------------------------ |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "PAUT" |
|
|
|
|
|
|
+| transType | String(10) | M | "PAUT" |
|
|
| 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 |
|
|
| 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 |
|
|
| 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" |
|
|
| orderCurrency | String(3) | M | Currency of the order: ISO standard, such as RMB filling in "CNY", US dollar filling in "USD" |
|
|
@@ -276,7 +276,7 @@ It consists of general fields and channel-specific fields. All upload fields mus
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| paymentSchema | String(10) | M | Channel ID: [Click Here](paymentSchema.md) |
|
|
| paymentSchema | String(10) | M | Channel ID: [Click Here](paymentSchema.md) |
|
|
-| goodsInfo | String(60) | M | Commodity information, displayed on the payment page |
|
|
|
|
|
|
+| goodsInfo | String(60) | M | Commodity information |
|
|
| 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. |
|
|
| 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. |
|
|
| 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. |
|
|
@@ -295,11 +295,11 @@ Parameters as follows:
|
|
| ------------- | ------------ | ---- | ------------------------------------------------------------ |
|
|
| ------------- | ------------ | ---- | ------------------------------------------------------------ |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "PAUT" |
|
|
|
|
|
|
+| transType | String(10) | M | "PAUT" |
|
|
| orderNum | String(60) | M | Order number |
|
|
| orderNum | String(60) | M | Order 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" |
|
|
|
|
-| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
|
|
|
+| orderAmount | String(12) | M | Order amount |
|
|
|
|
+| orderCurrency | String(3) | M | Currency of the order |
|
|
|
|
+| merID | String(15) | M | Merchant ID |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
| 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. |
|
|
| RespCode | String(2) | M | 00 stands for success; 01 stands for fail. See Chapter 6 Response Codes in this document for details. |
|
|
@@ -307,7 +307,7 @@ Parameters as follows:
|
|
| 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. |
|
|
| 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. |
|
|
|
|
|
|
+| merReserve | String(1024) | O | Merchant reserved content. |
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
|
@@ -333,7 +333,7 @@ Parameters as follows:
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------ |
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------ |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "PAUC" |
|
|
|
|
|
|
+| transType | String(10) | M | "PAUC" |
|
|
| 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 |
|
|
| 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 |
|
|
| origOrderNum | String(60) | M | Pre-authorized order number |
|
|
| origOrderNum | String(60) | M | Pre-authorized 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 |
|
|
@@ -351,10 +351,10 @@ Parameters as follows:
|
|
| ------------- | ---------- | ---- | ---------------------------------------------- |
|
|
| ------------- | ---------- | ---- | ---------------------------------------------- |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "PAUC" |
|
|
|
|
|
|
+| transType | String(10) | M | "PAUC" |
|
|
| orderNum | String(60) | M | Order number |
|
|
| orderNum | String(60) | M | Order number |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
-| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
|
|
|
+| merID | String(15) | M | Merchant ID |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
| 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. |
|
|
| RespCode | String(2) | M | 00 stands for success; 01 stands for fail. See Chapter 6 Response Codes in this document for details. |
|
|
@@ -385,7 +385,7 @@ Parameters as follows:
|
|
| ------------- | ---------- | ---- | ---------- |
|
|
| ------------- | ---------- | ---- | ---------- |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "VOID" |
|
|
|
|
|
|
+| transType | String(10) | M | "VOID" |
|
|
| 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 |
|
|
| 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 |
|
|
| origOrderNum | String(60) | M | Original transaction order number: The order number to be revoked, which can be consumption, pre-authorization, pre-authorization completed orderNum |
|
|
| origOrderNum | String(60) | M | Original transaction order number: The order number to be revoked, which can be consumption, pre-authorization, pre-authorization completed orderNum |
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
@@ -401,10 +401,10 @@ Parameters as follows:
|
|
| ------------- | ---------- | ---- | --------------- |
|
|
| ------------- | ---------- | ---- | --------------- |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "VOID" |
|
|
|
|
|
|
+| transType | String(10) | M | "VOID" |
|
|
| orderNum | String(60) | M | Order number of cancellation |
|
|
| orderNum | String(60) | M | Order number of cancellation |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
-| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
|
|
|
+| merID | String(15) | M | Merchant ID |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
| 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. |
|
|
| RespCode | String(2) | M | 00 stands for success; 01 stands for fail. See Chapter 6 Response Codes in this document for details. |
|
|
@@ -426,7 +426,7 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------------ |
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------------ |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "REFDREQ" |
|
|
|
|
|
|
+| transType | String(10) | M | "REFDREQ" |
|
|
| orderNum | String(60) | M | Refund order number: it is defined by the merchant, and the refund order number under the same merchant number cannot be repeated |
|
|
| orderNum | String(60) | M | Refund order number: it is defined by the merchant, and the refund order number under the same merchant number cannot be repeated |
|
|
| origOrderNum | String(60) | M | Original trade order number |
|
|
| origOrderNum | String(60) | M | Original trade order number |
|
|
| returnAmount | String(12) | M | Refund amount: if 100CNY, it is 100 or 100.00 |
|
|
| returnAmount | String(12) | M | Refund amount: if 100CNY, it is 100 or 100.00 |
|
|
@@ -435,7 +435,7 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
|
|
| paymentSchema | String(10) | M | Channel ID: [Click Here](paymentSchema.md) |
|
|
| paymentSchema | String(10) | M | Channel ID: [Click Here](paymentSchema.md) |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| 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" |
|
|
|
|
|
|
+| signType | String(10) | M | "MD5" or "SHA256" |
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
|
**3.Response parameters**
|
|
**3.Response parameters**
|
|
@@ -444,10 +444,10 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
|
|
| --------- | ---------- | ---- | ---------------------------------------------- |
|
|
| --------- | ---------- | ---- | ---------------------------------------------- |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "REFDREQ" |
|
|
|
|
|
|
+| transType | String(10) | M | "REFDREQ" |
|
|
| orderNum | String(60) | M | Refund order number |
|
|
| orderNum | String(60) | M | Refund order number |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
-| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
|
|
|
+| merID | String(15) | M | Merchant ID |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| acqID | String(11) | M | "99020344" |
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
| RespCode | String(2) | M | 00 means the application has been accepted |
|
|
| RespCode | String(2) | M | 00 means the application has been accepted |
|
|
@@ -486,14 +486,14 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
|
|
| ------------- | ---------- | ---- | ---------------------------------------------------------- |
|
|
| ------------- | ---------- | ---- | ---------------------------------------------------------- |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| transType | String(10) | M | "BIND" |
|
|
| transType | String(10) | M | "BIND" |
|
|
-| 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 |
|
|
|
|
|
|
+| orderNum | String(60) | M | Order number |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
-| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
|
|
|
+| merID | String(15) | M | Merchant ID |
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
| 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. |
|
|
| 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 |
|
|
| RespMsg | String(20) | M | Response message |
|
|
| token | String(32) | O | Returned when the response code is 00 |
|
|
| 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. |
|
|
|
|
|
|
+| customerId | String(60) | O | User ID. |
|
|
| cardNoTail | String(4) | O | The last four digits of the card number, return when the channel is FC |
|
|
| 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 |
|
|
| GWTime | String(14) | M | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time |
|
|
@@ -528,13 +528,13 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
|
|
| ------------- | ---------- | ---- | ---------------------------------------------------------- |
|
|
| ------------- | ---------- | ---- | ---------------------------------------------------------- |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| transType | String(10) | M | "UNBIND" |
|
|
| transType | String(10) | M | "UNBIND" |
|
|
-| 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 |
|
|
|
|
|
|
+| orderNum | String(60) | M | Order number |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
-| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
|
|
|
+| merID | String(15) | M | Merchant ID |
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
| 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. |
|
|
| 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 |
|
|
| RespMsg | String(20) | M | Response message |
|
|
-| customerId | String(60) | O | User ID: It is defined by the merchant, and it cannot be repeated under the same merchant number. |
|
|
|
|
|
|
+| customerId | String(60) | O | User ID. |
|
|
| cardNoTail | String(4) | O | The last four digits of the card number, return when the channel is FC |
|
|
| cardNoTail | String(4) | O | The last four digits of the card number, return when the channel is FC |
|
|
| token | String(32) | O | token |
|
|
| token | String(32) | O | token |
|
|
| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
| transTime | String(14) | M | Transaction time, format: "yyyyMMddHHmmss" |
|
|
@@ -560,7 +560,7 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
|
|
| ------------- | ------------ | ---- | ------------------------------------------------------------ |
|
|
| ------------- | ------------ | ---- | ------------------------------------------------------------ |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "PURC" |
|
|
|
|
|
|
+| transType | String(10) | M | "PURC" |
|
|
| 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 |
|
|
| 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 |
|
|
| 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" |
|
|
| orderCurrency | String(3) | M | Currency of the order: ISO standard, such as RMB filling in "CNY", us dollar filling in "USD" |
|
|
@@ -588,19 +588,19 @@ Parameters as follows:
|
|
| ------------- | ------------ | ---- | ---------- |
|
|
| ------------- | ------------ | ---- | ---------- |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| version | String(12) | M | "VER000000005" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
-| transType | String(4) | M | "PURC" |
|
|
|
|
-| 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" |
|
|
|
|
-| merID | String(15) | M | Merchant ID, assigned by GoAllPay |
|
|
|
|
-| acqID | String(11) | M | "99020344" |
|
|
|
|
|
|
+| transType | String(10) | M | "PURC" |
|
|
|
|
+| orderNum | String(60) | M | Order number |
|
|
|
|
+| orderAmount | String(12) | M | Order amount|
|
|
|
|
+| orderCurrency | String(3) | M | Currency of the order |
|
|
|
|
+| merID | String(15) | M | Merchant ID |
|
|
|
|
+| acqID | String(11) | M | "99020344" |
|
|
| paymentSchema | String(10) | M | Channel ID |
|
|
| 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. |
|
|
| 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 |
|
|
| 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 |
|
|
| 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. |
|
|
|
|
|
|
+| merReserve | String(1024) | O | Merchant reserved content. |
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|