Security at PaymentHooks
How we protect your account, your customers' payment data and the events we send you. Payments are processed by the gateways you connect; each gateway's own compliance covers the card data it handles.
How we protect your data
Card numbers are never stored
With Stripe the card is entered in Stripe's own fields, and with redirect gateways and Razorpay on the gateway's page. For other card gateways the card is passed straight to the gateway for that payment. In every case PaymentHooks keeps only the last four digits and the gateway's reference, never the full card number or CVC.
Gateway keys encrypted
The API keys and secrets you enter for each gateway are encrypted with AES-256-GCM before they are stored, and are never returned by the API.
HTTPS everywhere
Every page and API call is served over HTTPS with HSTS (two years, subdomains included), including checkouts on your own custom domain.
Accounts and roles
Two-factor authentication, sign-in throttling that counts only failed attempts, team roles with least privilege, and API keys limited by scope and by business.
Signed webhooks
Every event to your endpoints is signed with HMAC-SHA256 using a secret only you and PaymentHooks hold, so your server can reject anything not sent by us. Secrets can be rotated at any time.
Tenant isolation
Every query is scoped to your account: another merchant's customers, payments or gateway connections can never be read or used through your keys, and routing rules may only use your own connections.
Activity records
Changes to custom domains, branding and embedding are recorded in an audit log, and every API request your keys make is listed under Developers > API Logs.
Fraud screening
Hosted checkout payments are screened before the gateway is called. If screening cannot run, the payment is refused rather than let through.
Reporting a vulnerability
If you believe you have found a security issue in PaymentHooks, email [email protected] with the details and the steps to reproduce it. Please give us a chance to investigate and fix it before disclosing it publicly. We do not take legal action against researchers who report in good faith.
Questions about security or data processing?
Ask us about how your data is handled, or request a data processing agreement.