Docs/API/PaymentIntent

PaymentIntent

interfaceTypes

What extractPayment returns — the value and recipients of a governed transfer.

signature
interface PaymentIntent { amount: number; currency; recipients: string[] }

Properties

NameTypeDescription
amountreqnumberSum of the positive credits (display units).
currencyreq'HBAR' | 'USDC'The currency.
recipientsreqstring[]The credited account ids.
VERIFIABLE SPEND-CONTROL   ·   ENFORCED ON-CHAIN   ·   AGENTS CAN PAY — NOW THEY CAN’T OVERSPEND   ·   CURB × HEDERA   ·   VERIFIABLE SPEND-CONTROL   ·   ENFORCED ON-CHAIN   ·   AGENTS CAN PAY — NOW THEY CAN’T OVERSPEND   ·   CURB × HEDERA   ·