Card transaction
Update one
Updates a card transaction. For company users the only editable field is comments (the rendición note): if the request body does not include comments and the caller is not a Cardda superadmin, the request is rejected with 401.
The fields merchant_id, issuing_statement_id, status, and exchange_rate are admin-only and ignored for non-admin callers.
The transaction's rendición custom-column values live on the transaction and are protected by two immutability gates; they are not editable through this endpoint.
patch/v1/card_transactions/{card_transaction_id}
Path parameters
card_transaction_idstring required
Card transaction id (vendor-prefixed string, often base64-encoded — not a UUID).
Parameters
#/paths/~1v1~1merchants/get/parameters/0 — unresolved $ref
Request body
Example request
{
"comments": "Reunión con cliente — revisión Q1"
}Response
The updated card transaction.
Example response
{
"id": "09f6cc5e-8a16-43ae-8bb1-637c0e1c0a6d",
"accounting_ledger_tx_id": "09f6cc5e-8a16-43ae-8bb1-637c0e1c0a6d",
"company_id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "8e668a4e-8485-4248-86cc-a7a2201cf8c3",
"card_name": "Marketing Visa",
"card_last4": "4242",
"description": "Pago proveedor 01/02",
"transaction_type": "card_transactions",
"status": "approved",
"amount": "-150000",
"currency": "CLP",
"charge": "-150000",
"deposit": "0",
"amount_in_clp": "-150000",
"exchange_rate": "1,032.5",
"exchange_rate_value": "1032.5",
"target_amount": "-150000",
"target_currency": "clp",
"commission_amount": "1500",
"merchant_name": "Amazon Web Services",
"affects_balance": true
}Changes
No recorded changes to this endpoint across all 1 revision of this API.