Get payment sdk url by location

GET /V1/payments-sdk/{location}

Get payment sdk url by location

Responses

  • 200 Success.

    Hide response attributes Show response attributes object
    • code string Required

      The payments sdk code

    • params array[object] Required
      Hide params attributes Show params attributes object
  • Unexpected error

    Hide response attributes Show response attributes object
    • message string Required

      Error message

    • errors array[object]

      Error details

      Hide errors attributes Show errors attributes object
    • code integer

      Error code

    • parameters array[object]

      Error parameters item

      Hide parameters attributes Show parameters attributes object
    • trace string

      Stack trace

GET /V1/payments-sdk/{location}
curl \
 -X GET https://magento2.winkelstraat.mac/rest/all/V1/payments-sdk/{location}
Response examples (200)
[
  {
    "code": "string",
    "params": [
      {
        "name": "string",
        "value": "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"
}