import CheckoutIntents from 'checkout-intents';
const client = new CheckoutIntents({
apiKey: 'My API Key',
});
// Automatically fetches more pages as needed.
for await (const checkoutIntent of client.checkoutIntents.list()) {
console.log(checkoutIntent);
}
Enables developers to query checkout intents associated with their account, with filters and cursor-based pagination.
GET
/
api
/
v1
/
checkout-intents
JavaScript
Copy
Ask AI
import CheckoutIntents from 'checkout-intents';
const client = new CheckoutIntents({
apiKey: 'My API Key',
});
// Automatically fetches more pages as needed.
for await (const checkoutIntent of client.checkoutIntents.list()) {
console.log(checkoutIntent);
}