API ๊ฐ€์ด๋“œ

ย ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค API ์†Œ๊ฐœ

ย ์ง์› API

ย ์ง์› ์กฐํšŒ

๊ธฐ๋ณธ์ •๋ณด
๋ฉ”์„œ๋“œ
URL
GET
https://mob-b2b-dev.kakao.com/external/v1/members/{id}
์š”์ฒญ ํ—ค๋”
์ด๋ฆ„
์„ค๋ช…
ํ•„์ˆ˜
Authorization
Authorization: Token {API ์ธ์ฆ ํ† ํฐ} ย Token ๋ฌธ์ž์—ด์€ ๋ฐ˜๋“œ์‹œ {API ์ธ์ฆ ํ† ํฐ} ์•ž์— ๋ถ™์–ด์•ผ ํ•˜๋ฉฐ, Token ๋ฌธ์ž์—ด๊ณผ {API ์ธ์ฆ ํ† ํฐ} ์‚ฌ์ด์—๋Š” ๊ณต๋ฐฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. (API ์ธ์ฆ ํ† ํฐ์ด๋ž€?)
O
x-mob-b2b-corp-id
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID (์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ๊ด€๋ฆฌ์‹œ์Šคํ…œ > ์„ค์ • > ๊ณ„์ •์ •๋ณด > T ๋น„์ฆˆ ID)
O
x-mob-b2b-nonce
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜
O
x-mob-b2b-timestamp
API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)
O
x-mob-b2b-privacy
๊ฐœ์ธ์ •๋ณด ์•”ํ˜ธํ™”(AES256) ์—ฌ๋ถ€ (์•”ํ˜ธํ™” Key ํ•„์š”์‹œ biz.cs@kakaomobility.com ์œผ๋กœ ๋ฌธ์˜)
X
์š”์ฒญ ๊ฒฝ๋กœ ๋ณ€์ˆ˜
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
id
String
์ง์› ID
์‘๋‹ต ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
์•”ํ˜ธํ™” ๊ฐ€๋Šฅ
id
String
์ง์› ID
X
X
name
String
์ง์›๋ช…
X
X
department
String
๋ถ€์„œ๋ช…
X
X
identifier
String
์‚ฌ๋ฒˆ
X
O
mobile_phone
String
ํœด๋Œ€์ „ํ™”๋ฒˆํ˜ธ
X
O
status
String
์ง์› ์ƒํƒœ created (๋ฏธ์ธ์ฆ): ์ง์›์œผ๋กœ ๋“ฑ๋ก๋˜์–ด ์žˆ์œผ๋‚˜ ์ง์›์ด T์•ฑ์—์„œ ์ธ์ฆ์„ ์™„๋ฃŒํ•˜์ง€ ์•Š์•„, ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ๋ถˆ๊ฐ€ํ•œ ์ƒํƒœ connected (์ธ์ฆ ์™„๋ฃŒ): T์•ฑ์—์„œ ์ง์›์˜ ์ธ์ฆ์ด ์™„๋ฃŒ๋˜์–ด ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ๊ฐ€๋Šฅํ•œ ์ƒํƒœ refused (์ธ์ฆ ๊ฑฐ๋ถ€): ์ง์›์ด T์•ฑ์—์„œ ์Šค์Šค๋กœ ์ธ์ฆ์„ ๊ฑฐ๋ถ€ํ•˜์—ฌ T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ ๋ถˆ๊ฐ€ํ•œ ์ƒํƒœ blocked (ํœด์ง): ์ง์›์˜ ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ์ œํ•œ๋œ ์ƒํƒœ
X
X
confirmed_at
String
์ง์› ์ธ์ฆ ์ผ์‹œ (yyyy-MM-dd HH:mm:ss)
O
X
group_ids
String[]
๊ทธ๋ฃน ID๋ฅผ ๋‹ด์€ JSON ๋ฐฐ์—ด
X
X
์š”์ฒญ ์˜ˆ์‹œ
curl -X 'GET' \ 'https://mob-b2b-dev.kakao.com/external/v1/members/{id}' \ -H 'accept: application/json;charset=UTF-8' \ -H 'Authorization: Token {API ์ธ์ฆ ํ† ํฐ}' \ -H 'x-mob-b2b-corp-id: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID}' \ -H 'x-mob-b2b-nonce: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜}' \ -H 'x-mob-b2b-timestamp: {API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)}'
Bash
๋ณต์‚ฌ
์‘๋‹ต ์˜ˆ์‹œ
HTTP/1.1 200 OK { "id": "A1B2C3D4", "name": "ํ™๊ธธ๋™", "department": "๋ถ€์„œ๋ช…", "identifier": "์‚ฌ๋ฒˆ", "mobile_phone": "01012341234", "status": "connected", "confirmed_at": "2023-01-01 00:00:00", "group_ids": [ "A1B2C3D4", "A1B2C3D5" ] }
JSON
๋ณต์‚ฌ

ย ์ง์› ์ˆ˜์ •

๊ธฐ๋ณธ์ •๋ณด
๋ฉ”์„œ๋“œ
URL
PUT
https://mob-b2b-dev.kakao.com/external/v1/members/{id}
์š”์ฒญ ํ—ค๋”
์ด๋ฆ„
์„ค๋ช…
ํ•„์ˆ˜
Authorization
Authorization: Token {API ์ธ์ฆ ํ† ํฐ} ย Token ๋ฌธ์ž์—ด์€ ๋ฐ˜๋“œ์‹œ {API ์ธ์ฆ ํ† ํฐ} ์•ž์— ๋ถ™์–ด์•ผ ํ•˜๋ฉฐ, Token ๋ฌธ์ž์—ด๊ณผ {API ์ธ์ฆ ํ† ํฐ} ์‚ฌ์ด์—๋Š” ๊ณต๋ฐฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. (API ์ธ์ฆ ํ† ํฐ์ด๋ž€?)
O
x-mob-b2b-corp-id
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID (์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ๊ด€๋ฆฌ์‹œ์Šคํ…œ > ์„ค์ • > ๊ณ„์ •์ •๋ณด > T ๋น„์ฆˆ ID)
O
x-mob-b2b-nonce
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜
O
x-mob-b2b-timestamp
API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)
O
x-mob-b2b-privacy
๊ฐœ์ธ์ •๋ณด ์•”ํ˜ธํ™”(AES256) ์—ฌ๋ถ€ (์•”ํ˜ธํ™” Key ํ•„์š”์‹œ biz.cs@kakaomobility.com ์œผ๋กœ ๋ฌธ์˜)
X
์š”์ฒญ ๊ฒฝ๋กœ ๋ณ€์ˆ˜
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
id
String
์ง์› ID
์š”์ฒญ ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
ํ•„์ˆ˜
์•”ํ˜ธํ™” ๊ฐ€๋Šฅ
mobile_phone
String
ํœด๋Œ€์ „ํ™”๋ฒˆํ˜ธ ์ง์›์˜ ํœด๋Œ€์ „ํ™”๋ฒˆํ˜ธ๊ฐ€ ์ˆ˜์ •๋˜๋ฉด ์ˆ˜์ •๋œ ๋ฒˆํ˜ธ๋กœ ์ธ์ฆ ์•Œ๋ฆผํ†ก ์ž๋™ ๋ฐœ์†ก (์šด์˜ํ™˜๊ฒฝ์ธ ๊ฒฝ์šฐ์— ํ•œํ•จ)
O
O
group_ids
String[]
๊ทธ๋ฃน ID๋ฅผ ๋‹ด์€ JSON ๋ฐฐ์—ด
O
X
name
String
์ง์›๋ช… null์ผ ๊ฒฝ์šฐ ๊ณต๋ฐฑ ๊ฐ’์œผ๋กœ ์ˆ˜์ •
X
O
department
String
๋ถ€์„œ๋ช… null์ผ ๊ฒฝ์šฐ ๊ณต๋ฐฑ ๊ฐ’์œผ๋กœ ์ˆ˜์ •
X
O
status
String
์ง์› ์ƒํƒœ created (๋ฏธ์ธ์ฆ): ์ง์›์œผ๋กœ ๋“ฑ๋ก๋˜์–ด ์žˆ์œผ๋‚˜ ์ง์›์ด T์•ฑ์—์„œ ์ธ์ฆ์„ ์™„๋ฃŒํ•˜์ง€ ์•Š์•„, ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ๋ถˆ๊ฐ€ํ•œ ์ƒํƒœ connected (์ธ์ฆ ์™„๋ฃŒ): T์•ฑ์—์„œ ์ง์›์˜ ์ธ์ฆ์ด ์™„๋ฃŒ๋˜์–ด ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ๊ฐ€๋Šฅํ•œ ์ƒํƒœ refused (์ธ์ฆ ๊ฑฐ๋ถ€): ์ง์›์ด T์•ฑ์—์„œ ์Šค์Šค๋กœ ์ธ์ฆ์„ ๊ฑฐ๋ถ€ํ•˜์—ฌ T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ ๋ถˆ๊ฐ€ํ•œ ์ƒํƒœ blocked (ํœด์ง): ์ง์›์˜ ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ์ œํ•œ๋œ ์ƒํƒœ
X
X
์‘๋‹ต ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
์•”ํ˜ธํ™” ๊ฐ€๋Šฅ
id
String
์ง์› ID
X
X
name
String
์ง์›๋ช…
X
X
department
String
๋ถ€์„œ๋ช…
X
X
identifier
String
์‚ฌ๋ฒˆ
X
O
mobile_phone
String
ํœด๋Œ€์ „ํ™”๋ฒˆํ˜ธ
X
O
status
String
์ง์› ์ƒํƒœ created (๋ฏธ์ธ์ฆ): ์ง์›์œผ๋กœ ๋“ฑ๋ก๋˜์–ด ์žˆ์œผ๋‚˜ ์ง์›์ด T์•ฑ์—์„œ ์ธ์ฆ์„ ์™„๋ฃŒํ•˜์ง€ ์•Š์•„, ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ๋ถˆ๊ฐ€ํ•œ ์ƒํƒœ connected (์ธ์ฆ ์™„๋ฃŒ): T์•ฑ์—์„œ ์ง์›์˜ ์ธ์ฆ์ด ์™„๋ฃŒ๋˜์–ด ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ๊ฐ€๋Šฅํ•œ ์ƒํƒœ refused (์ธ์ฆ ๊ฑฐ๋ถ€): ์ง์›์ด T์•ฑ์—์„œ ์Šค์Šค๋กœ ์ธ์ฆ์„ ๊ฑฐ๋ถ€ํ•˜์—ฌ T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ ๋ถˆ๊ฐ€ํ•œ ์ƒํƒœ blocked (ํœด์ง): ์ง์›์˜ ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ์ œํ•œ๋œ ์ƒํƒœ
X
X
confirmed_at
String
์ง์› ์ธ์ฆ ์ผ์‹œ (yyyy-MM-dd HH:mm:ss)
O
X
group_ids
String[]
๊ทธ๋ฃน ID๋ฅผ ๋‹ด์€ JSON ๋ฐฐ์—ด
X
X
์š”์ฒญ ์˜ˆ์‹œ
curl -X 'PUT' \ 'https://mob-b2b-dev.kakao.com/external/v1/members/{id}' \ -H 'accept: application/json;charset=UTF-8' \ -H 'Authorization: Token {API ์ธ์ฆ ํ† ํฐ}' \ -H 'x-mob-b2b-corp-id: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID}' \ -H 'x-mob-b2b-nonce: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜}' \ -H 'x-mob-b2b-timestamp: {API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)}' \ -H 'Content-Type: application/json;charset=UTF-8' \ -d '{ "mobile_phone": "01012341234", "group_ids": ["A1B2C3D4", "A1B2C3D5"] }'
Bash
๋ณต์‚ฌ
์‘๋‹ต ์˜ˆ์‹œ
HTTP/1.1 200 OK { "id": "A1B2C3D4", "name": "ํ™๊ธธ๋™", "department": "๋ถ€์„œ๋ช…", "identifier": "์‚ฌ๋ฒˆ", "mobile_phone": "01012341234", "status": "connected", "confirmed_at": "2023-01-01 00:00:00", "group_ids": [ "A1B2C3D4", "A1B2C3D5" ] }
JSON
๋ณต์‚ฌ

