Vault SDK - Payment Method Management
Tokenize cards as Payment Methods
Complete Step 2 to generate the integration code.
Create Customer
/v1/customers
Creates a new customer. Returns customer_id
customer_id
Create PM Session
/v1/payment-method-sessions
Scoped to a customer. Returns idsdk_authorization
id
sdk_authorization
Mount SDK Preview
Review & copy the integration code
Then click Mount SDK to load the live preview.
Confirm Tokenization
confirmTokenization()
Returns a payment_token for future charges.
payment_token
Repeat Customer (Saved Card)
Same customer_id + new session
After tokenization, create a new PM session with the same customer. The SDK automatically surfaces saved cards — no card re-entry needed.
Start by clicking Create Customer in Step 1 on the left. After tokenization, try the ✦ Repeat Customer flow to see saved cards in action.