POSTTeqpay Complete PreAuth (Rest)

Teqpay is the service used for Pre-Provision closing processes.

Service Address:/completepreauth

Request

Header
Parameter Name Parameter Type Explanation
ApiKey

Required

string It is provided by the service provider .

for Example ; 3f0126be-****-****-****-06025352594a

SecretKey

Required

string It is provided by the service provider .

for Example ; 3f0126be-****-****-****-06025352594a

Body Parameter
Parameter Name Parameter Type Explanation
orderId

Required

integer It is the Teqpay transaction Id value returned at the end of the pre-authorization process.
Price

Required

string The amount of the provisioning transaction. It can be equal to or less than the amount sent in the pre-authorization process.
language

Optional

string It is the language option. The values it can receive are "TR-EN". "TR" is the default.
customerIpAddress

Optional

string Client IP Address.

Request Sample
{    
    "orderId": "5252",
    "price": "50",
    "language": "TR",
    "customerIpAddress": "10.20.30.40"
}

Response

Response Parameter
Parameter Name Parameter Type Explanation
Result boolen The result of a successful or unsuccessful query.
ResultCode integer This is the code that returns the query result.
ResultMessage string The result of the query is the description returned.

Response Sample
{
    "Result": true,
    "ResultCode": 10000,
    "ResultMessage": "Başarıyla tamamlandı."       
}