API ReferenceAgent

Get agent payment

GET
/v1/agent/payments/{id}

Payment status (the calling agent's own only)

Authorization

agent
AuthorizationBearer <token>

Per-agent API key from POST /v1/agents

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/agent/payments/string"
{  "payment_id": "string",  "decision": "approve",  "status": "rejected",  "evaluation": {    "decision": "approve",    "proposal_hash": "string",    "amount_minor": 0,    "checks": [      {        "check": "string",        "pass": true,        "detail": "string"      }    ],    "risk": [      {        "signal": "string",        "severity": "low",        "detail": "string"      }    ],    "reasons": [      "string"    ]  },  "approval_id": "string",  "paypal": {    "order_id": "string",    "authorization_id": "string",    "capture_id": "string"  },  "error": "string"}