Add delivery information examples
Skip to contents in this page
AddDeliveryInfo Request examples
Adding Posti tracking code, but not the last one:
(pkg_allsent=N)
<form action="https://test1.maksuturva.fi/addDeliveryInfo.pmt">
<input type="hidden" name="pkg_version" value="0002">
<input type="hidden" name="pkg_sellerid" value="ABC123DE">
<input type="hidden" name="pkg_id" value="1998524_1">
<input type="hidden" name="pkg_deliverymethodid" value="ITELL">
<input type="hidden" name="pkg_adddeliveryinfo" value="JJFI12345612345123456">
<input type="hidden" name="pkg_allsent" value="N">
<input type="hidden" name="pkg_forceupdate" value="N">
<input type="hidden" name="pkg_resptype" value="XML">
<input type="hidden" name="pkg_keygeneration" value="1">
</form>
Adding the final Posti tracking code:
(pkg_allsent=Y)
<form action="https://test1.maksuturva.fi/addDeliveryInfo.pmt">
<input type="hidden" name="pkg_version" value="0002">
<input type="hidden" name="pkg_sellerid" value="ABC123DE">
<input type="hidden" name="pkg_id" value="1998524_1">
<input type="hidden" name="pkg_deliverymethodid" value="ITELL">
<input type="hidden" name="pkg_adddeliveryinfo" value="JJFI12345612345123456">
<input type="hidden" name="pkg_allsent" value="Y">
<input type="hidden" name="pkg_forceupdate" value="N">
<input type="hidden" name="pkg_resptype" value="XML">
<input type="hidden" name="pkg_keygeneration" value="1">
</form>
AddDeliveryInfo Response examples:
OK Response:
<pmtq>
<pkg_resultcode>00</pkg_resultcode>
<pkg_version>0002</pkg_version>
<pkg_resulttext>OK</pkg_resulttext>
<pkg_sellerid>ABC123DE</pkg_sellerid>
<pkg_id>1998524_1</pkg_id>
</pmtq>
Error Response:
(pkg_id missing from the request)
<pmtq>
<pkg_resultcode>99</pkg_resultcode>
<pkg_version>0002</pkg_version>
<pkg_resulttext>pkg_id is a mandatory field</pkg_resulttext>
<pkg_sellerid>ABC123DE</pkg_sellerid>
<pkg_id/>
</pmtq>
Svea Payments Oy
info.payments@svea.fi
+358 9 4241 7050 (weekdays 8:00 - 16:00)
Saavutettavuusseloste