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
}
}
Retrieve a list of 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
}
}
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
}
}