A cardholder makes a $45 purchase at a grocery store and requests $20 cash back. Before simulating this transaction type, verify that your product settings do not prohibit cashback transactions (such as the CASHB parameter). In the request, the `amount` should contain the purchase amount plus the cashback amount. For `cashBack` pass the amount to return in cash. This amount is visible in the `cashback_amount` field of the Auth API.

### Authorization

Call <a href="ref:post_createsimulatedcardauth" target="_blank">Create Simulated Card Authorization</a> with these parameters.

`accountNo`<<glossary:PAN>> or <<glossary:PRN>>
`association``visa` or `mc_auth`
`merchantName``Central Supermarket`
`specialFunctions``add_cashback` (Visa)<br>`make_cashback` (Mastercard)
`transType``1` or leave blank

#### View the authorization

Call <a href="ref:post_getauthhistory" target="_blank">Get Authorization History</a> to see the authorization. The `amount` and `local_amt` fields show the same amount.

### Settlement

Call <a href="ref:post_createsimulatedcardsettle" target="_blank">Create Simulated Card Settlement</a> with these parameters:

`authId``auth_id` from the previous authorization
`accountNo`PAN or PRN
`amount``65` or leave blank
`association``visa` or `mc_auth`

### Transactions created

Call <a href="ref:post_getalltranshistory" target="_blank">Get All Transaction History</a> to see the three ledger entries: