laravel - 获取条纹信用卡图像/图标 url api?

标签 laravel vue.js laravel-5 payment

是否有任何 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/

相关文章:

php - 如何将此 MySQL 查询转换为等效的 Laravel 5.4 Elequent/查询生成器查询?

php - Laravel 5.3 表单验证 - 我如何验证选择框?

javascript - MethodNotAllowedHttpException 错误 Laravel

MySQL/Laravel/Vue - 单个表单输入可以将多个值提交到多个列吗?

laravel - 本地主机上的访问控制允许来源(Laravel 和 Vue)CORS CORB 错误

javascript - 我如何让 Vue Router beforeLeave 开火?

Laravel 5 无限滚动 + 分页

php - 在启用 opcache 之前找不到 Laravel PHP5.6 类

php - 使用修改后的主键更新条目时,Laravel 5.5 方法保存不存在

php - Laravel 5 错误 SQLSTATE[HY000] [1045] 拒绝用户 'forge' @'localhost' 访问(使用密码 : NO)