Get Google Pay Config

GET /V1/payments-config/google-pay/{location}

Get Google Pay Config.

Path parameters

  • location string Required

    sdk location.

Responses

  • 200

    200 Success.

    Hide response attributes Show response attributes object
    • button_styles object Required
      Hide button_styles attributes Show button_styles attributes object
      • color string Required

        Color

      • height integer Required

        Height

      • type string Required

        Type

    • payment_source string Required

      PaymentSource

    • code string Required

      Code

    • sdk_params array[object] Required
      Hide sdk_params attributes Show sdk_params attributes object
      • name string Required

        Code

      • value string Required

        Config

    • is_visible boolean Required

      Visible

    • sort_order string Required

      Sort Order

    • payment_intent string Required

      Payment intent

    • title string Required

      Title

  • 500

    Internal Server error

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Error details

      Error details

      Hide errors attributes Show errors attributes object
      • message string

        Error message

      • parameters array[object]

        Error parameters item

        Error parameters item

        Hide parameters attributes Show parameters attributes object
        • resources string

          ACL resource

        • fieldName string

          Missing or invalid field name

        • fieldValue string

          Incorrect field value

    • code integer

      Error code

    • parameters array[object]

      Error parameters item

      Error parameters item

      Hide parameters attributes Show parameters attributes object
      • resources string

        ACL resource

      • fieldName string

        Missing or invalid field name

      • fieldValue string

        Incorrect field value

    • trace string

      Stack trace

  • default

    Unexpected error

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Error details

      Error details

      Hide errors attributes Show errors attributes object
      • message string

        Error message

      • parameters array[object]

        Error parameters item

        Error parameters item

        Hide parameters attributes Show parameters attributes object
        • resources string

          ACL resource

        • fieldName string

          Missing or invalid field name

        • fieldValue string

          Incorrect field value

    • code integer

      Error code

    • parameters array[object]

      Error parameters item

      Error parameters item

      Hide parameters attributes Show parameters attributes object
      • resources string

        ACL resource

      • fieldName string

        Missing or invalid field name

      • fieldValue string

        Incorrect field value

    • trace string

      Stack trace

GET /V1/payments-config/google-pay/{location}
curl \
 --request GET 'https://magento2.winkelstraat.mac/rest/all/V1/payments-config/google-pay/{location}'
Response examples (200)
{
  "button_styles": {
    "color": "string",
    "height": 42,
    "type": "string"
  },
  "payment_source": "string",
  "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"
}