---
title: "Retrieve a listing's paymentProviderId"
method: GET
path: "/listings/{id}?fields=paymentProviderId"
tags: ["Listings"]
---

# Retrieve a listing's paymentProviderId

`GET /listings/{id}?fields=paymentProviderId`

providerAccountId is important! - this is how you identify with Stripe once the clearing payment

## Path parameters

- `id` string, required

## Query parameters

- `fields` string

## Response `200`

Listings PaymentProviderId

- object
  - `paymentProviderId` string
  - `paymentProvider` object
    - `id` string
    - `status` string
    - `syncedAt` string, date
    - `lastPendingPaymentDate` string, date
    - `pendingPaymentsCount` number
    - `paymentMethodsCount` number
    - `providerAccountId` string
    - `isDefault` boolean
    - `providerType` string
    - `connectedBy` string
    - `accountName` string
    - `defaultCurrency` string
    - `statsLastUpdated` string, date

---

[API](https://skmtc.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/versions/7c62644070f2/schema)
