Trả lại kết quả giao dịch
URL
Method: POST
Content-type: application/json
Params
| Fields (Lv.1) | Fields (Lv.2) | Mandatory | Data Type | Remarks |
|---|---|---|---|---|
| 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) | |
| processingFee | Y | String (255) | Charges for the transaction | |
| trxRefNo | Y | String (50) | Client transaction reference number, must be unique for each merchant code | |
| transactionId | Y | String (50) | Transaction ID in OneFin server | |
| statusId | Y | String (50) | Status ID of the transaction status. (Tham khảo 6.1.1 Transaction Status Code) | |
| gatewayTransactionId | Y | String (50) | Transaction ID from payment gateway (mandatory pay via Napas) | |
| orderId | Y | String (50) | Order ID sent to payment gateway (mandatory pay via Napas) | |
| paymentToken | N | String (50) | Payment Token used | |
| errorCode | Y | String (255) | Error code returned from payment gateway | |
| errorMessage | Y | String (255) | Error message returned from payment gateway |