Create a new credit card.
POST
/buyers/{buyerID}/creditcards
201Description
If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned.
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
buyerID | Required | string | ID of the buyer. | --- |
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Token | string | --- | 100 characters | --- | ||
CardType | string | --- | --- | --- | ||
PartialAccountNumber | string | --- | 5 characters | --- | ||
CardholderName | string | --- | --- | --- | ||
ExpirationDate | string | date-time | --- | --- | ||
xp | object | --- | --- | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Token | string | --- | 100 characters | --- | ||
DateCreated | Read Only | string | date-time | --- | --- | |
CardType | string | --- | --- | --- | ||
PartialAccountNumber | string | --- | 5 characters | --- | ||
CardholderName | string | --- | --- | --- | ||
ExpirationDate | string | date-time | --- | --- | ||
xp | object | --- | --- | --- |