| [ Web Proxy ] |
| Viewing: https://docs.nmi.com/docs/collectjs | [Back] [Original] |
Collect payments on your website securely, and beautifully
This documentation is intended for existing Collect.js integrations. For new integrations, use the Payment Component with the NMI REST API. If you're migrating from Collect.js, follow the Classic API migration playbook.
Collect.js is a JavaScript library designed to securely and efficiently collect payment information from customers on your website. When combined with the Payment API, Collect.js empowers developers to process transactions, create subscriptions, and store customer payment data in the Customer Vault for long-term management.
This library prioritizes ease of integration while offering extensive customization capabilities. Developers retain full control over the design and user experience, ensuring seamless alignment with their brand and functionality requirements.
Collect.js generates a payment_token, which securely encloses sensitive payment information. By replacing raw payment details with tokens, this process minimizes the risk of data breaches and ensures compliance with strict security standards. Instead of transmitting raw payment details, you can use the token to interact with the Payment API. This tokenization mechanism supports:
Note: Check with your support specialist to verify processor compatibility for these payment methods.
| Payment Method | Recurring | One-Time |
|---|---|---|
| Card | Supported | Supported |
| eCheck | Supported | Supported |
| Apple Pay | Supported | Supported |
| Google Pay | Supported | Supported |
Updated 23 days ago
| Web Proxy Viewer | New URL | Original Page |