---
title: "Mint points"
method: POST
path: "/v1/loyalty/account/{id}/mint"
tags: ["Loyalty"]
---

# Mint points

`POST /v1/loyalty/account/{id}/mint`

## Request

- Base URL: `https://api.prod.keyban.io`
- URL: `https://api.prod.keyban.io/v1/loyalty/account/{id}/mint`
- Auth: API key in header `X-Api-Key`

Mint on-chain loyalty points for the specified account and update its optimistic balance for manual reward adjustments.

## Path parameters

- `id` string, uuid, required

## Request body

- LoyaltyAccountMintDto: Payload for minting loyalty account balance (amount)
  - `amount` union, required: Amount to mint for the loyalty account. Accepts numeric or string values and is converted to a BigInt for internal processing.
    - string
    - number

## Response `200`

- LoyaltyAccountMintResponseDto
  - `newamount` number, required: New optimistic balance after mint (number)

---

[API](https://skmtc.dev/keyban/apis/keyban-rest-apis.md) · [All operations](https://skmtc.dev/keyban/apis/keyban-rest-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/keyban/apis/keyban-rest-apis/revisions/0bb79a1da961?raw)
