Admin Enterprise

Record Credit Payment

Record payment for an additional credit invoice.

Unlike regular payments, this does NOT extend the billing cycle. It marks the credit invoice as paid and allocates the purchased credits.

post/api/v1/admin/enterprise/contracts/{contract_public_id}/credit-payment

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}/credit-payment
  • 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.