Create a Payment Session

Creating a payment session is the first step in performing a transaction via the Hosted Payment Session POST model. Use the session identifier returned in response to the Create Session operation in Hosted Payment Session POST when submitting the payment form used to collect card details from the payer.

The final step is to use the session identifier in an operation as a reference to the contents stored in the session.

The next step is building a payment form.

Copyright © 2023 Mastercard