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]



Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Request parameters

Payment status query is possible as soon as the payment has been successfully received and saved by Svea Payments.

Webstore delivers the query parameters in a <form> using POST method as hidden input fields (<input type=hidden>) to address https://www.maksuturva.fi/PaymentStatusQuery.pmt
(or https://test1.maksuturva.fi/PaymentStatusQuery.pmt in testing environment).

Field

Input name

Value

Format

C/O

Description

Action code

pmtq_action

PAYMENT_STATUS_QUERY

AN50

C

PAYMENT_STATUS_QUERY

Message version

pmtq_version

0005

AN4

C

Version of the interface content.

Seller ID

pmtq_sellerid

AN15

C

Seller ID given to the webstore by Svea Payments. Technical interface user id.

Payment ID

pmtq_id

AN20

C

Unique identifying number given to the payment transaction by webstore.

Response type

pmtq_resptype

XML

AN4

C

Currently only XML is supported.

Hash algorithm

pmtq_hashversion

AN10

C

Name of the algorithm used to calculate the hash. For more details, see section Hash Calculation.

Hash

pmtq_hash

AN128

C

Hash calculated from predefined message fields and the webstore's secret key. The following fields are used to calculate the hash:
pmtq_action
pmtq_version
pmtq_sellerid
pmtq_id
For more details, see section Hash Calculation.

Secret key generation

pmtq_keygeneration

N3

C

Generation number of the secret key given to the seller by Svea Payments.
Default is 001

  • No labels