Update a tokenized card
Changed onUpdate an existing card
put/credit_cards/{token_or_alias}
Request
- Base URLhttps://gateway.pmnts-sandbox.io/v1.0
- URLhttps://gateway.pmnts-sandbox.io/v1.0/credit_cards/{token_or_alias}
- AuthHTTP basic
Path parameters
token_or_aliasstring required
Token or alias of the card to update
Request body
Response
200
Example response
{
"successful": true,
"response": {
"token": "fke8jmra",
"card_holder": "Bob Smith",
"card_number": "512345XXXXXX2346",
"card_expiry": "2023-11-30",
"card_type": "MasterCard",
"card_category": "Credit",
"card_subcategory": "Standard",
"card_issuer": "Banco Del Pichincha, C.A.",
"card_country": "Ecuador",
"authorized": true,
"alias": "NewAlias123"
},
"test": true
}Changes
- info
endpoint added
- info