The subaccount does not support the card's country of issuance

Why enrolling a card answers 403 when its country of issuance is not allowed on the subaccount, and how to add the country.

Description

POST /card-subscriptions answers 403 because the card's country of issuance is not in the subaccount's countries for the card's network (configurations.<NETWORK>.single-enrollment). Astrada checks the country you send in the request. When enforceIssuerCountry is true on the subaccount, Astrada also checks the issuer country in the card's BIN data, and refuses the card when the BIN data has no issuer country. detail names the country as an ISO 3166-1 alpha-3 code.

{
  "detail": "The card country of issuance (CHN) is not supported",
  "title": "Forbidden",
  "type": "https://docs.astrada.co/reference/errors-subaccount_blocking_card_country",
  "errorCode": "card_subscription.subaccount_blocking_card_country"
}

When the BIN data has no issuer country, detail is The card country of issuance could not be determined.

How to solve

Check that country is the country that issued the card. Enroll a card issued in a country the subaccount allows, or add the country to the subaccount's countries with PATCH /subaccounts/{subaccountId}, within the countries your account is contracted for. If detail says the country could not be determined, contact Astrada with the card's first six digits and the time.