Transactions
Cancel a transaction
Cancel a previously submitted transaction.
Cancellation must reference the transaction you want to cancel. It can be the original transaction, a credit note or an adjustment.
Use /cancellation endpoint to cancel a transaction.
post/v1/transactions/cancellation
Request
- The document declares no server URL.
- AuthAPI key in header Ocp-Apim-Subscription-Key
Request body
Example request
{
"note": "This is my HTML <e>enabled</e> note.",
"supplier": {
"external_id": "MY_EXTERNAL_ID_001",
"id": "a7cc64422fc247069aa64d4fe8b387c5"
},
"tax_reason": {
"code": "S01",
"description": "S01",
"tax_reason_details": [
{
"code": "S01",
"note": "S01"
}
]
}
}Response
Accepted - transaction was successfully submitted for processing.
Changes
No recorded changes to this operation across all 1 revision of this API.