Payment links concept
A Payment Link is a Txn-hosted page that lets your end user select the cryptocurrency and network they want to use before a transaction is created. You create the link via API, send your end user to the hostedPageUrl, and Txn handles the rest — creating the child invoice or payout once the user makes their selection.
Payment links work with both invoices and payouts:
Invoice payment links — the end user picks a cryptocurrency to pay with. Txn creates a child invoice and redirects them to the invoice payment page.
Payout payment links — the end user picks a cryptocurrency and submits their wallet address. Txn creates a child payout and sends funds to that address.
If your own checkout collects the cryptocurrency choice, you can create the child invoice of an invoice payment link directly with Creating payment link payment instead of sending the end user to the hosted page.
Invoice payment links
See Invoices concept and Invoice status flow for details on the child invoice lifecycle.
Payout payment links
See Payouts concept and Payout status flow for details on the child payout lifecycle.
Payment link status
Payment link status is independent of its child invoice or payout status.
created
No
The link has been created. The end user has not yet interacted with the hosted page.
pending
No
The end user has selected a cryptocurrency and network, and the child invoice or payout was created. The link stays pending until the child completes, including when a child invoice expires unpaid while the link is still valid.
completed
Yes
The child invoice was paid, or the child payout completed.
expired
Yes
The payment link expired before the end user completed the flow, or was manually expired via the Expire Payment Link endpoint.
For child invoice and payout statuses:
Hosted page examples
Invoice payment link
The end user first selects a cryptocurrency:

Then the end user selects the network and clicks Continue to payment:

Txn creates an invoice and redirects the end user to the invoice payment page, which shows the exact amount to send, the address and network, and the time left before the invoice expires:

Payout payment link
The end user selects a cryptocurrency and network, and enters their wallet address:

After clicking Continue, the end user reviews the payout details, including the fees and the amount they will receive:

After clicking Confirm, Txn initiates the cryptocurrency transfer to their wallet:

Last updated