@@ -86,7 +86,9 @@ def create(
8686 "TRANSFER" ,
8787 ],
8888 token : str | NotGiven = NOT_GIVEN ,
89+ external_id : str | NotGiven = NOT_GIVEN ,
8990 memo : str | NotGiven = NOT_GIVEN ,
91+ on_closed_account : Literal ["FAIL" , "USE_SUSPENSE" ] | NotGiven = NOT_GIVEN ,
9092 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
9193 # The extra values given here take precedence over values defined on the client or passed to this method.
9294 extra_headers : Headers | None = None ,
@@ -99,7 +101,7 @@ def create(
99101 account and card
100102
101103 Args:
102- amount: Amount to be transferred in the currency’ s smallest unit (e.g., cents for USD).
104+ amount: Amount to be transferred in the currency' s smallest unit (e.g., cents for USD).
103105 This should always be a positive value.
104106
105107 category: Category of the book transfer
@@ -112,13 +114,17 @@ def create(
112114 to_financial_account_token: Globally unique identifier for the financial account or card that will receive
113115 the funds. Accepted type dependent on the program's use case.
114116
115- type: Type of book_transfer
117+ type: Type of the book transfer
116118
117119 token: Customer-provided token that will serve as an idempotency token. This token will
118120 become the transaction token.
119121
122+ external_id: External ID defined by the customer
123+
120124 memo: Optional descriptor for the transfer.
121125
126+ on_closed_account: What to do if the financial account is closed when posting an operation
127+
122128 extra_headers: Send extra headers
123129
124130 extra_query: Add additional query parameters to the request
@@ -138,7 +144,9 @@ def create(
138144 "to_financial_account_token" : to_financial_account_token ,
139145 "type" : type ,
140146 "token" : token ,
147+ "external_id" : external_id ,
141148 "memo" : memo ,
149+ "on_closed_account" : on_closed_account ,
142150 },
143151 book_transfer_create_params .BookTransferCreateParams ,
144152 ),
@@ -373,7 +381,9 @@ async def create(
373381 "TRANSFER" ,
374382 ],
375383 token : str | NotGiven = NOT_GIVEN ,
384+ external_id : str | NotGiven = NOT_GIVEN ,
376385 memo : str | NotGiven = NOT_GIVEN ,
386+ on_closed_account : Literal ["FAIL" , "USE_SUSPENSE" ] | NotGiven = NOT_GIVEN ,
377387 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
378388 # The extra values given here take precedence over values defined on the client or passed to this method.
379389 extra_headers : Headers | None = None ,
@@ -386,7 +396,7 @@ async def create(
386396 account and card
387397
388398 Args:
389- amount: Amount to be transferred in the currency’ s smallest unit (e.g., cents for USD).
399+ amount: Amount to be transferred in the currency' s smallest unit (e.g., cents for USD).
390400 This should always be a positive value.
391401
392402 category: Category of the book transfer
@@ -399,13 +409,17 @@ async def create(
399409 to_financial_account_token: Globally unique identifier for the financial account or card that will receive
400410 the funds. Accepted type dependent on the program's use case.
401411
402- type: Type of book_transfer
412+ type: Type of the book transfer
403413
404414 token: Customer-provided token that will serve as an idempotency token. This token will
405415 become the transaction token.
406416
417+ external_id: External ID defined by the customer
418+
407419 memo: Optional descriptor for the transfer.
408420
421+ on_closed_account: What to do if the financial account is closed when posting an operation
422+
409423 extra_headers: Send extra headers
410424
411425 extra_query: Add additional query parameters to the request
@@ -425,7 +439,9 @@ async def create(
425439 "to_financial_account_token" : to_financial_account_token ,
426440 "type" : type ,
427441 "token" : token ,
442+ "external_id" : external_id ,
428443 "memo" : memo ,
444+ "on_closed_account" : on_closed_account ,
429445 },
430446 book_transfer_create_params .BookTransferCreateParams ,
431447 ),
0 commit comments