Public endpoints
GET/v1/public/approvals/{token}

Get approval by link

View as .md
curl -X GET "https://api.52-28-238-205.sslip.io/v1/public/approvals/{token}"

Returns what the one-time approval link shows: amount, merchant, reason, budget and expiry. Anyone holding the token may call it; no account is needed.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/public/approvals/{token}Base URL: https://api.52-28-238-205.sslip.io
Path
  • tokenstringrequired

    One-time approval token from the approval link. It is the only credential for this page.

Path Parameters

token*Token

One-time approval token from the approval link. It is the only credential for this page.

Response Body

Success.

application/json
  1. response
id*Id
status*Status

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

state*State
intent_id?|

Payment intent id (pi_...).

plan_id?|

Plan id (pln_...).

team_id?|

Team id (team_...).

created_at?|

Creation time, ISO 8601 UTC.

expires_at?|

Expiry time, ISO 8601 UTC.

decided_by?|null
decided_at?string|null
reject_reason?string|null
message?string|null
reason_code?|

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

reason?|null
merchant?|null
amount_base_units?|

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

amount_cents?integer|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).

network_name?string|null
rail?|

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

service?|null
agent?|null
purpose?|

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

plan_terms?|null
intent?|null
closed_mandate_hash?string|null
approvers?array<>|null
budget?|null
org_name?string|null
budget_after?string|null
budget_limit?string|null
pay_to?|

Address the merchant is paid at on this network.

fingerprint?string|null
steps?|null
receipt_id?|

Receipt id (rcpt_...).

approver_has_passkey?boolean|null
approver_passkey_count?integer|null
rp_id?string|null
[key: string]?any