Test Data
Payment test card API
Return clearly labeled payment processor test card values for sandbox development.
Price$0.01per request
MethodGET
Route/v1/faker/test-card
StatusLive
MIME typeapplication/json
Rate limit180/minute
CacheNo cache
test-datapaymentscard
API URL
Integration docshttps://x402.hexl.dev/v1/faker/test-cardExample request
{
"brand": "visa"
}Example response
{
"brand": "visa",
"number": "4242424242424242",
"expiry": "12/34",
"cvc": "123",
"note": "Test card only. Not real payment credentials.",
"provider": "payment-test-fixtures"
}Input schema
{
"type": "object",
"properties": {
"brand": {
"type": "string",
"enum": [
"visa",
"mastercard",
"amex"
],
"default": "visa"
}
}
}Output schema
{
"type": "object",
"required": [
"brand",
"number",
"expiry",
"cvc",
"note",
"provider"
],
"properties": {
"brand": {
"type": "string"
},
"number": {
"type": "string"
},
"expiry": {
"type": "string"
},
"cvc": {
"type": "string"
},
"note": {
"type": "string"
},
"provider": {
"type": "string"
}
}
}