SECUREID
is passed back as a field to the “Request URL” on the website. A second field called STATUS
is also passed back.Important: Do not send a GetResult message until after the user has been redirected back to your Return URL. If a GetResult is received prior to the browser returning to your system then the transaction may be cancelled automatically.
GetResult Message
TERMID
TYPE
Will always be W
for Web-Redirect
PASS
Password for the TERMID
ACTION
Type of request message: GetResult
SECUREID
ACK
If Y
then the gateway will attempt to finalize the transaction.
Note: Always check the ACK
= Y
response. If ACK
= N
then send ACK
Response to GetResult
CODE
0000
is approved; anything else is an error codeTEXT
DATE
TIME
DUR
SECUREID
CARDTYPE
One letter card type:
V
– Visa
M
– Mastercard
A
– Amex
D
– Debit
B
– Bank
AUTH
AMT
REQUESTID
SCHEDID
REFNUM
ACK
Y
(yes) or N
(no) for whether the session has been acknowledged (completed)
TOKEN
Response to Tokenization or Schedule Attach Card
CODE
0000
is approved; anything else is an error codeTEXT
DATE
TIME
DUR
SECUREID
CARDTYPE
One letter card type:
V
– Visa
M
– Mastercard
A
– Amex
D
– Debit
B
– Bank
SCHEDID
ACK
Y
- tokenize session is automatically closed
TOKEN
The values retrieved using GetResult may be used in a subsequent host-based transaction such as a Sale (‘S’) or a Return (‘R’) using TOKEN instead of the card data.
Example: Approved Payment
Request:
TERMID=TESTTERM&TYPE=W&PASS=mypass&ACTION=GetResult&SECUREID=i1t6tvowc908r1655ww3816tv5cw88l1wa8
Response:
CODE=0000&SECUREID=i1t6tvowc908r1655ww3816tv5cw88l1wa8&TEXT=Approved&CARDTYPE=V&AUTH=123456&AMT=120.25&REQUESTID=12345678&REFNUM=12348765423987&ACK=N&TOKEN=4003BFDRESA19999&DATE=2016‑03‑28&TIME=17:58:08&DUR=0.146
Example: One Step Ack Request
Request:
TERMID=TESTTERM&TYPE=W&PASS=mypass&ACTION=GetResult&SECUREID=i1t6tvowc908r1655ww3816tv5cw88l1wa8&ACK=Y
Response:
CODE=0000&SECUREID=i1t6tvowc908r1655ww3816tv5cw88l1wa8&TEXT=Approved&CARDTYPE=V&AUTH=123456&AMT=120.25&REQUESTID=12345678&REFNUM=12348765423987&ACK=Y&TOKEN=4003BFDRESA19999&DATE=2016-03-28&TIME=17:58:08&DUR=0.146
ACK=Y
part of the message. If the session does not return an ACK=Y
either as part of the GetResult or from a direct Ack then the transaction has not been captured and will not charge the card.Example: Tokenization
Request:
TERMID=TESTTERM&TYPE=W&PASS=mypass&ACTION=GetResult&SECUREID=i1t6tvowc908r1655ww3816tv5cw88l1wa8
Response:
CODE=0000&SECUREID=i1t6tvowc908r1655ww3816tv5cw88l1wa8&TEXT=TOKENOK&CARDTYPE=V&ACK=Y&TOKEN=4003BFDRESA19999&DATE=2016‑03‑28&TIME=17:58:08&DUR=0.146
Example: Declined
Request:
TERMID=TESTTERM&TYPE=W&PASS=mypass&ACTION=GetResult&SECUREID=i1t6tvowc908r1655ww3816tv5cw88l1wa8
Response:
CODE=9205&SECUREID=i1t6tvowc908r1655ww3816tv5cw88l1wa8&TEXT=DECLINED&AMT=120.25&REQUESTID=12345678&REFNUM=12348765423987&ACK=Y&DATE=2016‑03‑28&TIME=17:58:08&DUR=0.146