What problem does it solve?
Pi payments require coordinating a multi-step workflow across frontend and backend. This Skill provides a complete blueprint for implementing the three-phase Pi payment flow: frontend initiates a payment, the server approves it, Pioneer confirms on Pi Wallet, and the backend completes the transaction. It also standardizes the PaymentDTO structure and enforces secure API usage.
Core Features & Use Cases
- Three-phase Pi payment flow integration covering frontend creation, server approval, and backend completion.
- Standardized PaymentDTO structure for consistent transaction data.
- Secure API usage & error handling including server-api-key protection and handling incomplete payments.
Quick Start
Wire your frontend to Pi.createPayment with correct callbacks and implement backend endpoints to approve and complete payments, then handle incomplete payments on re-auth.