Module payment_request

Module payment_request 

Source
Expand description

Utilities for paying NUT-18 Payment Requests.

This module prepares and broadcasts payments for Cashu NUT-18 payment requests using either Nostr or HTTP transports when available. If no transport is present in the request, an error is returned so callers can handle alternative delivery mechanisms explicitly.

Structsยง

CreateRequestParams
Parameters for creating a PaymentRequest
NostrWaitInfo
Extra information needed to wait for an incoming Nostr payment