Getting 16 digit card number for a VCN card
This is the method of retrieving a 16 digit card number for a VCN card in CPX.
Endpoint:
https://sandbox-api.cpxenterprise.com/payment/v1/decryptCardData/InternalTransactionId
Request:
GET: https://sandbox-api.cpxenterprise.com/payment/v1/decryptCardData/404e5909-e2f7-53dd-9755-092b8278d3f2?pin=xxxx12.
Response:
{"virtualCardNumber": "xxxxxxxxxxxx2343",
"securityCode": "xxx",
"vcnStatus": "Success",
"amount": 20.2,
"expirationDate": "2020-01-10T12:00:00.000Z",
"expirationString": "2020-01-10",
"nameOnCard": ""}
Updated almost 4 years ago