|
|
|
@@ -10,6 +10,7 @@ package com.navi.pay.network.retrofit
|
|
|
|
import com.navi.common.model.ModuleNameV2
|
|
|
|
import com.navi.common.model.ModuleNameV2
|
|
|
|
import com.navi.common.model.common.InvoiceDownloadData
|
|
|
|
import com.navi.common.model.common.InvoiceDownloadData
|
|
|
|
import com.navi.common.network.models.GenericResponse
|
|
|
|
import com.navi.common.network.models.GenericResponse
|
|
|
|
|
|
|
|
import com.navi.common.network.requestmanager.request.Priority
|
|
|
|
import com.navi.common.network.retry.annotations.RetryPolicy
|
|
|
|
import com.navi.common.network.retry.annotations.RetryPolicy
|
|
|
|
import com.navi.pay.common.model.network.ActivateVpaRequest
|
|
|
|
import com.navi.pay.common.model.network.ActivateVpaRequest
|
|
|
|
import com.navi.pay.common.model.network.DeactivateVpaRequest
|
|
|
|
import com.navi.pay.common.model.network.DeactivateVpaRequest
|
|
|
|
@@ -129,6 +130,7 @@ interface NaviPayRetrofitService {
|
|
|
|
private const val NAVI_PAY_API_VERSION4 = "v4"
|
|
|
|
private const val NAVI_PAY_API_VERSION4 = "v4"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@RetryPolicy
|
|
|
|
@RetryPolicy
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION3/navipay/customer/fetch")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION3/navipay/customer/fetch")
|
|
|
|
suspend fun getCustomer(
|
|
|
|
suspend fun getCustomer(
|
|
|
|
@@ -138,32 +140,38 @@ interface NaviPayRetrofitService {
|
|
|
|
@GET("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/list-banks")
|
|
|
|
@GET("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/list-banks")
|
|
|
|
suspend fun getAllBanks(): Response<GenericResponse<BankListResponse>>
|
|
|
|
suspend fun getAllBanks(): Response<GenericResponse<BankListResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@RetryPolicy
|
|
|
|
@RetryPolicy
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/banks/fetch-accounts")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/banks/fetch-accounts")
|
|
|
|
suspend fun getBankAccounts(
|
|
|
|
suspend fun getBankAccounts(
|
|
|
|
@Body fetchAccountsRequest: FetchAccountsRequest
|
|
|
|
@Body fetchAccountsRequest: FetchAccountsRequest
|
|
|
|
): Response<GenericResponse<FetchAccountsResponse>>
|
|
|
|
): Response<GenericResponse<FetchAccountsResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/banks/add-account")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/banks/add-account")
|
|
|
|
suspend fun addBankAccount(
|
|
|
|
suspend fun addBankAccount(
|
|
|
|
@Body addAccountRequest: AddAccountRequest
|
|
|
|
@Body addAccountRequest: AddAccountRequest
|
|
|
|
): Response<GenericResponse<Any?>>
|
|
|
|
): Response<GenericResponse<Any?>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION3/navipay/customer/bind")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION3/navipay/customer/bind")
|
|
|
|
suspend fun bindDevice(
|
|
|
|
suspend fun bindDevice(
|
|
|
|
@Body bindDeviceRequest: BindDeviceRequest
|
|
|
|
@Body bindDeviceRequest: BindDeviceRequest
|
|
|
|
): Response<GenericResponse<BindDeviceResponse>>
|
|
|
|
): Response<GenericResponse<BindDeviceResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION3/navipay/bind-device/status")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION3/navipay/bind-device/status")
|
|
|
|
suspend fun bindDeviceStatus(
|
|
|
|
suspend fun bindDeviceStatus(
|
|
|
|
@Body bindDeviceStatusRequest: BindDeviceStatusRequest
|
|
|
|
@Body bindDeviceStatusRequest: BindDeviceStatusRequest
|
|
|
|
): Response<GenericResponse<BindDeviceStatusResponse>>
|
|
|
|
): Response<GenericResponse<BindDeviceStatusResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.LOW)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION3/navipay/bind-device/decline")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION3/navipay/bind-device/decline")
|
|
|
|
suspend fun declineDeviceBinding(
|
|
|
|
suspend fun declineDeviceBinding(
|
|
|
|
@Body declineDeviceRequest: DeclineDeviceRequest
|
|
|
|
@Body declineDeviceRequest: DeclineDeviceRequest
|
|
|
|
): Response<GenericResponse<DeclineDeviceResponse>>
|
|
|
|
): Response<GenericResponse<DeclineDeviceResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@GET("/gateway-service/$NAVI_PAY_API_VERSION3/navipay/account/linked-accounts")
|
|
|
|
@GET("/gateway-service/$NAVI_PAY_API_VERSION3/navipay/account/linked-accounts")
|
|
|
|
suspend fun fetchLinkedAccounts(): Response<GenericResponse<LinkedAccountsResponse>>
|
|
|
|
suspend fun fetchLinkedAccounts(): Response<GenericResponse<LinkedAccountsResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -182,40 +190,49 @@ interface NaviPayRetrofitService {
|
|
|
|
@Body deleteAccountRequest: DeleteAccountRequest
|
|
|
|
@Body deleteAccountRequest: DeleteAccountRequest
|
|
|
|
): Response<GenericResponse<Any?>>
|
|
|
|
): Response<GenericResponse<Any?>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/account/otp")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/account/otp")
|
|
|
|
suspend fun getOtp(@Body otpRequest: OtpRequest): Response<GenericResponse<OtpResponse>>
|
|
|
|
suspend fun getOtp(@Body otpRequest: OtpRequest): Response<GenericResponse<OtpResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/account/pin/reset")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/account/pin/reset")
|
|
|
|
suspend fun setResetPin(@Body pinResetRequest: PinResetRequest): Response<GenericResponse<Any?>>
|
|
|
|
suspend fun setResetPin(@Body pinResetRequest: PinResetRequest): Response<GenericResponse<Any?>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/banks/aadhaar-consent")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/banks/aadhaar-consent")
|
|
|
|
suspend fun checkAadhaarSupport(
|
|
|
|
suspend fun checkAadhaarSupport(
|
|
|
|
@Body aadhaarConsentRequest: AadhaarConsentRequest
|
|
|
|
@Body aadhaarConsentRequest: AadhaarConsentRequest
|
|
|
|
): Response<GenericResponse<AadhaarConsentResponse>>
|
|
|
|
): Response<GenericResponse<AadhaarConsentResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/account/pin/change")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/account/pin/change")
|
|
|
|
suspend fun changePin(@Body pinChangeRequest: PinChangeRequest): Response<GenericResponse<Any?>>
|
|
|
|
suspend fun changePin(@Body pinChangeRequest: PinChangeRequest): Response<GenericResponse<Any?>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/npci/token")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/npci/token")
|
|
|
|
suspend fun fetchNpciToken(
|
|
|
|
suspend fun fetchNpciToken(
|
|
|
|
@Body npciTokenRequest: NpciTokenRequest
|
|
|
|
@Body npciTokenRequest: NpciTokenRequest
|
|
|
|
): Response<GenericResponse<NpciTokenResponse>>
|
|
|
|
): Response<GenericResponse<NpciTokenResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@RetryPolicy
|
|
|
|
@RetryPolicy
|
|
|
|
@GET("/gateway-service/$NAVI_PAY_API_VERSION/navipay/npci/key")
|
|
|
|
@GET("/gateway-service/$NAVI_PAY_API_VERSION/navipay/npci/key")
|
|
|
|
suspend fun fetchNpciKeys(): Response<GenericResponse<NpciKeysResponse>>
|
|
|
|
suspend fun fetchNpciKeys(): Response<GenericResponse<NpciKeysResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@RetryPolicy
|
|
|
|
@RetryPolicy
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/account/balance")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/account/balance")
|
|
|
|
suspend fun checkBalance(
|
|
|
|
suspend fun checkBalance(
|
|
|
|
@Body checkBalanceRequest: CheckBalanceRequest
|
|
|
|
@Body checkBalanceRequest: CheckBalanceRequest
|
|
|
|
): Response<GenericResponse<CheckBalanceResponse>>
|
|
|
|
): Response<GenericResponse<CheckBalanceResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION4/txn/sendMoney")
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION4/txn/sendMoney")
|
|
|
|
suspend fun sendMoney(
|
|
|
|
suspend fun sendMoney(
|
|
|
|
@Body sendMoneyRequest: SendMoneyRequest
|
|
|
|
@Body sendMoneyRequest: SendMoneyRequest
|
|
|
|
): Response<GenericResponse<TransactionResponse>>
|
|
|
|
): Response<GenericResponse<TransactionResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/valhalla/navipay/$NAVI_PAY_API_VERSION/transactions")
|
|
|
|
@POST("/valhalla/navipay/$NAVI_PAY_API_VERSION/transactions")
|
|
|
|
suspend fun coreSendMoney(
|
|
|
|
suspend fun coreSendMoney(
|
|
|
|
@Header("X-Upi-Request-Id") upiRequestId: String,
|
|
|
|
@Header("X-Upi-Request-Id") upiRequestId: String,
|
|
|
|
@@ -228,6 +245,7 @@ interface NaviPayRetrofitService {
|
|
|
|
@Body mandateListRequest: MandateListRequest
|
|
|
|
@Body mandateListRequest: MandateListRequest
|
|
|
|
): Response<GenericResponse<MandateListResponse>>
|
|
|
|
): Response<GenericResponse<MandateListResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@RetryPolicy
|
|
|
|
@RetryPolicy
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/vpa/validate")
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/vpa/validate")
|
|
|
|
suspend fun validateVpa(
|
|
|
|
suspend fun validateVpa(
|
|
|
|
@@ -237,41 +255,49 @@ interface NaviPayRetrofitService {
|
|
|
|
@GET("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/txn/listPending")
|
|
|
|
@GET("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/txn/listPending")
|
|
|
|
suspend fun fetchPendingCollectRequests(): Response<GenericResponse<CollectRequestsResponse>>
|
|
|
|
suspend fun fetchPendingCollectRequests(): Response<GenericResponse<CollectRequestsResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.LOW)
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/vpa/blockAndSpam")
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/vpa/blockAndSpam")
|
|
|
|
suspend fun blockSpamUser(
|
|
|
|
suspend fun blockSpamUser(
|
|
|
|
@Body blockSpamUserRequest: BlockSpamUserRequest
|
|
|
|
@Body blockSpamUserRequest: BlockSpamUserRequest
|
|
|
|
): Response<GenericResponse<Any?>>
|
|
|
|
): Response<GenericResponse<Any?>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.LOW)
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/vpa/block/list")
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/vpa/block/list")
|
|
|
|
suspend fun fetchBlockedUsers(
|
|
|
|
suspend fun fetchBlockedUsers(
|
|
|
|
@Body blockedUsersListRequest: BlockedUsersListRequest
|
|
|
|
@Body blockedUsersListRequest: BlockedUsersListRequest
|
|
|
|
): Response<GenericResponse<BlockedUsersListResponse>>
|
|
|
|
): Response<GenericResponse<BlockedUsersListResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.LOW)
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/vpa/unblock")
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/vpa/unblock")
|
|
|
|
suspend fun unblockUser(
|
|
|
|
suspend fun unblockUser(
|
|
|
|
@Body unblockActionRequest: UnblockActionRequest
|
|
|
|
@Body unblockActionRequest: UnblockActionRequest
|
|
|
|
): Response<GenericResponse<Any?>>
|
|
|
|
): Response<GenericResponse<Any?>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION4/txn/approve-decline")
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION4/txn/approve-decline")
|
|
|
|
suspend fun processCollectRequest(
|
|
|
|
suspend fun processCollectRequest(
|
|
|
|
@Body collectRequestActionRequest: CollectRequestActionRequest
|
|
|
|
@Body collectRequestActionRequest: CollectRequestActionRequest
|
|
|
|
): Response<GenericResponse<TransactionResponse>>
|
|
|
|
): Response<GenericResponse<TransactionResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/mandates/create")
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/mandates/create")
|
|
|
|
suspend fun createMandate(
|
|
|
|
suspend fun createMandate(
|
|
|
|
@Body createMandateRequest: CreateMandateRequest
|
|
|
|
@Body createMandateRequest: CreateMandateRequest
|
|
|
|
): Response<GenericResponse<CreateMandateResponse>>
|
|
|
|
): Response<GenericResponse<CreateMandateResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/mandates/review")
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/mandates/review")
|
|
|
|
suspend fun reviewMandate(
|
|
|
|
suspend fun reviewMandate(
|
|
|
|
@Body reviewMandateRequest: ReviewMandateRequest
|
|
|
|
@Body reviewMandateRequest: ReviewMandateRequest
|
|
|
|
): Response<GenericResponse<ReviewMandateResponse>>
|
|
|
|
): Response<GenericResponse<ReviewMandateResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/mandates/pause")
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/mandates/pause")
|
|
|
|
suspend fun pauseUnpauseMandate(
|
|
|
|
suspend fun pauseUnpauseMandate(
|
|
|
|
@Body pauseUnpauseRequest: PauseUnpauseRequest
|
|
|
|
@Body pauseUnpauseRequest: PauseUnpauseRequest
|
|
|
|
): Response<GenericResponse<PauseUnpauseResponse>>
|
|
|
|
): Response<GenericResponse<PauseUnpauseResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/mandates/revoke")
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/mandates/revoke")
|
|
|
|
suspend fun revokeMandate(
|
|
|
|
suspend fun revokeMandate(
|
|
|
|
@Body revokeMandateRequest: RevokeMandateRequest
|
|
|
|
@Body revokeMandateRequest: RevokeMandateRequest
|
|
|
|
@@ -282,11 +308,13 @@ interface NaviPayRetrofitService {
|
|
|
|
@Body mandateStatusRequest: MandateStatusRequest
|
|
|
|
@Body mandateStatusRequest: MandateStatusRequest
|
|
|
|
): Response<GenericResponse<MandateStatusResponse>>
|
|
|
|
): Response<GenericResponse<MandateStatusResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION/navipay/mandates/execute")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION/navipay/mandates/execute")
|
|
|
|
suspend fun executeMandate(
|
|
|
|
suspend fun executeMandate(
|
|
|
|
@Body executeMandateRequest: ExecuteMandateRequest
|
|
|
|
@Body executeMandateRequest: ExecuteMandateRequest
|
|
|
|
): Response<GenericResponse<TransactionResponse>>
|
|
|
|
): Response<GenericResponse<TransactionResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION/navipay/mandates/update-lite")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION/navipay/mandates/update-lite")
|
|
|
|
suspend fun updateMandate(
|
|
|
|
suspend fun updateMandate(
|
|
|
|
@Body updateMandateRequest: UpdateMandateRequest
|
|
|
|
@Body updateMandateRequest: UpdateMandateRequest
|
|
|
|
@@ -325,25 +353,30 @@ interface NaviPayRetrofitService {
|
|
|
|
@Body mandateDetailRequest: MandateDetailRequest
|
|
|
|
@Body mandateDetailRequest: MandateDetailRequest
|
|
|
|
): Response<GenericResponse<MandateItem>>
|
|
|
|
): Response<GenericResponse<MandateItem>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@GET("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/fetch/requestId/list")
|
|
|
|
@GET("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/fetch/requestId/list")
|
|
|
|
suspend fun getRequestIdSuffixList(): Response<GenericResponse<RequestIdResponse>>
|
|
|
|
suspend fun getRequestIdSuffixList(): Response<GenericResponse<RequestIdResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@RetryPolicy
|
|
|
|
@RetryPolicy
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/vpa/phone-number/vpa")
|
|
|
|
@POST("/gateway-service/navipay/$NAVI_PAY_API_VERSION2/vpa/phone-number/vpa")
|
|
|
|
suspend fun payToContact(
|
|
|
|
suspend fun payToContact(
|
|
|
|
@Body payToContactRequest: PayToContactRequest
|
|
|
|
@Body payToContactRequest: PayToContactRequest
|
|
|
|
): Response<GenericResponse<ValidateVpaResponse>>
|
|
|
|
): Response<GenericResponse<ValidateVpaResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.LOW)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/comms/send")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/comms/send")
|
|
|
|
suspend fun sendNpsComms(
|
|
|
|
suspend fun sendNpsComms(
|
|
|
|
@Body npsCommsRequest: NpsCommsRequest
|
|
|
|
@Body npsCommsRequest: NpsCommsRequest
|
|
|
|
): Response<GenericResponse<Any?>>
|
|
|
|
): Response<GenericResponse<Any?>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/upi-lite/lite-registration")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/upi-lite/lite-registration")
|
|
|
|
suspend fun liteRegistration(
|
|
|
|
suspend fun liteRegistration(
|
|
|
|
@Body liteRegistrationRequest: LiteRegistrationRequest
|
|
|
|
@Body liteRegistrationRequest: LiteRegistrationRequest
|
|
|
|
): Response<GenericResponse<LiteRegistrationResponse>>
|
|
|
|
): Response<GenericResponse<LiteRegistrationResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/upi-lite/lite-sync")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/upi-lite/lite-sync")
|
|
|
|
suspend fun liteSync(
|
|
|
|
suspend fun liteSync(
|
|
|
|
@Body liteSyncRequest: LiteSyncRequest
|
|
|
|
@Body liteSyncRequest: LiteSyncRequest
|
|
|
|
@@ -386,6 +419,7 @@ interface NaviPayRetrofitService {
|
|
|
|
@Body createConversationRequest: CreateConversationRequest,
|
|
|
|
@Body createConversationRequest: CreateConversationRequest,
|
|
|
|
): Response<GenericResponse<CreateConversationResponse>>
|
|
|
|
): Response<GenericResponse<CreateConversationResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.HIGH)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION/upi-management/vpa/activate")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION/upi-management/vpa/activate")
|
|
|
|
suspend fun activateVpa(
|
|
|
|
suspend fun activateVpa(
|
|
|
|
@Body activateVpaRequest: ActivateVpaRequest
|
|
|
|
@Body activateVpaRequest: ActivateVpaRequest
|
|
|
|
@@ -446,6 +480,7 @@ interface NaviPayRetrofitService {
|
|
|
|
@Body forecloseEmiRequest: ForecloseEmiRequest
|
|
|
|
@Body forecloseEmiRequest: ForecloseEmiRequest
|
|
|
|
): Response<GenericResponse<ForecloseEmiResponse>>
|
|
|
|
): Response<GenericResponse<ForecloseEmiResponse>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Priority(Priority.Order.LOW)
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/customer/deregister")
|
|
|
|
@POST("/gateway-service/$NAVI_PAY_API_VERSION2/navipay/customer/deregister")
|
|
|
|
suspend fun deregisterNaviPay(
|
|
|
|
suspend fun deregisterNaviPay(
|
|
|
|
@Body deregisterNaviPayRequest: DeregisterNaviPayRequest
|
|
|
|
@Body deregisterNaviPayRequest: DeregisterNaviPayRequest
|
|
|
|
|