How do I find which Items were included in a batch through the API?

If you have received a disbursement from Assembly Payments with a batch id (2900 for example), you can use this ID to find the Item.

To do this run the following two GET queries against the batch_transaction end point:

  • GET /batch_transactions?batch_id=2002
  • GET /batch_transaction/:id/items (where :id is the disbursement ID from above)

Once you have the relevant Item ID, you can use then this to identify the User.