❇️ API 설명

<aside> 📎 codef api를 이용해 보유카드목록 조회

Page HTTP method URI
주카드 연결 GET /card/list
</aside>

⬆️ Request

Body

Name Type Description
code String 카드 회사 코드
id String 카드사 계정 아이디
password String 카드사 계정 패스워드
{
		"code": "0306",
    "id": "juliaheo1",
    "password": "julia0320!"
}

⬇️ Response

Name Type Description
code Int 상태코드
inSuccess Boolean 0은 실패, 1은 성공
message String 상태 메시지
result Object
- cardList Array 보유카드 목록
- cardName String 보유 카드 이름
- cardImg String 보유 카드 이미지 (가로)
{
    "code": 1000,
    "inSuccess": true,
    "message": "요청에 성공하였습니다.",
    "result": [
        {
            "cardName": "신한카드 Hey Young 체크",
            "cardImg": "<https://www.shinhancard.com/pconts/images/contents/card/plate/cdCheckBGGC7R.png>"
        },
        {
            "cardName": "성남사랑 신한카드 Deep Dream 체크(chak)",
            "cardImg": "<https://www.shinhancard.com/pconts/images/contents/card/plate/cdCheckBJBCG5.png>"
        },
        {
            "cardName": "이화여자대학교 학생증 S20(체크)학부",
            "cardImg": "<https://www.shinhancard.com/pconts/images/common/card_default_pc.png>"
        },
        {
            "cardName": "신한Pay머니 모바일",
            "cardImg": "<https://www.shinhancard.com/pconts/images/contents/card/plate/cdPrepaid8ADB95.png>"
        }
    ]
}