ย ์ง์› ์‚ญ์ œ

๊ธฐ๋ณธ์ •๋ณด
๋ฉ”์„œ๋“œ
URL
DELETE
https://mob-b2b-dev.kakao.com/external/v1/members/{id}
์š”์ฒญ ํ—ค๋”
์ด๋ฆ„
์„ค๋ช…
ํ•„์ˆ˜
Authorization
Authorization: Token {API ์ธ์ฆ ํ† ํฐ} ย Token ๋ฌธ์ž์—ด์€ ๋ฐ˜๋“œ์‹œ {API ์ธ์ฆ ํ† ํฐ} ์•ž์— ๋ถ™์–ด์•ผ ํ•˜๋ฉฐ, Token ๋ฌธ์ž์—ด๊ณผ {API ์ธ์ฆ ํ† ํฐ} ์‚ฌ์ด์—๋Š” ๊ณต๋ฐฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. (API ์ธ์ฆ ํ† ํฐ์ด๋ž€?)
O
x-mob-b2b-corp-id
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID (์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ๊ด€๋ฆฌ์‹œ์Šคํ…œ > ์„ค์ • > ๊ณ„์ •์ •๋ณด > T ๋น„์ฆˆ ID)
O
x-mob-b2b-nonce
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜
O
x-mob-b2b-timestamp
API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)
O
์š”์ฒญ ๊ฒฝ๋กœ ๋ณ€์ˆ˜
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
id
String
์ง์› ID
์š”์ฒญ ์˜ˆ์‹œ
curl -X 'DELETE' \ 'https://mob-b2b-dev.kakao.com/external/v1/members/{id}' \ -H 'accept: application/json;charset=UTF-8' \ -H 'Authorization: Token {API ์ธ์ฆ ํ† ํฐ}' \ -H 'x-mob-b2b-corp-id: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID}' \ -H 'x-mob-b2b-nonce: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜}' \ -H 'x-mob-b2b-timestamp: {API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)}'
Bash
๋ณต์‚ฌ
์‘๋‹ต ์˜ˆ์‹œ
HTTP/1.1 200 OK
JSON
๋ณต์‚ฌ

ย ์ง์› ๋“ฑ๋ก

