Skip to content

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

Merged
alvseven merged 7 commits into
mainfrom
alves/customers-resource
Jun 16, 2026
Merged

feat: add customers resource, deprecate receivers (v2.3.0)#48
alvseven merged 7 commits into
mainfrom
alves/customers-resource

Conversation

@alvseven

@alvseven alvseven commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

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

@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 5 commits June 16, 2026 00:14
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
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
@alvseven alvseven force-pushed the alves/customers-resource branch from 5c26d50 to 94f73c8 Compare June 16, 2026 03:18
@alvseven alvseven merged commit 28b8197 into main Jun 16, 2026
6 checks passed
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