Data Structure holding information about a pending credit for an email address.
A pending credit is a record that a consumer with a specific email address should receive a certain amount of consumer credit if he/she takes a specific action. For example, if a pending credit exists for email address email@example.com with AwardTriggerType OnSignUp and value $10, a user who signs up for an account with email address firstname.lastname@example.org will receive a $10 consumer credit.
Currently supported AwardTriggerTypes:
ForNextPurchase - will award pending credits when a consumer makes a purchase, and apply the credits to that purchase.
AfterNextPurchase - will award pending credits when a consumer makes a purchase, but the credits will not be applied to that purchase (they will be available for future purchases).
OnSignUp - will award pending credits when a consumer record is created for the email address (e.g. when a profile is created, or before an anonymous purchase is made)
Pending credits that have expired will not be awarded to the consumer when the award trigger event occurs. Note that if your user management system does not require email verification during the account creation process, pending credits with AwardTriggerType OnSignUp are not secure, as any individual who signs up with that email address will get the consumer credits.
Sample JSON Response:
Sample XML Response: