Updates an existing payment link. Only payment links that haven’t been paid or expired can be updated.
Authentication using Bearer tokens. Include your API key in the Authorization header.
Key Types:
sk_test_*
for development and testingsk_*
for production environmentspk_test_*
or pk_*
for client-side operations📩 Need access? Contact Support to request your API keys.
Usage:
Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc
A unique key to prevent duplicate operations. Use the same key for retries to ensure idempotent behavior.
Best Practices:
Idempotent-Replayed
header for cache hits1 - 255
Unique identifier for the payment link. Must be a valid payment link ID.
"pl_6phg74i4jG9wbzZbFDUQB"
Request payload for updating an existing payment link. Only payment links that haven't been paid can be updated.
Payment link updated successfully
A payment link represents a request for payment that can be shared with customers. Payment links have a lifecycle that includes creation, potential updates, and eventual completion or expiration.