diff --git a/content/payments/billpay/pre-built-screens/webhooks.mdx b/content/payments/billpay/pre-built-screens/webhooks.mdx index 3f3a3e1b..74affb6a 100644 --- a/content/payments/billpay/pre-built-screens/webhooks.mdx +++ b/content/payments/billpay/pre-built-screens/webhooks.mdx @@ -299,12 +299,11 @@ Below are the parameter tables and sample payloads for the listed events. Note t {`{ "mobileNumber": "9481773053", "status": "FETCH_FAILURE", - "billId": "", "billerId": "MAHI00000NATIC", "billerName": "Mahindra Rural Housing Finance Ltd", "billerCategory": "Loan-Repayment", "sessionId": "1272707270496486911", - "customerId": "cust@1234" // if available + "customerId": "cust@1234", // if available "event": "bill_fetch_failure", "refId": "CMA0I65RCU2I32C3L0H0KNYQYAG40021831", "fetchErrorCode": "ERR001", @@ -337,18 +336,6 @@ Below are the parameter tables and sample payloads for the listed events. Note t FETCH_FAILURE - - billId - String - - Unique identifier for the bill. It is generated by the - biller. Also called as billNumber. Not applicable where - there is no bill. - - - 69a1fbc0-b5d1-4cbf-ac6d-c4244e3e7e0c - - billerId String @@ -677,10 +664,8 @@ Below are the parameter tables and sample payloads for the listed events. Note t "billerName": "Mahindra Rural Housing Finance Ltd", "billerCategory": "Loan-Repayment", "sessionId": "1272707270496486911", - "customerId": "cust@1234" // if available + "customerId": "cust@1234", // if available "orderId": "Q00ABCDEFGHZOQ", - "billAmount": "105.0", - "dueDate": "2021-05-23", // if available "amountPaid": "601.00", "event": "bill_payment_failure", "refId": "CMA0I65RCU2I32C3L0H0KNYQYAG40021831" @@ -788,22 +773,6 @@ Below are the parameter tables and sample payloads for the listed events. Note t Q00ABCDEFGHZOQ - - billAmount - String (Number) - Amount of the bill in rupees (INR) - - 101.55 - - - - dueDate - String (Date) - Due date of the bill. Format is YYYY-MM-DD. - - 2023-05-02 - - amountPaid String (Number) @@ -847,19 +816,14 @@ Below are the parameter tables and sample payloads for the listed events. Note t {`{ - "txnId": null, "mobileNumber": "9481773053", "status": "COLLECTION_FAILURE", - "billId": "dfeeaf14-e43a-4196-90d0-41089e979ad5", "billerId": "MAHI00000NATIC", "billerName": "Mahindra Rural Housing Finance Ltd", "billerCategory": "Loan-Repayment", - "billAmount": "105.0", - "dueDate": "2021-05-23", // if available "sessionId": "1272707270496486911", - "customerId": "cust@1234" // if available + "customerId": "cust@1234", // if available "amountPaid": 601.0, - "amount": null, "event": "bill_collection_failure", "refId": "CMA0I65RCU2I32C3L0H0KNYQYAG40021831" }`} @@ -871,18 +835,6 @@ Below are the parameter tables and sample payloads for the listed events. Note t Description Example - - txnId - - - Unique identifier for the transaction generated by COU. Not - generated here because Setu does not post the bill-payment - request to BBPS. - - - null - - mobileNumber String (Number) @@ -899,18 +851,6 @@ Below are the parameter tables and sample payloads for the listed events. Note t COLLECTION_FAILURE - - billId - String - - Unique identifier for the bill. It is generated by the - biller. Also called as billNumber. Not applicable where - there is no bill. - - - dfeeaf14-e43a-4196-90d0-41089e979ad5 - - billerId String @@ -941,22 +881,6 @@ Below are the parameter tables and sample payloads for the listed events. Note t Loan-Repayment - - billAmount - String (Number) - Amount of the bill in rupees (INR) - - 101.55 - - - - dueDate - String (Date) - Due date of the bill. Format is YYYY-MM-DD. - - 2023-05-02 - - sessionId String @@ -968,7 +892,7 @@ Below are the parameter tables and sample payloads for the listed events. Note t customerId String - Unique identifier for the customerId used for this session + Unique identifier for the customerId used for this session (if available) cust@1234 @@ -985,14 +909,6 @@ Below are the parameter tables and sample payloads for the listed events. Note t 601.75 - - amount - - - - null - - event String @@ -1030,14 +946,11 @@ Below are the parameter tables and sample payloads for the listed events. Note t "txnId": "AXO101557980", "mobileNumber": "9481773053", "status": "PAYMENT_REFUNDED", - "billId": "dfeeaf14-e43a-4196-90d0-41089e979ad5", "billerId": "MAHI00000NATIC", "billerName": "Mahindra Rural Housing Finance Ltd", "billerCategory": "Loan-Repayment", "sessionId": "1272707270496486911", - "customerId": "cust@1234" // if available - "billAmount": "105.0", - "dueDate": "2021-05-23", // if available + "customerId": "cust@1234", // if available "orderId": "H001234566666", "amountPaid": "601.00", "event": "bill_payment_refunded", @@ -1075,17 +988,6 @@ Below are the parameter tables and sample payloads for the listed events. Note t PAYMENT_REFUNDED - - billId - String - - Unique identifier for the bill. It is generated by the - biller. Also called as billNumber - - - dfeeaf14-e43a-4196-90d0-41089e979ad5 - - billerId String @@ -1127,27 +1029,11 @@ Below are the parameter tables and sample payloads for the listed events. Note t customerId String - Unique identifier for the customerId used for this session + Unique identifier for the customerId used for this session (if available) cust@1234 - - billAmount - String (Number) - Amount of the bill in rupees (INR) - - 601.75 - - - - dueDate - String (Date) - Due date of the bill. Format is YYYY-MM-DD. - - 2023-05-02 - - orderId String diff --git a/content/payments/billpay/v1/pre-built-screens/webhooks.mdx b/content/payments/billpay/v1/pre-built-screens/webhooks.mdx index 3fe83353..a0ce5cc8 100644 --- a/content/payments/billpay/v1/pre-built-screens/webhooks.mdx +++ b/content/payments/billpay/v1/pre-built-screens/webhooks.mdx @@ -255,12 +255,11 @@ Below are the parameter tables and sample payloads for the listed events. Note t {`{ "mobileNumber": "9481773053", "status": "FETCH_FAILURE", - "billId": "", "billerId": "MAHI00000NATIC", "billerName": "Mahindra Rural Housing Finance Ltd", "billerCategory": "Loan-Repayment", "sessionId": "1272707270496486911", - "customerId": "cust@1234" // if available + "customerId": "cust@1234", // if available "event": "bill_fetch_failure", "refId": "CMA0I65RCU2I32C3L0H0KNYQYAG40021831", "fetchErrorCode": "ERR001", @@ -293,17 +292,6 @@ Below are the parameter tables and sample payloads for the listed events. Note t FETCH_FAILURE - - billId - String - - Unique identifier for the bill. It is generated by the biller. Also - called as billNumber. Not applicable where there is no bill. - - - 69a1fbc0-b5d1-4cbf-ac6d-c4244e3e7e0c - - billerId String @@ -598,10 +586,8 @@ Below are the parameter tables and sample payloads for the listed events. Note t "billerName": "Mahindra Rural Housing Finance Ltd", "billerCategory": "Loan-Repayment", "sessionId": "1272707270496486911", - "customerId": "cust@1234" // if available + "customerId": "cust@1234", // if available "orderId": "Q00ABCDEFGHZOQ", - "billAmount": "105.0", - "dueDate": "2021-05-23", // if available "amountPaid": "601.00", "event": "bill_payment_failure", "refId": "CMA0I65RCU2I32C3L0H0KNYQYAG40021831" @@ -703,22 +689,6 @@ Below are the parameter tables and sample payloads for the listed events. Note t Q00ABCDEFGHZOQ - - billAmount - String (Number) - Amount of the bill in rupees (INR) - - 101.55 - - - - dueDate - String (Date) - Due date of the bill. Format is YYYY-MM-DD. - - 2023-05-02 - - amountPaid String (Number) @@ -762,19 +732,14 @@ Below are the parameter tables and sample payloads for the listed events. Note t {`{ - "txnId": null, "mobileNumber": "9481773053", "status": "COLLECTION_FAILURE", - "billId": "dfeeaf14-e43a-4196-90d0-41089e979ad5", "billerId": "MAHI00000NATIC", "billerName": "Mahindra Rural Housing Finance Ltd", "billerCategory": "Loan-Repayment", - "billAmount": "105.0", - "dueDate": "2021-05-23", // if available "sessionId": "1272707270496486911", - "customerId": "cust@1234" // if available + "customerId": "cust@1234", // if available "amountPaid": 601.0, - "amount": null, "event": "bill_collection_failure", "refId": "CMA0I65RCU2I32C3L0H0KNYQYAG40021831" }`} @@ -786,17 +751,6 @@ Below are the parameter tables and sample payloads for the listed events. Note t Description Example - - txnId - - - Unique identifier for the transaction generated by COU. Not generated - here because Setu does not post the bill-payment request to BBPS. - - - null - - mobileNumber String (Number) @@ -813,17 +767,6 @@ Below are the parameter tables and sample payloads for the listed events. Note t COLLECTION_FAILURE - - billId - String - - Unique identifier for the bill. It is generated by the biller. Also - called as billNumber. Not applicable where there is no bill. - - - dfeeaf14-e43a-4196-90d0-41089e979ad5 - - billerId String @@ -851,22 +794,6 @@ Below are the parameter tables and sample payloads for the listed events. Note t Loan-Repayment - - billAmount - String (Number) - Amount of the bill in rupees (INR) - - 101.55 - - - - dueDate - String (Date) - Due date of the bill. Format is YYYY-MM-DD. - - 2023-05-02 - - sessionId String @@ -878,7 +805,7 @@ Below are the parameter tables and sample payloads for the listed events. Note t customerId String - Unique identifier for the customerId used for this session + Unique identifier for the customerId used for this session (if available) cust@1234 @@ -895,14 +822,6 @@ Below are the parameter tables and sample payloads for the listed events. Note t 601.75 - - amount - - - - null - - event String @@ -939,14 +858,11 @@ Below are the parameter tables and sample payloads for the listed events. Note t "txnId": "AXO101557980", "mobileNumber": "9481773053", "status": "PAYMENT_REFUNDED", - "billId": "dfeeaf14-e43a-4196-90d0-41089e979ad5", "billerId": "MAHI00000NATIC", "billerName": "Mahindra Rural Housing Finance Ltd", "billerCategory": "Loan-Repayment", "sessionId": "1272707270496486911", - "customerId": "cust@1234" // if available - "billAmount": "105.0", - "dueDate": "2021-05-23", // if available + "customerId": "cust@1234", // if available "orderId": "H001234566666", "amountPaid": "601.00", "event": "bill_payment_refunded", @@ -984,17 +900,6 @@ Below are the parameter tables and sample payloads for the listed events. Note t PAYMENT_REFUNDED - - billId - String - - Unique identifier for the bill. It is generated by the biller. Also - called as billNumber - - - dfeeaf14-e43a-4196-90d0-41089e979ad5 - - billerId String @@ -1033,27 +938,11 @@ Below are the parameter tables and sample payloads for the listed events. Note t customerId String - Unique identifier for the customerId used for this session + Unique identifier for the customerId used for this session (if available) cust@1234 - - billAmount - String (Number) - Amount of the bill in rupees (INR) - - 601.75 - - - - dueDate - String (Date) - Due date of the bill. Format is YYYY-MM-DD. - - 2023-05-02 - - orderId String