# Make this the payout account

`POST /lokta-lms/api/v1/sourcing-partners/{partnerId}/bank-accounts/{bankAccountId}/primary`

Makes a payout account the primary one for a sourcing partner.

Promotes this account and demotes the incumbent **in one transaction**. Exactly one primary is permitted per partner, so two separate requests would either leave a window with no payout account or be refused, which is why this is a verb of its own rather than a PATCH setting a flag.

`reason` is required: this decides where the lender's money goes, and the reason is what makes the change auditable. An account that failed verification cannot be promoted; routing a payout into an account the bank already rejected is not a state to allow.

## Parameters
- `partnerId` (path, string, required)
- `bankAccountId` (path, string, required): Opaque account id, spb_…
- `Idempotency-Key` (header, string): Per-intent key

## Request body (application/json)
- `reason` (string, required): Why this account becomes the payout account.

## Responses
- `default`: default response

## Example request (cURL)
```bash
curl -X POST \
  'https://default.lokta.tech/lokta-lms/api/v1/sourcing-partners/{partnerId}/bank-accounts/{bankAccountId}/primary' \
  -u '{username}:{password}' \
  -H 'Tenant-Identifier: default' \
  -H 'Content-Type: application/json' \
  -d '{
  "reason": "string"
}'
```

Interactive: https://developer.lokta.ai/reference#operation/makePrimary
