PATCH {{baseURL}}/v2/payment-links/{{paymentLinkId}}
This endpoint updates a payment link.
paymentMethods is replaced wholesale when present. A type absent from the new array stops being accepted. An entry without the processorId is pinned to the merchant's current default active processor of that type.
This endpoint returns the full updated payment link.
This endpoint requires a merchant API token. A partner API token will result in a permissions error including possibly a 403 response.
See Also:
To list payment links, see GET /v2/payment-links.
To retrieve a payment link by identifier, see GET /v2/payment-links/{{paymentLinkId}}.
To delete a payment link, see DELETE /v2/payment-links/{{paymentLinkId}}.
To share a payment link, see POST /v2/payment-links/{{paymentLinkId}}/share.
Specifies fields that should be changed, remain the same, or deleted.
This endpoint is a partial update.
- Send only the fields needed to be changed.
- An omitted field is left unchanged.
- A field marked as null clears a field.
Nested structures are also affected.
Identifies the payment methods a payment link or payment session accepts. It is keyed by method so each one carries only the configuration that applies to it.
At least one payment method must be enabled, card or ACH. For a payment session, omit this object to offer every payment method available to the merchant. A SaveMethod session does not accept this object. Both may be specified.
Specifies how taxRate and taxAmount is applied to amount.
| Name | Description |
|---|---|
| Exclusive | Adds the tax on top of amount. The payer is charged amount plus the tax. |
| Inclusive | Treats amount as already including the tax. No extra amount is added. |
A taxMode value must be used with exactly one of taxRate or taxAmount, or none of the three. When all three are omitted, the payment session has no tax configured.
Example: Exclusive
Specifies the tax rate percentage to apply to the base amount.
Valid values range from 0 to 100, with up to three decimal places.
A taxMode value must be used with exactly one of taxRate or taxAmount, or none of the three. When all three are omitted, the payment session has no tax configured.
Example: 8.25 (for 8.25%)
Specifies a fixed tax amount (in USD) to apply to the base amount.
This value has up to two decimal places and cannot be negative. This value requires a fixed baseAmount.
A taxMode value must be used with exactly one of taxRate or taxAmount, or none of the three. When all three are omitted, the payment session has no tax configured.
A response carries this value only when the tax was configured as an amount. Otherwise, it is null.
Examples:
3.75 (for $3.75)
null
Specifies the payment amount (in USD).
This value must be greater than zero when provided. An explicit null clears the amount to a flexible amount, where the customer enters the amount at checkout.
Example: 25 (for $25)
Specifies the transaction's currency code (in uppercase ISO 4217 currency code).
This value cannot be cleared, and the currency is frozen once the link has received payments.
Example: USD
Identifies the payment link type.
Valid values are:
| Type | Description |
|---|---|
| MultiUse | The link can be shared with, and paid by, more than one customer. |
| SingleUse | The link is intended for a single customer and a single payment. |
Example: SingleUse
Indicates the status of the payment link.
Valid values are:
| Status | Description |
|---|---|
| Active | The link is open and can accept a payment. |
| Completed | A SingleUse link that has received its one payment. |
| Expired | The link's expiresOn date has passed. |
| Inactive | The link was deactivated and cannot accept a payment. |
Example: Active
Specifies the customer the link is issued for.
An explicit null detaches the customer. The link's mode stays as it is. On a link created without a mode, attaching or detaching the customer also turns the save offer on or off.
On a MultiUse link, its payments, and any payment method a payer saves there, are recorded under this customer. For additional security, a payment page with MultiUse links and a customerId never shows the customer's details or saved methods.
Specifies key-value pairs to merge into the payment link's metadata.
A key with a value is added or replaced. A key set to null is removed. A key left out is kept. An explicit null removes every key.
The merged pairs must stay within the limits of the create request. Only payment sessions the link opens afterwards carry the change.
Example: {"orderId": "9922", "Guest notes": null}
{ "orderId": "9922", "Guest notes": null }
Specifies the whole list of questions the customer answers on the hosted page before paying. Arrays are not merged: this replaces the whole list.
Include an extraFieldId on an item to keep that field. Leave it out for a new field. An empty list or an explicit null removes every field.
Only payment sessions the link opens afterwards carry the change.
Specifies a reference identifier provided by the merchant.
An explicit null clears this value.
Example: ORDER-1042
Specifies the merchant-facing label for the payment link.
This value cannot be cleared.
Example: Spring campaign
Specifies merchant-internal notes for the payment link.
An explicit null clears this value.
- Sandbox environmenthttps://sandbox.api.flute.com/v2/payment-links/{paymentLinkId}
- Production environmenthttps://api.flute.com/v2/payment-links/{paymentLinkId}
// Language is not supported.Indicates the payment link identifier.
Example: 6f2a8b3c-9d4e-4f1a-8b7c-3e5d6a9f0c1b
Identifies the payment link type.
Valid values are:
| Type | Description |
|---|---|
| MultiUse | The link can be shared with, and paid by, more than one customer. |
| SingleUse | The link is intended for a single customer and a single payment. |
Example: SingleUse
Indicates whether payers are offered to save their payment method.
Valid values are:
| Name | Description |
|---|---|
| Payment | Takes a one-off payment. |
| PaymentAndSave | Takes the payment and also offers the payer to save their payment method. When the link has no customer, a customer is created for a payer who saves. A customerId alone does not turn saving on. |
This value is null when no mode is recorded for the link. This value cannot be changed through the API after the link is created. A merchant who adds a customer to the link in the merchant portal turns saving on, and removing the customer there turns it off.
Example: Payment
Indicates the key-value pairs attached to the payment link.
These pairs are copied into every payment session the link opens. This value is null when the link has none.
Example: {"orderId": "9921"}
{ "orderId": "9921", "Guest notes": "Member of The World of Hyatt Credit Card." }
Indicates every question the customer answers on the hosted page before paying, in the order shown.
These are copied into every payment session the link opens. This value is empty when the link has none.
Identifies the payment methods a payment link or payment session accepts. It is keyed by method so each one carries only the configuration that applies to it.
At least one payment method must be enabled, card or ACH. For a payment session, omit this object to offer every payment method available to the merchant. A SaveMethod session does not accept this object. Both may be specified.
Specifies how taxRate and taxAmount is applied to amount.
| Name | Description |
|---|---|
| Exclusive | Adds the tax on top of amount. The payer is charged amount plus the tax. |
| Inclusive | Treats amount as already including the tax. No extra amount is added. |
A taxMode value must be used with exactly one of taxRate or taxAmount, or none of the three. When all three are omitted, the payment session has no tax configured.
Example: Exclusive
Indicates the tax rate percentage to apply to the base amount.
Example: 8.25 (for 8.25%)
Indicates a fixed tax amount (in USD) to apply to the base amount.
A response carries this value only when the tax was configured as an amount. Otherwise, it is null.
Examples:
3.75 (for $3.75)
null
Indicates the payment amount.
If omitted or null, this value indicates the customer can enter the amount at checkout.
Example: 25 (for $25)
Indicates the transaction's currency code (in uppercase ISO 4217 currency code).
Example: USD
Indicates the status of the payment link.
Valid values are:
| Status | Description |
|---|---|
| Active | The link is open and can accept a payment. |
| Completed | A SingleUse link that has received its one payment. |
| Expired | The link's expiresOn date has passed. |
| Inactive | The link was deactivated and cannot accept a payment. |
Example: Active
Indicates the merchant-facing label for the payment link.
Example: Spring campaign
Indicates the merchant-internal notes for the payment link.
This value is never shown to customers.
Example: Shared with returning customers only
Indicates a shortened version of the URL to the invoice's public payment page.
These are generated by Flute and are the hosted page the customer opens to pay. This is the compact form. It is better suited for SMS messages, printed materials, anywhere character count or a tidy appearance matters.
Example: https://pay.example.com/l/abc123
Indicates the customer the link is issued for.
If omitted or null, this value is for an anonymous link.
Example: a3b37f26-3b4c-4d5e-6f7a-8b9c0d1e2f58
Indicates the first name of the attached customer, when any.
Example: Alexandro
Indicates the last name of the attached customer, when any.
Example: Peppared
Indicates the reference identifier provided by the merchant.
Example: ORDER-1042
Indicates the UTC expiration date-time (in an ISO 8601 UTC date-time format).
This value is null when the link never expires.
Example: 2029-09-15T00:00:00.604Z
Indicates the number of successful payments received.
Example: 3
Indicates the sum of all successful payment amounts (in USD).
Example: 75 (for $75)
Indicates the date-time (in an ISO 8601 UTC date-time format) the payment link was created on.
Example: 2026-01-15T10:30:56.264Z
Indicates the date-time (in an ISO 8601 UTC date-time format) of the newest successful payment.
This value is null when no payments exist.
Example: 2026-03-10T18:42:11.264Z
{ "paymentLinkId": "6f2a8b3c-9d4e-4f1a-8b7c-3e5d6a9f0c1b", "linkType": "SingleUse", "mode": "Payment", "metadata": { "orderId": "9921", "Guest notes": "Member of The World of Hyatt Credit Card." }, "extraFields": [ { "extraFieldId": "6f1c2a52-8a51-4d2e-9a5e-1b2c3d4e5f60", "name": "Invoice number", "description": "Found at the top of your invoice, next to \"Invoice #\".", "isRequired": true } ], "paymentMethods": { "card": { "enabled": true, "processorId": "d529945e-8d10-4cb4-9dc3-718e57f3f14e" }, "ach": { "enabled": true, "processorId": "d529945e-8d10-4cb4-9dc3-718e57f3f14e", "fasterProcessing": true } }, "taxMode": "Exclusive", "taxRate": 8.25, "taxAmount": 3.75, "baseAmount": 25, "currencyCode": "USD", "paymentLinkStatus": "Active", "name": "Spring campaign", "description": "Shared with returning customers only", "shortUrl": "https://pay.example.com/l/abc123", "customerId": "a3b37f26-3b4c-4d5e-6f7a-8b9c0d1e2f58", "customerFirstName": "Alexandro", "customerLastName": "Peppared", "referenceId": "ORDER-1042", "expiresOn": "2029-09-15T00:00:00.604Z", "paymentCount": 3, "totalCollectedAmount": 75, "createdOn": "2026-01-15T10:30:56.264Z", "lastPaymentOn": "2026-03-10T18:42:11.264Z", "modifiedOn": "2026-07-07T14:09:31.264Z" }