RickardPettersson / swish-api-csharp

Swish For Merchant API Client .Net Standard Library
MIT License
29 stars 14 forks source link

Add Payout webhook class #18

Closed ludvigbartholdsson closed 2 years ago

ludvigbartholdsson commented 2 years ago

Can't find an interface or class for payout-webhook. Response looks like this with emulator. Can you add it?

image

RickardPettersson commented 2 years ago

The class is named SwishAPi.Models.PayoutRequestData

ludvigbartholdsson commented 2 years ago

Does not include "status"

RickardPettersson commented 2 years ago

there is no status in the Payload? that what you looking at seems like the callback or get status data...

ludvigbartholdsson commented 2 years ago

Yes, that is callback req.

RickardPettersson commented 2 years ago

Sorry i read wrong, its friday :)

Check the model class: SwishApi.Models.CheckPayoutRequestStatusResponse i think that the same as callback get for payout

RickardPettersson commented 2 years ago

I hav enot done anything except do the test console app with Payout yet, its others code i have changed.

ludvigbartholdsson commented 2 years ago

Yes that is great! Thank you very much. Are you able to push the other changes to Nuget? (http client, etc)

RickardPettersson commented 2 years ago

yes, if you dont find anything more right now i can do that :P

ludvigbartholdsson commented 2 years ago

Hmm, we can wait 30 min and I will let you know if I find anything else :)

ludvigbartholdsson commented 2 years ago

So we dont get unneccessary amounts of pushes to nuget