This call will allow your merchant to access PaymentsHQ from within the partner platform without a second login. The supplied URL will go straight to the user’s merchant profile logged in as the default administrative user for that merchant. The redirect URL must be visited within 20 minutes .
All parts of the URL can change at any time so be sure to use the entire URL and not make any assumptions as to the hostname or format that will be returned.
Call Reporting Website Request Fields
These fields must be included with each request for all message types.
Required
Request Field
Description
TERMID
8 character terminal ID assigned by SportsPay; must be the first field
TYPE
Z
for administrativePASS
Password for the
TERMID
SUBTYPE
W
for website loginResponse Fields
All responses will include these fields along with request specific fields, and may appear in any order.
Response Field
Description
CODE
0000
is success; anything else is an error codeTEXT
OK
, NO ACCOUNT
or description of the errorREDIRECT
The URL to redirect the user
DATE
TIME
Gateway time
DUR
The amount of time the gateway required to process the request
ECHO
If included in the request
Ampersands (&) in the URL will be encoded to %38 and must be decoded back to the ampersand (&)
Example
Request:
TERMID=TESTTERM&PASS=mypass&TYPE=Z&SUBTYPE=W
Response:
TEXT=OK&CODE=0000&REDIRECT=https://www.POSconnect.com/testhost/merchant.cgi?3gt45jnuiYj346