POST
/
cards
/
transaction_simulations
/
clearing
Simulate clearing or refund
curl --request POST \
  --url https://api.synctera.com/v1/cards/transaction_simulations/clearing \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "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"
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Transaction clearing or refund details

The body is of type object.

Response

201
application/json

Success

The response is of type object.