23 NowPay Direct duration access🔗ℹ

 (require commerce/nowpay-direct) package: commerce

make-nowpay-direct-client takes the merchant application identity, merchant RSA private key, provider public key, external product id, reviewed integer price, optional pinned SKU and fixed HTTPS return URL. Its production transport is bounded, does not redirect or retry, and authenticates the literal RSA2 response before strict JSON and interval validation. nowpay-direct-charge-query returns an opaque capability/SKU result; nowpay-direct-purchase-consult takes a stable application buyer id and returns an opaque current-access result. These values are not payment events or settlement evidence.

 (require commerce/nowpay-direct/issuer) package: commerce

make-nowpay-direct-issuer assembles the explicit isolated issuer with a client, private SQLite connection, reviewed service/product/edition, Permit key and trust store. authorize-nowpay-direct accepts one versioned service/buyer/nonce request; it actively queries the provider itself and returns fresh request-bound signed Permit evidence only for valid duration access. The public HTTP edge cannot provide an ALLOW response or write the issuer database. No refund-write API is supplied. See the Direct deployment and failure contract and ADR-0027 for socket ACLs, replay, privacy and remaining live acceptance.