Prepare Payment

Card Point Info

post/api/v1/prepayment/pointinfo

Request body

application_keystring required

It is the key of your application on our environment

currencystring

Its default is TRY, if you want to use another currency please send it by ISO Code like USD, EUR

card_numberstring required

Card number that will use in payment. This data never stores at our database, application logs. It is only directed to payment system.

card_holder_namestring required

Cardholder name of the card that will use in payment. Our api acts like card number.

expire_monthstring required

Expire month of the card. Our api acts like card number.

expire_yearstring required

Expire year of the card. Please send it in four digits format whole year info not last 2 characters. Our api acts like card number.

cvcstring required

Cvc of the card. Our api acts like card number.

hash_datastring required

This is the calculated hash data for this sample payment request. BASE_64_ENCODE( SHA_256( APPLICATION_KEY + CARD_NUMBER + SECRET_KEY ) )

modestring

Please send it as 'T' for test purposes, otherwise it will be in production mode.

languagestring

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",
  "currency": "TRY",
  "card_number": "4508034508034509",
  "card_holder_name": "Hasan Akay",
  "expire_month": "12",
  "expire_year": "2026",
  "cvc": "000",
  "hash_data": "sadsaas3e412",
  "mode": "T",
  "language": "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 error codes on the Error Codes Api

messagestring

Here is the explanation of response code

amountnumber

Card usable point amount

Example response

{
  "response_code": "00",
  "message": "Successful",
  "amount": 345.45
}

Changes

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