Account updater
Visa and Mastercard report a new card number or expiry. The Altruon Vault updates the stored card before the next renewal.
Account updater asks Visa or Mastercard whether a stored card has a newer number or a newer expiry. When the network has one, the Altruon Vault replaces the stored card details before the next renewal. The vault token does not change, and neither does the subscription or the record on your billing platform.
It applies to Visa and Mastercard cards in the Altruon Vault. Other brands are not checked.
Turn on the Altruon Vault first
Account updater only works on cards stored in the Altruon Vault. The Altruon Vault must be turned on for your account before you can use it. Ask your Altruon account manager or write to support@altruon.io. See Turn on the Altruon Vault.
Why it is separate from a network token
A network token stays valid when the plastic changes, because the card network updates the mapping behind the token. A charge that still uses the card number needs the stored number and expiry themselves to change. That is what account updater does.
Real time does not check a card that already has an active network token. The network keeps that token current, so a second check would not change what the renewal sends.
How a check runs
- Stored cardCard is dueA Visa or Mastercard card in the vault is selected for a check.
- Card networkNetwork askedVisa or Mastercard reports a new number, a new expiry, or nothing newer.
- Altruon VaultStored card updatedThe vault token and the subscription stay the same.
- RenewalChargedThe next renewal uses the fresh details.
The Strategy on Settings > Vault, Account updater tab, decides which cards are checked:
| Strategy | What Altruon does |
|---|---|
| Never | No card is checked. |
| Real time | Altruon checks every card that is about to expire, starting 45 days before the end of its expiry month. You can also ask for one card with the call below. |
| On demand | Nothing runs in the background. Your server asks for a check of one card. |
A card checked in the last 24 hours is not sent to the network again. The call returns the stored result.
The Last 30 days counters are Cards checked, Updated (a new number or expiry came back), No update (the network had nothing newer) and Needs attention (the account is closed, or the network says to contact the shopper).
Check one card
POST /api/session/v1/payment-source/{paymentSourceId}/account-update
x-secret-key: sk_sandbox_...Call it from your server with your secret key. {paymentSourceId} is the id of the stored card. A successful response includes outcome, result_code, checked_at, the current card (brand, last four, expiry month and year) and previous when the card changed.
| Status | Meaning |
|---|---|
| 401 | The secret key is missing or not valid for this account. |
| 404 | No stored card with that id on this account. |
| 409 | Account updater is off, the card is not eligible, or a check of this card is already running. |
| 429 | The account has reached its daily check limit. |
| 502 | The network did not answer. The card was not changed. Repeat the call. |
Before you start
- The Altruon Vault turned onWithout it, there is no Settings > Vault page and no stored card can be checked. See Turn on the Altruon Vault.
- Account updater turned on by AltruonThe Account updater tab stays unavailable until Altruon turns the feature on. Write to support@altruon.io to ask for it.
- Three identifiers from your acquirerVisa acquirer BIN, Visa card acceptor ID (CAID) and Mastercard merchant ID (MID). Ask your acquirer, or the gateway you process through, such as Stripe, Adyen or Checkout.com. They must match that acquirer's records.
Turn account updater on
Open Vault
Go to Settings > Vault. If Account updater says it appears once Altruon has turned it on, the steps below are not available yet.
The Overview tab lists what is still to do: the business profile, the acquirer identifiers and card network onboarding.
Save the business profile
Open Business profile. This is the legal entity registered with Visa and Mastercard, and it is the same profile network tokens use.
Fill in Business, Registration, Contact and Address. A star marks a required field. Click Save business profile.
Save the acquirer identifiers
Open Account updater. Under Acquirer identifiers, enter the Visa acquirer BIN, the Visa card acceptor ID (CAID) and the Mastercard merchant ID (MID).
If you use several acquirers, enter the identifiers from the one that handles most of your volume. Click Save identifiers.
A network that is already submitted keeps its identifiers. The other network can still be saved. To change a submitted identifier, write to support@altruon.io.
Choose a strategy
Under Strategy, choose Never, Real time or On demand, then click Save strategy.
Real time and On demand stay blocked until the business profile is saved. The message is Save the business profile first.
Submit to Visa and Mastercard
Click Submit to Visa and Mastercard, then Confirm. The button stays disabled until the business profile and the acquirer identifiers are saved. If you have unsaved identifier edits, save them first.
The profile and the identifiers are sent to both networks. After you confirm, the business details and the identifiers of a submitted network are locked. Later changes go through support@altruon.io.
Wait until each network is active
Visa and Mastercard are each Not submitted, Onboarding, Active or Failed. Click Refresh status to update the list.
Checks start when that network is Active. Until then, no card is checked, whatever the strategy. If the page says account updater is paused, Altruon rejected the configuration: check the identifiers and submit again.
See that it worked
On Real time, the Cards checked counter moves as cards enter the 45-day window. On On demand, call the endpoint above for one stored card and read outcome. Updated means a new number or expiry was stored. The subscription id does not change.