Skip to content

PaymentView

Defined in: packages/scheme-qorechain/src/payment.ts:16

What the HTTP layer needs to know about a payment, whichever PQ-402 scheme carries it.

expiresAt: number

Defined in: packages/scheme-qorechain/src/payment.ts:24

Unix seconds after which the payment can no longer settle.


payer: `0x${string}`

Defined in: packages/scheme-qorechain/src/payment.ts:18


receipt: ReceiptPayment

Defined in: packages/scheme-qorechain/src/payment.ts:26

The payment as the gateway’s receipt describes it.


replayKey: string

Defined in: packages/scheme-qorechain/src/payment.ts:22

Unique per payment; a server refuses a second request with the same key.


requestHash: `0x${string}`

Defined in: packages/scheme-qorechain/src/payment.ts:20

The request hash the signature commits to (requestHash, or ref for a Perennial spend).


scheme: "pq-erc20" | "pq-perennial"

Defined in: packages/scheme-qorechain/src/payment.ts:17