GET api/customers/GetCards?user_id={user_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| user_id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerCard| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| user_id | integer |
None. |
|
| card_holder | string |
None. |
|
| last_four | string |
None. |
|
| card_id | string |
None. |
|
| is_default | integer |
None. |
|
| created_at | date |
None. |
|
| card_type | string |
None. |
|
| expiry | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"id": 1,
"user_id": 2,
"card_holder": "sample string 3",
"last_four": "sample string 4",
"card_id": "sample string 5",
"is_default": 6,
"created_at": "2025-12-31T01:36:15.2496135+00:00",
"card_type": "sample string 7",
"expiry": "sample string 8"
},
{
"$ref": "1"
}
]