API SDK Documentação - Auth
import { Malga } from "malga"; const malga = new Malga({ apiKey: "17a64c8f-a387-4682-bdd8-d280493715e0", clientId: "d1d2b51a-0446-432a-b055-034518c2660e", }); await malga.auth.createPublicKey({ scope: ["tokens"], expires: 60, });
{ publicKey: 'd6452548-70f3-4721-9090-5320a7e19776', createdAt: '2023-12-31T14:12:37.735Z', clientId: 'd1d2b51a-0446-432a-b055-034518c2660e', expires: 60, scope: ['tokens'], }
customers
cards
tokens
charges
webhooks
sessions
auth
reports
flows
sellers
Was this page helpful?