Skip to content

Add card product keys, and define the subbrand as an acceptance brand - #273

Merged
TomK merged 1 commit into
masterfrom
card-product-keys
Nov 1, 2026
Merged

TomK merged 1 commit into
masterfrom
card-product-keys

Conversation

@TomK

@TomK TomK commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

A card's tier (Classic, Gold, Platinum, World Elite) had nowhere to go but card_subbrand, which legacy bin data and the wallet tokenizers filled with it; card_subbrand now means an acceptance brand within the card's brand (#272).

  • New selector keys: method.info.card.product (the product name, e.g. WORLD ELITE) and method.info.card.product.code (the brand's product code, e.g. MWE), with info keys card_product and card_product_code.
  • card_subbrand / CardSubbrand: documented as an acceptance brand (Maestro, Cirrus, Visa Electron, V PAY): a mark a merchant can accept or decline apart from the brand. Tiers are the product.

Test plan

  • go build ./... and go test ./... pass.

🤖 Generated with Claude Code

A card's product within its brand (its tier, e.g. World Elite, Platinum)
is method.info.card.product by name and method.info.card.product.code by
the brand's code. card_subbrand holds a CardSubbrand: an acceptance
brand within the card's brand (Maestro, Cirrus, Visa Electron, V PAY),
which tiers are not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@TomK
TomK merged commit a17a0d5 into master Nov 1, 2026
1 check passed
@TomK
TomK deleted the card-product-keys branch November 1, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant