Pay
https://{Environment}.payture.com/apim/PayThe command that opens the payment page on the Payture payment gateway side. It is called after a successful Init payment initialization command.
The request can be sent using the GET or POST method.
Request
curl https://sandbox3.payture.com/apim/Pay \
-d SessionId=c8cc6c5c-30da-d7e1-e090-46f25ae30626 \Parameter names in requests are case-sensitive
| Parameter | Description | Format |
|---|---|---|
| SessionId | Payment session ID. Returned in the response to the Init request The default session lifetime is 60 minutes. It can be changed via Payture support | String [36] Mandatory |
If the operation succeeds, the payment page opens on the Payture payment gateway side.
After the Customer enters their card details, the funds on the Customer's card are charged (in a one-step payment) or held (in a two-step payment).
The Customer sees the operation result on the payment page and is redirected to the return page (the Url parameter of the Init request) after 3 seconds.
Important!
You may include the Success parameter, which indicates whether the operation completed successfully (True/False), in the Customer return URL (Url). However, the Success parameter is vulnerable to manipulation by fraudsters and cannot serve as a guarantee that the payment succeeded. It may only be used to determine the further behavior of the frontend part of the Merchant's system.
To get the actual transaction results, use the data received in the notification or in the transaction status request.
Init
The command that initializes a one-step or two-step payment. Processing the request creates a payment session and prepares the Customer to be redirected to the Payture payment gateway page to…
Charge
The Charge command captures held funds from the Customer's card. It is used as part of the two-step payment flow.
