Skip to main content
These commands cover two advanced features: the two-phase payment intent flow and international pricing with Purchasing Power Parity.

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

The client secret is used on the frontend to confirm the payment without exposing your API key. Pass it to your checkout page or SDK instance.

intents list

List all payment intents for your account.
Displays each intent with its ID, amount, status, and creation date in a formatted table.

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

Without --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.
Both --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: Run zendfi 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.