是否有任何 API 来获取信用卡(Visa、Mastercard 等)图标/图像。
$customerCards = \Stripe\Customer::allSources(
$stripe_id,
['object' => 'card', 'limit' => 3]
);
但作为回应,我没有得到任何图标/图像的 URL。
是否有任何特定的 API 来获取该 URL?
最佳答案
基于 Stripe 官方文档
https://support.stripe.com/questions/where-to-find-logos-for-accepted-credit-card-types
If you want to display the logo(s) of accepted types of cards on your website:
You can find official images provided by Mastercard, Discover, American Express, and Visa.
Dreamstale provides a high-quality collection of payment method vector icons that you can use at no cost in personal and commercial projects.
IconShock also provides logos on their website for use.
关于laravel - 获取条纹信用卡图像/图标 url api?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59563357/