Skip to content

feat: add customers resource, deprecate receivers (v2.3.0)#48

Open
alvseven wants to merge 3 commits into
mainfrom
alves/customers-resource
Open

feat: add customers resource, deprecate receivers (v2.3.0)#48
alvseven wants to merge 3 commits into
mainfrom
alves/customers-resource

Conversation

@alvseven

@alvseven alvseven commented Jun 8, 2026

Copy link
Copy Markdown
Member

Mirror of blindpay-node #54 for Python. Adds the canonical customers resource alongside receivers (now deprecated). See https://www.blindpay.com/changelog/2026-06-04-customers-rename

Mirrors blindpay-node v3.11.0:
- New customers resource (parallel to receivers, targets /customers/* API paths)
- Sub-resources (bank_accounts, virtual_accounts, wallets, custodial_wallets)
  now hit /customers/{customer_id}/... and accept customer_id input — the
  receivers namespace still works because both /receivers/* and /customers/*
  paths are live on the API through the deprecation window
- client.customers + client_sync.customers accessors added
- client.receivers emits DeprecationWarning on access
- v3.0.0 will remove receivers entirely

https://www.blindpay.com/changelog/2026-06-04-customers-rename
@BernardoSM

BernardoSM commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

alvseven added 2 commits June 8, 2026 14:25
Folds the api-sync content into the customers-resource minor:
- New createSepa method on bank-accounts (posts type=sepa to the same
  /customers/{customer_id}/bank-accounts endpoint)
- sepa_beneficiary_bic field on BankAccount, GetBankAccountResponse,
  CreateInternationalSwift{Input,Response}
- migrate_ownership method on instances resource
- ManualExecutionStatus + manual_execution_status on Payin
- billing_fee_amount + cpn_payment_id on Payout
- OfframpWallet network expanded from 'tron'-only to the full Network enum
- WebhookEvent literal type (receiver.delete)
The API returns a plain array, not {data: [...]}. Mirrors node SDK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants