List the available enrollment methods given a card BIN

List the available enrollment methods given a card BIN.

The Unified Enrollment SDK v2 calls this endpoint for each card: when a person presses Continue on the card number screen, with the first 8 to 11 digits they typed (8 by default), and on an employee page that opens on the card form, once 8 digits are typed there. It sends the session's subaccountId with the digits, and asks again with the digits alone when that answers 400 or 403. It routes the session from the answer together with GET /bin-lookup. The SDK token therefore needs enrollment-methods:write. If your own backend calls it, send up to 11 digits for the most precise answer.

Send subaccountId to ask whether that subaccount can enroll this card one at a time with POST /card-subscriptions. The response then adds singleDecision, from the single-enrollment controls that create runs for the subaccount, and singleEligible and availableEnrollmentMethods follow it. Create also checks the country sent with the card; this request has no country, so singleDecision does not cover that check. Without subaccountId, the response is about the card alone and no subaccount is read.

When Mastercard's live card data is temporarily unavailable, the response falls back to Astrada's stored card data instead of failing, and binInfo comes from that stored data. bulkLikelihood is then capped at medium, except for BINs with proven bulk history, which stay proven, so network-bulk is then offered only for those proven BINs. When nothing decides the grade, bulkLikelihood is omitted and unavailable lists it; singleEligible is then true and availableEnrollmentMethods is ["cardholder-single"], unless singleDecision refuses the card. Retry later for a full answer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Enrollment methods payload

string
required
^\d{6,11}$

The card's Bank Identification Number (BIN), consisting of the first 6 to 11 digits of the card number. Providing more digits yields more precise results: for example, two cards that share the same 6-digit BIN may support different enrollment methods. Send as many digits as you have, up to 11. For Mastercard, 8 digits or fewer can match several card ranges; when those ranges disagree, bulkLikelihood is capped at medium (a proven BIN keeps proven), and at medium a Mastercard card is not offered network-bulk.

uuid

The subaccount the card would enroll under. With it, the response adds singleDecision when the subaccount's controls can be run. It must be one of your account's subaccounts, otherwise the request gets 400. With an enrollment link session's token it must be the session's own subaccount, otherwise the request gets 403.

Headers
string
enum
Defaults to application/hal+json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/hal+json
application/problem+json