v1
latestOpenAPI 3.0.02026-07-242035712.0 MBCard PaySecure WS V2
Get pin V2
<ul> <li class="docBullet">This web service allows to get the PIN for a card/token.</li> <li class="docBullet">Pass the public token and the API will retrieve back the AES encrypted pin.</li> <li class="docBullet">Also pass the AES encrypted CVV2 for security purposes.</li> </ul>post/sc/v2/sc_get_pin/
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
Example request
{
"client_id": 760131,
"token": 311012081,
"cvv2": "+AyrdXnhXhc=",
"iv": "Xb6qbV2L6d1F92YU"
}Response
Successful Response
Example response
{
"header": {
"error_desc": "success"
},
"body": {
"secret": "+AyrdXnhXhc=",
"iv": "Xb6qbV2L6d1F92YU"
}
}