Skip to main content

Installation

Or load via CDN:

Quick start

Element types

Configuration

Server-side session creation

Before mounting Elements, create a session from your server:
Response:

Tokenization response

Never send raw card numbers to your server. Always tokenize with Pay.js first, then send the token ID.