Skip to main content
GET
/
api
/
v1
/
billing
/
payments
curl -X GET "https://api.nevatal.com/api/v1/billing/payments?invoiceId=inv_001" \
  -H "Authorization: Bearer nvtl_your_api_key"
{
  "data": [
    {
      "id": "pay_001",
      "invoiceId": "inv_001",
      "amount": 178500,
      "currency": "COP",
      "method": "card",
      "status": "completed",
      "reference": "TXN-20250315-001",
      "paidAt": "2025-03-15T12:00:00Z",
      "createdAt": "2025-03-15T12:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 1
  }
}

Query Parameters

page
integer
default:"1"
Page number
limit
integer
default:"20"
Results per page
invoiceId
string
Filter by invoice
patientId
string
Filter by patient
method
string
Filter by method: cash, card, transfer, other
curl -X GET "https://api.nevatal.com/api/v1/billing/payments?invoiceId=inv_001" \
  -H "Authorization: Bearer nvtl_your_api_key"
{
  "data": [
    {
      "id": "pay_001",
      "invoiceId": "inv_001",
      "amount": 178500,
      "currency": "COP",
      "method": "card",
      "status": "completed",
      "reference": "TXN-20250315-001",
      "paidAt": "2025-03-15T12:00:00Z",
      "createdAt": "2025-03-15T12:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 1
  }
}