Skip to main content
PATCH
Update a payment link
Update a payment link’s name, pricing, enabled payment methods, expiry, or branding.
type and usageType cannot be changed after creation — create a new link instead.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Note: type and usageType cannot be changed after creation.

name
string
description
string
pricing
object
enabledPaymentMethods
enum<string>[]
Available options:
mobile_money,
bank,
card,
crypto
paymentMethodConfig
object

Restricts which providers/currencies/networks/countries are offered per payment method. All fields optional — omit to allow everything enabled on your account.

maxUses
number
expiresAt
string<date-time>
collectCustomerInfo
object

Whether email, phone, name, and address are required, optional, or not collected at checkout.

afterPayment
object
callbackUrl
string
branding
object
metadata
object

Response

success
boolean
Example:

true

message
string
Example:

"Payment link updated successfully"

data
object