Pay By Link
Create a payment link
Generates a link that takes customers straight to a secure and ready-to-pay checkout.
Required scope: <code style="background:#e8f0fe;color:#1a73e8;padding:2px 8px;border-radius:12px;font-size:0.85em">link:create</code>
post/link
Request body
Example request
{
"expiration_time": "2026-06-10T09:27:55.339Z",
"customer": {
"name": "Jonh Doe",
"email": "example@easypay.pt",
"phone": "+351911234567"
},
"communication_channels": [
"SMS"
],
"payment": {
"methods": [
"MBW"
],
"single": {
"requested_amount": "10.45"
},
"subscription": {
"maximum_captures": 100,
"start_time": "2025-01-15 00:00"
}
}
}Response
Created
Example response
{
"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 00:00"
}
},
"url": "https://easypay.pt/s/XStDvnMKZaN",
"image": "https://cdn.easypay.pt/images/qr/XStDvnMKZaN"
}