API Keys vs. Tokenization Keys – Side-by-Side Comparison

FeatureAPI KeyTokenization Key
PurposeFull gateway controlCard tokenization only
Can Charge CardsYesNo
Can RefundYesNo
Can Create TokensYesYes
Can Access DataYesNo
Security LevelHighly sensitiveLess sensitive
Where UsedServer-side onlyClient-side + server-side
Can Be PublicNO – must be secretYes – can be in JavaScript
PCI ScopeIncreases PCI scopeReduces PCI scope

When to Use API Key:

  • Backend server processing payments
  • Shopping cart integrations
  • Automated billing systems
  • Internal processing tools

When to Use Tokenization Key:

  • Website payment forms
  • Mobile apps
  • JavaScript widgets
  • Any client-side card collection

Combined Usage (Most Common):

Most integrations use both:

  1. Tokenization key collects card on website (creates token)
  2. API key charges the token from backend server

This provides maximum security and minimum PCI burden.