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

ParsedPromptPay

Defined in: payload/dist/parser.d.ts:20

readonly optional accountNo?: string

Defined in: payload/dist/parser.d.ts:32

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


readonly optional bankCode?: string

Defined in: payload/dist/parser.d.ts:30

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


readonly kind: "promptpay"

Defined in: payload/dist/parser.d.ts:21


readonly optional ota?: string

Defined in: payload/dist/parser.d.ts:34

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


readonly recipient: string

Defined in: payload/dist/parser.d.ts:28

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: payload/dist/parser.d.ts:22