signature | | Y | String | Signature of message JSON string (Tham khảo 6.2 Tạo/xác thực chữ kí (Signature)) |
messages | | Y | String (Json) | JSON String of the data to initiate payment request. |
| productCode | Y | String (255) | Product Code (generated by OneFin server upon merchant registration) |
| currency | Y | String (255) | Currency type. (Tham khảo 6.1.2 Curency Code) |
| amount | Y | String (255) | Amount of the transaction, multiply payment amount with 100 (amount = payment amount * 100) |
| trxRefNo | Y | String (50) | Client transaction reference number, must be unique for each merchant code |
| backendURL | Y | String (255) | URL that receives the callback (5.3 Callback) from OneFin server |
| responsePageURL | Y | String (255) | URL that the browser will be route to after the transaction is done |
| mobileNo | Y | String (255) | Merchant mobile number |
| transactionMethod | Y | String (255) | Refer 6.1.3 Payment Methods Code for transaction method reference (only mandatory when actionMethod = 0) |
| actionMethod | Y | String (255) | Refer 6.1.3 Payment Methods Code for transaction method reference (only mandatory when actionMethod = 0) |
| email | Y | String (255) | Merchant email (mandatory only for "Credit / Debit Card (CYBS) – transactionMethod = 5"). |
| addressLine1 | N | String (255) | Address of the user |
| addressLine2 | N | String (255) | Address of the user |
| addressLine3 | N | String (255) | Address of the user |
| city | N | String (255) | User city of residence |
| postcode | N | String (255) | User postal code |
| firstName | N | String (255) | User first name |
| lastName | N | String (255) | User last name |
| memberId | N | String (255) | Mandatory for bind card option to be available |
| paymentToken | N | String (255) | Token from binded card (only mandatory when actionMethod = 1 |