api > thera > bank > Bank API

Get Pay In Details

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

get/companies/{companyId}/pay-ins/{payInId}

Request

  • Base URL: https://api.getthera.com
  • URL: https://api.getthera.com/companies/{companyId}/pay-ins/{payInId}
  • Auth: API key in header X-Thera-API-Key

Path parameters

companyIdstring required
payInIdstring required

Response

Response with status 200

timestring date-time required
status'PENDING' | 'POSTED' required
invoiceCountinteger required
currencystring required
totalinteger required
invoicesTotalinteger required

The total amount charged excluding any fees.

subscriptionContractorCountinteger required
subscriptionFeePerContractorinteger required
subscriptionTotalinteger required
fixedFeeinteger required
variableFeeinteger required
variableFeeFractionnumber double required
exchangeRatesobject required
callingUserCanDeleteboolean required

True if the calling user has permission to delete this payment. Can be used by FE to decide if a delete button should be exposed for this payment

paymentMethodIdstring

Changes

No recorded changes to this operation across all 1 revision of this API.