---
title: "Give rewards to the affiliates"
method: POST
path: "/admin/rewards"
tags: ["rewards"]
---

# Give rewards to the affiliates

`POST /admin/rewards`

## Request body

- object
  - `rewards` object[]
    - `amount` integer — Reward amount to give to the affiliate
    - `type` 'signup_bonus' | 'sale_commission' | 'recruitment_bonus' | 'target_bonus'
    - `metadata` string — Any piece of metadata you wish to attach with this entry
    - `order_id` string — Required for reward type of sale_commission. The order id for whom this upline level commission is given
    - `level` string — Optional. Only valid for reward type of sale_commission. The upline level number
    - `status` 'pending' | 'approved' | 'rejected'

## Response `200`

- object
  - `success` boolean

## Other responses

- `403` — Not authenticated

---

[API](https://skmtc.dev/goaffpro/apis/goaffpro-api.md) · [All operations](https://skmtc.dev/goaffpro/apis/goaffpro-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goaffpro/goaffpro-api/revisions/832de9c7d0ae/schema)
