Light APIv1.0.0

API / Reference / Card Transactions

Batch update card transactions

PATCH https://api.light.inc/v1/card-transactions/batch-update

Updates multiple card transactions in a single operation

Authorization

Send one of these on every request. See Authentication for how to get credentials.

  • API key

    Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.

  • Bearer token

Request body

application/json;charset=UTF-8

  • cardTransactionId string · uuid

  • customProperties array of object

    • groupId string · uuid

    • valueIds array of string · uuid

    • inlineValues array of string

  • lines array of object

    • lineId string · uuid

    • customProperties array of object

      • groupId string · uuid

      • valueIds array of string · uuid

      • inlineValues array of string

    • description string

    • accountId string · uuid

    • taxCodeId string · uuid

  • postingDate string · date

    Writable here, but not readable: no card-transaction response model returns postingDate, and the single-transaction PATCH does not accept it. To read a posting date back, query the ledger line — ExternalLedgerTransactionLineV1Model carries postingDate.

  • description string

Response

This endpoint returns no content.