Verify a Card

This endpoint validates credit cards and returns a response of either 'Valid' or 'Invalid.' It's intended for those who want to save cards for recurring payments. By validating the card, merchants can ensure that they only save valid cards. Additionally, the merchant can save the card in a single step by passing 'save_card = true'. There are three possible responses: INITIATED: Tap provides a payment URL (transaction.url) to initiate verification. The customer should be redirected to this URL to complete the verification; VALID: The card is valid; INVALID: The card is invalid.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
Defaults to KWD

Validate Currency Code, Three digit ISO curreny code (Sample - KWD, USD..)

boolean
Defaults to true

The 3D Secure request status for a card verification, values can be one of (true or false) default

boolean
Defaults to false

Payer can save the credit for future purpose. Customer phone number is required to save the card, values can be one of (true or false)

metadata
object

Set of key/value pairs that you can attach to an object. It can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

customer
object
required
source
object
required

The Token ID of the card being verified.

redirect
object
post
object
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json