JSON config
A checkout API config. The modified side raises the rate limit, flips feature flags, and adds a CORS origin.
Original
{
"service": "checkout-api",
"version": "1.4.0",
"rateLimit": {
"windowSeconds": 60,
"maxRequests": 120
},
"featureFlags": {
"newCheckout": false,
"legacyCart": true,
"auditLog": true
},
"cors": {
"origins": [
"shop.example.com",
"admin.example.com"
],
"allowCredentials": true
}
}
Modified
{
"service": "checkout-api",
"version": "1.5.0",
"rateLimit": {
"windowSeconds": 60,
"maxRequests": 200
},
"featureFlags": {
"newCheckout": true,
"legacyCart": false,
"auditLog": true,
"expressPay": true
},
"cors": {
"origins": [
"shop.example.com",
"admin.example.com",
"preview.example.com"
],
"allowCredentials": true
}
}