API

Create settlement

Changed on

Release selected payment splits into a bank account with typed deductions. Idempotency-Key is required. Matching replays return the original resource; changed payloads conflict with HTTP 409. All writes require organization-wide Treasury visibility.

post/api/v1/settlements

Request

  • Base URL
    https://api.lapyme.com.ar
  • URL
    https://api.lapyme.com.ar/api/v1/settlements
  • Auth
    HTTP bearer

Headers

Idempotency-Keystring required

Clave estable para deduplicar reintentos de la misma operación.

Request body

bankAccountIdstring uuid required
settlementDatestring date required
netDepositAmountinteger required
integrationSourcestring
integrationIdstring

Response

Committed resource or replay

request_idstring required

Changes