v1

latestOpenAPI 3.1.02026-07-26650108.9 KB

/invoicing/payments/{id}

get/invoicing/payments/id

Response

200

statusinteger

Example response

{
  "status": 200,
  "meta": {
    "object": "invoicing_payment",
    "pagination": {
      "total_records": 2,
      "total_pages": 1,
      "per_page": 20,
      "current_page": 1
    }
  },
  "data": [
    {
      "id": "0435d450-8961-4521-9eb5-2ef2dfdd2392",
      "public_id": 1,
      "created_at": "2020-02-17T11:36:50.277-03:00",
      "updated_at": "2020-02-17T11:36:50.524-03:00",
      "state": "success",
      "amount": "40.0",
      "client_id": "026efbfc-a27d-4684-8201-343138a369a1",
      "client_name": "Cliente API",
      "client_public_id": 1307,
      "payment_date": "2020-02-17T00:00:00.000-03:00",
      "credit_amount": "0.0",
      "transaction_kind": "No identificado",
      "payment_transactions": [
        {
          "id": "bb150071-214d-4d8f-b30c-9df9190e05aa",
          "payment_id": "0435d450-8961-4521-9eb5-2ef2df23ee92",
          "invoice_id": "33a8380a-98f0-420c-8b242-4fc1a16000bc",
          "invoice_number": "102",
          "amount": "40.0"
        }
      ]
    }
  ]
}