Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/mod.ts>Avatars#getCreditCard

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Avatars.prototype.getCreditCard
Re-export
import { Avatars } from "https://deno.land/x/appwrite@0.0.2/mod.ts";

Get Credit Card Icon

Need to display your users with your billing method or their payment methods? The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.

Parameters

code: string

code

optional
width: number = [UNSUPPORTED]

width

optional
height: number = [UNSUPPORTED]

height

optional
quality: number = [UNSUPPORTED]

quality

Returns

Promise<string>

Promise