Simulate card auth
API Reference
Simulates merchant authorization that affects the available balance on the deposit account. To simulate a declined transaction ensure the amount of the authorization is greater than the COS account balance.
This API can only be run in the Cross River Sandbox
Endpoint: /cardmanagement/v1/simulate/authorization
POST
https://sandbox.crbcos.com/cardmanagement/v1/simulate/authorization
curl --location 'https://sandbox.crbcos.com/cardmanagement/v1/simulate/authorization' \
--data '{
"amount": 1999,
"cardId": "8c6a53e0-83ad-4b76-b446-b300006a3e6a",
"merchantCountryCode": "US",
"merchantName": "StreamFlix",
"merchantStreet": "123 Any St",
"merchantCity": "Anywhere",
"merchantState": "NY",
"merchantPostalCode": "10001",
"cardNetwork": "Visa",
"additionalAmounts": [],
"processingCode": "BillPayment"
}'