DPOT-Public-API.postman_collection.json 218 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872
  1. {
  2. "item": [
  3. {
  4. "name": "결제 보고",
  5. "description": "",
  6. "item": [
  7. {
  8. "id": "2239aa26-a2bc-47ea-883d-f0e17175fee3",
  9. "name": "결제 취소",
  10. "request": {
  11. "name": "결제 취소",
  12. "description": {
  13. "content": "등록된 결제를 취소합니다. **등록한 앱만 취소 가능**합니다.\n\n- **보류(Pending) 중 취소**: 지갑 변동 없이 취소 처리 (`recoveredAmount=0`)\n- **확정(Confirmed) 후 취소**: 적립된 채널 수수료를 회수. 채널주가 이미 출금해 잔액이\n 부족하면 가용분만 회수하고 부족분을 `shortfallAmount` 로 응답 (DPOT 운영진 검토 대상)\n\n### 필수 scope\n- `write:purchases`\n\n### 인증 제한\n- **OAuth2 Client Credentials 앱 토큰 전용** — PAT 으로 호출 시 `403`\n\n### 경로/쿼리\n| 이름 | 위치 | 필수 | 설명 |\n|---|---|---|---|\n| `orderID` | path | ✅ | 등록 시 사용한 마켓 거래 ID |\n| `marketplace` | query | 조건 | 동일 orderID 가 여러 마켓에 등록된 경우만 필수 |\n\n### 에러\n- `400` — orderID 누락 / 마켓 모호 (`Purchase.AmbiguousOrderID`)\n- `403` — PAT 호출\n- `404` — 등록 내역 없음 (타 앱 등록 건 포함 — 조회 불가)\n- `409` — 이미 취소됨 (`Purchase.AlreadyCanceled`)",
  14. "type": "text/plain"
  15. },
  16. "url": {
  17. "path": [
  18. "v1",
  19. "purchases",
  20. ":orderID",
  21. "cancel"
  22. ],
  23. "host": [
  24. "{{baseUrl}}"
  25. ],
  26. "query": [
  27. {
  28. "disabled": false,
  29. "description": {
  30. "content": "",
  31. "type": "text/plain"
  32. },
  33. "key": "marketplace",
  34. "value": "<integer>"
  35. }
  36. ],
  37. "variable": [
  38. {
  39. "type": "any",
  40. "value": "<string>",
  41. "key": "orderID",
  42. "disabled": false,
  43. "description": {
  44. "content": "(Required) ",
  45. "type": "text/plain"
  46. }
  47. }
  48. ]
  49. },
  50. "header": [
  51. {
  52. "key": "Accept",
  53. "value": "application/json"
  54. }
  55. ],
  56. "method": "POST",
  57. "body": {},
  58. "auth": null
  59. },
  60. "response": [
  61. {
  62. "id": "5ab7271f-c726-4b01-9cd0-caeef0e503de",
  63. "name": "OK",
  64. "originalRequest": {
  65. "url": {
  66. "path": [
  67. "v1",
  68. "purchases",
  69. ":orderID",
  70. "cancel"
  71. ],
  72. "host": [
  73. "{{baseUrl}}"
  74. ],
  75. "query": [
  76. {
  77. "disabled": false,
  78. "description": {
  79. "content": "",
  80. "type": "text/plain"
  81. },
  82. "key": "marketplace",
  83. "value": "<integer>"
  84. }
  85. ],
  86. "variable": [
  87. {
  88. "disabled": false,
  89. "description": {
  90. "content": "(Required) ",
  91. "type": "text/plain"
  92. },
  93. "type": "any",
  94. "value": "<string>",
  95. "key": "orderID"
  96. }
  97. ]
  98. },
  99. "header": [
  100. {
  101. "key": "Accept",
  102. "value": "application/json"
  103. },
  104. {
  105. "description": {
  106. "content": "Added as a part of security scheme: bearer",
  107. "type": "text/plain"
  108. },
  109. "key": "Authorization",
  110. "value": "Bearer <token>"
  111. }
  112. ],
  113. "method": "POST",
  114. "body": {}
  115. },
  116. "status": "OK",
  117. "code": 200,
  118. "header": [
  119. {
  120. "key": "Content-Type",
  121. "value": "application/json"
  122. }
  123. ],
  124. "body": "{\n \"success\": \"<boolean>\",\n \"data\": \"\",\n \"status\": \"<integer>\",\n \"message\": \"<string>\",\n \"errors\": \"\"\n}",
  125. "cookie": [],
  126. "_postman_previewlanguage": "json"
  127. },
  128. {
  129. "id": "314d3e68-5a5b-46ca-b739-c1eb5894bc12",
  130. "name": "Bad Request",
  131. "originalRequest": {
  132. "url": {
  133. "path": [
  134. "v1",
  135. "purchases",
  136. ":orderID",
  137. "cancel"
  138. ],
  139. "host": [
  140. "{{baseUrl}}"
  141. ],
  142. "query": [
  143. {
  144. "disabled": false,
  145. "description": {
  146. "content": "",
  147. "type": "text/plain"
  148. },
  149. "key": "marketplace",
  150. "value": "<integer>"
  151. }
  152. ],
  153. "variable": [
  154. {
  155. "disabled": false,
  156. "description": {
  157. "content": "(Required) ",
  158. "type": "text/plain"
  159. },
  160. "type": "any",
  161. "value": "<string>",
  162. "key": "orderID"
  163. }
  164. ]
  165. },
  166. "header": [
  167. {
  168. "key": "Accept",
  169. "value": "application/problem+json"
  170. },
  171. {
  172. "description": {
  173. "content": "Added as a part of security scheme: bearer",
  174. "type": "text/plain"
  175. },
  176. "key": "Authorization",
  177. "value": "Bearer <token>"
  178. }
  179. ],
  180. "method": "POST",
  181. "body": {}
  182. },
  183. "status": "Bad Request",
  184. "code": 400,
  185. "header": [
  186. {
  187. "key": "Content-Type",
  188. "value": "application/problem+json"
  189. }
  190. ],
  191. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  192. "cookie": [],
  193. "_postman_previewlanguage": "json"
  194. },
  195. {
  196. "id": "f56e17e7-4327-49de-9abb-f82143554bfc",
  197. "name": "Unauthorized",
  198. "originalRequest": {
  199. "url": {
  200. "path": [
  201. "v1",
  202. "purchases",
  203. ":orderID",
  204. "cancel"
  205. ],
  206. "host": [
  207. "{{baseUrl}}"
  208. ],
  209. "query": [
  210. {
  211. "disabled": false,
  212. "description": {
  213. "content": "",
  214. "type": "text/plain"
  215. },
  216. "key": "marketplace",
  217. "value": "<integer>"
  218. }
  219. ],
  220. "variable": [
  221. {
  222. "disabled": false,
  223. "description": {
  224. "content": "(Required) ",
  225. "type": "text/plain"
  226. },
  227. "type": "any",
  228. "value": "<string>",
  229. "key": "orderID"
  230. }
  231. ]
  232. },
  233. "header": [
  234. {
  235. "key": "Accept",
  236. "value": "application/problem+json"
  237. },
  238. {
  239. "description": {
  240. "content": "Added as a part of security scheme: bearer",
  241. "type": "text/plain"
  242. },
  243. "key": "Authorization",
  244. "value": "Bearer <token>"
  245. }
  246. ],
  247. "method": "POST",
  248. "body": {}
  249. },
  250. "status": "Unauthorized",
  251. "code": 401,
  252. "header": [
  253. {
  254. "key": "Content-Type",
  255. "value": "application/problem+json"
  256. }
  257. ],
  258. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  259. "cookie": [],
  260. "_postman_previewlanguage": "json"
  261. },
  262. {
  263. "id": "2c92e968-caf3-4791-afb5-c92eda616dbd",
  264. "name": "Forbidden",
  265. "originalRequest": {
  266. "url": {
  267. "path": [
  268. "v1",
  269. "purchases",
  270. ":orderID",
  271. "cancel"
  272. ],
  273. "host": [
  274. "{{baseUrl}}"
  275. ],
  276. "query": [
  277. {
  278. "disabled": false,
  279. "description": {
  280. "content": "",
  281. "type": "text/plain"
  282. },
  283. "key": "marketplace",
  284. "value": "<integer>"
  285. }
  286. ],
  287. "variable": [
  288. {
  289. "disabled": false,
  290. "description": {
  291. "content": "(Required) ",
  292. "type": "text/plain"
  293. },
  294. "type": "any",
  295. "value": "<string>",
  296. "key": "orderID"
  297. }
  298. ]
  299. },
  300. "header": [
  301. {
  302. "key": "Accept",
  303. "value": "application/problem+json"
  304. },
  305. {
  306. "description": {
  307. "content": "Added as a part of security scheme: bearer",
  308. "type": "text/plain"
  309. },
  310. "key": "Authorization",
  311. "value": "Bearer <token>"
  312. }
  313. ],
  314. "method": "POST",
  315. "body": {}
  316. },
  317. "status": "Forbidden",
  318. "code": 403,
  319. "header": [
  320. {
  321. "key": "Content-Type",
  322. "value": "application/problem+json"
  323. }
  324. ],
  325. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  326. "cookie": [],
  327. "_postman_previewlanguage": "json"
  328. },
  329. {
  330. "id": "cba43e1d-8001-4352-b513-298c6931281a",
  331. "name": "Not Found",
  332. "originalRequest": {
  333. "url": {
  334. "path": [
  335. "v1",
  336. "purchases",
  337. ":orderID",
  338. "cancel"
  339. ],
  340. "host": [
  341. "{{baseUrl}}"
  342. ],
  343. "query": [
  344. {
  345. "disabled": false,
  346. "description": {
  347. "content": "",
  348. "type": "text/plain"
  349. },
  350. "key": "marketplace",
  351. "value": "<integer>"
  352. }
  353. ],
  354. "variable": [
  355. {
  356. "disabled": false,
  357. "description": {
  358. "content": "(Required) ",
  359. "type": "text/plain"
  360. },
  361. "type": "any",
  362. "value": "<string>",
  363. "key": "orderID"
  364. }
  365. ]
  366. },
  367. "header": [
  368. {
  369. "key": "Accept",
  370. "value": "application/problem+json"
  371. },
  372. {
  373. "description": {
  374. "content": "Added as a part of security scheme: bearer",
  375. "type": "text/plain"
  376. },
  377. "key": "Authorization",
  378. "value": "Bearer <token>"
  379. }
  380. ],
  381. "method": "POST",
  382. "body": {}
  383. },
  384. "status": "Not Found",
  385. "code": 404,
  386. "header": [
  387. {
  388. "key": "Content-Type",
  389. "value": "application/problem+json"
  390. }
  391. ],
  392. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  393. "cookie": [],
  394. "_postman_previewlanguage": "json"
  395. },
  396. {
  397. "id": "27fcfada-4305-4969-a576-6310ad853d49",
  398. "name": "Conflict",
  399. "originalRequest": {
  400. "url": {
  401. "path": [
  402. "v1",
  403. "purchases",
  404. ":orderID",
  405. "cancel"
  406. ],
  407. "host": [
  408. "{{baseUrl}}"
  409. ],
  410. "query": [
  411. {
  412. "disabled": false,
  413. "description": {
  414. "content": "",
  415. "type": "text/plain"
  416. },
  417. "key": "marketplace",
  418. "value": "<integer>"
  419. }
  420. ],
  421. "variable": [
  422. {
  423. "disabled": false,
  424. "description": {
  425. "content": "(Required) ",
  426. "type": "text/plain"
  427. },
  428. "type": "any",
  429. "value": "<string>",
  430. "key": "orderID"
  431. }
  432. ]
  433. },
  434. "header": [
  435. {
  436. "key": "Accept",
  437. "value": "application/problem+json"
  438. },
  439. {
  440. "description": {
  441. "content": "Added as a part of security scheme: bearer",
  442. "type": "text/plain"
  443. },
  444. "key": "Authorization",
  445. "value": "Bearer <token>"
  446. }
  447. ],
  448. "method": "POST",
  449. "body": {}
  450. },
  451. "status": "Conflict",
  452. "code": 409,
  453. "header": [
  454. {
  455. "key": "Content-Type",
  456. "value": "application/problem+json"
  457. }
  458. ],
  459. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  460. "cookie": [],
  461. "_postman_previewlanguage": "json"
  462. }
  463. ],
  464. "event": [],
  465. "protocolProfileBehavior": {
  466. "disableBodyPruning": true
  467. }
  468. },
  469. {
  470. "id": "e89733a2-046d-4af3-b85c-d93a1d4e5d5c",
  471. "name": "결제 단건 조회",
  472. "request": {
  473. "name": "결제 단건 조회",
  474. "description": {
  475. "content": "등록한 결제의 상태를 조회합니다 (대사용).\n\n- OAuth2 앱 토큰: 해당 앱이 등록한 건만 조회\n- PAT: 본인 소유 앱 전체의 등록 건 조회\n\n### 필수 scope\n- `read:purchases`\n\n### status 값\n| 값 | 의미 |\n|---|---|\n| `Pending` | 보류 — 확정 예정 (`confirmDueAt` 참조) |\n| `Confirmed` | 확정 — 채널 수수료 적립 완료 |\n| `Canceled` | 취소됨 |\n\n### 에러\n- `400` — 여러 건 조회됨 (marketplace 지정 필요)\n- `404` — 등록 내역 없음",
  476. "type": "text/plain"
  477. },
  478. "url": {
  479. "path": [
  480. "v1",
  481. "purchases",
  482. ":orderID"
  483. ],
  484. "host": [
  485. "{{baseUrl}}"
  486. ],
  487. "query": [
  488. {
  489. "disabled": false,
  490. "description": {
  491. "content": "",
  492. "type": "text/plain"
  493. },
  494. "key": "marketplace",
  495. "value": "<integer>"
  496. }
  497. ],
  498. "variable": [
  499. {
  500. "type": "any",
  501. "value": "<string>",
  502. "key": "orderID",
  503. "disabled": false,
  504. "description": {
  505. "content": "(Required) ",
  506. "type": "text/plain"
  507. }
  508. }
  509. ]
  510. },
  511. "header": [
  512. {
  513. "key": "Accept",
  514. "value": "application/json"
  515. }
  516. ],
  517. "method": "GET",
  518. "body": {},
  519. "auth": null
  520. },
  521. "response": [
  522. {
  523. "id": "4f0bb3eb-a443-4fa0-8fcc-46b0d315fedf",
  524. "name": "OK",
  525. "originalRequest": {
  526. "url": {
  527. "path": [
  528. "v1",
  529. "purchases",
  530. ":orderID"
  531. ],
  532. "host": [
  533. "{{baseUrl}}"
  534. ],
  535. "query": [
  536. {
  537. "disabled": false,
  538. "description": {
  539. "content": "",
  540. "type": "text/plain"
  541. },
  542. "key": "marketplace",
  543. "value": "<integer>"
  544. }
  545. ],
  546. "variable": [
  547. {
  548. "disabled": false,
  549. "description": {
  550. "content": "(Required) ",
  551. "type": "text/plain"
  552. },
  553. "type": "any",
  554. "value": "<string>",
  555. "key": "orderID"
  556. }
  557. ]
  558. },
  559. "header": [
  560. {
  561. "key": "Accept",
  562. "value": "application/json"
  563. },
  564. {
  565. "description": {
  566. "content": "Added as a part of security scheme: bearer",
  567. "type": "text/plain"
  568. },
  569. "key": "Authorization",
  570. "value": "Bearer <token>"
  571. }
  572. ],
  573. "method": "GET",
  574. "body": {}
  575. },
  576. "status": "OK",
  577. "code": 200,
  578. "header": [
  579. {
  580. "key": "Content-Type",
  581. "value": "application/json"
  582. }
  583. ],
  584. "body": "{\n \"success\": \"<boolean>\",\n \"data\": \"\",\n \"status\": \"<integer>\",\n \"message\": \"<string>\",\n \"errors\": \"\"\n}",
  585. "cookie": [],
  586. "_postman_previewlanguage": "json"
  587. },
  588. {
  589. "id": "c5c9a4b2-b362-4cbd-b6f8-203515c053fc",
  590. "name": "Bad Request",
  591. "originalRequest": {
  592. "url": {
  593. "path": [
  594. "v1",
  595. "purchases",
  596. ":orderID"
  597. ],
  598. "host": [
  599. "{{baseUrl}}"
  600. ],
  601. "query": [
  602. {
  603. "disabled": false,
  604. "description": {
  605. "content": "",
  606. "type": "text/plain"
  607. },
  608. "key": "marketplace",
  609. "value": "<integer>"
  610. }
  611. ],
  612. "variable": [
  613. {
  614. "disabled": false,
  615. "description": {
  616. "content": "(Required) ",
  617. "type": "text/plain"
  618. },
  619. "type": "any",
  620. "value": "<string>",
  621. "key": "orderID"
  622. }
  623. ]
  624. },
  625. "header": [
  626. {
  627. "key": "Accept",
  628. "value": "application/problem+json"
  629. },
  630. {
  631. "description": {
  632. "content": "Added as a part of security scheme: bearer",
  633. "type": "text/plain"
  634. },
  635. "key": "Authorization",
  636. "value": "Bearer <token>"
  637. }
  638. ],
  639. "method": "GET",
  640. "body": {}
  641. },
  642. "status": "Bad Request",
  643. "code": 400,
  644. "header": [
  645. {
  646. "key": "Content-Type",
  647. "value": "application/problem+json"
  648. }
  649. ],
  650. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  651. "cookie": [],
  652. "_postman_previewlanguage": "json"
  653. },
  654. {
  655. "id": "c924fffe-4938-41e3-94ae-5d1cda84ae49",
  656. "name": "Unauthorized",
  657. "originalRequest": {
  658. "url": {
  659. "path": [
  660. "v1",
  661. "purchases",
  662. ":orderID"
  663. ],
  664. "host": [
  665. "{{baseUrl}}"
  666. ],
  667. "query": [
  668. {
  669. "disabled": false,
  670. "description": {
  671. "content": "",
  672. "type": "text/plain"
  673. },
  674. "key": "marketplace",
  675. "value": "<integer>"
  676. }
  677. ],
  678. "variable": [
  679. {
  680. "disabled": false,
  681. "description": {
  682. "content": "(Required) ",
  683. "type": "text/plain"
  684. },
  685. "type": "any",
  686. "value": "<string>",
  687. "key": "orderID"
  688. }
  689. ]
  690. },
  691. "header": [
  692. {
  693. "key": "Accept",
  694. "value": "application/problem+json"
  695. },
  696. {
  697. "description": {
  698. "content": "Added as a part of security scheme: bearer",
  699. "type": "text/plain"
  700. },
  701. "key": "Authorization",
  702. "value": "Bearer <token>"
  703. }
  704. ],
  705. "method": "GET",
  706. "body": {}
  707. },
  708. "status": "Unauthorized",
  709. "code": 401,
  710. "header": [
  711. {
  712. "key": "Content-Type",
  713. "value": "application/problem+json"
  714. }
  715. ],
  716. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  717. "cookie": [],
  718. "_postman_previewlanguage": "json"
  719. },
  720. {
  721. "id": "34e915c0-d2c7-43dd-ba86-f7c90d6df622",
  722. "name": "Forbidden",
  723. "originalRequest": {
  724. "url": {
  725. "path": [
  726. "v1",
  727. "purchases",
  728. ":orderID"
  729. ],
  730. "host": [
  731. "{{baseUrl}}"
  732. ],
  733. "query": [
  734. {
  735. "disabled": false,
  736. "description": {
  737. "content": "",
  738. "type": "text/plain"
  739. },
  740. "key": "marketplace",
  741. "value": "<integer>"
  742. }
  743. ],
  744. "variable": [
  745. {
  746. "disabled": false,
  747. "description": {
  748. "content": "(Required) ",
  749. "type": "text/plain"
  750. },
  751. "type": "any",
  752. "value": "<string>",
  753. "key": "orderID"
  754. }
  755. ]
  756. },
  757. "header": [
  758. {
  759. "key": "Accept",
  760. "value": "application/problem+json"
  761. },
  762. {
  763. "description": {
  764. "content": "Added as a part of security scheme: bearer",
  765. "type": "text/plain"
  766. },
  767. "key": "Authorization",
  768. "value": "Bearer <token>"
  769. }
  770. ],
  771. "method": "GET",
  772. "body": {}
  773. },
  774. "status": "Forbidden",
  775. "code": 403,
  776. "header": [
  777. {
  778. "key": "Content-Type",
  779. "value": "application/problem+json"
  780. }
  781. ],
  782. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  783. "cookie": [],
  784. "_postman_previewlanguage": "json"
  785. },
  786. {
  787. "id": "4b2f6521-e569-4ac2-9a40-20d2c03dc264",
  788. "name": "Not Found",
  789. "originalRequest": {
  790. "url": {
  791. "path": [
  792. "v1",
  793. "purchases",
  794. ":orderID"
  795. ],
  796. "host": [
  797. "{{baseUrl}}"
  798. ],
  799. "query": [
  800. {
  801. "disabled": false,
  802. "description": {
  803. "content": "",
  804. "type": "text/plain"
  805. },
  806. "key": "marketplace",
  807. "value": "<integer>"
  808. }
  809. ],
  810. "variable": [
  811. {
  812. "disabled": false,
  813. "description": {
  814. "content": "(Required) ",
  815. "type": "text/plain"
  816. },
  817. "type": "any",
  818. "value": "<string>",
  819. "key": "orderID"
  820. }
  821. ]
  822. },
  823. "header": [
  824. {
  825. "key": "Accept",
  826. "value": "application/problem+json"
  827. },
  828. {
  829. "description": {
  830. "content": "Added as a part of security scheme: bearer",
  831. "type": "text/plain"
  832. },
  833. "key": "Authorization",
  834. "value": "Bearer <token>"
  835. }
  836. ],
  837. "method": "GET",
  838. "body": {}
  839. },
  840. "status": "Not Found",
  841. "code": 404,
  842. "header": [
  843. {
  844. "key": "Content-Type",
  845. "value": "application/problem+json"
  846. }
  847. ],
  848. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  849. "cookie": [],
  850. "_postman_previewlanguage": "json"
  851. }
  852. ],
  853. "event": [],
  854. "protocolProfileBehavior": {
  855. "disableBodyPruning": true
  856. }
  857. },
  858. {
  859. "id": "bdfbd1fa-983e-4f0d-a683-0da7ffb1b66f",
  860. "name": "결제 목록 조회",
  861. "request": {
  862. "name": "결제 목록 조회",
  863. "description": {
  864. "content": "등록한 결제 내역을 페이지네이션해 반환합니다 (정산 대사용).\n\n- OAuth2 앱 토큰: 해당 앱이 등록한 건만\n- PAT: 본인 소유 앱 전체\n\n### 필수 scope\n- `read:purchases`\n\n### 쿼리 파라미터\n| 이름 | 타입 | 기본 | 설명 |\n|---|---|---|---|\n| `status` | string? | 전체 | `pending` / `confirmed` / `canceled` |\n| `from` | datetime? | — | 등록 시각(UTC) 시작 |\n| `to` | datetime? | — | 등록 시각(UTC) 끝 |\n| `page` | int | 1 | 1부터 시작 |\n| `size` | int | 50 | 1~100 |\n\n### 사용 예\n```\nGET /v1/purchases?status=pending\nGET /v1/purchases?from=2026-06-01&to=2026-06-30&page=1&size=100\n```",
  865. "type": "text/plain"
  866. },
  867. "url": {
  868. "path": [
  869. "v1",
  870. "purchases"
  871. ],
  872. "host": [
  873. "{{baseUrl}}"
  874. ],
  875. "query": [
  876. {
  877. "disabled": false,
  878. "description": {
  879. "content": "",
  880. "type": "text/plain"
  881. },
  882. "key": "status",
  883. "value": "<string>"
  884. },
  885. {
  886. "disabled": false,
  887. "description": {
  888. "content": "",
  889. "type": "text/plain"
  890. },
  891. "key": "from",
  892. "value": "<dateTime>"
  893. },
  894. {
  895. "disabled": false,
  896. "description": {
  897. "content": "",
  898. "type": "text/plain"
  899. },
  900. "key": "to",
  901. "value": "<dateTime>"
  902. },
  903. {
  904. "disabled": false,
  905. "description": {
  906. "content": "",
  907. "type": "text/plain"
  908. },
  909. "key": "page",
  910. "value": "1"
  911. },
  912. {
  913. "disabled": false,
  914. "description": {
  915. "content": "",
  916. "type": "text/plain"
  917. },
  918. "key": "size",
  919. "value": "50"
  920. }
  921. ],
  922. "variable": []
  923. },
  924. "header": [
  925. {
  926. "key": "Accept",
  927. "value": "application/json"
  928. }
  929. ],
  930. "method": "GET",
  931. "body": {},
  932. "auth": null
  933. },
  934. "response": [
  935. {
  936. "id": "60037008-dc1a-4785-a34b-6a1732faf6e3",
  937. "name": "OK",
  938. "originalRequest": {
  939. "url": {
  940. "path": [
  941. "v1",
  942. "purchases"
  943. ],
  944. "host": [
  945. "{{baseUrl}}"
  946. ],
  947. "query": [
  948. {
  949. "disabled": false,
  950. "description": {
  951. "content": "",
  952. "type": "text/plain"
  953. },
  954. "key": "status",
  955. "value": "<string>"
  956. },
  957. {
  958. "disabled": false,
  959. "description": {
  960. "content": "",
  961. "type": "text/plain"
  962. },
  963. "key": "from",
  964. "value": "<dateTime>"
  965. },
  966. {
  967. "disabled": false,
  968. "description": {
  969. "content": "",
  970. "type": "text/plain"
  971. },
  972. "key": "to",
  973. "value": "<dateTime>"
  974. },
  975. {
  976. "disabled": false,
  977. "description": {
  978. "content": "",
  979. "type": "text/plain"
  980. },
  981. "key": "page",
  982. "value": "1"
  983. },
  984. {
  985. "disabled": false,
  986. "description": {
  987. "content": "",
  988. "type": "text/plain"
  989. },
  990. "key": "size",
  991. "value": "50"
  992. }
  993. ],
  994. "variable": []
  995. },
  996. "header": [
  997. {
  998. "key": "Accept",
  999. "value": "application/json"
  1000. },
  1001. {
  1002. "description": {
  1003. "content": "Added as a part of security scheme: bearer",
  1004. "type": "text/plain"
  1005. },
  1006. "key": "Authorization",
  1007. "value": "Bearer <token>"
  1008. }
  1009. ],
  1010. "method": "GET",
  1011. "body": {}
  1012. },
  1013. "status": "OK",
  1014. "code": 200,
  1015. "header": [
  1016. {
  1017. "key": "Content-Type",
  1018. "value": "application/json"
  1019. }
  1020. ],
  1021. "body": "{\n \"success\": \"<boolean>\",\n \"data\": \"\",\n \"status\": \"<integer>\",\n \"message\": \"<string>\",\n \"errors\": \"\"\n}",
  1022. "cookie": [],
  1023. "_postman_previewlanguage": "json"
  1024. },
  1025. {
  1026. "id": "5b0c3210-2126-47e8-bf4f-0bbe3c533853",
  1027. "name": "Bad Request",
  1028. "originalRequest": {
  1029. "url": {
  1030. "path": [
  1031. "v1",
  1032. "purchases"
  1033. ],
  1034. "host": [
  1035. "{{baseUrl}}"
  1036. ],
  1037. "query": [
  1038. {
  1039. "disabled": false,
  1040. "description": {
  1041. "content": "",
  1042. "type": "text/plain"
  1043. },
  1044. "key": "status",
  1045. "value": "<string>"
  1046. },
  1047. {
  1048. "disabled": false,
  1049. "description": {
  1050. "content": "",
  1051. "type": "text/plain"
  1052. },
  1053. "key": "from",
  1054. "value": "<dateTime>"
  1055. },
  1056. {
  1057. "disabled": false,
  1058. "description": {
  1059. "content": "",
  1060. "type": "text/plain"
  1061. },
  1062. "key": "to",
  1063. "value": "<dateTime>"
  1064. },
  1065. {
  1066. "disabled": false,
  1067. "description": {
  1068. "content": "",
  1069. "type": "text/plain"
  1070. },
  1071. "key": "page",
  1072. "value": "1"
  1073. },
  1074. {
  1075. "disabled": false,
  1076. "description": {
  1077. "content": "",
  1078. "type": "text/plain"
  1079. },
  1080. "key": "size",
  1081. "value": "50"
  1082. }
  1083. ],
  1084. "variable": []
  1085. },
  1086. "header": [
  1087. {
  1088. "key": "Accept",
  1089. "value": "application/problem+json"
  1090. },
  1091. {
  1092. "description": {
  1093. "content": "Added as a part of security scheme: bearer",
  1094. "type": "text/plain"
  1095. },
  1096. "key": "Authorization",
  1097. "value": "Bearer <token>"
  1098. }
  1099. ],
  1100. "method": "GET",
  1101. "body": {}
  1102. },
  1103. "status": "Bad Request",
  1104. "code": 400,
  1105. "header": [
  1106. {
  1107. "key": "Content-Type",
  1108. "value": "application/problem+json"
  1109. }
  1110. ],
  1111. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  1112. "cookie": [],
  1113. "_postman_previewlanguage": "json"
  1114. },
  1115. {
  1116. "id": "39274fd0-3817-4935-8733-d77cc71e8438",
  1117. "name": "Unauthorized",
  1118. "originalRequest": {
  1119. "url": {
  1120. "path": [
  1121. "v1",
  1122. "purchases"
  1123. ],
  1124. "host": [
  1125. "{{baseUrl}}"
  1126. ],
  1127. "query": [
  1128. {
  1129. "disabled": false,
  1130. "description": {
  1131. "content": "",
  1132. "type": "text/plain"
  1133. },
  1134. "key": "status",
  1135. "value": "<string>"
  1136. },
  1137. {
  1138. "disabled": false,
  1139. "description": {
  1140. "content": "",
  1141. "type": "text/plain"
  1142. },
  1143. "key": "from",
  1144. "value": "<dateTime>"
  1145. },
  1146. {
  1147. "disabled": false,
  1148. "description": {
  1149. "content": "",
  1150. "type": "text/plain"
  1151. },
  1152. "key": "to",
  1153. "value": "<dateTime>"
  1154. },
  1155. {
  1156. "disabled": false,
  1157. "description": {
  1158. "content": "",
  1159. "type": "text/plain"
  1160. },
  1161. "key": "page",
  1162. "value": "1"
  1163. },
  1164. {
  1165. "disabled": false,
  1166. "description": {
  1167. "content": "",
  1168. "type": "text/plain"
  1169. },
  1170. "key": "size",
  1171. "value": "50"
  1172. }
  1173. ],
  1174. "variable": []
  1175. },
  1176. "header": [
  1177. {
  1178. "key": "Accept",
  1179. "value": "application/problem+json"
  1180. },
  1181. {
  1182. "description": {
  1183. "content": "Added as a part of security scheme: bearer",
  1184. "type": "text/plain"
  1185. },
  1186. "key": "Authorization",
  1187. "value": "Bearer <token>"
  1188. }
  1189. ],
  1190. "method": "GET",
  1191. "body": {}
  1192. },
  1193. "status": "Unauthorized",
  1194. "code": 401,
  1195. "header": [
  1196. {
  1197. "key": "Content-Type",
  1198. "value": "application/problem+json"
  1199. }
  1200. ],
  1201. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  1202. "cookie": [],
  1203. "_postman_previewlanguage": "json"
  1204. },
  1205. {
  1206. "id": "413b86f5-648b-434c-b487-e582e36e130c",
  1207. "name": "Forbidden",
  1208. "originalRequest": {
  1209. "url": {
  1210. "path": [
  1211. "v1",
  1212. "purchases"
  1213. ],
  1214. "host": [
  1215. "{{baseUrl}}"
  1216. ],
  1217. "query": [
  1218. {
  1219. "disabled": false,
  1220. "description": {
  1221. "content": "",
  1222. "type": "text/plain"
  1223. },
  1224. "key": "status",
  1225. "value": "<string>"
  1226. },
  1227. {
  1228. "disabled": false,
  1229. "description": {
  1230. "content": "",
  1231. "type": "text/plain"
  1232. },
  1233. "key": "from",
  1234. "value": "<dateTime>"
  1235. },
  1236. {
  1237. "disabled": false,
  1238. "description": {
  1239. "content": "",
  1240. "type": "text/plain"
  1241. },
  1242. "key": "to",
  1243. "value": "<dateTime>"
  1244. },
  1245. {
  1246. "disabled": false,
  1247. "description": {
  1248. "content": "",
  1249. "type": "text/plain"
  1250. },
  1251. "key": "page",
  1252. "value": "1"
  1253. },
  1254. {
  1255. "disabled": false,
  1256. "description": {
  1257. "content": "",
  1258. "type": "text/plain"
  1259. },
  1260. "key": "size",
  1261. "value": "50"
  1262. }
  1263. ],
  1264. "variable": []
  1265. },
  1266. "header": [
  1267. {
  1268. "key": "Accept",
  1269. "value": "application/problem+json"
  1270. },
  1271. {
  1272. "description": {
  1273. "content": "Added as a part of security scheme: bearer",
  1274. "type": "text/plain"
  1275. },
  1276. "key": "Authorization",
  1277. "value": "Bearer <token>"
  1278. }
  1279. ],
  1280. "method": "GET",
  1281. "body": {}
  1282. },
  1283. "status": "Forbidden",
  1284. "code": 403,
  1285. "header": [
  1286. {
  1287. "key": "Content-Type",
  1288. "value": "application/problem+json"
  1289. }
  1290. ],
  1291. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  1292. "cookie": [],
  1293. "_postman_previewlanguage": "json"
  1294. }
  1295. ],
  1296. "event": [],
  1297. "protocolProfileBehavior": {
  1298. "disableBodyPruning": true
  1299. }
  1300. },
  1301. {
  1302. "id": "6fb29de0-41ed-4c36-a668-f31e47a879d3",
  1303. "name": "결제 등록",
  1304. "request": {
  1305. "name": "결제 등록",
  1306. "description": {
  1307. "content": "게임 내 결제를 DPOT 에 보고합니다. 검증 통과 시 **보류(Pending) 원장**이 생성되고,\n등록 시점 +14일(달력일, 주말·공휴일 포함) 후 확정 배치가 채널 소유 회원의 지갑에\n판매 수수료(`orderPrice × 게임별 수수료율`)를 적립합니다.\n\n### 필수 scope\n- `write:purchases`\n\n### 인증 제한\n- **OAuth2 Client Credentials 앱 토큰 전용** — PAT 으로 호출 시 `403`\n\n### 요청 본문\n| 필드 | 타입 | 필수 | 설명 |\n|---|---|---|---|\n| `channelCode` | string | ✅ | 채널 후원 코드 (4~7자 영문+숫자, 게임 내 유저 입력값) |\n| `orderID` | string(255) | ✅ | **마켓 거래 ID 원문** — Google `GPA.xxxx-xxxx-xxxx-xxxxx`, Apple transactionId 등. 가공·축약 금지 |\n| `marketplace` | int | ✅ | 1=구글, 2=애플, 3=MS, 4=갤럭시, 5=원스토어, 6=기타 |\n| `gameCode` | string | ✅ | DPOT 에 등록된 게임 코드 |\n| `orderPrice` | int | ✅ | 결제 금액 (KRW, 1 이상) |\n| `productID` | string(100) | 권장 | 인앱 상품 SKU (예: `diamond_100`) — 금액 검증에 사용 |\n| `subID` | string(100) | 선택 | 파트너 측 보조 식별자 |\n\n### 멱등성\n동일 (앱, `marketplace`, `orderID`) 조합은 1회만 등록 가능 — 재시도 시 `409`.\n\n### 응답 (201)\n`commissionAmount`(채널 수수료), `status`(`Pending`), `confirmDueAt`(확정 예정 시각) 포함.\n\n### 에러\n- `400` — 필드 누락/형식 오류\n- `403` — PAT 호출 / 앱 비활성\n- `404` — 후원 코드(`Channel.NotFound`) 또는 게임(`Game.NotFound`) 없음\n- `409` — 중복 주문 (`Purchase.Duplicate`)",
  1308. "type": "text/plain"
  1309. },
  1310. "url": {
  1311. "path": [
  1312. "v1",
  1313. "purchases"
  1314. ],
  1315. "host": [
  1316. "{{baseUrl}}"
  1317. ],
  1318. "query": [],
  1319. "variable": []
  1320. },
  1321. "header": [
  1322. {
  1323. "key": "Content-Type",
  1324. "value": "application/json"
  1325. },
  1326. {
  1327. "key": "Accept",
  1328. "value": "application/json"
  1329. }
  1330. ],
  1331. "method": "POST",
  1332. "body": {
  1333. "mode": "raw",
  1334. "raw": "{\n \"applicationID\": \"<integer>\",\n \"channelCode\": \"<string>\",\n \"orderID\": \"<string>\",\n \"marketplace\": \"<integer>\",\n \"gameCode\": \"<string>\",\n \"orderPrice\": \"<integer>\",\n \"productID\": \"<string>\",\n \"subID\": \"<string>\"\n}",
  1335. "options": {
  1336. "raw": {
  1337. "headerFamily": "json",
  1338. "language": "json"
  1339. }
  1340. }
  1341. },
  1342. "auth": null
  1343. },
  1344. "response": [
  1345. {
  1346. "id": "53e9f2cd-cf39-410f-bc05-8619b8515267",
  1347. "name": "Created",
  1348. "originalRequest": {
  1349. "url": {
  1350. "path": [
  1351. "v1",
  1352. "purchases"
  1353. ],
  1354. "host": [
  1355. "{{baseUrl}}"
  1356. ],
  1357. "query": [],
  1358. "variable": []
  1359. },
  1360. "header": [
  1361. {
  1362. "key": "Content-Type",
  1363. "value": "application/json"
  1364. },
  1365. {
  1366. "key": "Accept",
  1367. "value": "application/json"
  1368. },
  1369. {
  1370. "description": {
  1371. "content": "Added as a part of security scheme: bearer",
  1372. "type": "text/plain"
  1373. },
  1374. "key": "Authorization",
  1375. "value": "Bearer <token>"
  1376. }
  1377. ],
  1378. "method": "POST",
  1379. "body": {
  1380. "mode": "raw",
  1381. "raw": "{\n \"applicationID\": \"<integer>\",\n \"channelCode\": \"<string>\",\n \"orderID\": \"<string>\",\n \"marketplace\": \"<integer>\",\n \"gameCode\": \"<string>\",\n \"orderPrice\": \"<integer>\",\n \"productID\": \"<string>\",\n \"subID\": \"<string>\"\n}",
  1382. "options": {
  1383. "raw": {
  1384. "headerFamily": "json",
  1385. "language": "json"
  1386. }
  1387. }
  1388. }
  1389. },
  1390. "status": "Created",
  1391. "code": 201,
  1392. "header": [
  1393. {
  1394. "key": "Content-Type",
  1395. "value": "application/json"
  1396. }
  1397. ],
  1398. "body": "{\n \"success\": \"<boolean>\",\n \"data\": \"\",\n \"status\": \"<integer>\",\n \"message\": \"<string>\",\n \"errors\": \"\"\n}",
  1399. "cookie": [],
  1400. "_postman_previewlanguage": "json"
  1401. },
  1402. {
  1403. "id": "bf904a41-2085-4e61-b50f-47ac95e092fd",
  1404. "name": "Bad Request",
  1405. "originalRequest": {
  1406. "url": {
  1407. "path": [
  1408. "v1",
  1409. "purchases"
  1410. ],
  1411. "host": [
  1412. "{{baseUrl}}"
  1413. ],
  1414. "query": [],
  1415. "variable": []
  1416. },
  1417. "header": [
  1418. {
  1419. "key": "Content-Type",
  1420. "value": "application/json"
  1421. },
  1422. {
  1423. "key": "Accept",
  1424. "value": "application/problem+json"
  1425. },
  1426. {
  1427. "description": {
  1428. "content": "Added as a part of security scheme: bearer",
  1429. "type": "text/plain"
  1430. },
  1431. "key": "Authorization",
  1432. "value": "Bearer <token>"
  1433. }
  1434. ],
  1435. "method": "POST",
  1436. "body": {
  1437. "mode": "raw",
  1438. "raw": "{\n \"applicationID\": \"<integer>\",\n \"channelCode\": \"<string>\",\n \"orderID\": \"<string>\",\n \"marketplace\": \"<integer>\",\n \"gameCode\": \"<string>\",\n \"orderPrice\": \"<integer>\",\n \"productID\": \"<string>\",\n \"subID\": \"<string>\"\n}",
  1439. "options": {
  1440. "raw": {
  1441. "headerFamily": "json",
  1442. "language": "json"
  1443. }
  1444. }
  1445. }
  1446. },
  1447. "status": "Bad Request",
  1448. "code": 400,
  1449. "header": [
  1450. {
  1451. "key": "Content-Type",
  1452. "value": "application/problem+json"
  1453. }
  1454. ],
  1455. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  1456. "cookie": [],
  1457. "_postman_previewlanguage": "json"
  1458. },
  1459. {
  1460. "id": "cefba167-a556-4563-a261-6a20727efeea",
  1461. "name": "Unauthorized",
  1462. "originalRequest": {
  1463. "url": {
  1464. "path": [
  1465. "v1",
  1466. "purchases"
  1467. ],
  1468. "host": [
  1469. "{{baseUrl}}"
  1470. ],
  1471. "query": [],
  1472. "variable": []
  1473. },
  1474. "header": [
  1475. {
  1476. "key": "Content-Type",
  1477. "value": "application/json"
  1478. },
  1479. {
  1480. "key": "Accept",
  1481. "value": "application/problem+json"
  1482. },
  1483. {
  1484. "description": {
  1485. "content": "Added as a part of security scheme: bearer",
  1486. "type": "text/plain"
  1487. },
  1488. "key": "Authorization",
  1489. "value": "Bearer <token>"
  1490. }
  1491. ],
  1492. "method": "POST",
  1493. "body": {
  1494. "mode": "raw",
  1495. "raw": "{\n \"applicationID\": \"<integer>\",\n \"channelCode\": \"<string>\",\n \"orderID\": \"<string>\",\n \"marketplace\": \"<integer>\",\n \"gameCode\": \"<string>\",\n \"orderPrice\": \"<integer>\",\n \"productID\": \"<string>\",\n \"subID\": \"<string>\"\n}",
  1496. "options": {
  1497. "raw": {
  1498. "headerFamily": "json",
  1499. "language": "json"
  1500. }
  1501. }
  1502. }
  1503. },
  1504. "status": "Unauthorized",
  1505. "code": 401,
  1506. "header": [
  1507. {
  1508. "key": "Content-Type",
  1509. "value": "application/problem+json"
  1510. }
  1511. ],
  1512. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  1513. "cookie": [],
  1514. "_postman_previewlanguage": "json"
  1515. },
  1516. {
  1517. "id": "95149382-4a6f-4d97-a86f-7b7bfe89bddc",
  1518. "name": "Forbidden",
  1519. "originalRequest": {
  1520. "url": {
  1521. "path": [
  1522. "v1",
  1523. "purchases"
  1524. ],
  1525. "host": [
  1526. "{{baseUrl}}"
  1527. ],
  1528. "query": [],
  1529. "variable": []
  1530. },
  1531. "header": [
  1532. {
  1533. "key": "Content-Type",
  1534. "value": "application/json"
  1535. },
  1536. {
  1537. "key": "Accept",
  1538. "value": "application/problem+json"
  1539. },
  1540. {
  1541. "description": {
  1542. "content": "Added as a part of security scheme: bearer",
  1543. "type": "text/plain"
  1544. },
  1545. "key": "Authorization",
  1546. "value": "Bearer <token>"
  1547. }
  1548. ],
  1549. "method": "POST",
  1550. "body": {
  1551. "mode": "raw",
  1552. "raw": "{\n \"applicationID\": \"<integer>\",\n \"channelCode\": \"<string>\",\n \"orderID\": \"<string>\",\n \"marketplace\": \"<integer>\",\n \"gameCode\": \"<string>\",\n \"orderPrice\": \"<integer>\",\n \"productID\": \"<string>\",\n \"subID\": \"<string>\"\n}",
  1553. "options": {
  1554. "raw": {
  1555. "headerFamily": "json",
  1556. "language": "json"
  1557. }
  1558. }
  1559. }
  1560. },
  1561. "status": "Forbidden",
  1562. "code": 403,
  1563. "header": [
  1564. {
  1565. "key": "Content-Type",
  1566. "value": "application/problem+json"
  1567. }
  1568. ],
  1569. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  1570. "cookie": [],
  1571. "_postman_previewlanguage": "json"
  1572. },
  1573. {
  1574. "id": "7c7f273c-b788-472c-8002-28217a17b253",
  1575. "name": "Not Found",
  1576. "originalRequest": {
  1577. "url": {
  1578. "path": [
  1579. "v1",
  1580. "purchases"
  1581. ],
  1582. "host": [
  1583. "{{baseUrl}}"
  1584. ],
  1585. "query": [],
  1586. "variable": []
  1587. },
  1588. "header": [
  1589. {
  1590. "key": "Content-Type",
  1591. "value": "application/json"
  1592. },
  1593. {
  1594. "key": "Accept",
  1595. "value": "application/problem+json"
  1596. },
  1597. {
  1598. "description": {
  1599. "content": "Added as a part of security scheme: bearer",
  1600. "type": "text/plain"
  1601. },
  1602. "key": "Authorization",
  1603. "value": "Bearer <token>"
  1604. }
  1605. ],
  1606. "method": "POST",
  1607. "body": {
  1608. "mode": "raw",
  1609. "raw": "{\n \"applicationID\": \"<integer>\",\n \"channelCode\": \"<string>\",\n \"orderID\": \"<string>\",\n \"marketplace\": \"<integer>\",\n \"gameCode\": \"<string>\",\n \"orderPrice\": \"<integer>\",\n \"productID\": \"<string>\",\n \"subID\": \"<string>\"\n}",
  1610. "options": {
  1611. "raw": {
  1612. "headerFamily": "json",
  1613. "language": "json"
  1614. }
  1615. }
  1616. }
  1617. },
  1618. "status": "Not Found",
  1619. "code": 404,
  1620. "header": [
  1621. {
  1622. "key": "Content-Type",
  1623. "value": "application/problem+json"
  1624. }
  1625. ],
  1626. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  1627. "cookie": [],
  1628. "_postman_previewlanguage": "json"
  1629. },
  1630. {
  1631. "id": "ae95cf15-7ec4-43af-9ad8-1de4e9c318aa",
  1632. "name": "Conflict",
  1633. "originalRequest": {
  1634. "url": {
  1635. "path": [
  1636. "v1",
  1637. "purchases"
  1638. ],
  1639. "host": [
  1640. "{{baseUrl}}"
  1641. ],
  1642. "query": [],
  1643. "variable": []
  1644. },
  1645. "header": [
  1646. {
  1647. "key": "Content-Type",
  1648. "value": "application/json"
  1649. },
  1650. {
  1651. "key": "Accept",
  1652. "value": "application/problem+json"
  1653. },
  1654. {
  1655. "description": {
  1656. "content": "Added as a part of security scheme: bearer",
  1657. "type": "text/plain"
  1658. },
  1659. "key": "Authorization",
  1660. "value": "Bearer <token>"
  1661. }
  1662. ],
  1663. "method": "POST",
  1664. "body": {
  1665. "mode": "raw",
  1666. "raw": "{\n \"applicationID\": \"<integer>\",\n \"channelCode\": \"<string>\",\n \"orderID\": \"<string>\",\n \"marketplace\": \"<integer>\",\n \"gameCode\": \"<string>\",\n \"orderPrice\": \"<integer>\",\n \"productID\": \"<string>\",\n \"subID\": \"<string>\"\n}",
  1667. "options": {
  1668. "raw": {
  1669. "headerFamily": "json",
  1670. "language": "json"
  1671. }
  1672. }
  1673. }
  1674. },
  1675. "status": "Conflict",
  1676. "code": 409,
  1677. "header": [
  1678. {
  1679. "key": "Content-Type",
  1680. "value": "application/problem+json"
  1681. }
  1682. ],
  1683. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  1684. "cookie": [],
  1685. "_postman_previewlanguage": "json"
  1686. }
  1687. ],
  1688. "event": [],
  1689. "protocolProfileBehavior": {
  1690. "disableBodyPruning": true
  1691. }
  1692. }
  1693. ]
  1694. },
  1695. {
  1696. "name": "상품",
  1697. "description": "",
  1698. "item": [
  1699. {
  1700. "id": "df72b170-f811-4e38-bc10-e3ce1d5d9388",
  1701. "name": "상품 목록 조회",
  1702. "request": {
  1703. "name": "상품 목록 조회",
  1704. "description": {
  1705. "content": "활성 상품을 페이지네이션해 반환합니다.\r\n\r\n**응답에서 의도적으로 제외되는 항목** (사용자 요구):\r\n- 실물/쿠폰 여부 (`type`) — 별도 표시 없음. 다만 쿠폰형 상품인 경우 `coupon` 필드가 채워져 식별 가능.\r\n- 판매 정책 — 할인(`discountType`/`discountValue`), 판매 기간(`saleStartAt`/`saleEndAt`), 구매 수량 제약(`minPurchase`/`maxPurchase`).\r\n- 상품 정렬 순서 (`order`).\r\n\r\n**응답 포함 항목**: 이름, 설명, 썸네일, 정가, 재고, 활성 여부, 등록일, (쿠폰 상품인 경우) 연결된 쿠폰 정보.\r\n\r\n### 필수 scope\r\n- `read:products`\r\n\r\n### 쿼리 파라미터\r\n| 이름 | 타입 | 기본 | 설명 |\r\n|---|---|---|---|\r\n| `gameID` | int? | null | 게임 ID — 지정 시 해당 게임의 상품만 |\r\n| `page` | int | 1 | 1부터 시작 |\r\n| `size` | int | 50 | 1~100 |\r\n\r\n### 응답 — coupon 필드 (쿠폰 상품에만 채워짐)\r\n```json\r\n{\r\n \"id\": 1,\r\n \"name\": \"리그 오브 레전드 RP 5만 쿠폰\",\r\n \"generatedCount\": 1000,\r\n \"usedCount\": 432,\r\n \"expiresAt\": \"2026-12-31T23:59:59Z\"\r\n}\r\n```",
  1706. "type": "text/plain"
  1707. },
  1708. "url": {
  1709. "path": [
  1710. "v1",
  1711. "products"
  1712. ],
  1713. "host": [
  1714. "{{baseUrl}}"
  1715. ],
  1716. "query": [
  1717. {
  1718. "disabled": false,
  1719. "description": {
  1720. "content": "",
  1721. "type": "text/plain"
  1722. },
  1723. "key": "gameID",
  1724. "value": "<integer>"
  1725. },
  1726. {
  1727. "disabled": false,
  1728. "description": {
  1729. "content": "",
  1730. "type": "text/plain"
  1731. },
  1732. "key": "page",
  1733. "value": "1"
  1734. },
  1735. {
  1736. "disabled": false,
  1737. "description": {
  1738. "content": "",
  1739. "type": "text/plain"
  1740. },
  1741. "key": "size",
  1742. "value": "50"
  1743. }
  1744. ],
  1745. "variable": []
  1746. },
  1747. "header": [
  1748. {
  1749. "key": "Accept",
  1750. "value": "application/json"
  1751. }
  1752. ],
  1753. "method": "GET",
  1754. "body": {},
  1755. "auth": null
  1756. },
  1757. "response": [
  1758. {
  1759. "id": "957f02d2-35c4-43f0-aebd-f8bb30be3bb9",
  1760. "name": "OK",
  1761. "originalRequest": {
  1762. "url": {
  1763. "path": [
  1764. "v1",
  1765. "products"
  1766. ],
  1767. "host": [
  1768. "{{baseUrl}}"
  1769. ],
  1770. "query": [
  1771. {
  1772. "disabled": false,
  1773. "description": {
  1774. "content": "",
  1775. "type": "text/plain"
  1776. },
  1777. "key": "gameID",
  1778. "value": "<integer>"
  1779. },
  1780. {
  1781. "disabled": false,
  1782. "description": {
  1783. "content": "",
  1784. "type": "text/plain"
  1785. },
  1786. "key": "page",
  1787. "value": "1"
  1788. },
  1789. {
  1790. "disabled": false,
  1791. "description": {
  1792. "content": "",
  1793. "type": "text/plain"
  1794. },
  1795. "key": "size",
  1796. "value": "50"
  1797. }
  1798. ],
  1799. "variable": []
  1800. },
  1801. "header": [
  1802. {
  1803. "key": "Accept",
  1804. "value": "application/json"
  1805. },
  1806. {
  1807. "description": {
  1808. "content": "Added as a part of security scheme: bearer",
  1809. "type": "text/plain"
  1810. },
  1811. "key": "Authorization",
  1812. "value": "Bearer <token>"
  1813. }
  1814. ],
  1815. "method": "GET",
  1816. "body": {}
  1817. },
  1818. "status": "OK",
  1819. "code": 200,
  1820. "header": [
  1821. {
  1822. "key": "Content-Type",
  1823. "value": "application/json"
  1824. }
  1825. ],
  1826. "body": "{\n \"success\": \"<boolean>\",\n \"data\": \"\",\n \"status\": \"<integer>\",\n \"message\": \"<string>\",\n \"errors\": \"\"\n}",
  1827. "cookie": [],
  1828. "_postman_previewlanguage": "json"
  1829. },
  1830. {
  1831. "id": "f5e5d627-3777-45dd-b4b6-d31a8cfa3df9",
  1832. "name": "Unauthorized",
  1833. "originalRequest": {
  1834. "url": {
  1835. "path": [
  1836. "v1",
  1837. "products"
  1838. ],
  1839. "host": [
  1840. "{{baseUrl}}"
  1841. ],
  1842. "query": [
  1843. {
  1844. "disabled": false,
  1845. "description": {
  1846. "content": "",
  1847. "type": "text/plain"
  1848. },
  1849. "key": "gameID",
  1850. "value": "<integer>"
  1851. },
  1852. {
  1853. "disabled": false,
  1854. "description": {
  1855. "content": "",
  1856. "type": "text/plain"
  1857. },
  1858. "key": "page",
  1859. "value": "1"
  1860. },
  1861. {
  1862. "disabled": false,
  1863. "description": {
  1864. "content": "",
  1865. "type": "text/plain"
  1866. },
  1867. "key": "size",
  1868. "value": "50"
  1869. }
  1870. ],
  1871. "variable": []
  1872. },
  1873. "header": [
  1874. {
  1875. "key": "Accept",
  1876. "value": "application/problem+json"
  1877. },
  1878. {
  1879. "description": {
  1880. "content": "Added as a part of security scheme: bearer",
  1881. "type": "text/plain"
  1882. },
  1883. "key": "Authorization",
  1884. "value": "Bearer <token>"
  1885. }
  1886. ],
  1887. "method": "GET",
  1888. "body": {}
  1889. },
  1890. "status": "Unauthorized",
  1891. "code": 401,
  1892. "header": [
  1893. {
  1894. "key": "Content-Type",
  1895. "value": "application/problem+json"
  1896. }
  1897. ],
  1898. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  1899. "cookie": [],
  1900. "_postman_previewlanguage": "json"
  1901. },
  1902. {
  1903. "id": "83107054-f5c4-450b-b888-dd59ec14e3a4",
  1904. "name": "Forbidden",
  1905. "originalRequest": {
  1906. "url": {
  1907. "path": [
  1908. "v1",
  1909. "products"
  1910. ],
  1911. "host": [
  1912. "{{baseUrl}}"
  1913. ],
  1914. "query": [
  1915. {
  1916. "disabled": false,
  1917. "description": {
  1918. "content": "",
  1919. "type": "text/plain"
  1920. },
  1921. "key": "gameID",
  1922. "value": "<integer>"
  1923. },
  1924. {
  1925. "disabled": false,
  1926. "description": {
  1927. "content": "",
  1928. "type": "text/plain"
  1929. },
  1930. "key": "page",
  1931. "value": "1"
  1932. },
  1933. {
  1934. "disabled": false,
  1935. "description": {
  1936. "content": "",
  1937. "type": "text/plain"
  1938. },
  1939. "key": "size",
  1940. "value": "50"
  1941. }
  1942. ],
  1943. "variable": []
  1944. },
  1945. "header": [
  1946. {
  1947. "key": "Accept",
  1948. "value": "application/problem+json"
  1949. },
  1950. {
  1951. "description": {
  1952. "content": "Added as a part of security scheme: bearer",
  1953. "type": "text/plain"
  1954. },
  1955. "key": "Authorization",
  1956. "value": "Bearer <token>"
  1957. }
  1958. ],
  1959. "method": "GET",
  1960. "body": {}
  1961. },
  1962. "status": "Forbidden",
  1963. "code": 403,
  1964. "header": [
  1965. {
  1966. "key": "Content-Type",
  1967. "value": "application/problem+json"
  1968. }
  1969. ],
  1970. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  1971. "cookie": [],
  1972. "_postman_previewlanguage": "json"
  1973. }
  1974. ],
  1975. "event": [],
  1976. "protocolProfileBehavior": {
  1977. "disableBodyPruning": true
  1978. }
  1979. }
  1980. ]
  1981. },
  1982. {
  1983. "name": "채널",
  1984. "description": "",
  1985. "item": [
  1986. {
  1987. "id": "3962fe32-27bb-4eec-b569-a5dc2e398c52",
  1988. "name": "채널 후원 코드 확인",
  1989. "request": {
  1990. "name": "채널 후원 코드 확인",
  1991. "description": {
  1992. "content": "채널 후원 코드의 존재·활성 여부를 확인합니다.\n게임 내에서 유저가 입력한 코드를 **결제 보고 전에 사전 검증**하는 용도입니다.\n\n### 필수 scope\n- `read:channels`\n\n### 경로 변수\n- `code` — 채널 후원 코드 (4~7자 영문+숫자, 대소문자 무관)\n\n### 응답 필드\n- `channelSID` / `channelName` — 채널 식별 정보\n- `active` — `false` 면 해당 코드로 결제 등록이 거부됩니다\n\n### 에러\n- `404` — 코드 없음",
  1993. "type": "text/plain"
  1994. },
  1995. "url": {
  1996. "path": [
  1997. "v1",
  1998. "channels",
  1999. ":code"
  2000. ],
  2001. "host": [
  2002. "{{baseUrl}}"
  2003. ],
  2004. "query": [],
  2005. "variable": [
  2006. {
  2007. "type": "any",
  2008. "value": "<string>",
  2009. "key": "code",
  2010. "disabled": false,
  2011. "description": {
  2012. "content": "(Required) ",
  2013. "type": "text/plain"
  2014. }
  2015. }
  2016. ]
  2017. },
  2018. "header": [
  2019. {
  2020. "key": "Accept",
  2021. "value": "application/json"
  2022. }
  2023. ],
  2024. "method": "GET",
  2025. "body": {},
  2026. "auth": null
  2027. },
  2028. "response": [
  2029. {
  2030. "id": "49a7321f-cec2-44e8-908e-2edb4c912688",
  2031. "name": "OK",
  2032. "originalRequest": {
  2033. "url": {
  2034. "path": [
  2035. "v1",
  2036. "channels",
  2037. ":code"
  2038. ],
  2039. "host": [
  2040. "{{baseUrl}}"
  2041. ],
  2042. "query": [],
  2043. "variable": [
  2044. {
  2045. "disabled": false,
  2046. "description": {
  2047. "content": "(Required) ",
  2048. "type": "text/plain"
  2049. },
  2050. "type": "any",
  2051. "value": "<string>",
  2052. "key": "code"
  2053. }
  2054. ]
  2055. },
  2056. "header": [
  2057. {
  2058. "key": "Accept",
  2059. "value": "application/json"
  2060. },
  2061. {
  2062. "description": {
  2063. "content": "Added as a part of security scheme: bearer",
  2064. "type": "text/plain"
  2065. },
  2066. "key": "Authorization",
  2067. "value": "Bearer <token>"
  2068. }
  2069. ],
  2070. "method": "GET",
  2071. "body": {}
  2072. },
  2073. "status": "OK",
  2074. "code": 200,
  2075. "header": [
  2076. {
  2077. "key": "Content-Type",
  2078. "value": "application/json"
  2079. }
  2080. ],
  2081. "body": "{\n \"success\": \"<boolean>\",\n \"data\": \"\",\n \"status\": \"<integer>\",\n \"message\": \"<string>\",\n \"errors\": \"\"\n}",
  2082. "cookie": [],
  2083. "_postman_previewlanguage": "json"
  2084. },
  2085. {
  2086. "id": "00dfdb94-9246-47c8-b81b-c74824e1d928",
  2087. "name": "Bad Request",
  2088. "originalRequest": {
  2089. "url": {
  2090. "path": [
  2091. "v1",
  2092. "channels",
  2093. ":code"
  2094. ],
  2095. "host": [
  2096. "{{baseUrl}}"
  2097. ],
  2098. "query": [],
  2099. "variable": [
  2100. {
  2101. "disabled": false,
  2102. "description": {
  2103. "content": "(Required) ",
  2104. "type": "text/plain"
  2105. },
  2106. "type": "any",
  2107. "value": "<string>",
  2108. "key": "code"
  2109. }
  2110. ]
  2111. },
  2112. "header": [
  2113. {
  2114. "key": "Accept",
  2115. "value": "application/problem+json"
  2116. },
  2117. {
  2118. "description": {
  2119. "content": "Added as a part of security scheme: bearer",
  2120. "type": "text/plain"
  2121. },
  2122. "key": "Authorization",
  2123. "value": "Bearer <token>"
  2124. }
  2125. ],
  2126. "method": "GET",
  2127. "body": {}
  2128. },
  2129. "status": "Bad Request",
  2130. "code": 400,
  2131. "header": [
  2132. {
  2133. "key": "Content-Type",
  2134. "value": "application/problem+json"
  2135. }
  2136. ],
  2137. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  2138. "cookie": [],
  2139. "_postman_previewlanguage": "json"
  2140. },
  2141. {
  2142. "id": "ed945e67-256c-4db3-a2d4-0dd8a1b7e541",
  2143. "name": "Unauthorized",
  2144. "originalRequest": {
  2145. "url": {
  2146. "path": [
  2147. "v1",
  2148. "channels",
  2149. ":code"
  2150. ],
  2151. "host": [
  2152. "{{baseUrl}}"
  2153. ],
  2154. "query": [],
  2155. "variable": [
  2156. {
  2157. "disabled": false,
  2158. "description": {
  2159. "content": "(Required) ",
  2160. "type": "text/plain"
  2161. },
  2162. "type": "any",
  2163. "value": "<string>",
  2164. "key": "code"
  2165. }
  2166. ]
  2167. },
  2168. "header": [
  2169. {
  2170. "key": "Accept",
  2171. "value": "application/problem+json"
  2172. },
  2173. {
  2174. "description": {
  2175. "content": "Added as a part of security scheme: bearer",
  2176. "type": "text/plain"
  2177. },
  2178. "key": "Authorization",
  2179. "value": "Bearer <token>"
  2180. }
  2181. ],
  2182. "method": "GET",
  2183. "body": {}
  2184. },
  2185. "status": "Unauthorized",
  2186. "code": 401,
  2187. "header": [
  2188. {
  2189. "key": "Content-Type",
  2190. "value": "application/problem+json"
  2191. }
  2192. ],
  2193. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  2194. "cookie": [],
  2195. "_postman_previewlanguage": "json"
  2196. },
  2197. {
  2198. "id": "0a5873d2-2ee9-411a-a905-c3da1b093d67",
  2199. "name": "Forbidden",
  2200. "originalRequest": {
  2201. "url": {
  2202. "path": [
  2203. "v1",
  2204. "channels",
  2205. ":code"
  2206. ],
  2207. "host": [
  2208. "{{baseUrl}}"
  2209. ],
  2210. "query": [],
  2211. "variable": [
  2212. {
  2213. "disabled": false,
  2214. "description": {
  2215. "content": "(Required) ",
  2216. "type": "text/plain"
  2217. },
  2218. "type": "any",
  2219. "value": "<string>",
  2220. "key": "code"
  2221. }
  2222. ]
  2223. },
  2224. "header": [
  2225. {
  2226. "key": "Accept",
  2227. "value": "application/problem+json"
  2228. },
  2229. {
  2230. "description": {
  2231. "content": "Added as a part of security scheme: bearer",
  2232. "type": "text/plain"
  2233. },
  2234. "key": "Authorization",
  2235. "value": "Bearer <token>"
  2236. }
  2237. ],
  2238. "method": "GET",
  2239. "body": {}
  2240. },
  2241. "status": "Forbidden",
  2242. "code": 403,
  2243. "header": [
  2244. {
  2245. "key": "Content-Type",
  2246. "value": "application/problem+json"
  2247. }
  2248. ],
  2249. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  2250. "cookie": [],
  2251. "_postman_previewlanguage": "json"
  2252. },
  2253. {
  2254. "id": "23a2627a-5111-4c17-bf7d-612f702fb52c",
  2255. "name": "Not Found",
  2256. "originalRequest": {
  2257. "url": {
  2258. "path": [
  2259. "v1",
  2260. "channels",
  2261. ":code"
  2262. ],
  2263. "host": [
  2264. "{{baseUrl}}"
  2265. ],
  2266. "query": [],
  2267. "variable": [
  2268. {
  2269. "disabled": false,
  2270. "description": {
  2271. "content": "(Required) ",
  2272. "type": "text/plain"
  2273. },
  2274. "type": "any",
  2275. "value": "<string>",
  2276. "key": "code"
  2277. }
  2278. ]
  2279. },
  2280. "header": [
  2281. {
  2282. "key": "Accept",
  2283. "value": "application/problem+json"
  2284. },
  2285. {
  2286. "description": {
  2287. "content": "Added as a part of security scheme: bearer",
  2288. "type": "text/plain"
  2289. },
  2290. "key": "Authorization",
  2291. "value": "Bearer <token>"
  2292. }
  2293. ],
  2294. "method": "GET",
  2295. "body": {}
  2296. },
  2297. "status": "Not Found",
  2298. "code": 404,
  2299. "header": [
  2300. {
  2301. "key": "Content-Type",
  2302. "value": "application/problem+json"
  2303. }
  2304. ],
  2305. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  2306. "cookie": [],
  2307. "_postman_previewlanguage": "json"
  2308. }
  2309. ],
  2310. "event": [],
  2311. "protocolProfileBehavior": {
  2312. "disableBodyPruning": true
  2313. }
  2314. }
  2315. ]
  2316. },
  2317. {
  2318. "name": "쿠폰",
  2319. "description": "",
  2320. "item": [
  2321. {
  2322. "id": "09d68c0e-f279-458f-849d-cc78d81b23b9",
  2323. "name": "쿠폰 코드 상세 조회",
  2324. "request": {
  2325. "name": "쿠폰 코드 상세 조회",
  2326. "description": {
  2327. "content": "단일 쿠폰 코드의 **사용 여부 / 상태 / 사용 일시**를 반환합니다.\r\n\r\n- **등록일시는 의도적으로 제공하지 않습니다** (보안/사용자 요구).\r\n- 상태(`status`) + 발급일(`issuedAt`) + 사용일(`usedAt`) 만 노출.\r\n\r\n### 필수 scope\r\n- `read:coupons`\r\n\r\n### 경로 변수\r\n- `code` — 쿠폰 코드 평문 (예: `ABCD-1234-EFGH-5678`)\r\n - 서버 측에서 SHA-256 해시 후 검색하므로 평문이 로그에 남지 않습니다.\r\n\r\n### Status 값\r\n| 값 | 라벨 | 의미 |\r\n|---|---|---|\r\n| `1` | 미발급 | Available — 결제 가능 |\r\n| `2` | 결제 진행 중 | Reserved — 점유됨 |\r\n| `3` | 발급됨 | Issued — 회원 보관함 |\r\n| `4` | 사용 완료 | Used — 사용 처리됨 |\r\n| `5` | 만료 | Expired — 관리자 만료 |\r\n\r\n### 에러\r\n- `400` — code 누락\r\n- `404` — 해당 코드 없음",
  2328. "type": "text/plain"
  2329. },
  2330. "url": {
  2331. "path": [
  2332. "v1",
  2333. "coupons",
  2334. "codes",
  2335. ":code"
  2336. ],
  2337. "host": [
  2338. "{{baseUrl}}"
  2339. ],
  2340. "query": [],
  2341. "variable": [
  2342. {
  2343. "type": "any",
  2344. "value": "<string>",
  2345. "key": "code",
  2346. "disabled": false,
  2347. "description": {
  2348. "content": "(Required) ",
  2349. "type": "text/plain"
  2350. }
  2351. }
  2352. ]
  2353. },
  2354. "header": [
  2355. {
  2356. "key": "Accept",
  2357. "value": "application/json"
  2358. }
  2359. ],
  2360. "method": "GET",
  2361. "body": {},
  2362. "auth": null
  2363. },
  2364. "response": [
  2365. {
  2366. "id": "4a1d814d-a849-4c62-b331-79d7fcfaf669",
  2367. "name": "OK",
  2368. "originalRequest": {
  2369. "url": {
  2370. "path": [
  2371. "v1",
  2372. "coupons",
  2373. "codes",
  2374. ":code"
  2375. ],
  2376. "host": [
  2377. "{{baseUrl}}"
  2378. ],
  2379. "query": [],
  2380. "variable": [
  2381. {
  2382. "disabled": false,
  2383. "description": {
  2384. "content": "(Required) ",
  2385. "type": "text/plain"
  2386. },
  2387. "type": "any",
  2388. "value": "<string>",
  2389. "key": "code"
  2390. }
  2391. ]
  2392. },
  2393. "header": [
  2394. {
  2395. "key": "Accept",
  2396. "value": "application/json"
  2397. },
  2398. {
  2399. "description": {
  2400. "content": "Added as a part of security scheme: bearer",
  2401. "type": "text/plain"
  2402. },
  2403. "key": "Authorization",
  2404. "value": "Bearer <token>"
  2405. }
  2406. ],
  2407. "method": "GET",
  2408. "body": {}
  2409. },
  2410. "status": "OK",
  2411. "code": 200,
  2412. "header": [
  2413. {
  2414. "key": "Content-Type",
  2415. "value": "application/json"
  2416. }
  2417. ],
  2418. "body": "{\n \"success\": \"<boolean>\",\n \"data\": \"\",\n \"status\": \"<integer>\",\n \"message\": \"<string>\",\n \"errors\": \"\"\n}",
  2419. "cookie": [],
  2420. "_postman_previewlanguage": "json"
  2421. },
  2422. {
  2423. "id": "40f24a12-db70-45db-9ce5-76f7d3055f00",
  2424. "name": "Bad Request",
  2425. "originalRequest": {
  2426. "url": {
  2427. "path": [
  2428. "v1",
  2429. "coupons",
  2430. "codes",
  2431. ":code"
  2432. ],
  2433. "host": [
  2434. "{{baseUrl}}"
  2435. ],
  2436. "query": [],
  2437. "variable": [
  2438. {
  2439. "disabled": false,
  2440. "description": {
  2441. "content": "(Required) ",
  2442. "type": "text/plain"
  2443. },
  2444. "type": "any",
  2445. "value": "<string>",
  2446. "key": "code"
  2447. }
  2448. ]
  2449. },
  2450. "header": [
  2451. {
  2452. "key": "Accept",
  2453. "value": "application/problem+json"
  2454. },
  2455. {
  2456. "description": {
  2457. "content": "Added as a part of security scheme: bearer",
  2458. "type": "text/plain"
  2459. },
  2460. "key": "Authorization",
  2461. "value": "Bearer <token>"
  2462. }
  2463. ],
  2464. "method": "GET",
  2465. "body": {}
  2466. },
  2467. "status": "Bad Request",
  2468. "code": 400,
  2469. "header": [
  2470. {
  2471. "key": "Content-Type",
  2472. "value": "application/problem+json"
  2473. }
  2474. ],
  2475. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  2476. "cookie": [],
  2477. "_postman_previewlanguage": "json"
  2478. },
  2479. {
  2480. "id": "d0b4f6c7-889c-490b-bfa0-cefed9b851f6",
  2481. "name": "Unauthorized",
  2482. "originalRequest": {
  2483. "url": {
  2484. "path": [
  2485. "v1",
  2486. "coupons",
  2487. "codes",
  2488. ":code"
  2489. ],
  2490. "host": [
  2491. "{{baseUrl}}"
  2492. ],
  2493. "query": [],
  2494. "variable": [
  2495. {
  2496. "disabled": false,
  2497. "description": {
  2498. "content": "(Required) ",
  2499. "type": "text/plain"
  2500. },
  2501. "type": "any",
  2502. "value": "<string>",
  2503. "key": "code"
  2504. }
  2505. ]
  2506. },
  2507. "header": [
  2508. {
  2509. "key": "Accept",
  2510. "value": "application/problem+json"
  2511. },
  2512. {
  2513. "description": {
  2514. "content": "Added as a part of security scheme: bearer",
  2515. "type": "text/plain"
  2516. },
  2517. "key": "Authorization",
  2518. "value": "Bearer <token>"
  2519. }
  2520. ],
  2521. "method": "GET",
  2522. "body": {}
  2523. },
  2524. "status": "Unauthorized",
  2525. "code": 401,
  2526. "header": [
  2527. {
  2528. "key": "Content-Type",
  2529. "value": "application/problem+json"
  2530. }
  2531. ],
  2532. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  2533. "cookie": [],
  2534. "_postman_previewlanguage": "json"
  2535. },
  2536. {
  2537. "id": "a2bdfeab-14cd-48fe-88df-b92783ed24aa",
  2538. "name": "Forbidden",
  2539. "originalRequest": {
  2540. "url": {
  2541. "path": [
  2542. "v1",
  2543. "coupons",
  2544. "codes",
  2545. ":code"
  2546. ],
  2547. "host": [
  2548. "{{baseUrl}}"
  2549. ],
  2550. "query": [],
  2551. "variable": [
  2552. {
  2553. "disabled": false,
  2554. "description": {
  2555. "content": "(Required) ",
  2556. "type": "text/plain"
  2557. },
  2558. "type": "any",
  2559. "value": "<string>",
  2560. "key": "code"
  2561. }
  2562. ]
  2563. },
  2564. "header": [
  2565. {
  2566. "key": "Accept",
  2567. "value": "application/problem+json"
  2568. },
  2569. {
  2570. "description": {
  2571. "content": "Added as a part of security scheme: bearer",
  2572. "type": "text/plain"
  2573. },
  2574. "key": "Authorization",
  2575. "value": "Bearer <token>"
  2576. }
  2577. ],
  2578. "method": "GET",
  2579. "body": {}
  2580. },
  2581. "status": "Forbidden",
  2582. "code": 403,
  2583. "header": [
  2584. {
  2585. "key": "Content-Type",
  2586. "value": "application/problem+json"
  2587. }
  2588. ],
  2589. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  2590. "cookie": [],
  2591. "_postman_previewlanguage": "json"
  2592. },
  2593. {
  2594. "id": "a48bf288-4e36-4917-ae50-aa656352607a",
  2595. "name": "Not Found",
  2596. "originalRequest": {
  2597. "url": {
  2598. "path": [
  2599. "v1",
  2600. "coupons",
  2601. "codes",
  2602. ":code"
  2603. ],
  2604. "host": [
  2605. "{{baseUrl}}"
  2606. ],
  2607. "query": [],
  2608. "variable": [
  2609. {
  2610. "disabled": false,
  2611. "description": {
  2612. "content": "(Required) ",
  2613. "type": "text/plain"
  2614. },
  2615. "type": "any",
  2616. "value": "<string>",
  2617. "key": "code"
  2618. }
  2619. ]
  2620. },
  2621. "header": [
  2622. {
  2623. "key": "Accept",
  2624. "value": "application/problem+json"
  2625. },
  2626. {
  2627. "description": {
  2628. "content": "Added as a part of security scheme: bearer",
  2629. "type": "text/plain"
  2630. },
  2631. "key": "Authorization",
  2632. "value": "Bearer <token>"
  2633. }
  2634. ],
  2635. "method": "GET",
  2636. "body": {}
  2637. },
  2638. "status": "Not Found",
  2639. "code": 404,
  2640. "header": [
  2641. {
  2642. "key": "Content-Type",
  2643. "value": "application/problem+json"
  2644. }
  2645. ],
  2646. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  2647. "cookie": [],
  2648. "_postman_previewlanguage": "json"
  2649. }
  2650. ],
  2651. "event": [],
  2652. "protocolProfileBehavior": {
  2653. "disableBodyPruning": true
  2654. }
  2655. },
  2656. {
  2657. "id": "0e7a6641-83d2-439e-9f82-bd196079cf33",
  2658. "name": "게임 쿠폰 코드 대량 조회",
  2659. "request": {
  2660. "name": "게임 쿠폰 코드 대량 조회",
  2661. "description": {
  2662. "content": "특정 게임에 발급된 **쿠폰 코드를 대량으로** 페이지네이션해 반환합니다.\r\n\r\n각 코드의 사용 여부(`status`) + 발급/사용 일시가 함께 제공됩니다.\r\n\r\n### 필수 scope\r\n- `read:coupons`\r\n\r\n### 경로 변수\r\n- `gameID` — 게임 ID\r\n\r\n### 쿼리 파라미터\r\n| 이름 | 타입 | 기본 | 설명 |\r\n|---|---|---|---|\r\n| `couponID` | int? | null | 특정 쿠폰의 코드만 필터 (생략 시 게임 전체) |\r\n| `page` | int | 1 | 1부터 시작 |\r\n| `limit` | int | 100 | 1~500 |\r\n\r\n### Status 값\r\n| 값 | 의미 |\r\n|---|---|\r\n| `1` | Available (미발급) |\r\n| `2` | Reserved (결제 진행 중) |\r\n| `3` | Issued (발급됨) |\r\n| `4` | Used (사용 완료) |\r\n| `5` | Expired (만료) |",
  2663. "type": "text/plain"
  2664. },
  2665. "url": {
  2666. "path": [
  2667. "v1",
  2668. "games",
  2669. ":gameID",
  2670. "coupons"
  2671. ],
  2672. "host": [
  2673. "{{baseUrl}}"
  2674. ],
  2675. "query": [
  2676. {
  2677. "disabled": false,
  2678. "description": {
  2679. "content": "",
  2680. "type": "text/plain"
  2681. },
  2682. "key": "couponID",
  2683. "value": "<integer>"
  2684. },
  2685. {
  2686. "disabled": false,
  2687. "description": {
  2688. "content": "",
  2689. "type": "text/plain"
  2690. },
  2691. "key": "page",
  2692. "value": "1"
  2693. },
  2694. {
  2695. "disabled": false,
  2696. "description": {
  2697. "content": "",
  2698. "type": "text/plain"
  2699. },
  2700. "key": "limit",
  2701. "value": "100"
  2702. }
  2703. ],
  2704. "variable": [
  2705. {
  2706. "type": "any",
  2707. "value": "<integer>",
  2708. "key": "gameID",
  2709. "disabled": false,
  2710. "description": {
  2711. "content": "(Required) ",
  2712. "type": "text/plain"
  2713. }
  2714. }
  2715. ]
  2716. },
  2717. "header": [
  2718. {
  2719. "key": "Accept",
  2720. "value": "application/json"
  2721. }
  2722. ],
  2723. "method": "GET",
  2724. "body": {},
  2725. "auth": null
  2726. },
  2727. "response": [
  2728. {
  2729. "id": "771cd837-fa83-49a9-aff5-18d3b5a2e88b",
  2730. "name": "OK",
  2731. "originalRequest": {
  2732. "url": {
  2733. "path": [
  2734. "v1",
  2735. "games",
  2736. ":gameID",
  2737. "coupons"
  2738. ],
  2739. "host": [
  2740. "{{baseUrl}}"
  2741. ],
  2742. "query": [
  2743. {
  2744. "disabled": false,
  2745. "description": {
  2746. "content": "",
  2747. "type": "text/plain"
  2748. },
  2749. "key": "couponID",
  2750. "value": "<integer>"
  2751. },
  2752. {
  2753. "disabled": false,
  2754. "description": {
  2755. "content": "",
  2756. "type": "text/plain"
  2757. },
  2758. "key": "page",
  2759. "value": "1"
  2760. },
  2761. {
  2762. "disabled": false,
  2763. "description": {
  2764. "content": "",
  2765. "type": "text/plain"
  2766. },
  2767. "key": "limit",
  2768. "value": "100"
  2769. }
  2770. ],
  2771. "variable": [
  2772. {
  2773. "disabled": false,
  2774. "description": {
  2775. "content": "(Required) ",
  2776. "type": "text/plain"
  2777. },
  2778. "type": "any",
  2779. "value": "<integer>",
  2780. "key": "gameID"
  2781. }
  2782. ]
  2783. },
  2784. "header": [
  2785. {
  2786. "key": "Accept",
  2787. "value": "application/json"
  2788. },
  2789. {
  2790. "description": {
  2791. "content": "Added as a part of security scheme: bearer",
  2792. "type": "text/plain"
  2793. },
  2794. "key": "Authorization",
  2795. "value": "Bearer <token>"
  2796. }
  2797. ],
  2798. "method": "GET",
  2799. "body": {}
  2800. },
  2801. "status": "OK",
  2802. "code": 200,
  2803. "header": [
  2804. {
  2805. "key": "Content-Type",
  2806. "value": "application/json"
  2807. }
  2808. ],
  2809. "body": "{\n \"success\": \"<boolean>\",\n \"data\": \"\",\n \"status\": \"<integer>\",\n \"message\": \"<string>\",\n \"errors\": \"\"\n}",
  2810. "cookie": [],
  2811. "_postman_previewlanguage": "json"
  2812. },
  2813. {
  2814. "id": "e5753978-a007-4a0d-b81c-d361f0cbfe27",
  2815. "name": "Bad Request",
  2816. "originalRequest": {
  2817. "url": {
  2818. "path": [
  2819. "v1",
  2820. "games",
  2821. ":gameID",
  2822. "coupons"
  2823. ],
  2824. "host": [
  2825. "{{baseUrl}}"
  2826. ],
  2827. "query": [
  2828. {
  2829. "disabled": false,
  2830. "description": {
  2831. "content": "",
  2832. "type": "text/plain"
  2833. },
  2834. "key": "couponID",
  2835. "value": "<integer>"
  2836. },
  2837. {
  2838. "disabled": false,
  2839. "description": {
  2840. "content": "",
  2841. "type": "text/plain"
  2842. },
  2843. "key": "page",
  2844. "value": "1"
  2845. },
  2846. {
  2847. "disabled": false,
  2848. "description": {
  2849. "content": "",
  2850. "type": "text/plain"
  2851. },
  2852. "key": "limit",
  2853. "value": "100"
  2854. }
  2855. ],
  2856. "variable": [
  2857. {
  2858. "disabled": false,
  2859. "description": {
  2860. "content": "(Required) ",
  2861. "type": "text/plain"
  2862. },
  2863. "type": "any",
  2864. "value": "<integer>",
  2865. "key": "gameID"
  2866. }
  2867. ]
  2868. },
  2869. "header": [
  2870. {
  2871. "key": "Accept",
  2872. "value": "application/problem+json"
  2873. },
  2874. {
  2875. "description": {
  2876. "content": "Added as a part of security scheme: bearer",
  2877. "type": "text/plain"
  2878. },
  2879. "key": "Authorization",
  2880. "value": "Bearer <token>"
  2881. }
  2882. ],
  2883. "method": "GET",
  2884. "body": {}
  2885. },
  2886. "status": "Bad Request",
  2887. "code": 400,
  2888. "header": [
  2889. {
  2890. "key": "Content-Type",
  2891. "value": "application/problem+json"
  2892. }
  2893. ],
  2894. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  2895. "cookie": [],
  2896. "_postman_previewlanguage": "json"
  2897. },
  2898. {
  2899. "id": "61628dc6-26a1-4d40-b1aa-e011a557689b",
  2900. "name": "Unauthorized",
  2901. "originalRequest": {
  2902. "url": {
  2903. "path": [
  2904. "v1",
  2905. "games",
  2906. ":gameID",
  2907. "coupons"
  2908. ],
  2909. "host": [
  2910. "{{baseUrl}}"
  2911. ],
  2912. "query": [
  2913. {
  2914. "disabled": false,
  2915. "description": {
  2916. "content": "",
  2917. "type": "text/plain"
  2918. },
  2919. "key": "couponID",
  2920. "value": "<integer>"
  2921. },
  2922. {
  2923. "disabled": false,
  2924. "description": {
  2925. "content": "",
  2926. "type": "text/plain"
  2927. },
  2928. "key": "page",
  2929. "value": "1"
  2930. },
  2931. {
  2932. "disabled": false,
  2933. "description": {
  2934. "content": "",
  2935. "type": "text/plain"
  2936. },
  2937. "key": "limit",
  2938. "value": "100"
  2939. }
  2940. ],
  2941. "variable": [
  2942. {
  2943. "disabled": false,
  2944. "description": {
  2945. "content": "(Required) ",
  2946. "type": "text/plain"
  2947. },
  2948. "type": "any",
  2949. "value": "<integer>",
  2950. "key": "gameID"
  2951. }
  2952. ]
  2953. },
  2954. "header": [
  2955. {
  2956. "key": "Accept",
  2957. "value": "application/problem+json"
  2958. },
  2959. {
  2960. "description": {
  2961. "content": "Added as a part of security scheme: bearer",
  2962. "type": "text/plain"
  2963. },
  2964. "key": "Authorization",
  2965. "value": "Bearer <token>"
  2966. }
  2967. ],
  2968. "method": "GET",
  2969. "body": {}
  2970. },
  2971. "status": "Unauthorized",
  2972. "code": 401,
  2973. "header": [
  2974. {
  2975. "key": "Content-Type",
  2976. "value": "application/problem+json"
  2977. }
  2978. ],
  2979. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  2980. "cookie": [],
  2981. "_postman_previewlanguage": "json"
  2982. },
  2983. {
  2984. "id": "f23f426b-1290-485a-bc30-3732a9d29737",
  2985. "name": "Forbidden",
  2986. "originalRequest": {
  2987. "url": {
  2988. "path": [
  2989. "v1",
  2990. "games",
  2991. ":gameID",
  2992. "coupons"
  2993. ],
  2994. "host": [
  2995. "{{baseUrl}}"
  2996. ],
  2997. "query": [
  2998. {
  2999. "disabled": false,
  3000. "description": {
  3001. "content": "",
  3002. "type": "text/plain"
  3003. },
  3004. "key": "couponID",
  3005. "value": "<integer>"
  3006. },
  3007. {
  3008. "disabled": false,
  3009. "description": {
  3010. "content": "",
  3011. "type": "text/plain"
  3012. },
  3013. "key": "page",
  3014. "value": "1"
  3015. },
  3016. {
  3017. "disabled": false,
  3018. "description": {
  3019. "content": "",
  3020. "type": "text/plain"
  3021. },
  3022. "key": "limit",
  3023. "value": "100"
  3024. }
  3025. ],
  3026. "variable": [
  3027. {
  3028. "disabled": false,
  3029. "description": {
  3030. "content": "(Required) ",
  3031. "type": "text/plain"
  3032. },
  3033. "type": "any",
  3034. "value": "<integer>",
  3035. "key": "gameID"
  3036. }
  3037. ]
  3038. },
  3039. "header": [
  3040. {
  3041. "key": "Accept",
  3042. "value": "application/problem+json"
  3043. },
  3044. {
  3045. "description": {
  3046. "content": "Added as a part of security scheme: bearer",
  3047. "type": "text/plain"
  3048. },
  3049. "key": "Authorization",
  3050. "value": "Bearer <token>"
  3051. }
  3052. ],
  3053. "method": "GET",
  3054. "body": {}
  3055. },
  3056. "status": "Forbidden",
  3057. "code": 403,
  3058. "header": [
  3059. {
  3060. "key": "Content-Type",
  3061. "value": "application/problem+json"
  3062. }
  3063. ],
  3064. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  3065. "cookie": [],
  3066. "_postman_previewlanguage": "json"
  3067. },
  3068. {
  3069. "id": "bad7bc53-c693-43b1-a3b6-625f37c899cc",
  3070. "name": "Not Found",
  3071. "originalRequest": {
  3072. "url": {
  3073. "path": [
  3074. "v1",
  3075. "games",
  3076. ":gameID",
  3077. "coupons"
  3078. ],
  3079. "host": [
  3080. "{{baseUrl}}"
  3081. ],
  3082. "query": [
  3083. {
  3084. "disabled": false,
  3085. "description": {
  3086. "content": "",
  3087. "type": "text/plain"
  3088. },
  3089. "key": "couponID",
  3090. "value": "<integer>"
  3091. },
  3092. {
  3093. "disabled": false,
  3094. "description": {
  3095. "content": "",
  3096. "type": "text/plain"
  3097. },
  3098. "key": "page",
  3099. "value": "1"
  3100. },
  3101. {
  3102. "disabled": false,
  3103. "description": {
  3104. "content": "",
  3105. "type": "text/plain"
  3106. },
  3107. "key": "limit",
  3108. "value": "100"
  3109. }
  3110. ],
  3111. "variable": [
  3112. {
  3113. "disabled": false,
  3114. "description": {
  3115. "content": "(Required) ",
  3116. "type": "text/plain"
  3117. },
  3118. "type": "any",
  3119. "value": "<integer>",
  3120. "key": "gameID"
  3121. }
  3122. ]
  3123. },
  3124. "header": [
  3125. {
  3126. "key": "Accept",
  3127. "value": "application/problem+json"
  3128. },
  3129. {
  3130. "description": {
  3131. "content": "Added as a part of security scheme: bearer",
  3132. "type": "text/plain"
  3133. },
  3134. "key": "Authorization",
  3135. "value": "Bearer <token>"
  3136. }
  3137. ],
  3138. "method": "GET",
  3139. "body": {}
  3140. },
  3141. "status": "Not Found",
  3142. "code": 404,
  3143. "header": [
  3144. {
  3145. "key": "Content-Type",
  3146. "value": "application/problem+json"
  3147. }
  3148. ],
  3149. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  3150. "cookie": [],
  3151. "_postman_previewlanguage": "json"
  3152. }
  3153. ],
  3154. "event": [],
  3155. "protocolProfileBehavior": {
  3156. "disableBodyPruning": true
  3157. }
  3158. }
  3159. ]
  3160. },
  3161. {
  3162. "name": "통계",
  3163. "description": "",
  3164. "item": [
  3165. {
  3166. "id": "b2b1c7f6-fe9d-42c3-988a-54773d0a0404",
  3167. "name": "상품 판매 통계 (게임사별)",
  3168. "request": {
  3169. "name": "상품 판매 통계 (게임사별)",
  3170. "description": {
  3171. "content": "특정 게임사의 **모든 상품별 판매 통계**를 반환합니다.\r\n\r\n### 포함 수치 (상품 별)\r\n| 필드 | 의미 |\r\n|---|---|\r\n| `soldQuantity` | 누적 판매 수량 (Pending/Cancelled/Refunded 제외) |\r\n| `salesAmount` | 누적 판매 금액 (단가 × 수량) |\r\n| `couponGeneratedCount` | 발급된 총 쿠폰 코드 수 (쿠폰 상품만) |\r\n| `couponIssuedCount` | 회원 보관함에 발급된 코드 수 (Status=Issued) |\r\n| `couponUsedCount` | 사용 완료된 코드 수 (Status=Used) |\r\n| `couponAvailableCount` | 미사용 / 미발급 코드 수 (Status=Available) |\r\n\r\n### 필수 scope\r\n- `read:stats`\r\n\r\n### 쿼리 파라미터\r\n- `gameID` (필수) — 게임 ID\r\n\r\n### 에러\r\n- `400` — gameID 누락\r\n- `404` — 해당 게임 없음",
  3172. "type": "text/plain"
  3173. },
  3174. "url": {
  3175. "path": [
  3176. "v1",
  3177. "stats",
  3178. "products"
  3179. ],
  3180. "host": [
  3181. "{{baseUrl}}"
  3182. ],
  3183. "query": [
  3184. {
  3185. "disabled": false,
  3186. "description": {
  3187. "content": "",
  3188. "type": "text/plain"
  3189. },
  3190. "key": "gameID",
  3191. "value": "0"
  3192. }
  3193. ],
  3194. "variable": []
  3195. },
  3196. "header": [
  3197. {
  3198. "key": "Accept",
  3199. "value": "application/json"
  3200. }
  3201. ],
  3202. "method": "GET",
  3203. "body": {},
  3204. "auth": null
  3205. },
  3206. "response": [
  3207. {
  3208. "id": "94883a3d-34ca-4e82-9f03-2198ee05cf9a",
  3209. "name": "OK",
  3210. "originalRequest": {
  3211. "url": {
  3212. "path": [
  3213. "v1",
  3214. "stats",
  3215. "products"
  3216. ],
  3217. "host": [
  3218. "{{baseUrl}}"
  3219. ],
  3220. "query": [
  3221. {
  3222. "disabled": false,
  3223. "description": {
  3224. "content": "",
  3225. "type": "text/plain"
  3226. },
  3227. "key": "gameID",
  3228. "value": "0"
  3229. }
  3230. ],
  3231. "variable": []
  3232. },
  3233. "header": [
  3234. {
  3235. "key": "Accept",
  3236. "value": "application/json"
  3237. },
  3238. {
  3239. "description": {
  3240. "content": "Added as a part of security scheme: bearer",
  3241. "type": "text/plain"
  3242. },
  3243. "key": "Authorization",
  3244. "value": "Bearer <token>"
  3245. }
  3246. ],
  3247. "method": "GET",
  3248. "body": {}
  3249. },
  3250. "status": "OK",
  3251. "code": 200,
  3252. "header": [
  3253. {
  3254. "key": "Content-Type",
  3255. "value": "application/json"
  3256. }
  3257. ],
  3258. "body": "{\n \"success\": \"<boolean>\",\n \"data\": \"\",\n \"status\": \"<integer>\",\n \"message\": \"<string>\",\n \"errors\": \"\"\n}",
  3259. "cookie": [],
  3260. "_postman_previewlanguage": "json"
  3261. },
  3262. {
  3263. "id": "5a86ca14-befc-4542-bee2-4bf99b821a08",
  3264. "name": "Bad Request",
  3265. "originalRequest": {
  3266. "url": {
  3267. "path": [
  3268. "v1",
  3269. "stats",
  3270. "products"
  3271. ],
  3272. "host": [
  3273. "{{baseUrl}}"
  3274. ],
  3275. "query": [
  3276. {
  3277. "disabled": false,
  3278. "description": {
  3279. "content": "",
  3280. "type": "text/plain"
  3281. },
  3282. "key": "gameID",
  3283. "value": "0"
  3284. }
  3285. ],
  3286. "variable": []
  3287. },
  3288. "header": [
  3289. {
  3290. "key": "Accept",
  3291. "value": "application/problem+json"
  3292. },
  3293. {
  3294. "description": {
  3295. "content": "Added as a part of security scheme: bearer",
  3296. "type": "text/plain"
  3297. },
  3298. "key": "Authorization",
  3299. "value": "Bearer <token>"
  3300. }
  3301. ],
  3302. "method": "GET",
  3303. "body": {}
  3304. },
  3305. "status": "Bad Request",
  3306. "code": 400,
  3307. "header": [
  3308. {
  3309. "key": "Content-Type",
  3310. "value": "application/problem+json"
  3311. }
  3312. ],
  3313. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  3314. "cookie": [],
  3315. "_postman_previewlanguage": "json"
  3316. },
  3317. {
  3318. "id": "f8ad8f68-71c1-4ae1-9b13-0369c7f8934a",
  3319. "name": "Unauthorized",
  3320. "originalRequest": {
  3321. "url": {
  3322. "path": [
  3323. "v1",
  3324. "stats",
  3325. "products"
  3326. ],
  3327. "host": [
  3328. "{{baseUrl}}"
  3329. ],
  3330. "query": [
  3331. {
  3332. "disabled": false,
  3333. "description": {
  3334. "content": "",
  3335. "type": "text/plain"
  3336. },
  3337. "key": "gameID",
  3338. "value": "0"
  3339. }
  3340. ],
  3341. "variable": []
  3342. },
  3343. "header": [
  3344. {
  3345. "key": "Accept",
  3346. "value": "application/problem+json"
  3347. },
  3348. {
  3349. "description": {
  3350. "content": "Added as a part of security scheme: bearer",
  3351. "type": "text/plain"
  3352. },
  3353. "key": "Authorization",
  3354. "value": "Bearer <token>"
  3355. }
  3356. ],
  3357. "method": "GET",
  3358. "body": {}
  3359. },
  3360. "status": "Unauthorized",
  3361. "code": 401,
  3362. "header": [
  3363. {
  3364. "key": "Content-Type",
  3365. "value": "application/problem+json"
  3366. }
  3367. ],
  3368. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  3369. "cookie": [],
  3370. "_postman_previewlanguage": "json"
  3371. },
  3372. {
  3373. "id": "df096118-65ba-4193-84db-c1db4159f569",
  3374. "name": "Forbidden",
  3375. "originalRequest": {
  3376. "url": {
  3377. "path": [
  3378. "v1",
  3379. "stats",
  3380. "products"
  3381. ],
  3382. "host": [
  3383. "{{baseUrl}}"
  3384. ],
  3385. "query": [
  3386. {
  3387. "disabled": false,
  3388. "description": {
  3389. "content": "",
  3390. "type": "text/plain"
  3391. },
  3392. "key": "gameID",
  3393. "value": "0"
  3394. }
  3395. ],
  3396. "variable": []
  3397. },
  3398. "header": [
  3399. {
  3400. "key": "Accept",
  3401. "value": "application/problem+json"
  3402. },
  3403. {
  3404. "description": {
  3405. "content": "Added as a part of security scheme: bearer",
  3406. "type": "text/plain"
  3407. },
  3408. "key": "Authorization",
  3409. "value": "Bearer <token>"
  3410. }
  3411. ],
  3412. "method": "GET",
  3413. "body": {}
  3414. },
  3415. "status": "Forbidden",
  3416. "code": 403,
  3417. "header": [
  3418. {
  3419. "key": "Content-Type",
  3420. "value": "application/problem+json"
  3421. }
  3422. ],
  3423. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  3424. "cookie": [],
  3425. "_postman_previewlanguage": "json"
  3426. },
  3427. {
  3428. "id": "8b9ebd3b-ae00-49f2-b387-77c6a2161814",
  3429. "name": "Not Found",
  3430. "originalRequest": {
  3431. "url": {
  3432. "path": [
  3433. "v1",
  3434. "stats",
  3435. "products"
  3436. ],
  3437. "host": [
  3438. "{{baseUrl}}"
  3439. ],
  3440. "query": [
  3441. {
  3442. "disabled": false,
  3443. "description": {
  3444. "content": "",
  3445. "type": "text/plain"
  3446. },
  3447. "key": "gameID",
  3448. "value": "0"
  3449. }
  3450. ],
  3451. "variable": []
  3452. },
  3453. "header": [
  3454. {
  3455. "key": "Accept",
  3456. "value": "application/problem+json"
  3457. },
  3458. {
  3459. "description": {
  3460. "content": "Added as a part of security scheme: bearer",
  3461. "type": "text/plain"
  3462. },
  3463. "key": "Authorization",
  3464. "value": "Bearer <token>"
  3465. }
  3466. ],
  3467. "method": "GET",
  3468. "body": {}
  3469. },
  3470. "status": "Not Found",
  3471. "code": 404,
  3472. "header": [
  3473. {
  3474. "key": "Content-Type",
  3475. "value": "application/problem+json"
  3476. }
  3477. ],
  3478. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  3479. "cookie": [],
  3480. "_postman_previewlanguage": "json"
  3481. }
  3482. ],
  3483. "event": [],
  3484. "protocolProfileBehavior": {
  3485. "disableBodyPruning": true
  3486. }
  3487. }
  3488. ]
  3489. },
  3490. {
  3491. "name": "회원",
  3492. "description": "",
  3493. "item": [
  3494. {
  3495. "id": "8f4557e1-8dcc-4bbd-853c-517cb06d66a2",
  3496. "name": "회원 조회",
  3497. "request": {
  3498. "name": "회원 조회",
  3499. "description": {
  3500. "content": "DPOT 회원을 페이지네이션해 반환합니다.\r\n\r\n탈퇴/삭제된 회원은 자동 제외됩니다.\r\n\r\n### 필수 scope\r\n- `read:members`\r\n\r\n### 쿼리 파라미터\r\n| 이름 | 타입 | 기본 | 설명 |\r\n|---|---|---|---|\r\n| `hasChannel` | bool? | null | `true` 크리에이터만 / `false` 일반 회원만 / 생략 시 전체 |\r\n| `page` | int | 1 | 1부터 시작 |\r\n| `size` | int | 50 | 1~200 |\r\n\r\n### 응답 필드\r\n- `emailMasked` — 이메일은 `ji***@example.com` 형식으로 마스킹\r\n- `name` — 닉네임 (null 가능)\r\n- `hasChannel` — 채널 소유 여부\r\n- `channelSID` / `channelName` — **채널 소유 회원에만** 채워짐 (그 외 `null`)\r\n- `createdAt` — 가입일 (UTC ISO 8601)\r\n\r\n### 사용 예\r\n```\r\nGET /v1/members # 전체\r\nGET /v1/members?hasChannel=true # 크리에이터만\r\nGET /v1/members?hasChannel=false # 일반 회원만\r\nGET /v1/members?hasChannel=true&page=2&size=100\r\n```",
  3501. "type": "text/plain"
  3502. },
  3503. "url": {
  3504. "path": [
  3505. "v1",
  3506. "members"
  3507. ],
  3508. "host": [
  3509. "{{baseUrl}}"
  3510. ],
  3511. "query": [
  3512. {
  3513. "disabled": false,
  3514. "description": {
  3515. "content": "",
  3516. "type": "text/plain"
  3517. },
  3518. "key": "hasChannel",
  3519. "value": "<boolean>"
  3520. },
  3521. {
  3522. "disabled": false,
  3523. "description": {
  3524. "content": "",
  3525. "type": "text/plain"
  3526. },
  3527. "key": "page",
  3528. "value": "1"
  3529. },
  3530. {
  3531. "disabled": false,
  3532. "description": {
  3533. "content": "",
  3534. "type": "text/plain"
  3535. },
  3536. "key": "size",
  3537. "value": "50"
  3538. }
  3539. ],
  3540. "variable": []
  3541. },
  3542. "header": [
  3543. {
  3544. "key": "Accept",
  3545. "value": "application/json"
  3546. }
  3547. ],
  3548. "method": "GET",
  3549. "body": {},
  3550. "auth": null
  3551. },
  3552. "response": [
  3553. {
  3554. "id": "92441e9e-1ba8-44e9-843f-5b55aab499ee",
  3555. "name": "OK",
  3556. "originalRequest": {
  3557. "url": {
  3558. "path": [
  3559. "v1",
  3560. "members"
  3561. ],
  3562. "host": [
  3563. "{{baseUrl}}"
  3564. ],
  3565. "query": [
  3566. {
  3567. "disabled": false,
  3568. "description": {
  3569. "content": "",
  3570. "type": "text/plain"
  3571. },
  3572. "key": "hasChannel",
  3573. "value": "<boolean>"
  3574. },
  3575. {
  3576. "disabled": false,
  3577. "description": {
  3578. "content": "",
  3579. "type": "text/plain"
  3580. },
  3581. "key": "page",
  3582. "value": "1"
  3583. },
  3584. {
  3585. "disabled": false,
  3586. "description": {
  3587. "content": "",
  3588. "type": "text/plain"
  3589. },
  3590. "key": "size",
  3591. "value": "50"
  3592. }
  3593. ],
  3594. "variable": []
  3595. },
  3596. "header": [
  3597. {
  3598. "key": "Accept",
  3599. "value": "application/json"
  3600. },
  3601. {
  3602. "description": {
  3603. "content": "Added as a part of security scheme: bearer",
  3604. "type": "text/plain"
  3605. },
  3606. "key": "Authorization",
  3607. "value": "Bearer <token>"
  3608. }
  3609. ],
  3610. "method": "GET",
  3611. "body": {}
  3612. },
  3613. "status": "OK",
  3614. "code": 200,
  3615. "header": [
  3616. {
  3617. "key": "Content-Type",
  3618. "value": "application/json"
  3619. }
  3620. ],
  3621. "body": "{\n \"success\": \"<boolean>\",\n \"data\": \"\",\n \"status\": \"<integer>\",\n \"message\": \"<string>\",\n \"errors\": \"\"\n}",
  3622. "cookie": [],
  3623. "_postman_previewlanguage": "json"
  3624. },
  3625. {
  3626. "id": "4e3d29d7-8ffe-463c-859d-3e80d6e83c04",
  3627. "name": "Unauthorized",
  3628. "originalRequest": {
  3629. "url": {
  3630. "path": [
  3631. "v1",
  3632. "members"
  3633. ],
  3634. "host": [
  3635. "{{baseUrl}}"
  3636. ],
  3637. "query": [
  3638. {
  3639. "disabled": false,
  3640. "description": {
  3641. "content": "",
  3642. "type": "text/plain"
  3643. },
  3644. "key": "hasChannel",
  3645. "value": "<boolean>"
  3646. },
  3647. {
  3648. "disabled": false,
  3649. "description": {
  3650. "content": "",
  3651. "type": "text/plain"
  3652. },
  3653. "key": "page",
  3654. "value": "1"
  3655. },
  3656. {
  3657. "disabled": false,
  3658. "description": {
  3659. "content": "",
  3660. "type": "text/plain"
  3661. },
  3662. "key": "size",
  3663. "value": "50"
  3664. }
  3665. ],
  3666. "variable": []
  3667. },
  3668. "header": [
  3669. {
  3670. "key": "Accept",
  3671. "value": "application/problem+json"
  3672. },
  3673. {
  3674. "description": {
  3675. "content": "Added as a part of security scheme: bearer",
  3676. "type": "text/plain"
  3677. },
  3678. "key": "Authorization",
  3679. "value": "Bearer <token>"
  3680. }
  3681. ],
  3682. "method": "GET",
  3683. "body": {}
  3684. },
  3685. "status": "Unauthorized",
  3686. "code": 401,
  3687. "header": [
  3688. {
  3689. "key": "Content-Type",
  3690. "value": "application/problem+json"
  3691. }
  3692. ],
  3693. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  3694. "cookie": [],
  3695. "_postman_previewlanguage": "json"
  3696. },
  3697. {
  3698. "id": "6e0b7b36-1d90-4738-9236-6102f9ebabe9",
  3699. "name": "Forbidden",
  3700. "originalRequest": {
  3701. "url": {
  3702. "path": [
  3703. "v1",
  3704. "members"
  3705. ],
  3706. "host": [
  3707. "{{baseUrl}}"
  3708. ],
  3709. "query": [
  3710. {
  3711. "disabled": false,
  3712. "description": {
  3713. "content": "",
  3714. "type": "text/plain"
  3715. },
  3716. "key": "hasChannel",
  3717. "value": "<boolean>"
  3718. },
  3719. {
  3720. "disabled": false,
  3721. "description": {
  3722. "content": "",
  3723. "type": "text/plain"
  3724. },
  3725. "key": "page",
  3726. "value": "1"
  3727. },
  3728. {
  3729. "disabled": false,
  3730. "description": {
  3731. "content": "",
  3732. "type": "text/plain"
  3733. },
  3734. "key": "size",
  3735. "value": "50"
  3736. }
  3737. ],
  3738. "variable": []
  3739. },
  3740. "header": [
  3741. {
  3742. "key": "Accept",
  3743. "value": "application/problem+json"
  3744. },
  3745. {
  3746. "description": {
  3747. "content": "Added as a part of security scheme: bearer",
  3748. "type": "text/plain"
  3749. },
  3750. "key": "Authorization",
  3751. "value": "Bearer <token>"
  3752. }
  3753. ],
  3754. "method": "GET",
  3755. "body": {}
  3756. },
  3757. "status": "Forbidden",
  3758. "code": 403,
  3759. "header": [
  3760. {
  3761. "key": "Content-Type",
  3762. "value": "application/problem+json"
  3763. }
  3764. ],
  3765. "body": "{\n \"type\": \"<string>\",\n \"title\": \"<string>\",\n \"status\": \"<integer>\",\n \"detail\": \"<string>\",\n \"instance\": \"<string>\"\n}",
  3766. "cookie": [],
  3767. "_postman_previewlanguage": "json"
  3768. }
  3769. ],
  3770. "event": [],
  3771. "protocolProfileBehavior": {
  3772. "disableBodyPruning": true
  3773. }
  3774. }
  3775. ]
  3776. },
  3777. {
  3778. "name": "OAuth",
  3779. "description": "",
  3780. "item": [
  3781. {
  3782. "id": "bfff48fa-ae5e-4497-84ab-17ed54314140",
  3783. "name": "/oauth/token",
  3784. "request": {
  3785. "name": "/oauth/token",
  3786. "description": {},
  3787. "url": {
  3788. "path": [
  3789. "oauth",
  3790. "token"
  3791. ],
  3792. "host": [
  3793. "{{baseUrl}}"
  3794. ],
  3795. "query": [],
  3796. "variable": []
  3797. },
  3798. "method": "POST",
  3799. "body": {},
  3800. "auth": null
  3801. },
  3802. "response": [
  3803. {
  3804. "id": "19c3ba56-9e6a-462f-904d-c304e5f1b6c2",
  3805. "name": "OK",
  3806. "originalRequest": {
  3807. "url": {
  3808. "path": [
  3809. "oauth",
  3810. "token"
  3811. ],
  3812. "host": [
  3813. "{{baseUrl}}"
  3814. ],
  3815. "query": [],
  3816. "variable": []
  3817. },
  3818. "header": [
  3819. {
  3820. "description": {
  3821. "content": "Added as a part of security scheme: bearer",
  3822. "type": "text/plain"
  3823. },
  3824. "key": "Authorization",
  3825. "value": "Bearer <token>"
  3826. }
  3827. ],
  3828. "method": "POST",
  3829. "body": {}
  3830. },
  3831. "status": "OK",
  3832. "code": 200,
  3833. "header": [],
  3834. "cookie": [],
  3835. "_postman_previewlanguage": "text"
  3836. }
  3837. ],
  3838. "event": [],
  3839. "protocolProfileBehavior": {
  3840. "disableBodyPruning": true
  3841. }
  3842. }
  3843. ]
  3844. }
  3845. ],
  3846. "auth": {
  3847. "type": "bearer",
  3848. "bearer": [
  3849. {
  3850. "type": "any",
  3851. "value": "{{bearerToken}}",
  3852. "key": "token"
  3853. }
  3854. ]
  3855. },
  3856. "event": [],
  3857. "variable": [
  3858. {
  3859. "key": "baseUrl",
  3860. "value": "https://localhost:4000"
  3861. }
  3862. ],
  3863. "info": {
  3864. "_postman_id": "62adb938-4217-4c40-a73e-de007c4687da",
  3865. "name": "DPOT Public API",
  3866. "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
  3867. "description": {
  3868. "content": "DPOT 크리에이터 후원·도네이션 플랫폼의 외부 개발자용 공개 API 입니다.\r\n\r\n## 1. 사전 준비사항\r\n\r\n공개 API 호출을 위해서는 아래 절차를 **순서대로** 완료해야 합니다.\r\n\r\n### 1-1. 개발자 계정 등록\r\n1. https://developers.dpot.live 에서 일반 DPOT 계정으로 로그인\r\n2. **온보딩 페이지에서 사업자/개인 정보 입력**\r\n3. **NICE 본인인증(KYC)** 으로 실명/CI 검증\r\n4. 관리자 승인 대기 (영업일 기준 1~3 일)\r\n - 승인 상태는 `GET /api/developers/profile` 또는 포털 헤더에서 확인 가능\r\n\r\n### 1-2. 자격 증명 발급\r\n승인 후 두 가지 방식 중 선택해 토큰을 발급 받습니다.\r\n\r\n| 방식 | 발급 위치 | 인증 헤더 | 권장 용도 |\r\n|---|---|---|---|\r\n| **OAuth2 Client Credentials** | `developers.dpot.live/apps` 에서 앱 생성 | `Authorization: Bearer {access_token}` | 서버 ↔ 서버, 토큰 만료/갱신 |\r\n| **Personal Access Token (PAT)** | `developers.dpot.live/tokens` | `Authorization: Bearer dpot_pat_xxx` | 개인 스크립트, 단기 테스트 |\r\n\r\nOAuth2 access token 발급 예시:\r\n```bash\r\ncurl -X POST https://api.dpot.live/oauth/token \\\r\n -d \"grant_type=client_credentials\" \\\r\n -d \"client_id=YOUR_CLIENT_ID\" \\\r\n -d \"client_secret=YOUR_CLIENT_SECRET\" \\\r\n -d \"scope=read:members read:products\"\r\n```\r\n\r\n### 1-3. Scope 요청\r\n각 API 는 **flat scope** 단위로 권한을 검사합니다. 토큰 발급 시 필요한 scope 를 명시하세요.\r\nscope 가 부족하면 `403 Forbidden` 으로 응답합니다.\r\n\r\n| Scope | 설명 |\r\n|---|---|\r\n| `read:members` | 회원(일반/크리에이터) 목록 조회 |\r\n| `read:products` | 상품 목록 조회 |\r\n| `read:coupons` | 쿠폰 코드 목록·상세 조회 |\r\n| `read:stats` | 상품 판매 통계 조회 |\r\n| `read:channels` | 채널 후원 코드 확인 |\r\n| `read:purchases` | 결제 보고 조회 (단건/목록 대사) |\r\n| `write:purchases` | 결제 등록/취소 보고 — **OAuth2 앱 토큰 전용** |\r\n\r\n### 1-4. Rate Limit\r\n기본 한도: **분당 100 회**, **일일 10,000 회** (앱/PAT 별 독립 카운터).\r\n초과 시 `429 Too Many Requests` + `Retry-After` 헤더가 반환됩니다.\r\n\r\n---\r\n\r\n## 2. 제공 API\r\n\r\nv1 에서 제공하는 엔드포인트는 다음과 같습니다. 각 항목 클릭 시 상세 스펙으로 이동합니다.\r\n\r\n| # | 메서드 | 경로 | 요약 | 필요 scope |\r\n|---|---|---|---|---|\r\n| 1 | GET | `/v1/members?hasChannel=` | 회원 조회 (`hasChannel` 으로 일반/크리에이터/전체 필터) | `read:members` |\r\n| 2 | GET | `/v1/products` | 상품 목록 (쿠폰 정보 포함) | `read:products` |\r\n| 3 | GET | `/v1/games/{gameID}/coupons` | 게임 쿠폰 코드 대량 조회 | `read:coupons` |\r\n| 4 | GET | `/v1/coupons/codes/{code}` | 쿠폰 코드 단일 상세 | `read:coupons` |\r\n| 5 | GET | `/v1/stats/products` | 게임사별 상품 판매 통계 | `read:stats` |\r\n| 6 | GET | `/v1/channels/{code}` | 채널 후원 코드 확인 (결제 보고 사전 검증) | `read:channels` |\r\n| 7 | POST | `/v1/purchases` | 결제 등록 — 채널 수수료 보류 적립 (+14일 확정) | `write:purchases` |\r\n| 8 | POST | `/v1/purchases/{orderID}/cancel` | 결제 취소 — 보류 취소 또는 확정 수수료 회수 | `write:purchases` |\r\n| 9 | GET | `/v1/purchases/{orderID}` | 결제 단건 조회 | `read:purchases` |\r\n| 10 | GET | `/v1/purchases?status=&from=&to=` | 결제 목록 조회 (대사) | `read:purchases` |\r\n\r\n### 회원 정보 비공개 정책\r\n회원 응답에서 다음 정보는 **노출되지 않습니다**:\r\n- 이메일 평문 (대신 `a***@example.com` 형식 마스킹)\r\n- 휴대전화번호 / CI / DI / 실명\r\n- 결제 수단 정보\r\n\r\n---\r\n\r\n## 3. 게임사 결제 보고 연동 가이드\r\n\r\n게임 내 결제(인앱 결제)가 발생하면 DPOT 에 보고하여, 유저가 입력한 **채널 후원 코드**의\r\n크리에이터에게 판매 수수료가 적립되도록 하는 연동입니다.\r\n전 구간 **게임사 서버 ↔ DPOT 서버** 통신이며, 게임 클라이언트에서 직접 호출하지 않습니다\r\n(`client_secret` 이 클라이언트에 노출되면 안 됩니다).\r\n\r\n### 3-1. 전체 흐름\r\n\r\n```text\r\n[게임 유저] [게임사 서버] [DPOT]\r\n │ ① 후원코드 입력 │ │\r\n ├──────────────────────▶│ ② GET /v1/channels/{code} │\r\n │ ├───────────────────────────────▶│ 코드 존재/활성 확인\r\n │ ◀── 확인 결과 ────────┤◀───────────────────────────────┤\r\n │ │ │\r\n │ ③ 인앱 결제 완료 │ │\r\n ├──────────────────────▶│ ④ POST /v1/purchases │\r\n │ ├───────────────────────────────▶│ 보류(Pending) 적립 생성\r\n │ │ │ ⑤ +14일 후 자동 확정\r\n │ │ │ → 채널에 수수료 입금\r\n │ ⑥ 스토어 환불 발생 │ │\r\n ├──────────────────────▶│ ⑦ POST /v1/purchases/{orderID}/cancel\r\n │ ├───────────────────────────────▶│ 보류 취소 / 확정분 회수\r\n```\r\n\r\n### 3-2. 사전 조건\r\n\r\n1. DPOT 운영팀과 제휴 계약 → **게임 등록** (게임 코드 발급 + 수수료율 설정은 DPOT 측에서 수행)\r\n2. 개발자 계정 승인 (섹션 1-1) 후 앱 생성 — scope 는 `write:purchases read:purchases read:channels`\r\n3. **결제 등록/취소는 OAuth2 앱 토큰 전용**입니다. PAT 으로는 조회(`read:purchases`)만 가능합니다.\r\n\r\n### 3-3. Step 1 — 후원 코드 입력과 검증\r\n\r\n게임 설정 화면 등에 \"크리에이터 후원 코드\" 입력란을 제공하세요 (4~7자 영문+숫자, 대소문자 무관).\r\n입력 시점에 `GET /v1/channels/{code}` 로 검증해 유저에게 즉시 피드백합니다.\r\n\r\n| 응답 | 처리 |\r\n|---|---|\r\n| `200` + `active: true` | 코드 저장, 이후 결제 보고에 사용 |\r\n| `200` + `active: false` | \"사용할 수 없는 코드\" 안내 — 결제 보고가 거부되므로 저장하지 않음 |\r\n| `404` | \"존재하지 않는 코드\" 안내 |\r\n\r\n### 3-4. Step 2 — 결제 보고 (`POST /v1/purchases`)\r\n\r\n유저의 인앱 결제가 **스토어에서 확정된 후** 서버에서 보고합니다.\r\n\r\n| 필드 | 규칙 |\r\n|---|---|\r\n| `orderID` | **마켓 거래 ID 원문 그대로** — Google `GPA.xxxx-xxxx-xxxx-xxxxx`, Apple Transaction ID 등. 자체 채번/가공 금지 (분쟁 시 영수증 대조 근거) |\r\n| `marketplace` | 1=구글, 2=애플, 3=MS, 4=갤럭시, 5=원스토어, 6=기타 |\r\n| `gameCode` | DPOT 이 발급한 게임 코드 |\r\n| `orderPrice` | 유저 실결제 금액 (KRW) |\r\n| `productID` | 인앱 상품 SKU — **전달 권장** (DPOT 측 금액 검증에 사용) |\r\n| `channelCode` | 유저가 입력한 후원 코드 |\r\n\r\n```bash\r\ncurl -X POST https://api.dpot.live/v1/purchases \\\r\n -H \"Authorization: Bearer {access_token}\" \\\r\n -H \"Content-Type: application/json\" \\\r\n -d '{\r\n \"channelCode\": \"ABC123\",\r\n \"orderID\": \"GPA.3312-8767-0710-71943\",\r\n \"marketplace\": 1,\r\n \"gameCode\": \"XXXXXX\",\r\n \"orderPrice\": 11000,\r\n \"productID\": \"diamond_1000\"\r\n }'\r\n```\r\n\r\n`201` 응답의 `status` 는 항상 `Pending` 이며, 수수료는 `confirmDueAt`(등록 +14일, 주말·공휴일 포함)\r\n에 자동 확정되어 채널에 입금됩니다. 응답의 `commissionAmount` 는 채널 적립 예정액입니다.\r\n\r\n**멱등성과 재시도** — 동일 (`marketplace`, `orderID`) 조합은 1회만 등록됩니다.\r\n\r\n| 상황 | 대응 |\r\n|---|---|\r\n| 타임아웃 / 네트워크 오류 / `5xx` | **동일 페이로드로 재시도해도 안전** (이미 등록됐다면 `409`) |\r\n| `409 Purchase.Duplicate` | 이미 등록된 주문 — **성공으로 간주**하고 종료 |\r\n| `400` / `403` / `404` | 재시도 금지 — 페이로드·scope·게임 코드 점검 |\r\n\r\n### 3-5. Step 3 — 환불 시 취소 보고 (`POST /v1/purchases/{orderID}/cancel`)\r\n\r\n스토어 환불을 확인하면 **반드시** 취소를 보고하세요. 미보고 시 환불된 결제의 수수료가\r\n크리에이터에게 확정 지급되며, 정산 대사에서 불일치로 기록됩니다.\r\n\r\n```bash\r\ncurl -X POST \"https://api.dpot.live/v1/purchases/GPA.3312-8767-0710-71943/cancel\" \\\r\n -H \"Authorization: Bearer {access_token}\"\r\n```\r\n\r\n| 케이스 | 응답 |\r\n|---|---|\r\n| 보류 중(14일 내) 취소 | 적립 자체가 소멸 — `recoveredAmount: 0`, `shortfallAmount: 0` |\r\n| 확정 후 취소 | 채널 적립분 회수 — `recoveredAmount` 에 회수액, 잔액 부족분은 `shortfallAmount` |\r\n| `409 Purchase.AlreadyCanceled` | 이미 처리됨 — 성공으로 간주 |\r\n\r\n취소는 **등록한 앱만** 가능합니다. 동일 `orderID` 가 여러 마켓에 있으면 `?marketplace=` 를 지정하세요.\r\n\r\n### 3-6. Step 4 — 정산 대사\r\n\r\n`GET /v1/purchases?from=&to=&status=&page=&size=` 로 기간별 등록 내역을 받아\r\n자체 결제 DB 와 주기적으로 대조하세요 (일 1회 권장).\r\n누락 건은 추가 보고하고, 금액 불일치는 DPOT 운영팀과 협의합니다.\r\n계약에 따라 월 정산 시 스토어 매출 리포트 제출이 요구될 수 있습니다.\r\n\r\n### 3-7. 토큰 관리 구현 예시\r\n\r\n`access_token` 은 **1시간(3600초)** 유효합니다. 매 호출마다 발급하지 말고 캐시 후\r\n만료 60초 전에 재발급하세요. (토큰 발급 호출도 rate limit 에 포함됩니다.)\r\n\r\nC# (.NET):\r\n```csharp\r\npublic sealed class DpotApiClient(HttpClient http, string clientID, string clientSecret)\r\n{\r\n private string? _token;\r\n private DateTime _expiresAt;\r\n\r\n private async Task<string> GetTokenAsync()\r\n {\r\n if (_token is not null && DateTime.UtcNow < _expiresAt.AddSeconds(-60))\r\n {\r\n return _token;\r\n }\r\n\r\n var res = await http.PostAsync(\"https://api.dpot.live/oauth/token\", new FormUrlEncodedContent(new Dictionary<string, string>\r\n {\r\n [\"grant_type\"] = \"client_credentials\",\r\n [\"client_id\"] = clientID,\r\n [\"client_secret\"] = clientSecret,\r\n [\"scope\"] = \"write:purchases read:purchases read:channels\"\r\n }));\r\n res.EnsureSuccessStatusCode();\r\n\r\n var json = await res.Content.ReadFromJsonAsync<JsonElement>();\r\n _token = json.GetProperty(\"access_token\").GetString()!;\r\n _expiresAt = DateTime.UtcNow.AddSeconds(json.GetProperty(\"expires_in\").GetInt32());\r\n return _token;\r\n }\r\n\r\n public async Task<HttpResponseMessage> ReportPurchaseAsync(object payload)\r\n {\r\n var req = new HttpRequestMessage(HttpMethod.Post, \"https://api.dpot.live/v1/purchases\");\r\n req.Headers.Authorization = new(\"Bearer\", await GetTokenAsync());\r\n req.Content = JsonContent.Create(payload);\r\n return await http.SendAsync(req);\r\n }\r\n}\r\n```\r\n\r\nNode.js:\r\n```javascript\r\nlet cached = { token: null, expiresAt: 0 };\r\n\r\nasync function getToken() {\r\n if (cached.token && Date.now() < cached.expiresAt - 60_000) return cached.token;\r\n\r\n const res = await fetch('https://api.dpot.live/oauth/token', {\r\n method: 'POST',\r\n headers: { 'Content-Type': 'application/x-www-form-urlencoded' },\r\n body: new URLSearchParams({\r\n grant_type: 'client_credentials',\r\n client_id: process.env.DPOT_CLIENT_ID,\r\n client_secret: process.env.DPOT_CLIENT_SECRET,\r\n scope: 'write:purchases read:purchases read:channels'\r\n })\r\n });\r\n const json = await res.json();\r\n cached = { token: json.access_token, expiresAt: Date.now() + json.expires_in * 1000 };\r\n return cached.token;\r\n}\r\n\r\nasync function reportPurchase(payload) {\r\n const res = await fetch('https://api.dpot.live/v1/purchases', {\r\n method: 'POST',\r\n headers: { 'Authorization': `Bearer ${await getToken()}`, 'Content-Type': 'application/json' },\r\n body: JSON.stringify(payload)\r\n });\r\n if (res.status === 409) return { duplicated: true }; // 이미 등록 — 성공 간주\r\n if (!res.ok) throw new Error(`DPOT report failed: ${res.status}`);\r\n return await res.json();\r\n}\r\n```\r\n\r\n### 3-8. 상태 / 오류 빠른 참조\r\n\r\n결제 보고의 `status`:\r\n\r\n| status | 의미 |\r\n|---|---|\r\n| `Pending` | 보류 — `confirmDueAt` 에 자동 확정 예정 |\r\n| `Confirmed` | 확정 — 채널 수수료 입금 완료 |\r\n| `Canceled` | 취소됨 |\r\n\r\n결제 보고 관련 `errors[].code`:\r\n\r\n| Code | HTTP | 의미 / 대응 |\r\n|---|---|---|\r\n| `Channel.NotFound` | 404 | 후원 코드 없음 — 유저 입력 재확인 |\r\n| `Channel.Inactive` | 400 | 비활성/탈퇴 채널 — 저장된 코드 해제 안내 |\r\n| `Game.NotFound` | 404 | 게임 코드 오류 — 발급받은 코드 확인 |\r\n| `Game.Inactive` | 400 | 게임 비활성 — DPOT 운영팀 문의 |\r\n| `Game.ApiCommissionNotConfigured` | 400 | 수수료율 미설정 — DPOT 운영팀 문의 |\r\n| `Purchase.Duplicate` | 409 | 이미 등록된 주문 — 성공 간주 |\r\n| `Purchase.NotFound` | 404 | 취소/조회 대상 없음 (타 앱이 등록한 건 포함) |\r\n| `Purchase.AlreadyCanceled` | 409 | 이미 취소됨 — 성공 간주 |\r\n| `Purchase.AmbiguousOrderID` | 400 | 여러 마켓에 동일 orderID — `marketplace` 지정 필요 |\r\n| `Purchase.AppNotActive` | 403 | 앱 정지 상태 — DPOT 운영팀 문의 |\r\n\r\n---\r\n\r\n## 4. API 변경 이력\r\n\r\n### v1.1.0 — 2026-06-11\r\n**결제 보고 (게임사 파트너)**\r\n- `POST /v1/purchases` 추가 — 게임 내 결제 등록, 채널 후원 코드 기반 판매 수수료 보류 적립 (등록 +14일 후 확정)\r\n- `POST /v1/purchases/{orderID}/cancel` 추가 — 결제 취소 (등록한 앱만 가능)\r\n- `GET /v1/purchases/{orderID}` / `GET /v1/purchases` 추가 — 파트너 대사용 조회\r\n- `GET /v1/channels/{code}` 추가 — 채널 후원 코드 사전 검증\r\n- 신규 scope: `write:purchases`(OAuth2 앱 토큰 전용), `read:purchases`, `read:channels`\r\n\r\n### v1.0.0 — 2026-06-05\r\n**Initial Release**\r\n- `GET /v1/members?hasChannel=` 추가 — `hasChannel` 쿼리로 일반/크리에이터/전체 필터\r\n- `GET /v1/products` 추가 (쿠폰 상품의 경우 `coupon` 필드 포함)\r\n- `GET /v1/games/{gameID}/coupons` 추가\r\n- `GET /v1/coupons/codes/{code}` 추가\r\n- `GET /v1/stats/products` 추가\r\n\r\n---\r\n\r\n## 5. 응답 / 오류 코드\r\n\r\n### 정상 응답\r\n모든 정상 응답은 다음 envelope 으로 감쌉니다.\r\n```json\r\n{\r\n \"success\": true,\r\n \"data\": { ... }\r\n}\r\n```\r\n\r\n### 오류 응답\r\n오류는 RFC 7807 ProblemDetails 형식으로 반환됩니다.\r\n```json\r\n{\r\n \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.4\",\r\n \"title\": \"Member not found\",\r\n \"status\": 404,\r\n \"detail\": \"ID 12345 에 해당하는 회원이 없습니다.\",\r\n \"errors\": [\r\n { \"code\": \"Member.NotFound\", \"description\": \"...\" }\r\n ]\r\n}\r\n```\r\n\r\n### HTTP Status Code\r\n| Status | 의미 | 처리 가이드 |\r\n|---|---|---|\r\n| `200` | 성공 | — |\r\n| `400` | 요청 파라미터 검증 실패 | `errors[].description` 확인 후 재호출 |\r\n| `401` | 인증 토큰 없음 / 만료 | 토큰 재발급 |\r\n| `403` | scope 부족 또는 권한 거부 | 앱의 scope 설정 확인 |\r\n| `404` | 대상 리소스 없음 | 식별자 재확인 |\r\n| `409` | 충돌 (중복/상태 불일치) | 현재 상태 재조회 후 재시도 |\r\n| `429` | Rate limit 초과 | `Retry-After` 초 만큼 대기 |\r\n| `500` | 서버 내부 오류 | DPOT 운영팀에 문의 |\r\n\r\n### 비즈니스 오류 코드\r\n`errors[].code` 필드로 세분화된 코드가 제공됩니다.\r\n\r\n| Code | HTTP | 의미 |\r\n|---|---|---|\r\n| `Auth.MissingToken` | 401 | Authorization 헤더 누락 |\r\n| `Auth.InvalidToken` | 401 | 토큰 형식 오류 / 만료 / 위조 |\r\n| `Auth.ScopeRequired` | 403 | 토큰 scope 부족 |\r\n| `Member.NotFound` | 404 | 회원 없음 |\r\n| `Game.NotFound` | 404 | 게임 없음 |\r\n| `Product.NotFound` | 404 | 상품 없음 |\r\n| `Coupon.NotFound` | 404 | 쿠폰 코드 없음 |\r\n| `Coupon.InvalidCode` | 400 | 코드 형식 오류 (길이/문자) |\r\n| `Channel.NotFound` | 404 | 채널 후원 코드 없음 |\r\n| `Channel.Inactive` | 400 | 비활성/탈퇴 채널 |\r\n| `Game.Inactive` | 400 | 비활성 게임 |\r\n| `Game.ApiCommissionNotConfigured` | 400 | 결제 보고 수수료율 미설정 게임 |\r\n| `Purchase.Duplicate` | 409 | 결제 보고 중복 (marketplace + orderID) |\r\n| `Purchase.NotFound` | 404 | 결제 보고 없음 |\r\n| `Purchase.AlreadyCanceled` | 409 | 이미 취소된 결제 보고 |\r\n| `Purchase.AmbiguousOrderID` | 400 | 여러 마켓에 동일 orderID — marketplace 지정 필요 |\r\n| `Purchase.AppNotActive` | 403 | 앱 비활성 상태 |\r\n| `RateLimit.Exceeded` | 429 | 호출량 초과 |",
  3869. "type": "text/plain"
  3870. }
  3871. }
  3872. }