MealMe · JSON Structure

Mealme Api Payment Method Create Request Structure

PaymentMethodCreateRequest schema from MealMe Food Ordering API

Type: object Properties: 3 Required: 3
DeliveryFoodGroceryOrderingRestaurants

PaymentMethodCreateRequest is a JSON Structure definition published by MealMe, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

user_email user_id payment_method

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mealme/refs/heads/main/json-structure/mealme-api-payment-method-create-request-structure.json",
  "name": "PaymentMethodCreateRequest",
  "description": "PaymentMethodCreateRequest schema from MealMe Food Ordering API",
  "type": "object",
  "properties": {
    "user_email": {
      "type": "string",
      "example": "diner@example.com"
    },
    "user_id": {
      "type": "string",
      "example": "user_abc123"
    },
    "payment_method": {
      "type": "object",
      "description": "Payment method details.",
      "example": {}
    }
  },
  "required": [
    "user_email",
    "user_id",
    "payment_method"
  ]
}