Payment Status Query examples

Request example (S2S HTTP POST)

 

 

$fields = [ 'pmtq_action' => 'PAYMENT_STATUS_QUERY', 'pmtq_version' => '0005', 'pmtq_sellerid' => 'ABC123DE', 'pmtq_id' => '1998524_1', 'pmtq_resptype' => 'XML', 'pmtq_keygeneration' => '1' ]; $request = curl_init('https://test1.maksuturva.fi/PaymentStatusQuery.pmt'); curl_setopt($request, CURLOPT_POST, 1); curl_setopt($request, CURLOPT_POSTFIELDS, $fields); ... $response = curl_exec($request);

Response examples (XML)

 

Payment was not found or the payment has not been confirmed:

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <pmtq> <pmtq_returncode>00</pmtq_returncode> <pmtq_returntext>No payment found with specified data</pmtq_returntext> <pmtq_action>PAYMENT_STATUS_QUERY</pmtq_action> <pmtq_id>1998524_1</pmtq_id> <pmtq_amount>0,00</pmtq_amount> <pmtq_sellerid>ABC123DE</pmtq_sellerid> <pmtq_version>0005</pmtq_version> </pmtq>

Payment has not been confirmed:

The buyer may still be in the Internet bank and about to confirm the payment.

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <pmtq> <pmtq_returntext>No payment found with specified data</pmtq_returntext> <pmtq_paymentmethod>FI01</pmtq_paymentmethod> <pmtq_amount>568,10</pmtq_amount> <pmtq_paymentstarttimestamp>15.10.2025 14:16:48</pmtq_paymentstarttimestamp> <pmtq_returncode>00</pmtq_returncode> <pmtq_certification>N</pmtq_certification> <pmtq_action>PAYMENT_STATUS_QUERY</pmtq_action> <pmtq_id>1998524_1</pmtq_id> <pmtq_escrow>Y</pmtq_escrow> <pmtq_sellerid>ABC123DE</pmtq_sellerid> <pmtq_sellercosts>5,00</pmtq_sellercosts> <pmtq_version>0005</pmtq_version> </pmtq>

Payment has been confirmed and delivery info has been added:

(Satisfaction Guarantee payment service)

Payment has been settled to webstore:

Svea Payments Oy
info.payments@svea.fi
+358 9 4241 7050 (weekdays 8:00 - 16:00)
Saavutettavuusseloste