Card Transaction Simulations
Simulate clearing or refund
Simulate an authorization.clearing type transaction by including the original_transaction_token and amount in your request. To simulate a refund type transaction, set the is_refund field to true.
post/cards/transaction_simulations/clearing
Request body
Example request
{
"amount": 80,
"card_acceptor": {
"address": "address",
"city": "city",
"country": "country",
"ecommerce_security_level_indicator": "ecommerce_security_level_indicator",
"mcc": "mcc",
"name": "name",
"partial_approval_capable": false,
"state": "state",
"zip": "zip"
},
"force_post": false,
"is_refund": false,
"mid": "mid",
"network_fees": [
{
"amount": 123,
"credit_debit": "C",
"type": "ISSUER_FEE"
},
{
"amount": 123,
"credit_debit": "C",
"type": "ISSUER_FEE"
}
],
"original_transaction_id": "original_transaction_id"
}Response
Success
SimulationResponseModel required