Payment intents
GET/v1/payment-intents/{intent_id}

Get payment intent

View as .md
curl -X GET "https://api.52-28-238-205.sslip.io/v1/payment-intents/{intent_id}" \  -H "Cookie: <console session cookie>"

Returns one intent with attempts, settlement, receipt and a fulfillment status kept separate from payment status. Agents see their own intents, merchants a reduced view, and console users and API keys need payment:read.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/payment-intents/{intent_id}Base URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
  • agentKeyAuthorization: Bearer agk_test_...
Path
  • intent_idstringrequired

    Payment intent id (pi_...).

Runs the same action from an agent, under the same policy.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Path Parameters

intent_id*Intent Id

Payment intent id (pi_...).

Response Body

Success.

application/json
  1. response

One shape for three views: org console (full), merchant (no payer data) and agent (PaymentAgentResult keys).

id?string|null
status*Status

Current state; the allowed values and moves are in the state machines reference.

environment?string|null
fulfillment_status?|

Whether the paid resource was delivered.

decision?|

Policy decision: ALLOW, REQUIRE_APPROVAL or DENY.

reason_code?|

Machine-readable reason from the reason code catalog, for example ABOVE_AUTO_THRESHOLD.

reason_message?string|null
amount_base_units?|

Amount in integer base units, carried as a string (USDC and USDT have 6 decimals: "50000" = 0.05).

amount_cents?string|null
asset?|

Asset symbol, for example USDC or USDT; USD for card amounts.

network?|

Network as a CAIP-2 id, for example eip155:84532 (Base Sepolia) or solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1 (Solana devnet).

rail?|

Payment rail: x402 (stablecoin over HTTP 402), wdk (direct USDT transfer) or card.

agent?|null
merchant?|null
receipt_id?|

Receipt id (rcpt_...).

approval_id?|

Approval id (apr_...).

sandbox?boolean|null
kind?string|null
plan_id?|

Plan id (pln_...).

created_at?|

Creation time, ISO 8601 UTC.

updated_at?|

Last update time, ISO 8601 UTC.

confirmed_at?string|null
settlement_ref?|

On-chain transaction reference or card transaction token of the settlement.

purpose?|

The agent's stated purpose (up to 500 characters). Shown to approvers and screened by Shield; not in the public receipt.

task_id?|

The agent's own task reference, stored with the intent for tracing.

url?|

URL of a paid resource. Use it for a merchant that is not in the Catalog; Abazi reads its 402 response.

method?string|null
payee?string|null
fingerprint?string|null
mandate_id?|

Mandate id (mdt_...).

mandate_version?integer|null
policy_version?string|null
shield_rules_version?string|null
shield?|null
decision_trace?array<>|null
chain_candidates?array<>|null
requirements?|null
signed_payload_hash?string|null
error?string|null
reason_scope?string|null
resource?|null
service?|null
approval?|null
settlement?|null
attempts?array<>|null
steps?|null
budget_after?string|null
budget_limit?string|null
intent_id?|

Payment intent id (pi_...).

payment_status?|

Payment state of the intent; the allowed values and moves are in the state machines reference.

approval_expires_at?string|null
poll_after_ms?integer|null
message?string|null
failure_code?string|null
failure_title?string|null
failure_message?string|null
[key: string]?any