I am writing a custom tender which will have the capability of doing partial approvals based on the sample for the gift card process I see that the entry point is the IPoyntTransactionService which captures/processes the transaction. I see there is a transaction object passed but I do not see if I can get the orderId and pull the order or better yet an order object directly. I also don’t see if I can get that passed over as an intent?
The backend I am working with can use the items in the basket to process the payment and return partial approvals based on allow lists and whatever is not approved is returned.
Is there a way to get access to the order object and pull the line items to turn that into a payment/transaction request for my backed?