---
title: "Claim funding intent (intent owner)"
method: POST
path: "/api/v1/funding-intents/{id}/claim"
tags: ["billing"]
---

# Claim funding intent (intent owner)

`POST /api/v1/funding-intents/{id}/claim`

## Request

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

Verifies ERC20 Transfer sender=bound wallet, recipient=treasury, exact token/chain, successful receipt, canonical block and finalized head; PENDING/CONFIRMED/EXCEPTION. A transfer from a wallet not bound to this account is 403 and records nothing on the intent; a transfer not yet visible is PENDING and records nothing. Provider error pauses credit; never zero balance and never success.

## Path parameters

- `id` string, uuid, required

## Headers

- `Idempotency-Key` string, uuid, required

## Request body

- object
  - `tx_hash` string, required
  - `log_index` integer, required

## Response `202`

Claim state.

- object
  - `intent_id` string, uuid, required
  - `state` 'PENDING' | 'CONFIRMED' | 'EXCEPTION', required

## Other responses

- `default`: Error envelope. 401 unauthenticated, 403/404 forbidden, 409 conflict, 422 invalid input, 429 rate limited (code UNAVAILABLE, retryable:true, no Retry-After header), 503 unavailable money/provider state with retryable:true.

---

[API](https://skmtc.dev/amplerun/apis/amplerun-business-api.md) · [All operations](https://skmtc.dev/amplerun/apis/amplerun-business-api/llms.txt) · [OpenAPI document](https://skmtc.dev/amplerun/apis/amplerun-business-api/revisions/40944687fa52?raw)
