v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Simulation

Create simulation

Create a simulation.

Prior to calling this endpoint to create a simulation, you must create a simulation configuration via the Create simulation config endpoint.

Refer to the Simulation service guide for additional information.

post/v1/simulations

Request body

amountnumber required

Total simulation amount

authorization_mode'CREDIT' | 'DEBIT' required

Requested simulation authorization mode. Credit cards can operate only in CREDIT mode. Debit cards from savings or checking accounts can operate only in DEBIT mode. Combo and multi-application cards can operate in both modes. REQUIRED for simulation requests, where message type indicator (MTI) is 0100 or 0120.

custom_filtersstring[]

Custom filters to be used in the simulation

document_numberstring

Document number related to the account to be used as the owner of this request. This field should be used in requests simulation based on client document number. REQUIRED if card pan is not present.

merchantsstring[]

Merchant IDs used to filter the simulation

plan_idsstring[]

Plan IDs used to filter the simulation

processing_codesstring[]

Procesing codes used to filter the simulation

Example request

{
  "amount": 100,
  "card": {
    "pan": "5555550000000001"
  },
  "custom_filters": [
    "custom filter1",
    "custom filter2",
    "custom filter3"
  ],
  "document_number": "39947739977",
  "merchants": [
    "MERCH01",
    "MERCH02",
    "MERCH03"
  ],
  "payment_agreement": {
    "original_principal_amount": 80,
    "applied_interest_amount": 80,
    "down_payment": 50
  },
  "plan_ids": [
    "000700",
    "000800",
    "000900"
  ],
  "processing_codes": [
    "000700",
    "000800",
    "000900"
  ]
}

Response

OK

account_idinteger

Pismo ID of the account assigned as the owner of this request

program_idnumber

Program ID linked to the user account

amountnumber

Total simulation amount

simulationobject

Any valid JSON that contains useful simulation information

Example response

{
  "account_id": 123,
  "program_id": 1,
  "amount": 100
}