Skip to main content

How to test

Simple simulation using the simulator

Authorisation

POST /api/v2.0/card-operations/simulate-authorization

{
"cardId": "A",
"amount": {
"value": "5.99",
"currency": "EUR"
}
}

Callback CardOperationCreatedOrUpdated {cardOperationId}

Settlement

POST /api/v2.0/card-operations/{cardOperationId}/simulate-settlement Use the {cardOperationId} created before.

Offline operation

POST /api/v2.0/card-operations/simulate-offline-settlement

{
"cardId": "card_75122-1703148094663_1",
"amount": {
"value": "12.12",
"currency": "EUR"
},
"operationDate": "2024-04-16T07:23:36.915Z",
"direction": "Debit", // Debit Credit
"merchantName": "Discraft Disc",
"merchantCategoryCode": "5941"
}



Complex simulation using PISO messages

For these simulations, ask your Customer Integration manager to provide you with the JSONs. They will enable you to generate the following cases:

  • Authorisation with modification of merchantCategoryCode, processingCode, context
  • Authorisation with another currency
  • DAC authorisation
  • Authorisation with partial or total adjustment
  • ATM withdrawal