API Documentation

API Call - issueCoupons

Description

Issue coupons to a party for a deal. Returns information about the coupons

Parameters

Param Required? Description
pid yes your chompon publisher-id
auth yes your chompon authentication-key
type no either JSON or XML. default is XML
uid yes the user's user-id, ud must be non-null
did yes the id of the deal
rf no the referral id as passed to your payment page through the "rf" GET parameter
count no how many coupons issued. default is 1
rid no the reference id for this user's credit card token

Examples

Issue coupons for deal:
https://www.chompon.com/api.php?pid=12&auth=26a4171b3c38b868&method=issueCoupons&did=987&uid=8&type=xml

© 2010 ChompOn, Inc.

Please enter your email and password.

or Sign Up!