Why the sandbox answers 403 when the card number is not one of the published test cards, and where to find the test card list.
Description
In the sandbox environment, POST /card-subscriptions answers 403 when the card number is not one of the published Astrada test cards. The full card number must match a test card exactly. Astrada checks this before it reads the card's BIN data or makes any network call. The production API never returns this code.
{
"detail": "This card is not a sandbox test card. In the sandbox environment, only published Astrada test cards can be enrolled. Use a card from the sandbox test-card list: https://docs.astrada.co/docs/sandbox-testing",
"title": "Card cannot be enrolled",
"type": "https://docs.astrada.co/reference/errors-sandbox_card_not_allowed",
"errorCode": "card_subscription.sandbox_card_not_allowed"
}How to solve
Enroll a card from the sandbox test-card list. Never send a real card number to the sandbox environment.
