Skip to content

payloadFor

payloadFor(input): string

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

Shorthand for the common “make me a PromptPay QR for this recipient with this amount” use case. Returns the wire payload string.

number

boolean

string

PromptPayRecipientType

string

payloadFor({ recipient: '0812345678', amount: 100 })
// → '00020101021229370016A00000067701011101130066812345678530376454...'