# @payment-kit-js/vanilla

Vanilla JavaScript SDK for PaymentKit. A type-safe, framework-agnostic payment processing library supporting card payments, PayPal, and Google Pay.

## Documentation

For complete documentation, guides, and examples, visit:

**[PaymentKit.js Documentation](https://docs.paymentkit.com/guides/integration/sdk-reference/payment-kit-js/getting-started)**

## Content-Security-Policy Requirements

If your site uses a Content-Security-Policy header, you must add the following domains to your `script-src` directive to allow fraud prevention scripts:

- **Production:** `https://static.airwallex.com`
- **Sandbox:** `https://static-demo.airwallex.com`

Example:
```
Content-Security-Policy: script-src 'self' https://static.airwallex.com;
```

If these domains are blocked, PaymentKit.js will log an error to the console with the required domain.
