User Tools

Site Tools


whmcs-gift_card_v2_api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
whmcs-gift_card_v2_api [2018/06/08 20:04]
wiki [Optional Variables]
whmcs-gift_card_v2_api [2018/06/08 20:26]
wiki [Return (Fail)]
Line 318: Line 318:
 ==== Return (Success) ==== ==== Return (Success) ====
  
-JSON, success:​gift card:​status:​expiry time:expiry mode:gift card value:buyer id:redeemer id:order id:invoice id:allow self redemption:​master card:​subcards +JSON, success:​gift card:​status:​expiry time:expiry mode:gift card value:buyer id:redeemer id:order id:invoice id:allow self redemption:​master card:​subcards:onetime use 
-<​code>​{"​success":"​GC-12345:​redeemed:​31536000:​7days:​20:​0:​1:​0:​0:​0:​0:​0"​}</​code>​+<​code>​{"​success":"​GC-12345:​redeemed:​31536000:​7days:​20:​0:​1:​0:​0:​0:​0:​0:1"​}</​code>​
  
 ==== Return (Fail) ==== ==== Return (Fail) ====
Line 362: Line 362:
 <​code>​["​fail:​Card Expired"​]</​code>​ <​code>​["​fail:​Card Expired"​]</​code>​
 <​code>​["​fail:​Unable to deposit"​]</​code>​ <​code>​["​fail:​Unable to deposit"​]</​code>​
 +<​code>​["​fail:​Similar Card Used"] (New in 2.31)</​code>​
  
 ===== Modify Gift Card (Mode 12)===== ===== Modify Gift Card (Mode 12)=====
whmcs-gift_card_v2_api.txt · Last modified: 2018/06/08 20:26 by wiki