{"uid":"cap_Vvs6n-EGP6c6F-I6MJihl","slug":"thaikit-promptpay-qr-payload-parser-03a4478e","name":"ThaiKit PromptPay QR Payload Parser","description":"Check and read a Thai QR payment payload (PromptPay / EMVCo text from a scanned QR) before paying it: verifies the CRC (catches tampered or mistyped codes), tells PromptPay transfer from bill payment, and returns the recipient (mobile, national ID, tax ID, e-wallet) or biller ID and references, amount, currency, merchant and every field. Body: {\"payload\": \"000201...\"}","url":"https://api.thaikit.dev/promptpay-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"payload":{"type":"string","maxLength":512,"description":"Thai QR / EMVCo payment payload text, as decoded from the QR code"}}},"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__BK4dAdpWfOPxlMTIKGq_","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":"Parses and validates a Thai PromptPay/EMVCo QR payment payload: verifies the CRC checksum, identifies the payment type, and extracts all fields including recipient, amount, and currency.","exampleAgentPrompt":"I just scanned a Thai PromptPay QR and got this text string — '00020101021129370016A000000677010111011300668123456785802TH5303764540510.006304ABCD' — can you parse it and tell me who it's going to, whether the CRC is valid, and what the payment amount is?","exampleUseCases":[{"title":"Verify QR before authorizing payment","prompt":"Before I approve this payment in our app, check this PromptPay QR payload '000201010211...' and tell me if the CRC is valid, whether it's a transfer or bill payment, and what the recipient ID or mobile number is."},{"title":"Extract biller details from bill payment QR","prompt":"A customer scanned this QR code from a utility bill — '00020101021230...' — can you decode it to get the biller ID, reference numbers, and the amount due so I can prefill the payment confirmation screen?"},{"title":"Detect tampered or corrupted QR codes","prompt":"We received a PromptPay QR payload that might have been modified — here it is: '000201010212...'. Can you verify the CRC checksum and flag if anything looks tampered or malformed before we let our system process it?"}],"resultDescription":"Returns the payment type (PromptPay transfer or bill payment), CRC validity flag, recipient details (mobile number, national ID, tax ID, or e-wallet ID), biller ID and reference numbers if applicable, amount, currency code, merchant name, and all decoded EMVCo fields from the payload.","failureModes":["Invalid CRC — returns CRC mismatch error if the payload has been tampered or mistyped","Malformed payload — returns parse error if the string is not a valid EMVCo TLV structure","Payload too long — rejected if payload exceeds 512 characters","Empty or missing payload field — returns validation error","Non-Thai QR formats (e.g. international EMVCo not using Thai PromptPay tag) may parse partially but lack PromptPay-specific fields"],"whenToPreferThis":"Use this endpoint when you need to validate or inspect a Thai PromptPay or EMVCo QR payment payload before executing a payment — especially to catch tampered codes, confirm the recipient identity, verify amounts, or distinguish PromptPay peer-to-peer transfers from bill payments. It is the right choice for any Thai-market payment flow that requires pre-payment QR verification, fraud checks, or extracting structured payment data from raw QR text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-03T18:41:26.809Z","isFirstParty":false,"canonicalSlug":"thaikit-promptpay-qr-payload-parser-03a4478e"}