Amberflo API
/payments/pricing/stripe/stripe-product-details/all
1min
code examples curl location 'https //app amberflo io/payments/pricing/stripe/stripe product details/all' \\ \ header 'accept application/json' \\ \ header 'content type application/json'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var requestoptions = { method 'get', headers myheaders, redirect 'follow' }; fetch("https //app amberflo io/payments/pricing/stripe/stripe product details/all", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("https //app amberflo io/payments/pricing/stripe/stripe product details/all") https = net http new(url host, url port) https use ssl = true request = net http get new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" response = https request(request) puts response read body import requests import json url = "https //app amberflo io/payments/pricing/stripe/stripe product details/all" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("get", url, headers=headers, data=payload) print(response text) responses // successful request \[ { "product" { "active" false, "created" "", "default price" { "id" "", "expandedobject" {} }, "deleted" false, "description" "", "id" "", "images" \[ "" ], "livemode" false, "marketing features" \[ { "name" "" } ], "metadata" "", "name" "", "object" "", "package dimensions" { "height" 0, "length" 0, "weight" 0, "width" 0 }, "shippable" false, "statement descriptor" "", "tax code" { "id" "", "expandedobject" {} }, "type" "", "unit label" "", "updated" "", "url" "" }, "pricelist" \[ { "active" false, "billing scheme" "", "created" "", "currency" "", "currency options" "", "custom unit amount" { "maximum" "", "minimum" "", "preset" "" }, "deleted" false, "id" "", "livemode" false, "lookup key" "", "metadata" "", "nickname" "", "object" "", "product" { "id" "", "expandedobject" {} }, "recurring" { "aggregate usage" "", "interval" "", "interval count" "", "meter" "", "trial period days" "", "usage type" "" }, "tax behavior" "", "tiers" \[ { "flat amount" "", "flat amount decimal" 0, "unit amount" "", "unit amount decimal" 0, "up to" "" } ], "tiers mode" "", "transform quantity" { "divide by" "", "round" "" }, "type" "", "unit amount" "", "unit amount decimal" 0 } ] } ]