Home Resource

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>"
}
Created by Asbjørn Ulsberg on 2018/07/05 12:48
    

Tips

Jump to any page in the wiki with Ctrl+G or Meta+G.
See more shortcuts.

Need help?

If you need help with XWiki you can contact: