Cards

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
chevron-right
200Success
application/json
get
/api/users/cards
200Success
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
idstring · uuidRead-onlyRequired
userstring · uuidWrite-onlyRequired
last4stringRead-onlyRequired
legacy_idstring · nullableOptional
nextgen_legacy_idstring · nullableOptional
created_atstring · date-time · nullableOptional
updated_atstring · date-timeRead-onlyRequired
numberstring · max: 30Required
cvvstring · max: 4 · nullableOptional
expiration_monthstring · max: 2Required
expiration_yearstring · max: 4Required
holder_namestring · max: 100Required
is_defaultbooleanOptional
tokenstring · max: 50 · nullableOptional
brandstring · max: 50 · nullableOptional
typestring · enumOptional
  • token - Token
  • card - Card
  • payment_profile - Payment Profile
Possible values:
is_hiddenbooleanOptional
processorstring · max: 50 · nullableOptional
gueststring · uuid · nullableOptional
Responses
post
/api/users/cards
201Success
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
chevron-right
200Success
application/json
get
/api/users/cards/{id}
200Success
put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
idstring · uuidRead-onlyRequired
userstring · uuidWrite-onlyRequired
last4stringRead-onlyRequired
legacy_idstring · nullableOptional
nextgen_legacy_idstring · nullableOptional
created_atstring · date-time · nullableOptional
updated_atstring · date-timeRead-onlyRequired
numberstring · max: 30Required
cvvstring · max: 4 · nullableOptional
expiration_monthstring · max: 2Required
expiration_yearstring · max: 4Required
holder_namestring · max: 100Required
is_defaultbooleanOptional
tokenstring · max: 50 · nullableOptional
brandstring · max: 50 · nullableOptional
typestring · enumOptional
  • token - Token
  • card - Card
  • payment_profile - Payment Profile
Possible values:
is_hiddenbooleanOptional
processorstring · max: 50 · nullableOptional
gueststring · uuid · nullableOptional
Responses
chevron-right
200Success
application/json
put
/api/users/cards/{id}
200Success
delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
delete
/api/users/cards/{id}
204

No response body

No content

patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
idstring · uuidRead-onlyOptional
userstring · uuidWrite-onlyOptional
last4stringRead-onlyOptional
legacy_idstring · nullableOptional
nextgen_legacy_idstring · nullableOptional
created_atstring · date-time · nullableOptional
updated_atstring · date-timeRead-onlyOptional
numberstring · max: 30Optional
cvvstring · max: 4 · nullableOptional
expiration_monthstring · max: 2Optional
expiration_yearstring · max: 4Optional
holder_namestring · max: 100Optional
is_defaultbooleanOptional
tokenstring · max: 50 · nullableOptional
brandstring · max: 50 · nullableOptional
typestring · enumOptional
  • token - Token
  • card - Card
  • payment_profile - Payment Profile
Possible values:
is_hiddenbooleanOptional
processorstring · max: 50 · nullableOptional
gueststring · uuid · nullableOptional
Responses
chevron-right
200Success
application/json
patch
/api/users/cards/{id}
200Success