Tokenize in the browser
Render the<tokenization-form> web component on your checkout page. The component sends the card to Jupico and returns a one-time token. Your backend charges the one-time token and gets a permanent token back in the response.
See Tokenization for the full flow and Web components for the component reference.
Tokenize raw card data
CallPOST /v1/tokenization/creditcard/raw from your server to exchange raw card data for a permanent token.
Before you start
- Your API user needs raw tokenization access, and card tokenization must be enabled for the product and the submerchant. Ask your Jupico contact to set this up.
- This endpoint runs on its own host. Use the server URL shown in the API reference, not the platform host.
Send the request
Use the token
The response containsdata.paymentToken. Store it with the customer record, then send it as the paymentToken on later transactions:
Errors
Tokenization errors use thetkn_cc_* codes, such as tkn_cc_invalid_number and tkn_cc_expired_credit_card. Too many requests return HTTP 429 with tkn_cc_too_many_requests. See Error codes for the full list.
What’s next
BIN lookup
Look up card details from the first digits of a card number. Coming soon.
Card transactions
Charge a tokenized card with a sale or authorization.

