v1
latestOpenAPI 3.0.02026-07-24103118224.7 KBLinks
Update a payment link
Updates the details of an existing payment link
patch/api/link/{id}
Path parameters
idstring required
Example:link_1234567890abcdef
Unique identifier of the link
Request body
Example request
{
"name": "Monthly subscription link",
"status": "enabled",
"sessionCustomization": {
"bgColor": "#ffffff",
"fontColor": "#000000"
},
"statementDescriptor": "MY BRAND",
"defaultBillingCountry": "FR",
"metadatas": {
"internalOrderId": "ORDER-123"
}
}Response
Update a payment link successful
Example response
{
"id": "link_1234567890abcdef",
"name": "Product A and 2 more",
"amount": 5000,
"currency": "EUR",
"status": "enabled",
"products": [
{
"name": "Product A",
"price": 1000,
"quantity": 2
}
],
"paymentIds": [
"payment_abc123",
"payment_def456"
],
"sessionCustomization": {
"bgColor": "#FF5733",
"fontColor": "#FFFFFF",
"logoUrl": "https://example.com/logo.png",
"merchantName": "My Store"
},
"paymentLinkUrl": "https://checkout.inflowpay.com/l/link_1234567890abcdef",
"statementDescriptor": "MY BRAND",
"createdAt": "2025-10-09T10:00:00.000Z",
"updatedAt": "2025-10-09T12:00:00.000Z"
}