๊ธฐ๋ณธ์ •๋ณด
๋ฉ”์„œ๋“œ
URL
POST
https://mob-b2b-dev.kakao.com/external/v1/members
์š”์ฒญ ํ—ค๋”
์ด๋ฆ„
์„ค๋ช…
ํ•„์ˆ˜
Authorization
Authorization: Token {API ์ธ์ฆ ํ† ํฐ} ย Token ๋ฌธ์ž์—ด์€ ๋ฐ˜๋“œ์‹œ {API ์ธ์ฆ ํ† ํฐ} ์•ž์— ๋ถ™์–ด์•ผ ํ•˜๋ฉฐ, Token ๋ฌธ์ž์—ด๊ณผ {API ์ธ์ฆ ํ† ํฐ} ์‚ฌ์ด์—๋Š” ๊ณต๋ฐฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. (API ์ธ์ฆ ํ† ํฐ์ด๋ž€?)
O
x-mob-b2b-corp-id
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID (์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ๊ด€๋ฆฌ์‹œ์Šคํ…œ > ์„ค์ • > ๊ณ„์ •์ •๋ณด > T ๋น„์ฆˆ ID)
O
x-mob-b2b-nonce
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜
O
x-mob-b2b-timestamp
API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)
O
x-mob-b2b-privacy
๊ฐœ์ธ์ •๋ณด ์•”ํ˜ธํ™”(AES256) ์—ฌ๋ถ€ (์•”ํ˜ธํ™” Key ํ•„์š”์‹œ biz.cs@kakaomobility.com ์œผ๋กœ ๋ฌธ์˜)
X
์š”์ฒญ ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
ํ•„์ˆ˜
์•”ํ˜ธํ™” ๊ฐ€๋Šฅ
identifier
String
์‚ฌ๋ฒˆ
O
O
mobile_phone
String
ํœด๋Œ€์ „ํ™”๋ฒˆํ˜ธ ํœด๋Œ€์ „ํ™”๋ฒˆํ˜ธ๋กœ ์ธ์ฆ ์•Œ๋ฆผํ†ก ์ž๋™ ๋ฐœ์†ก (์šด์˜ํ™˜๊ฒฝ์ธ ๊ฒฝ์šฐ์— ํ•œํ•จ)
O
O
group_ids
String[]
๊ทธ๋ฃน ID๋ฅผ ๋‹ด์€ JSON ๋ฐฐ์—ด
O
X
name
String
์ง์›๋ช… null์ผ ๊ฒฝ์šฐ ๊ณต๋ฐฑ ๊ฐ’์œผ๋กœ ์ €์žฅ
X
O
department
String
๋ถ€์„œ๋ช…
X
O
status
refused (์ธ์ฆ ๊ฑฐ๋ถ€): ์ง์›์ด T์•ฑ์—์„œ ์Šค์Šค๋กœ ์ธ์ฆ์„ ๊ฑฐ๋ถ€ํ•˜์—ฌ T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ ๋ถˆ๊ฐ€ํ•œ ์ƒํƒœ blocked (ํœด์ง): ์ง์›์˜ ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ์ œํ•œ๋œ ์ƒํƒœ
์ง์› ์ƒํƒœ created (๋ฏธ์ธ์ฆ): ์ง์›์œผ๋กœ ๋“ฑ๋ก๋˜์–ด ์žˆ์œผ๋‚˜ ์ง์›์ด T์•ฑ์—์„œ ์ธ์ฆ์„ ์™„๋ฃŒํ•˜์ง€ ์•Š์•„, ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ๋ถˆ๊ฐ€ํ•œ ์ƒํƒœ connected (์ธ์ฆ ์™„๋ฃŒ): T์•ฑ์—์„œ ์ง์›์˜ ์ธ์ฆ์ด ์™„๋ฃŒ๋˜์–ด ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ๊ฐ€๋Šฅํ•œ ์ƒํƒœ refused (์ธ์ฆ ๊ฑฐ๋ถ€): ์ง์›์ด T์•ฑ์—์„œ ์Šค์Šค๋กœ ์ธ์ฆ์„ ๊ฑฐ๋ถ€ํ•˜์—ฌ T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ ๋ถˆ๊ฐ€ํ•œ ์ƒํƒœ blocked (ํœด์ง): ์ง์›์˜ ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ์ œํ•œ๋œ ์ƒํƒœ
X
X
์‘๋‹ต ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
์•”ํ˜ธํ™” ๊ฐ€๋Šฅ
id
String
์ง์› ID
X
X
name
String
์ง์›๋ช…
X
X
department
String
๋ถ€์„œ๋ช…
O
X
identifier
String
์‚ฌ๋ฒˆ
X
O
mobile_phone
String
ํœด๋Œ€์ „ํ™”๋ฒˆํ˜ธ
X
O
status
String
์ง์› ์ƒํƒœ created (๋ฏธ์ธ์ฆ): ์ง์›์œผ๋กœ ๋“ฑ๋ก๋˜์–ด ์žˆ์œผ๋‚˜ ์ง์›์ด T์•ฑ์—์„œ ์ธ์ฆ์„ ์™„๋ฃŒํ•˜์ง€ ์•Š์•„, ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ๋ถˆ๊ฐ€ํ•œ ์ƒํƒœ connected (์ธ์ฆ ์™„๋ฃŒ): T์•ฑ์—์„œ ์ง์›์˜ ์ธ์ฆ์ด ์™„๋ฃŒ๋˜์–ด ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ๊ฐ€๋Šฅํ•œ ์ƒํƒœ refused (์ธ์ฆ ๊ฑฐ๋ถ€): ์ง์›์ด T์•ฑ์—์„œ ์Šค์Šค๋กœ ์ธ์ฆ์„ ๊ฑฐ๋ถ€ํ•˜์—ฌ T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ ๋ถˆ๊ฐ€ํ•œ ์ƒํƒœ blocked (ํœด์ง): ์ง์›์˜ ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ์ œํ•œ๋œ ์ƒํƒœ
X
X
confirmed_at
String
์ง์› ์ธ์ฆ ์ผ์‹œ (yyyy-MM-dd HH:mm:ss)
O
X
group_ids
String[]
๊ทธ๋ฃน ID๋ฅผ ๋‹ด์€ JSON ๋ฐฐ์—ด
X
X
์š”์ฒญ ์˜ˆ์‹œ
curl -X 'POST' \ 'https://mob-b2b-dev.kakao.com/external/v1/members' \ -H 'accept: application/json;charset=UTF-8' \ -H 'Authorization: Token {API ์ธ์ฆ ํ† ํฐ}' \ -H 'x-mob-b2b-corp-id: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID}' \ -H 'x-mob-b2b-nonce: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜}' \ -H 'x-mob-b2b-timestamp: {API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)}' -H 'Content-Type: application/json;charset=UTF-8' \ -d '{ "identifier": "์‚ฌ๋ฒˆ", "mobile_phone": "01012341234", "name": "ํ™๊ธธ๋™", "department": "๋ถ€์„œ๋ช…", "group_ids": [ "A1B2C3D4" ] }'
Bash
๋ณต์‚ฌ
์‘๋‹ต ์˜ˆ์‹œ
HTTP/1.1 200 OK { "id": "A1B2C3D4", "name": "ํ™๊ธธ๋™", "department": "๋ถ€์„œ๋ช…", "identifier": "์‚ฌ๋ฒˆ", "mobile_phone": "01012341234", "status": "created", "confirmed_at": null, "group_ids": [ "A1B2C3D4" ] }
JSON
๋ณต์‚ฌ

ย ์ธ์ฆ ์•Œ๋ฆผํ†ก ๋ฐœ์†ก

๊ธฐ๋ณธ์ •๋ณด
์ง์›์ด ์•Œ๋ฆผํ†ก ๋ฏธ์ˆ˜์‹ ์‹œ ์ธ์ฆ ์•Œ๋ฆผํ†ก ๋ฐœ์†ก API๋ฅผ ํ†ตํ•ด ์ธ์ฆ ์•Œ๋ฆผํ†ก์„ ์žฌ๋ฐœ์†กํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์šด์˜ํ™˜๊ฒฝ์—์„œ๋งŒ ์•Œ๋ฆผํ†ก์ด ๋ฐœ์†ก๋ฉ๋‹ˆ๋‹ค.
๋ฉ”์„œ๋“œ
URL
POST
https://mob-b2b-dev.kakao.com/external/v1/members/{id}/send/tms
์š”์ฒญ ํ—ค๋”
์ด๋ฆ„
์„ค๋ช…
ํ•„์ˆ˜
Authorization
Authorization: Token {API ์ธ์ฆ ํ† ํฐ} ย Token ๋ฌธ์ž์—ด์€ ๋ฐ˜๋“œ์‹œ {API ์ธ์ฆ ํ† ํฐ} ์•ž์— ๋ถ™์–ด์•ผ ํ•˜๋ฉฐ, Token ๋ฌธ์ž์—ด๊ณผ {API ์ธ์ฆ ํ† ํฐ} ์‚ฌ์ด์—๋Š” ๊ณต๋ฐฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. (API ์ธ์ฆ ํ† ํฐ์ด๋ž€?)
O
x-mob-b2b-corp-id
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID (์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ๊ด€๋ฆฌ์‹œ์Šคํ…œ > ์„ค์ • > ๊ณ„์ •์ •๋ณด > T ๋น„์ฆˆ ID)
O
x-mob-b2b-nonce
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜
O
x-mob-b2b-timestamp
API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)
O
์š”์ฒญ ๊ฒฝ๋กœ ๋ณ€์ˆ˜
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
id
String
์ง์› ID
์š”์ฒญ ์˜ˆ์‹œ
curl -X 'POST' \ 'https://mob-b2b-dev.kakao.com/external/v1/members/{id}/send_tms' \ -H 'accept: application/json;charset=UTF-8' \ -H 'Authorization: Token {API ์ธ์ฆ ํ† ํฐ}' \ -H 'x-mob-b2b-corp-id: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID}' \ -H 'x-mob-b2b-nonce: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜}' \ -H 'x-mob-b2b-timestamp: {API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)}'
Bash
๋ณต์‚ฌ
์‘๋‹ต ์˜ˆ์‹œ
HTTP/1.1 200 OK
JSON
๋ณต์‚ฌ

ย ์ง์› ์ƒํƒœ๋ฅผ ํœด์ง์œผ๋กœ ๋ณ€๊ฒฝ

๊ธฐ๋ณธ์ •๋ณด
์ธ์ฆ ์™„๋ฃŒ ์ƒํƒœ์ธ ์ง์›์— ํ•œํ•ด์„œ ํœด์ง ์ƒํƒœ๋กœ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.
๋ฉ”์„œ๋“œ
URL
POST
https://mob-b2b-dev.kakao.com/external/v1/members/block
์š”์ฒญ ํ—ค๋”
์ด๋ฆ„
์„ค๋ช…
ํ•„์ˆ˜
Authorization
Authorization: Token {API ์ธ์ฆ ํ† ํฐ} ย Token ๋ฌธ์ž์—ด์€ ๋ฐ˜๋“œ์‹œ {API ์ธ์ฆ ํ† ํฐ} ์•ž์— ๋ถ™์–ด์•ผ ํ•˜๋ฉฐ, Token ๋ฌธ์ž์—ด๊ณผ {API ์ธ์ฆ ํ† ํฐ} ์‚ฌ์ด์—๋Š” ๊ณต๋ฐฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. (API ์ธ์ฆ ํ† ํฐ์ด๋ž€?)
O
x-mob-b2b-corp-id
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID (์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ๊ด€๋ฆฌ์‹œ์Šคํ…œ > ์„ค์ • > ๊ณ„์ •์ •๋ณด > T ๋น„์ฆˆ ID)
O
x-mob-b2b-nonce
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜
O
x-mob-b2b-timestamp
API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)
O
์š”์ฒญ ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
ํ•„์ˆ˜
members
String
ํœด์ง์œผ๋กœ ๋ณ€๊ฒฝํ•  ์ง์› ID ๋ชฉ๋ก โ€œ,"(์‰ผํ‘œ)๋กœ ๊ตฌ๋ถ„
O
์‘๋‹ต ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
-
MembersBlockingResult[]
ํœด์ง ์ƒํƒœ๋กœ ๋ณ€๊ฒฝ ๊ฒฐ๊ณผ๋ฅผ ๋‹ด์€ JSON ๋ฐฐ์—ด
X
MembersBlockingResult
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
id
String
์ง์› ID
X
status_code
Integer
์‘๋‹ต ์ƒํƒœ ์ฝ”๋“œ (0: ์„ฑ๊ณต)
X
status_msg
String
์‘๋‹ต ์ƒํƒœ ๋ฉ”์‹œ์ง€
X
์š”์ฒญ ์˜ˆ์‹œ
curl -X 'POST' \ 'https://mob-b2b-dev.kakao.com/external/v1/members/block' \ -H 'accept: application/json;charset=UTF-8' \ -H 'Authorization: Token {API ์ธ์ฆ ํ† ํฐ}' \ -H 'x-mob-b2b-corp-id: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID}' \ -H 'x-mob-b2b-nonce: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜}' \ -H 'x-mob-b2b-timestamp: {API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)}' \ -H 'Content-Type: application/json;charset=UTF-8' \ -d '{ "members": "A1B2C3D4,A1B2C3D5" }'
Bash
๋ณต์‚ฌ
์‘๋‹ต ์˜ˆ์‹œ
HTTP/1.1 200 OK [ { "id": "A1B2C3D4", "status_code": 0, "status_msg": "์„ฑ๊ณต" }, { "id": "A1B2C3D5", "status_code": 0, "status_msg": "์„ฑ๊ณต" } ]
JSON
๋ณต์‚ฌ

ย ์ง์›์˜ ํœด์ง ์ƒํƒœ ํ•ด์ œ

๊ธฐ๋ณธ์ •๋ณด
๋ฉ”์„œ๋“œ
URL
POST
https://mob-b2b-dev.kakao.com/external/v1/members/unblock
์š”์ฒญ ํ—ค๋”
์ด๋ฆ„
์„ค๋ช…
ํ•„์ˆ˜
Authorization
Authorization: Token {API ์ธ์ฆ ํ† ํฐ} ย Token ๋ฌธ์ž์—ด์€ ๋ฐ˜๋“œ์‹œ {API ์ธ์ฆ ํ† ํฐ} ์•ž์— ๋ถ™์–ด์•ผ ํ•˜๋ฉฐ, Token ๋ฌธ์ž์—ด๊ณผ {API ์ธ์ฆ ํ† ํฐ} ์‚ฌ์ด์—๋Š” ๊ณต๋ฐฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. (API ์ธ์ฆ ํ† ํฐ์ด๋ž€?)
O
x-mob-b2b-corp-id
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID (์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ๊ด€๋ฆฌ์‹œ์Šคํ…œ > ์„ค์ • > ๊ณ„์ •์ •๋ณด > T ๋น„์ฆˆ ID)
O
x-mob-b2b-nonce
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜
O
x-mob-b2b-timestamp
API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)
O
์š”์ฒญ ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
ํ•„์ˆ˜
members
String
ํœด์ง์„ ํ•ด์ œํ•  ์ง์› ID ๋ชฉ๋ก โ€œ,"(์‰ผํ‘œ)๋กœ ๊ตฌ๋ถ„
O
์‘๋‹ต ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
-
MembersUnblockingResult[]
ํœด์ง ์ƒํƒœ ํ•ด์ œ ๊ฒฐ๊ณผ๋ฅผ ๋‹ด์€ JSON ๋ฐฐ์—ด
X
MembersUnblockingResult
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
id
String
์ง์› ID
X
status_code
Integer
์‘๋‹ต ์ƒํƒœ ์ฝ”๋“œ (0: ์„ฑ๊ณต)
X
status_msg
String
์‘๋‹ต ์ƒํƒœ ๋ฉ”์‹œ์ง€
X
์š”์ฒญ ์˜ˆ์‹œ
curl -X 'POST' \ 'https://mob-b2b-dev.kakao.com/external/v1/members/unblock' \ -H 'accept: application/json;charset=UTF-8' \ -H 'Authorization: Token {API ์ธ์ฆ ํ† ํฐ}' \ -H 'x-mob-b2b-corp-id: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID}' \ -H 'x-mob-b2b-nonce: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜}' \ -H 'x-mob-b2b-timestamp: {API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)}' \ -H 'Content-Type: application/json;charset=UTF-8' \ -d '{ "members": "A1B2C3D4,A1B2C3D5" }'
Bash
๋ณต์‚ฌ
์‘๋‹ต ์˜ˆ์‹œ
HTTP/1.1 200 OK [ { "id": "A1B2C3D4", "status_code": 0, "status_msg": "์„ฑ๊ณต" }, { "id": "A1B2C3D5", "status_code": 0, "status_msg": "์„ฑ๊ณต" } ]
JSON
๋ณต์‚ฌ

ย ์ธ์ฆ ์™„๋ฃŒ ์ง์› ๋ชฉ๋ก ์กฐํšŒ

๊ธฐ๋ณธ์ •๋ณด
๋ฉ”์„œ๋“œ
URL
GET
https://mob-b2b-dev.kakao.com/external/v1/members/connected
์š”์ฒญ ํ—ค๋”
์ด๋ฆ„
์„ค๋ช…
ํ•„์ˆ˜
Authorization
Authorization: Token {API ์ธ์ฆ ํ† ํฐ} ย Token ๋ฌธ์ž์—ด์€ ๋ฐ˜๋“œ์‹œ {API ์ธ์ฆ ํ† ํฐ} ์•ž์— ๋ถ™์–ด์•ผ ํ•˜๋ฉฐ, Token ๋ฌธ์ž์—ด๊ณผ {API ์ธ์ฆ ํ† ํฐ} ์‚ฌ์ด์—๋Š” ๊ณต๋ฐฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. (API ์ธ์ฆ ํ† ํฐ์ด๋ž€?)
O
x-mob-b2b-corp-id
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID (์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ๊ด€๋ฆฌ์‹œ์Šคํ…œ > ์„ค์ • > ๊ณ„์ •์ •๋ณด > T ๋น„์ฆˆ ID)
O
x-mob-b2b-nonce
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜
O
x-mob-b2b-timestamp
API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)
O
x-mob-b2b-privacy
๊ฐœ์ธ์ •๋ณด ์•”ํ˜ธํ™”(AES256) ์—ฌ๋ถ€ (์•”ํ˜ธํ™” Key ํ•„์š”์‹œ biz.cs@kakaomobility.com ์œผ๋กœ ๋ฌธ์˜)
X
์š”์ฒญ ์ฟผ๋ฆฌ ํŒŒ๋ผ๋ฏธํ„ฐ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
ํ•„์ˆ˜
๊ธฐ๋ณธ๊ฐ’
start_date
String
์กฐํšŒ ์‹œ์ž‘์ผ (yyyy-MM-dd) ์‹œ์ž‘์ผ๊ณผ ์ข…๋ฃŒ์ผ ๋ฒ”์œ„๋Š” ์ตœ๋Œ€ ํ•œ ๋‹ฌ
O
-
end_date
String
์กฐํšŒ ์ข…๋ฃŒ์ผ (yyyy-MM-dd) ์‹œ์ž‘์ผ๊ณผ ์ข…๋ฃŒ์ผ ๋ฒ”์œ„๋Š” ์ตœ๋Œ€ ํ•œ ๋‹ฌ
O
-
page
Integer
ํŽ˜์ด์ง€ ๋ฒˆํ˜ธ
X
1
per
Integer
ํ•œ ํŽ˜์ด์ง€์— ๊ฐ€์ ธ์˜ฌ ์ง์› ์ตœ๋Œ€ ์ˆ˜ (์ตœ๋Œ€: 100)
X
20
์‘๋‹ต ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
์•”ํ˜ธํ™” ๊ฐ€๋Šฅ
count
Integer
์ธ์ฆ ์™„๋ฃŒ ์ง์› ์ „์ฒด ๊ฐœ์ˆ˜
X
X
members
ConnectedMember[]
์ธ์ฆ ์™„๋ฃŒ ์ง์›์„ ๋‹ด์€ JOSN ๋ฐฐ์—ด
X
X
ConnectedMember
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
์•”ํ˜ธํ™” ๊ฐ€๋Šฅ
id
String
์ง์› ID
X
X
name
String
์ง์›๋ช…
X
X
department
String
๋ถ€์„œ๋ช…
O
X
identifier
String
์‚ฌ๋ฒˆ
X
O
mobile_phone
String
ํœด๋Œ€์ „ํ™”๋ฒˆํ˜ธ
X
O
status
String
์ง์› ์ƒํƒœ created (๋ฏธ์ธ์ฆ): ์ง์›์œผ๋กœ ๋“ฑ๋ก๋˜์–ด ์žˆ์œผ๋‚˜ ์ง์›์ด T์•ฑ์—์„œ ์ธ์ฆ์„ ์™„๋ฃŒํ•˜์ง€ ์•Š์•„, ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ๋ถˆ๊ฐ€ํ•œ ์ƒํƒœ connected (์ธ์ฆ ์™„๋ฃŒ): T์•ฑ์—์„œ ์ง์›์˜ ์ธ์ฆ์ด ์™„๋ฃŒ๋˜์–ด ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ๊ฐ€๋Šฅํ•œ ์ƒํƒœ refused (์ธ์ฆ ๊ฑฐ๋ถ€): ์ง์›์ด T์•ฑ์—์„œ ์Šค์Šค๋กœ ์ธ์ฆ์„ ๊ฑฐ๋ถ€ํ•˜์—ฌ T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ ๋ถˆ๊ฐ€ํ•œ ์ƒํƒœ blocked (ํœด์ง): ์ง์›์˜ ์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ์ด์šฉ์ด ์ œํ•œ๋œ ์ƒํƒœ
X
X
confirmed_at
String
์ง์› ์ธ์ฆ ์ผ์‹œ (yyyy-MM-dd HH:mm:ss)
X
X
group_ids
String[]
๊ทธ๋ฃน ID๋ฅผ ๋‹ด์€ JSON ๋ฐฐ์—ด
X
X
์š”์ฒญ ์˜ˆ์‹œ
curl -X 'GET' \ 'https://mob-b2b-dev.kakao.com/external/v1/members/connected?start_date=2023-01-01&end_date=2023-01-31&page=1&per=2' \ -H 'accept: application/json;charset=UTF-8' \ -H 'Authorization: Token {API ์ธ์ฆ ํ† ํฐ}' \ -H 'x-mob-b2b-corp-id: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID}' \ -H 'x-mob-b2b-nonce: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜}' \ -H 'x-mob-b2b-timestamp: {API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)}'
Bash
๋ณต์‚ฌ
์‘๋‹ต ์˜ˆ์‹œ
HTTP/1.1 200 OK { "count": 10, "members" : [ { "id": "A1B2C3D4", "name": "ํ™๊ธธ๋™1", "department": "๋ถ€์„œ๋ช…", "identifier": "์‚ฌ๋ฒˆ1", "mobile_phone": "01012341234", "status": "connected", "confirmed_at": "2023-01-01 00:00:00", "group_ids": [ "A1B2C3D4", "A1B2C3D5" ] }, { "id": "A1B2C3D5", "name": "ํ™๊ธธ๋™2", "department": "๋ถ€์„œ๋ช…", "identifier": "์‚ฌ๋ฒˆ2", "mobile_phone": "01012341235", "status": "connected", "confirmed_at": "2023-01-01 00:00:00", "group_ids": [ "A1B2C3D4", "A1B2C3D5" ] } ] }
JSON
๋ณต์‚ฌ

