Skip to main content

Can I modify my payment request based on the card metadata?

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 onTokenized callback, which returns a CardMetadataResponse object.  This object contains the Card Metadata lookup response.

For example, you can use onTokenized to capture the card metadata bin result, and pass this new card number to a third-party risk tool to conduct pre-payment risk checks.

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