Open a785817258 opened 2 months ago
Can you send the trace-id of the request? You can find the trace-id in the header of our response. This will allow me to check the cause more accurately.
@AureliuszBrussy a7fe7bc2eaf189d31
Are you sure this is the correct trace-id? Unfortunately, I can't find it in the logs. Can you send some other examples?
@AureliuszBrussy Allegro trace-id:2e6739e9fbf7d0ac
This is also an incorrect trace-id - from request to GET /marketplaces.
How do I get the trace-id? Isn't it in the header returned by your API?
Allegro Api:/marketplaces Allegro request params:null Allegro trace-id:4ba60fbc84496461 Allegro status:200 response:{"marketplaces":[{"id":"allegro-pl","languages":{"offerCreation":[{"code":"en-US"},{"code":"pl-PL"}],"offerDisplay":[{"code":"en-US"},{"code":"pl-PL"},{"code":"uk-UA"}]},"currencies":{"base":{"code":"PLN"},"additional":[{"code":"EUR"}]},"shippingCountries":[{"code":"AT"},{"code":"BE"},{"code":"BG"},{"code":"CZ"},{"code":"DE"},{"code":"DK"},{"code":"EE"},{"code":"ES"},{"code":"FI"},{"code":"FR"},{"code":"GR"},{"code":"HR"},{"code":"HU"},{"code":"IE"},{"code":"IT"},{"code":"LT"},{"code":"LU"},{"code":"LV"},{"code":"NL"},{"code":"PL"},{"code":"PT"},{"code":"RO"},{"code":"SE"},{"code":"SI"},{"code":"SK"}]},{"id":"allegro-cz","languages":{"offerCreation":[{"code":"cs-CZ"}],"offerDisplay":[{"code":"cs-CZ"}]},"currencies":{"base":{"code":"CZK"},"additional":[]},"shippingCountries":[{"code":"CZ"}]},{"id":"allegro-business-cz","languages":{"offerCreation":[{"code":"cs-CZ"}],"offerDisplay":[{"code":"cs-CZ"}]},"currencies":{"base":{"code":"CZK"},"additional":[]},"shippingCountries":[{"code":"CZ"}]},{"id":"allegro-sk","languages":{"offerCreation":[{"code":"sk-SK"}],"offerDisplay":[{"code":"sk-SK"}]},"currencies":{"base":{"code":"EUR"},"additional":[]},"shippingCountries":[{"code":"SK"}]}]} @AureliuszBrussy
I need the trace-id of this specific request - where you get GET /payments/payment-operations response with those incorrect data. A random trace-id from a request under the wrong endpoint will do nothing for me.
Allegro Api:/payments/payment-operations Allegro request params:{"walletType":"WAITING","currency":"EUR","offset":0,"limit":50,"wallet.type":"WAITING"} Allegro trace-id:a55c23d67c547940 Allegro status:200 response:{"paymentOperations":[{"type":"CONTRIBUTION","group":"INCOME","wallet":{"paymentOperator":"PAYU","type":"WAITING","balance":{"amount":"36.14","currency":"EUR"}},"occurredAt":"2024-07-08T19:58:46.820Z","value":{"amount":"12.83","currency":"EUR"},"marketplaceId":"allegro-sk","payment":{"id":"56b96839-3d64-11ef-8503-8333eeb576e5"},"participant":{"id":"123704171","companyName":null,"login":"Client:123704171","firstName":"Andrej","lastName":"Vajda","address":{"street":"Kyncelove Kracany . / 55","city":"Kostolne Kracany","postCode":"93003"}}},{"type":"CONTRIBUTION","group":"INCOME","wallet":{"paymentOperator":"PAYU","type":"WAITING","balance":{"amount":"208.63","currency":"EUR"}},"occurredAt":"2024-07-19T13:16:21.443Z","value":{"amount":"17.53","currency":"EUR"},"marketplaceId":"allegro-sk","payment":{"id":"f3283fa8-45d0-11ef-90e3-c53c9c812ba8"},"participant":{"id":"124051982","companyName":null,"login":"Client:124051982","firstName":"Marián František","lastName":"Švarba","address":{"street":"Hosťovce 74 / 74","city":"Hosťovce","postCode":"95191"}}},{"type":"CONTRIBUTION","group":"INCOME","wallet":{"paymentOperator":"PAYU","type":"WAITING","balance":{"amount":"248.11","currency":"EUR"}},"occurredAt":"2024-07-20T17:43:39.776Z","value":{"amount":"27.76","currency":"EUR"},"marketplaceId":"allegro-sk","payment":{"id":"5c31f3c5-46bf-11ef-90e3-c53c9c812ba8"},"participant":{"id":"124080350","companyName":null,"login":"Client:124080350","firstName":"Uliana","lastName":"Maslova","address":{"street":"Vajanského 18","city":"Trnava","postCode":"917 01"}}},{"type":"CONTRIBUTION","group":"INCOME","wallet":{"paymentOperator":"PAYU","type":"WAITING","balance":{"amount":"286.04","currency":"EUR"}},"occurredAt":"2024-07-23T09:45:00.259Z","value":{"amount":"37.93","currency":"EUR"},"marketplaceId":"allegro-sk","payment":{"id":"146ae4d2-48d8-11ef-ac67-7f54ae529bf4"},"participant":{"id":"124161511","companyName":null,"login":"Client:124161511","firstName":"Diana","lastName":"Filipp","address":{"street":"Malé Tatry 5 / 5","city":"Ružomberok","postCode":"034 01"}}}],"count":4,"totalCount":4}
@AureliuszBrussy
@a785817258 and that differs from what you see in the tab on the site?
allegro waiting The euro balance does not match the euro balance of the API allegro waiting Euro balance 96.05, the balance of 96.05 was not found in the data returned by the API @AureliuszBrussy
@a785817258 are you sure it is the correct account - same as in the API request? Could you please provide your account login?
@AureliuszBrussy sellerId=112015823
Thank you, I am clarifying this with the team responsible for the balance.
We know what the reason is - the missing amount has already been transferred to the available balance from the waiting balance. We do not list such internal transfers between balances in operations so it will not be visible.
@AureliuszBrussy Will the API be fixed?
It's not exactly a matter of fixing, but adding a possible missing feature, namely the ability to get the current balance (at the moment of request). You can make such a suggestion in the Discussions tab. If we note broader interest in such a feature, we will implement it.
Is there any way to calculate this amount from the get /order/checkout-forms API?
No, there is no way to do it.
Is there any other way? I really need this data.
No, there is no other way I know of.
W tym wątku nie pojawiła się żadna nowa odpowiedź w ciągu 7 dni, dlatego automatycznie oznaczamy go jako przeterminowany. Jeśli w ciągu kolejnych 7 dni nie pojawi się żadna odpowiedź, wątek zostanie zamknięty. Dziękujemy za zaangażowanie w dyskusję i zachęcamy Cię do wypełnienia ankiety dotyczącej naszego wsparcia na forum.
There was no new reply in this thread within 7 days, therefore, we automatically marked it as expired. If no response is received within the next 7 days, this thread will be closed. Thank you for engaging in the discussion. We encourage you to complete our forum support survey.
Allegro Api:/payments/payment-operations Allegro request params:{"currency":"EUR","offset":0,"limit":50,"wallet.type":"WAITING"} Allegro status:200 response:{"paymentOperations":[{"type":"CONTRIBUTION","group":"INCOME","wallet":{"paymentOperator":"PAYU","type":"WAITING","balance":{"amount":"36.14","currency":"EUR"}},"occurredAt":"2024-07-08T19:58:46.820Z","value":{"amount":"12.83","currency":"EUR"},"marketplaceId":"allegro-sk","payment":{"id":"56b96839-3d64-11ef-8503-8333eeb576e5"},"participant":{"id":"123704171","companyName":null,"login":"Client:123704171","firstName":"Andrej","lastName":"Vajda","address":{"street":"Kyncelove Kracany . / 55","city":"Kostolne Kracany","postCode":"93003"}}},{"type":"CONTRIBUTION","group":"INCOME","wallet":{"paymentOperator":"PAYU","type":"WAITING","balance":{"amount":"191.10","currency":"EUR"}},"occurredAt":"2024-07-17T06:41:15.372Z","value":{"amount":"18.63","currency":"EUR"},"marketplaceId":"allegro-sk","payment":{"id":"5c7b50fa-4407-11ef-8b95-91df3ab0ceb7"},"participant":{"id":"123981493","companyName":null,"login":"Client:123981493","firstName":"DOMINIKA","lastName":"ČERVEŇOVÁ","address":{"street":"Dolné Hámer 274 / 274","city":"HODRUŠA-HÁMRE","postCode":"96661"}}},{"type":"CONTRIBUTION","group":"INCOME","wallet":{"paymentOperator":"PAYU","type":"WAITING","balance":{"amount":"208.63","currency":"EUR"}},"occurredAt":"2024-07-19T13:16:21.443Z","value":{"amount":"17.53","currency":"EUR"},"marketplaceId":"allegro-sk","payment":{"id":"f3283fa8-45d0-11ef-90e3-c53c9c812ba8"},"participant":{"id":"124051982","companyName":null,"login":"Client:124051982","firstName":"Marián František","lastName":"Švarba","address":{"street":"Hosťovce 74 / 74","city":"Hosťovce","postCode":"95191"}}},{"type":"CONTRIBUTION","group":"INCOME","wallet":{"paymentOperator":"PAYU","type":"WAITING","balance":{"amount":"220.35","currency":"EUR"}},"occurredAt":"2024-07-20T16:15:52.951Z","value":{"amount":"11.72","currency":"EUR"},"marketplaceId":"allegro-sk","payment":{"id":"1e0eee8a-46b3-11ef-ac67-7f54ae529bf4"},"participant":{"id":"124078435","companyName":null,"login":"Client:124078435","firstName":"Mária","lastName":"Kavčáková","address":{"street":"Námestie oceliarov 532/19 / 47","city":"Košice - Šaca","postCode":"04015"}}},{"type":"CONTRIBUTION","group":"INCOME","wallet":{"paymentOperator":"PAYU","type":"WAITING","balance":{"amount":"248.11","currency":"EUR"}},"occurredAt":"2024-07-20T17:43:39.776Z","value":{"amount":"27.76","currency":"EUR"},"marketplaceId":"allegro-sk","payment":{"id":"5c31f3c5-46bf-11ef-90e3-c53c9c812ba8"},"participant":{"id":"124080350","companyName":null,"login":"Client:124080350","firstName":"Uliana","lastName":"Maslova","address":{"street":"Vajanského 18","city":"Trnava","postCode":"917 01"}}},{"type":"CONTRIBUTION","group":"INCOME","wallet":{"paymentOperator":"PAYU","type":"WAITING","balance":{"amount":"286.04","currency":"EUR"}},"occurredAt":"2024-07-23T09:45:00.259Z","value":{"amount":"37.93","currency":"EUR"},"marketplaceId":"allegro-sk","payment":{"id":"146ae4d2-48d8-11ef-ac67-7f54ae529bf4"},"participant":{"id":"124161511","companyName":null,"login":"Client:124161511","firstName":"Diana","lastName":"Filipp","address":{"street":"Malé Tatry 5 / 5","city":"Ružomberok","postCode":"034 01"}}}],"count":6,"totalCount":6} 6 {"paymentOperator":"PAYU","type":"WAITING","balance":{"amount":286.04,"currency":"EUR"}} 2024-07-23T09:45:00.259 The amount in the backend is 126.40, but the amount returned by the API is not updated in time