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.
Properties
Section titled “Properties”expiresAt
Section titled “expiresAt”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
Section titled “receipt”receipt:
ReceiptPayment
Defined in: packages/scheme-qorechain/src/payment.ts:26
The payment as the gateway’s receipt describes it.
replayKey
Section titled “replayKey”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
Section titled “requestHash”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
Section titled “scheme”scheme:
"pq-erc20"|"pq-perennial"
Defined in: packages/scheme-qorechain/src/payment.ts:17