Get Payment Details (Cryptogram)

This API is used to get the payment details of an existing card stored on PayU Vault so that you can use it with third-party tokenization. The payment details include the cryptogram, PAR, card number, card token, issuer token details and network token details as listed in the Response Parameters table of this section.

HTTP Method: POST

Environment

Sample response

Successful Scenario

{
    "status": "1",
    "msg": "Instrument details",
    "details": {
        "one_click_status": "",
        "one_click_flow": "",
        "card_type": "VISA",
        "network_token": {
            "token_exp_yr": "2025",
            "token_value": "464XXX7450050615",
            "token_exp_mon": "01"
        },
        "trid": "400600",
        "card_mode": "",
        "token_refernce_id": "4776af84a5079512934417214171fd01",
        "card_no": "XXXXXXXXXXXX0615",
        "card_PAR": "V0010013021031409361532",
        "one_click_card_alias": "",
        "card_token": "60ac10XXX09d1965b7dae2",
        "card_name": "",
        "cryptogram": "/wAAAAoAtd1XnhwAmbHTgkUAAAA="
    }
}

Failure Scenario

{
"status": 0,
"msg": card not found
}
Response parameters
ParameterDescriptionExample
statusThe status of the response can be any of the following:
1: Success
. 2: Failure
1
msgThe description of the response whether the card details were stored successfully or not stored.Instrument details
card details(Array format) | The details are sent by PayU in Array format for the successful response. The next table describes the details in the Array format.

Request parameters

Reference info for request parameters
ParameterReference
keyFor more information on how to generate the Key and Salt, refer to any of the following:

- Production: Generate Merchant Key and Salt

- Test: Generate Test Merchant Key and Salt
hashHash logic for this API is:
sha512(key|command|var1|salt)
sha512
Language
URL
Click Try It! to start a request and see the response here!