POST
/
cards
/
transaction_simulations
/
authorization
/
advice
Simulate authorization advice
curl --request POST \
  --url https://api.synctera.com/v1/cards/transaction_simulations/authorization/advice \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 123,
  "network_fees": [
    {
      "amount": 123,
      "credit_debit": "C",
      "type": "ISSUER_FEE"
    }
  ],
  "original_transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "transaction_options": {
    "additional_data": "<string>",
    "card_expiration_date_yymm": "<string>",
    "database_transaction_timeout": 123,
    "encryption_key_id": "<string>",
    "is_async": false,
    "pre_auth_time_limit": "<string>",
    "send_expiration_date": false,
    "send_track_data": false,
    "transaction_id": "<string>",
    "transaction_timeout_threshold_seconds": 123
  }
}'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json

Authorization advice details

The body is of type object.

Response

201
application/json

Success

The response is of type object.