Updated on 2026-08-14
This commit is contained in:
parent
af99b446cd
commit
acdddc026b
14 changed files with 1043 additions and 73 deletions
|
|
@ -7,6 +7,7 @@ import com.tangem.datasource.api.pay.models.request.RefreshCustomerWalletAccessT
|
|||
import com.tangem.datasource.api.pay.models.response.TangemPayGenerateNonceResponse
|
||||
import com.tangem.datasource.api.pay.models.response.TangemPayGetTokensResponse
|
||||
import retrofit2.http.Body
|
||||
import retrofit2.http.Header
|
||||
import retrofit2.http.POST
|
||||
|
||||
interface TangemPayAuthApi {
|
||||
|
|
@ -23,6 +24,7 @@ interface TangemPayAuthApi {
|
|||
|
||||
@POST("auth/token/refresh")
|
||||
suspend fun refreshCustomerWalletAccessToken(
|
||||
@Header("Idempotency-Key") idempotencyKey: String,
|
||||
@Body request: RefreshCustomerWalletAccessTokenRequest,
|
||||
): ApiResponse<TangemPayGetTokensResponse>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue