asgayapedia

Customer Journey: Paying Merchants with Asgaya

đź“– Unfamiliar terms? See the glossary for definitions.

Role: Active BCH Buyer
Example: Ana (customer) pays Carlos (merchant) for groceries


Overview

A customer uses Asgaya to pay a merchant with BCH. The mechanism depends on whether the customer already has BCH:

Mode: Active - uses the app when they need to make a payment


Two Flows, Two Mechanisms

Flow 1: Customer Already Has BCH → Direct Payment

When to use: Customer has BCH in their Asgaya wallet

Flow:

  1. Merchant tells customer amount (e.g., “€20 for groceries”)
  2. Customer opens Asgaya
  3. Customer enters merchant’s Cash Account (e.g., Carlos#187) and amount
  4. Customer sends BCH directly to merchant (standard BCH transaction)
  5. Merchant’s wallet receives BCH instantly (0-conf)
  6. Done

Time: 30 seconds
Why direct payment: Simplest mechanism - one transaction, no coordination overhead


Flow 2: Customer Needs to Buy BCH → Covenant for Better UX

When to use: Customer doesn’t have BCH and needs to buy from passive seller first

Why covenant: Coordinates three parties (customer, seller, merchant) automatically. Customer takes one action (pay seller), then everything else is automated.

Flow:

  1. Merchant tells customer amount (e.g., “500,000 VES for groceries”)
  2. Customer opens Asgaya: “Pay with Asgaya”
  3. Customer enters merchant’s Cash Account and amount
  4. Customer creates covenant (merchant as recipient)
  5. Customer selects passive BCH seller (or app auto-selects best rate)
  6. Customer pays seller (via Bizum, cash, or preferred payment method)
  7. [AUTOMATIC] Seller’s app detects payment
  8. [AUTOMATIC] Seller funds covenant with BCH (seller locks their own BCH, just like in the remittance flow)
  9. [AUTOMATIC] Merchant gets notification
  10. Merchant accepts BCH from covenant
  11. Done

Time: 1-3 minutes (mostly waiting for seller’s bot to detect payment)

Why covenant is better here:

Without covenant:

With covenant:

The covenant isn’t technically necessary, but it provides superior UX. The customer doesn’t need to manage BCH in their wallet - they pay the seller, and the protocol handles getting BCH to the merchant automatically.


Customer vs Sender: What’s the Difference?

Aspect Customer Sender (Remittance)
Recipient Merchant (business) Family/friend (individual)
Context Payment for goods/services Money transfer
Location Often same place (in-person) Different countries
Technical flow Flexible: Direct (if has BCH) or Covenant (if buying BCH) Always covenant (sender → covenant → recipient claims)
Settlement Instant or near-instant (<3 min) Delayed (recipient claims when ready, hours/days)
Mechanism choice Optimized for UX (simplest for each scenario) Always covenant (geographic separation requires it)

Key differences:


Use Cases

As the Asgaya merchant network grows, several commerce use cases emerge beyond basic remittances:

Core Commerce Scenarios

Future Scenarios

More use cases will emerge as merchant network density increases. Each scenario leverages the same infrastructure - the merchant network is the innovation, mechanisms adapt to context.

Traditional e-commerce: Customer abroad pays online merchant (same as tourist, different medium)

Fee avoidance: Customer pays merchant with Asgaya instead of card (merchant saves 2-3% processing fees)



Phase 0 Status

This flow is NOT a Phase 0 priority.

Phase 0 focus: Remittances
Phase 1+ expansion: Commerce flows

Why remittances first: Building the remittance flow creates the infrastructure for all other use cases. By serving remittance users, we automatically enable:

Remittances bootstrap the entire ecosystem. Once merchants exist to serve recipients, customers can use those same merchants for commerce and currency exchange. Customer flows are actually simpler (direct BCH transfer) than remittances (covenant-based).


⚠️ Technical Note: Covenant Confirmation Delay (2026-07-26)

Issue discovered: The covenant-based customer flow (Flow 2) assumes near-instant covenant activation, but blockchain confirmation takes ~10-15 minutes.

Impact on Flow 2 timing:

Implications:

Resolution strategy:

  1. Phase 0: Focus on remittance flow (recipient willing to wait for confirmation)
  2. Phase 1+: Revisit customer flow with either:
    • App logic + Nostr coordination (without covenant, or simpler covenant)
    • 0-conf acceptance model (merchant risk tolerance)
    • Pre-funded covenant mechanisms
    • Customer buys BCH in advance (not at point of sale)

For now: Customer flow design is DEFERRED pending remittance flow validation.


âś… Update: 0-Conf Validation (2026-08-02)

Testing results: 0-conf covenant transactions proven working on testnet3

What was tested:

Implications for customer flow:

Recommendation: Phase 1+ customer flow should use 0-conf for small amounts, with merchant-configurable confirmation thresholds for larger transactions.

For detailed covenant mechanics: See Sender Journey - same underlying mechanism, different context.


Related: Sender Journey, Merchant Journey, Trader Journey


Status: Phase 1+ (customer flow designed, 0-conf validated, deferred pending remittance validation)
Updated: 2026-08-03


🏠 Home ↑ User Journeys 📖 Glossary

Related: Merchant