Purpose

Creates a session ID and redirect URL that are used to initiate a Hosted Payment Page.

Preconditions:

  • All the authorization related data is present.
  • Accept and decline URL are present to redirect the buyer from the hosted payment page after the authorization attempt.

Success

  • Response Code: HTTP 201
  • Response body: session_id -> Session ID for the checkout session which will be used to get the authorization detail and also confirm the checkout session.
  • Response body: hpp_url -> URL to redirect or send to buyer to access the hosted payment page.
  • Response body: expires_at -> Expiration time of the checkout session.

Attention:

  • The session has an expiry time of 48 hours.
Language
Credentials
OAuth2
URL
Click Try It! to start a request and see the response here!