WooCommerce · JSON Structure

Woocommerce Rest Api Payment Gateway Input Structure

Input for updating a payment gateway.

Type: object Properties: 2
eCommerceOpen SourceOrdersProductsWordPress

PaymentGatewayInput is a JSON Structure definition published by WooCommerce, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

enabled settings

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/woocommerce/refs/heads/main/json-structure/woocommerce-rest-api-payment-gateway-input-structure.json",
  "name": "PaymentGatewayInput",
  "description": "Input for updating a payment gateway.",
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Whether to enable the gateway.",
      "example": true
    },
    "settings": {
      "type": "object",
      "description": "Gateway settings to update.",
      "additionalProperties": true,
      "example": {}
    }
  }
}