ย ๊ทธ๋ฃน API

ย ๊ทธ๋ฃน ๋ชฉ๋ก ์กฐํšŒ

๊ธฐ๋ณธ์ •๋ณด
๋ฉ”์„œ๋“œ
URL
GET
https://mob-b2b-dev.kakao.com/external/v1/groups
์š”์ฒญ ํ—ค๋”
์ด๋ฆ„
์„ค๋ช…
ํ•„์ˆ˜
Authorization
Authorization: Token {API ์ธ์ฆ ํ† ํฐ} ย Token ๋ฌธ์ž์—ด์€ ๋ฐ˜๋“œ์‹œ {API ์ธ์ฆ ํ† ํฐ} ์•ž์— ๋ถ™์–ด์•ผ ํ•˜๋ฉฐ, Token ๋ฌธ์ž์—ด๊ณผ {API ์ธ์ฆ ํ† ํฐ} ์‚ฌ์ด์—๋Š” ๊ณต๋ฐฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. (API ์ธ์ฆ ํ† ํฐ์ด๋ž€?)
O
x-mob-b2b-corp-id
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID (์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ๊ด€๋ฆฌ์‹œ์Šคํ…œ > ์„ค์ • > ๊ณ„์ •์ •๋ณด > T ๋น„์ฆˆ ID)
O
x-mob-b2b-nonce
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜
O
x-mob-b2b-timestamp
API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)
O
์‘๋‹ต ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
-
Group[]
ํœด์ง ์ƒํƒœ ํ•ด์ œ ๊ฒฐ๊ณผ๋ฅผ ๋‹ด์€ JSON ๋ฐฐ์—ด
X
Group
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
id
String
๊ทธ๋ฃน ID
X
name
String
๊ทธ๋ฃน๋ช…
X
status
String
๊ทธ๋ฃน ์ƒํƒœ enabled (ํ™œ์„ฑํ™”) disabled (๋น„ํ™œ์„ฑํ™”) deactivated (์‚ญ์ œ)
X
description
String
๊ทธ๋ฃน ์„ค๋ช…
X
์š”์ฒญ ์˜ˆ์‹œ
curl -X 'GET' \ 'https://mob-b2b-dev.kakao.com/external/v1/groups' \ -H 'accept: application/json;charset=UTF-8' \ -H 'Authorization: Token {API ์ธ์ฆ ํ† ํฐ}' \ -H 'x-mob-b2b-corp-id: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID}' \ -H 'x-mob-b2b-nonce: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜}' \ -H 'x-mob-b2b-timestamp: {API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)}'
Bash
๋ณต์‚ฌ
์‘๋‹ต ์˜ˆ์‹œ
HTTP/1.1 200 OK [ { "id": "A1B2C3D4", "name": "๊ทธ๋ฃน1", "status": "enabled", "description": "์ž๋™์œผ๋กœ ์ƒ์„ฑ๋œ ๊ธฐ๋ณธ๊ทธ๋ฃน ์ž…๋‹ˆ๋‹ค." }, { "id": "A1B2C3D5", "name": "๊ทธ๋ฃน2", "status": "disabled", "description": "" } ]
JSON
๋ณต์‚ฌ

ย ๊ทธ๋ฃน ์ด์šฉ์‚ฌ์œ  ์กฐํšŒ

๊ธฐ๋ณธ์ •๋ณด
๋ฉ”์„œ๋“œ
URL
GET
https://mob-b2b-dev.kakao.com/external/v1/groups/use_reason_type
์š”์ฒญ ํ—ค๋”
์ด๋ฆ„
์„ค๋ช…
ํ•„์ˆ˜
Authorization
Authorization: Token {API ์ธ์ฆ ํ† ํฐ} ย Token ๋ฌธ์ž์—ด์€ ๋ฐ˜๋“œ์‹œ {API ์ธ์ฆ ํ† ํฐ} ์•ž์— ๋ถ™์–ด์•ผ ํ•˜๋ฉฐ, Token ๋ฌธ์ž์—ด๊ณผ {API ์ธ์ฆ ํ† ํฐ} ์‚ฌ์ด์—๋Š” ๊ณต๋ฐฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. (API ์ธ์ฆ ํ† ํฐ์ด๋ž€?)
O
x-mob-b2b-corp-id
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID (์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ๊ด€๋ฆฌ์‹œ์Šคํ…œ > ์„ค์ • > ๊ณ„์ •์ •๋ณด > T ๋น„์ฆˆ ID)
O
x-mob-b2b-nonce
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜
O
x-mob-b2b-timestamp
API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)
O
์š”์ฒญ ์ฟผ๋ฆฌ ํŒŒ๋ผ๋ฏธํ„ฐ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
ํ•„์ˆ˜
group_ext_id
String
๊ทธ๋ฃน ID
O
์‘๋‹ต ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
reason_type
String
์ด์šฉ์‚ฌ์œ  ์œ ํ˜• text (์ž…๋ ฅํ˜•) selection (์„ ํƒํ˜•) selection_plus (์„ ํƒํ˜• + ์ž…๋ ฅํ˜•) selection_text (์„ ํƒํ˜• โ†’ ์ž…๋ ฅํ˜•)
X
reason_type_txt
String
์ด์šฉ์‚ฌ์œ  ์œ ํ˜•(ํ•œ๊ธ€)
X
description1
String
์ด์šฉ์‚ฌ์œ  ์„ค๋ช… 1
X
options1
String
์„ ํƒ ์˜ต์…˜ 1
X
description2
String
์ด์šฉ์‚ฌ์œ  ์„ค๋ช… 2
X
options2
String
์„ ํƒ ์˜ต์…˜ 2
X
is_required
Boolean
์ด์šฉ์‚ฌ์œ  ์ž…๋ ฅ ํ•„์ˆ˜ ์—ฌ๋ถ€
X
์š”์ฒญ ์˜ˆ์‹œ
curl -X 'GET' \ 'https://mob-b2b-dev.kakao.com/external/v1/groups/use_reason_type?group_ext_id=A1B2C3D4' \ -H 'accept: application/json;charset=UTF-8' \ -H 'Authorization: Token {API ์ธ์ฆ ํ† ํฐ}' \ -H 'x-mob-b2b-corp-id: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID}' \ -H 'x-mob-b2b-nonce: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜}' \ -H 'x-mob-b2b-timestamp: {API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)}'
Bash
๋ณต์‚ฌ
์‘๋‹ต ์˜ˆ์‹œ
HTTP/1.1 200 OK { "reason_type": "text", "reason_type_txt": "์ž…๋ ฅํ˜•", "description1": "", "options1": "", "description2": "", "options2": "", "is_required": false }
JSON
๋ณต์‚ฌ

