Skip to main content

Can I recognize the card scheme after the customer enters the first few digits?

Yes. You can do this using Flow

Flow sends real-time card metadata events, which you can integrate to customize your payment process.

Flow exposes the onCardBinChanged callback, which returns a CardMetadataResponse object. This object contains the Card Metadata lookup response.

For example, you can use onCardBinChanged to inspect the card metadata scheme result, and apply any logic you want to the payment process. 

You can then use the handleSubmit callback to modify your payment session.

See Get started with Flow and Inspect tokenization and card update events for more information.

 

 

Was this article helpful?
Share
Copy Link Share via email

Articles in this section