getX402HazbaseWalletPaymentStatus https://docs.hazbase.com/en/reference/http/getX402HazbaseWalletPaymentStatus/ HTTP API / WALLET CLIENT getX402HazbaseWalletPaymentStatus Inspect HTTP routes, arguments and responses used by @hazbase/kit/wallet. Additional authentication and passkey APIs are covered in the auth SDK reference and integration guide. https://api.hazbase.com @hazbase/kit 0.9.0 JSON User-session, signature and permission requirements differ by API. Check the specifications below and the connection requirements of your API environment. Check API access requirements ← HTTP API index POST /api/payments/x402/hazbase-wallet/status Request @hazbase/kit/wallet 1 2 3 getX402HazbaseWalletPaymentStatus ( input : GetX402HazbaseWalletPaymentStatusInput , ) : Promise < X402HazbaseWalletPaymentResult > emailSession is sent as an Authorization: Bearer header. Field Type Required Location emailSession string Yes Authorization header paymentRequestId string Yes JSON body paymentAttemptId string Yes JSON body endpoint string No SDK endpoint override POST requests include Content-Type: application/json and x-request-id. The request ID supports tracking; it is not a blanket idempotency guarantee. Response typescript 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 export type X402HazbaseWalletPaymentResult = { paymentRequestId : string ; paymentAttemptId : string ; xPaymentHash : string ; paid : boolean ; verified : boolean ; settled : boolean ; payer : string ; chainId : number ; network : string ; relayMode ? : string ; submittedUserOpHash ? : string | null ; transactionHash ? : string | null ; gasEstimate ? : Record < string , unknown > ; xPayment ? : string | null ; receipt ? : Record < string , unknown > | null ; status ? : string ; errorCode ? : string ; retryAfterMs ? : number ; } ; Find nested types in the SDK reference. The client handles both a top-level response and a response wrapped in data. X402HazbaseWalletPaymentResult Handling failures Non-2xx responses become HazbaseWalletApiError. Record status, code and message, distinguishing API errors from network failures. Keep credentials out of logs. Errors & troubleshooting View source