Skip to main content
GET
Prepare payment intent for a pay link

Path Parameters

code
string
required

Response

Payment intent (browser)

intent
object
treasury
string

Settlement destination - the merchant's on-chain holder for DIRECT, or the mag3nt treasury for CUSTODIAL.

token
object | null
accepted_protocols
string[]
agent_payable
boolean

False for open-amount links - an autonomous agent has no fixed price to pay against.

amount_mode
enum<string>
Available options:
fixed,
open
settlement
object
settlement_mode
enum<string>
Available options:
DIRECT,
CUSTODIAL
is_owner
boolean