← Files StripeARCHIVED FILE

fixtures/test-data.json

4.22 KB · Nov 11, 2026 · 12:09 UTC

↓ Download file

See the change to this file →

{
  "_meta": {
    "template_version": 0
  },
  "fixtures": [
    {
      "name": "product_hypergrow",
      "path": "/v1/products",
      "method": "post",
      "params": {
        "name": "HyperGrowAI Growth"
      }
    },
    {
      "name": "price_annual",
      "path": "/v1/prices",
      "method": "post",
      "params": {
        "product": "${product_hypergrow:id}",
        "unit_amount": 9990,
        "currency": "usd",
        "recurring": {
          "interval": "year"
        },
        "nickname": "Annual"
      }
    },
    {
      "name": "price_monthly",
      "path": "/v1/prices",
      "method": "post",
      "params": {
        "product": "${product_hypergrow:id}",
        "unit_amount": 999,
        "currency": "usd",
        "recurring": {
          "interval": "month"
        },
        "nickname": "Monthly"
      }
    },
    {
      "name": "customer_allison",
      "path": "/v1/customers",
      "method": "post",
      "params": {
        "name": "Ben Stiedemann",
        "email": "Allison26@hotmail.com"
      }
    },
    {
      "name": "customer_billie",
      "path": "/v1/customers",
      "method": "post",
      "params": {
        "name": "Juanita Haley",
        "email": "Billie_Beier@yahoo.com"
      }
    },
    {
      "name": "customer_chaim",
      "path": "/v1/customers",
      "method": "post",
      "params": {
        "name": "Chaim Fisher-Towne",
        "email": "Chaim.Fisher-Towne45@gmail.com"
      }
    },
    {
      "name": "customer_george",
      "path": "/v1/customers",
      "method": "post",
      "params": {
        "name": "George Abernathy",
        "email": "Jocelyn.Boyer@hotmail.com"
      }
    },
    {
      "name": "pm_billie",
      "path": "/v1/payment_methods/pm_card_visa/attach",
      "method": "post",
      "params": {
        "customer": "${customer_billie:id}"
      }
    },
    {
      "name": "pm_chaim",
      "path": "/v1/payment_methods/pm_card_visa/attach",
      "method": "post",
      "params": {
        "customer": "${customer_chaim:id}"
      }
    },
    {
      "name": "pm_george",
      "path": "/v1/payment_methods/pm_card_visa/attach",
      "method": "post",
      "params": {
        "customer": "${customer_george:id}"
      }
    },
    {
      "name": "pi_billie",
      "path": "/v1/payment_intents",
      "method": "post",
      "params": {
        "amount": 9990,
        "currency": "usd",
        "customer": "${customer_billie:id}",
        "payment_method": "${pm_billie:id}",
        "payment_method_types": ["card"],
        "confirm": true,
        "off_session": true
      }
    },
    {
      "name": "pi_chaim",
      "path": "/v1/payment_intents",
      "method": "post",
      "params": {
        "amount": 9999,
        "currency": "usd",
        "customer": "${customer_chaim:id}",
        "payment_method": "${pm_chaim:id}",
        "payment_method_types": ["card"],
        "confirm": true,
        "off_session": true
      }
    },
    {
      "name": "refund_billie",
      "path": "/v1/refunds",
      "method": "post",
      "params": {
        "payment_intent": "${pi_billie:id}",
        "reason": "requested_by_customer"
      }
    },
    {
      "name": "refund_chaim",
      "path": "/v1/refunds",
      "method": "post",
      "params": {
        "payment_intent": "${pi_chaim:id}",
        "reason": "requested_by_customer"
      }
    },
    {
      "name": "subscription_billie",
      "path": "/v1/subscriptions",
      "method": "post",
      "params": {
        "customer": "${customer_billie:id}",
        "items": [
          {
            "price": "${price_annual:id}"
          }
        ],
        "default_payment_method": "${pm_billie:id}"
      }
    },
    {
      "name": "subscription_george",
      "path": "/v1/subscriptions",
      "method": "post",
      "params": {
        "customer": "${customer_george:id}",
        "items": [
          {
            "price": "${price_annual:id}"
          }
        ],
        "default_payment_method": "${pm_george:id}"
      }
    },
    {
      "name": "cancel_billie",
      "path": "/v1/subscriptions/${subscription_billie:id}",
      "method": "delete"
    },
    {
      "name": "cancel_george",
      "path": "/v1/subscriptions/${subscription_george:id}",
      "method": "delete"
    }
  ]
}

SHA-256: 7fd8aad8f9c34af55c1a63fb6f9c7ba90be1d40eb233b848133b459268574ca9