Payment links concept
Last updated
Last updated
Payment Links are an add-on feature for Invoices and Payouts. While both Invoices and Payouts can be created independently with predefined cryptocurrencies and networks via dedicated endpoints, Payment Links enable merchants to extend the payment flow. By creating a Payment Link, you can redirect customers and end-users to a Payment Link page hosted by Txn, where they can select the cryptocurrency and network they prefer to use for payment.
These links initiate the creation of invoices and emit invoice webhook messages to notify merchants about the status of invoice payments.
Read more about the Invoices Concept and Invoice Payment Flow to gain a complete understanding of how the entire process works.
These links perform a similar function for payouts, triggering the creation of payouts and emitting corresponding webhook messages to update merchants on payout statuses.
Read more about the Payouts Concept and Payout Payment Flow to gain a complete understanding of how the entire process works.
Payment Links do not share their statuses with child Invoices and Payouts; they are independent entities. Refer to the list of Payment Link statuses in the table below.
For information on possible statuses for Invoices and Payouts, please refer to the corresponding documentation:
created
N
This is the initial status of the Payment Link, which will later update to either Completed if your end-user takes action, or Expired.
completed
Y
This is the final status, indicating that your end-user has successfully initiated a child Invoice or Payout through the Payment Link. As a result, the Payment Link is considered Completed.
expired
Y
This is the final status, indicating that your end-user did not proceed with initiating their deposit or withdrawal transaction while the Payment Link was pending.
A Payment Link is created to allow an end-user to select their preferred cryptocurrency (coin) and network for completing a transaction:
After clicking Continue, Txn creates an invoice and redirects the end-user to the invoice page hosted by Txn:
A Payment Link is created to enable an end-user to select their preferred cryptocurrency (coin) and network, as well as submit their wallet address to complete the transaction:
After clicking Continue, the end-user is prompted to review their payout details before the cryptocurrency transaction is sent to their wallet address:
After clicking Confirm, Txn initiates a cryptocurrency transaction to the end-user's wallet address: