Parameter | Information | Accepted values |
id | Numeric identifier assigned to the merchant during the registration. Mandatory parameter! | Numeric, e.g. 1005 |
amount | Transaction amount with dot as decimal separator. Mandatory parameter! | Numeric, e.g. 157.32 |
description | Transaction description Mandatory parameter! | Any, up to 128 characters |
crc | Auxiliary parameter to identify the transaction on the merchant side. | Any, up to 128 characters |
md5sum | The checksum used to verify the parameters received from the merchant. When seller's verification code is not set, its value is assumed to be an empty string. Mandatory parameter! | Alphanumeric, 32 characters |
online | Allow online payments only – disallows selection of channels, which at this time, cannot process the payment in real time. | 0 – no 1 – yes |
group | Bank group number selected by customer on seller's website. | Numeric, e.g. 8 |
result_url | The URL address to which the transaction result will be sent via POST method. Note: The Tpay system will use the URL provided in merchant panel or value of this parameter if you enable the overriding in merchant panel (notifications tab). | Alphanumeric, up to 512 characters |
result_email | Tpay system will send notifications about transactions to this email. If not present, Tpay system will use the default email set in the merchant panel. You can pass multiple addresses by separating them with semicolon. | Alphanumeric, up to 512 characters |
merchant_description | Description of the seller during the transaction. By default, the value set in the merchant panel is used. | Alphanumeric, up to 64 characters |
custom_description | Optional field used for card transactions made via Acquirer (Elavon / eService). The value of the field is passed to Acquirer (Elavon / eService) as "TEXT REF. TRANSACTIONS ". | Acceptable characters are a-z, A-Z (without Polish signs), 0-9, and space. All other characters will be cleared. Max 32 characters |
return_url | The URL to which the client will be redirected after the correct transaction processing. | Alphanumeric, up to 512 characters |
return_error_url | The URL to which the client will be redirected in case transaction error occurs. By default, the same as return_url. | Alphanumeric, up to 512 characters |
language | Customer language | PL, EN |
email | Customer email | Alphanumeric, up to 64 characters |
name | Customer name | Alphanumeric, up to 64 characters |
address | Customer address | Alphanumeric, up to 64 characters |
city | Customer city | Alphanumeric, up to 32 characters |
zip | Customer postal code | Alphanumeric, up to 10 characters |
country | Customer country | Alphanumeric, 2 or 3 characters (ISO 3166-1) |
phone | Customer telephone number | Alphanumeric, up to 16 characters |
accept_tos | Customer acceptance of tpay.com rules. | 0 - no 1 - yes |
expiration_date | Maximum transaction payment date | Date formatted as: YYYY:MM:DD:HH:MM (for Warsaw time GMT+1) |
timehash | Parameter protects expiration_date from unauthorized changes | Alphanumeric, up to 32 characters |