If you closed the screen after purchasing a gift card, you can restore the link on iOS.
To do this:
Open the gift card purchase screen again
Tap Restore in the top-right corner of the screen
Your most recently purchased gift card will appear again
You’ll then be able to copy the link and send it to the recipient.