const response = await fetch('https://service.pcibooking.net/api/payments/paycard/supportedCards');
const cards = await response.json();
console.log(cards);
import requests
response = requests.get(
'https://service.pcibooking.net/api/payments/paycard/supportedCards'
)
cards = response.json()
print(cards)
[
"AMEX",
"BC",
"CartaSi",
"Dankort",
"Delta",
"DinersClub",
"Discover",
"Electron",
"Elo",
"Hipercard",
"JCB",
"Maestro",
"MasterCard",
"MC_Alaska",
"MC_Canada",
"Switch",
"Troy",
"UATP",
"UnionPay",
"Visa",
"enRoute"
]
Authentication & General
Get Supported Credit Cards
Retrieve the list of supported credit card type codes.
GET
/
api
/
payments
/
paycard
/
supportedCards
const response = await fetch('https://service.pcibooking.net/api/payments/paycard/supportedCards');
const cards = await response.json();
console.log(cards);
import requests
response = requests.get(
'https://service.pcibooking.net/api/payments/paycard/supportedCards'
)
cards = response.json()
print(cards)
[
"AMEX",
"BC",
"CartaSi",
"Dankort",
"Delta",
"DinersClub",
"Discover",
"Electron",
"Elo",
"Hipercard",
"JCB",
"Maestro",
"MasterCard",
"MC_Alaska",
"MC_Canada",
"Switch",
"Troy",
"UATP",
"UnionPay",
"Visa",
"enRoute"
]
For the full list of card brands with their codes, see the Supported Card Types reference page.
This method returns the list of supported credit card type codes. You can use this to validate or filter card types in your integration.
Authentication: Not required (public endpoint). This endpoint has no error responses.
const response = await fetch('https://service.pcibooking.net/api/payments/paycard/supportedCards');
const cards = await response.json();
console.log(cards);
import requests
response = requests.get(
'https://service.pcibooking.net/api/payments/paycard/supportedCards'
)
cards = response.json()
print(cards)
Response
Returns an alphabetically sorted JSON array of card type code strings. See Supported Card Types for what each code represents.[
"AMEX",
"BC",
"CartaSi",
"Dankort",
"Delta",
"DinersClub",
"Discover",
"Electron",
"Elo",
"Hipercard",
"JCB",
"Maestro",
"MasterCard",
"MC_Alaska",
"MC_Canada",
"Switch",
"Troy",
"UATP",
"UnionPay",
"Visa",
"enRoute"
]

