---
title: "updateFsAffiliatePayout"
method: PUT
path: "/core/api/v1/fsAffiliate/payout/{id}"
tags: ["fs-affiliate-payout-controller"]
---

# updateFsAffiliatePayout

`PUT /core/api/v1/fsAffiliate/payout/{id}`

## Request

- Base URL: `https://api.freshlearn.com`
- URL: `https://api.freshlearn.com/core/api/v1/fsAffiliate/payout/{id}`
- Auth: none declared

## Path parameters

- `id` integer, required

## Headers

- `Authorization` string
- `domain` string
- `api-key` string

## Request body

- FsAffiliatePayoutDTO
  - `amount` number
  - `createdTime` integer
  - `currency` string
  - `id` integer
  - `paymentType` 'DD' | 'CHEQUE' | 'ONLINE' | 'CASH' | 'OTHER' | 'BANK_TRANSFER' | 'GIFT' | 'RECURRING' | 'STRIPE' | 'PAYPAL' | 'RAZORPAY'
  - `reference` string
  - `transactionDate` integer
  - `transactionId` string
  - `userId` integer

## Response `200`

OK

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/freshlearn/apis/freshlearn-api.md) · [All operations](https://skmtc.dev/freshlearn/apis/freshlearn-api/llms.txt) · [OpenAPI document](https://skmtc.dev/freshlearn/apis/freshlearn-api/revisions/8a82ee14b586?raw)
