Admin Enterprise

Record Payment

Record a manual enterprise payment against an invoice.

This is the enterprise equivalent of Stripe's invoice.paid webhook: marks invoice paid, extends billing cycle, allocates next period credits, generates next invoice, and clears any dunning state.

post/api/v1/admin/enterprise/contracts/{contract_public_id}/payments

Request

  • Base URL: https://api.sanifu.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.sanifu.ai/api/v1/admin/enterprise/contracts/{contract_public_id}/payments
  • Auth: one of:
    • OAuth 2 (password, token URL auth/jwt/login)
    • HTTP basic

Path parameters

contract_public_idstring uuid required

Request body

invoice_public_idstring uuid required
amount_centsinteger required
currencystring
payment_method'bank_transfer' | 'check' | 'wire' | 'ach' required
payment_referencestring required
payment_datestring date required
notesstring nullable

Response

Successful Response

public_idstring uuid nullable
created_atstring date-time nullable
created_by_idinteger nullable
updated_atstring date-time nullable
updated_by_idinteger nullable
is_archivedboolean nullable
archived_atstring date-time nullable
archived_by_idinteger nullable
idinteger required
organization_billing_idinteger required
contract_idinteger required
invoice_idinteger required
amount_centsinteger required
currencystring required
payment_methodstring required
payment_referencestring required
payment_datestring date required
recorded_by_idinteger nullable required
notesstring nullable required
reversed_atstring date-time nullable
reversed_by_idinteger nullable
reversal_reasonstring nullable

Changes

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