ย ๊ฒฐ์ œ API

ย ๊ฒฐ์ œ ์Šน์ธ ๋‚ด์—ญ ์กฐํšŒ

๊ธฐ๋ณธ์ •๋ณด
๋ฉ”์„œ๋“œ
URL
GET
https://mob-b2b-dev.kakao.com/external/v1/members/payment_approvals
์š”์ฒญ ํ—ค๋”
์ด๋ฆ„
์„ค๋ช…
ํ•„์ˆ˜
Authorization
Authorization: Token {API ์ธ์ฆ ํ† ํฐ} ย Token ๋ฌธ์ž์—ด์€ ๋ฐ˜๋“œ์‹œ {API ์ธ์ฆ ํ† ํฐ} ์•ž์— ๋ถ™์–ด์•ผ ํ•˜๋ฉฐ, Token ๋ฌธ์ž์—ด๊ณผ {API ์ธ์ฆ ํ† ํฐ} ์‚ฌ์ด์—๋Š” ๊ณต๋ฐฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. (API ์ธ์ฆ ํ† ํฐ์ด๋ž€?)
O
x-mob-b2b-corp-id
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID (์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ๊ด€๋ฆฌ์‹œ์Šคํ…œ > ์„ค์ • > ๊ณ„์ •์ •๋ณด > T ๋น„์ฆˆ ID)
O
x-mob-b2b-nonce
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜
O
x-mob-b2b-timestamp
API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)
O
์š”์ฒญ ์ฟผ๋ฆฌ ํŒŒ๋ผ๋ฏธํ„ฐ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
ํ•„์ˆ˜
๊ธฐ๋ณธ๊ฐ’
start_date
String
์กฐํšŒ ์‹œ์ž‘์ผ (yyyy-MM-dd) ์‹œ์ž‘์ผ๊ณผ ์ข…๋ฃŒ์ผ ๋ฒ”์œ„๋Š” ์ตœ๋Œ€ ํ•œ ๋‹ฌ
O
-
end_date
String
์กฐํšŒ ์ข…๋ฃŒ์ผ (yyyy-MM-dd) ์‹œ์ž‘์ผ๊ณผ ์ข…๋ฃŒ์ผ ๋ฒ”์œ„๋Š” ์ตœ๋Œ€ ํ•œ ๋‹ฌ
O
-
page
Integer
ํŽ˜์ด์ง€ ๋ฒˆํ˜ธ
X
1
per
Integer
ํ•œ ํŽ˜์ด์ง€์— ๊ฐ€์ ธ์˜ฌ ๊ฒฐ์ œ ์Šน์ธ ๋‚ด์—ญ ์ตœ๋Œ€ ์ˆ˜ (์ตœ๋Œ€: 100)
X
20
์‘๋‹ต ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
count
Integer
๊ฒฐ์ œ ์Šน์ธ ๋‚ด์—ญ ์ „์ฒด ๊ฐœ์ˆ˜
X
payment_approvals
PaymentApproval[]
๊ฒฐ์ œ ์Šน์ธ ๋‚ด์—ญ์„ ๋‹ด์€ JOSN ๋ฐฐ์—ด
X
PaymentApproval
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
id
Long
๊ฒฐ์ œ ์Šน์ธ ID
X
payment_item_id
Long
๊ฒฐ์ œ ์•„์ดํ…œ ID
X
amount
Integer
๊ธˆ์•ก
X
pay_type
String
๊ฒฐ์ œ ํƒ€์ž… PAYMENT (๊ฒฐ์ œ) CANCEL (์ทจ์†Œ)
X
approval_no
String
์นด๋“œ์‚ฌ ์Šน์ธ ๋ฒˆํ˜ธ
O
org_date_time
String
์นด๋“œ์‚ฌ ์Šน์ธ ์ผ์‹œ (yyyy-MM-dd HH:mm:ss)
O
card_number
String
์นด๋“œ ๋ฒˆํ˜ธ
O
์š”์ฒญ ์˜ˆ์‹œ
curl -X 'GET' \ 'https://mob-b2b-dev.kakao.com/external/v1/payment_approvals?start_date=2023-01-01&end_date=2023-01-31&page=1&per=2' \ -H 'accept: application/json;charset=UTF-8' \ -H 'Authorization: Token {API ์ธ์ฆ ํ† ํฐ}' \ -H 'x-mob-b2b-corp-id: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID}' \ -H 'x-mob-b2b-nonce: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜}' \ -H 'x-mob-b2b-timestamp: {API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)}'
Bash
๋ณต์‚ฌ
์‘๋‹ต ์˜ˆ์‹œ
HTTP/1.1 200 OK { "count": 10, "payment_approvals" : [ { "id": 1000, "payment_item_id": 2000, "amount": 8100, "pay_type": "PAYMENT", "approval_no": "999999998", "org_date_time": "2023-01-01 00:00:00", "card_number": "000001" }, { "id": 1001, "payment_item_id": 2001, "amount": 5000, "pay_type": "PAYMENT", "approval_no": "999999999", "org_date_time": "2023-01-01 00:00:00", "card_number": "000001" } ] }
JSON
๋ณต์‚ฌ

ย ์ด์šฉ ๋‚ด์—ญ API

ย ๊ธฐ์—… ์ด์šฉ ๋‚ด์—ญ ์กฐํšŒ

