Skip to main content
GET
Get a funding session

Status values

checkout_url is present only while a hosted link can still be opened. Embedded sessions never carry checkout_url here — the link appears only on the create response; if it lapsed, create a new session. expires_at on this endpoint always reflects the session’s 30-minute fundability window.

Authorizations

Authorization
string
header
required

A platform access token. Get one on the Create an access token endpoint by exchanging your client_id + client_secret, then send it as Authorization: Bearer <token>. Tokens live one hour.

Path Parameters

session_id
string
required

Response

The funding session.

object
string
Allowed value: "funding_session"
id
string
user_id
string
status
enum<string>
Available options:
pending,
processing,
completed,
failed,
expired
amount_cents
integer
currency
string
payment_method
enum<string>
Available options:
apple_pay,
google_pay
checkout_url
string

The payment link to show the user. hosted: an Agentcard-hosted page, present while the link can still be opened. embedded: the raw provider Apple Pay link, present ONLY on the create response; the poll endpoint never re-serves it, so load it in an in-app webview immediately, never relay it, and create a new session if it lapses.

failure_reason
enum<string> | null
Available options:
region_not_supported,
provider_error,
null
completed_at
string<date-time> | null
created_at
string<date-time>
expires_at
string<date-time>

On the create response: hosted links stay openable for 30 minutes; embedded links are single-use and expire about 5 minutes after creation (create a new session instead of retrying a lapsed link). On the poll endpoint, expires_at always reflects the session's 30-minute fundability window, not the embedded link's shorter life.

Which kind of checkout_url this session carries. Returned only on the create response; the poll endpoint does not include it.

Available options:
hosted,
embedded
fee_cents
integer | null

Provider fee included in amount_cents, in USD cents. Returned only on the create response of embedded sessions (the order is priced at create time); absent on hosted sessions and on the poll endpoint. Null on the web checkout style (the fee is inside the quoted total).

checkout_style
enum<string>

Embedded create responses only. How to render checkout_url: 'web' — an Agentcard-hosted checkout page. Load it in a WKWebView (iOS) or Android WebView; on iOS 16+ the Apple Pay button renders in-app. The page navigates to /fund/success on completion.

Available options:
web