> 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/api-reference/payout-service.md).

# Payout Service Overview

> \[!WARNING] This directory is usually auto-generated from source proto definitions. Any manual edits here will be overwritten by the documentation generation script. To add permanent documentation for the Payout Service, please update the corresponding protobuf definitions and `docs/rules/rules.md`.

## Overview

The Payout Service provides comprehensive payout lifecycle management for digital businesses. It enables you to send funds from your merchant account to customers, vendors, and third parties across multiple connectors through a unified gRPC API.

**Business Use Cases:**

* **Marketplace platforms** - Release funds to sellers upon fulfillment of an order.
* **Gig-economy platforms** - Disburse earnings to drivers, riders, or freelancers.
* **Insurance claims** - Send approved claim amounts directly to the claimant's bank account.
* **E-commerce returns** - Refund a customer via an alternative method when the original payment method is unavailable.

The service supports various payout flows including synchronous transfers, staged payouts, recipient onboarding, and hosted payout links.

## Operations

| Operation                                                                                              | Description                                                                                                                                        | Use When                                             |
| ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| [`Create`](/integrations/prism/api-reference/payout-service/create.md)                                 | Initiate a new payout to transfer funds. Sets up the payout context and can sometimes execute the transfer immediately depending on the connector. | Starting a new disbursement to a vendor or user      |
| [`Transfer`](/integrations/prism/api-reference/payout-service/transfer.md)                             | Execute the actual fund transfer for an existing payout. Moves funds to the destination payout method.                                             | Confirming or executing a staged payout              |
| [`Get`](/integrations/prism/api-reference/payout-service/get.md)                                       | Retrieve current payout status from the processor. Enables synchronization between your system and the processor.                                  | Polling for status updates on asynchronous payouts   |
| [`Void`](/integrations/prism/api-reference/payout-service/void.md)                                     | Cancel a pending payout. Stops the funds from leaving the merchant account if the payout hasn't been completed.                                    | Cancelling an incorrect or unauthorized disbursement |
| [`Stage`](/integrations/prism/api-reference/payout-service/stage.md)                                   | Prepare a payout for processing without executing it immediately. Allows for review and batching.                                                  | Reviewing payouts before final execution             |
| [`CreateLink`](/integrations/prism/api-reference/payout-service/create-link.md)                        | Generate a secure URL for the recipient to provide their own payout method details to claim funds.                                                 | Sending funds via email without knowing bank details |
| [`CreateRecipient`](/integrations/prism/api-reference/payout-service/create-recipient.md)              | Register a new recipient entity (individual or business) with the payment processor.                                                               | Onboarding a new seller or contractor                |
| [`EnrollDisburseAccount`](/integrations/prism/api-reference/payout-service/enroll-disburse-account.md) | Register and verify a destination account (like a bank account) to receive disbursements.                                                          | Linking a vendor's bank account for future payouts   |

## Common Patterns

### Standard Disbursement Flow

Register the recipient, link their bank account, and transfer funds.

```mermaid
sequenceDiagram
    participant App as Your App
    participant CS as Connector Service
    participant PP as Payment Provider

    App->>CS: 1. CreateRecipient (Vendor Details)
    CS->>PP: Register recipient
    PP-->>CS: Return recipient ID
    CS-->>App: Return connector_payout_id (Recipient)
    
    App->>CS: 2. EnrollDisburseAccount (Bank Details)
    CS->>PP: Link bank account
    PP-->>CS: Return account ID
    CS-->>App: Return connector_payout_id (Account)
    
    App->>CS: 3. Create (Payout Details & Amount)
    CS->>PP: Initiate Payout
    PP-->>CS: Return payout status
    CS-->>App: Return status: PENDING
    
    Note over App: Wait for async clearing
    
    App->>CS: 4. Get (Poll Status)
    CS->>PP: Check status
    PP-->>CS: Return status: SUCCESS
    CS-->>App: Return status: SUCCESS
```

**Flow Explanation:**

1. **CreateRecipient** - Before sending funds, register the vendor or user with the payment processor. The processor returns a unique identifier for the recipient.
2. **EnrollDisburseAccount** - Securely link the recipient's bank account or digital wallet to their profile. This step ensures the destination is valid.
3. **Create** - Initiate the actual payout by specifying the amount and the enrolled payout method. The transaction often enters a `PENDING` state while it clears the banking network.
4. **Get** - Poll the status (or rely on webhooks) to verify when the funds have successfully settled into the recipient's account.

## Next Steps

* [Payment Service](/integrations/prism/api-reference/payment-service.md) - Accept payments from customers
* [Refund Service](/integrations/prism/api-reference/refund-service.md) - Process refunds against original payments


---

# 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/api-reference/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.
