Discount codes for thank you page

Hi,
I am creating a extension for thank you page ,


I used useApi();
and useDiscountCodes();
scope permission “read_discounts”
result: Array(0)
can you help me anyone ?
Thanks
zoynul

From Partner Discussions to Extensions

Added checkout-ui-extensio and removed app-store