# Update a credit card

Only available to Buyer Users.

Endpoint: PUT /me/creditcards/{creditcardID}
Version: 1.0.457.36910
Security: OAuth2

## Security:

  - `OAuth2` (unknown)
    oauth2 scopes: FullAccess, MeCreditCardAdmin

## Path parameters:

  - `creditcardID` (string, required)
    ID of the creditcard.

## Request fields (application/json):

  - `Token` (string)
    Token provided by the credit card processor used to reference the card with that processor.

  - `CardType` (string)

  - `PartialAccountNumber` (string)

  - `CardholderName` (string)

  - `ExpirationDate` (string)

  - `xp` (object)

## Response 200:

  - `200` (unknown)
    Only available to Buyer Users.

## Response 200 fields (application/json):

  - `ID` (string)

  - `Editable` (boolean)

  - `Token` (string)
    Token provided by the credit card processor used to reference the card with that processor.

  - `DateCreated` (string)

  - `CardType` (string)

  - `PartialAccountNumber` (string)

  - `CardholderName` (string)

  - `ExpirationDate` (string)

  - `xp` (object)

## Response 4XX:

  - `4XX` (unknown)
    Expected errors range from 400-409. Anything in the 5XX range indicates a server issue and should be reported to support.

## Response 4XX fields (application/json):

  - `StatusCode` (integer)
    Example: 404

  - `ErrorCode` (string)
    Example: NotFoundError

  - `Message` (string)
    Example: Object not found

  - `Data` (object)
    Example: {"ObjectType":"","ObjectID":""}

