You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PaymentAuth: an httpx.Auth that answers an x402 v2 402 Payment Required from a RailPay agent wallet and retries once with PAYMENT-SIGNATURE (the Python form of withPayment). It pays only exact / eip155:4663 / USDG options, and max_amount refuses a higher price before anything is signed. Request bodies, streamed ones included, are sent again on the retry.
paid_client(railpay): an httpx.Client that pays with PaymentAuth.
read_payment_required(), read_payment_response(), is_railpay_payable() and requirement_amount().