Payouts: transfers from the Stripe balance to your bank account or debit card. Read-only here; automatic payouts need no API calls. See https://docs.stripe.com/api/payouts.
Functions
get-payout
fn (payout: Str): Map
fn (payout: Str, params: Map): Map
fn (payout: Str, params: Map, opts: Map): Map
GET /v1/payouts/{payout} - Retrieve a payout by ID.
Example
::payouts ::stripe::payouts
payout ::payouts/get-payout("po_123")
payout.status
payout.arrival_date
list-payouts
fn (): Map
fn (request: ListPayoutsRequest): Map
fn (request: ListPayoutsRequest, opts: Map): Map
GET /v1/payouts - List payouts, most recent first. Filter by status ("pending", "paid", "failed", "canceled") or arrival_date. List the balance transactions a payout settled with ::stripe::balance/list-balance-transactions(ListBalanceTransactionsRequest({payout: payout.id})).
Example
::payouts ::stripe::payouts
page ::payouts/list-payouts(::payouts/ListPayoutsRequest({status: "paid", limit: 5}))
page.data[0].arrival_date
Types
ListPayoutsRequest
ListPayoutsRequest type {
status: Str?,
destination: Str?,
arrival_date: Any?,
created: Any?,
limit: Int?,
starting_after: Str?,
ending_before: Str?,
expand: Vec<Str>?
}