billing

Funding intent state (intent owner)

Read-only; never claims or credits. While a recorded transfer awaits finality, finalized_block_number is the RPC's finalized head (null when the RPC is unreachable). No time estimate is given.

get/api/v1/funding-intents/{id}

Request

  • Base URL: https://amplerun-api.spiry.org
  • URL: https://amplerun-api.spiry.org/api/v1/funding-intents/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required
Example:3f0e2a55-8c1b-4d2e-9a6f-0b7c1d2e3f40

Response

Funding intent.

intent_idstring uuid required
state'PENDING' | 'PENDING_FINALITY' | 'CONFIRMED' | 'EXCEPTION' required
chain_idunknown required
tokenstring required
treasury_addressstring required
amount_microstring required

Unsigned base-10 integer as string; never a float.

tx_hashstring nullable required
log_indexinteger nullable required
block_numberstring nullable required
finalized_block_numberstring nullable required
credited_microstring required

Unsigned base-10 integer as string; never a float.

exception_reasonstring nullable required
expires_atstring date-time required
created_atstring date-time required

Example response

{
  "intent_id": "3f0e2a55-8c1b-4d2e-9a6f-0b7c1d2e3f40",
  "token": "0x1111111111111111111111111111111111111111",
  "treasury_address": "0x1111111111111111111111111111111111111111",
  "amount_micro": "1",
  "credited_micro": "1",
  "expires_at": "2026-09-25T12:00:00Z",
  "created_at": "2026-09-25T12:00:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.