Sandbox.payex-checkout-v1.Introduction.Home - Home Resource

Page of - last modified by Asbjørn Ulsberg on 2018/07/05 12:48

Home Resource

Asbjørn Ulsberg

2018/07/05 12:48

Table of Contents

Retrieve Home resource

Example

Request

Response

The Home resource of PayEx Checkout contains the links to the Payment Session resource resource. It can be used to verify that the authentication works and to discover the resources that can be manipulated through the PayEx Checkout REST API.

Retrieve Home resource

To retrieve the Home resource, just perform an HTTP GET request towards the PayEx Checkout API base URL for the environment you want to communicate with. The different base URLs can be found in the Backend API Introduction.

Example

Request

GET https://api.payex.com/psp/checkout/ HTTP/1.1
Accept: application/json
Authorization: Bearer merchantToken==

Response

HTTP/1.1 200 OK
Content-Type: application/json
{
"paymentSession": "<payment_session_url>"
}