From 048df264e711b02e5ee0c0ba5e3ef35b506a0662 Mon Sep 17 00:00:00 2001 From: Glib <71976818+GLEF1X@users.noreply.github.com> Date: Fri, 12 Aug 2022 21:57:29 -0400 Subject: [PATCH] Change endpoint url due to QIWI API change --- glQiwiApi/qiwi/clients/wallet/methods/transfer_money_to_card.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glQiwiApi/qiwi/clients/wallet/methods/transfer_money_to_card.py b/glQiwiApi/qiwi/clients/wallet/methods/transfer_money_to_card.py index 5ebca939..7abd94b3 100644 --- a/glQiwiApi/qiwi/clients/wallet/methods/transfer_money_to_card.py +++ b/glQiwiApi/qiwi/clients/wallet/methods/transfer_money_to_card.py @@ -10,7 +10,7 @@ class TransferMoneyToCard(QiwiAPIMethod[PaymentInfo]): http_method: ClassVar[str] = 'POST' - url: ClassVar[str] = 'https://edge.qiwi.com/sinap/api/v2/terms/{private_card_id}' + url: ClassVar[str] = 'https://edge.qiwi.com/sinap/api/v2/terms/{private_card_id}/payments' json_payload_schema: ClassVar[Dict[str, Any]] = { 'id': RuntimeValue(default_factory=lambda: str(int(time.time() * 1000))),