Updated on 2026-08-14
This commit is contained in:
parent
e1c58bed0e
commit
8d37a2bc1f
20 changed files with 470 additions and 54 deletions
|
|
@ -34,6 +34,15 @@ interface TangemPayApi {
|
|||
@Header("Authorization") authHeader: String,
|
||||
): ApiResponse<TariffPlanTransitionsResponse>
|
||||
|
||||
@POST("v1/customer/tariff-plan/pending-transition")
|
||||
suspend fun setPendingTariffPlanTransition(
|
||||
@Header("Authorization") authHeader: String,
|
||||
@Body body: SetPendingTariffPlanTransitionRequest,
|
||||
): ApiResponse<Any>
|
||||
|
||||
@POST("v1/customer/tariff-plan/pending-transition/cancel")
|
||||
suspend fun cancelPendingTariffPlanTransition(@Header("Authorization") authHeader: String): ApiResponse<Any>
|
||||
|
||||
/** Fiat bank requisites for the Virtual Account on-ramp (VA MVP0, TWI-1638). */
|
||||
@GET("v1/account/bank-credentials/{product_instance_id}")
|
||||
suspend fun getBankCredentials(
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
package com.tangem.datasource.api.pay.models.request
|
||||
|
||||
import com.squareup.moshi.Json
|
||||
import com.squareup.moshi.JsonClass
|
||||
|
||||
@JsonClass(generateAdapter = true)
|
||||
data class SetPendingTariffPlanTransitionRequest(
|
||||
@Json(name = "pending_tariff_plan_id") val pendingTariffPlanId: String,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue