Card. Fetch sensitive data GET

Get PAN will return the PAN and CVC value of the card.

# ENDPOINT
/api/card/getCardSensitiveData/cardRequest
# REQUEST BODY
# RESPONSE
        						
# REQUEST BODY
Schema: cardRequest

Card code

Type: object
Variable Name Type Format Usage Description
card_code card_code string Card code
# REQUEST BODY EXAMPLE
							{
  "card_code": "CARD00000H8"
}						
# NEGATIVE RESPONSE

200 - Response with error when status is ERROR

Schema: HeaderResponseStatusError
Type: object
Variable Name Type Format Description
status status string Request execution status
error_description Error Description string Description of error
error Error Code string Error code
data_type data_type string Type of data
total_records total_records string Total count of records
data data object Empty object
# RESPONSE NEGATIVE EXAMPLE
							{
    "status": "error",
    "error_description": "[ERROR-REST-INVOKE : \"ERROR-REST-VALIDATE-REQUEST\" \"ERROR-VALIDATE-CARD-REQUEST\" \"ERROR-VALIDATE-CARD : Card CARD0000H8 not found\"]",
    "error": {},
    "data_type": "",
    "total_records": -2,
    "data": {}
}						
# POSITIVE RESPONSE

200 - Response successfully when status is OK

Schema: cardSensitiveData
Type: object
Variable Name Type Format Description
status status string Request execution status
error_description Error Description string Description of error
error Error Code string Error code
data_type data_type string Type of data
total_records total_records string Total count of records
data data object data of Response
attribute: data
Variable Name Type Format Description
cvv Cvv string
emboss_name Emboss name string
expiry_date Expiry date string
pan Pan string