Skip to content

Commit bedead8

Browse files
feat: Make blockchain recipient account_token nullable
1 parent 02bc887 commit bedead8

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 214
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-70848844b69f7905307f9986b5630160aee26497cdbaf9257839a088ae7ca00b.yml
3-
openapi_spec_hash: a5d37fbb60eba858c8bd2ebe982936e1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-9829c574c7a227436f0828b64037e25825704e2d26115ec48750affcdb2bf0e0.yml
3+
openapi_spec_hash: c5c6cbb7b3b9d1e4663844122b5d6012
44
config_hash: f6d04d790aaddf639fc04b7f0092e7ec

src/lithic/types/blockchain_recipient.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ class BlockchainRecipient(BaseModel):
1414
token: str
1515
"""A globally unique identifier for this blockchain recipient"""
1616

17-
account_token: str
18-
"""The financial account the blockchain recipient belongs to"""
17+
account_token: Optional[str] = None
18+
"""
19+
The financial account the blockchain recipient belongs to, or null when the
20+
recipient is registered against the program rather than a financial account
21+
"""
1922

2023
address_tag: Optional[str] = None
2124
"""

0 commit comments

Comments
 (0)