API SDK Documentação - Customers
import { Malga } from 'malga' const malga = new Malga({ apiKey: '17a64c8f-a387-4682-bdd8-d280493715e0', clientId: 'd1d2b51a-0446-432a-b055-034518c2660e', }) await malga.customers.cards('2c48166b-51fe-4d8d-a450-1385df8a95b9')
[ { id: '290d6f2e-7860-4722-b461-fcc9c27a7ca6', status: 'active', createdAt: '2023-12-31T03:00:00.000Z', clientId: '9c80a722-30dd-4bc1-9270-20d505671d1a', customerId: '2c48166b-51fe-4d8d-a450-1385df8a95b9', brand: 'Mastercard', cardHolderName: 'João da Silva', cvvChecked: true, fingerprint: '/cddsad2sgTXxfNhdsadasdas2QSLsJ/dsadsadcxc=', first6digits: '545388', last4digits: '7600', expirationMonth: '10', expirationYear: '2030', } ]
Was this page helpful?