Get Smart Buttons Config

GET /V1/payments-config/smart-buttons/{location}

Get Smart Buttons Config.

Path parameters

Responses

GET /V1/payments-config/smart-buttons/{location}
curl \
 -X GET https://magento2.winkelstraat.mac/rest/all/V1/payments-config/smart-buttons/{location}
Response examples (200)
{
  "display_message": true,
  "display_venmo": true,
  "message_styles": {
    "layout": "string",
    "logo": {
      "type": "string"
    }
  },
  "button_styles": {
    "layout": "string",
    "color": "string",
    "shape": "string",
    "label": "string",
    "tagline": true,
    "height": 42,
    "use_default_height": true
  },
  "code": "string",
  "sdk_params": [
    {
      "name": "string",
      "value": "string"
    }
  ],
  "is_visible": true,
  "sort_order": "string",
  "payment_intent": "string",
  "title": "string"
}
Response examples (500)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}
Response examples (default)
{
  "message": "string",
  "errors": [
    {
      "message": "string",
      "parameters": [
        {
          "resources": "string",
          "fieldName": "string",
          "fieldValue": "string"
        }
      ]
    }
  ],
  "code": 42,
  "parameters": [
    {
      "resources": "string",
      "fieldName": "string",
      "fieldValue": "string"
    }
  ],
  "trace": "string"
}