x

Square Payment Form Getting Card Type Prepaid/Debit/Credit

Im interested in getting additional card information when the Square payment form callback is executed. The callback is cardNonceResponseReceived, and according to the documentation it has these fields:

  • card_brand: an enum value indicating the brand of the credit card used:
  • last_4: the last 4 digits of the card number
  • exp_month: the 2-digit month of the expiration date
  • exp_year: the 4-digit year of the expiration date
  • billing_postal_code: the postal code provided, or null if postal code is disabled.
  • digital_wallet_type: an enum value indicating the type of digital wallet that contains the credit card

What I want is an indication of whether the card is prepaid.

Documentation of Square for callback

Documentation of Stripe which has this field on callback

 

Is it possible to get this information in any other way? Is there a dedicated place for questions like this? 

 

Thanks

 

669 Views
Message 1 of 3
Report
2 REPLIES 2
Admin

Hey @joesh. At this time we don't surface if a card is prepaid or not. I'll let the team know that this is information you'd like to have! In the meantime if you have additional quesitons you could join the Square Developers Slack Workspace

️ Helen
Seller Community Manager

Did you find help in the Seller Community? Mark a Best Answer to help others.
641 Views
Message 2 of 3
Report

Thanks @Helen ! I think this information would be valuable to developers and would eliminate security risks (binlist client side verification) if handled by square securely.

631 Views
Message 3 of 3
Report