Field | Input name | Value | Format | C/O | Description | Action code|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PAYMENT_STATUS_QUERY | AN50 | C | Action name. Always PAYMENT_STATUS_QUERY. | ||||||||||||
Message version |
| 0005 | AN4 | C | Version of the interface content .Seller IDor message | |||||||||||
| AN15 | C | Seller ID Technical seller id given to the webstore by Svea Payments. Technical interface user id. | |||||||||||||
Payment ID |
| AN20 | C | Unique identifying number Payment Identifier given to the payment transaction by the webstore. | ||||||||||||
Response type |
| XML | AN4 | C | Response content type. Currently only XML is supported. | Hash algorithm | ||||||||||
| 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: | Secret key generation | pmtq_keygeneration | N3 | C | Generation number of the secret key given to the seller by Svea Payments. | N3 | C | Secret key generation or version related to the technical seller id. |
Field | Input name | Value | Format | C/O | Description | ||||
---|---|---|---|---|---|---|---|---|---|
Action code |
| PAYMENT_STATUS_QUERY | AN50 | C | Action name. Always PAYMENT_STATUS_QUERY. | ||||
Message version |
| 0005 | AN4 | C | Version of the interface content . Same as in the input message.Seller IDor message | ||||
| AN15 | C | Seller ID Technical seller id given to the webstore by Svea Payments. Technical interface user id. | ||||||
Payment ID |
| AN20 | C | Unique identifying number Payment Identifier given to the payment transaction by the webstore. | |||||
Order ID |
| AN50 | C | New 09-2021 Contains the The order id the payment was created with. | |||||
Sum of products and services of the order |
| nnnnn,nn | AN17 | C | The total sum of products and services of the order. | ||||
Response code |
| ANN2 | C | Indicates Response code that indicates success or failure. Values and explanations of all the codes can be found at section Payment response Response and Delivery code values. | |||||
Response text |
| AN100 | O | Brief description of the response code. | |||||
Tracking codes of the deliverable of the order |
| AN400 | C | Tracking codes or information of untraceable deliveries submitted to Svea Payments system regarding this payment. Format [XX|XY|YY] 0-n times depending on the count of submitted tracking codes or information of untraceable deliveries. | |||||
| nnnnn,nn | AN17 | O | The total sum of delivery and handling costs of the order. | |||||
| AN17 | O | New 09-2021 Only available when the payer chose a payment method that has invoicing fee associated to it. The amount is presented with two descimalsdecimals. The decimal delimiter is a comma, e.g. 7,40 | ||||||
Payment Method |
| AN4 | O | Indicates what payment method the buyer chose. For available codes, see section Payment Method Codes. Important! Please do not use the values of the table above in production. Instead, retrieve official payment method codes and names using GetPaymentMethods.pmt API (see chapter Retrieve Available Payment Methods). | |||||
Escrow is being used |
| Satisfaction Guarantee payments = Y | AN1 | O | Tells whether escrow option is used with this payment. Values: Y/NThe value is always Y for payment services using Buyer’s Assistant. Correspondingly, the value is always N for Direct payment services (that do not use Buyer’s Assistant or return/refund tools). | ||||
Verification info |
| Y ,or N | A1 | O | Verification info | ||||
Payment service response code 1 |
| AN50 | O | Payment service response code 1 Informal/additional payment service response information received from the external payment service provider in error situations. In case of Nets (formerly known as Luottokunta), the LKPRC code. In OK cases this could contain for example external payment service provider’s archive code of the payment. | Payment service response code 2 | ||||
| AN50 | O | Payment service response code 2 Informal/additional payment service response information received from the external payment service provider in error situations. In case of Nets (formerly known as Luottokunta), the LKSRC code. In OK cases this could contain for example external payment service provider’s archive code of the payment. | ||||||
Payment service response text |
| AN200 | O | Payment service response text Informal/additional payment service response information received from the Contains either information about successful payment or an error. If the external payment service provider does not provide this response information, this is either empty or it could contain for example external payment service provider’s archive code or some other unique id of the payment. | |||||
Time when the buyer began the payment process |
| dd.MM.yyyy hh:mm:ss | AN19 | O | The time when payer transfered to the Payment Service. | Payment date | Time when the buyer began the payment process | ||
| dd.MM.yyyy | AN10 | O | The date when payer paid. Or if it’s not available, the date when the money was found from Svea Payments Customer Assets bank account statement. | Hash | pmtq_hash | AN128 | C | Hash calculated from predefined response message fields and the webstore's secret key. Uses the same version, key generation etc values that were in the request. The following fields are used to calculate the hash: pmtq_action pmtq_version pmtq_sellerid pmtq_id pmtq_amount pmtq_returncode pmtq_returntext pmtq_sellercosts (if available) pmtq_paymentmethod (if available) pmtq_escrow (if available) pmtq_certification (if available) |