id against that purchase, and send the payer to the hosted checkout.
Request
Response
201 Created with the link. Its id is what you keep.
Send the payer to checkout
Match payments to your orders
Each webhook carriespaymentLinkId and orderId. Store the link id with your purchase when you create it, then look the purchase up by paymentLinkId when a webhook arrives. One link can produce several orders (a payer who lets a quote expire and starts again gets a new one), so key your fulfilment on the first order.settled or order.overpaid per link.