SDK reference · Node SDK

prov.authorize.calls.receipt

prov.authorize.calls.receipt in Node SDK. The signed receipt of a verified call.

Signature

prov.authorize.calls.receipt(id: string): Promise<Receipt<CallReceiptClaims>>

Parameters

idstringRequired

Request fields

idstringpathRequired
The check's ID (ccx_).

Returns

Promise<Receipt<CallReceiptClaims>> The receipt.

HTTP operation

GET /v1/authorize/call_checks/{id}/receipt: Retrieve a call receipt

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/call_checks/ccx_01M6XS88NC03EVE2XZ21T2VWCR/receipt`, {
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.