Gestiono
Referencia de APIAccounting / Pending Record

Update Pending Record pay

PATCH /v1/record/pending/pay • validated by `payPendingRecord`

← Back to full API reference
PATCH/v1/record/pending/payAuthentication 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: payPendingRecord.

Request details

Path params

No path parameters for this endpoint.

Query params

No explicit query schema was captured for this endpoint.

Body fields

  • paymentMethod (required)

    Type: enum

    Example: CASH

  • accountId (required)

    Type: number

  • amount

    Type: number

  • state

    Type: enum

    Example: PENDING

  • reference

    Type: string

  • amountConversion

    Type: number

  • receivedFrom

    Type: number

  • description

    Type: string

  • labels

    Type: array

    Example:

  • labels[] (required)

    Type: string

  • clientdata

    Type: object

  • date

    Type: string

  • metadata

    Type: unknown

  • pendingRecordId (required)

    Type: number

Default payloads

Path params

json
{}

Query

json
{}

Body

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

Sample response

json
{}

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

PATCH/v1/record/pending/payAuthentication required

Group: Accounting / Pending Record

PATCH /v1/record/pending/pay • validated by `payPendingRecord`

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

Body fields

  • paymentMethodrequired
    Type: enum
    Ejemplo: CASH
  • accountIdrequired
    Type: number
  • amount
    Type: number
  • state
    Type: enum
    Ejemplo: PENDING
  • reference
    Type: string
  • amountConversion
    Type: number
  • receivedFrom
    Type: number
  • description
    Type: string
  • labels
    Type: array
    Ejemplo:
  • labels[]required
    Type: string
  • clientdata
    Type: object
  • date
    Type: string
  • metadata
    Type: unknown
  • pendingRecordIdrequired
    Type: number

3. Prepare request payload

4. Server response

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