Skip to main content
GET
Get a client payment schedule

Authorizations

Authorization
string
header
required

Path Parameters

clientPaymentScheduleId
string<uuid>
required

Id of the client payment schedule.

Response

200 - application/json

The client payment schedule.

id
string<uuid>
required

Id of the client payment schedule.

externalId
string | null
required

Id of the schedule outside LeanPay, chosen by the integrator. null for a schedule created in the LeanPay app.

clientId
string<uuid>
required

Id of the client.

name
string
required

Name of the schedule.

currency
string
required

ISO 4217 code of the currency of the schedule, the currency of its documents.

amount
integer
required

Total of the due dates.

remainingAmount
integer
required

Amount still to pay on the due dates.

invoices
object[]
required

Invoices of the schedule.

creditNotes
object[]
required

Credit notes of the schedule.

dueDates
object[]
required

Due dates of the schedule, sorted by ascending date.

createdAt
string<date-time>
required

Date the schedule was created.

updatedAt
string<date-time>
required

Date the schedule was last changed, a recalculation of its due dates after a payment included.