status.pml

 

Description

status.pml is used for checking the current connection to the acquirers, which is continuously monitored by the DIBS server.

 

Function call

https://payment.architrade.com/status.pml

 

Input parameters

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.

 

Return parameters

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.

 

Example

<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>