@agorio/sdk • Docs
Interface: DelegationLink
DelegatedMandate — a third party (e.g. a procurement system) authorizes a payment on behalf of the buyer. (v0.10)
Carries a delegation chain describing who delegated authority to whom and
the scope/limit of that authority. The signature on a DelegatedMandate is
produced by the delegate; receivers verify the delegate’s key and then
walk delegation.chain to confirm the authority traces back to the buyer.
Properties
delegate
delegate:
string
Party receiving authority.
Defined in
src/client/ap2-client.ts:79
delegator
delegator:
string
Party granting authority (DID, agent id, or org id).
Defined in
src/client/ap2-client.ts:77
expiresAt?
optionalexpiresAt:string
Optional ISO-8601 expiry for this delegation link.
Defined in
src/client/ap2-client.ts:85
maxAmount?
optionalmaxAmount:string
Optional spend cap for this link, as a decimal string.
Defined in
src/client/ap2-client.ts:83
scope?
optionalscope:string
Optional scope descriptor (e.g. ‘purchase’, ‘refund’).
Defined in
src/client/ap2-client.ts:81