Token Management
Update Token Details
Update the details associated with a OnlinePay issued reuse token.
If the token needs to be linked to a new PAN, the card property must be present.
It is possible to update only partial details against the same card on file like expiry date, cardholder name or CVV.
patch/api/v2/card/{id}
Path parameters
{"stackTrail":"paths:/api/v2/card/{id}:patch:parameters:0:schema","oasType":"schema","type":"unknown","title":"Verifone Reuse Token"}
The OnlinePay issued reuse token used to represent the previously stored cardholder data.
Request body
Example request
{
"encrypted_card": "U3dhZ2dlciByb2Nrcw==",
"cvv": "MR J HOLDER",
"card_holder_name": "MR J HOLDER",
"expiry_month": 12,
"expiry_year": 2021
}Response
Token result
Example response
{
"bin": "492912",
"expiry_month": 12,
"expiry_year": 2021,
"last_four": "3127",
"card_holder_name": "MR J HOLDER",
"token_status": "ACTIVE",
"bin_details": {
"bin": "492912",
"brand": "VISA",
"issuer_name": "HSBC",
"last_four": "3127",
"type": "CREDIT",
"variant": "NEW_WORLD"
}
}