POST

Create Card Token


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Create a card token to securely perform a credit card transaction.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Managed Payments- All Permissions
Manage Transactions
Learn more about app permissions.
Body Params
cardNumberstringminLength 1maxLength 20

Credit/debit card number. If absent CVV token is returned instead


securityCodestringminLength 1maxLength 5

Credit/debit card security code (CVV).

Response Object
cardTokenCardToken

Generated credit/debit card token.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?