Skip to navigation

Get Pay In Details

One pay-in, with the invoices it settled, the amount charged, and any fees on top.

Authentication

X-Thera-API-Keystring
API Key authentication via header

Path parameters

companyIdstringRequired
payInIdstringRequired

Response

This endpoint returns an object.
timedatetime
statusenum
Allowed values:
invoiceCountinteger
invoiceslist of objects
currencystring
totallong
invoicesTotallong
The total amount charged excluding any fees.
subscriptionContractorCountinteger
subscriptionFeePerContractorlong
subscriptionTotallong
fixedFeelong
variableFeelong
variableFeeFractiondouble
exchangeRatesmap from strings to doubles
callingUserCanDeleteboolean
True if the calling user has permission to delete this payment.
paymentMethodobjectOptional
paymentMethodIdstringOptional