Saltar al contenido principal
GET
/
api
/
v1
/
cards-program
/
cards
/
:cardId
curl --location --request GET 'https://stablecoin-api.sandbox.getmeru.com/api/v1/cards-program/cards/7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d' \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>'
{
  "success": true,
  "cardId": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
  "userId": "3ddd0e5b-6276-4b48-b756-c1fcc9a2efd1",
  "status": "active",
  "type": "virtual",
  "last4": "4242",
  "expirationMonth": "12",
  "expirationYear": "2027",
  "brand": "Visa",
  "limit": {
    "amount": 5000,
    "frequency": "per30DayPeriod"
  },
  "createdAt": "2024-01-15T10:00:00Z",
  "activatedAt": "2024-01-15T10:05:00Z"
}

Parámetros

cardId
string
requerido
El identificador único de la tarjeta

Respuesta

success
boolean
Indica si la operación fue exitosa
cardId
string
El identificador único de la tarjeta
userId
string
El ID de usuario del titular de la tarjeta
status
string
Estado de la tarjeta: notActivated, active, locked o canceled
type
string
Tipo de tarjeta: physical o virtual
last4
string
Últimos 4 dígitos del número de tarjeta
expirationMonth
string
Mes de vencimiento de la tarjeta (MM)
expirationYear
string
Año de vencimiento de la tarjeta (YYYY)
brand
string
Marca de la tarjeta (por ejemplo, “Visa”, “Mastercard”)
limit
object
Límites de gasto configurados para la tarjeta
createdAt
string
Fecha y hora (ISO 8601) de cuándo se creó la tarjeta
activatedAt
string
Fecha y hora (ISO 8601) de cuándo se activó la tarjeta
curl --location --request GET 'https://stablecoin-api.sandbox.getmeru.com/api/v1/cards-program/cards/7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d' \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>'
{
  "success": true,
  "cardId": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
  "userId": "3ddd0e5b-6276-4b48-b756-c1fcc9a2efd1",
  "status": "active",
  "type": "virtual",
  "last4": "4242",
  "expirationMonth": "12",
  "expirationYear": "2027",
  "brand": "Visa",
  "limit": {
    "amount": 5000,
    "frequency": "per30DayPeriod"
  },
  "createdAt": "2024-01-15T10:00:00Z",
  "activatedAt": "2024-01-15T10:05:00Z"
}

Respuestas de error

{
  "success": false,
  "error": "Unauthorized. Please check your authentication credentials."
}