Update
Updates an existing payment link within the specified account. Only mutable fields are accepted in the request body.
Authorizations
JWT issued by POST /api/v1.1/access-token/b2b. Send Authorization: Bearer <token>.
Merchant API key (Credential.api_key). Required on every request.
Path Parameters
Account identifier in ULID format.
Payment link identifier (payment_links.id).
Body
Maximum number of times this link may be used for payment. Must be greater than or equal to the current usage count.
1 <= x <= 10000001
Payment link lifecycle status.
open, closed, expired "open"
Whether customer details are required at checkout. If omitted, defaults to false.
true
Optional expiration time as a Unix timestamp in milliseconds (13 digits).
^\d{13}$"1705305600000"
Restricts accepted payment methods for this link. Send an empty array to allow all active payment-link methods. Each entry must be a valid payment method code from the payment methods catalog.
Optional URL to redirect the payer after payment flow completion.
2048"https://example.com/payment-link"
Optional merchant-defined metadata for this payment link.
{ "invoice_number": "INV20240513001" }