JSON 設定
チェックアウト API の設定です。修正稿はレート制限を上げ、機能フラグを切り替え、CORS のオリジンを 1 つ追加します。
原文
{
"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
}
}
修正稿
{
"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
}
}