{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/payplug/main/json-schema/payplug-post-v1-v1-id-request-schema.json",
  "title": "PostV1V1IdRequest",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/payplug-openapi-generated.yml#/components/schemas/PostV1V1IdRequest",
  "type": "object",
  "properties": {
    "amount": {
      "type": "integer"
    },
    "currency": {
      "type": "string"
    },
    "billing": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "first_name": {
          "type": "string"
        },
        "last_name": {
          "type": "string"
        },
        "mobile_phone_number": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "address1": {
          "type": "string"
        },
        "postcode": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "language": {
          "type": "string"
        }
      }
    },
    "shipping": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "first_name": {
          "type": "string"
        },
        "last_name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "address1": {
          "type": "string"
        },
        "postcode": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "language": {
          "type": "string"
        },
        "delivery_type": {
          "type": "string"
        }
      }
    },
    "hosted_payment": {
      "type": "object",
      "properties": {
        "return_url": {
          "type": "string"
        },
        "cancel_url": {
          "type": "string"
        }
      }
    },
    "notification_url": {
      "type": "string"
    },
    "metadata": {
      "type": "object",
      "properties": {
        "customer_id": {
          "type": "string"
        }
      }
    },
    "save_card": {
      "type": "boolean"
    },
    "force_3ds": {
      "type": "boolean"
    }
  }
}