{"title":": agent checkout","description":"WooCommerce store, prices in EUR. AI agents can browse, check out and pay in crypto entirely through JSON APIs. Prefer these over driving the website UI. No API key needed. Send Content-Type: application\/json on POSTs.","cryptos":["btc","usdt"],"steps":[{"step":1,"do":"Find products","method":"GET","url":"https:\/\/realpoundsclub.com\/nl\/wp-json\/wc\/store\/v1\/products?search=<term>","notes":"Also ?slug=, ?category=, ?per_page=. Use the product id."},{"step":2,"do":"Start a cart","method":"GET","url":"https:\/\/realpoundsclub.com\/nl\/wp-json\/wc\/store\/v1\/cart","notes":"Save the Cart-Token response header and send it back as a Cart-Token request header on every later call (no nonce needed then)."},{"step":3,"do":"Add items","method":"POST","url":"https:\/\/realpoundsclub.com\/nl\/wp-json\/wc\/store\/v1\/cart\/add-item","body":{"id":"<product id>","quantity":1},"notes":"Variable products also need \"variation\"."},{"step":4,"do":"Check out","method":"POST","url":"https:\/\/realpoundsclub.com\/nl\/wp-json\/wc\/store\/v1\/checkout","body":{"payment_method":"blockonomics","payment_data":[{"key":"crypto","value":"btc"}],"billing_address":{"first_name":"<first name>","last_name":"<last name>","email":"<email>","address_1":"<street address>","city":"<city>","state":"<state code>","postcode":"<postcode>","country":"<2-letter country code>"}},"notes":"crypto is one of: btc, usdt. Fill billing_address with the shopper's own details; ask the shopper if you don't have them. GET https:\/\/realpoundsclub.com\/nl\/wp-json\/wc\/store\/v1\/cart lists required address fields for the shipping country."},{"step":5,"do":"Pay","notes":"The checkout response payment_result.payment_details (key\/value list) has address, amount, payment_uri (BTC), expires_at and order_hash. Send exactly amount to address before expires_at (empty for USDT). If you checked out without crypto, it has payment_details_url instead: GET it with ?crypto=<crypto>."},{"step":6,"do":"Register the USDT transaction","method":"POST","url":"https:\/\/realpoundsclub.com\/nl\/wp-json\/blockonomics-agentic-checkout\/v1\/orders\/{order_hash}\/txhash","body":{"txhash":"0x..."},"notes":"USDT only, after sending. Unregistered USDT transfers are not detected."},{"step":7,"do":"Check payment status","method":"GET","url":"https:\/\/realpoundsclub.com\/nl\/wp-json\/blockonomics-agentic-checkout\/v1\/orders\/{order_hash}?crypto=<crypto>","notes":"Returns payment_status: awaiting_payment, detected, confirmed or underpaid. After expires_at it returns a fresh quote."}],"testmode":{"about":"If testmode is true in the payment details, the address is a placeholder. Do not send funds.","usdt":"POST the test_txhash from the payment details to the txhash URL. Blockonomics sends the payment callbacks within about 60 seconds.","btc":"An agent cannot complete it. The merchant simulates the payment from the Test Bench in their Blockonomics account."},"reference":"https:\/\/developer.woocommerce.com\/docs\/apis\/store-api\/"}