{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 2,
  "name": "knit-pay/payment-button",
  "version": "0.1.0",
  "title": "Knit Pay - Payment Button",
  "category": "widgets",
  "icon": "money",
  "description": "Payment Button",
  "keywords": [
    "instamojo",
    "pay u",
    "razorpay",
    "cashfree",
    "upi",
    "easebuzz"
  ],
  "supports": {
    "anchor": true,
    "align": true,
    "alignWide": false,
    "html": false,
    "spacing": {
      "padding": true
    },
    "typography": {
      "fontSize": true,
      "lineHeight": true
    },
    "color": {
      "gradients": true
    }
  },
  "textdomain": "knit-pay-payment-button",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "script": "file:script.js",
  "viewScript": [
    "file:./view.js"
  ],
  "style": "file:./style-index.css",
  "attributes": {
    "amount": {
      "type": "string",
      "default": ""
    },
    "currency": {
      "type": "string",
      "default": "INR"
    },
    "payment_description": {
      "type": "string",
      "default": ""
    },
    "config_id": {
      "type": "string",
      "default": "0"
    },
    "text": {
      "type": "string",
      "default": "Pay Now"
    }
  }
}