v1

latestOpenAPI 3.0.32026-07-2488203535.0 KB
Processors and Services

Card Type Lookup

❗️ Never Use Real API Keys

Never use real API Keys when testing. The gateway allows Partners to create Test Merchant Accounts. Testing should always use keys from the Test Accounts and never keys from a Standard Account.

<summary>Usage</summary> This endpoint will return whether the card is a `debit`, `credit`, or `charge` card. A card may return `unknown` if we can't recognize the card type provided. Or it may return `unavailable` if the service is offline.
post/v4/card_type

Headers

Content-Typestring required

The Content-Type representation header is used to indicate the original media type of the resource (prior to any content encoding applied for sending).

Authorizationstring required

Your v4 API key that was generated in the Partner portal.

Request body

ccnumber'510840' | '543267' | '453978' | '454634' | '341382' required

Credit card Issuer Identification Number (IIN).

<details> <summary>Allowed Card Numbers:</summary>
Card TypeTest Card IIN
Mastercard Debit510840
Mastercard Credit543267
Visa Debit453978
Visa Credit454634
American Express Unknown341382
</details>

Response

Success

result'debit' | 'credit' | 'prepaid' | 'charge' | 'deferred_debit'

The card type associated with the credit card IIN sent in the request. Will return unknown if type can't be determined or unavailable if the service is offline.