Referencia de APIAccounting / Pending Record
Create Pending Record credit makecreditpayment
← Back to full API reference
POST
/v1/record/pending/credit/makeCreditPaymentAuth requiredA 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
| Field | Required | Description |
|---|---|---|
| creditId | Yes | Type: number |
| paymentMethod | Yes | Type: enumExample: CASH |
| accountId | Yes | Type: number |
Default payloads
Path params
json
{}Query
json
{}Body
json
{
"creditId": 1,
"paymentMethod": "CASH",
"accountId": 1
}Sample response
json
{
"recordId": "<recordId>"
}