diff --git a/api-references/payments/billpay/api-integration.json b/api-references/payments/billpay/api-integration.json index f23e2b70..662ded14 100644 --- a/api-references/payments/billpay/api-integration.json +++ b/api-references/payments/billpay/api-integration.json @@ -5432,83 +5432,9 @@ ], "type": "object", "properties": { - "duplicate": { - "required": [ - "code", - "message" - ], - "type": "object", - "properties": { - "code": { - "type": "string", - "example": "duplicate-ref-id" - }, - "message": { - "type": "string" - }, - "refId": { - "type": "string", - "description": "The generated Reference ID for the request." - } - } - }, "refId": { "type": "string", "description": "The generated Reference ID for the request." - }, - "upmsRegistration": { - "type": "object", - "properties": { - "status": { - "type": "string", - "description": "Status of the registration request processing by our system", - "example": "PENDING", - "enum": [ - "PENDING", - "FAILED" - ] - }, - "duplicate": { - "required": [ - "code", - "message" - ], - "type": "object", - "properties": { - "code": { - "type": "string", - "example": "duplicate-ref-id" - }, - "message": { - "type": "string" - }, - "refId": { - "type": "string", - "description": "The generated Reference ID for the request." - } - } - }, - "error": { - "type": "object", - "properties": { - "code": { - "type": "string", - "example": "invalid-mandate" - }, - "message": { - "type": "string", - "example": "The mandate configuration is invalid" - } - }, - "description": "Present only when acknowledgement status for the registration is FAILED" - }, - "refId": { - "type": "string", - "description": "The reference ID for the UPMS registration", - "example": "HENSVVR4QOS7X1UGPY7JGUV444P10102202" - } - }, - "description": "Present only when upmsRegistration was requested" } } }, @@ -5683,7 +5609,7 @@ }, "responses": { "200": { - "description": "Success - Dispute successfully created and initialized in the system", + "description": "Success - Dispute assigned to appropriate resolver for investigation", "headers": { "X-Frame-Options": { "description": "X Frame options", @@ -5749,7 +5675,7 @@ "properties": { "remarks": { "type": "string", - "example": "Complaint has been registered successfully" + "example": "Dispute assigned to appropriate resolver for investigation" }, "ticketType": { "type": "string", @@ -5761,14 +5687,14 @@ }, "assignedTo": { "type": "string", - "example": "SETU" + "example": "ICICI BOU" }, "status": { "type": "string", "description": "BBPS Complaint status", - "example": "INITIALIZED", + "example": "ASSIGNED", "enum": [ - "INITIALIZED" + "ASSIGNED" ] }, "disputeId": { @@ -5797,8 +5723,8 @@ } } }, - "200-dispute-assigned-to-bou": { - "description": "Success - Dispute assigned to Biller Operating Unit for investigation", + "200-dispute-default-resolved": { + "description": "Success - Dispute automatically resolved due to timeout or default process in favour of customer", "headers": { "X-Frame-Options": { "description": "X Frame options", @@ -5864,7 +5790,11 @@ "properties": { "remarks": { "type": "string", - "example": "Dispute assigned to Biller Operating Unit for investigation" + "example": "Dispute automatically resolved due to timeout or default process in favour of customer" + }, + "responseReason": { + "type": "string", + "example": "Automatic resolution due to timeout" }, "ticketType": { "type": "string", @@ -5881,125 +5811,30 @@ "status": { "type": "string", "description": "BBPS Complaint status", - "example": "ASSIGNED_TO_BOU", + "example": "DEFAULT_RESOLVED", "enum": [ - "ASSIGNED_TO_BOU" + "DEFAULT_RESOLVED" ] }, - "disputeId": { - "type": "string", - "example": "OP0121046567755" - }, - "refId": { - "type": "string", - "description": "The generated Reference ID for the request." - } - }, - "x-go-name": "DisputeResponseData" - }, - "success": { - "type": "boolean", - "example": true - }, - "traceId": { - "type": "string", - "example": "C3SFG0O6N88R6UI7EQ" - } - }, - "x-go-name": "CouAgentDisputeResponse", - "x-omitempty": true - } - } - } - }, - "200-dispute-assigned-to-cou": { - "description": "Success - Dispute assigned to Customer Operating Unit for processing", - "headers": { - "X-Frame-Options": { - "description": "X Frame options", - "schema": { - "type": "string" - } - }, - "Strict-Transport-Security": { - "description": "Strict transport security", - "schema": { - "type": "string" - } - }, - "Cache-Control": { - "description": "Cache control", - "schema": { - "type": "string" - } - }, - "X-Content-Type-Options": { - "description": "X Content type options", - "schema": { - "type": "string" - } - }, - "Content-Security-Policy": { - "description": "Content security policy", - "schema": { - "type": "string" - } - }, - "Pragma": { - "description": "Pragma", - "schema": { - "type": "string" - } - }, - "X-XSS-Protection": { - "description": "X Xss Protection", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/json": { - "schema": { - "required": [ - "success", - "traceId" - ], - "type": "object", - "properties": { - "data": { - "required": [ - "assignedTo", - "disputeId", - "refId", - "remarks", - "status" - ], - "type": "object", - "properties": { - "remarks": { + "ticketTAT": { "type": "string", - "example": "Dispute assigned to Customer Operating Unit for processing" + "format": "date", + "nullable": true, + "example": "2024-01-20" }, - "ticketType": { + "disposition": { "type": "string", "enum": [ - "DISPUTE", - "COMPLAINT" + "D11", + "D12", + "D13", + "D21", + "D22", + "D23", + "D31", + "D32" ], - "example": "COMPLAINT" - }, - "assignedTo": { - "type": "string", - "example": "SETU COU" - }, - "status": { - "type": "string", - "description": "BBPS Complaint status", - "example": "ASSIGNED_TO_COU", - "enum": [ - "ASSIGNED_TO_COU" - ] + "example": "D11" }, "disputeId": { "type": "string", @@ -6027,8 +5862,8 @@ } } }, - "200-dispute-escalated": { - "description": "Success - Dispute escalated to higher authority for resolution", + "200-dispute-pending-refund": { + "description": "Success - Refund approved and currently being processed", "headers": { "X-Frame-Options": { "description": "X Frame options", @@ -6094,11 +5929,11 @@ "properties": { "remarks": { "type": "string", - "example": "Dispute escalated to higher authority due to complexity" + "example": "Refund approved and currently being processed" }, "responseReason": { "type": "string", - "example": "Requires management intervention" + "example": "Refund processing in progress" }, "ticketType": { "type": "string", @@ -6110,16 +5945,30 @@ }, "assignedTo": { "type": "string", - "example": "NPCI Escalation Team" + "example": "ICICI BOU" }, "status": { "type": "string", "description": "BBPS Complaint status", - "example": "ESCALATED", + "example": "PENDING_REFUND", "enum": [ - "ESCALATED" + "PENDING_REFUND" ] }, + "disposition": { + "type": "string", + "enum": [ + "D11", + "D12", + "D13", + "D21", + "D22", + "D23", + "D31", + "D32" + ], + "example": "D11" + }, "disputeId": { "type": "string", "example": "OP0121046567755" @@ -6147,7 +5996,7 @@ } }, "200-dispute-refunded": { - "description": "Success - Dispute resolved with successful refund to customer", + "description": "Success - Refund successfully processed and completed", "headers": { "X-Frame-Options": { "description": "X Frame options", @@ -6213,7 +6062,7 @@ "properties": { "remarks": { "type": "string", - "example": "Refund processed successfully to customer account" + "example": "Refund successfully processed and completed" }, "responseReason": { "type": "string", @@ -6286,7 +6135,7 @@ } }, "200-dispute-rejected": { - "description": "Success - Dispute rejected due to invalid claim or insufficient evidence", + "description": "Success - Dispute rejected due to insufficient evidence or invalid claims at biller's end", "headers": { "X-Frame-Options": { "description": "X Frame options", @@ -6352,7 +6201,7 @@ "properties": { "remarks": { "type": "string", - "example": "Dispute rejected due to insufficient evidence" + "example": "Dispute rejected due to insufficient evidence or invalid claims at biller's end" }, "responseReason": { "type": "string", @@ -6364,11 +6213,11 @@ "DISPUTE", "COMPLAINT" ], - "example": "COMPLAINT" + "example": "DISPUTE" }, "assignedTo": { "type": "string", - "example": "SETU COU" + "example": "ICICI BOU" }, "status": { "type": "string", @@ -6418,147 +6267,8 @@ } } }, - "200-dispute-resolved-favor-biller": { - "description": "Success - Dispute resolved in biller favor, no refund applicable", - "headers": { - "X-Frame-Options": { - "description": "X Frame options", - "schema": { - "type": "string" - } - }, - "Strict-Transport-Security": { - "description": "Strict transport security", - "schema": { - "type": "string" - } - }, - "Cache-Control": { - "description": "Cache control", - "schema": { - "type": "string" - } - }, - "X-Content-Type-Options": { - "description": "X Content type options", - "schema": { - "type": "string" - } - }, - "Content-Security-Policy": { - "description": "Content security policy", - "schema": { - "type": "string" - } - }, - "Pragma": { - "description": "Pragma", - "schema": { - "type": "string" - } - }, - "X-XSS-Protection": { - "description": "X Xss Protection", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/json": { - "schema": { - "required": [ - "success", - "traceId" - ], - "type": "object", - "properties": { - "data": { - "required": [ - "assignedTo", - "disputeId", - "refId", - "remarks", - "status" - ], - "type": "object", - "properties": { - "remarks": { - "type": "string", - "example": "Resolved in favour of Biller" - }, - "responseReason": { - "type": "string", - "example": "Biller provided valid service proof" - }, - "ticketType": { - "type": "string", - "enum": [ - "DISPUTE", - "COMPLAINT" - ], - "example": "DISPUTE" - }, - "assignedTo": { - "type": "string", - "example": "ICICI BOU" - }, - "status": { - "type": "string", - "description": "BBPS Complaint status", - "example": "RESOLVED", - "enum": [ - "RESOLVED" - ] - }, - "ticketTAT": { - "type": "string", - "format": "date", - "nullable": true, - "example": "2024-01-15" - }, - "disposition": { - "type": "string", - "enum": [ - "D11", - "D12", - "D13", - "D21", - "D22", - "D23", - "D31", - "D32" - ], - "example": "D23" - }, - "disputeId": { - "type": "string", - "example": "OP0121046567755" - }, - "refId": { - "type": "string", - "description": "The generated Reference ID for the request." - } - }, - "x-go-name": "DisputeResponseData" - }, - "success": { - "type": "boolean", - "example": true - }, - "traceId": { - "type": "string", - "example": "C3SFG0O6N88R6UI7EQ" - } - }, - "x-go-name": "CouAgentDisputeResponse", - "x-omitempty": true - } - } - } - }, - "200-dispute-resolved-favor-customer": { - "description": "Success - Dispute resolved in customer favor with refund eligibility", + "200-dispute-resolved": { + "description": "Success - Dispute successfully resolved through investigation in favour of customer", "headers": { "X-Frame-Options": { "description": "X Frame options", @@ -6624,7 +6334,7 @@ "properties": { "remarks": { "type": "string", - "example": "Resolved in favour of Customer" + "example": "Dispute successfully resolved through investigation in favour of customer" }, "responseReason": { "type": "string", diff --git a/content/payments/billpay/api-integration/apis.mdx b/content/payments/billpay/api-integration/apis.mdx index 52f22743..6d0b3e3c 100644 --- a/content/payments/billpay/api-integration/apis.mdx +++ b/content/payments/billpay/api-integration/apis.mdx @@ -17,7 +17,7 @@ For this, the core `fetch`, `pay` and `dispute` APIs are asynchronous. Each API ### Fetch bill -The Fetch bill API with endpoint `/bbps/bills/fetch/request` is used to get bill details for a customer. You need to pass the details of the customer and also the business they want to fetch their bill from. +The Fetch bill API with endpoint `/bbps/bills/fetch/request` is used to get bill details for a customer. You need to pass the details of the customer and also the business they want to fetch their bill from. For e.g., if your customer wants to pay their phone bill for Vodafone Postpaid, you will need to provide— @@ -275,13 +275,13 @@ In the response you either get the bill details, or "Processing" status if the b ### Pay bill -The Pay bill API is used to send details of a payment done by a user on your app/website to Setu. Setu uses this information to confirm a payment with the biller. +The Pay bill API is used to send details of a payment done by a user on your app/website to Setu. Setu uses this information to confirm a payment with the biller.
customer.billParameters instead of customer.customerParams.upmsEnabled flag set to true. You can check this flag using the List billers API, which also allows filtering by this flag. Trying to create a UPMS registration for billers without upmsEnabled set to true will fail.
+UPMS is only available for billers who have the upmsEnabled flag set to true. You can check this flag using the List billers API, which also allows filtering by this flag. Trying to create a UPMS registration for billers without upmsEnabled set to true will fail.