Create Card
keychain_create_cardCreate a payment card item in your vault, storing cardholder name, brand, number, expiry, and security code with optional custom fields and collection scoping.
Instructions
Create a payment card item. Use this for cardholder name, brand, number, expiry, and code, not for login credentials or notes. Accepts custom fields plus folder/organization/collection scoping, and returned summaries redact the card number, code, and hidden fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the payment card item. | |
| cardholderName | No | Cardholder name to store on the card. | |
| brand | No | Card brand, such as visa or mastercard. | |
| number | No | Primary card number to store on the card. | |
| expMonth | No | Card expiration month. | |
| expYear | No | Card expiration year. | |
| code | No | Card security code or CVV. | |
| notes | No | Optional note text stored on the item. | |
| fields | No | Custom fields to store on the item. Hidden fields are redacted in summaries. | |
| favorite | No | Mark the item as a favorite when true. | |
| organizationId | No | Bitwarden organization id; used for org-scoped collection operations. | |
| collectionIds | No | Bitwarden collection ids, not folder ids. | |
| folderId | No | Personal folder id, not an organization collection id. |