Partner API

Post a bill payment

post/companies/{companyId}/bill-payments

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/companies/{companyId}/bill-payments
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Path parameters

companyIdstring uuid required

LedgerHQ company UUID

Headers

Idempotency-Keystring required

Stable retry key for this posting request within the LedgerHQ organization.

Request body

vendorContactIdstring uuid required
payFromAccountIdstring uuid required
datestring date required
amountCentsinteger required

Integer cents. Example: 1250 means $12.50.

paymentType'cash' | 'check' | 'credit_card' | 'bank_transfer' | 'other'
referencestring nullable
notesstring nullable
currencyCodestring
metadataobject

Response

Idempotent replay

Changes

No recorded changes to this operation across all 5 revisions of this API.