Skip to main content

Request Parameters

This page lists all available parameters for Paysera Checkout API integration.

Required Parameters​

ParameterTypeMax LengthRequiredDescription
projectidinteger11YesYour unique project ID. Only activated projects can accept payments.
orderidstring40YesUnique order number from your system.
accepturlstring255YesFull URL where customer is redirected after successful payment. Note: Do not rely on accepturl to confirm orders - use callbackurl instead.
cancelurlstring255YesFull URL where customer is redirected when they cancel the payment.
callbackurlstring255YesFull URL where Paysera sends payment status notifications. Script must return "OK" to acknowledge receipt.
versionstring9YesAPI version number (e.g., "1.8" or "1.9").

Payment Details​

ParameterTypeMax LengthRequiredDescription
amountinteger11NoPayment amount in cents (e.g., 1000 = 10.00 EUR).
currencystring3NoPayment currency code (EUR, USD, etc.). If the currency is not supported by selected payment method, it will be converted automatically.
paymentstring20NoSpecific payment method code. If not specified, customer will choose from available methods. See Payment Types for available codes.
countrystring2NoCustomer's country code (LT, EE, LV, GB, PL, DE, etc.). Shows payment methods available in that country.
langstring3NoInterface language (ISO 639-2/B: LIT, RUS, ENG, etc.). Falls back to IP-based or ENG if not supported.
paytextstring255*NoPayment purpose text. Use variables: [order_nr] for order number, [site_name] or [owner_name] for your company/site name.

Customer Information​

ParameterTypeMax LengthRequiredDescription
p_firstnamestring255No**Customer's first name. Required for some payment methods.
p_lastnamestring255No**Customer's last name. Required for some payment methods.
p_emailstring255No**Customer's email address. If not provided, customer will be asked to enter it.
p_streetstring255No**Customer's street address (e.g., "PilaitΔ—s pr. 16"). Required for some payment methods.
p_citystring255No**Customer's city (e.g., "Vilnius"). Required for some payment methods.
p_statestring255No**Customer's state code (required for USA purchases). Required for some payment methods.
p_zipstring20No**Customer's postal code. Lithuanian postal codes. Required for some payment methods.
p_countrycodestring20No**Customer's country code. ISO country codes. Required for some payment methods.

Additional Options​

ParameterTypeMax LengthRequiredDescription
testinteger1NoSet to 1 for test payments. Must enable "Allow Test Payments" in project settings.
only_paymentsstring-NoComma-separated list of payment method codes to show. Hides all others.
disallow_paymentsstring-NoComma-separated list of payment method codes to hide.
time_limitstring19NoPayment deadline in format "yyyy-mm-dd HH:MM:SS" (timezone: Europe/Vilnius). Min: 12 minutes, Max: 3 days. Note: Applies to payment initiation only.
personcodestring255NoCustomer's national identification number. Enables identity verification. Must enable in project settings.
developeridinteger11NoYour unique developer ID if you're registered as a developer in Paysera system.
buyer_consentinteger1NoSet to 1 to skip PIS consent step. Requires displaying consent text on your page (see below).

Periodic Payments (PIS)​

Available only for SEB and Swedbank PIS payments.

ParameterTypeMax LengthRequiredDescription
periodic_payments_frequencystring255NoPayment frequency: weekly, monthly, quarterly, semiannual, annual. Some banks also support: daily, every_working_day, last_day_of_month, last_working_day_of_month.
periodic_payments_start_datestring10NoStart date in format "yyyy-mm-dd".
periodic_payments_end_datestring10NoEnd date in format "yyyy-mm-dd".

PIS Payment - Beneficiary Information​

Use when receiving payment to a specific IBAN account via PIS methods.

ParameterTypeMax LengthRequiredDescription
beneficiary_countrystring255No**Beneficiary country code (LT, EE, LV, etc.). Required for some PIS methods.
beneficiary_townstring255No**Beneficiary town/city (e.g., "Vilnius"). Required for some PIS methods.
beneficiary_streetstring255No**Beneficiary street address. Required for some PIS methods.
beneficiary_buildingstring255No**Beneficiary building number. Required for some PIS methods.
beneficiary_postcodestring255No**Beneficiary postal code. Required for some PIS methods.
beneficiary_country_subdivisionstring255No**Beneficiary country subdivision. Required for some PIS methods.
beneficiary_bank_namestring255No**Beneficiary bank name. Required for some PIS methods.
beneficiary_namestring255No**Beneficiary name. Required for some PIS methods.
beneficiary_ibanstring255No**Beneficiary IBAN account number. Required for some PIS methods.
beneficiary_bicstring255No**Beneficiary BIC/SWIFT code. Required for some PIS methods.

If using buyer_consent=1, you must display this text on your payment page:

Please be informed that the account information and payment initiation services will be provided to you by Paysera in accordance with these rules. By proceeding with this payment, you agree to receive this service and the service terms and conditions.

Notes​

  • Paytext length: Final length may vary depending on payment method specification
  • Required fields: Some payment methods require specific customer information fields
  • Testing: Always test with test=1 parameter before going live
  • Callback: Your callback script must return "OK" for successful payment confirmation