Skip to content
Open
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
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,18 @@ jobs:
run: rye build

- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/slash-sdk-python'
if: |-
github.repository == 'stainless-sdks/slash-sdk-python' &&
!startsWith(github.ref, 'refs/heads/stl/')
id: github-oidc
uses: actions/github-script@v8
with:
script: core.setOutput('github_token', await core.getIDToken());

- name: Upload tarball
if: github.repository == 'stainless-sdks/slash-sdk-python'
if: |-
github.repository == 'stainless-sdks/slash-sdk-python' &&
!startsWith(github.ref, 'refs/heads/stl/')
env:
URL: https://pkg.stainless.com/s
AUTH: ${{ steps.github-oidc.outputs.github_token }}
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.3"
".": "0.1.0-alpha.4"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 55
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/slash-financial--inc-dash%2Fslash-sdk-773c90f079c54155b39d84d7cf37ff7a2b89c74865c56a6cf86db730c36751a2.yml
openapi_spec_hash: 95129e670c6a3e832a1ea3fc64c07b11
configured_endpoints: 52
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/slash-financial--inc-dash%2Fslash-sdk-967ca7ecd5a8719048480ac299c1fba7ba23b689a2757ae8a4286dbc73ce8c06.yml
openapi_spec_hash: bc23b9abe5a49d18e3f1679c4043f672
config_hash: 9a5c338a583a0bc1a2e798ec5b94d860
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 0.1.0-alpha.4 (2026-03-14)

Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/slashfi/slash-sdk-python/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)

### Features

