v1

latestOpenAPI 3.0.12026-07-26381328555.2 KB
CustomerAccount

Add Account Card

Creates a card on the specific customer account.

post/commerce/customer/accounts/{accountId}/cards

Path parameters

accountIdinteger required

Query parameters

responseFieldsstring

limits which fields are returned in the response body

Request body

cardNumberPartstring nullable
cardTypestring nullable
contactIdinteger
expireMonthinteger nullable
expireYearinteger nullable
idstring nullable

Card ID from Payment Service

isDefaultPayMethodboolean
nameOnCardstring nullable

Response

OK

cardNumberPartstring nullable
cardTypestring nullable
contactIdinteger
expireMonthinteger nullable
expireYearinteger nullable
idstring nullable

Card ID from Payment Service

isDefaultPayMethodboolean
nameOnCardstring nullable