---
title: "Update a Bill Payment Request"
method: PATCH
path: "/v2/accounting/bills/paymentRequests/{id}"
tags: ["BillControllerV2", "Bill Payment Requests"]
---

# Update a Bill Payment Request

`PATCH /v2/accounting/bills/paymentRequests/{id}`

## Request

- Base URL: `https://api.railz.ai`
- URL: `https://api.railz.ai/v2/accounting/bills/paymentRequests/{id}`
- Auth: HTTP bearer

**Supported for:**

`sageIntacct`

## Path parameters

- `id` string, required

## Request body

- UpdateBillPaymentRequestV2Dto
  - `connectionUuid` string, required: Unique connection identifier.
  - `data` UpdateBillPaymentRequestV2, required
    - `state` 'paid'

## Response `200`

- UpdateBillPaymentResponseV2Dto
  - `connectionUuid` string, required
  - `businessName` string, required
  - `serviceName` 'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'myob' | 'zohoBooks' | 'byod', required
  - `pushCommunicationId` string, required
  - `requestedOn` string, date-time, required
  - `status` 'success' | 'failed' | 'pending', required
  - `data` UpdateBillPaymentV2, required
    - `currencyRate` number, float
    - `memo` string
    - `date` string, date
    - `totalAmount` number, float
    - `vendorRef` VendorRefDto
      - `id` string, required
    - `accountRef` AccountRefDto
      - `id` string, required
    - `currency` string
    - `lines` BillPaymentLineV2[]
      - `amount` number, float
      - `links` LinkRefDto[]
        - `id` string, required
        - `type` 'bill' | 'other' | 'creditNote' | 'billPayment' | 'paymentOnAccount' | 'refund'
      - `allocatedOnDate` string, date
    - `subsidiaryRefs` SubsidiaryRefDto[]
      - `id` string, required
    - `paymentMethod` 'unknown' | 'cash' | 'check' | 'creditCard' | 'debitCard' | 'bankTransfer' | 'giftCard' | 'other'
    - `paymentMethodRef` PaymentMethodRefDto
      - `id` string
      - `name` string
      - `type` 'unknown' | 'cash' | 'check' | 'creditCard' | 'debitCard' | 'bankTransfer' | 'giftCard' | 'other'
    - `passThrough` object

## Other responses

- `400`: Bad Request Error - Thrown if fields sent via query does not follow specifications
- `401`: Unauthorized - Not logged in or log in expired
- `403`: Forbidden - Not enough permission
- `500`: Server Error

## Changes

- **2026-09-03** `1383b9a47ac9`: 1 info
  - api tag `BillControllerV2` added
- **2026-08-10** `5cdfae3fa1fa`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/changes/v2/accounting/bills/paymentRequests/:id/patch.md)

---

[API](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api.md) - [All operations](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/revisions/1383b9a47ac9?raw)
