v1

latestOpenAPI 3.0.12026-07-141671231.8 MB
Transactions

Match a transaction to a customer invoice

This endpoint allows you to match a transaction to a customer invoice. It is not applicable for draft invoices.

You can match one transaction with one customer invoice at a time. To match multiple transactions to a customer invoice, you need to call this endpoint multiple times. It's possible to match a transaction to multiple customer invoices too.

ℹ️ This endpoint requires the following scope: customer_invoices:all

post/api/external/v2/customer_invoices/{customer_invoice_id}/matched_transactions

Path parameters

customer_invoice_idinteger required

Request body

transaction_idinteger required

ID of the transaction

Example request

{
  "transaction_id": 42
}

Response

Transaction matched successfully