Updated on 2026-08-14

This commit is contained in:
Tangem 2026-07-30 02:37:47 -07:00
parent 9bfcf6376a
commit aa996b6d22
3 changed files with 13 additions and 18 deletions

View file

@ -13,11 +13,9 @@ data class CustomerMeResponse(
@Json(name = "id") val id: String,
@Json(name = "state") val state: String,
@Json(name = "created_at") val createdAt: String,
@Json(name = "product_instance") val productInstance: ProductInstance?,
@Json(name = "payment_account") val paymentAccount: PaymentAccount?,
@Json(name = "kyc") val kyc: Kyc?,
@Json(name = "deposit_address") val depositAddress: String?,
@Json(name = "card") val card: Card?,
@Json(name = "balance") val balance: BalanceResponse?,
@Json(name = "product_instances") val productInstances: List<ProductInstance>,
@Json(name = "cards") val cards: List<Card>,
@ -156,9 +154,7 @@ data class CustomerMeResponse(
@JsonClass(generateAdapter = true)
data class Card(
// Present in the multi-card `cards[]` array to join a card to its product instance;
// absent in the legacy single-card `card` object, where the card joins the single product instance.
@Json(name = "card_id") val cardId: String?,
@Json(name = "id") val id: String?,
@Json(name = "token") val token: String,
@Json(name = "expiration_month") val expirationMonth: String,
@Json(name = "expiration_year") val expirationYear: String,