v1

latestOpenAPI 3.1.02026-07-26165182724.7 KB

Confirm Consent (UI)

Confirm the user's request to view sensitive PAN/PCI data, with an SMS or E-Mail OTP and a challengeId

post/card/confirm-consent

Headers

api-keystring

api-key is available on the dashboard

Authorizationstring

Request body

userIdstring

The Id of the user for which to confirm the consent request

challengeIdstring

The challengeId which was received when initiating the consent flow

verificationCodestring

6 characters code. Default code for sandbox "123456".

Response

200

cardAuthTokenstring

Example response

{
  "cardAuthToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ijg1ZTA3ZjBjYyJ9.eyJhdWQiOiJkNWM1ZGZiZi02ZDAzLTRlZTAtOWIwNC0yYjIwNjBhZDQ4NmUiLCJleHAiOjE2NzgzMzkyMTgsImlhdCI6MTY3ODI1MjgxOCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiI3NzAwMjU0ZS04ZDBlLTQ1MTQtYWRhMi05ZmZiZTVmNmU0ZDUiLCJqdGkiOiIyZjc1MDVlMi0wNTA0LTQyMDgtODE3MS1iZjNmMGEwN2Y5Y2EiLCJhdXRoZW50aWNhdGlvblR5cGUiOiJBUFBMSUNBVElPTl9UT0tFTiIsImVtYWlsIjoiZGFtYjNAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImFwcGxpY2F0aW9uSWQiOiJkNWM1ZGZiZi02ZDAzLTRlZTAtOWIwNC0yYjIwNjBhZDQ4NmUiLCJyb2xlcyI6WyJVU0VSIl0sImF1dGhfdGltZSI6MTY3ODI1MjgxOCwidGlkIjoiN2E1OWQ5ODctNjg3Ni00ZGQ2LTllODAtMGVjNzFmYTkyODFhIn0.2EPXd5Z27VOb0Sh6CCO_q6RH7rahQ9zRxG_4rQQzffI"
}