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

Function call


Below is an example of a call to status.pml.

<form method="post" action="">
  <input type="hidden" name="acquirer" value="all"> 
  <input type="submit" name="replytype" value="text">

Input parameters

Parameter Description
acquirer *

The name of the acquirer for which you want to know the current status.

It´s also possible to state "all". In this case status.pml will return the status of all connected acquirers.

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

*: Mandatory parameters

Return parameters

The response from the DIBS system depends on the reply type in the function call.

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

Where dd/mm-yyyy is the date and is the time.

If replytype=num was sent, the answer will be either 0 or 1 (1 for "ok" and 0 for "down").

Do you have a question or need help?
Follow us
Nets Online Payments

Oslo: +47 21 55 44 00
Stockholm: +46 (0)8-527 525 00
København: +45 7020 3077
Jyväskylä: + 358 010 80 40 40
Close menu