RickardPettersson / swish-api-csharp

Swish For Merchant API Client .Net Standard Library
MIT License
28 stars 13 forks source link

Possibility to return payload from MakePayoutRequest? #17

Closed ludvigbartholdsson closed 1 year ago

ludvigbartholdsson commented 1 year ago

In production environments, for easier debugging or investigation of transaction, you usually want to store the request sent to the payment/payout-provider.

Is it possible to return Payload as a parameter here? https://github.com/RickardPettersson/swish-api-csharp/blob/7d644e6cd4a33ea785b9bdf1b9d480bd80eb25e4/SwishApi/PayoutClient.cs#L148

RickardPettersson commented 1 year ago

ok, should be possible, comming back when i updated the code.

RickardPettersson commented 1 year ago

Latest code now have Payout in the response of the make payout function in the payout client. Nuget is not updated, comming some day.