Refunds and Cancellations examples

 

Request examples (HTTP POST)

 

 

Full refund:

<form method="post" action="https://test1.maksuturva.fi/PaymentCancel.pmt"> <input type="hidden" name="pmtc_action" value="CANCEL" /> <input type="hidden" name="pmtc_version" value="0005" /> <input type="hidden" name="pmtc_sellerid" value="ABC123DE" /> <input type="hidden" name="pmtc_id" value="1998524_1" /> <input type="hidden" name="pmtc_amount" value="568,10" /> <input type="hidden" name="pmtc_currency" value="EUR" /> <input type="hidden" name="pmtc_canceltype" value="FULL_REFUND" /> <input type="hidden" name="pmtc_canceldescription" value="Valitettavasti tuotteet olivat päässeet loppumaan varastosta." /> <input type="hidden" name="pmtc_cancelreason" value="OUTOF" /> <input type="hidden" name="pmtc_resptype" value="XML" /> <input type="hidden" name="pmtc_keygeneration" value="1" /> <input type="hidden" name="pmtc_cancel_id" value"1998524_1_refund_01" /> </form>

Partial refund of 123,00 € and return of deliveries:

<form method="post" action="https://test1.maksuturva.fi/PaymentCancel.pmt"> <input type="hidden" name="pmtc_action" value="CANCEL" /> <input type="hidden" name="pmtc_version" value="0005" /> <input type="hidden" name="pmtc_sellerid" value="ABC123DE" /> <input type="hidden" name="pmtc_id" value="1998524_1" /> <input type="hidden" name="pmtc_amount" value="568,10" /> <input type="hidden" name="pmtc_currency" value="EUR" /> <input type="hidden" name="pmtc_canceltype" value="PARTIAL_REFUND_AND_RETURN_OF_DELIVERIES" /> <input type="hidden" name="pmtc_cancelamount" value="123,00" /> <input type="hidden" name="pmtc_canceldescription" value="Ostaja palauttaa toisen tilaamistaan tuote A:sta" /> <input type="hidden" name="pmtc_cancelreason" value="DEFEC" /> <input type="hidden" name="pmtc_resptype" value="XML" /> <input type="hidden" name="pmtc_keygeneration" value="1" /> <input type="hidden" name="pmtc_cancel_id" value"1998524_1_refund_01" /> </form>

Partial refund 250,00 € after settlement:

<form method="post" action="https://test1.maksuturva.fi/PaymentCancel.pmt"> <input type="hidden" name="pmtc_action" value="REFUND_AFTER_SETTLEMENT" /> <input type="hidden" name="pmtc_version" value="0005" /> <input type="hidden" name="pmtc_sellerid" value="ABC123DE" /> <input type="hidden" name="pmtc_id" value="1998524_1" /> <input type="hidden" name="pmtc_amount" value="568,10" /> <input type="hidden" name="pmtc_currency" value="EUR" /> <input type="hidden" name="pmtc_canceltype" value="REFUND_AFTER_SETTLEMENT" /> <input type="hidden" name="pmtc_cancelamount" value="250,00" /> <input type="hidden" name="pmtc_canceldescription" value="Ostaja palauttaa toisen tilaamistaan tuote A:sta" /> <input type="hidden" name="pmtc_cancelreason" value="OTHER" /> <input type="hidden" name="pmtc_resptype" value="XML" /> <input type="hidden" name="pmtc_keygeneration" value="1" /> <input type="hidden" name="pmtc_cancel_id" value"1998524_1_refund_02" /> </form>

XML Response examples (HTTP RESPONSE)

 

OK Response:

OK Response (refund after settlement):

Error response:

(missing pmtc_cancelamount from the request e.g. in case of a partial refund)

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