The card network is not supported

Why POST /enrollment-methods answers 400 when the BIN belongs to a card network Astrada does not enroll, such as Discover.

Description

The BIN sent to POST /enrollment-methods belongs to a card network Astrada does not enroll. Astrada enrolls Visa, Mastercard and American Express cards; a BIN of any other network, such as Discover, cannot be enrolled by any method. The answer is the same with or without subaccountId.

POST /enrollment-methods answers 400:

{
  "detail": "The card network of this BIN is not supported",
  "title": "Bad Request",
  "type": "https://docs.astrada.co/reference/errors-card_network_not_supported",
  "errorCode": "card_subscription.card_network_not_supported"
}

How to solve

Enroll a Visa, Mastercard or American Express card instead. Check that bin holds the first digits of the card number as typed: no card number starts with 0, and a bin that starts with 0 gets 400 from request validation.