The merchant can also get the results of the transactions performed within a certain period by means of Web service.
To get the authorization results, send a request to IPS Assist server via HTTP POST, SOAP method (in UTF-8 coding) or in JSON format (swagger description: https://docs.belassist.by/swagger/).
The request URL for receiving the authorization results:
https://<SERVER-NAME>/resultbydate/resultbydate.cfm.
You can get the results via Web service only for a specified time period not exceeding 24 hours. For this, specify the values of parameters that set forth the sampling start date, and parameters setting the sampling end date, so that the difference between these dates is no more than 24 hours. Otherwise, the default values will be used for these parameters (for the last three hours). In other words, if parameters of the sampling start and end dates are not specified, or specified incorrectly, the results of the operations performed within the last three hours will be output as the request results. Please, note that the parameters of the sampling date and time shall be indicated for GMT/UTC time zone.
If the buyer interrupted the payment process before the selection of payment means then there no payment operation created in IPS Assist and there no operations on this order in the results displayed.
Attention! You can request the operations results only for the time period not exceeding 24 hours and with the maximum interval of 10 minutes.
List of request parameters:
Parameter | Mandatory field | Adopted values | Default value | Description |
Merchant_ID | Yes | Number | The enterprise identifier in IPS Assist | |
Login | Yes | 8 - 20 characters | Login (Latin letters, digits and symbol _) | |
Password | Yes | 8 - 20 characters | Password (Latin letters and digits) | |
TestMode | Yes | 0 1 | 0 | Mode (0 – operation mode, |
Language | No | RU EN | EN | Language of the results output |
Format | No | 1 – CSV | 1 | Format of the results output. Passed only for a request in POST format (by default, the response will be returned in CSV format). For other formats, the response is returned in the same format in which the request was made. |
MeanType_ID | No | 1 – VISA 2 – MasterCard 3 – DCL 4 – JCB 5 – AMEX 6 - MIR 30 – WebMoney 32 – YandexMoney 36 – QIWI 39 – QIWIBeeline 40 – QIWIMts 41 - QIWIMegafon | All values sampling by default | Sampling by types of payment means |
Operationstate | No | N – created, P – being processed, S – completed, F – failed T – closed upon time expiration | All values sampling by default | Sampling by operation states. Use upper case only. |
Operationtype | No | A – payment C – payment confirmation R – cancellation | All values sampling by default | Sampling by operation types. Use upper case only. |
StartDay | No | dd | By default: minus three hours from the current time at the moment of sampling | Sampling start date (GMT) |
StartMonth | No | mm | ||
StartYear | No | yyyy | ||
StartHour | No | hh | ||
StartMin | No | mm | ||
EndDay | No | dd | By default: current time at the moment of sampling | Sampling end date (GMT) |
EndMonth | No | mm | ||
EndYear | No | yyyy | ||
EndHour | No | hh | ||
EndMin | No | mm | ||
ZipFlag | No | "0" – browser | 0 | Format of the results output |