Why enrolling a card answers 403 when its funding type (credit, debit or prepaid) is blocked on the subaccount, and how to unblock it.
Description
POST /card-subscriptions answers 403 because the card's funding type is in the subaccount's blockedFundingCardTypes for the card's network (configurations.<NETWORK>.single-enrollment). The account's default blocked funding types are always part of that list. detail names the funding type from the BIN data: CREDIT, DEBIT or PREPAID.
{
"detail": "This card funding type is not supported (DEBIT card)",
"title": "Forbidden",
"type": "https://docs.astrada.co/reference/errors-subaccount_blocking_card_funding_type",
"errorCode": "card_subscription.subaccount_blocking_card_funding_type"
}How to solve
Enroll a card with a funding type the subaccount allows, or remove the funding type from the subaccount's blockedFundingCardTypes with PATCH /subaccounts/{subaccountId}. A funding type in the account's defaults cannot be removed at the subaccount.
