Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright (c) 2025 Basis-theory.
Copyright (c) 2026 Basis-theory.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
103 changes: 54 additions & 49 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "BasisTheoryClient"

[tool.poetry]
name = "BasisTheoryClient"
version = "4.2.0"
version = "0.0.1"
description = ""
readme = "README.md"
authors = []
Expand Down
22 changes: 12 additions & 10 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2658,6 +2658,14 @@ client.network_tokens.create()
<dl>
<dd>

**merchant_id:** `typing.Optional[str]`

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
Expand Down Expand Up @@ -4194,6 +4202,7 @@ client = BasisTheory(
)
client.reactors.react(
id="id",
request={"key": "value"},
)

```
Expand All @@ -4218,15 +4227,7 @@ client.reactors.react(
<dl>
<dd>

**args:** `typing.Optional[typing.Optional[typing.Any]]`

</dd>
</dl>

<dl>
<dd>

**callback_url:** `typing.Optional[str]`
**request:** `typing.Optional[typing.Any]`

</dd>
</dl>
Expand Down Expand Up @@ -4267,6 +4268,7 @@ client = BasisTheory(
)
client.reactors.react_async(
id="id",
request={"key": "value"},
)

```
Expand All @@ -4291,7 +4293,7 @@ client.reactors.react_async(
<dl>
<dd>

**args:** `typing.Optional[typing.Optional[typing.Any]]`
**request:** `typing.Optional[typing.Any]`

</dd>
</dl>
Expand Down
8 changes: 8 additions & 0 deletions src/basis_theory/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@
NetworkTokenExtras,
Pagination,
PaymentData,
PendingProxy,
PendingReactor,
Permission,
Privacy,
ProblemDetails,
Expand All @@ -99,6 +101,8 @@
ReactorFormulaPaginatedList,
ReactorFormulaRequestParameter,
ReactorPaginatedList,
RequestedProxy,
RequestedReactor,
Role,
Runtime,
StringStringKeyValuePair,
Expand Down Expand Up @@ -276,6 +280,8 @@
"NotFoundError",
"Pagination",
"PaymentData",
"PendingProxy",
"PendingReactor",
"Permission",
"Privacy",
"ProblemDetails",
Expand All @@ -291,6 +297,8 @@
"ReactorFormulaPaginatedList",
"ReactorFormulaRequestParameter",
"ReactorPaginatedList",
"RequestedProxy",
"RequestedReactor",
"Role",
"Runtime",
"ServiceUnavailableError",
Expand Down
8 changes: 8 additions & 0 deletions src/basis_theory/network_tokens/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def create(
token_id: typing.Optional[str] = OMIT,
token_intent_id: typing.Optional[str] = OMIT,
cardholder_info: typing.Optional[CardholderInfo] = OMIT,
merchant_id: typing.Optional[str] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> NetworkToken:
"""
Expand All @@ -49,6 +50,8 @@ def create(

cardholder_info : typing.Optional[CardholderInfo]

merchant_id : typing.Optional[str]

request_options : typing.Optional[RequestOptions]
Request-specific configuration.

Expand All @@ -72,6 +75,7 @@ def create(
token_id=token_id,
token_intent_id=token_intent_id,
cardholder_info=cardholder_info,
merchant_id=merchant_id,
request_options=request_options,
)
return _response.data
Expand Down Expand Up @@ -243,6 +247,7 @@ async def create(
token_id: typing.Optional[str] = OMIT,
token_intent_id: typing.Optional[str] = OMIT,
cardholder_info: typing.Optional[CardholderInfo] = OMIT,
merchant_id: typing.Optional[str] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> NetworkToken:
"""
Expand All @@ -256,6 +261,8 @@ async def create(

cardholder_info : typing.Optional[CardholderInfo]

merchant_id : typing.Optional[str]

request_options : typing.Optional[RequestOptions]
Request-specific configuration.

Expand Down Expand Up @@ -287,6 +294,7 @@ async def main() -> None:
token_id=token_id,
token_intent_id=token_intent_id,
cardholder_info=cardholder_info,
merchant_id=merchant_id,
request_options=request_options,
)
return _response.data
Expand Down
Loading