@bates-solutions/squareup API Reference - v3.2.0
    Preparing search index...

    Class CheckoutService

    Checkout service for Square Checkout API

    const square = createSquareClient({ ... });

    // Create a payment link
    const link = await square.checkout.paymentLinks.create({
    quickPay: {
    name: 'Auto Detailing',
    priceMoney: { amount: BigInt(5000), currency: 'USD' },
    locationId: 'LXXX',
    },
    checkoutOptions: {
    redirectUrl: 'https://example.com/confirmation',
    askForShippingAddress: true,
    },
    prePopulatedData: {
    buyerEmail: 'customer@example.com',
    },
    });

    console.log('Checkout URL:', link.url);
    Index
    paymentLinks: PaymentLinksService