NATS4 REST API Add Affiliate Manual Invoice
From TMM Wiki
POST /affiliate/invoice
Description
- This function add a manual invoice for an affiliate.
Resource URL
- http://domain/api/affiliate/invoice
- Replace domain with the NATS domain
- POST
Response Format
- JSON
- HTTP headers
Parameters
Paremeters must be sent with the request body. The examples below show the parameters sent as x-www-form-urlencoded
- loginid
- type: int
- required
- amount
- type: string
- required
Example Request
POST
http://domain/api/affiliate/invoice
- Response:
[ { "result": true } ]