How to retrieve payment status information and update the database using checkoutAPI

After creating a link you can listen to order.updated and payment.created and payment.updated webhook events. Also when a customer pays a generated link they are redirected to either your configured redirect_url or out redirect page and we append the order_id in the URL. You can pull that order_id to update your database. :slightly_smiling_face: