Payment token
Payment token is a cryptogram used for safe card data transfer. It can be safely passed and saved to any system (for example, merchant server). It's a good solution for merchants that want maximum flexibility or don't want to deal with card details on their servers.
Paying by token
In payment, token can replace card data such as card number, CVC, expiration month, and expiration year. To use a token for payment:
- Create a payment by /payments method.
- Pass the payment token value in
paymentMethod -> card -> token
parameter. Don’t specifycvc
,expiryMonth
,expiryYear
, andnumber
parameters, because all these parameters are replaced by token.
Therefore, the card block of paymentMethod should contain either cvc
, expiryMonth
, expiryYear
, and number
parameters, or token
.
Generating token
You can generate payment token by using SDK Core (either mobile, or web). For details refer to section: * Web SDK Core * Mobile SDK Core