get_payment_link
Retrieve a payment link's details and status using your reference ID to inspect an order's total, timestamps, and checkout URL.
Instructions
Fetch one payment link by your reference ID, including its current status.
Use this to inspect a single order: status, total, timestamps, checkout url. To
answer "can I deliver yet?", call `check_order_paid` instead — it applies the
paid / safeToFulfil verdict rather than leaving you to interpret the status. For many
orders use `get_payment_links_batch`; to browse without knowing IDs use
`list_payment_links`.
Read-only, no side effects. The checkout `code` is returned only by link creation,
and `lineItem` and `webhookSecret` are never echoed back by any endpoint — this call
cannot recover them. `total` comes back as a string, so parse it before doing
arithmetic, and `env` is absent because Wayl never reports which environment a link
belongs to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference_id | Yes | Your own order reference ID, exactly as passed when the link was created. This is not Wayl's internal link `id`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||