Field | Input name | Value | Format | Min lenght | C/O | Description |
---|---|---|---|---|---|---|
Action code | pmt_action | NEW_PAYMENT_EXTENDED | AN50 | 4 | C | NEW_PAYMENT_EXTENDED |
Message version | pmt_version | 0004 | AN4 | 4 | C | Version of interface content |
Seller ID | pmt_sellerid | AN15 | C | Technical user id given to the webstore by Svea Payments. | ||
Unique Payment ID | pmt_id | AN20 | C | Identifier given to the payment transaction by the webstore. Must be unique. | ||
Order id | pmt_orderid | AN50 | C | Identifier given to the order by the webstore. Order id should be known by the buyer. | ||
Payment reference number | pmt_reference | N20 | 4 | C | Reference number given by the webstore and used when compensating the seller. The reference number must comply with the guidelines for a formal reference number issued by the Federation of Finnish Financial Services (FK, http://www.fkl.fi). The reference number must be at least 4 digits, the last of which is a check digit. | |
Payment due date | pmt_duedate | current date in format dd.MM.yyyy | AN10 | 10 | C | A due date given to the payment by the webstore. Currently should be today. |
Buyer's (user's) locale | pmt_userlocale | fi_FI, sv_FI, en_FI | AN5 | 5 | O | Information on the country and language choices of the buyer. ll_CC, where ll is a two character ISO 639-1 language code and CC is a two character ISO 3166 alpha-2 country code. The default fi_FI will be used if the locale is null. For example sv_FI and en_FI will be accepted. |
Sum of products and services of the order | pmt_amount | nnnnn,nn | AN17 | 4 | C | The total gross sum of row types 1, 4, 5 and 6. |
Payment currency | pmt_currency | EUR | AN3 | 3 | C | Currency used for the payment. Always EUR. |
Ok return address (URL) | pmt_okreturn | AN200 | C | The url to which the buyer's browser will be directed to in case of confirmed payments (the order has been paid) | ||
Error return address (URL) | pmt_errorreturn | AN200 | C | The error url to which the buyer's browser will be directed to if there is an error in the paying process. A querystring parameter Payment ID ( | ||
Cancel return address (URL) | pmt_cancelreturn | AN200 | C | The cancel url to which the buyer's browser will be directed to if the buyer interrupts the paying process. A querystring parameter Payment ID ( | ||
Delayed payment return address (URL) | pmt_delayedpayreturn | AN200 | C | The url to which the buyer's browser will be directed to if the user has confirmed using the credit transfer or giro payment method which means the payment has not yet been registered. A querystring parameter Payment ID ( Credit transfer or giro is not supported nowadays in "off-the-shelf" payment services. This is why we suggest using same address for both cancel and delayed payment return address ( | ||
Escrow in use | pmt_escrow | Satisfaction Guarantee payment service = Y | A1 | 1 | C | This parameter value is ignored, but validated to exist and be Y or N. Tells whether escrow option is used with this payment. Values: Y/N |
Escrow option changeable by buyer | pmt_escrowchangeallowed | N | A1 | 1 | C | This parameter value is currently ignored, but validated it exists. Currently always N. |
Will webstore sends an invoice to the payer | pmt_invoicefromseller | Y/N | A1 | 1 | O | Parameter can be used, if the chosen payment method is invoice or part payment. |
Payment method pre-chosen in webstore | pmt_paymentmethod | FINN (esim. FI01) | AN4 | 4 | O | OPTIONAL. Payment method’s code FInn. |
Buyer’s social security number or company’s business identification code | pmt_buyeridentificationcode | AN11 | 9 | O | Buyer’s social security number or company’s business identification code. | |
Buyer's name | pmt_buyername | AN100 | C | Name of buyer (billing) | ||
Buyer's billing address | pmt_buyeraddress | AN100 | C | Address of buyer (billing). Street address or p.o. box | ||
Buyer's postal code | pmt_buyerpostalcode | N20 | C | Postal code of buyer (billing) | ||
Buyer's city | pmt_buyercity | AN100 | C | City of buyer (billing) | ||
Buyer's country code | pmt_buyercountry | FI, SE, EN, ... | A2 | C | Country code of buyer (billing) | |
Buyer's phone number | pmt_buyerphone | AN40 | O | Phone number of buyer (billing) | ||
Buyer's email address | pmt_buyeremail | AN320 | O/C | Email address of buyer. Must be present when preselected payment method is used. | ||
Delivery recipient's name | pmt_deliveryname | AN100 | C | Name of recipient (delivery). Street address or p.o. box (* | ||
Delivery recipient's address | pmt_deliveryaddress | AN100 | C | Address of recipient (delivery) (* | ||
Delivery recipient's postal code | pmt_deliverypostalcode | N20 | C | Postal code of recipient (delivery) (* | ||
Delivery recipient's city | pmt_deliverycity | AN100 | C | City of recipient (delivery) (* | ||
Delivery recipient's country code | pmt_deliverycountry | FI, SE, EN, ... | A2 | C | Country code of recipient (delivery) (* | |
Sum of handling and delivery costs of the order | pmt_sellercosts | n,nn | AN17 | 4 | C | The total gross sum of row types 2 and 3. |
Order row count (number of order rows) | pmt_rows | N4 | 1 | C | The count or number of order rows as an integer. | |
Order row name | pmt_row_nameN | AN40 | 1 | C | Name of this order row | |
Order row description | pmt_row_descN | AN1000 | 1 | C | Detailed description of this order row | |
Order row quantity | pmt_row_quantityN | Preferably an integer value but also decimal number values with up to 2 decimal values are accepted. e.g. 1, 2 or 1,75 | AN10 | 1 | C | The quantity of this order row. Preferably an integer value but also decimal number values with up to 2 decimal values are accepted. e.g. 1, 2 or 1,75 |
Order row article or product number | pmt_row_articlenrN | AN100 | 1 | O | Article or product number of this order row. Optional information. | |
Order row unit of quantity | pmt_row_unitN | e.g. kg, kpl | AN3 | 1 | O | Unit of quantity of this order row, e.g. kg, l, m, kpl |
Order row delivery date of package or service | pmt_row_deliverydateN | dd.mm.yyyy | AN10 | 10 | C | Date in form dd.mm.yyyy – please set as current date, if there is no other logical value to use. |
Order row gross unit price (VAT included) | pmt_row_price_grossN | n,nn | AN17 | 4 | C/O | Gross unit price of product (VAT included). |
Order row net unit price (VAT excluded) | pmt_row_price_netN | n,nn | AN17 | 4 | C/O | Net unit price of product (VAT excluded). |
Order row VAT percentage | pmt_row_vatN | n,nn | AN5 | 4 | C | Decimal number with two decimal digits without thousands separator. The decimal delimiter is a comma. For example: 23,00 means ”23 %” |
Order row Discount percentage | pmt_row_discountpercentageN | n,nn | AN5 | 4 | C | Decimal number with two decimal digits without thousands separator. The decimal delimiter is a comma. For example: 10,00 means ”10 %” |
Order row type | pmt_row_typeN | 1 = product | N5 | 1 | C | 1 = product |
Hash calculation character encoding. | pmt_charset | ISO-8859-1, | AN15 | C | This field tells the character set that has been used to calculate the hash value for input data. Legal values are for now: ISO-8859-1, ISO-8859-15 and UTF-8. | |
Character encoding of input data (and of webstore) | pmt_charsethttp | ISO-8859-1, | AN15 | This field tells the character encoding of the input data. | ||
Hash algorithm | pmt_hashversion | AN10 | C | Name of the algorithm used to calculate the hash. For more detals, see section Hash Generation | ||
Hash | pmt_hash | AN128 | 32 | C | Hash calculated from the request fields listed below and webstore’s secret key:
For further information, see Hash Generation. | |
Secret key generation | pmt_keygeneration | N3 | C | Webstore's secret key generation or version. Default or initial value is 001. | ||
Optional rows | ||||||
Marketplace commission amount | pmt_marketplacecommission | n,nn | AN17 | 4 | O | The commission amount reserved for marketplace. |
Marketplace commission reference number | pmt_marketplacereference | N20 | 4 | O | The reference number used when commission is settled to marketplace. |
This documentation is deprecated and only available for supporting old/legacy integrations using for example hashes.">This documentation is deprecated and only available for supporting old/legacy integrations using for example hashes.
New documentation can be found here: [DOCS:Home]">New documentation can be found here: [DOCS:Home]
General
Content
Integrations