Tilopay.getCardType()
SDK v2Returns the card brand from the number the customer already typed into tlpy_cc_number. The
typical use is showing the brand icon while the customer types.
Signature#
await Tilopay.getCardType()It takes no parameters.
Precondition: the customer must have already typed the card number.
Call#
const type = await Tilopay.getCardType();Response#
{
"message": "visa"
}The card brand.
Supported brands#
VISA · MASTERCARD · AMEX
Use the result for presentation only: brand validation happens when Tilopay processes the charge, not in this method.
Last verified: 2026-08-28 · Owner: equipo-integraciones