Prepare Payment

Card Check

post/api/v1/prepayment/card_check

Request body

application_keystring required

It is the key of your application on our environment

card_numberstring required

Card number that will be checked.

languagestring

The language which you want to see the response description

Example request

{
  "application_key": "6e3cdaa3-65df-4eff-aed2-9d74387701dd",
  "card_number": "4508034508034509",
  "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

card_validboolean

The card number is valid or not.

Example response

{
  "response_code": "00",
  "message": "Successful",
  "card_valid": true
}

Changes

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