Skip to main content
POST
Move a bill payment

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

id
integer
required

ID of the bill the payment is currently on

paymentId
integer
required

ID of the payment to move

Body

application/json
target_bill_id
integer
required

Bill to move the payment to. Must belong to the same vendor and use the payment's currency.

Required range: x >= 1
Example:

812

amount
number<float> | null

Amount to move. Defaults to the whole payment. Cannot exceed the payment amount or the target bill's outstanding amount.

Required range: x >= 0.01
Example:

250

Response

Payment moved. Returns both bills in the same shape as GET /bills/{id}.

source_bill
object

The source bill (bill detail shape)

target_bill
object

The target bill (bill detail shape)