Payment API - Understanding Payment Records vs Check Numbers

Hi everyone,

I'm working with the Financial Edge Treasury API (treasury/v1/payments/createpayment) and have questions about how payment records work when paying multiple invoices.

Looking at the API documentation example, when paying 2 invoices with starting_check_number 1619, the response returns check_numbers: [1619, 1620].

My Questions:

  1. Payment Record Structure: Does this create one payment record that issued multiple checks, or does each check number represent a separate payment record?
  2. Payment ID: How can I get the payment record ID(s) from the API response? The response only includes check numbers, but I need to track the actual payment record for future reference.
  3. Single Payment Option: Is it possible to pay multiple invoices and get back a single payment record with one check number, or does Financial Edge always create separate checks per invoice?

I need to understand the relationship between the payment record(s) created and the check numbers returned so I can properly track and reference these payments later.

Thanks for any help!