{"uid":"cap__a_RPs_Hym7tfPUm38D3_","slug":"price-minor-units-converter-c078a220","name":"Price Minor Units Converter","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/utility/price-minor-units?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{},"options":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"example","operation":"price_minor_units"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ekv-VBb25l6hL54lt2BT5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a price or currency value into its minor unit representation (e.g., cents, satoshis) given a value and optional formatting options.","exampleAgentPrompt":"Convert the price $14.99 into its minor unit representation — I need the value in cents for a payment processing workflow.","exampleUseCases":[{"title":"Stripe payment amount normalization","prompt":"I need to charge a customer $29.99 — can you convert that to its minor unit value in cents so I can pass it to the Stripe API?"},{"title":"Crypto micropayment denomination","prompt":"What is 0.005 USDC expressed in its minor units? I need the smallest-denomination integer value for an on-chain transaction."},{"title":"Multi-currency invoice formatting","prompt":"I have an invoice amount of €12.50 and I need it converted into euro cents as an integer — can you give me the minor unit value?"}],"resultDescription":"A JSON object containing the computed minor unit result (e.g., 1499 for $14.99) and an operation label ('price_minor_units') confirming what was performed.","failureModes":["Missing or malformed 'value' field returns an error or unexpected result","Unsupported currency type in options may cause incorrect conversion","Non-numeric value input may result in a computation error","Service unavailability on the Render-hosted instance returns a 5xx response","Insufficient USDC balance for the $0.01 x402 payment blocks the request"],"whenToPreferThis":"Use this endpoint when an AI agent or automated pipeline needs to programmatically convert human-readable prices (e.g., '$14.99') into integer minor units (e.g., 1499 cents) for use in payment APIs, invoicing systems, or blockchain transactions. Prefer this over manual arithmetic when handling multi-currency scenarios or when you need a reliable, machine-callable utility with a traceable operation label in the response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:37:40.144Z","isFirstParty":false,"canonicalSlug":"price-minor-units-converter-c078a220"}