Key | Value |
---|---|
correlationId | Correlation{{randomNumber}} |
PG-Auth-Token | {{merchantNumber}}:{{terminalNumber}}:{{hash}} |
PG-Api-Version | V2 |
In the header section, correlationId and PG-Auth-Token parameters are expected to be transmitted. correlationId must be transmitted as a string unique value for each transaction. PG-Auth-Token parameter consists of merchantNumber, terminalNumber and hash information of the merchant as stated in the table. For hash information, merchantNumber, terminalNumber and secretKey information of the merchant is obtained by hashing with sha256 and converting it to string.
Response
The error received is the error received when the SecurityHash value expected to be sent in the request is not sent. In the request, the "securityHash" parameter is expected to be calculated and transmitted according to the desired values. We recommend that you check these fields and try the operation again and If the error continues, we kindly ask you to send us the fields that make up the SecurityHash value and the hash value you created.
Response
"PG-Auth-Token" parameter should be passed in the header in all sales, cancellation/refund, pre-authorization, pre-authorization closure, 3D sales and 3D sales completion requests.
This information consists of "merchantNumber:TerminalNumber:Hash" information of the merchant. The hash information is expected to be calculated according to the requested values and added to the PG-Auth-Token parameter.
This is an error message that may occur during the 3D Secure authentication process. When the mdStatus code returns as "1" from the 3D Secure system, it means that the transaction is "Full Secure", that is, the code sent to the cardholder is entered and continued.
In cases other than Full Secure, the transaction is either rejected or the half secure verification response is returned to the merchant.
Other mdStatus values and their descriptions are also below.
mdStatus |
Description |
mdStatus = 0 |
3D Secure signature invalid or verification |
mdStatus = 2 |
Cardholder or bank not registered in the system |
mdStatus = 3 |
The bank of the card is not registered in the system |
mdStatus = 4 |
Verification attempt, cardholder chose to register later in the system |
mdStatus = 5 |
Unable to verify |
mdStatus = 6 |
3-D Secure error |
mdStatus = 7 |
System error |
mdStatus = 8 |
Unknown card number |
Response
In order for the merchant to make installment transactions, the installment authorization of the POS in Tami must be open. When you receive this error, you can contact Tami for a request to open installment authorization.
If the transaction is successful as a result of the 3D verification step, the money is not yet debited from the card. In order to complete the transaction, the /complete-3ds service must be called with the order number information whose 3D verification was successful.