Create a link from the dashboard
Navigate to Dashboard → Payment Links (/dashboard/payment-links). You will see two creation cards side by side: one for a fixed-amount link and one for a flexible open-amount link.
Open the Payment Links page
In the left sidebar, click Payment Links. You must have your Freighter wallet connected before this page loads.
Fill in the link details
In the Create Payment Link card, complete the following fields:
| Field | Required | Description |
|---|---|---|
| Amount (XLM) | Yes (unless flexible) | The fixed amount in XLM your client will pay. |
| Purpose | No | A human-readable label for this payment (e.g. “Invoice #1042”). |
| Client name | No | The name of the client you are sending this link to. |
| Workflow stage | No | The stage in your onboarding or payment workflow this link belongs to. |
To create an open-amount link — where the client enters any amount — use the Pay Any Amount card instead. Toggle Flexible amount on and all amount validation is skipped.
Generate the link
Click Create link. Hypertron creates a database record and returns a shareable URL and QR code within a second.
What you receive after creation
After the link is created, Hypertron returns the following values. You can see these in the dashboard or retrieve them from the API.| Field | Example | Description |
|---|---|---|
linkId | clx9z2a0f000008js... | Unique database ID for this link. |
url | https://app.hypertron.io/pay/clx9z... | The shareable payment page URL. |
qrPayload | Same as url | Payload encoded in the QR code. |
memo | hpl_lf2k3x_a9bc12de | The Stellar transaction memo that identifies this payment. |
amount | 250 | Fixed amount in XLM, or empty string if flexible. |
destinationAddress | GXXXXXXXX... | The Stellar pool address funds are sent to. |
Create a link via the API
If you want to generate payment links programmatically — for example inside your own onboarding system — use the REST endpoint directly.Request
amount and add "flexibleAmount": true:
Request body fields
Your Hypertron business ID. Find it in Dashboard → Settings.
Fixed amount in XLM. Required unless
flexibleAmount is true.Set to
true to create an open-amount link where the client enters any value they choose.Short label for the payment, shown on the payment page (e.g.
"Invoice #1042").Name of the client, shown on the payment page.
Workflow stage this link belongs to. Use any string that maps to your internal process (e.g.
"KYB complete", "Contract signed").Response
Error responses
| Status | Error | Cause |
|---|---|---|
400 | businessId required | You omitted the businessId field. |
400 | amount required (or set flexibleAmount: true…) | Fixed-amount link with no amount provided. |
404 | Business not found | The businessId does not match any record. |
500 | Database error | The server encountered a database error. Contact your administrator. |
List existing links
Retrieve all payment links for a business with a GET request:url, paidAt (if paid), paymentTxHash, and commitmentTxHash.
