Skip to content

Commit 47e5835

Browse files
feat(api): api update
1 parent 305bcc9 commit 47e5835

7 files changed

Lines changed: 14 additions & 14 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: 167
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/modern-treasury/modern-treasury-cea2c7f8acce7bde435c42d237e8850506d60087946db6f971386827ea8b3377.yml
3-
openapi_spec_hash: aa7b9694c5d76f89ac56175982d6b179
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/modern-treasury/modern-treasury-edd8a3d946b07e08303c1f1edef102da0db201b7ab5f0b6c034e64a1b186ec87.yml
3+
openapi_spec_hash: 496909d861a69f551668d9769b3dfb2d
44
config_hash: 55a5583c24314820a65f792e2ebab57b

src/modern_treasury/resources/payment_orders/payment_orders.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def create(
126126
127127
Args:
128128
amount: Value in specified currency's smallest unit. e.g. $10 would be represented as
129-
1000 (cents). For RTP, the maximum amount allowed by the network is $100,000.
129+
1000 (cents). For RTP, the maximum amount allowed by the network is $10,000,000.
130130
131131
direction: One of `credit`, `debit`. Describes the direction money is flowing in the
132132
transaction. A `credit` moves money from your account to someone else's. A
@@ -443,7 +443,7 @@ def update(
443443
accessible if your accounting system has been connected.
444444
445445
amount: Value in specified currency's smallest unit. e.g. $10 would be represented as
446-
1000 (cents). For RTP, the maximum amount allowed by the network is $100,000.
446+
1000 (cents). For RTP, the maximum amount allowed by the network is $10,000,000.
447447
448448
charge_bearer: The party that will pay the fees for the payment order. See
449449
https://docs.moderntreasury.com/payments/docs/charge-bearer to understand the
@@ -831,7 +831,7 @@ def create_async(
831831
832832
Args:
833833
amount: Value in specified currency's smallest unit. e.g. $10 would be represented as
834-
1000 (cents). For RTP, the maximum amount allowed by the network is $100,000.
834+
1000 (cents). For RTP, the maximum amount allowed by the network is $10,000,000.
835835
836836
direction: One of `credit`, `debit`. Describes the direction money is flowing in the
837837
transaction. A `credit` moves money from your account to someone else's. A
@@ -1112,7 +1112,7 @@ async def create(
11121112
11131113
Args:
11141114
amount: Value in specified currency's smallest unit. e.g. $10 would be represented as
1115-
1000 (cents). For RTP, the maximum amount allowed by the network is $100,000.
1115+
1000 (cents). For RTP, the maximum amount allowed by the network is $10,000,000.
11161116
11171117
direction: One of `credit`, `debit`. Describes the direction money is flowing in the
11181118
transaction. A `credit` moves money from your account to someone else's. A
@@ -1429,7 +1429,7 @@ async def update(
14291429
accessible if your accounting system has been connected.
14301430
14311431
amount: Value in specified currency's smallest unit. e.g. $10 would be represented as
1432-
1000 (cents). For RTP, the maximum amount allowed by the network is $100,000.
1432+
1000 (cents). For RTP, the maximum amount allowed by the network is $10,000,000.
14331433
14341434
charge_bearer: The party that will pay the fees for the payment order. See
14351435
https://docs.moderntreasury.com/payments/docs/charge-bearer to understand the
@@ -1817,7 +1817,7 @@ async def create_async(
18171817
18181818
Args:
18191819
amount: Value in specified currency's smallest unit. e.g. $10 would be represented as
1820-
1000 (cents). For RTP, the maximum amount allowed by the network is $100,000.
1820+
1000 (cents). For RTP, the maximum amount allowed by the network is $10,000,000.
18211821
18221822
direction: One of `credit`, `debit`. Describes the direction money is flowing in the
18231823
transaction. A `credit` moves money from your account to someone else's. A

src/modern_treasury/types/bulk_request_create_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ class ResourcePaymentOrderAsyncCreateRequest(TypedDict, total=False):
358358
"""Value in specified currency's smallest unit.
359359
360360
e.g. $10 would be represented as 1000 (cents). For RTP, the maximum amount
361-
allowed by the network is $100,000.
361+
allowed by the network is $10,000,000.
362362
"""
363363

364364
direction: Required[Literal["credit", "debit"]]
@@ -1116,7 +1116,7 @@ class ResourcePaymentOrderUpdateRequestWithID(TypedDict, total=False):
11161116
"""Value in specified currency's smallest unit.
11171117
11181118
e.g. $10 would be represented as 1000 (cents). For RTP, the maximum amount
1119-
allowed by the network is $100,000.
1119+
allowed by the network is $10,000,000.
11201120
"""
11211121

11221122
charge_bearer: Optional[Literal["shared", "sender", "receiver"]]

src/modern_treasury/types/payment_order.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ class PaymentOrder(BaseModel):
230230
"""Value in specified currency's smallest unit.
231231
232232
e.g. $10 would be represented as 1000 (cents). For RTP, the maximum amount
233-
allowed by the network is $100,000.
233+
allowed by the network is $10,000,000.
234234
"""
235235

236236
batch_id: Optional[str] = None

src/modern_treasury/types/payment_order_create_async_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class PaymentOrderCreateAsyncParams(TypedDict, total=False):
3535
"""Value in specified currency's smallest unit.
3636
3737
e.g. $10 would be represented as 1000 (cents). For RTP, the maximum amount
38-
allowed by the network is $100,000.
38+
allowed by the network is $10,000,000.
3939
"""
4040

4141
direction: Required[Literal["credit", "debit"]]

src/modern_treasury/types/payment_order_create_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class PaymentOrderCreateParams(TypedDict, total=False):
3838
"""Value in specified currency's smallest unit.
3939
4040
e.g. $10 would be represented as 1000 (cents). For RTP, the maximum amount
41-
allowed by the network is $100,000.
41+
allowed by the network is $10,000,000.
4242
"""
4343

4444
direction: Required[Literal["credit", "debit"]]

src/modern_treasury/types/payment_order_update_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class PaymentOrderUpdateParams(TypedDict, total=False):
4949
"""Value in specified currency's smallest unit.
5050
5151
e.g. $10 would be represented as 1000 (cents). For RTP, the maximum amount
52-
allowed by the network is $100,000.
52+
allowed by the network is $10,000,000.
5353
"""
5454

5555
charge_bearer: Optional[Literal["shared", "sender", "receiver"]]

0 commit comments

Comments
 (0)