Authorization & Headers Finpay Widget Bill Payment

For backend based API request/call, Widget API requires HTTP(s) headers that will be explained below.

URL Endpoint

Environment
Method
URL

Content-Type and Accept Header

Widget API uses JSON format for input and output, hence it is required to specify JSON as content-type & accept JSON as response. The header specification is as shown below.

  • Content-Type: application/json

  • Accept: application/json

Signature

The following format for the Widget API signature:

  1. Sort all parameters outside the parameters that will be sent apart from mer_signature based on index/key in ascending order (ksort).

  2. Unite each parameter's contents by inserting the % symbol to separate the contents of one parameter from another, convert it to uppercase, and then add merchant_key at the end.

  3. Convert data to hash value using SHA-256.

Last updated