Update Link
Changed onUpdates the expiration time of a payment link identified by its unique ID. Pushing the expiration of an already expired link back into the future makes it active again. A link that is cancelled or finalized answers with a 409. The updated link comes back wrapped in a data object.
Required scope: <code style="background:#e8f0fe;color:#1a73e8;padding:2px 8px;border-radius:12px;font-size:0.85em">link:update</code>
Request
- Base URLhttps://api.test.easypay.pt/2.0
- AuthAPI key in header AccountId and API key in header ApiKey
Path parameters
Unique identifier of the payment link.
Request body
RFC3339 formatted time for the link expiration date
Response
OK
Example response
{
"data": {
"created_at": "2025-06-16T13:32:32Z",
"modified_at": "2025-06-16T13:32:32Z",
"expiration_time": "2026-06-10T09:27:55Z",
"customer": {
"name": "Jonh Doe",
"email": "example@easypay.pt",
"phone": "+351911234567"
},
"communication_channels": [
"SMS"
],
"payment": {
"methods": [
"MBW"
],
"single": {
"requested_amount": "10.45"
},
"frequent": {
"minimum_amount": "5",
"maximum_amount": "10"
},
"subscription": {
"maximum_captures": 100,
"start_time": "2025-01-15"
}
},
"url": "https://easypay.pt/s/XStDvnMKZaN",
"image": "https://cdn.easypay.pt/images/qr/XStDvnMKZaN"
}
}Changes
- breaking
the
invalid_paramsresponse's property type changed fromobjecttoarrayfor status - breaking
the
statusresponse's property type changed fromstringtonumberfor status - warning
removed the optional property
communication_channelsfrom the response with the status
35 more changes in this revision
- breaking