Client area

MCP tool · Billing

create_payment_link

Get the payment URL for an invoice — the anonymous pay.inleed.com page where the customer pays by card, Swish or Payson in the browser.

create_payment_link
W Write

Description

Get the payment URL for an invoice — the anonymous pay.inleed.com page where the customer pays by card, Swish or Payson in the browser. Returns it as url (no login needed, safe to forward to whoever should pay) plus the logged-in invoice page as accountUrl. Creating the link spends nothing by itself; the human completes payment in the browser. Take the invoice_id from list_invoices.

Input

Name Type Description
invoice_id required integer The numeric invoice id to create a payment link for. Get it from list_invoicesdata[].id.

Example conversation

User

Pay invoice 367039.

Assistant

I cannot complete a card payment for you — here is a payment link you can open.

Illustrative. The assistant calls create_payment_link behind the reply; tier W decides whether it executes directly or returns a confirmation link.

Esc
navigate open Esc close