status.pml is used for checking the current connection to the acquirers, which is continuously monitored by the DIBS server.
https://payment.architrade.com/status.pml
The function status.pml accepts the following input parameters:
Parameter | Description |
replytype | Reply type determines the formatting of the answer, and accepts the following types: - text: as simple text - html: as HTML - num: as an integer (1 if connection is open, 0 if there is no connection). |
acquirer | The name of the acquirer for which you want to know the current status. See list of possible acquirers . It´s also possible to state "all". In this case status.pml will return the status of all connected acquirers. |
The response fromt the DIBS system depends on the replytype in the functioncall. If replytype=text or replytype=html the answer will be of the type: “Last contact to the acquirer was established at dd/mm-yyyy at tt.mm”. Where dd/mm-yyyy is the date and tt.mm is the time. If replytype=num was sent, the answer will be either 0 or 1 (1 for "ok" and 0 for "down").
Note: Please observe that the answer will not allways be 100% correct, because some type of problems won't show up in the function call, and sometimes the system may overreact to minor problems, and hence indicate that there is no connection.
<FORM method="post" action="<link https://payment.architrade.com/status.pml?acquirer=all&replytype=text>https://payment.architrade.com/status.pml?acquirer=all&replytype=text">
<input type="submit" name="next" value="Klik">
</FORM>