Create a new credit card.
POST
/me/creditcards
201Description
Only available to Buyer Users. Credit Cards created using this endpoint are considered private, and only accessible to the user who created them.
Roles
At least one of the roles below is required to access this endpoint.
FullAccessMeCreditCardAdmin
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
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 | Read Only | string | --- | 100 characters | --- | |
Editable | Read Only | boolean | --- | --- | --- | |
Token | string | --- | 100 characters | --- | ||
DateCreated | Read Only | string | date-time | --- | --- | |
CardType | string | --- | --- | --- | ||
PartialAccountNumber | string | --- | 5 characters | --- | ||
CardholderName | string | --- | --- | --- | ||
ExpirationDate | string | date-time | --- | --- | ||
xp | object | --- | --- | --- |