expressCart/config/payment/schema/paypal.json

29 lines
581 B
JSON

{
"properties": {
"mode": {
"type": "string",
"enum": ["sandbox", "live"]
},
"client_id": {
"type": "string"
},
"client_secret": {
"type": "string"
},
"paypalCartDescription": {
"type": "string"
},
"paypalCurrency": {
"type": "string"
}
},
"required": [
"mode",
"client_id",
"client_secret",
"paypalCartDescription",
"paypalCurrency"
],
"additionalProperties": false
}