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
}
}
Billing
List Payments
Retrieve a list of payments
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
integer
default:"1"
Page number
integer
default:"20"
Results per page
string
Filter by invoice
string
Filter by patient
string
Filter by method:
cash, card, transfer, othercurl -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
}
}

