Newer Version Available
Commerce Webstore Payments Token
To access this resource, you need a B2B or D2C Commerce license and the system permissions included in either the Buyer (B2B stores only) or Shopper (D2C stores only) preconfigured permission set.
- Resource
-
1/commerce/webstores/webstoreId/payments/token - Available version
- 55.0
- HTTP methods
- POST
- Request body for POST
-
- Root XML tag
- <paymentTokenRequest>
- JSON example
-
1{ 2 "cardPaymentMethod":{ 3 "cardHolderName":"John Doe", 4 "cardNumber":"4242424242424242", 5 "expiryMonth":"12", 6 "expiryYear":"24", 7 "cvv":"141", 8 "cardType":"Visa" 9 } 10} - Properties
-
Name Type Description Required or Optional Available Version card���PaymentMethod Card Payment Method Tokenization Input Credit card payment method to tokenize. Required 55.0
- Response body for POST
- Payment Token