feat: add customers resource, deprecate receivers (v2.3.0)#48
Open
alvseven wants to merge 3 commits into
Open
Conversation
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
Collaborator
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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