Nhảy tới nội dung

Trả lại kết quả giao dịch

URL

Method: POST
Content-type: application/json

Params

Fields (Lv.1)Fields (Lv.2)MandatoryData TypeRemarks
signatureYStringSignature of message JSON string (Tham khảo 6.2 Tạo/xác thực chữ kí (Signature))
messagesYString (Json)JSON String of the data to initiate payment request.
productCodeYString (255)Product Code (generated by OneFin server upon merchant registration)
currencyYString (255)Currency type. (Tham khảo 6.1.2 Curency Code)
amountYString (255)Amount of the transaction, multiply payment amount with 100 (amount = payment amount * 100)
processingFeeYString (255)Charges for the transaction
trxRefNoYString (50)Client transaction reference number, must be unique for each merchant code
transactionIdYString (50)Transaction ID in OneFin server
statusIdYString (50)Status ID of the transaction status. (Tham khảo 6.1.1 Transaction Status Code)
gatewayTransactionIdYString (50)Transaction ID from payment gateway (mandatory pay via Napas)
orderIdYString (50)Order ID sent to payment gateway (mandatory pay via Napas)
paymentTokenNString (50)Payment Token used
errorCodeYString (255)Error code returned from payment gateway
errorMessageYString (255)Error message returned from payment gateway