Prepaid Cards Assume the following:
Example URL to create a new card:
http://ZZZ.iposwarehouse.com/core/sales/cards/prepaid/prepaid_api.asp?log=AAAA&pwd=BBBB&qty=CCCC&expiresyears=DDDD&prd=EEEE&site=FFFF
Returns:
{
"CardKey": 55271,
"CardCode": "PV8BEX540B",
"CardActive": true,
"SiteKey": 0,
"CustomerKey": 0,
"ProductKey": 1836,
"DriveCampaignKey": 0,
"CardOpeningDteTme": "19/03/2019",
"CardOpeningBalance": 1,
"CardOpeningBalanceManual": 0,
"CardBalanceDteTme": "",
"CardBalance": 1,
"CardExpiryDate": "19/09/2019",
"CardNotes": ""
}
The API can also be used to read the balance of an existing card:
http://ZZZ.iposwarehouse.com/core/sales/cards/prepaid/prepaid_api.asp?log=AAAA&pwd=BBBB&card=PV055134
{
"CardKey": 55272,
"CardCode": "PVMQ7NJ236",
"CardActive": true,
"SiteKey": 0,
"CustomerKey": 0,
"ProductKey": 1836,
"DriveCampaignKey": 0,
"CardOpeningDteTme": "19/03/2019",
"CardOpeningBalance": 1,
"CardOpeningBalanceManual": 0,
"CardBalanceDteTme": "",
"CardBalance": 1,
"CardExpiryDate": "19/09/2019",
"CardNotes": ""
}