Get Hosted Fields Config

GET /V1/payments-config/hosted-fields/{location}

Get Hosted Fields Config.

Path parameters

Responses

GET /V1/payments-config/hosted-fields/{location}
curl \
 -X GET https://magento2.winkelstraat.mac/rest/all/V1/payments-config/hosted-fields/{location}
Response examples (200)
{
  "payment_source": "string",
  "three_d_s": "string",
  "is_vault_enabled": true,
  "cc_vault_code": "string",
  "requires_card_details": 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"
}