* **api:** api update ([f1eff44](https://github.com/slashfi/slash-sdk-python/commit/f1eff440f3ef4ed6a0495ccba3ecd7826d862c9c))
* **api:** api update ([47ea2de](https://github.com/slashfi/slash-sdk-python/commit/47ea2de42a4430641a44e10101e79693cfa94ba4))
* **api:** api update ([403ce72](https://github.com/slashfi/slash-sdk-python/commit/403ce72fe8450996c6eec0b12d18605d6fd1ba10))
* **api:** api update ([68fa0ae](https://github.com/slashfi/slash-sdk-python/commit/68fa0aeac982ca051911fb116fc585f60ec8d3b5))


### Chores

* **ci:** skip uploading artifacts on stainless-internal branches ([59a7a78](https://github.com/slashfi/slash-sdk-python/commit/59a7a78b6e534d5e3acb42824220a1e11c9c3a60))

## 0.1.0-alpha.3 (2026-03-06)

Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/slashfi/slash-sdk-python/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)
Expand Down
25 changes: 0 additions & 25 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,31 +146,6 @@ Methods:

- <code title="get /card-product">client.card_product.<a href="./src/slash_sdk/resources/card_product.py">list</a>(\*\*<a href="src/slash_sdk/types/card_product_list_params.py">params</a>) -> <a href="./src/slash_sdk/types/card_product_list_response.py">CardProductListResponse</a></code>

# SlashHandle

Types:

```python
from slash_sdk.types import SlashHandleListResponse
```

Methods:

- <code title="get /slash-handle">client.slash_handle.<a href="./src/slash_sdk/resources/slash_handle.py">list</a>(\*\*<a href="src/slash_sdk/types/slash_handle_list_params.py">params</a>) -> <a href="./src/slash_sdk/types/slash_handle_list_response.py">SlashHandleListResponse</a></code>

# Pay

Types:

```python
from slash_sdk.types import SlashHandle, PaySendResponse
```

Methods:

- <code title="get /pay">client.pay.<a href="./src/slash_sdk/resources/pay.py">retrieve</a>() -> <a href="./src/slash_sdk/types/slash_handle.py">SlashHandle</a></code>
- <code title="post /pay">client.pay.<a href="./src/slash_sdk/resources/pay.py">send</a>(\*\*<a href="src/slash_sdk/types/pay_send_params.py">params</a>) -> <a href="./src/slash_sdk/types/pay_send_response.py">PaySendResponse</a></code>

# Webhook

Types:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "slash-sdk"
version = "0.1.0-alpha.3"
version = "0.1.0-alpha.4"
description = "The official Python library for the slash-sdk API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
76 changes: 0 additions & 76 deletions src/slash_sdk/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
if TYPE_CHECKING:
from .resources import (
fdx,
pay,
card,
crypto,
oauth2,
Expand All @@ -48,13 +47,11 @@
transaction,
card_product,
legal_entity,
slash_handle,
virtual_account,
developer_account,
merchant_category,
developer_application,
)
from .resources.pay import PayResource, AsyncPayResource
from .resources.crypto import CryptoResource, AsyncCryptoResource
from .resources.account import AccountResource, AsyncAccountResource
from .resources.fdx.fdx import FdxResource, AsyncFdxResource
Expand All @@ -66,7 +63,6 @@
from .resources.transaction import TransactionResource, AsyncTransactionResource
from .resources.card_product import CardProductResource, AsyncCardProductResource
from .resources.legal_entity import LegalEntityResource, AsyncLegalEntityResource
from .resources.slash_handle import SlashHandleResource, AsyncSlashHandleResource
from .resources.oauth2.oauth2 import Oauth2Resource, AsyncOauth2Resource
from .resources.virtual_account import VirtualAccountResource, AsyncVirtualAccountResource
from .resources.developer_account import DeveloperAccountResource, AsyncDeveloperAccountResource
Expand Down Expand Up @@ -207,18 +203,6 @@ def card_product(self) -> CardProductResource:

return CardProductResource(self)

@cached_property
def slash_handle(self) -> SlashHandleResource:
from .resources.slash_handle import SlashHandleResource

return SlashHandleResource(self)

@cached_property
def pay(self) -> PayResource:
from .resources.pay import PayResource

return PayResource(self)

@cached_property
def webhook(self) -> WebhookResource:
from .resources.webhook import WebhookResource
Expand Down Expand Up @@ -548,18 +532,6 @@ def card_product(self) -> AsyncCardProductResource:

return AsyncCardProductResource(self)

@cached_property
def slash_handle(self) -> AsyncSlashHandleResource:
from .resources.slash_handle import AsyncSlashHandleResource

return AsyncSlashHandleResource(self)

@cached_property
def pay(self) -> AsyncPayResource:
from .resources.pay import AsyncPayResource

return AsyncPayResource(self)

@cached_property
def webhook(self) -> AsyncWebhookResource:
from .resources.webhook import AsyncWebhookResource
Expand Down Expand Up @@ -822,18 +794,6 @@ def card_product(self) -> card_product.CardProductResourceWithRawResponse:

return CardProductResourceWithRawResponse(self._client.card_product)

@cached_property
def slash_handle(self) -> slash_handle.SlashHandleResourceWithRawResponse:
from .resources.slash_handle import SlashHandleResourceWithRawResponse

return SlashHandleResourceWithRawResponse(self._client.slash_handle)

@cached_property
def pay(self) -> pay.PayResourceWithRawResponse:
from .resources.pay import PayResourceWithRawResponse

return PayResourceWithRawResponse(self._client.pay)

@cached_property
def webhook(self) -> webhook.WebhookResourceWithRawResponse:
from .resources.webhook import WebhookResourceWithRawResponse
Expand Down Expand Up @@ -943,18 +903,6 @@ def card_product(self) -> card_product.AsyncCardProductResourceWithRawResponse:

return AsyncCardProductResourceWithRawResponse(self._client.card_product)

@cached_property
def slash_handle(self) -> slash_handle.AsyncSlashHandleResourceWithRawResponse:
from .resources.slash_handle import AsyncSlashHandleResourceWithRawResponse

return AsyncSlashHandleResourceWithRawResponse(self._client.slash_handle)

@cached_property
def pay(self) -> pay.AsyncPayResourceWithRawResponse:
from .resources.pay import AsyncPayResourceWithRawResponse

return AsyncPayResourceWithRawResponse(self._client.pay)

@cached_property
def webhook(self) -> webhook.AsyncWebhookResourceWithRawResponse:
from .resources.webhook import AsyncWebhookResourceWithRawResponse
Expand Down Expand Up @@ -1064,18 +1012,6 @@ def card_product(self) -> card_product.CardProductResourceWithStreamingResponse:

return CardProductResourceWithStreamingResponse(self._client.card_product)

@cached_property
def slash_handle(self) -> slash_handle.SlashHandleResourceWithStreamingResponse:
from .resources.slash_handle import SlashHandleResourceWithStreamingResponse

return SlashHandleResourceWithStreamingResponse(self._client.slash_handle)

@cached_property
def pay(self) -> pay.PayResourceWithStreamingResponse:
from .resources.pay import PayResourceWithStreamingResponse

return PayResourceWithStreamingResponse(self._client.pay)

@cached_property
def webhook(self) -> webhook.WebhookResourceWithStreamingResponse:
from .resources.webhook import WebhookResourceWithStreamingResponse
Expand Down Expand Up @@ -1185,18 +1121,6 @@ def card_product(self) -> card_product.AsyncCardProductResourceWithStreamingResp

return AsyncCardProductResourceWithStreamingResponse(self._client.card_product)

@cached_property
def slash_handle(self) -> slash_handle.AsyncSlashHandleResourceWithStreamingResponse:
from .resources.slash_handle import AsyncSlashHandleResourceWithStreamingResponse

return AsyncSlashHandleResourceWithStreamingResponse(self._client.slash_handle)

@cached_property
def pay(self) -> pay.AsyncPayResourceWithStreamingResponse:
from .resources.pay import AsyncPayResourceWithStreamingResponse

return AsyncPayResourceWithStreamingResponse(self._client.pay)

@cached_property
def webhook(self) -> webhook.AsyncWebhookResourceWithStreamingResponse:
from .resources.webhook import AsyncWebhookResourceWithStreamingResponse
Expand Down
2 changes: 1 addition & 1 deletion src/slash_sdk/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "slash_sdk"
__version__ = "0.1.0-alpha.3" # x-release-please-version
__version__ = "0.1.0-alpha.4" # x-release-please-version
28 changes: 0 additions & 28 deletions src/slash_sdk/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@
FdxResourceWithStreamingResponse,
AsyncFdxResourceWithStreamingResponse,
)
from .pay import (
PayResource,
AsyncPayResource,
PayResourceWithRawResponse,
AsyncPayResourceWithRawResponse,
PayResourceWithStreamingResponse,
AsyncPayResourceWithStreamingResponse,
)
from .card import (
CardResource,
AsyncCardResource,
Expand Down Expand Up @@ -112,14 +104,6 @@
LegalEntityResourceWithStreamingResponse,
AsyncLegalEntityResourceWithStreamingResponse,
)
from .slash_handle import (
SlashHandleResource,
AsyncSlashHandleResource,
SlashHandleResourceWithRawResponse,
AsyncSlashHandleResourceWithRawResponse,
SlashHandleResourceWithStreamingResponse,
AsyncSlashHandleResourceWithStreamingResponse,
)
from .virtual_account import (
VirtualAccountResource,
AsyncVirtualAccountResource,
Expand Down Expand Up @@ -202,18 +186,6 @@
"AsyncCardProductResourceWithRawResponse",
"CardProductResourceWithStreamingResponse",
"AsyncCardProductResourceWithStreamingResponse",
"SlashHandleResource",
"AsyncSlashHandleResource",
"SlashHandleResourceWithRawResponse",
"AsyncSlashHandleResourceWithRawResponse",
"SlashHandleResourceWithStreamingResponse",
"AsyncSlashHandleResourceWithStreamingResponse",
"PayResource",
"AsyncPayResource",
"PayResourceWithRawResponse",
"AsyncPayResourceWithRawResponse",
"PayResourceWithStreamingResponse",
"AsyncPayResourceWithStreamingResponse",
"WebhookResource",
"AsyncWebhookResource",
"WebhookResourceWithRawResponse",
Expand Down
12 changes: 12 additions & 0 deletions src/slash_sdk/resources/card/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ def list(
filter_card_group_id: str | Omit = omit,
filter_card_group_name: str | Omit = omit,
filter_legal_entity_id: str | Omit = omit,
filter_modifier: str | Omit = omit,
filter_status: Literal["active", "paused", "closed", "inactive"] | Omit = omit,
filter_virtual_account_id: str | Omit = omit,
sort: Literal["createdAt", "name"] | Omit = omit,
Expand Down Expand Up @@ -274,6 +275,10 @@ def list(
filter_legal_entity_id: Pass in a legal entity ID to filter for cards in accounts under a specific legal
entity.

filter_modifier: Filter cards by modifier. Format is "modifier_name:value" (e.g.,
"only_allow_recurring_payments:true"). Returns cards where the specified
modifier has the given value.

filter_status: Returns all cards matching the status passed in.

filter_virtual_account_id: Pass in a virtual account ID to filter for cards under a specific virtual
Expand Down Expand Up @@ -305,6 +310,7 @@ def list(
"filter_card_group_id": filter_card_group_id,
"filter_card_group_name": filter_card_group_name,
"filter_legal_entity_id": filter_legal_entity_id,
"filter_modifier": filter_modifier,
"filter_status": filter_status,
"filter_virtual_account_id": filter_virtual_account_id,
"sort": sort,
Expand Down Expand Up @@ -560,6 +566,7 @@ async def list(
filter_card_group_id: str | Omit = omit,
filter_card_group_name: str | Omit = omit,
filter_legal_entity_id: str | Omit = omit,
filter_modifier: str | Omit = omit,
filter_status: Literal["active", "paused", "closed", "inactive"] | Omit = omit,
filter_virtual_account_id: str | Omit = omit,
sort: Literal["createdAt", "name"] | Omit = omit,
Expand Down Expand Up @@ -588,6 +595,10 @@ async def list(
filter_legal_entity_id: Pass in a legal entity ID to filter for cards in accounts under a specific legal
entity.

filter_modifier: Filter cards by modifier. Format is "modifier_name:value" (e.g.,
"only_allow_recurring_payments:true"). Returns cards where the specified
modifier has the given value.

filter_status: Returns all cards matching the status passed in.

filter_virtual_account_id: Pass in a virtual account ID to filter for cards under a specific virtual
Expand Down Expand Up @@ -619,6 +630,7 @@ async def list(
"filter_card_group_id": filter_card_group_id,
"filter_card_group_name": filter_card_group_name,
"filter_legal_entity_id": filter_legal_entity_id,
"filter_modifier": filter_modifier,
"filter_status": filter_status,
"filter_virtual_account_id": filter_virtual_account_id,
"sort": sort,
Expand Down
Loading
Loading