2C2P
ActiveAn AI agent for 2C2P. It works in a scene with a live connection to 2C2P. It asks before it writes, and every run is traced.
Connect 2C2P Payment Gateway (PGW v4.3/v4.5) to create hosted checkout links, generate PromptPay QR codes and TrueMoney/LINE Pay deep links, query live transaction status, and verify webhook notifications.
What you can connect
Add these to your scene and AI gets access.
2C2P Payment Gateway Merchant ID and SHA Secret Key
A 2C2P invoice / payment session with live inquiry status and checkout URL
2C2P setup guides, troubleshooting, and reference — pin one to read it in-scene, or ask the agent.
Tools
What the agent can do once this is connected.
Reads 6
See data. Nothing changes.
twoc2p_payment_inquiry
Query transaction status and full payment details from 2C2P (POST /paymentInquiry) by invoice_no or payment_token.
twoc2p_get_payment_options
Retrieve available payment methods, categories, and merchant configuration for a 2C2P paymentToken (POST /paymentOption).
twoc2p_get_payment_option_details
Retrieve detailed payment channels, bank agent codes, validation rules, and installment plans for a specific category and group (POST /paymentOptionDetails).
twoc2p_transaction_status
Check the current status of an in-flight paymentToken session (POST /transactionStatus).
twoc2p_exchange_rate
Retrieve Dynamic Currency Conversion (DCC) or Multi-Currency Pricing (MCP) exchange rates for a paymentToken and card BIN (POST /exchangeRate).
twoc2p_verify_webhook_payload
Verify the HS256 signature and decode a 2C2P backend webhook JWT payload using the connected Merchant Secret Key.
Writes 2
Change data in the connected system.
twoc2p_create_payment_token
Initialize a 2C2P payment session (POST /paymentToken) signed with HS256 JWT.
twoc2p_do_payment
Execute a Direct API payment against a paymentToken (POST /payment).
Connect 2C2P over MCP
Daslab is itself an MCP server.
Connect 2C2P in a scene, then pin that scene's URL in Claude Code, Cursor, or any MCP client. The agent there gets your 2C2P tools, and your approval gate and trace travel with them.
https://daslab.run/mcp/<your-world>/<your-scene>
One scene can hold 2C2P and everything else you connect, so a single endpoint carries them all. Set up a client.
Use cases
- Create payment tokens and hosted checkout links for invoices and orders
- Generate PromptPay QR, TrueMoney, and mobile banking payment flows via Direct API
- Query real-time payment settlement status and verify signed JWT webhooks
Guides
- Hosted Checkout, PromptPay QR, and Direct Payment Flows
checkout-and-qr
Creating payment tokens, executing QR/wallet/card payments via Direct API, and checking payment inquiry status codes.
Ships with the integration — agents read these with docs_read, before the account is connected.
Knowledge bases →
Similar integrations
Others in Finance.
Ready to try 2C2P with Daslab?
Get started with CLI