# Transactions and Fees Management
source: https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/transactions-and-fees-management/index.md

The following test cases are provided in this section.

|                                                                                                       Test case                                                                                                        |                     Test case scenario                     |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------|
| [Post a Debit Transaction](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/transactions-and-fees-management/post-debit-trans/index.md)                                       | Success                                                    |
|                                                                                                                                                                                                                        | Fail -- Not unique reference number                        |
|                                                                                                                                                                                                                        | Fail -- Insufficient funds                                 |
|                                                                                                                                                                                                                        | Fail -- Blockade by the usage limit maximum amount         |
| [Post a Credit Transaction](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/transactions-and-fees-management/post-credit-trans/index.md)                                     | Success                                                    |
|                                                                                                                                                                                                                        | Fail -- Not unique reference number                        |
|                                                                                                                                                                                                                        | Fail -- Blockade by the usage limit maximum amount         |
| [Charge a Fee](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/transactions-and-fees-management/charge-fee/index.md)                                                         | Success                                                    |
|                                                                                                                                                                                                                        | Fail -- Incorrect feeTypeId                                |
|                                                                                                                                                                                                                        | Fail -- Not unique reference number                        |
| [Release blocked funds (cancel pending Transaction)](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/transactions-and-fees-management/release-blocked-funds/index.md)        | Success                                                    |
|                                                                                                                                                                                                                        | Success -- Release funds failure                           |
| [Reverse a Transaction](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/transactions-and-fees-management/reverse-a-trans/index.md)                                           | Success                                                    |
|                                                                                                                                                                                                                        | Fail -- No serviceClassCode linked to the Transaction      |
|                                                                                                                                                                                                                        | Fail -- No transactionType linked to the Transaction       |
|                                                                                                                                                                                                                        | Fail -- Reverse not allowed for the given serviceClassCode |
|                                                                                                                                                                                                                        | Fail -- Reverse not allowed for the given transactionType  |
|                                                                                                                                                                                                                        | Fail -- Incorrect Transaction status                       |
| [Retrieve Transactions](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/transactions-and-fees-management/retrieve-transactions/index.md)                                     | Success                                                    |
|                                                                                                                                                                                                                        | Success -- No Transactions                                 |
| [Retrieve Transaction Documents](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/transactions-and-fees-management/retrieve-trans-docs/index.md)                              | Success                                                    |
|                                                                                                                                                                                                                        | Success -- No Transaction Documents                        |
| [Retrieve Transaction Documents by ID, ARN, RRN or SRN](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/transactions-and-fees-management/retrieve-trans-docs-by-id/index.md) | Success -- Retrieve Transaction Document by transaction id |
|                                                                                                                                                                                                                        | Success -- Retrieve Transaction Document by ARN            |
|                                                                                                                                                                                                                        | Success -- Retrieve Transaction Document by RRN            |
|                                                                                                                                                                                                                        | Success -- Retrieve Transaction Document by SRN            |
|                                                                                                                                                                                                                        | Success -- No Transaction Documents                        |
| [Retrieve Transaction's Fees](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/transactions-and-fees-management/retrieve-trans-fees/index.md)                                 | Success                                                    |
|                                                                                                                                                                                                                        | Success -- No Fees                                         |

