PaystackOSS / paystack-node

Paystack API Node Client Library
MIT License
9 stars 2 forks source link

Support label property for Inititialize Transaction #8

Open kane-mason opened 11 months ago

kane-mason commented 11 months ago

Type of change

What issue does this change solve?

When initializing a transaction, the api endpoint supports sending label but it is not exposed via this SDK.

Additional context

This is useful for people like myself who want to initialize transaction on the server, and complete it with Paystack Pop, but want the label to appear and not the email on the pop up. Since the email is not guaranteed to make sense to the customer if they do not have one captured and the email shown was generated.