Skip to main content
POST
/
api
/
start-payment-session
Start Payment Session
curl --request POST \
  --url http://localhost:3773/api/start-payment-session \
  --header 'Authorization: Bearer <token>'
{
  "sessionId": "Z_1Y3U3waXK2YUKB6llcIwn9XJcviEBhuFL8WUutAQ8",
  "paymentRequirements": {
    "resource": "/agent/first Agent",
    "scheme": "exact",
    "network": "base-sepolia",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "payTo": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0",
    "amount": "10000000000",
    "description": "Payment for agent service"
  },
  "expiresAt": "2025-10-26T15:47:52.183416+00:00"
}

Authorizations

Authorization
string
header
required

Response

sessionId
string
required
paymentRequirements
object
required
expiresAt
string<date-time>