> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mygigsters.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How MyGigsters works

> Who is involved in a MyGigsters integration and how money moves through your marketplace.

A marketplace has three parties: the **customer** who pays for work, the **worker** who does it, and **your marketplace** in the middle. The Payments API gives you an object for each party and an API for each movement of money between them.

## Who's involved

| Party | Who they are | API object |
| - | - | - |
| Your marketplace | The marketplace or SaaS business that integrates the API | API key |
| Customer | The person or business paying for work | Customer, Card |
| Worker | The gig worker or freelancer being paid | Worker, Beneficiary |
| Partner | A vertical SaaS provider or fintech company that offers MyGigsters to its own customers | Partner Account |
| Connected account | A business a partner onboards under its partner account | Partner Account |

## How money moves

```mermaid theme={null}
flowchart LR
  C[Customer] -->|Card payment, payment link, or subscription| P[Your marketplace wallet]
  P -->|Payout or batch payout| W[Worker bank account]
  P -.->|Refund or credit note| C
```

**1. Collect**

Create a customer, save their card, and charge them with a payment intent. You can also send a payment link or an invoice instead of building a checkout.

**2. Hold**

Collected funds settle into your wallet. Check available, pending, and reserved balances before you pay out.

**3. Pay out**

Register each worker with their bank details, then pay them individually or in a batch. Track every payout to completion.

**4. Stay in sync**

Subscribe to webhooks so your system hears about payments, refunds, and payouts as they happen.

## Choose your integration

> [tab] Marketplace
>
> You charge customers and pay workers. This is the full flow.
>
> **You'll use:** Customers, Cards, Payment Intents, Workers, Payouts, Webhooks.
>
> > [card] [Start with charging a customer](https://docs.mygigsters.com/guides/charge-a-customer.md)

> [tab] Payouts only
>
> You already collect money elsewhere and only need to pay workers.
>
> **You'll use:** Workers, Payouts, Wallet, Webhooks.
>
> > [card] [Start with onboarding a worker](https://docs.mygigsters.com/guides/onboard-and-pay-a-worker.md)

> [tab] Partner
>
> You are a vertical SaaS provider or fintech company. You onboard other businesses as connected accounts and move money on their behalf.
>
> **You'll use:** Partner Account, Connected Accounts, Batch Payouts, Partner Webhooks.
>
> > [card] [Start with the partner overview](https://docs.mygigsters.com/platform/overview.md)

## What you build and what we handle

| You build | MyGigsters handles |
| - | - |
| Your product, pricing, and worker experience | Card capture and tokenisation through hosted fields |
| When to charge and when to pay out | Moving funds and tracking payout status |
| Your own records of jobs and earnings | Invoices, receipts, and credit notes |
| Reacting to webhook events | Bank-account validation and document checks |

## Next steps

> [card] [Quickstart](https://docs.mygigsters.com/get-started/quickstart.md)
>
> Make your first API request.

> [card] [Core objects](https://docs.mygigsters.com/concepts/core-objects.md)
>
> See how the API objects relate.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.