Skip to main content
To enable customers to pay for recurring billing with tokens, construct an AutoBill object with a BillingPlan object that is transacted in tokens, and a token-based PaymentMethod object. Create a Billing Plan priced in Tokens:
The AutoBill object you created generates monthly transactions that decrement tokens from the related Account object. If you fetch the transactions with the Subscribe API, note the following:
  • The PaymentMethod object in the Transaction object’s sourcePaymentMethod attribute has a type setting of Token. The Token attribute of the PaymentMethod object contains the token type for the transaction.
  • The currency attribute of the Transaction object is _VT, Subscribe’s internal currency code for tokens.
  • The Transaction object’s amount attribute refers to the total number of tokens used (decremented from the Account object in question) for the transaction.
Process a Token-based Transaction fetched from Subscribe:
Parent topic:Working with Tokens