Prepaid 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
/IntegrationDigitalChannelPrepaid/prepaid/api/getCardTypeByBin
Gets the card type by BIN for a prepaid card.
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