User Choice Request

API Explorer
loading...
GET
/cgi.html-userchoice

This API is used to prompt the cardholder to select their preferred payment type, which is displayed on the payment terminal. The selected option is then passed back to the register. For example, the register can initiate a transaction and send a request to the payment terminal. If one of the options presented is a debit card and the cardholder chooses to pay using it, the chosen payment type (Debit card)will be included in the response sent back to the register.

Request Body

application/json

Response Body

application/json

curl -X GET "https://example.com/cgi.html-userchoice" \  -H "Content-Type: application/json" \  -d '{    "RegisterId": "3",    "TPN": "",    "AuthKey": "",    "UserChoice": "title=Select Payment Type;count=2;timeout=30",    "Choice": "Credit"  }'
{
  "RegisterId": "string",
  "TPN": "string",
  "UserChoice": "string",
  "Message": "Success"
}