Working example: SSO by customer reference

GET {{baseUrl}}/customers/:CReference/account/:PageType/?Lang=<string>&ValidityTime=<string>&ValidationIp=<string>


Overview

Create Single Sign On links into 2Checkout myAccount based on customer references (IDs). Use either the 2Checkout Customer Reference or the External Customer Reference to identify specific customers.

Request Params

KeyDatatypeRequiredDescription
LangstringISO language codes for the product - ISO 639-1.
ValidityTimestringThe time, in seconds, before the single sign-on URL expires. By default, the URL expires after 10 seconds.
ValidationIpstringThe IP address of the shopper, necessary for security purposes. Can be an empty string or a valid IP, or null.