When an order has multiple customers, is there a way to figure out which customer belongs to which payment via the rest api? Or how much each customer paid?
I don't believe so. Customers belong to orders, not payments. In a split scenario it is the payment that is split, not the order. This seems to be confirmed on the Clover merchant dashboard -> customers. In a split scenario a customer will be associated with the order and the full amount of the order will be listed.
Thanks for the answer David. So does this mean that on a split, there is no way to figure out how much each customer paid? Seems odd.
Correct, there may be something I am missing but I don't see a way to do that.
2 People are following this question.
Change order state to locked without payment
500 Internal Server Error on export api while pulling orders.
Fetching all orders using REST API instead of orders as per provided timestamp
Best way to fetch Sales data of items of a merchant?
How should I backfill merchants’ orders (and payment) data in my app?