ptok should always be treated as an array. The gift
card number is the key, and either (R)eview, (D)ecline, or (X)delete as the
value. Some examples using curl are provided below.
These are case sensitive!<?xml version="1.0" encoding="UTF-8"?> <response> <status>ok</status> <count> <success>1</success> <failure>0</failure> </count> <errors/> <result>review</result> </response>Successful Response [JSON]
{"status":"ok","count":{"success":1,"failure":0},"errors":[],"result":"{\"status\":\"ok\",\"errors\":[],\"result\":\"review\"}"} curl -d "ptok[6011518688317697]=R" \
-H "X-Kount-Api-Key: XXX.YYY.ZZZ" \
https://api.kount.net/rpc/v1/vip/gift.xmlPOST (batch)curl -d "ptok[6011904894096699]=R" \
-d "ptok[6011255117418826]=D" \
-d "ptok[6011106543032220]=X" \
-H "X-Kount-Api-Key: XXX.YYY.ZZZ" \
https://api.kount.net/rpc/v1/vip/gift.json