Updated on 2026-08-14
This commit is contained in:
parent
64efc8af01
commit
e11e2d953d
9 changed files with 40 additions and 18 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue