Payment Intents
Payment intents give you a two-phase payment flow — create an intent, then confirm it separately. This is useful for AI agent transactions, cart-based checkouts, and any flow where the payment amount is known before the customer’s wallet is available.intents create
Create a new payment intent.Options
Capture Methods
Example
intents list
List all payment intents for your account.intents get
Get detailed information about a specific payment intent.Arguments
Shows the full intent details including status, amount, capture method, associated payment ID (if confirmed), and timestamps.
intents confirm
Confirm a payment intent with a customer’s wallet address.Arguments
Options
Example
intents cancel
Cancel a payment intent that has not yet been confirmed.Arguments
Intent Lifecycle
PPP Pricing
Purchasing Power Parity (PPP) lets you offer fair, localized pricing based on a customer’s country. The CLI provides tools to look up PPP factors, list all supported countries, and calculate adjusted prices.ppp check
Look up the PPP factor for a specific country.Arguments
Options
Example
--price, the command shows the factor and an example calculation for $100.
ppp factors
List PPP factors for all supported countries.Options
Example
ppp calculate
Calculate a localized price for a specific country.--price and --country are required.
Options
Example
Supported Countries
The PPP system covers 45+ countries across all major regions. Some notable flags:
Use
zendfi ppp factors for the complete, up-to-date list.
Use Cases
SaaS pricing pages: Runzendfi ppp check for your target markets during planning to set tier-specific pricing.
Dynamic checkout: Use the PPP API endpoint server-side to adjust prices at checkout based on the customer’s IP-derived country code.
Market analysis: Run zendfi ppp factors --sort discount to identify markets where aggressive pricing could drive adoption.