A safe copy of Lucabos with nothing real in it, for your team to build against.
In the sandbox, your team will:
# The cardholder sets a limit of $100 per purchase on a test card curl https://sandbox.lucabos.ai/v1/cards/card_test_4417/rules \ -H "Authorization: Bearer $LUCABOS_SANDBOX_KEY" \ -d '{ "type": "spend_limit", "per": "purchase", "amount": 10000, "currency": "USD", "set_by": "cardholder" }'
{
"id": "rule_01",
"type": "spend_limit",
"per": "purchase",
"amount": 10000,
"currency": "USD",
"set_by": "cardholder",
"status": "in_force"
}
# Try a $180 purchase against the rules in force curl https://sandbox.lucabos.ai/v1/simulate/purchase \ -H "Authorization: Bearer $LUCABOS_SANDBOX_KEY" \ -d '{ "card": "card_test_4417", "amount": 18000, "currency": "USD", "merchant_category": "electronics", "channel": "in_person" }'
{
"decision": "decline",
"rules_checked": 4,
"said_no": [
{
"rule": "rule_01",
"type": "spend_limit",
"set_by": "cardholder"
}
]
}