Add a bonus to an affiliate
POST
https://api.tamio.com/v2/affiliates/bonus/add/{uuid}
Adds a bonus amount to an affiliate partner's balance. The amount is specified in the smallest currency unit (e.g., cents).
Path Parameters
uuid
string*
UUID of the affiliate to add the bonus to.
Body Parameters
amount
integer*
Bonus amount in the smallest currency unit.
Responses
200
Bonus added successfully.
Bonus added successfully.
status
integer
affiliate
Affiliate
400
Validation or business logic error. Possible causes:
Validation or business logic error. Possible causes:
uuidis missing, not a string, or not a valid UUIDamountis missing, not an integer, zero, or negative- Additional properties present
Error codes:
| Code | Description |
|---|---|
| 1002 | Affiliate not found |
status
integer
error
string
error_code
integer
401
Missing or invalid Bearer token.
Missing or invalid Bearer token.
status
integer
error
string