List all InboundTransfers
Returns a list of InboundTransfers sent from the specified FinancialAccount.
API Endpoint: GET /v1/treasury/inbound_transfers
from os import getenv
from sideko_stripe import Stripe
client = Stripe(token=getenv("API_TOKEN"))
res = client.treasury.inbound_transfer.list(financial_account="string")from os import getenv
from sideko_stripe import AsyncStripe
client = AsyncStripe(token=getenv("API_TOKEN"))
res = await client.treasury.inbound_transfer.list(financial_account="string")Retrieve an InboundTransfer
Retrieves the details of an existing InboundTransfer.
API Endpoint: GET /v1/treasury/inbound_transfers/{id}
from os import getenv
from sideko_stripe import Stripe
client = Stripe(token=getenv("API_TOKEN"))
res = client.treasury.inbound_transfer.get(id="string")from os import getenv
from sideko_stripe import AsyncStripe
client = AsyncStripe(token=getenv("API_TOKEN"))
res = await client.treasury.inbound_transfer.get(id="string")Create an InboundTransfer
Creates an InboundTransfer.
API Endpoint: POST /v1/treasury/inbound_transfers
from os import getenv
from sideko_stripe import Stripe
client = Stripe(token=getenv("API_TOKEN"))
res = client.treasury.inbound_transfer.create(
amount=123,
currency="string",
financial_account="string",
origin_payment_method="string",
)from os import getenv
from sideko_stripe import AsyncStripe
client = AsyncStripe(token=getenv("API_TOKEN"))
res = await client.treasury.inbound_transfer.create(
amount=123,
currency="string",
financial_account="string",
origin_payment_method="string",
)Cancel an InboundTransfer
Cancels an InboundTransfer.
API Endpoint: POST /v1/treasury/inbound_transfers/{inbound_transfer}/cancel
from os import getenv
from sideko_stripe import Stripe
client = Stripe(token=getenv("API_TOKEN"))
res = client.treasury.inbound_transfer.cance(inbound_transfer="string")from os import getenv
from sideko_stripe import AsyncStripe
client = AsyncStripe(token=getenv("API_TOKEN"))
res = await client.treasury.inbound_transfer.cance(inbound_transfer="string")