Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
Cancels a payment that has not yet been captured. See the documentation
Captures an authorized payment. This is typically used for delayed capture scenarios, such as when you need to verify the order before capturing the funds.
Submits additional details for a payment. See the documentation
import adyen from "@adyen/api-library";
export default defineComponent({
props: {
adyen: {
type: "app",
app: "adyen",
}
},
async run({steps, $}) {
const client = new adyen.Client({
apiKey: this.adyen.$auth.api_key,
environment: this.adyen.$auth.environment
});
const managementApi = new adyen.ManagementAPI(client);
return managementApi.MyAPICredentialApi.getApiCredentialDetails();
},
});