v1
latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MBCards on file
Update card on file
Updates a card on file - change the card name, status, or profile. You must pass the card uuid token as a body parameter to identify the card.
Fields that are not passed are not updated.
This endpoint generates a Card on file updated event. If the card status is being changed to SUSPENDED, it also generates a Card excluded event.
Note: This is a PCI endpoint, use the https://gw-pci.pismolabs.io environment.
patch/cardsonfile/v2/cardsonfile/cards
Headers
Authorizationstring required
Account token - an access token encoded with a Pismo account ID. Tokens can expire quickly, which can result in an <b>Unauthorized</b> message.
Request body
Example request
{
"card_name": "National Bank MC",
"card_profile": "0XFF00FF",
"card_stored_uuid": "77cdd87e-b9b6-11ec-b4f5-4a7a44f81261",
"metadata": "{'Bank': 'National MC'}",
"status": "SUSPENDED"
}Response
SUCCESS