API v1FiatPe Home
FiatPeDocs

Update Payment Link

PUThttps://api.fiatpe.com/v1/payment-links//v1/payment-links/
Copy

Updates the supported details of an existing payment link using its unique payment link ID, such as the expiry time, reference ID, reminders, and metadata.

Headers

Sent as Authorization: Basic base64(Api Key:Salt Key)

Path Parameters

payment_link_id*string

Body Parameters

reference_idstring

A unique identifier assigned by the merchant to track and reconcile the payment link. It must be unique for each payment link and can contain up to 40 characters.

metadatajson object

A set of custom key-value pairs used to store additional information about the customer. You can provide up to 15 entries. Each key can contain 1–50 characters, and each value can contain up to 200 characters.

expires_atinteger

The Unix timestamp indicating when the payment link will expire. After this time, the customer can no longer use the link to make a payment.

enable_remindersboolean

Indicates whether automatic payment reminders should be sent to the customer before the payment link expires. Set it to true to enable reminders or false to disable them.