Skip to content

getApprovalStatus

PQSafe AgentPay API Reference v0.1.0


PQSafe AgentPay API Reference / getApprovalStatus

Function: getApprovalStatus()

getApprovalStatus(id): Promise<ApprovalResult>

Defined in: pqsafe/agent-pay/src/approval.ts:805

Retrieve the current status of an approval request. Returns ‘pending’ result if not found (may have been GC’d from in-memory store).

Parameters

id

string

Returns

Promise<ApprovalResult>