---
title: "Get partner fee claim transactions"
method: POST
path: "/fee-share/partner-config/claim-tx"
tags: ["Partner"]
---

# Get partner fee claim transactions

`POST /fee-share/partner-config/claim-tx`

## Request

- Base URL: `https://public-api-v2.bags.fm/api/v1`
- URL: `https://public-api-v2.bags.fm/api/v1/fee-share/partner-config/claim-tx`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/bags/apis/bags-public-api-v2/docs/fee-share/partner-config/claim-tx/post.ts> (a function with typed inputs; its response is checked against the schema)

Generate transactions to claim accumulated partner fees

## Request body

- object
  - `partnerWallet` string, required: Public key of the partner wallet

## Response `200`

Successfully generated partner claim transactions

- object
  - `success` boolean, required
  - `response` object
    - `transactions` TransactionWithBlockhash[], required
      - `blockhash` BlockhashWithExpiryBlockHeight, required
        - `blockhash` string, required: Recent blockhash for the transaction
        - `lastValidBlockHeight` number, required: The last block height for which the blockhash is valid
      - `transaction` string, required: Base58 encoded serialized versioned transaction

## Other responses

- `400`: Bad request - Invalid parameters or no unclaimed fees
- `401`: Unauthorized - Invalid or missing API key
- `404`: Partner config not found
- `500`: Internal server error

---

[API](https://skmtc.dev/bags/apis/bags-public-api-v2.md) - [All operations](https://skmtc.dev/bags/apis/bags-public-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/bags/apis/bags-public-api-v2/revisions/4a14b82cd39d?raw)
