Retrieve a payout

Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list. Stripe returns the corresponding payout information.

Parameters

No parameters.

Returns

Returns a payout object if a you provide a valid identifier. raises An error occurs otherwise.

curl https://api.stripe.com/v1/payouts/ \
-u "sk_test_BQokikJ...2HlWgH4olfQ2sk_test_BQokikJOvBiI2HlWgH4olfQ2:"
Response
{
"object": "payout",
"amount": 1100,
"arrival_date": 1680652800,
"automatic": false,
"balance_transaction": "",
"created": 1680648691,
"currency": "usd",
"description": null,
"destination": "",
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"livemode": false,
"metadata": {},
"method": "standard",
"original_payout": null,
"reconciliation_status": "not_applicable",
"reversed_by": null,
"source_type": "card",
"statement_descriptor": null,
"status": "pending",
"type": "bank_account"
}

List all payouts

Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The payouts return in sorted order, with the most recently created payouts appearing first.

Parameters

  • statusstring

    Only return payouts that have the given status: pending, paid, failed, or canceled.

More parameters

  • arrival_dateobject

  • createdobject

  • destinationstring

  • ending_beforestring

  • limitinteger

  • starting_afterstring

Returns

A dictionary with a data property that contains an array of up to limit payouts, starting after payout starting_after. Each entry in the array is a separate payout object. If no other payouts are available, the resulting array is empty.

curl -G https://api.stripe.com/v1/payouts \
-u "sk_test_BQokikJ...2HlWgH4olfQ2sk_test_BQokikJOvBiI2HlWgH4olfQ2:" \
-d limit=3
Response
{
"object": "list",
"url": "/v1/payouts",
"has_more": false,
"data": [
{
"object": "payout",
"amount": 1100,
"arrival_date": 1680652800,
"automatic": false,
"balance_transaction": "",
"created": 1680648691,
"currency": "usd",
"description": null,
"destination": "",
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"livemode": false,
"metadata": {},
"method": "standard",
"original_payout": null,
"reconciliation_status": "not_applicable",
"reversed_by": null,
"source_type": "card",
"statement_descriptor": null,
"status": "pending",
"type": "bank_account"
}
]
}

Cancel a payout

You can cancel a previously created payout if its status is pending. Stripe refunds the funds to your available balance. You can’t cancel automatic Stripe payouts.

Parameters

No parameters.

Returns

Returns the payout object if the cancellation succeeds. Returns an error if the payout is already canceled or can’t be canceled.

curl -X POST https://api.stripe.com/v1/payouts//cancel \
-u "sk_test_BQokikJ...2HlWgH4olfQ2sk_test_BQokikJOvBiI2HlWgH4olfQ2:"
Response
{
"object": "payout",
"amount": 1100,
"arrival_date": 1680652800,
"automatic": false,
"balance_transaction": "",
"created": 1680648691,
"currency": "usd",
"description": null,
"destination": "",
"failure_balance_transaction": "",
"failure_code": null,
"failure_message": null,
"livemode": false,
"metadata": {},
"method": "standard",
"original_payout": null,
"reconciliation_status": "not_applicable",
"reversed_by": null,
"source_type": "card",
"statement_descriptor": null,
"status": "canceled",
"type": "bank_account"
}