Debit Digital Channels Integration
stringstring · maxLength: 8 · optionalinteger · enum · int32 · required
Reference data
Look up the reference data a card programme is configured against — products, codes and parameters.
getCardTypeByBin
POST
https://sandboxpub.cms.dgpays.com/SandBox
/IntegrationDigitalChannelDebit/debit/api/getCardTypeByBin
Determines the card type based on the provided BIN. Checks the cached BIN definitions and maps the CardType to a CardDomainType. Returns a GetCardTypeByBinResponse containing the CardType.
Headers
evrst-ptrnidCorrelation id for this request. Echo it in your own logs to trace the call through the platform.
Default: x_request_id
getCardTypeByBin › Request Body
binThe bank identification number — the leading digits of the card number that name the issuer and the product range.
getCardTypeByBin › Responses
Success
cardTypeWhich kind of card, as the one-letter code the account type carries: C credit, D debit, P prepaid. — 0 None, 1 Credit, 2 Debit, 3 Prepaid
Enum values:
0
1
2
3