Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

GetPayoutsSummary uses wrong API endpoint #19

Closed
thoemy opened this issue Jan 21, 2019 · 3 comments
Closed

GetPayoutsSummary uses wrong API endpoint #19

thoemy opened this issue Jan 21, 2019 · 3 comments
Assignees

Comments

@thoemy
Copy link

thoemy commented Jan 21, 2019

Calling GetPayoutsSummary makes a request to https://api.klarna.com/settlements/v1/payouts instead of https://api.klarna.com/settlements/v1/payouts/summary.

Line 38 in SettlementStore:

var url = ApiUrlHelper.GetApiUrlForController(ApiSession.ApiUrl, ApiControllerUri, null, nvm);

should probably replaced by

var url = ApiUrlHelper.GetApiUrlForController(ApiSession.ApiUrl, ApiControllerUri, "summary", nvm);
@alexions
Copy link
Contributor

alexions commented Mar 5, 2019

ac9096c

Fixed.

@alexions
Copy link
Contributor

alexions commented Mar 5, 2019

The change will be available in the next release.

@alexions alexions self-assigned this Mar 5, 2019
@alexions
Copy link
Contributor

alexions commented Mar 6, 2019

v3.1.0 released!

@alexions alexions closed this as completed Mar 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants