according to your API specification when getting information about supplier we should get a following information: "supplierPaymentMethodDetails": [
{
"paymentMethodDetailDescription": "string",
"paymentMethodDetailValue": "string"
}
], in case plusgiro or bankgiro do not have a value, response is different "supplierPaymentMethodDetails": [
{
"paymentMethodDetailDescription": "Bankgironummer"
}, { "paymentMethodDetailDescription": "Plusgironummer" }
], As an API consumer want to receive actual value of the paymentMethodDetailValue even if is null or "" so we know what to present to user in our interface and can be sure that presented value is the same as in source system. For example: "supplierPaymentMethodDetails": [
{
"paymentMethodDetailDescription": "Bankgironummer",
"paymentMethodDetailValue": null
}, { "paymentMethodDetailDescription": "Plusgironummer", "paymentMethodDetailValue": null }
],
... View more