If receive an error "Authorization Denied", check policy in Access Management.
const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
const paymentMethods = await resources.paymentMethods.list();
console.log(paymentMethods); // { card: { name: 'My Card', brand: 'Visa', last4: '1234', ... } }
Description
Creates a new payment method for the current account using the provided payment information.
See