Skip to content

Commit ee77480

Browse files
feat(api): add tags field to payment model
1 parent ffb07d5 commit ee77480

2 files changed

Lines changed: 10 additions & 3 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: 212
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-42c58dcdae350a8544a75a19ad38aaeb70f3ed98dc642b4a7b47a4b92d8c9c91.yml
3-
openapi_spec_hash: c26c7c8fab1f49977c23bb698ec64e28
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-b42f0fb5ca219622c46728ac767a2a23ec6a8aecd2b32c92efa449fd69576a6d.yml
3+
openapi_spec_hash: b591dcd3405c0738c10b626852284a1b
44
config_hash: 126e04f676f61e5871a82889336dbf9d

src/lithic/types/payment.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import List, Union, Optional
3+
from typing import Dict, List, Union, Optional
44
from datetime import date, datetime
55
from typing_extensions import Literal, TypeAlias
66

@@ -296,6 +296,13 @@ class Payment(BaseModel):
296296
external_bank_account_token: Optional[str] = None
297297
"""External bank account token"""
298298

299+
tags: Optional[Dict[str, str]] = None
300+
"""Key-value pairs for tagging resources.
301+
302+
Tags allow you to associate arbitrary metadata with a resource for your own
303+
purposes.
304+
"""
305+
299306
type: Optional[
300307
Literal[
301308
"ORIGINATION_CREDIT",

0 commit comments

Comments
 (0)