๊ธฐ๋ณธ์ •๋ณด
๋ฉ”์„œ๋“œ
URL
GET
https://mob-b2b-dev.kakao.com/external/v2/orders
์š”์ฒญ ํ—ค๋”
์ด๋ฆ„
์„ค๋ช…
ํ•„์ˆ˜
Authorization
Authorization: Token {API ์ธ์ฆ ํ† ํฐ} ย Token ๋ฌธ์ž์—ด์€ ๋ฐ˜๋“œ์‹œ {API ์ธ์ฆ ํ† ํฐ} ์•ž์— ๋ถ™์–ด์•ผ ํ•˜๋ฉฐ, Token ๋ฌธ์ž์—ด๊ณผ {API ์ธ์ฆ ํ† ํฐ} ์‚ฌ์ด์—๋Š” ๊ณต๋ฐฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. (API ์ธ์ฆ ํ† ํฐ์ด๋ž€?)
O
x-mob-b2b-corp-id
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID (์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ๊ด€๋ฆฌ์‹œ์Šคํ…œ > ์„ค์ • > ๊ณ„์ •์ •๋ณด > T ๋น„์ฆˆ ID)
O
x-mob-b2b-nonce
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜
O
x-mob-b2b-timestamp
API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)
O
์š”์ฒญ ์ฟผ๋ฆฌ ํŒŒ๋ผ๋ฏธํ„ฐ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
ํ•„์ˆ˜
๊ธฐ๋ณธ๊ฐ’
start_date
String
์กฐํšŒ ์‹œ์ž‘์ผ (yyyy-MM-dd) ์‹œ์ž‘์ผ๊ณผ ์ข…๋ฃŒ์ผ ๋ฒ”์œ„๋Š” ์ตœ๋Œ€ ํ•œ ๋‹ฌ
O
-
end_date
String
์กฐํšŒ ์ข…๋ฃŒ์ผ (yyyy-MM-dd) ์‹œ์ž‘์ผ๊ณผ ์ข…๋ฃŒ์ผ ๋ฒ”์œ„๋Š” ์ตœ๋Œ€ ํ•œ ๋‹ฌ
O
-
page
Integer
ํŽ˜์ด์ง€ ๋ฒˆํ˜ธ
X
1
per
Integer
ํ•œ ํŽ˜์ด์ง€์— ๊ฐ€์ ธ์˜ฌ ์ด์šฉ ๋‚ด์—ญ ์ตœ๋Œ€ ์ˆ˜ (์ตœ๋Œ€: 100)
X
20
search_by_payment_at
Boolean
์กฐํšŒ ๊ธฐ์ค€ (false: ์ด์šฉ์ผ์‹œ, true: ๊ฒฐ์ œ์ผ์‹œ)
X
false
vertical_code
String
๋ฒ„ํ‹ฐ์ปฌ ์ข…๋ฅ˜ TAXI (ํƒ์‹œ) DRIVER (๋Œ€๋ฆฌ) LOGISTICS (ํ€ตโˆ™๋ฐฐ์†ก) CONSIGNMENT (ํƒ์†ก) DOBO (๋„๋ณด ๋ฐฐ์†ก) KORAIL (๊ธฐ์ฐจ) NAVI (๋‚ด๋น„) COMMUTEBUS (ํ†ต๊ทผ ์…”ํ‹€) BLACK (๋ธ”๋ž™)
X
-
member_identifier
String
์ง์› ์‚ฌ๋ฒˆ
X
-
์‘๋‹ต ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
count
Integer
์ด์šฉ ๋‚ด์—ญ ์ „์ฒด ๊ฐœ์ˆ˜
X
orders
Order[]
์ด์šฉ ๋‚ด์—ญ์„ ๋‹ด์€ JOSN ๋ฐฐ์—ด
X
Order
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
id
String
์ด์šฉ ๋‚ด์—ญ ID
X
service_fare
Integer
์ด์šฉ ์š”๊ธˆ
X
toll
Integer
ํ†ตํ–‰๋ฃŒ
X
platform_fee
Integer
ํ”Œ๋žซํผ ์ˆ˜์ˆ˜๋ฃŒ
X
group_id
String
๊ทธ๋ฃน ID
X
group_name
String
๊ทธ๋ฃน๋ช…
X
vertical_code
String
๋ฒ„ํ‹ฐ์ปฌ ์ข…๋ฅ˜ TAXI (ํƒ์‹œ) DRIVER (๋Œ€๋ฆฌ) LOGISTICS (ํ€ตโˆ™๋ฐฐ์†ก) CONSIGNMENT (ํƒ์†ก) DOBO (๋„๋ณด ๋ฐฐ์†ก) KORAIL (๊ธฐ์ฐจ) NAVI (๋‚ด๋น„) COMMUTEBUS (ํ†ต๊ทผ ์…”ํ‹€) BLACK (๋ธ”๋ž™)
X
vertical_product_code
String
๋ฒ„ํ‹ฐ์ปฌ ์ƒํ’ˆ ์ข…๋ฅ˜
X
vertical_product_name
String
๋ฒ„ํ‹ฐ์ปฌ ์ƒํ’ˆ๋ช…
X
dropoff_location_gap
Integer
๋ชฉ์ ์ง€-๋„์ฐฉ์ง€ ๊ฑฐ๋ฆฌ
X
taxi_kind
String
ํƒ์‹œ ์ข…๋ฅ˜ medium (์ค‘ํ˜•) large (๋Œ€ํ˜•) deluxe (๋ชจ๋ฒ”) luxury (๊ณ ๊ธ‰) compact (๊ฒฝํ˜•) small (์†Œํ˜•) unknown (ํƒ์‹œ๊ฐ€ ์•„๋‹˜)
X
payment_items
PaymentItem
๊ฒฐ์ œ ์ •๋ณด๋ฅผ ๋‹ด์€ JSON ๋ฐฐ์—ด
X
use_code
String
์ด์šฉ ์‚ฌ์œ 
O
call_time
String
ํ˜ธ์ถœ ์ผ์‹œ (yyyy-MM-dd HH:mm:ss)
O
departure_time
String
์ถœ๋ฐœ ์ผ์‹œ (yyyy-MM-dd HH:mm:ss)
O
arrival_time
String
๋„์ฐฉ ์ผ์‹œ (yyyy-MM-dd HH:mm:ss)
O
departure_point
String
ํƒ‘์Šน ์œ„์น˜
O
arrival_point
String
๋„์ฐฉ ์œ„์น˜
O
member_id
String
์ด์šฉ ์ง์› ID
O
member_name
String
์ด์šฉ ์ง์›๋ช…
O
member_identifier
String
์ด์šฉ ์ง์› ์‚ฌ๋ฒˆ
O
member_department
String
์ด์šฉ ์ง์› ๋ถ€์„œ๋ช…
O
car_model
String
์ž๋™์ฐจ ๋ชจ๋ธ๋ช…
O
car_number
String
์ž๋™์ฐจ ๋“ฑ๋ก๋ฒˆํ˜ธ
O
taxi_company_name
String
์šด์ˆ˜ํšŒ์‚ฌ๋ช…
O
total_distance
Integer
์ด ์ฃผํ–‰ ๊ฑฐ๋ฆฌ(m)
O
PaymentItem
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
id
Long
๊ฒฐ์ œ ID
X
status
String
๊ฒฐ์ œ ์ƒํƒœ init (๊ฒฐ์ œ ์š”์ฒญ) paid (๊ฒฐ์ œ ์Šน์ธ) unpaid (๊ฒฐ์ œ ์‹คํŒจ/๋ฏธ์ˆ˜) payment_cancelled (๊ฒฐ์ œ ์ทจ์†Œ) overpaid (์ดˆ๊ณผ ๊ฒฐ์ œ)
X
item_type
String
๊ฒฐ์ œ ์œ ํ˜• fare (์šดํ–‰ ์š”๊ธˆ) platform_fee (ํ”Œ๋žซํผ ์‚ฌ์šฉ๋ฃŒ) cancel_fee (์ทจ์†Œ ์ˆ˜์ˆ˜๋ฃŒ) business_call_charge (ํ”Œ๋Ÿฌ์Šค ์ด์šฉ๋ฃŒ) noshow_fee (๋…ธ์‡ผ ์ˆ˜์ˆ˜๋ฃŒ) call_fee (ํ˜ธ์ถœ/์˜ˆ์•ฝ ์ด์šฉ๋ฃŒ) etc_fee (๊ธฐํƒ€๋น„์šฉ(์‹ค๋น„))
X
amount
Integer
๊ฒฐ์ œ ๊ธˆ์•ก
X
approval_no
String
์นด๋“œ์‚ฌ ์Šน์ธ ๋ฒˆํ˜ธ
O
org_date_time
String
์นด๋“œ์‚ฌ ์Šน์ธ ์ผ์‹œ (yyyy-MM-dd HH:mm:ss)
O
card_number
String
์นด๋“œ ๋ฒˆํ˜ธ
O
์š”์ฒญ ์˜ˆ์‹œ
curl -X 'GET' \ 'https://mob-b2b-dev.kakao.com/external/v2/orders?start_date=2023-01-01&end_date=2023-01-31&page=1&per=1' \ -H 'accept: application/json;charset=UTF-8' \ -H 'Authorization: Token {API ์ธ์ฆ ํ† ํฐ}' \ -H 'x-mob-b2b-corp-id: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID}' \ -H 'x-mob-b2b-nonce: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜}' \ -H 'x-mob-b2b-timestamp: {API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)}'
Bash
๋ณต์‚ฌ
์‘๋‹ต ์˜ˆ์‹œ
HTTP/1.1 200 OK { "count": 10, "orders": [ { "id": "A1B2C3D4", "service_fare": 8100, "toll": 0, "platform_fee": 0, "use_code": "", "call_time": "2023-01-01 15:31:13", "departure_time": "2023-01-01 15:31:13", "arrival_time": "2023-01-01 15:31:26", "departure_point": "๊ฒฝ๊ธฐ ์ˆ˜์ง€๊ตฌ ์šฉ์ธ์‹œ ์‹ ์ˆ˜๋กœ 767", "arrival_point": "๊ฒฝ๊ธฐ ์„ฑ๋‚จ์‹œ ๋ถ„๋‹น๊ตฌ ํŒ๊ต์—ญ๋กœ ์ง€ํ•˜ 160", "member_id": "EGRJ8LPB", "member_name": null, "member_identifier": "์‚ฌ๋ฒˆ", "member_department": null, "group_id": "A1B2C3D5", "group_name": "๊ธฐ๋ณธ๊ทธ๋ฃน", "car_model": null, "car_number": null, "taxi_company_name": null, "taxi_kind": "unknown", "vertical_code": "logistics", "vertical_product_code": "quick_economy", "vertical_product_name": "ํ€ต ์ด์ฝ”๋…ธ๋ฏธ", "total_distance": null, "dropoff_location_gap": 0, "payment_items": [ { "id": 9999, "status": "payment_cancelled", "item_type": "fare", "amount": 8100, "approval_no": "999919999", "org_date_time": "2023-01-01 15:31:25", "card_number": "000001" } ] } ] }
JSON
๋ณต์‚ฌ

ย ๊ธฐ์—…์˜ ํŒŒํŠธ๋„ˆ ์ด์šฉ ๋‚ด์—ญ ์กฐํšŒ

