@@ -135,7 +135,7 @@ with ClientSDK(
135
135
),
136
136
) as client_sdk:
137
137
138
- res = client_sdk.balances.list(currency = " EUR" , from_ = " bal_gVMhHKqSSRYJyPsuoPNFH" , limit = 50 , testmode = False )
138
+ res = client_sdk.balances.list(currency = " EUR" , from_ = " bal_gVMhHKqSSRYJyPsuoPNFH" , limit = 50 , testmode = False , idempotency_key = " 123e4567-e89b-12d3-a456-426 " )
139
139
140
140
# Handle response
141
141
print (res)
@@ -159,7 +159,7 @@ async def main():
159
159
),
160
160
) as client_sdk:
161
161
162
- res = await client_sdk.balances.list_async(currency = " EUR" , from_ = " bal_gVMhHKqSSRYJyPsuoPNFH" , limit = 50 , testmode = False )
162
+ res = await client_sdk.balances.list_async(currency = " EUR" , from_ = " bal_gVMhHKqSSRYJyPsuoPNFH" , limit = 50 , testmode = False , idempotency_key = " 123e4567-e89b-12d3-a456-426 " )
163
163
164
164
# Handle response
165
165
print (res)
@@ -193,7 +193,7 @@ with ClientSDK(
193
193
),
194
194
) as client_sdk:
195
195
196
- res = client_sdk.balances.list(currency = " EUR" , from_ = " bal_gVMhHKqSSRYJyPsuoPNFH" , limit = 50 , testmode = False )
196
+ res = client_sdk.balances.list(currency = " EUR" , from_ = " bal_gVMhHKqSSRYJyPsuoPNFH" , limit = 50 , testmode = False , idempotency_key = " 123e4567-e89b-12d3-a456-426 " )
197
197
198
198
# Handle response
199
199
print (res)
@@ -398,7 +398,7 @@ with ClientSDK(
398
398
),
399
399
) as client_sdk:
400
400
401
- res = client_sdk.balances.list(currency = " EUR" , from_ = " bal_gVMhHKqSSRYJyPsuoPNFH" , limit = 50 , testmode = False ,
401
+ res = client_sdk.balances.list(currency = " EUR" , from_ = " bal_gVMhHKqSSRYJyPsuoPNFH" , limit = 50 , testmode = False , idempotency_key = " 123e4567-e89b-12d3-a456-426 " ,
402
402
RetryConfig(" backoff" , BackoffStrategy(1 , 50 , 1.1 , 100 ), False ))
403
403
404
404
# Handle response
@@ -421,7 +421,7 @@ with ClientSDK(
421
421
),
422
422
) as client_sdk:
423
423
424
- res = client_sdk.balances.list(currency = " EUR" , from_ = " bal_gVMhHKqSSRYJyPsuoPNFH" , limit = 50 , testmode = False )
424
+ res = client_sdk.balances.list(currency = " EUR" , from_ = " bal_gVMhHKqSSRYJyPsuoPNFH" , limit = 50 , testmode = False , idempotency_key = " 123e4567-e89b-12d3-a456-426 " )
425
425
426
426
# Handle response
427
427
print (res)
@@ -458,7 +458,7 @@ with ClientSDK(
458
458
res = None
459
459
try :
460
460
461
- res = client_sdk.balances.list(currency = " EUR" , from_ = " bal_gVMhHKqSSRYJyPsuoPNFH" , limit = 50 , testmode = False )
461
+ res = client_sdk.balances.list(currency = " EUR" , from_ = " bal_gVMhHKqSSRYJyPsuoPNFH" , limit = 50 , testmode = False , idempotency_key = " 123e4567-e89b-12d3-a456-426 " )
462
462
463
463
# Handle response
464
464
print (res)
@@ -523,7 +523,7 @@ with ClientSDK(
523
523
),
524
524
) as client_sdk:
525
525
526
- res = client_sdk.balances.list(currency = " EUR" , from_ = " bal_gVMhHKqSSRYJyPsuoPNFH" , limit = 50 , testmode = False )
526
+ res = client_sdk.balances.list(currency = " EUR" , from_ = " bal_gVMhHKqSSRYJyPsuoPNFH" , limit = 50 , testmode = False , idempotency_key = " 123e4567-e89b-12d3-a456-426 " )
527
527
528
528
# Handle response
529
529
print (res)
0 commit comments