roi_trace
Trace the timeline behind a credit ROI figure for exactly one customer or partner, listing grants, credit used, and later cash payments to explain why the number is what it is.
Instructions
The timeline behind a credit ROI figure for ONE customer (customerRef) or ONE partner (partnerId); pass exactly one. It lists grants, credit used, and the cash payments after, so you can explain why a number is what it is. Cash is real money paid; credit is not. Profit fields are null when no margin is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| partnerId | No | A Referalli partner id. | |
| customerRef | No | The merchant's own customer id. |