Burn

Read authoritative stream state and final billing

Returns the authoritative state of a streamed wrapped call and its final credit values once billing settles. Secret-key callers must repeat the original X-Locus-End-User header. Returns 404 when the call belongs to another credit account.

get/wrapped/credits/calls/{callId}

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/wrapped/credits/calls/{callId}
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

callIdstring uuid required

Headers

X-Locus-Session-Idstring

Required only when the end-user JWT carries sid. Send the original high-entropy session value; sid is its SHA-256 fingerprint. Ignored for secret-key authentication.

X-Locus-End-Userstring

Case-sensitive immutable ID in the tenant namespace. Prefer an identity-provider subject, not an email address.

Secret-key callers must repeat the original end user.

Response

Call ownership verified; state and final credit values returned

apiCallIdstring uuid required
statusstring required
providerstring required
endpointstring required
errorstring nullable
errorStagestring nullable
createdAtstring date-time required
completedAtstring date-time nullable

Changes

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