Submit Simulator Reversal

post/api/simulator/reverse

This endpoint can be used to test reversing a transaction on a simulated card network

Request

Body application/json

One of

  • authorizationRequestMsgstringrequired
  • transactionTypestringrequired
    Allowed values:purchaserefundwithdrawal

    Transaction type.

  • transactionAmountstring

    Amount that replaces the amount on the prior authorize or clear requests. An integer in the smallest denomination of the currency. If not provided the transaction will be reversed for the full amount of the authorization or clearing request.

  • currencyCodestringdefault: "USD"

    ISO 4217 currency code.

  • providerstring

    Card network simulator provider that processes the request. If undefined, the provider is selected on a best match basis. If the card was not provisioned via the provider then the simulated payment will be rejected. Possible values:

    • apac-test: APAC cards.
    • eu-test: EU cards.
    • na-test: US cards.

Response

Successful operation.

Body application/json

  • requestMsgstring

    XML formatted ISO 8583 message sent to the simulated card scheme

  • responseMsgstring

    XML formatted ISO 8583 message returned from the simulated card scheme

  • transactionIdnumber

    ID of the transaction