Fix api checkouts