Piano VX Integration

Powered by Freckle Open Banking Payments

Breaking: Revolutionary Payment System Changes Digital Publishing

The digital publishing industry is witnessing a transformative shift with the integration of Piano VX and Freckle's Open Banking payment system. This groundbreaking collaboration enables readers to access premium content with unprecedented ease...

API Integration Endpoints

GET /api/piano/health

Check Piano integration health status

POST /api/freckle/grant

Grant access after successful payment (called by Freckle server)

Request Body Example
{
  "uid": "user_123",
  "term_id": "TERM_ID",
  "resource_id": "article_123",
  "freckle_txn_id": "frk_tx_abc123",
  "price_minor": 50,
  "currency": "GBP"
}
POST /api/access/check

Verify if user has access to a resource

Request Body Example
{
  "uid": "user_123",
  "rid": "article_123"
}
GET /api/access/user/:uid

List all accesses for a user

POST /api/freckle/refund

Process refund and emit refund event

POST /api/webhooks/piano

Receive Piano webhook events (signature verified)