Skip to content

Instantly share code, notes, and snippets.

@ijunaid8989
Created June 7, 2022 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ijunaid8989/64e0d58f7d0e7ab71bd950f77609a6d6 to your computer and use it in GitHub Desktop.
Save ijunaid8989/64e0d58f7d0e7ab71bd950f77609a6d6 to your computer and use it in GitHub Desktop.
{
"data" => %{
"data" => [],
"electricity" => [
%{
"category" => "electricity",
"display_name" => "Umeme Display name!",
"id" => "86033d3c-dd19-4547-9df5-a022952e4d75",
"is_enabled" => true,
"logo_url" => "http://example.com/logo.png",
"merchant_providers" => [
%{
"id" => "2a70ff10-17b0-4f84-ae0d-aeead62b36fd",
"is_enabled" => true,
"services" => [
%{
"amount" => "1,000",
"display_name" => "Display Merchant service 9992",
"field" => "value",
"id" => "657e7eeb-c2e0-4fb7-ad22-ec3e65f497ea",
"is_amount_fixed" => true,
"is_prepaid" => false,
"logo_url" => "www.myapp.com/9992",
"name" => "Merchant service 9992"
}
]
}
],
"name" => "Umeme"
}
],
"taxes" => [],
"tv" => [],
"water" => [
%{
"category" => "water",
"display_name" => "Umeme Display name!",
"id" => "0246955e-4f94-4322-9d74-11d00692569e",
"is_enabled" => true,
"logo_url" => "http://example.com/logo.png",
"merchant_providers" => [
%{
"id" => "48a0ebad-8577-4f1a-839d-dab80ad2920d",
"is_enabled" => false,
"services" => [
%{
"amount" => "1,000",
"display_name" => "Display Merchant service 9990",
"field" => "value",
"id" => "6ff54cef-bf39-4d14-b9ed-2d46a59b321f",
"is_amount_fixed" => true,
"is_prepaid" => false,
"logo_url" => "www.myapp.com/9990",
"name" => "Merchant service 9990"
},
%{
"amount" => "2,000",
"display_name" => "Display Merchant service 9991",
"field" => "value",
"id" => "bb76e5e8-66fd-48f9-bb85-82ab403aa6d5",
"is_amount_fixed" => true,
"is_prepaid" => false,
"logo_url" => "www.myapp.com/9991",
"name" => "Merchant service 9991"
}
]
}
],
"name" => "Umeme"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment