Example
Below is an example of a call to status.pml.
<form method="post" action="https://payment.architrade.com/status.pml"> <input type="hidden" name="acquirer" value="all"> <input type="submit" name="replytype" value="text"> </form>
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:
Where dd/mm-yyyy is the date and hh.mm is the time.
If replytype=num was sent, the answer will be either 0 or 1 (1 for "ok" and 0 for "down").