Skip to main content
TM
TalentOS
DocsAPI ReferencePayment Endpoints

Payment Endpoints

Manage wallets, escrow accounts, invoices, and payouts via the Payments API.

Endpoints

MethodEndpointDescription
GET/v1/wallets/:idGet wallet balance and details
GET/v1/wallets/:id/transactionsList wallet transactions
POST/v1/escrowCreate escrow account for a booking
GET/v1/escrow/:idGet escrow status and details
POST/v1/escrow/:id/fundFund escrow (client deposits payment)
POST/v1/escrow/:id/releaseRelease escrow funds
POST/v1/escrow/:id/disputeRaise dispute on escrow
POST/v1/payoutsCreate payout request
GET/v1/payouts/:idGet payout status
POST/v1/payouts/:id/approveApprove payout (Finance/Admin)

Idempotency Required

All payment mutation endpoints require an Idempotency-Key header. This prevents double-charges or duplicate payouts in case of network retries.

Example: Create Escrow
POST /v1/escrow
Idempotency-Key: idk_unique_key_123
{
  "booking_id": "bk_abc123",
  "amount": 50000,
  "currency": "INR",
  "milestones": [
    { "label": "Shoot Day 1", "amount": 25000, "due_date": "2026-04-20" },
    { "label": "Shoot Day 2", "amount": 25000, "due_date": "2026-04-21" }
  ],
  "commission_split": {
    "talent": 0.70,
    "agency": 0.20,
    "platform": 0.05,
    "tax": 0.05
  }
}