๊ธฐ๋ณธ์ •๋ณด
๋ฉ”์„œ๋“œ
URL
GET
https://mob-b2b-dev.kakao.com/external/v1/orders/partner
์š”์ฒญ ํ—ค๋”
์ด๋ฆ„
์„ค๋ช…
ํ•„์ˆ˜
Authorization
Authorization: Token {API ์ธ์ฆ ํ† ํฐ} ย Token ๋ฌธ์ž์—ด์€ ๋ฐ˜๋“œ์‹œ {API ์ธ์ฆ ํ† ํฐ} ์•ž์— ๋ถ™์–ด์•ผ ํ•˜๋ฉฐ, Token ๋ฌธ์ž์—ด๊ณผ {API ์ธ์ฆ ํ† ํฐ} ์‚ฌ์ด์—๋Š” ๊ณต๋ฐฑ์ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. (API ์ธ์ฆ ํ† ํฐ์ด๋ž€?)
O
x-mob-b2b-corp-id
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID (์นด์นด์˜ค T ๋น„์ฆˆ๋‹ˆ์Šค ๊ด€๋ฆฌ์‹œ์Šคํ…œ > ์„ค์ • > ๊ณ„์ •์ •๋ณด > T ๋น„์ฆˆ ID)
O
x-mob-b2b-nonce
API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜
O
x-mob-b2b-timestamp
API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)
O
์š”์ฒญ ์ฟผ๋ฆฌ ํŒŒ๋ผ๋ฏธํ„ฐ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
ํ•„์ˆ˜
๊ธฐ๋ณธ๊ฐ’
start_date
String
์กฐํšŒ ์‹œ์ž‘์ผ (yyyy-MM-dd) ์‹œ์ž‘์ผ๊ณผ ์ข…๋ฃŒ์ผ ๋ฒ”์œ„๋Š” ์ตœ๋Œ€ ํ•œ ๋‹ฌ
O
-
end_date
String
์กฐํšŒ ์ข…๋ฃŒ์ผ (yyyy-MM-dd) ์‹œ์ž‘์ผ๊ณผ ์ข…๋ฃŒ์ผ ๋ฒ”์œ„๋Š” ์ตœ๋Œ€ ํ•œ ๋‹ฌ
O
-
page
Integer
ํŽ˜์ด์ง€ ๋ฒˆํ˜ธ
X
1
per
Integer
ํ•œ ํŽ˜์ด์ง€์— ๊ฐ€์ ธ์˜ฌ ์ด์šฉ ๋‚ด์—ญ ์ตœ๋Œ€ ์ˆ˜ (์ตœ๋Œ€: 100)
X
20
์‘๋‹ต ๋ณธ๋ฌธ
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
count
Integer
์ด์šฉ ๋‚ด์—ญ ์ „์ฒด ๊ฐœ์ˆ˜
X
orders
PartnerOrder[]
์ด์šฉ ๋‚ด์—ญ์„ ๋‹ด์€ JOSN ๋ฐฐ์—ด
X
PartnerOrder
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
id
String
์ด์šฉ ๋‚ด์—ญ ID
X
corporation_name
String
๊ธฐ์—…๋ช…
X
registration_id
String
์‚ฌ์—…์ž๋ฒˆํ˜ธ
X
service_fare
Integer
์ด์šฉ ์š”๊ธˆ
X
toll
Integer
ํ†ตํ–‰๋ฃŒ
X
platform_fee
Integer
ํ”Œ๋žซํผ ์ˆ˜์ˆ˜๋ฃŒ
X
group_id
String
๊ทธ๋ฃน ID
X
group_name
String
๊ทธ๋ฃน๋ช…
X
vertical_code
String
๋ฒ„ํ‹ฐ์ปฌ ์ข…๋ฅ˜ TAXI (ํƒ์‹œ) DRIVER (๋Œ€๋ฆฌ) LOGISTICS (ํ€ตโˆ™๋ฐฐ์†ก) CONSIGNMENT (ํƒ์†ก) DOBO (๋„๋ณด ๋ฐฐ์†ก) KORAIL (๊ธฐ์ฐจ) NAVI (๋‚ด๋น„) COMMUTEBUS (ํ†ต๊ทผ ์…”ํ‹€) BLACK (๋ธ”๋ž™)
X
member_id
String
์ด์šฉ ์ง์› ID
X
member_identifier
String
์ด์šฉ ์ง์› ์‚ฌ๋ฒˆ
O
member_name
String
์ด์šฉ ์ง์›๋ช…
X
member_mobile
String
์ด์šฉ ์ง์› ํœด๋Œ€์ „ํ™”๋ฒˆํ˜ธ
X
taxi_kind
String
ํƒ์‹œ ์ข…๋ฅ˜ medium (์ค‘ํ˜•) large (๋Œ€ํ˜•) deluxe (๋ชจ๋ฒ”) luxury (๊ณ ๊ธ‰) compact (๊ฒฝํ˜•) small (์†Œํ˜•) unknown (ํƒ์‹œ๊ฐ€ ์•„๋‹˜)
X
payment_items
PaymentItem
๊ฒฐ์ œ ์ •๋ณด๋ฅผ ๋‹ด์€ JSON ๋ฐฐ์—ด
X
use_code
String
์ด์šฉ ์‚ฌ์œ 
O
departure_time
String
์ถœ๋ฐœ ์ผ์‹œ (yyyy-MM-dd HH:mm:ss)
O
arrival_time
String
๋„์ฐฉ ์ผ์‹œ (yyyy-MM-dd HH:mm:ss)
O
departure_point
String
ํƒ‘์Šน ์œ„์น˜
O
arrival_point
String
๋„์ฐฉ ์œ„์น˜
O
total_distance
Integer
์ด ์ฃผํ–‰ ๊ฑฐ๋ฆฌ(m)
O
PaymentItem
์ด๋ฆ„
ํƒ€์ž…
์„ค๋ช…
null ํ—ˆ์šฉ
id
Long
๊ฒฐ์ œ ID
X
status
String
๊ฒฐ์ œ ์ƒํƒœ init (๊ฒฐ์ œ ์š”์ฒญ) paid (๊ฒฐ์ œ ์Šน์ธ) unpaid (๊ฒฐ์ œ ์‹คํŒจ/๋ฏธ์ˆ˜) payment_cancelled (๊ฒฐ์ œ ์ทจ์†Œ) overpaid (์ดˆ๊ณผ ๊ฒฐ์ œ)
X
item_type
String
๊ฒฐ์ œ ์œ ํ˜• fare (์šดํ–‰ ์š”๊ธˆ) platform_fee (ํ”Œ๋žซํผ ์‚ฌ์šฉ๋ฃŒ) cancel_fee (์ทจ์†Œ ์ˆ˜์ˆ˜๋ฃŒ) business_call_charge (ํ”Œ๋Ÿฌ์Šค ์ด์šฉ๋ฃŒ) noshow_fee (๋…ธ์‡ผ ์ˆ˜์ˆ˜๋ฃŒ) call_fee (ํ˜ธ์ถœ/์˜ˆ์•ฝ ์ด์šฉ๋ฃŒ) etc_fee (๊ธฐํƒ€๋น„์šฉ(์‹ค๋น„))
X
amount
Integer
๊ฒฐ์ œ ๊ธˆ์•ก
X
approval_no
String
์นด๋“œ์‚ฌ ์Šน์ธ ๋ฒˆํ˜ธ
O
org_date_time
String
์นด๋“œ์‚ฌ ์Šน์ธ ์ผ์‹œ (yyyy-MM-dd HH:mm:ss)
O
์š”์ฒญ ์˜ˆ์‹œ
curl -X 'GET' \ 'https://mob-b2b-dev.kakao.com/external/v1/orders/partner?start_date=2023-01-01&end_date=2023-01-31&page=1&per=1' \ -H 'accept: application/json;charset=UTF-8' \ -H 'Authorization: Token {API ์ธ์ฆ ํ† ํฐ}' \ -H 'x-mob-b2b-corp-id: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๊ธฐ์—… ID}' \ -H 'x-mob-b2b-nonce: {API ์ธ์ฆ ํ† ํฐ ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ ๋‚œ์ˆ˜}' \ -H 'x-mob-b2b-timestamp: {API ์ธ์ฆ ํ† ํฐ์„ ์ƒ์„ฑํ•œ ์œ ๋‹‰์Šค ์‹œ๊ฐ„(์ดˆ)}'
Bash
๋ณต์‚ฌ
์‘๋‹ต ์˜ˆ์‹œ
HTTP/1.1 200 OK { "count": 10, "orders": [ { "id": "A1B2C3D4", "corporation_name": "A๊ณ ๊ฐ์‚ฌ", "registration_id": "1111111119", "service_fare": 8100, "toll": 0, "platform_fee": 0, "use_code": "", "departure_time": "2023-01-01 15:31:13", "arrival_time": "2023-01-01 15:31:26", "departure_point": "๊ฒฝ๊ธฐ ์ˆ˜์ง€๊ตฌ ์šฉ์ธ์‹œ ์‹ ์ˆ˜๋กœ 767", "arrival_point": "๊ฒฝ๊ธฐ ์„ฑ๋‚จ์‹œ ๋ถ„๋‹น๊ตฌ ํŒ๊ต์—ญ๋กœ ์ง€ํ•˜ 160", "member_id": "EGRJ8LPB", "member_identifier": "์‚ฌ๋ฒˆ", "member_name": null, "member_mobile": "01012341234", "group_id": "A1B2C3D5", "group_name": "๊ธฐ๋ณธ๊ทธ๋ฃน", "taxi_kind": "unknown", "vertical_code": "logistics", "total_distance": null, "payment_items": [ { "id": 9999, "status": "payment_cancelled", "item_type": "fare", "amount": 8100, "approval_no": "999919999", "org_date_time": "2023-01-01 15:31:25", } ] } ] }
JSON
๋ณต์‚ฌ