Mews · Example Payload

Mews Payments Addcreditcard Example

HospitalityHotelsPMSProperty Management

Mews Payments Addcreditcard 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_addCreditCard",
  "method": "POST",
  "path": "/api/connector/v1/payments/addCreditCard",
  "summary": "Add credit card payment",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
        "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
        "Client": "Sample Client 1.0.0",
        "CustomerId": "35d4b117-4e60-44a3-9580-c582117eff98",
        "Amount": {
          "Currency": "GBP",
          "GrossValue": 100
        },
        "CreditCard": {
          "Type": "Visa",
          "Number": "411111******1111",
          "Expiration": "12/2016",
          "Name": "John Smith"
        },
        "AccountingCategoryId": null,
        "ReceiptIdentifier": "123456",
        "Notes": "Terminal A"
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "CreditCardId": "ee2209ce-71c6-4e3a-978f-aac700c82c7b"
      }
    }
  ]
}