Test Card Generator
TestCardGeneratorTest Card Generator: Test Card Generator creates card numbers that pass format and checksum validation, for testing checkout forms and payment UIs across major networks. They aren't real cards: no bank issued them, and they can't be charged or used to buy anything. Specify a brand to receive card numbers, security codes, expiration dates, issuers, and masked strings. (Cost: 1 credit)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "TestCardGenerator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | The brand of the card to generate | visa |
| count | No | The number of test card numbers to generate | |
| gateway | No | Return this payment gateway's documented test cards instead of generated numbers. They trigger a known outcome in the gateway's test mode | |
| scenario | No | With gateway: the outcome to test, such as success, declined, insufficient_funds, expired_card, incorrect_cvc, fraud or 3ds_required (Stripe). Decline scenarios are mostly Visa cards, so the brand is ignored when the gateway has none for it | success |
| includeAvatar | No | Include an AI-generated face avatar for the card owner |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |