Gestiono
Referencia de APIAccounting / Pending Record

Create Pending Record credit

POST /v1/record/pending/credit • validated by `postCredit`

← Back to full API reference
POST/v1/record/pending/creditAuthentication 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: postCredit.

Request details

Path params

No path parameters for this endpoint.

Query params

No explicit query schema was captured for this endpoint.

Body fields

  • amount (required)

    Type: number

  • interest (required)

    Type: number

  • period (required)

    Type: enum

    Example: DAILY

  • interestType

    Type: enum

    Example: COMPOUND

  • totalNumberOfPayments (required)

    Type: number

  • latePaymentFee

    Type: number

    Example: 0

  • latePaymentInDays

    Type: number

    Example: 3

  • paymentDate (required)

    Type: number

  • paymentsStartsOn

    Type: string

  • pendingRecordId

    Type: number

  • accountId

    Type: number

  • paymentMethod

    Type: enum

    Example: CASH

  • contact

    Type: array

    Example:

  • contact[] (required)

    Type: object

  • contact[].type (required)

    Type: string

  • contact[].data (required)

    Type: string

  • contact[].dataType

    Type: enum

    Example: string

Default payloads

Path params

json
{}

Query

json
{}

Body

json
{
  "amount": 1,
  "interest": 1,
  "period": "DAILY",
  "totalNumberOfPayments": 1,
  "paymentDate": 1
}

Sample response

json
{
  "creditId": "<value>"
}

Test this endpoint now

Use your own credentials and execute a live request directly from this page.

1. Configure authentication for testing

You can test endpoints with signed API keys, a raw Authorization token, or browser cookies. Select one mode and fill in the required fields.

2. Select endpoint

POST/v1/record/pending/creditAuthentication required

Group: Accounting / Pending Record

POST /v1/record/pending/credit • validated by `postCredit`

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: postCredit.

Body fields

  • amountrequired
    Type: number
  • interestrequired
    Type: number
  • periodrequired
    Type: enum
    Ejemplo: DAILY
  • interestType
    Type: enum
    Ejemplo: COMPOUND
  • totalNumberOfPaymentsrequired
    Type: number
  • latePaymentFee
    Type: number
    Ejemplo: 0
  • latePaymentInDays
    Type: number
    Ejemplo: 3
  • paymentDaterequired
    Type: number
  • paymentsStartsOn
    Type: string
  • pendingRecordId
    Type: number
  • accountId
    Type: number
  • paymentMethod
    Type: enum
    Ejemplo: CASH
  • contact
    Type: array
    Ejemplo:
  • contact[]required
    Type: object
  • contact[].typerequired
    Type: string
  • contact[].datarequired
    Type: string
  • contact[].dataType
    Type: enum
    Ejemplo: string

3. Prepare request payload

4. Server response

Run a request to inspect the real-time response for your environment.