Sitecore OrderCloud Documentation

docs

Portal login

Create or update a credit card.

PUT

/buyers/{buyerID}/creditcards/{creditCardID}

200

Description

If an object with the same ID already exists, it will be overwritten.

Roles

At least one of the roles below is required to access this endpoint.

FullAccessCreditCardAdmin

Parameters

NameTypeDescriptionPossible Values
buyerIDRequiredstringID of the buyer.---
creditCardIDRequiredstringID of the credit card.---

Request Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
Tokenstring---100 characters---

CardTypestring---------
PartialAccountNumberstring---5 characters---
CardholderNamestring---------
ExpirationDatestringdate-time------
xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
Tokenstring---100 characters---

DateCreatedRead Onlystringdate-time------
CardTypestring---------
PartialAccountNumberstring---5 characters---
CardholderNamestring---------
ExpirationDatestringdate-time------
xpobject---------
Sitecore Logo

© Copyright 2024, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore