Skip to content

Credit Card

The Credit Card transformer produces a random Credit Card number between the length of 12 to 16. It can be used to either replace existing values or mock new ones.

Alternation

This transformer will not mutate existing row value, it will generate a new value.

Valid Data Types
  • String
  • Number

Default

Since credit card transformer has no options it’ll end up generating credit numbers as normally.

Examples

Column value: "xyz"

skifta.toml
[[table.columns]]
name = "column-example"
transformer = "credit-card"

Result: '5596233915269233'


Column value: 1

skifta.toml
[[table.columns]]
name = "column-example"
transformer = "credit-card"

Result: 376906467551085