สร้าง Checkout Session สำหรับรับชำระเงิน INet พร้อม QR Code และลิงก์ชำระเงิน
{
"orderId": "{{orderId}}",
"totalAmount": 0,
"items": [],
"allowedPayTypes": [
"QR",
"QRCS",
"CR"
]
}{
"orderId": "{{orderId}}",
"totalAmount": {{totalAmount}},
"items": [
{ "name": "{{productName}}", "qty": 1, "amount": {{price}} }
],
"allowedPayTypes": ["QR", "QRCS"],
"successUrl": "https://example.com/success",
"outputVariable": "checkoutSession"
}โปรดติดตามเราบน YouTube เพื่อเข้าถึงเนื้อหาที่เป็นประโยชน์
© 2024–2026 All rights reserved.