{"uid":"cap_so9i7H5yjN8euf-9N_eSO","slug":"payment-card-numbers-generator-976a322c","name":"Payment Card Numbers Generator","description":"Generate a random Luhn-valid TEST card number for the given network (default Visa). For testing only — these are not issued cards and cannot be charged. The response is always flagged `test:true`.","url":"https://creditcard.openverbs.com/v1/generate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"length":{"type":"integer","maximum":19,"minimum":12,"description":"Number length; must be valid for the network."},"network":{"enum":["Visa","Mastercard","American Express","Discover","Diners Club","JCB","UnionPay"],"type":"string","description":"Card network. Default Visa."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_blFHZ-PAPPNxflESuMSq8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates syntactically valid payment card numbers for a specified card network and length","exampleAgentPrompt":"Generate a synthetic 16-digit Visa card number I can use for payment integration testing.","exampleUseCases":[{"title":"Payment integration testing suite","prompt":"Generate a valid-format 16-digit Mastercard number I can use to test our checkout flow in the staging environment."},{"title":"American Express QA validation","prompt":"I need a synthetic American Express card number — those are 15 digits — to test how our form handles Amex's different length and format."},{"title":"Multi-network card format testing","prompt":"Can you generate a Discover card number for me so I can verify our payment processor handles all the major networks correctly?"}],"resultDescription":"Returns a synthetically generated payment card number that is valid in format (passes Luhn algorithm) for the specified card network and length, suitable for testing purposes but not a real funded account.","failureModes":["Invalid length for chosen network (e.g. requesting 15 digits for Visa) returns validation error","Unsupported network name returns enum validation error","Missing required fields returns 400-level error","Service unavailable returns 5xx error","Payment of 0.002 USDC not completed returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need syntactically valid, format-correct card numbers for payment system testing, QA, or integration validation — especially when you need numbers for a specific card network (Visa, Mastercard, Amex, Discover, Diners Club, JCB, or UnionPay) or a specific length. Prefer this over hardcoded test card lists when you need dynamic generation or network-specific numbers on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:34:21.849Z","isFirstParty":false}