0% found this document useful (0 votes)
603 views4 pages

Bkash Parameter - Requirement-9-10-2019

The document discusses API parameters and examples for querying and paying bills. It includes sample parameters and response parameters for bill queries and payments. It provides example requests and responses. It also includes an error description section listing possible error codes and messages.

Uploaded by

Nabil Chowdhury
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
603 views4 pages

Bkash Parameter - Requirement-9-10-2019

The document discusses API parameters and examples for querying and paying bills. It includes sample parameters and response parameters for bill queries and payments. It provides example requests and responses. It also includes an error description section listing possible error codes and messages.

Uploaded by

Nabil Chowdhury
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

aaaas

[DOCUMENT TITLE]
[Document subtitle]

home
[Course title]
Bill Query Parameter List:
Sample Parameter:

 Username
 Password
 Acc_No / Meter_no / Customer_num / Bill_no / Ref_ID
 Bill_month (MMYYYY)
 Amount(If needed)

Response parameter:

 Error_Code
 Error_Msg
 Consumer name
 Bill month
 Bill amount
 Bill due date(YYYYMMDD)
 Trxid
 Querytime
 Amount Breakdown(if available)

Bill Payment Parameter List:


Sample Parameter:

 Username
 Password
 Acc_No / Meter_no / Customer_num / Bill_no / Ref_ID
 Bill_month (MMYYYY)
 Amount
 User_Mobile_Number(If needed)
 Trxid
 Paytime

Response parameter:

 Error_Code
 Error_Msg
 Consumer name
 Bill month
 Total amount
 Trxid
 Paytime
 Amount Breakdown(if available)

Both the request and the response body for the API is JSON formatted.

Page 1 of 3
EXAMPLE OF A BILL QUERY REQUEST:

" username": "bKash",

" password ": "bKash”,

" acc_No ": "12345",

" bill_month ": "052018"

EXAMPLE OF A RESPONSE:

" Error_code": "200",

" Error_msg": "Success”,

" consumer name": "XYZ",

" bill_month ": "052018" ,

" bill_amount":"500",

" bill_due_date":"20180604",

" trxid":"5C8300HJ6V",

" querytime":"20180407042736"

EXAMPLE OF A BILL PAYMENT REQUEST:

" username": "bKash",

" password ": "bKash”,

" acc_No ": "12345",

" bill_month ": "052018",

" bill_amount": "500",

" user_mobile_number ": "01715933381"

" Trxid": "1236985",

" Paytime": "20180603052836”,

Page 2 of 3
EXAMPLE OF A RESPONSE:

" Error_code": "200",

" Error_msg": "Success”,

" consumer name": "XYZ",

" bill_month ": "052018" ,

" total_amount":"500",

" trxid":"5C8300HJ6V",

" paytime":"20180603052936"

Error Description:
Error message should be contains the following:

Code Message Details


200 Success After successful transaction.
401 Authentication failed When messaging service is not allowed to connect
because it does not recognize username or
password for any reason.
402 Mandatory Field This is when any one of customer id, username or
missing password are empty or null.
404 Data Mismatch Requested data not matched with database data.
405 Already paid If the bill is already paid.
406 Data not found Requested data cannot find in the database.
408 Due date over If the bill payment date is over.
409 Minimum amount not If the customer is not pay the minimum amount.
paid
410 Pay amount and biller If the Pay amount and biller amount don't match.
amount not match

Page 3 of 3

You might also like