Simulates different types of authorizations across several merchant categories and channels.
curl --request POST \
--url https://api.sandbox.sudo.cards/cards/simulator/authorization \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"cardId": "<string>",
"channel": "web",
"type": "purchase",
"amount": 123,
"currency": "NGN",
"merchant": {
"category": "<string>",
"merchantId": "<string>",
"name": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>"
}
}'
"{}"
200
The response is of type object
.
curl --request POST \
--url https://api.sandbox.sudo.cards/cards/simulator/authorization \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"cardId": "<string>",
"channel": "web",
"type": "purchase",
"amount": 123,
"currency": "NGN",
"merchant": {
"category": "<string>",
"merchantId": "<string>",
"name": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>"
}
}'
"{}"