Swagger: Added explanation for empty currency field in Create Payment Request (#3285)

* Swagger: Added explanation for empty currency field in Create Payment Request

* Added nullable true
This commit is contained in:
Wouter Samaey
2022-01-11 12:11:11 +01:00
committed by GitHub
parent 7444bd06e4
commit cd91e48713

View File

@@ -326,8 +326,8 @@
"currency": {
"type": "string",
"format": "ISO 4217 Currency code(BTC, EUR, USD, etc)",
"description": "The currency of the payment request",
"nullable": false
"description": "The currency of the payment request. If empty, the store's default currency code will be used.",
"nullable": true
},
"email": {
"type": "string",