## Channel exclusive allocation ### 1 UP #### 1.1 H5 mode Pre-authorization interface specific fields | Parameter | Type | Required | Description | | --------- | ------ | ---- | ---- | | tradeFrom | String | Yes | "H5" | #### 1.2 APP mode 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. ```javascript 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 ``` ### 2 FC #### 2.1 H5 mode Pre-authorization interface specific fields | Parameter | Type | Required | Description | | --------- | ------ | ---- | ---- | | tradeFrom | String | Yes | "H5" | ```javascript Test card: Card Number: 4761340000000019 Expiry Date: 1217 CVV2: 830 Card Number: 5204730000002555 Expiry Date: 1225 CVV2: 123 ``` ### 3 RevPay #### 3.1 H5 mode | Parameter | Type | Required | Description | | --------- | ------ | ---- | -------- | | tradeFrom | String | Yes | "H5" | | bankCode | String | Yes | Bank Code. Test environment filled in TEST0021, production environment [click here for details](RevPayBankCode.md) | ```javascript Test card: FPX Test Card Payment ID : 3 Bank Code : TEST0021 Bank Name : SBI Bank A User Id : 1234 Password : 1234 ``` ### 4 India_Netbanking #### 4.1 H5 mode You should add the following parameters: | Parameter | Type | Required | Description | | --------- | ------ | ---- | ---- | | tradeFrom | String | Yes | "H5" | | bank_code | String | Yes | [bank list](India_Netbanking_BankCode.md) | | email | 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.|