Midtrans / midtrans-go

This is the Official Go API client/library for Midtrans Payment API. More information about the product and see documentation at http://docs.midtrans.com for more technical details
https://pkg.go.dev/github.com/midtrans/midtrans-go
MIT License
93 stars 25 forks source link

update PaymentAccountResponse to correct api response structure #19

Closed hardyrarso closed 2 years ago

hardyrarso commented 2 years ago

Update the Action field of PaymentAccountResponse to Actions, a slice of Action. This is what is correctly returned in the Midtrans API when creating a pay account

see: https://api-docs.midtrans.com/#create-pay-account

Xaxxis commented 2 years ago

Look good, passed on the unit test. Will merge and make a release. Thanks @hardyrarso