Prepare payment intent for a pay link
Returns everything a payer’s wallet or agent needs to build a transaction: intent details, settlement destination, token contract, and settlement_mode. For a DIRECT credential the destination is the merchant’s own on-chain holder address instead of the mag3nt treasury; DIRECT also enforces the membership pricing gate and the MAG3NT fee-meter debt floor before returning payment instructions. Agents (JSON Accept header, non-browser user agent) get HTTP 402 with WWW-Authenticate; browsers get HTTP 200.
Path Parameters
Response
Payment intent (browser)
Settlement destination - the merchant's on-chain holder for DIRECT, or the mag3nt treasury for CUSTODIAL.
False for open-amount links - an autonomous agent has no fixed price to pay against.
fixed, open DIRECT, CUSTODIAL