Constructors
Constructor
new RefusalApi(Defined in: typescript/src/client/RefusalApi.ts:10transport):RefusalApi
Parameters
transport
Transport
Returns
RefusalApi
Methods
verify()
verify(Defined in: typescript/src/client/RefusalApi.ts:19 Verifies a Refusal Record’s signature. Maps to POST /refusal/verify — takes the record itself, not a lookup by id. No caller authentication is required by this route: it is the capability that makes a refusal independently third-party verifiable (RFC-0021).record):Promise<boolean>
Parameters
record
RefusalRecord
Returns
Promise<boolean>
get()
get(Defined in: typescript/src/client/RefusalApi.ts:35 Retrieves a Refusal Record by Business Transaction ID. Maps to GET /refusal/:businessTransactionId. Unlike verify() above, this route is behind caller-auth and ownership scoping, identically to TrustRecordApi.get().businessTransactionId):Promise<RefusalRecord>
Parameters
businessTransactionId
string
Returns
Promise<RefusalRecord>