Skip to main content

Accept Payments Online

Integrate Paysera's Checkout API to collect online payments with multiple payment methods including credit cards, bank transfers, and e-wallets.

Integration Steps

1

Get Paysera Account

Register for a Paysera account to get started.

Register Account
โ†’
2

Order Payment Service

Order "Online payment collection via e-banking and other systems" service.

Settings โ†’ Profile Settings โ†’ Service management
โ†’
3

Create a Project

Navigate to "Project and Activities" โ†’ "My projects" and create a new project.

Get your project_id and project_password
โ†’
4

Add Website to Project

Add your website domain to the project settings for security.

Project settings โ†’ General project information
โ†’
5

Confirm Website Ownership

Verify your website ownership using the provided ownership code.

Contact tech_support@paysera.com if needed
โ†’
6

Integrate

Use your credentials to integrate the Checkout API.

Complete integration and start accepting payments

Integration Examples

API Endpoint

Production: https://www.paysera.com/pay/

Method: GET or POST

Authentication: MD5 signature-based (not Bearer token)

Required Parameters

ParameterTypeDescription
projectidintegerYour unique project ID from Paysera system
orderidstringUnique order number from your system (max 40 chars)
amountintegerPayment amount in cents (e.g., 2500 = 25.00 EUR)
currencystringPayment currency code (EUR, USD, etc.)
accepturlstringSuccess redirect URL (do not rely on this for order confirmation)
cancelurlstringCancel redirect URL
callbackurlstringWebhook URL for payment notifications (must return "OK")
versionstringAPI version ("1.8" or "1.9")
signstringMD5 signature for security

Important Notes

  • ๐Ÿ’ฐ Amounts in cents: Always specify payment amounts in the smallest currency unit (e.g., 2500 = 25.00 EUR)
  • ๐Ÿ”’ Signature security: NEVER calculate signature on frontend - always do this server-side to protect your project password
  • โœ“ Callback response: Your callback URL MUST return "OK" to acknowledge receipt
  • โš ๏ธ Don't trust accepturl: Use callbackurl for order confirmation, not accepturl (user can manipulate redirect)
  • ๐Ÿงช Test mode: Add test=1 parameter for test payments (enable in project settings)
  • โฑ๏ธ Payment expiry: Payments expire after 1 hour by default

Next Steps

Read Full Documentation

Explore complete API reference, all parameters, and advanced features.

View Checkout API Docs

See More Examples

Check out real-world integration examples in multiple programming languages.

View Examples

Common Questions

Find answers to frequently asked questions about Checkout API integration.

View FAQ