The easiest way to get Amazon e-gift cards in Nigeria or Ghana is through NOSH.
On the app or web app go to Buy Gift Cards, pick the Country of the e-gift card (e.g., United States), choose the brand of the e-gift card (i.e Amazon), enter the amount, quantity and complete your purchase. You will receive the e-gift card immediately.