---
title: "GET /api/services/app/Payment/GetLastCompletedPayment"
method: GET
path: "/api/services/app/Payment/GetLastCompletedPayment"
tags: ["Payment"]
---

# GET /api/services/app/Payment/GetLastCompletedPayment

`GET /api/services/app/Payment/GetLastCompletedPayment`

## Response `200`

Success

- SubscriptionPaymentDto
  - `id` integer
  - `gateway` 1 | 2
  - `tenantId` integer
  - `dayCount` integer
  - `paymentPeriodType` 30 | 365
  - `paymentId` string, nullable
  - `invoiceNo` integer
  - `status` 1 | 2 | 3 | 4 | 5
  - `isRecurring` boolean, nullable
  - `isProrationPayment` boolean
  - `externalPaymentId` string, nullable
  - `successUrl` string, nullable
  - `errorUrl` string, nullable
  - `subscriptionPaymentProducts` SubscriptionPaymentProductDto[], nullable
    - `id` integer
    - `description` string, nullable
    - `amount` number, double
    - `count` integer
    - `extraProperties` object, nullable
  - `extraProperties` object, nullable
  - `totalAmount` number, double

---

[API](https://skmtc.dev/dalieu/apis/portaldalieu-api.md) · [All operations](https://skmtc.dev/dalieu/apis/portaldalieu-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dalieu/portaldalieu-api/revisions/78dcf1621c0e/schema)
