Update a payment linkAsk AIput https://api.copperx.dev/api/v1/payment-links/{linkId}Updates a payment linkPath ParamslinkIdstringrequiredBody ParamstypestringenumrequiredPayment link typeone_timemultipleAllowed:one_timemultipleamountint64Amount to take from user in 8 decimal places. If not provided then user can enter any amountcurrencystringenumdeprecatedAmount's . This field is deprecated and will be removed in future versions. Use currencies and preferredCurrency instead.usdcusdtpyusdeurcbrettdaibtcethmaticbnbsolbusdtrxfoodbonkwifgoatspxtrufpenguShow 20 enum valuescurrenciesarray of objectsCurrencies in which amount is to be takencurrenciesADD stringpreferredCurrencystringenumPreferred currency. If provided then it will be selected by default on checkout pageusdcusdtpyusdeurcbrettdaibtcethmaticbnbsolbusdtrxfoodbonkwifgoatspxtrufpenguShow 20 enum valuestitlestringrequiredPayment link titledescriptionstringPayment link descriptionimagestringPayment link product imagetagsarray of stringsrequiredPayment link tagstags*ADD stringnameCollectionbooleanrequiredIf true then take name from usertruefalseemailCollectionbooleanrequiredIf true then take email from usertruefalsephoneNumberCollectionbooleanrequiredIf true then take phone number from usertruefalseshippingAddressCollectionbooleanrequiredIf true then take shipping address from usertruefalsebillingAddressCollectionbooleanrequiredIf true then take billing address from usertruefalsecustomFieldsobjectcustomFields objectsubmitTypestringenumrequiredPayment link submit typepaybookdonateAllowed:paybookdonateafterCompletionstringenumrequiredAfter completion action to perform on checkout pageredirecthosted_confirmationAllowed:redirecthosted_confirmationafterCompletionRedirectUrlstringAfter completion redirect url to redirect user to after paymentafterCompletionConfirmMsgstringAfter completion confirmation message to show to user after paymentsuggestedCurrencystringenumSuggested currency to take payment inusdcusdtpyusdeurcbrettdaibtcethmaticbnbsolbusdtrxfoodbonkwifgoatspxtrufpenguShow 20 enum valuessuggestedAmountsarray of stringsSuggested amounts to show on checkout page if amount is not providedsuggestedAmountsADD stringproductIdstringProduct id to take payment forallowPromotionCodesbooleanEnables user redeemable promotion codes.truefalseallowedChainsarray of objectsAllowed chains to take payment fromallowedChainsADD objectResponses 200 500Updated over 2 years ago