get_payment_links_batch
Retrieve up to 100 payment links by your reference IDs in a single call for batch order reconciliation. Returns found and missing IDs to identify unrecognized references quickly.
Instructions
Look up many payment links at once by your own reference IDs (1-100 per call).
Use this when reconciling a batch of orders — far cheaper than calling
`get_payment_link` in a loop. For a single order use `get_payment_link`, or
`check_order_paid` when the question is whether to deliver.
Reference IDs Wayl does not recognise are silently skipped rather than raising, so
`totalFound` below `totalRequested` is normal; the ones that came back missing are
listed under `missingReferenceIds`.
Returns Wayl's raw envelope — `data` alongside `totalRequested` and `totalFound` —
not the enriched record `get_payment_link` gives you. Rows carry no paid verdict:
only status Complete or Delivered counts as settled, and `total` is a string. This is
a POST that creates nothing, but it is not retried on a transient failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference_ids | Yes | Your own reference IDs — the ones you set when creating each link, not Wayl's internal `id`. Between 1 and 100 per call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||