JSON ข้อความ · Message objectflexlay-payment-receipt.json
{
"type": "flex",
"altText": "ชำระเงินสำเร็จ ฿1,250.00 เลขอ้างอิง 2569121512345",
"contents": {
"type": "bubble",
"size": "kilo",
"body": {
"type": "box",
"layout": "vertical",
"paddingAll": "xl",
"contents": [
{
"type": "box",
"layout": "vertical",
"width": "56px",
"height": "56px",
"offsetStart": "0px",
"cornerRadius": "28px",
"justifyContent": "center",
"backgroundColor": "#15803D",
"contents": [
{
"type": "text",
"size": "xxl",
"text": "✓",
"align": "center",
"color": "#FFFFFF",
"weight": "bold"
}
]
},
{
"type": "text",
"size": "lg",
"text": "ชำระเงินสำเร็จ",
"color": "#15803D",
"margin": "lg",
"weight": "bold"
},
{
"type": "text",
"size": "4xl",
"text": "฿1,250.00",
"color": "#111827",
"weight": "bold"
},
{
"type": "text",
"size": "xs",
"text": "FitLab Studio · ค่าสมาชิกรายเดือน",
"wrap": true,
"color": "#5F6673"
},
{
"type": "separator",
"color": "#EEF0F3",
"margin": "xl"
},
{
"type": "box",
"layout": "vertical",
"margin": "xl",
"spacing": "sm",
"contents": [
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "วันที่ชำระ",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "15 ธ.ค. 2569 · 14:32",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "ช่องทาง",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "พร้อมเพย์ (PromptPay)",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "เลขอ้างอิง",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "2569121512345",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827"
}
]
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"size": "sm",
"text": "เลขที่ใบเสร็จ",
"flex": 2,
"color": "#5F6673"
},
{
"type": "text",
"size": "sm",
"text": "RC-256912-0087",
"flex": 4,
"wrap": true,
"align": "end",
"color": "#111827",
"weight": "bold"
}
]
}
]
}
]
},
"footer": {
"type": "box",
"layout": "vertical",
"paddingAll": "md",
"paddingTop": "none",
"contents": [
{
"type": "button",
"color": "#15803D",
"style": "link",
"height": "sm",
"action": {
"type": "uri",
"uri": "https://example.com/receipts/RC-256912-0087.pdf",
"label": "ดาวน์โหลดใบเสร็จ"
}
}
]
}
}
}