How to form the JSON for Basic Authentication for billPlz api? It is said in the API Reference of BillPlz that- "You authenticate to the Billplz API by providing your API Secret Keys in the request. You can get your API keys from your account’s settings page.
Authentication to the API occurs via HTTP Basic Auth. Provide your API key as the basic auth username. You do not need to provide a password."
How do I do it if I want to form a raw JSON and send it to the header?