Skip to main content
GET
/
api
/
pay
/
{code}
/
prepare
Prepare payment intent for a pay link
curl --request GET \
  --url https://mag3nt.com/api/pay/{code}/prepare
{
  "intent": "<string>",
  "accepted_protocols": [
    "<string>"
  ],
  "treasury_address": "<string>",
  "token_contract": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mag3nt.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

code
string
required

Response

200 - application/json

Payment intent

intent
string
accepted_protocols
string[]
treasury_address
string
token_contract
string