---
title: "Update invoice transaction"
method: POST
path: "/invoice/update-transaction"
tags: ["Invoice"]
---

# Update invoice transaction

`POST /invoice/update-transaction`

Use this BillingServ API endpoint to update invoice transaction. Review the response for the operation result or validation errors.

## Request body

- object
  - `invoice_id` integer, required
  - `transaction_id` integer, required
  - `gateway_id` integer
  - `amount` number, required
  - `status` integer, required
  - `message` string
  - `json_response` string
  - `transaction_key` string

## Response `200`

OK

- ApiResponse
  - `success` boolean

## Other responses

- `401` — Missing or invalid API key
- `403` — Authenticated key does not have permission for this endpoint
- `404` — Invoice not found or not accessible to this API account
- `422` — Validation error

## Changes

- **2026-08-22** `6b9208b64456` — 7 info
  - added the non-success response with the status `404`
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `403` status
  - added the optional property `code` to the response with the `422` status
  - …3 more

[Change history](https://skmtc.dev/b-cdn/apis/billingserv-api-v2/changes/invoice/update-transaction/post.md)

---

[API](https://skmtc.dev/b-cdn/apis/billingserv-api-v2.md) · [All operations](https://skmtc.dev/b-cdn/apis/billingserv-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/b-cdn/billingserv-api-v2/revisions/76cfbed5eb40/schema)
