TP-71147 | [KONG] - API Endpoint Changes (#11663)

This commit is contained in:
Balrambhai Sharma
2024-07-03 17:09:16 +05:30
committed by GitHub
parent 2cd33a59d8
commit a22b631ffe

View File

@@ -250,18 +250,18 @@ interface RetrofitService {
@Body request: PaymentHashRequest
): Response<GenericResponse<PaymentHashResponse>>
@POST("/mandate/register")
@POST("/gi/mandate/register")
suspend fun initiateMandateRegistration(
@Body data: MandateRegistrationRequest,
@Query("type") type: String? = null
): Response<GenericResponse<AutoPayInitMandateResponse>>
@POST("/mandate/generate-hash")
@POST("/gi/mandate/generate-hash")
suspend fun generateHashForMandate(
@Body request: AutoPayHashRequest
): Response<GenericResponse<PaymentHashResponse>>
@GET("/mandate/register/status")
@GET("/gi/mandate/register/status")
suspend fun getMandateStatus(
@Query("referenceId") referenceId: String,
@Query("clientStatus") clientStatus: String?,
@@ -1110,7 +1110,7 @@ interface RetrofitService {
@Path("preQuoteId") preQuoteId: String
): Response<GenericResponse<CtaData>>
@GET("/mandate/setup")
@GET("/gi/mandate/setup")
suspend fun fetchIncentiviseAutopayResponse(
@Query("pageType") pageType: String? = null,
@Query("policyId") policyId: String? = null