Simulate reversal
API reference
This endpoint allows you to create a reversal transaction to a single message clearing transaction. For example, use the single-message-clearing endpoint to simulate a purchase and then simulate a return with the single-message-reversal.
This API can only be run in the Cross River Sandbox
Endpoint: /cardmanagement/v1/simulate/single-message-reversal
POST
https://sandbox.crbcos.com/cardmanagement/v1/simulate/single-message-reversal
curl --location 'https://sandbox.crbcos.com/cardmanagement/v1/simulate/single-message-reversal' \
--data '{
"amount": "22",
"processingCode": "Purchase",
"cardId": "8c6a53e0-83ad-4b76-b446-b300006a3e6a",
"merchantCountryCode": "US",
"merchantName": "StreamFlix",
"merchantStreet": "123 Any St",
"merchantCity": "Anywhere",
"merchantState": "NY",
"merchantPostalCode": "10001",
"cardNetwork": "Visa",
"additionalAmounts": [
{
"amountType": "Unknown",
"accountType": "NotSpecified",
"amount": "10"
}
]
}
'