Test mode: Update an OutboundTransfer
Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable, and cannot be in the canceled or failed states.
API Endpoint: POST /v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}
from os import getenv
from sideko_stripe import Stripe
client = Stripe(token=getenv("API_TOKEN"))
res = client.test_helper.treasury.outbound_transfer.update(
outbound_transfer="string", tracking_details={"type_": "ach"}
)from os import getenv
from sideko_stripe import AsyncStripe
client = AsyncStripe(token=getenv("API_TOKEN"))
res = await client.test_helper.treasury.outbound_transfer.update(
outbound_transfer="string", tracking_details={"type_": "ach"}
)Test mode: Fail an OutboundTransfer
Transitions a test mode created OutboundTransfer to the failed status. The OutboundTransfer must already be in the processing state.
API Endpoint: POST /v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail
from os import getenv
from sideko_stripe import Stripe
client = Stripe(token=getenv("API_TOKEN"))
res = client.test_helper.treasury.outbound_transfer.fail(outbound_transfer="string")from os import getenv
from sideko_stripe import AsyncStripe
client = AsyncStripe(token=getenv("API_TOKEN"))
res = await client.test_helper.treasury.outbound_transfer.fail(
outbound_transfer="string"
)Test mode: Post an OutboundTransfer
Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state.
API Endpoint: POST /v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post
from os import getenv
from sideko_stripe import Stripe
client = Stripe(token=getenv("API_TOKEN"))
res = client.test_helper.treasury.outbound_transfer.post(outbound_transfer="string")from os import getenv
from sideko_stripe import AsyncStripe
client = AsyncStripe(token=getenv("API_TOKEN"))
res = await client.test_helper.treasury.outbound_transfer.post(
outbound_transfer="string"
)Test mode: Return an OutboundTransfer
Transitions a test mode created OutboundTransfer to the returned status. The OutboundTransfer must already be in the processing state.
API Endpoint: POST /v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return
from os import getenv
from sideko_stripe import Stripe
client = Stripe(token=getenv("API_TOKEN"))
res = client.test_helper.treasury.outbound_transfer.returned(outbound_transfer="string")from os import getenv
from sideko_stripe import AsyncStripe
client = AsyncStripe(token=getenv("API_TOKEN"))
res = await client.test_helper.treasury.outbound_transfer.returned(
outbound_transfer="string"
)