Agent-native onboarding

Poll an agent funding handoff

Returns ready only after the signed Stripe webhook has been durably consumed and the credit ledger balance is usable.

get/credits/agent/funding-sessions/{sessionId}

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/credits/agent/funding-sessions/{sessionId}
  • Auth
    HTTP bearer

Path parameters

sessionIdstring required

Response

Current authenticated funding state

successunknown required
fundingSessionIdstring required
state'awaiting_payment' | 'processing' | 'ready' | 'expired' | 'failed' required
paymentStatusstring required
nextActionobject required

Changes

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