billing

Claim funding intent (intent owner)

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.

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

Path parameters

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

Headers

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

UUID scoped to authenticated principal, route and canonical request hash.

Request body

tx_hashstring required
log_indexinteger required

Response

Claim state.

intent_idstring uuid required
state'PENDING' | 'CONFIRMED' | 'EXCEPTION' required

Example response

{
  "intent_id": "3f0e2a55-8c1b-4d2e-9a6f-0b7c1d2e3f40"
}

Changes

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