Overview
Customers
Funding Sources
Cards
Accounts
Authorizations
Transactions
Simulator (Sandbox Only)
Simulate Authorization
Simulates different types of authorizations across several merchant categories and channels.
POST
/
cards
/
simulator
/
authorization
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>"
}
}'
"{}"
Authorizations
Body
application/json
Response
200
application/json
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>"
}
}'
"{}"
Assistant
Responses are generated using AI and may contain mistakes.