Transactions

Create negation

Creates a new transaction that is the exact inverse of the given transaction. The sale prices and tax amounts will add up to zero.

post/v1/seller/transactions/createNegation

Request

  • Base URL: https://api.anrok.com
  • URL: https://api.anrok.com/v1/seller/transactions/createNegation
  • Auth: HTTP bearer

Request body

originalTransactionIdstring required

The ID of the transaction you want to negate.

newTransactionIdstring required

The ID for the new negated transaction.

originalTransactionExpectedVersioninteger

The expected transaction version. The refund will fail if this is not the latest version of the transaction.

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.