Is it possible to pass a line item array into a webhook?
Yes, what I normally do is pass a single parameter as a JSON string, and then parse that on the other end (usually Make).
Would you make the json string with the template column?
I generally use a Helper Table, and construct the JSON using one or more of the following columns:
- Make JSON
- Template
- JavaScript
- Joined List
- If-then-else
Every use case is different, but the general approach is something like:
- One row per item
- Make JSON column to construct a JSON string for each row
- If-then-else column to discard rows that aren’t required
- Joined List to gather up all the line items
- Template to wrap them up into a valid JSON string.
Presumably you would expect to see 13952.32?
Looks like Make is rounding it to 13952, and then Paystack is interpreting it as 139.52
What if you send it as 1395232? (eg multiply it by 100 before sending)
Got it to work thanks @Darren_Murphy. Just took the amount and multiplied it by 100 and sent that as the value.
You legend!
Cool ![]()


