v1

latestOpenAPI 3.0.02026-07-242035712.0 MB
Card PaySecure WS

Verify pin

<ul> <li class="docBullet">This web service allows to verify the PIN for the provided PAN.</li> <li class="docBullet">Pass the AES encrypted PIN PAN to the API.</li> </ul>
post/sc/sc_pin_verify/

Headers

Session-Idstring required

Session Id for Current Request - 32 byte AES key encrypted by RSA Public Key passed in Header in every PaySecure API call.

x-api-keystring

The X-API key is sent to the client in an email during client creation

Request body

client_idinteger required

Unique identifier for the client which Paymentology will provide at outset

ivstring required

16 bits initialization vector (IV) used while encryption

panstring required

AES Encrypted PAN

pin_blockstring required

AES Encrypted pin Block

tokeninteger

Public token for the card

Example request

{
  "client_id": 760131,
  "iv": "Xb6qbV2L6d1F92YU",
  "pan": "+AyrdXnhXhXb6qbV2L6d1F92YUc=",
  "pin_block": "+AyrdXnhXhXb6qbV2L6d1F92YUc=",
  "token": 311012081
}

Response

Successful Response

Example response

{
  "header": {
    "error_desc": "success"
  },
  "body": {
    "message": "pin Verified",
    "token": 894394434
  }
}