[NEWS] GET /payments/payment-operations - nowa grupa oraz typy operacji / GET /payments/payment-operations - new group and types of operations
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 244
- Forks
- 40
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
W **sierpniu** udostępnimy sprzedającym możliwość [blokowania środków na Allegro Finanse](https://allegro.pl/dla-sprzedajacych/allegro-zwroty) na potrzeby automatycznych zwrotów środków do Kupujących. Sprzedający będzie mógł w Moje Allegro zaznaczyć zgodę na blokowanie środków tytułem zwrotu i automatyczne zwroty pieniędzy przy zwrotach towaru.
**Co zmienimy?**
**26 lipca** w [GET /payments/payment-operations](https://developer.allegro.pl/documentation/#operation/getPaymentsOperationHistory) rozszerzymy:
- pole **paymentOperations[].group** o nową wartość: **BLOCKADES**,
- pole **paymentOperations[].type** o dwie nowe wartości:
- **BLOCKADE** - środki zostały zablokowane na potrzeby zwrotu,
- **BLOCKADE_RELEASE** - blokada została zwolniona.
**Przykładowy response:**
```
{
"paymentOperations": [
{
"type": "BLOCKADE",
"group": "BLOCKADES",
"wallet": {
"paymentOperator": "PAYU",
"type": "AVAILABLE",
"balance": {
"amount": "3297.81",
"currency": "PLN"
}
},
...
}
```
Jednocześnie dodamy możliwość filtrowania wyników wg. nowej grupy operacji:
`GET /payments/payment-operations?group=BLOCKADES`
**Dlaczego wprowadzimy zmianę?**
Dzięki nowej grupie i typom operacji sprzedający będzie mógł sprawdzić kiedy i jakie środki zostały zablokowane na potrzeby automatycznego zwrotu. Będzie mógł również rozpoznać operacje, które zostały już odblokowane i mogą zostać wypłacone.
-----------
In **August**, we will enable sellers to [block funds on Allegro Finance](https://allegro.pl/dla-sprzedajacych/allegro-zwroty) for automatic refunds to buyers. Sellers will be able to choose in My Allegro to block funds for returns and automatic refunds when returning goods.
**What will we change?**
**On July 26th**, in [GET /payments/payment-operations](https://developer.allegro.pl/en/documentation/#operation/getPaymentsOperationHistory) we will expand:
- **paymentOperations[].group** field with a new value: **BLOCKADES**,
- **paymentOperations[].type** field by two new values:
- **BLOCKADE** - the funds have been blocked for return,
- **BLOCKADE_RELEASE** - the blockade has been released.
**Sample response:**
```
{
"paymentOperations": [
{
"type": "BLOCKADE",
"group": "BLOCKADES",
"wallet": {
"paymentOperator": "PAYU",
"type": "AVAILABLE",
"balance": {
"amount": "3297.81",
"currency": "PLN"
}
},
...
}
```
At the same time, we will add the ability to filter the results by a new group of operations:
`GET /payments/payment-operations?group=BLOCKADES`
**Why will we make the change?**
With the new group and operation types, the users will be able to see when and what funds have been blocked for automatic return. Sellers will also be able to recognize operations that have already been unlocked and can be paid out.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.