{"uid":"cap_uy2R7AsCMedLhEigFKUgb","slug":"thaikit-promptpay-qr-payload-generator-84a87702","name":"ThaiKit PromptPay QR Payload Generator","description":"Build a Thai PromptPay QR payment payload (EMVCo / Thai QR Payment text) for a mobile number, 13-digit national ID or tax ID, or e-wallet ID, with an optional amount in baht. Checks the ID checksum and adds the CRC. Render the payload as a QR code and any Thai banking app can pay it. Query: ?id=0812345678&amount=150","url":"https://api.thaikit.dev/promptpay?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"PromptPay ID: Thai mobile number, 13-digit national ID or tax ID, or 15-digit e-wallet ID"},"amount":{"type":"string","description":"Optional amount in baht, up to 2 decimals; omit for a reusable QR"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GSApm6O-ZTwPwE6XPBgOn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a Thai PromptPay EMVCo QR payment payload (with CRC checksum) for a mobile number, national/tax ID, or e-wallet ID, with an optional baht amount, and renders it as a scannable QR code.","exampleAgentPrompt":"Generate a PromptPay QR payment payload for Thai mobile number 0812345678 for an amount of 150 baht, so the customer can scan and pay with any Thai banking app.","exampleUseCases":[{"title":"E-commerce checkout QR for customer","prompt":"Create a PromptPay QR code for 299.50 baht linked to my mobile number 0891234567 so my customer can scan and pay via their Thai banking app."},{"title":"Reusable QR for donation page","prompt":"Generate a reusable PromptPay QR with no fixed amount for Thai national ID 1234567890123 — I want donors to enter their own amount when scanning."},{"title":"Invoice payment request for business","prompt":"Make a PromptPay QR payment payload for tax ID 0105556123456 for 12500 baht so my client can pay the invoice using SCB or Kbank app."}],"resultDescription":"Returns the EMVCo-compliant PromptPay QR payload string with CRC checksum, plus a rendered QR code image that any Thai banking app (SCB, Kbank, BBL, etc.) can scan and process as a payment.","failureModes":["Invalid PromptPay ID format (wrong length or non-numeric) returns an error","ID checksum validation failure (e.g. malformed national ID) returns rejection","Amount exceeds allowed decimal precision or is negative","Missing required 'id' query parameter returns 400 error","Non-Thai ID format not recognized by the system"],"whenToPreferThis":"Use this endpoint when you need to programmatically generate a Thai PromptPay QR payment payload for mobile payments, invoicing, e-commerce checkouts, or donation flows within Thailand. It is purpose-built for the Thai EMVCo standard with built-in checksum validation, making it more reliable than generic QR generators that do not understand PromptPay encoding rules.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-03T18:40:01.550Z","isFirstParty":false,"canonicalSlug":"thaikit-promptpay-qr-payload-generator-84a87702"}