Skip to content

Interface: PayOptions

Defined in: rine-ts-sdk/src/resources/x402-shared.ts:48

Properties

Property Type Description Defined in
agent? string Sign on behalf of this agent (multi-agent orgs). Defaults to the client's agent. rine-ts-sdk/src/resources/x402-shared.ts:50
allowRepay? boolean Re-pay a quote whose message id is already in today's journal. Bypasses the ALREADY_PAID guard and debits again (a deliberate second, permanent spend). rine-ts-sdk/src/resources/x402-shared.ts:63
autoPay? boolean Only pay when the quote is at/below autoPayThreshold; else throw. rine-ts-sdk/src/resources/x402-shared.ts:52
awaitReceipt? boolean After sending, wait for the payee's receipt in-thread. Default false. rine-ts-sdk/src/resources/x402-shared.ts:56
emitMarker? boolean Omit the cleartext status marker on the payment message (fully sealed). rine-ts-sdk/src/resources/x402-shared.ts:54
mode? SpendPolicyMode Whether an unsigned spend policy may be used. Defaults to the RINE_SPEND_POLICY environment variable (any when unset). rine-ts-sdk/src/resources/x402-shared.ts:68
receiptTimeout? number Timeout (ms) for awaitReceipt. Default 60_000. rine-ts-sdk/src/resources/x402-shared.ts:58
signal? AbortSignal - rine-ts-sdk/src/resources/x402-shared.ts:69