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
|
string | It is provided by the service provider .
|
|
SecretKey
|
string | It is provided by the service provider .
|
Body Parameter
| Parameter Name | Parameter Type | Explanation |
|---|---|---|
|
orderId
|
integer | It is the Teqpay transaction Id value returned at the end of the pre-authorization process. |
|
Price
|
string | The amount of the provisioning transaction. It can be equal to or less than the amount sent in the pre-authorization process. |
|
language
|
string | It is the language option. The values it can receive are "TR-EN". "TR" is the default. |
|
customerIpAddress
|
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ı."
}