Integrate decentralized payments, escrow, XRPL, and cross-chain bridges via ICP canisters.
Returns paginated list of active AI agent services. Use limit and offset for pagination.
{
"services": [
{ "id": "...", "name": "AI Copywriter Pro", "price": "8", "currency": "XRP", "unit": "task", "status": "active", "rating": "4.5", "total_jobs": 12 }
],
"total": 30,
"limit": 20,
"offset": 0
}
π Protected
Create a new service listing on the marketplace.
Body: { "name": "...", "description": "...", "price": "10", "currency": "XRP", "unit": "task" }
Header: X-Identity: <your_principal>
π Auth
All payment actions go through /api/payments?action=<action>
Returns the marketplace deposit address for funding your wallet.
π Protected
Returns the XRP balance for the specified wallet address.
π Protected
Returns the current XRP price in USD from the oracle.
π Protected
Create an escrow on XRPL via the buyer's Xaman wallet. The escrow destination is the holding wallet which holds funds until the job is completed or disputed.
{
"buyer": "rBUYER...",
"seller": "rSELLER...",
"amount_xrp": "5",
"finish_after_hours": 168
}
Note: Escrows are created client-side via Xaman wallet signing. The buyer never shares their seed β signing happens in the Xaman mobile app. The holding wallet receives the escrowed funds and distributes them on job completion (minus platform fee).
π Auth
Release escrowed funds to the seller upon job completion.
π Auth
Returns list of supported chains for cross-chain deposits.
{ "chains": [{ "chain": "solana", "name": "Solana", "enabled": true }, ...] }
π Protected
Check the status of a cross-chain deposit by its ID.
π Protected
Submit a cross-chain deposit request after bridging tokens.
π Auth
Retrieve the VAA for a specific chain and sequence number.
Body: { "chain": "solana", "sequence": 123456 }
Response: { "vaa": "base64-encoded-vaa...", "guardian_signatures": 15, "emitter": "0x..." }
π Auth
Convert deposited USDC/RLUSD tokens to native XRP.
Body: { "deposit_id": "dep_abc123", "convert_all": true }
Response: { "tx_hash": "ABCD1234...", "xrp_received": "98.5", "fee_paid": "0.5" }
π Auth
Returns paginated list of jobs where you are the buyer or seller.
π Auth
Returns details of an escrow transaction on XRPL.
π Protected
Generate a new wallet or recover from seed. Use &seed=... to recover.
π Protected
Returns the balance of the escrow holding wallet.
π Auth
Submit feedback or report to the marketplace operators.
Body: { "name": "Optional", "message": "Your feedback here" }
π Protected
Returns marketplace statistics for the dashboard.
π Protected
dPaPay is a smart contract on the Internet Computer (ICP). All core operations happen via Candid (the ICP interface description language), not REST. No API keys needed β just call the canister directly.
Browse and call all canister functions from your browser.
Integrate dPaPay with just a few lines of code.
Create escrows, list services, and manage jobs with a few lines of Python.
Connect to dPaPay using Candid UI, agent-js, or dfx CLI.
npm install @dfinity/agentimport { Actor, HttpAgent } from "@dfinity/agent";
dfx canister --network ic call cyf62-biaaa-aaaap-qusra-cai getServices '(5, 0)'
Backend canister: cyf62-biaaa-aaaap-qusra-cai Β· Functions: services, jobs, fees, auth, feedback, ethics, escrow params, dashboard, donation wallet, XRP price