Skip to main content
The Subscribe API allows you to refund transactions that granted or decremented tokens. Refunding token transactions returns the tokens to the token balance in the customer’s account. If a refund is for a Product that granted tokens, be sure to define the action to take for the tokens. When creating the Refund object, specify the tokenAction attribute, which is an enumeration of the following three values:
  • None: Makes no changes to the token balance. All previous token balances will stand as if the transaction had not been refunded.
  • **CancelZeroBalance:**Subscribe will cancel all previous token transactions. If the cancellation causes the token balance to drop below zero, Subscribe will reset it to zero.
  • **CancelNegativeBalance:**Subscribe will cancel all previous token transactions. If the cancellation causes the token balance to drop below zero, the negative balance will remain, and subsequent token-based transactions will fail until the balance rises above zero.
Refund a Transaction that granted Tokens to an Account: Note: Use of the forward slash character (/) in merchant identifiers is not allowed. See Merchant Identifiers for more information.
Parent topic:Working with Tokens