From a9387f01141f491382f6a82767f79d31a200b276 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 23 Apr 2026 02:18:32 +0000 Subject: [PATCH] feat: sync SDK with API changes --- pyproject.toml | 2 +- src/blindpay/__init__.py | 6 +++++- src/blindpay/client.py | 2 +- src/blindpay/resources/payins/quotes.py | 2 +- src/blindpay/types.py | 8 ++++++-- 5 files changed, 14 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 255444a..2bc800b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "blindpay" -version = "2.1.0" +version = "2.2.0" description = "Official Python SDK for the Blindpay API — Global payments infrastructure" readme = "README.md" authors = [{ name = "Blindpay", email = "alves@blindpay.com" }] diff --git a/src/blindpay/__init__.py b/src/blindpay/__init__.py index 538888a..3e89317 100644 --- a/src/blindpay/__init__.py +++ b/src/blindpay/__init__.py @@ -1,9 +1,10 @@ -__version__ = "2.1.0" +__version__ = "2.2.0" from ._internal.exceptions import BlindPayError from .client import BlindPay, BlindPaySync from .types import ( AccountClass, + ActorType, BankAccountType, BankingPartner, BlindpayApiResponse, @@ -14,6 +15,7 @@ CurrencyType, ErrorResponse, Network, + Operation, PaginationMetadata, PaginationParams, PaymentMethod, @@ -34,12 +36,14 @@ "BlindPaySync", "BlindPayError", "AccountClass", + "ActorType", "BankAccountType", "BankingPartner", "Country", "Currency", "CurrencyType", "Network", + "Operation", "PaymentMethod", "Rail", "RecipientRelationship", diff --git a/src/blindpay/client.py b/src/blindpay/client.py index 0fb9d3b..78c3c57 100644 --- a/src/blindpay/client.py +++ b/src/blindpay/client.py @@ -39,7 +39,7 @@ from blindpay.resources.wallets.offramp import OfframpWalletsResource, OfframpWalletsResourceSync from blindpay.resources.webhooks.webhooks import WebhookEndpointsResource, WebhookEndpointsResourceSync -__version__ = "2.1.0" +__version__ = "2.2.0" T = TypeVar("T") diff --git a/src/blindpay/resources/payins/quotes.py b/src/blindpay/resources/payins/quotes.py index 0f0e4e5..cfaf3bd 100644 --- a/src/blindpay/resources/payins/quotes.py +++ b/src/blindpay/resources/payins/quotes.py @@ -10,7 +10,7 @@ StablecoinToken, ) -PaymentMethod = Literal["ach", "wire", "pix", "spei"] +PaymentMethod = Literal["ach", "wire", "pix", "spei", "rtp"] class PayerRules(TypedDict, total=False): diff --git a/src/blindpay/types.py b/src/blindpay/types.py index 951de04..88f111e 100644 --- a/src/blindpay/types.py +++ b/src/blindpay/types.py @@ -47,7 +47,7 @@ class BlindpaySuccessResponse(TypedDict, Generic[T]): BankAccountType = Literal["checking", "savings"] -Currency = Literal["USDC", "USDT", "USDB", "BRL", "USD", "MXN", "COP", "ARS"] +Currency = Literal["USDB", "BRL", "USD", "MXN", "COP", "ARS"] Rail = Literal[ "wire", "ach", "pix", "pix_safe", "spei_bitso", "transfers_bitso", "ach_cop_bitso", "international_swift", "rtp" @@ -380,4 +380,8 @@ class TrackingPartnerFee(TypedDict): BankingPartner = Literal["cfsb", "citi", "hsbc", "jpmorgan"] -PaymentMethod = Literal["ach", "wire", "pix", "spei", "transfers", "pse", "international_swift"] +PaymentMethod = Literal["ach", "wire", "pix", "spei", "transfers", "pse", "international_swift", "rtp"] + +ActorType = Literal["api_key", "user"] + +Operation = Literal["create", "delete", "update"]