> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.littglobal.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.littglobal.com/_mcp/server.

# Add Reward Points

POST TBD/api/v2/users/add-reward-points
Content-Type: application/json

This API endpoint lets a partner (such as Konkrd) add reward points to a member. It is called server to server: it is restricted to the partner's IP addresses and does not use a user API token.

Sending the same `transaction_reference` again returns the original transaction and does not add the points twice, so retries are safe.

### Request Body

- `user_id` (string): The member's user ID.
    
- `transaction_reference` (string): The partner's unique reference for this award (max 100 characters).
    
- `points` (integer): The number of points to add (minimum 1).
    
- `description` (string, optional): Shown in the member's points history, for example "Bupa boost" (max 255 characters).
    

### Response

- `reward_point_transaction_id` (string): The ID of the points transaction.
    
- `user_id` (string): The member's user ID.
    
- `transaction_type` (string): `10` (Partner points).
    
- `description` (string): The description sent in the request.
    
- `points` (integer): The number of points added.
    
- `transaction_reference` (string): The reference sent in the request.
    
- `created_at` (string): When the points were added.
    

If the request is invalid or the `user_id` does not exist, `status` is `error` and `message` explains why.

Reference: https://docs.littglobal.com/litt-white-label/api-reference/reward-points/add-reward-points

## Request

### Body (application/json)

This endpoint expects an object.

- `api` (string, optional)
- `data` (ApiV2UsersAddRewardPointsPostRequestBodyContentApplicationJsonSchemaData, optional)

## Response

### 200

Add Reward Points

- `message` (string, optional)
- `api` (string, optional)
- `status` (string, optional)
- `data` (ApiV2UsersAddRewardPointsPostResponsesContentApplicationJsonSchemaData, optional)

## Types

### ApiV2UsersAddRewardPointsPostRequestBodyContentApplicationJsonSchemaData

- `user_id` (string, optional)
- `transaction_reference` (string, optional)
- `points` (integer, optional)
- `description` (string, optional)

### ApiV2UsersAddRewardPointsPostResponsesContentApplicationJsonSchemaData

- `reward_point_transaction_id` (string, optional)
- `user_id` (string, optional)
- `transaction_type` (string, optional)
- `description` (string, optional)
- `points` (integer, optional)
- `transaction_reference` (string, optional)
- `updated_at` (datetime, optional)
- `created_at` (datetime, optional)

## Examples

**Request**

```json
{
  "api": "add-reward-points",
  "data": {
    "user_id": "2ef350a0-f8cd-4730-8e29-9b5fc5db0ada",
    "transaction_reference": "KONKRD-AWARD-123",
    "points": 500,
    "description": "Health purchase"
  }
}
```

**Response**

```json
{
  "message": "Success",
  "api": "add-reward-points",
  "status": "success",
  "data": {
    "reward_point_transaction_id": "96c179e6-efa8-49c7-80c6-8e1023426eb",
    "user_id": "2ef350a0-f8cd-4730-8e29-9b5fc5db0ada",
    "transaction_type": "10",
    "description": "Health purchase",
    "points": 500,
    "transaction_reference": "KONKRD-AWARD-123",
    "updated_at": "2026-10-10T07:29:11.000000Z",
    "created_at": "2026-10-10T07:29:11.000000Z"
  }
}
```

**SDK Code**

```python Reward Points_addRewardPoints_example
import requests

url = "https://tbd/api/v2/users/add-reward-points"

payload = {
    "api": "add-reward-points",
    "data": {
        "user_id": "2ef350a0-f8cd-4730-8e29-9b5fc5db0ada",
        "transaction_reference": "KONKRD-AWARD-123",
        "points": 500,
        "description": "Health purchase"
    }
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Reward Points_addRewardPoints_example
const url = 'https://tbd/api/v2/users/add-reward-points';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: '{"api":"add-reward-points","data":{"user_id":"2ef350a0-f8cd-4730-8e29-9b5fc5db0ada","transaction_reference":"KONKRD-AWARD-123","points":500,"description":"Health purchase"}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Reward Points_addRewardPoints_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://tbd/api/v2/users/add-reward-points"

	payload := strings.NewReader("{\n  \"api\": \"add-reward-points\",\n  \"data\": {\n    \"user_id\": \"2ef350a0-f8cd-4730-8e29-9b5fc5db0ada\",\n    \"transaction_reference\": \"KONKRD-AWARD-123\",\n    \"points\": 500,\n    \"description\": \"Health purchase\"\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Reward Points_addRewardPoints_example
require 'uri'
require 'net/http'

url = URI("https://tbd/api/v2/users/add-reward-points")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n  \"api\": \"add-reward-points\",\n  \"data\": {\n    \"user_id\": \"2ef350a0-f8cd-4730-8e29-9b5fc5db0ada\",\n    \"transaction_reference\": \"KONKRD-AWARD-123\",\n    \"points\": 500,\n    \"description\": \"Health purchase\"\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java Reward Points_addRewardPoints_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://tbd/api/v2/users/add-reward-points")
  .header("Content-Type", "application/json")
  .body("{\n  \"api\": \"add-reward-points\",\n  \"data\": {\n    \"user_id\": \"2ef350a0-f8cd-4730-8e29-9b5fc5db0ada\",\n    \"transaction_reference\": \"KONKRD-AWARD-123\",\n    \"points\": 500,\n    \"description\": \"Health purchase\"\n  }\n}")
  .asString();
```

```php Reward Points_addRewardPoints_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://tbd/api/v2/users/add-reward-points', [
  'body' => '{
  "api": "add-reward-points",
  "data": {
    "user_id": "2ef350a0-f8cd-4730-8e29-9b5fc5db0ada",
    "transaction_reference": "KONKRD-AWARD-123",
    "points": 500,
    "description": "Health purchase"
  }
}',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Reward Points_addRewardPoints_example
using RestSharp;

var client = new RestClient("https://tbd/api/v2/users/add-reward-points");
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"api\": \"add-reward-points\",\n  \"data\": {\n    \"user_id\": \"2ef350a0-f8cd-4730-8e29-9b5fc5db0ada\",\n    \"transaction_reference\": \"KONKRD-AWARD-123\",\n    \"points\": 500,\n    \"description\": \"Health purchase\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Reward Points_addRewardPoints_example
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = [
  "api": "add-reward-points",
  "data": [
    "user_id": "2ef350a0-f8cd-4730-8e29-9b5fc5db0ada",
    "transaction_reference": "KONKRD-AWARD-123",
    "points": 500,
    "description": "Health purchase"
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://tbd/api/v2/users/add-reward-points")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```