Mews · Example Payload

Mews Payments Addalternative Example

HospitalityHotelsPMSProperty Management

Mews Payments Addalternative Example is an example object payload from Mews, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "payments_addAlternative",
  "method": "POST",
  "path": "/api/connector/v1/payments/addAlternative",
  "summary": "Add alternative payment",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
        "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
        "Client": "Sample Client 1.0.0",
        "CustomerId": "35d4b117-4e60-44a3-9580-c582117eff98",
        "Method": "Ideal",
        "RedirectUrl": "https://mews.com",
        "Amount": {
          "Currency": "GBP",
          "GrossValue": 100
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "PaymentId": "3ae3976f-8f22-4936-a4e8-abf800bd7278",
        "NextAction": {
          "Discriminator": "RedirectToUrl",
          "Value": "https://sample-payment-gateway.com/redirect/authenticate/unFR1tjshd9OGDaSSyCeVEbO"
        }
      }
    }
  ]
}