Skip to main content
GET
/
v1
/
links
/
{uid}
/
stats
Get payment link (with stats)
curl --request GET \
  --url https://api.platnova.com/v1/links/{uid}/stats \
  --header 'X-API-KEY: <api-key>'
{
  "status": true,
  "data": {
    "id": "<string>",
    "title": "<string>",
    "description": "<string>",
    "amount": 123,
    "url": "<string>",
    "status": 123,
    "expires_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "total_revenue": 123,
    "total_transactions": 123,
    "total_users": 123,
    "total_views": 123,
    "payment_details": {}
  },
  "error": [
    "<unknown>"
  ],
  "message": "<string>"
}

Overview

Retrieve detailed information about a payment link including statistics and payment history. This endpoint allows you to view link performance and track payments made through the link.

Authorizations

X-API-KEY
string
header
required

API key for authentication.

Path Parameters

uid
string
required

Payment link UID

Response

Payment link with stats retrieved successfully

status
boolean
data
object
error
any[]
message
string