> For the complete documentation index, see [llms.txt](https://docs.hyperswitch.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hyperswitch.io/integrations/prism/python/payout-service.md).

# Payout Service Overview

## Overview

The Payout Service enables you to send funds to recipients using the Python SDK. Use this for marketplace payouts, refunds to bank accounts, supplier payments, and other fund disbursement needs.

**Business Use Cases:**

* **Marketplace payouts** - Pay sellers/merchants on your platform
* **Supplier payments** - Disburse funds to vendors and suppliers
* **Payroll** - Employee and contractor payments
* **Instant payouts** - Same-day transfers to connected accounts

## Operations

| Operation                                                                                                                                                       | Description                                                                | Use When                               |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------- |
| [`create`](https://github.com/juspay/hyperswitch-docs/blob/main/integration-space/prism/sdks/python/payout-service/create.md)                                   | Create a payout. Initiates fund transfer to recipient.                     | Sending money to a recipient           |
| [`transfer`](https://github.com/juspay/hyperswitch-docs/blob/main/integration-space/prism/sdks/python/payout-service/transfer.md)                               | Create a payout fund transfer. Move funds between accounts.                | Transferring between internal accounts |
| [`get`](https://github.com/juspay/hyperswitch-docs/blob/main/integration-space/prism/sdks/python/payout-service/get.md)                                         | Retrieve payout details. Check status and tracking.                        | Monitoring payout progress             |
| [`void`](https://github.com/juspay/hyperswitch-docs/blob/main/integration-space/prism/sdks/python/payout-service/void.md)                                       | Cancel a pending payout. Stop before processing.                           | Aborting an incorrect payout           |
| [`stage`](https://github.com/juspay/hyperswitch-docs/blob/main/integration-space/prism/sdks/python/payout-service/stage.md)                                     | Stage a payout for later processing. Prepare without sending.              | Delayed payouts, batch processing      |
| [`create_link`](https://github.com/juspay/hyperswitch-docs/blob/main/integration-space/prism/sdks/python/payout-service/create-link.md)                         | Create link between recipient and payout. Associate payout with recipient. | Setting up recipient relationships     |
| [`create_recipient`](https://github.com/juspay/hyperswitch-docs/blob/main/integration-space/prism/sdks/python/payout-service/create-recipient.md)               | Create payout recipient. Store recipient bank/payment details.             | First time paying a new recipient      |
| [`enroll_disburse_account`](https://github.com/juspay/hyperswitch-docs/blob/main/integration-space/prism/sdks/python/payout-service/enroll-disburse-account.md) | Enroll disburse account. Set up account for payouts.                       | Onboarding new payout accounts         |

## SDK Setup

```python
from hyperswitch_prism import PayoutClient

payout_client = PayoutClient(
    connector='stripe',
    api_key='YOUR_API_KEY',
    environment='SANDBOX'
)
```

## Common Patterns

### Marketplace Payout Flow

```mermaid
sequenceDiagram
    participant App as Your App
    participant CS as Prism
    participant PP as Payment Provider
    participant R as Recipient

    Note over App: Customer pays seller
    App->>CS: 1. create_recipient
    CS->>PP: Store recipient details
    PP-->>CS: Return recipient_id
    CS-->>App: Return recipient_id
    Note over App: Ready to pay seller
    App->>CS: 2. create payout
    CS->>PP: Initiate transfer
    PP-->>CS: Return: PENDING
    CS-->>App: Return payout_id
    Note over PP,R: Funds transferred
    PP->>R: Deposit funds
    PP-->>App: Webhook: SUCCEEDED
```

**Flow Explanation:**

1. **Create recipient** - Store seller's payout details (bank account, etc.).
2. **Create payout** - Initiate the fund transfer to the seller.
3. **Monitor status** - Track payout status until funds arrive.

## Payout Methods

| Method               | Speed             | Typical Use                         |
| -------------------- | ----------------- | ----------------------------------- |
| **Bank transfer**    | 1-3 business days | Standard payouts, large amounts     |
| **Instant transfer** | Minutes           | Same-day needs, existing recipients |
| **Card payout**      | Instant           | Prepaid cards, debit cards          |

## Next Steps

* [create\_recipient](https://github.com/juspay/hyperswitch-docs/blob/main/integration-space/prism/sdks/python/payout-service/create-recipient.md) - Set up your first recipient
* [create](https://github.com/juspay/hyperswitch-docs/blob/main/integration-space/prism/sdks/python/payout-service/create.md) - Send your first payout
* [Event Service](/integrations/prism/python/event-service.md) - Handle payout webhooks


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hyperswitch.io/integrations/prism/python/payout-service.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
