Skip to main content

Card validation based on the Zero Auth method

POST 

/cards/verification

The purpose of this endpoint is to validate the authenticity of a credit card provided by the cardholder. A valid card is one that is not canceled, blocked or subject to restrictions. This verification ensures the integrity of the card, contributing to secure and hassle-free transactions.

Request​

Header Parameters

    caller-origin string

    Include the 'caller-origin' property as a string in the header of REST requests only if the application is an e-commerce platform, otherwise, don't include it.

Body

required

    cardType stringrequired

    Possible values: [CREDIT]

    cardNumber stringrequired

    Possible values: >= 13 characters and <= 16 characters, Value must match regular expression ^\d+$

    cvv stringrequired

    Possible values: >= 3 characters and <= 4 characters, Value must match regular expression ^\d+$

    cardholderDocument String (string)required

    Possible values: Value must match regular expression ^\d{11}$|^\d{14}$|^[A-Z0-9]{8,9}$

    expirationMonth int32required

    Possible values: >= 1 and <= 12

    expirationYear int32required

    Accepted year ranges are between current year and current year +19

    temporaryCardToken string

    One time token generated by our SDK on seller's front-end to be used in the transaction. It's useful to avoid sending card data to the seller's backend. When using this field, the card data is not necessary.

Responses​

OK

Schema

    authorization string
    nsu string
    acquirerErrorCode string
    acquirerErrorMessage string
    isValid boolean
    cardId string
Loading...