Interface: RequestContext
Defined in: packages/pesa/src/plugins/types.ts:10
Context passed to beforeRequest hooks. Allows plugins to inspect and modify the outgoing request.
Properties
| Property | Type | Defined in |
|---|---|---|
headers | Record<string, string> | packages/pesa/src/plugins/types.ts:13 |
metadata | Record<string, unknown> | packages/pesa/src/plugins/types.ts:14 |
operation | "createOrder" | "disburse" | "refund" | "cancelOrder" | packages/pesa/src/plugins/types.ts:11 |
payload | | CreateOrderPayload | DisbursePayload | Record<string, unknown> | packages/pesa/src/plugins/types.ts:12 |