Gestiono
Referencia de APIAccounting / Pending Record

Create Pending Record credit makecreditpayment

← Back to full API reference
POST/v1/record/pending/credit/makeCreditPaymentAuth required

A pending record refers to documents (invoice, quote, order, loan) that can later be linked to records such as payments, credits, and accounting movements.

  • Requires organization permissions for this resource.
  • Validated by Zod schema: makeCreditPayment.

Request details

Body fields

FieldRequiredDescription
creditIdYesType: number
paymentMethodYesType: enumExample: CASH
accountIdYesType: number

Default payloads

Path params

json
{}

Query

json
{}

Body

json
{
  "creditId": 1,
  "paymentMethod": "CASH",
  "accountId": 1
}

Sample response

json
{
  "recordId": "<recordId>"
}