Skip to content

Latest commit

 

History

History
76 lines (68 loc) · 1.61 KB

update-merchant-settings-response.md

File metadata and controls

76 lines (68 loc) · 1.61 KB

Update Merchant Settings Response

Structure

UpdateMerchantSettingsResponse

Fields

Name Type Tags Description
Errors IList<Error> Optional Any errors that occurred when updating the merchant settings.
MerchantSettings CheckoutMerchantSettings Optional -

Example (as JSON)

{
  "merchant_settings": {
    "merchant_id": "MERCHANT_ID",
    "payment_methods": {
      "afterpay_clearpay": {
        "enabled": true,
        "item_eligibility_range": {
          "max": {
            "amount": 10000,
            "currency": "USD"
          },
          "min": {
            "amount": 100,
            "currency": "USD"
          }
        },
        "order_eligibility_range": {
          "max": {
            "amount": 10000,
            "currency": "USD"
          },
          "min": {
            "amount": 100,
            "currency": "USD"
          }
        }
      },
      "apple_pay": {
        "enabled": false
      },
      "cash_app_pay": {
        "enabled": true
      },
      "google_pay": {
        "enabled": true
      },
      "cash_app": {
        "enabled": false
      }
    },
    "updated_at": "2022-06-16T22:25:35Z"
  },
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}