Pre-authorization interface specific fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| tradeFrom | String | Yes | "H5" |
Pre-authorization interface specific fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| tradeFrom | String | Yes | "APP" |
Response message:
| Parameter | Type | Required | Description |
|---|---|---|---|
| RespCode | String | Yes | 00 stands for success; 01 stands for fail. |
| RespMsg | String | Yes | Response message |
| tn | String | No | Transaction serial number. Required parameter for Wechat app payment. When RespCode=00 returns it. |
After getting tn, call the SDK to pay according to APP document.
Test cards:
Credit card:6250947000000014
mobile:+852 11112222
cvn2: 123
exp date: month 12 year 33
SMS Code on PC: 111111
SMS Code on Mobile: 123456
Debit card:6223164991230014
mobile:13012345678
PIN: 111111
cvn2: 123
exp date: month 12 year 33
SMS Code on PC:111111
SMS Code on Mobile:123456
Credit card:8171999927660000
mobile:+852 11112222
cvn2: 123
exp date: month 12 year 30
SMS Code on PC: 111111
SMS Code on Mobile: 123456
Pre-authorization interface specific fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| tradeFrom | String | Yes | "H5" |
Test card:
Card Number: 4761340000000019
Expiry Date: 1217
CVV2: 830
Card Number: 5204730000002555
Expiry Date: 1225
CVV2: 123
| Parameter | Type | Required | Description |
|---|---|---|---|
| tradeFrom | String | Yes | "H5" |
| bankCode | String | Yes | Bank Code. Test environment filled in TEST0021, production environment click here for details |
Test card:
FPX Test Card
Payment ID : 3
Bank Code : TEST0021
Bank Name : SBI Bank A
User Id : 1234
Password : 1234
You should add the following parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| tradeFrom | String | Yes | "H5" |
| bank_code | String | Yes | bank list |
| String | Yes | Must contain valid e-mail of customer | |
| phone | String | Yes | Must contain valid phone number of customer |
| firstname | String | Yes | Customer first name |
| lastname | String | Yes | Customer last name |
| address | String | Yes | address |
| zip_code | String | Yes | ZIP code |
| city | String | Yes | City |
| country | String | Yes | Country code in ISO 3166 |
| state | String | Yes | State code in ISO 3166-2, required for USA and Canada |
| document_id | String | Yes | Document ID of the consumer. |