ข้ามไปยังเนื้อหา

ParsedPromptPay

Defined in: parser.ts:73

readonly optional accountNo?: string

Defined in: parser.ts:85

Account number. Present only when recipientType === 'bankAccount'.


readonly optional bankCode?: string

Defined in: parser.ts:83

Bank code (3 digits). Present only when recipientType === 'bankAccount'.


readonly kind: "promptpay"

Defined in: parser.ts:74


readonly optional ota?: string

Defined in: parser.ts:87

One-Time Authorization code from sub-tag 05. Present only on OTA payloads.


readonly recipient: string

Defined in: parser.ts:81

Wire value for the recipient sub-tag. For bankAccount this is the full bankCode + accountNo concatenation — split fields are exposed separately below.


readonly recipientType: PromptPayRecipientType

Defined in: parser.ts:75