Authentication
The GovBill API uses a key pair (Public and Secret Keys) for authentication. To make an authenticated request to our API, you need to pass custom headers as described in this section.
Last updated
The GovBill API uses a key pair (Public and Secret Keys) for authentication. To make an authenticated request to our API, you need to pass custom headers as described in this section.
Last updated
The Public and Secret keys can be copied from the merchant dashboard under the specific merchant account details as described . These keys should be sent as headers with the header names; public-key and secret-key
For most of the API requests, only the public-key header is required. Scenarios that require the secret-key header will be described accordingly;
Content-Type
application/json
YES
x-api-version
1
YES
public-key
The Public Key as obtained from the merchant dashboard
YES
secret-key
The Secret Key as obtained from the merchant dashboard
NO