Payments

Payment Post Auth

post/api/v1/payment/postauth

Request body

application_keystring required

It is the key of your application on our environment

transaction_idstring required

It must be one the transaction_id's that returned from payment transaction.

amountstring required

It must be send in integer format by multipliying original value with 100. For example 1 must be 100, 3.42 must be 342

ip_addressstring required

IP address of client.

langstring

Its default value is tr. If you want to get messages in other languages, please send it. You can find supported languages in the api supported_languages.

Example request

{
  "application_key": "6e3cdaa3-65df-4eff-aed2-9d74387701dd",
  "transaction_id": "9ee3fd53-42f9-4f16-b454-77e6b714c2e9",
  "ip_address": "1.1.111.111",
  "lang": "tr"
}

Response

Successful Response

response_codestring

You will get 00 for successful response, otherwise another response code for the error. You can reach the list of response codes on the Response Codes Api

messagestring

Here is the explanation of response code

suggestionstring

This is the suggestion about you can take the action if the payment fails

service_resp_codestring

Here is the service error code

service_resp_messagestring

Here is the service error message

Example response

{
  "response_code": "00",
  "message": "Successful",
  "suggestion": "Suggestion about operation success",
  "service_resp_code": "5082",
  "service_resp_message": "5082"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.