Skip to main content

Submit Simulator Reversal

POST 

/api/simulator/reverse

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

Request

Body

required

    oneOf

    authorizationRequestMsg stringrequired

    requestMsg returned by the Simulator Authorization endpoint

    transactionType stringrequired

    Possible values: [purchase, refund]

    Transaction type.

    transactionAmount string

    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.

    currencyCode string

    Default value: USD

    ISO 4217 currency code.

Responses

Schema

    requestMsg string

    XML formatted ISO 8583 message sent to the simulated card scheme

    responseMsg string

    XML formatted ISO 8583 message returned from the simulated card scheme

    transactionId number

    ID of the transaction

Loading...