Get Card
POST
/v2/Payment/GetCardGetCard prompts the terminal to read card data and returns the card track information. All the responses have GeneralResponse section that informs about successful result or error. See Error Codes and Messages.
Body Parameters
Prompt*
stringTimeout
numberTpn
stringRegisterId
stringAuthkey*
stringSPInProxyTimeout
numberCustomFields
objectPOST/v2/Payment/GetCard
1curl --location 'https://test.spinpos.net/v2/Payment/GetCard' \
2--header 'Content-Type: application/json' \
3--data '{
4 "Prompt": "",
5 "Timeout": "",
6 "Tpn": "",
7 "RegisterId": "",
8 "Authkey": "",
9 "SPInProxyTimeout": "",
10 "CustomFields": {}
11}'
Response
// Awaiting response…
Sample response
{
"Track1": "",
"Track2": "",
"Account": "",
"EntryType": "",
"GeneralResponse": {
"ResultCode": "0",
"StatusCode": "0000",
"Message": "",
"DetailedMessage": "",
"DelayBeforeNextRequest": null
}
}