Page History
...
The request URL for the payment data transfer: https://<SERVER_NAME>/pay/payrequest.cfm
The list of parameters is completely equivalent to the list of authorization request parameters.
In the response a data packet in JSON format is sending, which contains the following parameters:
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
An example of a response when an order was created successfully:
Code Block | ||
---|---|---|
| ||
{"url": "https://payments.paysecure.ru/pay/pay.cfm?CFSID=MCRdVzAjKDM3Ai0nXVVKSCRbXl8pVyAgIAo%3D&stage=iframe", "expirationtime":"07.07.2018 16:37:53", "orderstate": "In Process"} |
If the order was created successfully, the value of the order status "In Process" is always returned, and only when such a status is received, you can use the URL returned by the service to redirect the payer or substitute it in the iFrame address.
An example of an error response:
Code Block | ||
---|---|---|
| ||
{"URL":"", "expirationtime":"07.07.2018 13:37:53", 'orderstate": "Decline"} |