v1
latestOpenAPI 3.0.02026-07-24103118224.7 KBLinks
Create a payment link
Creates a new payment link that can be shared with customers
post/api/link
Request body
Example request
{
"currency": "EUR",
"status": "enabled",
"items": [
{
"priceId": "price_1234567890abcdef",
"productId": "pro_1234567890abcdef",
"quantity": 1
}
],
"sessionCustomization": {
"bgColor": "#ffffff",
"fontColor": "#000000"
},
"statementDescriptor": "MY BRAND",
"defaultBillingCountry": "FR"
}Response
Create 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"
}