Authorization: Bearer <portal_jwt>.
Merchant Portal API
Portal get payment
Read a merchant-owned payment aggregate and its observed timeline through the portal API.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Read a merchant-owned payment aggregate and its observed timeline through the portal API.
GET /v1/merchant/payments/:paymentId
Authorization: Bearer <portal_jwt>.
| Parameter | Required | Description |
|---|---|---|
paymentId | Yes | Merchant-owned pay_... payment ID. |
curl -sS "$AGENTBANK_BASE_URL/v1/merchant/payments/pay_..." \
-H "Authorization: Bearer $PORTAL_JWT"
{
"payment_id": "pay_...",
"merchant_payment_reference": "invoice-1042",
"status": "in_progress",
"terminal": false,
"successful": false,
"next_action": {"type":"wait","instruction":"Payment is being processed.","poll_after_seconds":10},
"timeline": [
{
"step_id": "step_...",
"hop_index": 0,
"event": "crypto_received",
"detail": "6 USDC received by payment provider. Transaction 0x...",
"tx_hash": "0x..."
}
]
}
