Motivation MoneyMotivation Money
API 参考Payroll Runs

List all payouts within a payroll run

Returns individual payout records for each employee in the run. Requires payroll:read scope.

GET
/payroll-runs/{run_id}/payouts
AuthorizationBearer <token>

API key: Authorization: Bearer mpk_live_<key>

In: header

Path Parameters

run_id*string

Payroll run identifier

Query Parameters

status?string

Filter by payout status

Value in"PENDING" | "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLED" | "ON_HOLD" | "EXPIRED"
limit?integer

Max results per page

Default25
Range1 <= value <= 200
offset?integer

Number of results to skip

Default0
Range0 <= value

Response Body

application/json

curl -X GET "https://motivation-money.vercel.app/api/v1/payroll-runs/run_cm5x8k2a3000108l3g8h1j2k4/payouts"
{
  "data": [
    {
      "id": "pay_abc123",
      "payroll_run_id": "run_cm5x8k2a3000108l3g8h1j2k4",
      "employee_id": "usr_emp456",
      "employee_name": "Alice Chen",
      "employee_email": "alice@acme.com",
      "status": "PENDING",
      "amount_usd_cents": 850000,
      "fee_usd_cents": 200,
      "stablecoin": "USDC",
      "network": "ETHEREUM",
      "wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD38",
      "cex_withdrawal_id": "W123456789",
      "on_chain_tx_hash": "0x9f8e7d6c5b4a3f2e1d0c9b8a7f6e5d4c3b2a1f0e",
      "block_explorer_url": "https://basescan.org/tx/0x9f8e...",
      "test_run_deduction_usd_cents": 0,
      "initiated_at": "2019-08-24T14:15:22Z",
      "completed_at": "2019-08-24T14:15:22Z",
      "failed_reason": "string"
    }
  ],
  "pagination": {
    "total": 142,
    "limit": 25,
    "offset": 0,
    "has_more": true
  },
  "api_version": "2026-03-01",
  "request_id": "req_f1a2b3c4"
}