SPIn Specification
User Choice Request
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.

Query Parameters

RegisterId*
string
TPN
string
AuthKey
string
UserChoice*
string
Choice*
string
GET/cgi.html-userchoice
1curl --location 'https://test.spinpos.net:443/SPIn/cgi.html?TerminalTransaction=%3Crequest%3E%3CRegisterId%3E3%3C%2FRegisterId%3E%3CUserChoice%3Etitle%3DSelect+Payment+Type%3Bcount%3D2%3Btimeout%3D30%3C%2FUserChoice%3E%3CChoice%3ECredit%3C%2FChoice%3E%3C%2Frequest%3E'
Response

// Awaiting response…