Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-18 13:50:25 +05:00
parent 64efc8af01
commit e11e2d953d
9 changed files with 40 additions and 18 deletions

View file

@ -79,15 +79,17 @@ interface TangemPayApi {
@Body body: CardDetailsRequest,
): ApiResponse<CardDetailsResponse>
@GET("v1/customer/card/pin")
@GET("v1/customer/card/{card_id}/pin")
suspend fun getPin(
@Header("Authorization") authHeader: String,
@Path("card_id") cardId: String,
@Header("X-Session-Id") sessionId: String,
): ApiResponse<GetPinResponse>
@PUT("v1/customer/card/pin")
@PUT("v1/customer/card/{card_id}/pin")
suspend fun setPin(
@Header("Authorization") authHeader: String,
@Path("card_id") cardId: String,
@Body body: SetPinRequest,
): ApiResponse<SetPinResponse>