GET
/
v1
/
customers
/
{customer_id}
/
cards
curl --request GET \
  --url https://api.malga.io/v1/customers/{customer_id}/cards \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Client-Id: <api-key>'
{
  "meta": {
    "itemCount": 10,
    "totalItems": 20,
    "itemsPerPage": 10,
    "totalPages": 5,
    "currentPage": 2
  },
  "items": [
    {
      "id": "148d5db0-f1c3-439f-902d-f1f268086e1d",
      "customerId": "82aba896-9e37-45b6-aa90-d510c9050596",
      "clientId": "cc0b1e41-2936-45c5-947f-93995ffcdc00",
      "expirationMonth": "12",
      "expirationYear": "2026",
      "brand": "Visa",
      "cvvChecked": true,
      "fingerprint": "cbd4a441-c63c-4dee-ac6b-bfa7fa1df818",
      "first6digits": "401959",
      "last4digits": "9339",
      "createdAt": "2012-06-30 23:59:59 +0000",
      "status": "active"
    }
  ]
}

Authorizations

X-Client-Id
string
headerrequired
X-Api-Key
string
headerrequired

Path Parameters

customer_id
string
required

id do customers que deseja alterar

Response

200 - application/json
meta
object
items
any[]