card_agent_card_number: A card number was sent
The request carried a value shaped like a card number (13 to 19 digits that pass the Luhn check). Card numbers never enter this deployment: the value was not stored, logged, echoed or forwarded, and nothing was authorized.
What to do
- Send the program's token reference instead: the Mastercard Agent Pay
tokenRef, or the Visa Intelligent CommerceinstructionId.
On the wire
HTTP 400, error type invalid_request_error. Every client gets errorDetail, with or without Dynamo-Error-Detail: 1. On the multi-tenant hosted tier the card agent funding route (POST /owner/v1/card-agent-programs/fundings) needs Dynamo-Version 1.8.0 or later: the front door answers a request served at an earlier version with HTTP 404 version_unavailable before the core sees it, and serves a request that names no version at the account's default (1.8.0 for new accounts). A single-tenant core answers whatever version the request names.
{
"error": "invalid_request",
"detail": "…",
"errorDetail": {
"type": "invalid_request_error",
"code": "card_agent_card_number",
"message": "…",
"param": null,
"doc_url": "…/errors/card_agent_card_number.md",
"fix": "never send a card number; send the program's token reference (Mastercard tokenRef, Visa instructionId)"
}
}
See card agent programs and all error codes.