Update payment link
Update a payment link.
To access this endpoint using an access token
you'll need to specify the /accounts/{accountID}/transfers.write scope.
curl -X PATCH "https://api.moov.io/accounts/{accountID}/payment-links/{paymentLinkCode}" \
-H "Authorization: Bearer {token}" \
-H "X-Moov-Version: v2027.01.00" \
-d '{
"amount": {
"currency": "USD",
"value": 12099
},
"payout": {
"allowedMethods": [
"push-to-card",
"rtp-credit"
],
"recipient": {
"email": "jordan@example.com"
},
"feePaidBy": {
"instant-push-to-card": "destination",
"deferred-push-to-card": "source",
"rtp-credit": "destination"
}
}
}'{
"code": "3QLHtONjd5",
"paymentLinkType": "payment",
"mode": "sandbox",
"status": "active",
"partnerAccountID": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"merchantAccountID": "34233b72-780c-4e0e-8b08-cbbe1bc878f8",
"ownerAccountID": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"merchantPaymentMethodID": "4c4e7f8e-81f4-4f3d-8f6f-6f6e7f8e4c4e",
"link": "https://moov.link/p/3QLHtONjd5",
"amount": {
"currency": "USD",
"value": 10000
},
"amountDetails": {
"tax": {
"currency": "USD",
"valueDecimal": "8.25"
}
},
"uses": 0,
"display": {
"title": "Example Payment Link",
"description": "This is an example payment link.",
"callToAction": "pay"
},
"customer": {
"requirePhone": true,
"tippingEnabled": true
},
"payment": {
"allowedMethods": [
"card-payment",
"ach-debit-collect"
]
},
"updatedOn": "2025-01-09T17:09:13.33Z",
"createdOn": "2025-01-09T17:09:13.33Z"
}Response headers
x-request-id
string
required
{
"error": "string"
}Response headers
x-request-id
string
required
Response headers
x-request-id
string
required
Response headers
x-request-id
string
required
Response headers
x-request-id
string
required
{
"error": "string"
}Response headers
x-request-id
string
required
{
"amount": {
"currency": "string",
"value": "string"
},
"expiresOn": "string",
"display": {
"title": "string",
"description": "string",
"callToAction": "string"
},
"payment": {
"allowedMethods": "string",
"cardDetails": {
"dynamicDescriptor": "string"
},
"achDetails": {
"companyEntryDescription": "string",
"originatingCompanyName": "string"
},
"metadata": "string"
},
"payout": {
"allowedMethods": "string",
"recipient": {
"email": "string",
"phone": {
"number": "string",
"countryCode": "string"
}
},
"metadata": "string",
"pushOptions": {
"allowedSpeeds": "string",
"deferredBy": "string"
},
"feePaidBy": "string"
},
"customAmountPayment": {
"allowedMethods": "string",
"cardDetails": {
"dynamicDescriptor": "string"
},
"achDetails": {
"companyEntryDescription": "string",
"originatingCompanyName": "string"
},
"metadata": "string",
"amountRange": "string",
"suggestedAmounts": "string"
},
"lineItems": {
"items": {
"property1": {
"productID": "string",
"name": "string",
"basePrice": {
"currency": "string",
"valueDecimal": "string"
},
"options": {
"property1": {
"name": "string",
"group": "string",
"priceModifier": {
"currency": "string",
"valueDecimal": "string"
},
"quantity": "string"
},
"property2": {
"name": "string",
"group": "string",
"priceModifier": {
"currency": "string",
"valueDecimal": "string"
},
"quantity": "string"
}
},
"quantity": "string"
},
"property2": {
"productID": "string",
"name": "string",
"basePrice": {
"currency": "string",
"valueDecimal": "string"
},
"options": {
"property1": {
"name": "string",
"group": "string",
"priceModifier": {
"currency": "string",
"valueDecimal": "string"
},
"quantity": "string"
},
"property2": {
"name": "string",
"group": "string",
"priceModifier": {
"currency": "string",
"valueDecimal": "string"
},
"quantity": "string"
}
},
"quantity": "string"
}
}
},
"amountDetails": {
"tax": "string",
"surcharge": "string"
}
}Response headers
x-request-id
string
required
Response headers
x-request-id
string
required
Response headers
x-request-id
string
required
Response headers
x-request-id
string
required
Headers
X-Moov-Version
string
v2026.08.00 uses v2026.07.00.
A malformed value, such as 2022, returns a 404 response.
v2027.01.00
Path parameters
Body
amountDetails
object
customAmountPayment
object
payment link, but the payor chooses how much to
pay rather than the merchant fixing the amount. The amount may optionally be constrained to a range.
Show child attributes
customAmountPayment
achDetails
object
allowedMethods
array<string>
apple-pay,
card-payment,
ach-debit-collect,
google-pay
amountRange
object
The minimum and maximum amounts the payor can specify.
When omitted, the payor may enter any amount. Both bounds must use USD.
If either minimum or maximum is omitted, the range is "open" on that end:
minimum specified: amt >= minimum
maximum specified: amt <= maximum
both specified: minimum <= amt <= maximum
display
object
lineItems
object
Show child attributes
lineItems
items
array<object>
Show child attributes
lineItems.items[]
imageIDs
array<string>
deprecated
options
array<object>
Show child attributes
lineItems.items[].options[]
group
string
<=100 characters
imageIDs
array<string>
deprecated
Optional list of images associated with this line item option.
This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
payment
object
Show child attributes
payment
allowedMethods
array<string>
apple-pay,
card-payment,
ach-debit-collect,
google-pay
payout
object
Show child attributes
payout
allowedMethods
array<string>
push-to-card,
rtp-credit,
ach-credit-same-day,
ach-credit-standard,
push-to-apple-pay,
push-to-google-pay,
instant-bank-credit
feePaidBy
object
Indicates which party pays the fee, keyed by PayoutFeePaidByKey. If keys are not set,
the default is source.
Possible PayoutFeePaidByKey keys: instant-push-to-card, deferred-push-to-card, instant-push-to-apple-pay, deferred-push-to-apple-pay, rtp-credit, ach-credit-same-day, ach-credit-standard, push-to-google-pay
pushOptions
object
push-to-card and push-to-apple-pay payouts.
Show child attributes
payout.pushOptions
Response
display
object
required
merchantPaymentMethodID
string
required
paymentLinkType
string<enum>
required
payment,
payout,
invoice-payment,
custom-amount-payment
amount
object
The fixed amount of the payment link.
In API versions before 2026.07.00, this was a required field.
In API version 2026.07.00 and beyond, this field is present for payment and payout links and omitted
for customAmountPayment links, where the payor chooses the amount.
amountDetails
object
customAmountPayment
object
payment link, but the payor chooses how much to
pay rather than the merchant fixing the amount. The amount may optionally be constrained to a range.
Show child attributes
customAmountPayment
allowedMethods
array<string>
required
apple-pay,
card-payment,
ach-debit-collect,
google-pay
achDetails
object
amountRange
object
The minimum and maximum amounts the payor can specify.
When omitted, the payor may enter any amount. Both bounds must use USD.
If either minimum or maximum is omitted, the range is "open" on that end:
minimum specified: amt >= minimum
maximum specified: amt <= maximum
both specified: minimum <= amt <= maximum
lineItems
object
Show child attributes
lineItems
items
array<object>
required
Show child attributes
lineItems.items[]
options
array<object>
Show child attributes
lineItems.items[].options[]
group
string
<=100 characters
images
array<object>
Show child attributes
lineItems.items[].options[].images[]
maxUses
integer<int64>
An optional limit on the number of times this payment link can be used.
For payouts, maxUses is always 1.
payment
object
Show child attributes
payment
allowedMethods
array<string>
required
apple-pay,
card-payment,
ach-debit-collect,
google-pay
payout
object
Show child attributes
payout
allowedMethods
array<string>
required
push-to-card,
rtp-credit,
ach-credit-same-day,
ach-credit-standard,
push-to-apple-pay,
push-to-google-pay,
instant-bank-credit
recipient
object
required
Specify the intended recipient of the payout.
Either email or phone must be specified, but not both.
This information will be used to authenticate the end user when they follow the payment link.
feePaidBy
object
Indicates which party pays the fee, keyed by PayoutFeePaidByKey. If keys are not set,
the default is source.
Possible PayoutFeePaidByKey keys: instant-push-to-card, deferred-push-to-card, instant-push-to-apple-pay, deferred-push-to-apple-pay, instant-bank-credit (API v2026.01.00 and later), rtp-credit, ach-credit-same-day, ach-credit-standard, push-to-google-pay
pushOptions
object
push-to-card and push-to-apple-pay payouts.
Show child attributes
payout.pushOptions