Issuing lifecycle controls
Learn how to use Issuing to control automatic usage-based cancellation of cards.
You can use lifecycle controls to automatically cancel a virtual card after a specified number of payments. This provides support for single-use or n-use cards. To enable this functionality, set the lifecycle_ parameter when creating a virtual card.
How it works
Set lifecycle_ to specify the number of payments after which you want the virtual card automatically canceled. After the card reaches this payment count, its status automatically updates to canceled, and all future authorizations are declined.
What counts as a payment
The following events count towards the payment_:
- Approved authorizations >1 USD: Standard card transactions that are approved
- Captured authorizations ≤1 USD: Small transactions (≤1 USD) that are actually captured and result in a transaction
- Force posts: When a business captures funds without an authorization
Special handling for ≤1 USD authorizations
Many businesses use ≤1 USD authorizations to test if a card is valid, but don’t capture these authorizations to transfer funds. To prevent premature card cancellation:
- Uncaptured ≤1 USD authorizations don’t count towards
payment_count - Only up to
payment_uncaptured ≤1 USD authorizations are allowedcount
Examples
The following scenarios demonstrate how lifecycle controls work for a single-use card (payment_):
Create the single-use card: