Link a Ledger Transaction and Payment Order
There are two ways to link a ledger transaction to a payment order. As described above, you can create a new ledger transaction linked to an existing Payment Order.
Alternatively, you can create both a payment order and ledger transaction in a single API call. You can do so by using the Create Payment Order endpoint and using the ledger_transaction
field.
If you link a payment order to a ledger transaction and the payment order status changes to returned
, we will create a new ledger transaction tied to the corresponding Return object and reversing the entries of the original transaction.
If you link a payment order to a ledger transaction and then redraft the payment order, we will create a new ledger transaction linked to the redrafted payment order.
Updated 7 months ago