oasSchema.json 4.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807
  1. {
  2. "openapi" : "3.0.3",
  3. "info" : {
  4. "title" : "支付宝开放平台API",
  5. "description" : "支付宝开放平台v3协议文档",
  6. "contact" : {
  7. "name" : "开放平台文档中心",
  8. "url" : "https://openhome.alipay.com/developmentDocument.htm"
  9. },
  10. "version" : "2023-06-06"
  11. },
  12. "servers" : [ {
  13. "url" : "https://openapi.alipay.com",
  14. "description" : "Production server"
  15. }, {
  16. "url" : "http://openapi.sandbox.dl.alipaydev.com",
  17. "description" : "Sandbox server"
  18. } ],
  19. "paths" : {
  20. "/v3/alios/open/auto/info/query" : {
  21. "get" : {
  22. "tags" : [ "alios.open.auto.info" ],
  23. "summary" : "查询阿里车的车辆信息",
  24. "description" : "用户授权商户可获取用户的车辆信息后商户可通过openapi获取车辆信息",
  25. "operationId" : "alios.open.auto.info.query",
  26. "responses" : {
  27. "200" : {
  28. "description" : "common response",
  29. "content" : {
  30. "application/json" : {
  31. "schema" : {
  32. "$ref" : "#/components/schemas/AliosOpenAutoInfoQueryResponseModel"
  33. }
  34. }
  35. }
  36. },
  37. "default" : {
  38. "description" : "请求失败",
  39. "content" : {
  40. "application/json" : {
  41. "schema" : {
  42. "anyOf" : [ {
  43. "$ref" : "#/components/schemas/CommonErrorType"
  44. }, {
  45. "$ref" : "#/components/schemas/AliosOpenAutoInfoQueryErrorResponseModel"
  46. } ]
  47. }
  48. }
  49. }
  50. }
  51. },
  52. "parameters" : [ {
  53. "$ref" : "#/components/parameters/AuthToken"
  54. }, {
  55. "name" : "user_id",
  56. "in" : "query",
  57. "description" : "蚂蚁统一会员ID",
  58. "schema" : {
  59. "type" : "string",
  60. "example" : "33424562"
  61. }
  62. }, {
  63. "name" : "open_id",
  64. "in" : "query",
  65. "description" : "经度",
  66. "schema" : {
  67. "type" : "string",
  68. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  69. }
  70. }, {
  71. "name" : "device_token",
  72. "in" : "query",
  73. "description" : "设备token",
  74. "schema" : {
  75. "type" : "string",
  76. "example" : "cn-shanghai.e81fe6ffe0214049be4da405b3e78849"
  77. }
  78. } ]
  79. }
  80. },
  81. "/v3/alipay/boss/fnc/invoice/apply" : {
  82. "post" : {
  83. "tags" : [ "alipay.boss.fnc.invoice" ],
  84. "summary" : "应收开票申请(根据账单申请)",
  85. "description" : "根据账单申请应收发票开票",
  86. "operationId" : "alipay.boss.fnc.invoice.apply",
  87. "responses" : {
  88. "200" : {
  89. "description" : "common response",
  90. "content" : {
  91. "application/json" : {
  92. "schema" : {
  93. "$ref" : "#/components/schemas/AlipayBossFncInvoiceApplyResponseModel"
  94. }
  95. }
  96. }
  97. },
  98. "default" : {
  99. "description" : "请求失败",
  100. "content" : {
  101. "application/json" : {
  102. "schema" : {
  103. "anyOf" : [ {
  104. "$ref" : "#/components/schemas/CommonErrorType"
  105. }, {
  106. "$ref" : "#/components/schemas/AlipayBossFncInvoiceApplyErrorResponseModel"
  107. } ]
  108. }
  109. }
  110. }
  111. }
  112. },
  113. "requestBody" : {
  114. "content" : {
  115. "application/json" : {
  116. "schema" : {
  117. "$ref" : "#/components/schemas/AlipayBossFncInvoiceApplyModel"
  118. }
  119. }
  120. },
  121. "required" : false
  122. }
  123. }
  124. },
  125. "/v3/alipay/boss/fnc/invoice/batchquery" : {
  126. "post" : {
  127. "tags" : [ "alipay.boss.fnc.invoice" ],
  128. "summary" : "应收发票综合查询",
  129. "description" : "根据综合查询条件查询对应发票信息",
  130. "operationId" : "alipay.boss.fnc.invoice.batchquery",
  131. "responses" : {
  132. "200" : {
  133. "description" : "common response",
  134. "content" : {
  135. "application/json" : {
  136. "schema" : {
  137. "$ref" : "#/components/schemas/AlipayBossFncInvoiceBatchqueryResponseModel"
  138. }
  139. }
  140. }
  141. },
  142. "default" : {
  143. "description" : "请求失败",
  144. "content" : {
  145. "application/json" : {
  146. "schema" : {
  147. "anyOf" : [ {
  148. "$ref" : "#/components/schemas/CommonErrorType"
  149. }, {
  150. "$ref" : "#/components/schemas/AlipayBossFncInvoiceBatchqueryErrorResponseModel"
  151. } ]
  152. }
  153. }
  154. }
  155. }
  156. },
  157. "requestBody" : {
  158. "content" : {
  159. "application/json" : {
  160. "schema" : {
  161. "$ref" : "#/components/schemas/AlipayBossFncInvoiceBatchqueryModel"
  162. }
  163. }
  164. },
  165. "required" : false
  166. }
  167. }
  168. },
  169. "/v3/alipay/boss/fnc/invoice/query" : {
  170. "get" : {
  171. "tags" : [ "alipay.boss.fnc.invoice" ],
  172. "summary" : "根据发票ID查询发票信息",
  173. "description" : "根据发票综合查询接口(alipay.boss.fnc.invoice.batchquery)查询到发票列表后,再根据每个发票对应的发票id查询发票的详细信息",
  174. "operationId" : "alipay.boss.fnc.invoice.query",
  175. "responses" : {
  176. "200" : {
  177. "description" : "common response",
  178. "content" : {
  179. "application/json" : {
  180. "schema" : {
  181. "$ref" : "#/components/schemas/AlipayBossFncInvoiceQueryResponseModel"
  182. }
  183. }
  184. }
  185. },
  186. "default" : {
  187. "description" : "请求失败",
  188. "content" : {
  189. "application/json" : {
  190. "schema" : {
  191. "anyOf" : [ {
  192. "$ref" : "#/components/schemas/CommonErrorType"
  193. }, {
  194. "$ref" : "#/components/schemas/AlipayBossFncInvoiceQueryErrorResponseModel"
  195. } ]
  196. }
  197. }
  198. }
  199. }
  200. },
  201. "parameters" : [ {
  202. "name" : "invoice_id",
  203. "in" : "query",
  204. "description" : "查询ID:用于标示一张发票,通过发票综合查询可以查询到该ID。",
  205. "schema" : {
  206. "type" : "string",
  207. "example" : "如:2017060210122000040400270002815483"
  208. }
  209. } ]
  210. }
  211. },
  212. "/v3/alipay/boss/fnc/invoicereceipt/batchquery" : {
  213. "post" : {
  214. "tags" : [ "alipay.boss.fnc.invoicereceipt" ],
  215. "summary" : "根据月账单号集合和来源查询开票单据及金额汇总",
  216. "description" : "根据月账单号集合和来源查询开票单据及金额汇总",
  217. "operationId" : "alipay.boss.fnc.invoicereceipt.batchquery",
  218. "responses" : {
  219. "200" : {
  220. "description" : "common response",
  221. "content" : {
  222. "application/json" : {
  223. "schema" : {
  224. "$ref" : "#/components/schemas/AlipayBossFncInvoicereceiptBatchqueryResponseModel"
  225. }
  226. }
  227. }
  228. },
  229. "default" : {
  230. "description" : "请求失败",
  231. "content" : {
  232. "application/json" : {
  233. "schema" : {
  234. "anyOf" : [ {
  235. "$ref" : "#/components/schemas/CommonErrorType"
  236. }, {
  237. "$ref" : "#/components/schemas/AlipayBossFncInvoicereceiptBatchqueryErrorResponseModel"
  238. } ]
  239. }
  240. }
  241. }
  242. }
  243. },
  244. "requestBody" : {
  245. "content" : {
  246. "application/json" : {
  247. "schema" : {
  248. "$ref" : "#/components/schemas/AlipayBossFncInvoicereceiptBatchqueryModel"
  249. }
  250. }
  251. },
  252. "required" : false
  253. }
  254. }
  255. },
  256. "/v3/alipay/boss/fnc/invoicereceipt/create" : {
  257. "post" : {
  258. "tags" : [ "alipay.boss.fnc.invoicereceipt" ],
  259. "summary" : "账单变更同步接口月帐单创建消息同步",
  260. "description" : "月帐单创建消息同步",
  261. "operationId" : "alipay.boss.fnc.invoicereceipt.create",
  262. "responses" : {
  263. "200" : {
  264. "description" : "common response",
  265. "content" : {
  266. "application/json" : {
  267. "schema" : {
  268. "$ref" : "#/components/schemas/AlipayBossFncInvoicereceiptCreateResponseModel"
  269. }
  270. }
  271. }
  272. },
  273. "default" : {
  274. "description" : "请求失败",
  275. "content" : {
  276. "application/json" : {
  277. "schema" : {
  278. "anyOf" : [ {
  279. "$ref" : "#/components/schemas/CommonErrorType"
  280. }, {
  281. "$ref" : "#/components/schemas/AlipayBossFncInvoicereceiptCreateErrorResponseModel"
  282. } ]
  283. }
  284. }
  285. }
  286. }
  287. },
  288. "requestBody" : {
  289. "content" : {
  290. "application/json" : {
  291. "schema" : {
  292. "$ref" : "#/components/schemas/AlipayBossFncInvoicereceiptCreateModel"
  293. }
  294. }
  295. },
  296. "required" : false
  297. }
  298. }
  299. },
  300. "/v3/alipay/boss/fnc/userinvoiceinfo/create" : {
  301. "post" : {
  302. "tags" : [ "alipay.boss.fnc.userinvoiceinfo" ],
  303. "summary" : "新增客户开票资料",
  304. "description" : "申请开票alipay.boss.fnc.invoice.create之前需要维护的开票资料信息",
  305. "operationId" : "alipay.boss.fnc.userinvoiceinfo.create",
  306. "responses" : {
  307. "200" : {
  308. "description" : "common response",
  309. "content" : {
  310. "application/json" : {
  311. "schema" : {
  312. "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoCreateResponseModel"
  313. }
  314. }
  315. }
  316. },
  317. "default" : {
  318. "description" : "请求失败",
  319. "content" : {
  320. "application/json" : {
  321. "schema" : {
  322. "anyOf" : [ {
  323. "$ref" : "#/components/schemas/CommonErrorType"
  324. }, {
  325. "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoCreateErrorResponseModel"
  326. } ]
  327. }
  328. }
  329. }
  330. }
  331. },
  332. "requestBody" : {
  333. "content" : {
  334. "application/json" : {
  335. "schema" : {
  336. "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoCreateModel"
  337. }
  338. }
  339. },
  340. "required" : false
  341. }
  342. }
  343. },
  344. "/v3/alipay/boss/fnc/userinvoiceinfo/modify" : {
  345. "post" : {
  346. "tags" : [ "alipay.boss.fnc.userinvoiceinfo" ],
  347. "summary" : "修改用户开票资料",
  348. "description" : "通过查询用户的开票资料(alipay.boss.fnc.userinvoiceinfo.query)后进行开票资料的修改",
  349. "operationId" : "alipay.boss.fnc.userinvoiceinfo.modify",
  350. "responses" : {
  351. "200" : {
  352. "description" : "common response",
  353. "content" : {
  354. "application/json" : {
  355. "schema" : {
  356. "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoModifyResponseModel"
  357. }
  358. }
  359. }
  360. },
  361. "default" : {
  362. "description" : "请求失败",
  363. "content" : {
  364. "application/json" : {
  365. "schema" : {
  366. "anyOf" : [ {
  367. "$ref" : "#/components/schemas/CommonErrorType"
  368. }, {
  369. "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoModifyErrorResponseModel"
  370. } ]
  371. }
  372. }
  373. }
  374. }
  375. },
  376. "requestBody" : {
  377. "content" : {
  378. "application/json" : {
  379. "schema" : {
  380. "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoModifyModel"
  381. }
  382. }
  383. },
  384. "required" : false
  385. }
  386. }
  387. },
  388. "/v3/alipay/boss/fnc/userinvoiceinfo/query" : {
  389. "get" : {
  390. "tags" : [ "alipay.boss.fnc.userinvoiceinfo" ],
  391. "summary" : "根据PID获取相关的开票资料",
  392. "description" : "根据PID获取相关的开票资料",
  393. "operationId" : "alipay.boss.fnc.userinvoiceinfo.query",
  394. "responses" : {
  395. "200" : {
  396. "description" : "common response",
  397. "content" : {
  398. "application/json" : {
  399. "schema" : {
  400. "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoQueryResponseModel"
  401. }
  402. }
  403. }
  404. },
  405. "default" : {
  406. "description" : "请求失败",
  407. "content" : {
  408. "application/json" : {
  409. "schema" : {
  410. "anyOf" : [ {
  411. "$ref" : "#/components/schemas/CommonErrorType"
  412. }, {
  413. "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoQueryErrorResponseModel"
  414. } ]
  415. }
  416. }
  417. }
  418. }
  419. },
  420. "parameters" : [ {
  421. "name" : "pid",
  422. "in" : "query",
  423. "description" : "开票pid/mid/ou,唯一标识商户信息/集团用户信息的ID",
  424. "schema" : {
  425. "type" : "string",
  426. "example" : "2088001007243670"
  427. }
  428. } ]
  429. }
  430. },
  431. "/v3/alipay/boss/prod/my/test/query" : {
  432. "get" : {
  433. "tags" : [ "alipay.boss.prod.my.test" ],
  434. "summary" : "明焕open测试",
  435. "description" : "测试",
  436. "operationId" : "alipay.boss.prod.my.test.query",
  437. "responses" : {
  438. "200" : {
  439. "description" : "common response",
  440. "content" : {
  441. "application/json" : {
  442. "schema" : {
  443. "$ref" : "#/components/schemas/AlipayBossProdMyTestQueryResponseModel"
  444. }
  445. }
  446. }
  447. },
  448. "default" : {
  449. "description" : "请求失败",
  450. "content" : {
  451. "application/json" : {
  452. "schema" : {
  453. "anyOf" : [ {
  454. "$ref" : "#/components/schemas/CommonErrorType"
  455. }, {
  456. "$ref" : "#/components/schemas/AlipayBossProdMyTestQueryErrorResponseModel"
  457. } ]
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "parameters" : [ {
  464. "name" : "area_code",
  465. "in" : "query",
  466. "description" : "区.",
  467. "schema" : {
  468. "type" : "string",
  469. "example" : "sahuidsa"
  470. }
  471. } ]
  472. }
  473. },
  474. "/v3/alipay/commerce/cityfacilitator/station/query" : {
  475. "get" : {
  476. "tags" : [ "alipay.commerce.cityfacilitator.station" ],
  477. "summary" : "地铁购票站点数据查询",
  478. "description" : "商户App获取地铁购票开放购票的站点和禁止到达的站点",
  479. "operationId" : "alipay.commerce.cityfacilitator.station.query",
  480. "responses" : {
  481. "200" : {
  482. "description" : "common response",
  483. "content" : {
  484. "application/json" : {
  485. "schema" : {
  486. "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorStationQueryResponseModel"
  487. }
  488. }
  489. }
  490. },
  491. "default" : {
  492. "description" : "请求失败",
  493. "content" : {
  494. "application/json" : {
  495. "schema" : {
  496. "anyOf" : [ {
  497. "$ref" : "#/components/schemas/CommonErrorType"
  498. }, {
  499. "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorStationQueryErrorResponseModel"
  500. } ]
  501. }
  502. }
  503. }
  504. }
  505. },
  506. "parameters" : [ {
  507. "name" : "city_code",
  508. "in" : "query",
  509. "description" : "城市编码请参考查询 <a href=\"http://www.mca.gov.cn/article/sj/xzqh/\">中华人民共和国行政区划代码</a>。\t已支持城市:广州 440100,深圳 440300,杭州330100。",
  510. "schema" : {
  511. "type" : "string",
  512. "example" : "440300"
  513. }
  514. } ]
  515. }
  516. },
  517. "/v3/alipay/commerce/cityfacilitator/voucher/batchquery" : {
  518. "post" : {
  519. "tags" : [ "alipay.commerce.cityfacilitator.voucher" ],
  520. "summary" : "地铁购票订单批量查询",
  521. "description" : "商户APP调该接口批量查询订单状态",
  522. "operationId" : "alipay.commerce.cityfacilitator.voucher.batchquery",
  523. "responses" : {
  524. "200" : {
  525. "description" : "common response",
  526. "content" : {
  527. "application/json" : {
  528. "schema" : {
  529. "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherBatchqueryResponseModel"
  530. }
  531. }
  532. }
  533. },
  534. "default" : {
  535. "description" : "请求失败",
  536. "content" : {
  537. "application/json" : {
  538. "schema" : {
  539. "anyOf" : [ {
  540. "$ref" : "#/components/schemas/CommonErrorType"
  541. }, {
  542. "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherBatchqueryErrorResponseModel"
  543. } ]
  544. }
  545. }
  546. }
  547. }
  548. },
  549. "requestBody" : {
  550. "content" : {
  551. "application/json" : {
  552. "schema" : {
  553. "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherBatchqueryModel"
  554. }
  555. }
  556. },
  557. "required" : false
  558. }
  559. }
  560. },
  561. "/v3/alipay/commerce/cityfacilitator/voucher/generate" : {
  562. "post" : {
  563. "tags" : [ "alipay.commerce.cityfacilitator.voucher" ],
  564. "summary" : "地铁购票核销码发码",
  565. "description" : "商户APP调快捷支付付款后,获取地铁购票的核销码",
  566. "operationId" : "alipay.commerce.cityfacilitator.voucher.generate",
  567. "responses" : {
  568. "200" : {
  569. "description" : "common response",
  570. "content" : {
  571. "application/json" : {
  572. "schema" : {
  573. "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherGenerateResponseModel"
  574. }
  575. }
  576. }
  577. },
  578. "default" : {
  579. "description" : "请求失败",
  580. "content" : {
  581. "application/json" : {
  582. "schema" : {
  583. "anyOf" : [ {
  584. "$ref" : "#/components/schemas/CommonErrorType"
  585. }, {
  586. "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherGenerateErrorResponseModel"
  587. } ]
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "requestBody" : {
  594. "content" : {
  595. "application/json" : {
  596. "schema" : {
  597. "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherGenerateModel"
  598. }
  599. }
  600. },
  601. "required" : false
  602. }
  603. }
  604. },
  605. "/v3/alipay/commerce/cityfacilitator/voucher/refund" : {
  606. "post" : {
  607. "tags" : [ "alipay.commerce.cityfacilitator.voucher" ],
  608. "summary" : "地铁购票发码退款",
  609. "description" : "地铁购票,商户发码后,调该接口从中间户退款",
  610. "operationId" : "alipay.commerce.cityfacilitator.voucher.refund",
  611. "responses" : {
  612. "200" : {
  613. "description" : "common response",
  614. "content" : {
  615. "application/json" : {
  616. "schema" : {
  617. "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherRefundResponseModel"
  618. }
  619. }
  620. }
  621. },
  622. "default" : {
  623. "description" : "请求失败",
  624. "content" : {
  625. "application/json" : {
  626. "schema" : {
  627. "anyOf" : [ {
  628. "$ref" : "#/components/schemas/CommonErrorType"
  629. }, {
  630. "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherRefundErrorResponseModel"
  631. } ]
  632. }
  633. }
  634. }
  635. }
  636. },
  637. "requestBody" : {
  638. "content" : {
  639. "application/json" : {
  640. "schema" : {
  641. "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherRefundModel"
  642. }
  643. }
  644. },
  645. "required" : false
  646. }
  647. }
  648. },
  649. "/v3/alipay/commerce/ec/balance/downloadurl/query" : {
  650. "get" : {
  651. "tags" : [ "alipay.commerce.ec.balance.downloadurl" ],
  652. "summary" : "对账单文件下载接口",
  653. "description" : "对账单文件下载接口",
  654. "operationId" : "alipay.commerce.ec.balance.downloadurl.query",
  655. "responses" : {
  656. "200" : {
  657. "description" : "common response",
  658. "content" : {
  659. "application/json" : {
  660. "schema" : {
  661. "$ref" : "#/components/schemas/AlipayCommerceEcBalanceDownloadurlQueryResponseModel"
  662. }
  663. }
  664. }
  665. },
  666. "default" : {
  667. "description" : "请求失败",
  668. "content" : {
  669. "application/json" : {
  670. "schema" : {
  671. "anyOf" : [ {
  672. "$ref" : "#/components/schemas/CommonErrorType"
  673. }, {
  674. "$ref" : "#/components/schemas/AlipayCommerceEcBalanceDownloadurlQueryErrorResponseModel"
  675. } ]
  676. }
  677. }
  678. }
  679. }
  680. },
  681. "parameters" : [ {
  682. "name" : "enterprise_id",
  683. "in" : "query",
  684. "description" : "企业ID",
  685. "schema" : {
  686. "type" : "string",
  687. "example" : "2088123456789000"
  688. }
  689. }, {
  690. "name" : "account_id",
  691. "in" : "query",
  692. "description" : "共同账户ID",
  693. "schema" : {
  694. "type" : "string",
  695. "example" : "2088000295356628"
  696. }
  697. }, {
  698. "name" : "agreement_no",
  699. "in" : "query",
  700. "description" : "授权签约协议号",
  701. "schema" : {
  702. "type" : "string",
  703. "example" : "20205820659822371223"
  704. }
  705. }, {
  706. "name" : "bill_type",
  707. "in" : "query",
  708. "description" : "账单类型",
  709. "schema" : {
  710. "type" : "string",
  711. "example" : "enterprisetrade"
  712. }
  713. }, {
  714. "name" : "bill_date",
  715. "in" : "query",
  716. "description" : "账单时间",
  717. "schema" : {
  718. "type" : "string",
  719. "example" : "yyyy-MM-dd"
  720. }
  721. } ]
  722. }
  723. },
  724. "/v3/alipay/commerce/ec/balance/period/modify" : {
  725. "post" : {
  726. "tags" : [ "alipay.commerce.ec.balance.period" ],
  727. "summary" : "企业码月对账单账期修改",
  728. "description" : "用于在企业码B端后台创建的企业调整月对账单账期",
  729. "operationId" : "alipay.commerce.ec.balance.period.modify",
  730. "responses" : {
  731. "200" : {
  732. "description" : "common response",
  733. "content" : {
  734. "application/json" : {
  735. "schema" : {
  736. "$ref" : "#/components/schemas/AlipayCommerceEcBalancePeriodModifyResponseModel"
  737. }
  738. }
  739. }
  740. },
  741. "default" : {
  742. "description" : "请求失败",
  743. "content" : {
  744. "application/json" : {
  745. "schema" : {
  746. "anyOf" : [ {
  747. "$ref" : "#/components/schemas/CommonErrorType"
  748. }, {
  749. "$ref" : "#/components/schemas/AlipayCommerceEcBalancePeriodModifyErrorResponseModel"
  750. } ]
  751. }
  752. }
  753. }
  754. }
  755. },
  756. "requestBody" : {
  757. "content" : {
  758. "application/json" : {
  759. "schema" : {
  760. "$ref" : "#/components/schemas/AlipayCommerceEcBalancePeriodModifyModel"
  761. }
  762. }
  763. },
  764. "required" : false
  765. }
  766. }
  767. },
  768. "/v3/alipay/commerce/ec/consume/detail/query" : {
  769. "post" : {
  770. "tags" : [ "alipay.commerce.ec.consume.detail" ],
  771. "summary" : "企业码账单详情查询",
  772. "description" : "用于企业查询企业码账单详情",
  773. "operationId" : "alipay.commerce.ec.consume.detail.query",
  774. "responses" : {
  775. "200" : {
  776. "description" : "common response",
  777. "content" : {
  778. "application/json" : {
  779. "schema" : {
  780. "$ref" : "#/components/schemas/AlipayCommerceEcConsumeDetailQueryResponseModel"
  781. }
  782. }
  783. }
  784. },
  785. "default" : {
  786. "description" : "请求失败",
  787. "content" : {
  788. "application/json" : {
  789. "schema" : {
  790. "anyOf" : [ {
  791. "$ref" : "#/components/schemas/CommonErrorType"
  792. }, {
  793. "$ref" : "#/components/schemas/AlipayCommerceEcConsumeDetailQueryErrorResponseModel"
  794. } ]
  795. }
  796. }
  797. }
  798. }
  799. },
  800. "requestBody" : {
  801. "content" : {
  802. "application/json" : {
  803. "schema" : {
  804. "$ref" : "#/components/schemas/AlipayCommerceEcConsumeDetailQueryModel"
  805. }
  806. }
  807. },
  808. "required" : false
  809. }
  810. }
  811. },
  812. "/v3/alipay/commerce/ec/department" : {
  813. "put" : {
  814. "tags" : [ "alipay.commerce.ec.department.info" ],
  815. "summary" : "企业部门信息修改",
  816. "description" : "修改企业部门信息",
  817. "operationId" : "alipay.commerce.ec.department.info.modify",
  818. "responses" : {
  819. "200" : {
  820. "description" : "common response",
  821. "content" : {
  822. "application/json" : {
  823. "schema" : {
  824. "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentInfoModifyResponseModel"
  825. }
  826. }
  827. }
  828. },
  829. "default" : {
  830. "description" : "请求失败",
  831. "content" : {
  832. "application/json" : {
  833. "schema" : {
  834. "anyOf" : [ {
  835. "$ref" : "#/components/schemas/CommonErrorType"
  836. }, {
  837. "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentInfoModifyErrorResponseModel"
  838. } ]
  839. }
  840. }
  841. }
  842. }
  843. },
  844. "requestBody" : {
  845. "content" : {
  846. "application/json" : {
  847. "schema" : {
  848. "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentInfoModifyModel"
  849. }
  850. }
  851. },
  852. "required" : false
  853. }
  854. },
  855. "post" : {
  856. "tags" : [ "alipay.commerce.ec.department" ],
  857. "summary" : "企业部门创建",
  858. "description" : "创建企业部门",
  859. "operationId" : "alipay.commerce.ec.department.create",
  860. "responses" : {
  861. "200" : {
  862. "description" : "common response",
  863. "content" : {
  864. "application/json" : {
  865. "schema" : {
  866. "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentCreateResponseModel"
  867. }
  868. }
  869. }
  870. },
  871. "default" : {
  872. "description" : "请求失败",
  873. "content" : {
  874. "application/json" : {
  875. "schema" : {
  876. "anyOf" : [ {
  877. "$ref" : "#/components/schemas/CommonErrorType"
  878. }, {
  879. "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentCreateErrorResponseModel"
  880. } ]
  881. }
  882. }
  883. }
  884. }
  885. },
  886. "requestBody" : {
  887. "content" : {
  888. "application/json" : {
  889. "schema" : {
  890. "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentCreateModel"
  891. }
  892. }
  893. },
  894. "required" : false
  895. }
  896. }
  897. },
  898. "/v3/alipay/commerce/ec/department/delete" : {
  899. "post" : {
  900. "tags" : [ "alipay.commerce.ec.department" ],
  901. "summary" : "企业部门删除",
  902. "description" : "删除企业部门",
  903. "operationId" : "alipay.commerce.ec.department.delete",
  904. "responses" : {
  905. "200" : {
  906. "description" : "common response",
  907. "content" : {
  908. "application/json" : {
  909. "schema" : {
  910. "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentDeleteResponseModel"
  911. }
  912. }
  913. }
  914. },
  915. "default" : {
  916. "description" : "请求失败",
  917. "content" : {
  918. "application/json" : {
  919. "schema" : {
  920. "anyOf" : [ {
  921. "$ref" : "#/components/schemas/CommonErrorType"
  922. }, {
  923. "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentDeleteErrorResponseModel"
  924. } ]
  925. }
  926. }
  927. }
  928. }
  929. },
  930. "requestBody" : {
  931. "content" : {
  932. "application/json" : {
  933. "schema" : {
  934. "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentDeleteModel"
  935. }
  936. }
  937. },
  938. "required" : false
  939. }
  940. }
  941. },
  942. "/v3/alipay/commerce/ec/department/info/query" : {
  943. "get" : {
  944. "tags" : [ "alipay.commerce.ec.department.info" ],
  945. "summary" : "查询部门详情",
  946. "description" : "根据部门id查询企业下某个部门的详细信息",
  947. "operationId" : "alipay.commerce.ec.department.info.query",
  948. "responses" : {
  949. "200" : {
  950. "description" : "common response",
  951. "content" : {
  952. "application/json" : {
  953. "schema" : {
  954. "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentInfoQueryResponseModel"
  955. }
  956. }
  957. }
  958. },
  959. "default" : {
  960. "description" : "请求失败",
  961. "content" : {
  962. "application/json" : {
  963. "schema" : {
  964. "anyOf" : [ {
  965. "$ref" : "#/components/schemas/CommonErrorType"
  966. }, {
  967. "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentInfoQueryErrorResponseModel"
  968. } ]
  969. }
  970. }
  971. }
  972. }
  973. },
  974. "parameters" : [ {
  975. "name" : "enterprise_id",
  976. "in" : "query",
  977. "description" : "企业id",
  978. "schema" : {
  979. "type" : "string",
  980. "example" : "2088441363102941"
  981. }
  982. }, {
  983. "name" : "department_id",
  984. "in" : "query",
  985. "description" : "部门id",
  986. "schema" : {
  987. "type" : "string",
  988. "example" : "1001094000039142"
  989. }
  990. } ]
  991. }
  992. },
  993. "/v3/alipay/commerce/ec/department/sublist/query" : {
  994. "get" : {
  995. "tags" : [ "alipay.commerce.ec.department.sublist" ],
  996. "summary" : "查询子部门id列表",
  997. "description" : "查询某个部门的子部门id列表,支持查询根部门id",
  998. "operationId" : "alipay.commerce.ec.department.sublist.query",
  999. "responses" : {
  1000. "200" : {
  1001. "description" : "common response",
  1002. "content" : {
  1003. "application/json" : {
  1004. "schema" : {
  1005. "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentSublistQueryResponseModel"
  1006. }
  1007. }
  1008. }
  1009. },
  1010. "default" : {
  1011. "description" : "请求失败",
  1012. "content" : {
  1013. "application/json" : {
  1014. "schema" : {
  1015. "anyOf" : [ {
  1016. "$ref" : "#/components/schemas/CommonErrorType"
  1017. }, {
  1018. "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentSublistQueryErrorResponseModel"
  1019. } ]
  1020. }
  1021. }
  1022. }
  1023. }
  1024. },
  1025. "parameters" : [ {
  1026. "name" : "enterprise_id",
  1027. "in" : "query",
  1028. "description" : "企业id",
  1029. "schema" : {
  1030. "type" : "string",
  1031. "example" : "2088441363102941"
  1032. }
  1033. }, {
  1034. "name" : "department_id",
  1035. "in" : "query",
  1036. "description" : "部门id,特殊值 -1 表示查询根部门id",
  1037. "schema" : {
  1038. "type" : "string",
  1039. "example" : "1001094000039142"
  1040. }
  1041. } ]
  1042. }
  1043. },
  1044. "/v3/alipay/commerce/ec/employee/add" : {
  1045. "post" : {
  1046. "tags" : [ "alipay.commerce.ec.employee" ],
  1047. "summary" : "添加员工",
  1048. "description" : "企业添加员工,并返回员工签约链接",
  1049. "operationId" : "alipay.commerce.ec.employee.add",
  1050. "responses" : {
  1051. "200" : {
  1052. "description" : "common response",
  1053. "content" : {
  1054. "application/json" : {
  1055. "schema" : {
  1056. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeAddResponseModel"
  1057. }
  1058. }
  1059. }
  1060. },
  1061. "default" : {
  1062. "description" : "请求失败",
  1063. "content" : {
  1064. "application/json" : {
  1065. "schema" : {
  1066. "anyOf" : [ {
  1067. "$ref" : "#/components/schemas/CommonErrorType"
  1068. }, {
  1069. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeAddErrorResponseModel"
  1070. } ]
  1071. }
  1072. }
  1073. }
  1074. }
  1075. },
  1076. "requestBody" : {
  1077. "content" : {
  1078. "application/json" : {
  1079. "schema" : {
  1080. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeAddModel"
  1081. }
  1082. }
  1083. },
  1084. "required" : false
  1085. }
  1086. }
  1087. },
  1088. "/v3/alipay/commerce/ec/employee/delete" : {
  1089. "post" : {
  1090. "tags" : [ "alipay.commerce.ec.employee" ],
  1091. "summary" : "删除员工",
  1092. "description" : "删除员工并解绑因公付",
  1093. "operationId" : "alipay.commerce.ec.employee.delete",
  1094. "responses" : {
  1095. "200" : {
  1096. "description" : "common response",
  1097. "content" : {
  1098. "application/json" : {
  1099. "schema" : {
  1100. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeDeleteResponseModel"
  1101. }
  1102. }
  1103. }
  1104. },
  1105. "default" : {
  1106. "description" : "请求失败",
  1107. "content" : {
  1108. "application/json" : {
  1109. "schema" : {
  1110. "anyOf" : [ {
  1111. "$ref" : "#/components/schemas/CommonErrorType"
  1112. }, {
  1113. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeDeleteErrorResponseModel"
  1114. } ]
  1115. }
  1116. }
  1117. }
  1118. }
  1119. },
  1120. "requestBody" : {
  1121. "content" : {
  1122. "application/json" : {
  1123. "schema" : {
  1124. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeDeleteModel"
  1125. }
  1126. }
  1127. },
  1128. "required" : false
  1129. }
  1130. }
  1131. },
  1132. "/v3/alipay/commerce/ec/employee/idlist/query" : {
  1133. "get" : {
  1134. "tags" : [ "alipay.commerce.ec.employee.idlist" ],
  1135. "summary" : "查询部门下员工id列表",
  1136. "description" : "查询某个部门下员工id列表",
  1137. "operationId" : "alipay.commerce.ec.employee.idlist.query",
  1138. "responses" : {
  1139. "200" : {
  1140. "description" : "common response",
  1141. "content" : {
  1142. "application/json" : {
  1143. "schema" : {
  1144. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeIdlistQueryResponseModel"
  1145. }
  1146. }
  1147. }
  1148. },
  1149. "default" : {
  1150. "description" : "请求失败",
  1151. "content" : {
  1152. "application/json" : {
  1153. "schema" : {
  1154. "anyOf" : [ {
  1155. "$ref" : "#/components/schemas/CommonErrorType"
  1156. }, {
  1157. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeIdlistQueryErrorResponseModel"
  1158. } ]
  1159. }
  1160. }
  1161. }
  1162. }
  1163. },
  1164. "parameters" : [ {
  1165. "name" : "enterprise_id",
  1166. "in" : "query",
  1167. "description" : "企业id",
  1168. "schema" : {
  1169. "type" : "string",
  1170. "example" : "2088441363102941"
  1171. }
  1172. }, {
  1173. "name" : "department_id",
  1174. "in" : "query",
  1175. "description" : "部门id",
  1176. "schema" : {
  1177. "type" : "string",
  1178. "example" : "1001094000039142"
  1179. }
  1180. }, {
  1181. "name" : "page_num",
  1182. "in" : "query",
  1183. "description" : "查询页数",
  1184. "schema" : {
  1185. "type" : "integer",
  1186. "example" : "1"
  1187. }
  1188. }, {
  1189. "name" : "page_size",
  1190. "in" : "query",
  1191. "description" : "每页查询大小,限制最大为1000",
  1192. "schema" : {
  1193. "type" : "integer",
  1194. "example" : "1000"
  1195. }
  1196. } ]
  1197. }
  1198. },
  1199. "/v3/alipay/commerce/ec/employee/info" : {
  1200. "put" : {
  1201. "tags" : [ "alipay.commerce.ec.employee.info" ],
  1202. "summary" : "员工信息修改",
  1203. "description" : "员工信息修改",
  1204. "operationId" : "alipay.commerce.ec.employee.info.modify",
  1205. "responses" : {
  1206. "200" : {
  1207. "description" : "common response",
  1208. "content" : {
  1209. "application/json" : {
  1210. "schema" : {
  1211. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeInfoModifyResponseModel"
  1212. }
  1213. }
  1214. }
  1215. },
  1216. "default" : {
  1217. "description" : "请求失败",
  1218. "content" : {
  1219. "application/json" : {
  1220. "schema" : {
  1221. "anyOf" : [ {
  1222. "$ref" : "#/components/schemas/CommonErrorType"
  1223. }, {
  1224. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeInfoModifyErrorResponseModel"
  1225. } ]
  1226. }
  1227. }
  1228. }
  1229. }
  1230. },
  1231. "requestBody" : {
  1232. "content" : {
  1233. "application/json" : {
  1234. "schema" : {
  1235. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeInfoModifyModel"
  1236. }
  1237. }
  1238. },
  1239. "required" : false
  1240. }
  1241. }
  1242. },
  1243. "/v3/alipay/commerce/ec/employee/info/query" : {
  1244. "get" : {
  1245. "tags" : [ "alipay.commerce.ec.employee.info" ],
  1246. "summary" : "查询员工详情",
  1247. "description" : "根据员工id或员工uid查询企业下某个员工的详细信息",
  1248. "operationId" : "alipay.commerce.ec.employee.info.query",
  1249. "responses" : {
  1250. "200" : {
  1251. "description" : "common response",
  1252. "content" : {
  1253. "application/json" : {
  1254. "schema" : {
  1255. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeInfoQueryResponseModel"
  1256. }
  1257. }
  1258. }
  1259. },
  1260. "default" : {
  1261. "description" : "请求失败",
  1262. "content" : {
  1263. "application/json" : {
  1264. "schema" : {
  1265. "anyOf" : [ {
  1266. "$ref" : "#/components/schemas/CommonErrorType"
  1267. }, {
  1268. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeInfoQueryErrorResponseModel"
  1269. } ]
  1270. }
  1271. }
  1272. }
  1273. }
  1274. },
  1275. "parameters" : [ {
  1276. "name" : "enterprise_id",
  1277. "in" : "query",
  1278. "description" : "企业id",
  1279. "schema" : {
  1280. "type" : "string",
  1281. "example" : "2088441363102941"
  1282. }
  1283. }, {
  1284. "name" : "employee_id",
  1285. "in" : "query",
  1286. "description" : "员工id",
  1287. "schema" : {
  1288. "type" : "string",
  1289. "example" : "228420000000057942506"
  1290. }
  1291. }, {
  1292. "name" : "open_id",
  1293. "in" : "query",
  1294. "description" : "蚂蚁统一会员ID",
  1295. "schema" : {
  1296. "type" : "string",
  1297. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  1298. }
  1299. }, {
  1300. "name" : "user_id",
  1301. "in" : "query",
  1302. "description" : "蚂蚁统一会员ID",
  1303. "schema" : {
  1304. "type" : "string",
  1305. "example" : "2088501304519332"
  1306. }
  1307. } ]
  1308. }
  1309. },
  1310. "/v3/alipay/commerce/ec/employee/invite" : {
  1311. "get" : {
  1312. "tags" : [ "alipay.commerce.ec.employee.invite" ],
  1313. "summary" : "获取员工邀请链接",
  1314. "description" : "获取员工邀请链接,若只传入企业ID企业则邀请链接对企业员工均有效,若传入了企业ID和员工ID则链接只对传入的员工ID有效",
  1315. "operationId" : "alipay.commerce.ec.employee.invite.query",
  1316. "responses" : {
  1317. "200" : {
  1318. "description" : "common response",
  1319. "content" : {
  1320. "application/json" : {
  1321. "schema" : {
  1322. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeInviteQueryResponseModel"
  1323. }
  1324. }
  1325. }
  1326. },
  1327. "default" : {
  1328. "description" : "请求失败",
  1329. "content" : {
  1330. "application/json" : {
  1331. "schema" : {
  1332. "anyOf" : [ {
  1333. "$ref" : "#/components/schemas/CommonErrorType"
  1334. }, {
  1335. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeInviteQueryErrorResponseModel"
  1336. } ]
  1337. }
  1338. }
  1339. }
  1340. }
  1341. },
  1342. "parameters" : [ {
  1343. "name" : "enterprise_id",
  1344. "in" : "query",
  1345. "description" : "企业id",
  1346. "schema" : {
  1347. "type" : "string",
  1348. "example" : "2088985758939"
  1349. }
  1350. }, {
  1351. "name" : "employee_id",
  1352. "in" : "query",
  1353. "description" : "企业码员工ID",
  1354. "schema" : {
  1355. "type" : "string",
  1356. "example" : "2288099887700000"
  1357. }
  1358. }, {
  1359. "name" : "page_content_code",
  1360. "in" : "query",
  1361. "description" : "页面内容code",
  1362. "schema" : {
  1363. "type" : "string",
  1364. "example" : "PCC_STANDARD"
  1365. }
  1366. } ]
  1367. }
  1368. },
  1369. "/v3/alipay/commerce/ec/employee/title" : {
  1370. "put" : {
  1371. "tags" : [ "alipay.commerce.ec.employee.title" ],
  1372. "summary" : "修改员工抬头信息",
  1373. "description" : "修改员工抬头信息",
  1374. "operationId" : "alipay.commerce.ec.employee.title.modify",
  1375. "responses" : {
  1376. "200" : {
  1377. "description" : "common response",
  1378. "content" : {
  1379. "application/json" : {
  1380. "schema" : {
  1381. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleModifyResponseModel"
  1382. }
  1383. }
  1384. }
  1385. },
  1386. "default" : {
  1387. "description" : "请求失败",
  1388. "content" : {
  1389. "application/json" : {
  1390. "schema" : {
  1391. "anyOf" : [ {
  1392. "$ref" : "#/components/schemas/CommonErrorType"
  1393. }, {
  1394. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleModifyErrorResponseModel"
  1395. } ]
  1396. }
  1397. }
  1398. }
  1399. }
  1400. },
  1401. "requestBody" : {
  1402. "content" : {
  1403. "application/json" : {
  1404. "schema" : {
  1405. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleModifyModel"
  1406. }
  1407. }
  1408. },
  1409. "required" : false
  1410. }
  1411. },
  1412. "post" : {
  1413. "tags" : [ "alipay.commerce.ec.employee.title" ],
  1414. "summary" : "新增员工抬头关系",
  1415. "description" : "批量新增员工抬头关系",
  1416. "operationId" : "alipay.commerce.ec.employee.title.create",
  1417. "responses" : {
  1418. "200" : {
  1419. "description" : "common response",
  1420. "content" : {
  1421. "application/json" : {
  1422. "schema" : {
  1423. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleCreateResponseModel"
  1424. }
  1425. }
  1426. }
  1427. },
  1428. "default" : {
  1429. "description" : "请求失败",
  1430. "content" : {
  1431. "application/json" : {
  1432. "schema" : {
  1433. "anyOf" : [ {
  1434. "$ref" : "#/components/schemas/CommonErrorType"
  1435. }, {
  1436. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleCreateErrorResponseModel"
  1437. } ]
  1438. }
  1439. }
  1440. }
  1441. }
  1442. },
  1443. "requestBody" : {
  1444. "content" : {
  1445. "application/json" : {
  1446. "schema" : {
  1447. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleCreateModel"
  1448. }
  1449. }
  1450. },
  1451. "required" : false
  1452. }
  1453. }
  1454. },
  1455. "/v3/alipay/commerce/ec/employee/title/delete" : {
  1456. "post" : {
  1457. "tags" : [ "alipay.commerce.ec.employee.title" ],
  1458. "summary" : "删除员工抬头信息",
  1459. "description" : "批量删除员工抬头信息",
  1460. "operationId" : "alipay.commerce.ec.employee.title.delete",
  1461. "responses" : {
  1462. "200" : {
  1463. "description" : "common response",
  1464. "content" : {
  1465. "application/json" : {
  1466. "schema" : {
  1467. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleDeleteResponseModel"
  1468. }
  1469. }
  1470. }
  1471. },
  1472. "default" : {
  1473. "description" : "请求失败",
  1474. "content" : {
  1475. "application/json" : {
  1476. "schema" : {
  1477. "anyOf" : [ {
  1478. "$ref" : "#/components/schemas/CommonErrorType"
  1479. }, {
  1480. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleDeleteErrorResponseModel"
  1481. } ]
  1482. }
  1483. }
  1484. }
  1485. }
  1486. },
  1487. "requestBody" : {
  1488. "content" : {
  1489. "application/json" : {
  1490. "schema" : {
  1491. "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleDeleteModel"
  1492. }
  1493. }
  1494. },
  1495. "required" : false
  1496. }
  1497. }
  1498. },
  1499. "/v3/alipay/commerce/ec/enterprise" : {
  1500. "put" : {
  1501. "tags" : [ "alipay.commerce.ec.enterprise.info" ],
  1502. "summary" : "企业信息修改",
  1503. "description" : "修改企业信息",
  1504. "operationId" : "alipay.commerce.ec.enterprise.info.modify",
  1505. "responses" : {
  1506. "200" : {
  1507. "description" : "common response",
  1508. "content" : {
  1509. "application/json" : {
  1510. "schema" : {
  1511. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseInfoModifyResponseModel"
  1512. }
  1513. }
  1514. }
  1515. },
  1516. "default" : {
  1517. "description" : "请求失败",
  1518. "content" : {
  1519. "application/json" : {
  1520. "schema" : {
  1521. "anyOf" : [ {
  1522. "$ref" : "#/components/schemas/CommonErrorType"
  1523. }, {
  1524. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseInfoModifyErrorResponseModel"
  1525. } ]
  1526. }
  1527. }
  1528. }
  1529. }
  1530. },
  1531. "requestBody" : {
  1532. "content" : {
  1533. "application/json" : {
  1534. "schema" : {
  1535. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseInfoModifyModel"
  1536. }
  1537. }
  1538. },
  1539. "required" : false
  1540. }
  1541. }
  1542. },
  1543. "/v3/alipay/commerce/ec/enterprise/address" : {
  1544. "get" : {
  1545. "tags" : [ "alipay.commerce.ec.enterprise.address" ],
  1546. "summary" : "企业地址查询",
  1547. "description" : "查询企业地址信息",
  1548. "operationId" : "alipay.commerce.ec.enterprise.address.query",
  1549. "responses" : {
  1550. "200" : {
  1551. "description" : "common response",
  1552. "content" : {
  1553. "application/json" : {
  1554. "schema" : {
  1555. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressQueryResponseModel"
  1556. }
  1557. }
  1558. }
  1559. },
  1560. "default" : {
  1561. "description" : "请求失败",
  1562. "content" : {
  1563. "application/json" : {
  1564. "schema" : {
  1565. "anyOf" : [ {
  1566. "$ref" : "#/components/schemas/CommonErrorType"
  1567. }, {
  1568. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressQueryErrorResponseModel"
  1569. } ]
  1570. }
  1571. }
  1572. }
  1573. }
  1574. },
  1575. "parameters" : [ {
  1576. "name" : "enterprise_id",
  1577. "in" : "query",
  1578. "description" : "企业id和account_id二选一",
  1579. "schema" : {
  1580. "type" : "string",
  1581. "example" : "208890399440"
  1582. }
  1583. }, {
  1584. "name" : "account_id",
  1585. "in" : "query",
  1586. "description" : "共同账户id和enterprise_id二选一",
  1587. "schema" : {
  1588. "type" : "string",
  1589. "example" : "2088483784949"
  1590. }
  1591. }, {
  1592. "name" : "agreement_no",
  1593. "in" : "query",
  1594. "description" : "协议号,如果填共同账户id,则该字段必填",
  1595. "schema" : {
  1596. "type" : "string",
  1597. "example" : "23893293203"
  1598. }
  1599. }, {
  1600. "name" : "address_id",
  1601. "in" : "query",
  1602. "description" : "地址id",
  1603. "schema" : {
  1604. "type" : "string",
  1605. "example" : "190309300303"
  1606. }
  1607. }, {
  1608. "name" : "city_code",
  1609. "in" : "query",
  1610. "description" : "市",
  1611. "schema" : {
  1612. "type" : "string",
  1613. "example" : "310023"
  1614. }
  1615. }, {
  1616. "name" : "page_num",
  1617. "in" : "query",
  1618. "description" : "页码从1开始",
  1619. "schema" : {
  1620. "type" : "integer",
  1621. "example" : "1"
  1622. }
  1623. }, {
  1624. "name" : "page_size",
  1625. "in" : "query",
  1626. "description" : "每页数据",
  1627. "schema" : {
  1628. "type" : "integer",
  1629. "example" : "20"
  1630. }
  1631. } ]
  1632. },
  1633. "put" : {
  1634. "tags" : [ "alipay.commerce.ec.enterprise.address" ],
  1635. "summary" : "企业地址修改",
  1636. "description" : "企业地址修改",
  1637. "operationId" : "alipay.commerce.ec.enterprise.address.modify",
  1638. "responses" : {
  1639. "200" : {
  1640. "description" : "common response",
  1641. "content" : {
  1642. "application/json" : {
  1643. "schema" : {
  1644. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressModifyResponseModel"
  1645. }
  1646. }
  1647. }
  1648. },
  1649. "default" : {
  1650. "description" : "请求失败",
  1651. "content" : {
  1652. "application/json" : {
  1653. "schema" : {
  1654. "anyOf" : [ {
  1655. "$ref" : "#/components/schemas/CommonErrorType"
  1656. }, {
  1657. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressModifyErrorResponseModel"
  1658. } ]
  1659. }
  1660. }
  1661. }
  1662. }
  1663. },
  1664. "requestBody" : {
  1665. "content" : {
  1666. "application/json" : {
  1667. "schema" : {
  1668. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressModifyModel"
  1669. }
  1670. }
  1671. },
  1672. "required" : false
  1673. }
  1674. },
  1675. "post" : {
  1676. "tags" : [ "alipay.commerce.ec.enterprise.address" ],
  1677. "summary" : "企业地址添加",
  1678. "description" : "企业地址添加",
  1679. "operationId" : "alipay.commerce.ec.enterprise.address.add",
  1680. "responses" : {
  1681. "200" : {
  1682. "description" : "common response",
  1683. "content" : {
  1684. "application/json" : {
  1685. "schema" : {
  1686. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressAddResponseModel"
  1687. }
  1688. }
  1689. }
  1690. },
  1691. "default" : {
  1692. "description" : "请求失败",
  1693. "content" : {
  1694. "application/json" : {
  1695. "schema" : {
  1696. "anyOf" : [ {
  1697. "$ref" : "#/components/schemas/CommonErrorType"
  1698. }, {
  1699. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressAddErrorResponseModel"
  1700. } ]
  1701. }
  1702. }
  1703. }
  1704. }
  1705. },
  1706. "requestBody" : {
  1707. "content" : {
  1708. "application/json" : {
  1709. "schema" : {
  1710. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressAddModel"
  1711. }
  1712. }
  1713. },
  1714. "required" : false
  1715. }
  1716. }
  1717. },
  1718. "/v3/alipay/commerce/ec/enterprise/agreement" : {
  1719. "get" : {
  1720. "tags" : [ "alipay.commerce.ec.enterprise.agreement" ],
  1721. "summary" : "查询企业签约企业码信息",
  1722. "description" : "查询企业签约企业码信息",
  1723. "operationId" : "alipay.commerce.ec.enterprise.agreement.query",
  1724. "responses" : {
  1725. "200" : {
  1726. "description" : "common response",
  1727. "content" : {
  1728. "application/json" : {
  1729. "schema" : {
  1730. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAgreementQueryResponseModel"
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "default" : {
  1736. "description" : "请求失败",
  1737. "content" : {
  1738. "application/json" : {
  1739. "schema" : {
  1740. "anyOf" : [ {
  1741. "$ref" : "#/components/schemas/CommonErrorType"
  1742. }, {
  1743. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAgreementQueryErrorResponseModel"
  1744. } ]
  1745. }
  1746. }
  1747. }
  1748. }
  1749. },
  1750. "parameters" : [ {
  1751. "name" : "enterprise_id",
  1752. "in" : "query",
  1753. "description" : "企业id;enterprise_id与account_id至少传一个,如果都传了优先使用enterprise_id",
  1754. "schema" : {
  1755. "type" : "string",
  1756. "example" : "2088441399627416"
  1757. }
  1758. }, {
  1759. "name" : "account_id",
  1760. "in" : "query",
  1761. "description" : "资金共同账号id;enterprise_id与account_id至少传一个,如果都传了优先使用enterprise_id",
  1762. "schema" : {
  1763. "type" : "string",
  1764. "example" : "2088610274867962"
  1765. }
  1766. } ]
  1767. }
  1768. },
  1769. "/v3/alipay/commerce/ec/enterprise/create" : {
  1770. "post" : {
  1771. "tags" : [ "alipay.commerce.ec.enterprise" ],
  1772. "summary" : "企业入驻",
  1773. "description" : "企业入驻,并返回签约链接",
  1774. "operationId" : "alipay.commerce.ec.enterprise.create",
  1775. "responses" : {
  1776. "200" : {
  1777. "description" : "common response",
  1778. "content" : {
  1779. "application/json" : {
  1780. "schema" : {
  1781. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseCreateResponseModel"
  1782. }
  1783. }
  1784. }
  1785. },
  1786. "default" : {
  1787. "description" : "请求失败",
  1788. "content" : {
  1789. "application/json" : {
  1790. "schema" : {
  1791. "anyOf" : [ {
  1792. "$ref" : "#/components/schemas/CommonErrorType"
  1793. }, {
  1794. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseCreateErrorResponseModel"
  1795. } ]
  1796. }
  1797. }
  1798. }
  1799. }
  1800. },
  1801. "requestBody" : {
  1802. "content" : {
  1803. "application/json" : {
  1804. "schema" : {
  1805. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseCreateModel"
  1806. }
  1807. }
  1808. },
  1809. "required" : false
  1810. }
  1811. }
  1812. },
  1813. "/v3/alipay/commerce/ec/enterprise/delete" : {
  1814. "post" : {
  1815. "tags" : [ "alipay.commerce.ec.enterprise" ],
  1816. "summary" : "企业注销",
  1817. "description" : "企业注销,清理企业数据",
  1818. "operationId" : "alipay.commerce.ec.enterprise.delete",
  1819. "responses" : {
  1820. "200" : {
  1821. "description" : "common response",
  1822. "content" : {
  1823. "application/json" : {
  1824. "schema" : {
  1825. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseDeleteResponseModel"
  1826. }
  1827. }
  1828. }
  1829. },
  1830. "default" : {
  1831. "description" : "请求失败",
  1832. "content" : {
  1833. "application/json" : {
  1834. "schema" : {
  1835. "anyOf" : [ {
  1836. "$ref" : "#/components/schemas/CommonErrorType"
  1837. }, {
  1838. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseDeleteErrorResponseModel"
  1839. } ]
  1840. }
  1841. }
  1842. }
  1843. }
  1844. },
  1845. "requestBody" : {
  1846. "content" : {
  1847. "application/json" : {
  1848. "schema" : {
  1849. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseDeleteModel"
  1850. }
  1851. }
  1852. },
  1853. "required" : false
  1854. }
  1855. }
  1856. },
  1857. "/v3/alipay/commerce/ec/enterprise/info" : {
  1858. "get" : {
  1859. "tags" : [ "alipay.commerce.ec.enterprise.info" ],
  1860. "summary" : "查询企业详情",
  1861. "description" : "查询企业详细信息",
  1862. "operationId" : "alipay.commerce.ec.enterprise.info.query",
  1863. "responses" : {
  1864. "200" : {
  1865. "description" : "common response",
  1866. "content" : {
  1867. "application/json" : {
  1868. "schema" : {
  1869. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseInfoQueryResponseModel"
  1870. }
  1871. }
  1872. }
  1873. },
  1874. "default" : {
  1875. "description" : "请求失败",
  1876. "content" : {
  1877. "application/json" : {
  1878. "schema" : {
  1879. "anyOf" : [ {
  1880. "$ref" : "#/components/schemas/CommonErrorType"
  1881. }, {
  1882. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseInfoQueryErrorResponseModel"
  1883. } ]
  1884. }
  1885. }
  1886. }
  1887. }
  1888. },
  1889. "parameters" : [ {
  1890. "name" : "enterprise_id",
  1891. "in" : "query",
  1892. "description" : "企业id",
  1893. "schema" : {
  1894. "type" : "string",
  1895. "example" : "20889490309498"
  1896. }
  1897. } ]
  1898. }
  1899. },
  1900. "/v3/alipay/commerce/ec/enterprise/unsignurl" : {
  1901. "get" : {
  1902. "tags" : [ "alipay.commerce.ec.enterprise" ],
  1903. "summary" : "企业解约",
  1904. "description" : "企业解约,获取解约链接,点击链接跳转到解约页面,进行解约协议",
  1905. "operationId" : "alipay.commerce.ec.enterprise.unsign",
  1906. "responses" : {
  1907. "200" : {
  1908. "description" : "common response",
  1909. "content" : {
  1910. "application/json" : {
  1911. "schema" : {
  1912. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseUnsignResponseModel"
  1913. }
  1914. }
  1915. }
  1916. },
  1917. "default" : {
  1918. "description" : "请求失败",
  1919. "content" : {
  1920. "application/json" : {
  1921. "schema" : {
  1922. "anyOf" : [ {
  1923. "$ref" : "#/components/schemas/CommonErrorType"
  1924. }, {
  1925. "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseUnsignErrorResponseModel"
  1926. } ]
  1927. }
  1928. }
  1929. }
  1930. }
  1931. },
  1932. "parameters" : [ {
  1933. "name" : "enterprise_id",
  1934. "in" : "query",
  1935. "description" : "企业id",
  1936. "schema" : {
  1937. "type" : "string",
  1938. "example" : "208893900430"
  1939. }
  1940. }, {
  1941. "name" : "account_id",
  1942. "in" : "query",
  1943. "description" : "共同账户id和企业id二选一必填",
  1944. "schema" : {
  1945. "type" : "string",
  1946. "example" : "208849300303"
  1947. }
  1948. }, {
  1949. "name" : "agreement_no",
  1950. "in" : "query",
  1951. "description" : "签约协议号,account_id不为空则该字段必填",
  1952. "schema" : {
  1953. "type" : "string",
  1954. "example" : "29300309290200200"
  1955. }
  1956. } ]
  1957. }
  1958. },
  1959. "/v3/alipay/commerce/ec/jointaccountbill/detail/batchquery" : {
  1960. "get" : {
  1961. "tags" : [ "alipay.commerce.ec.jointaccountbill.detail" ],
  1962. "summary" : "企业账单批量分页查询",
  1963. "description" : "分页查询企业账单",
  1964. "operationId" : "alipay.commerce.ec.jointaccountbill.detail.batchquery",
  1965. "responses" : {
  1966. "200" : {
  1967. "description" : "common response",
  1968. "content" : {
  1969. "application/json" : {
  1970. "schema" : {
  1971. "$ref" : "#/components/schemas/AlipayCommerceEcJointaccountbillDetailBatchqueryResponseModel"
  1972. }
  1973. }
  1974. }
  1975. },
  1976. "default" : {
  1977. "description" : "请求失败",
  1978. "content" : {
  1979. "application/json" : {
  1980. "schema" : {
  1981. "anyOf" : [ {
  1982. "$ref" : "#/components/schemas/CommonErrorType"
  1983. }, {
  1984. "$ref" : "#/components/schemas/AlipayCommerceEcJointaccountbillDetailBatchqueryErrorResponseModel"
  1985. } ]
  1986. }
  1987. }
  1988. }
  1989. }
  1990. },
  1991. "parameters" : [ {
  1992. "name" : "enterprise_id",
  1993. "in" : "query",
  1994. "description" : "企业ID",
  1995. "schema" : {
  1996. "type" : "string",
  1997. "example" : "2088123456789000"
  1998. }
  1999. }, {
  2000. "name" : "biz_scene",
  2001. "in" : "query",
  2002. "description" : "业务场景。不传默认为ISV_DEFAULT",
  2003. "schema" : {
  2004. "type" : "string",
  2005. "example" : "ISV_DEFAULT"
  2006. }
  2007. }, {
  2008. "name" : "user_id",
  2009. "in" : "query",
  2010. "description" : "员工支付宝UID",
  2011. "schema" : {
  2012. "type" : "string",
  2013. "example" : "2088123456789000"
  2014. }
  2015. }, {
  2016. "name" : "open_id",
  2017. "in" : "query",
  2018. "description" : "员工支付宝UID",
  2019. "schema" : {
  2020. "type" : "string",
  2021. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  2022. }
  2023. }, {
  2024. "name" : "employee_id",
  2025. "in" : "query",
  2026. "description" : "员工id",
  2027. "schema" : {
  2028. "type" : "string",
  2029. "example" : "2288029541813166"
  2030. }
  2031. }, {
  2032. "name" : "page_num",
  2033. "in" : "query",
  2034. "description" : "页码",
  2035. "schema" : {
  2036. "type" : "string",
  2037. "example" : "1"
  2038. }
  2039. }, {
  2040. "name" : "page_size",
  2041. "in" : "query",
  2042. "description" : "每页大小",
  2043. "schema" : {
  2044. "type" : "string",
  2045. "example" : "20"
  2046. }
  2047. }, {
  2048. "name" : "start_date",
  2049. "in" : "query",
  2050. "description" : "起始日期",
  2051. "schema" : {
  2052. "type" : "string",
  2053. "example" : "yyyy-MM-dd HH:mm:ss"
  2054. }
  2055. }, {
  2056. "name" : "end_date",
  2057. "in" : "query",
  2058. "description" : "截止日期",
  2059. "schema" : {
  2060. "type" : "string",
  2061. "example" : "yyyy-MM-dd HH:mm:ss"
  2062. }
  2063. } ]
  2064. }
  2065. },
  2066. "/v3/alipay/commerce/ec/user/enterprise" : {
  2067. "get" : {
  2068. "tags" : [ "alipay.commerce.ec.user.enterprise" ],
  2069. "summary" : "用户企业列表",
  2070. "description" : "用户所属企业列表",
  2071. "operationId" : "alipay.commerce.ec.user.enterprise.query",
  2072. "responses" : {
  2073. "200" : {
  2074. "description" : "common response",
  2075. "content" : {
  2076. "application/json" : {
  2077. "schema" : {
  2078. "$ref" : "#/components/schemas/AlipayCommerceEcUserEnterpriseQueryResponseModel"
  2079. }
  2080. }
  2081. }
  2082. },
  2083. "default" : {
  2084. "description" : "请求失败",
  2085. "content" : {
  2086. "application/json" : {
  2087. "schema" : {
  2088. "anyOf" : [ {
  2089. "$ref" : "#/components/schemas/CommonErrorType"
  2090. }, {
  2091. "$ref" : "#/components/schemas/AlipayCommerceEcUserEnterpriseQueryErrorResponseModel"
  2092. } ]
  2093. }
  2094. }
  2095. }
  2096. }
  2097. },
  2098. "parameters" : [ {
  2099. "name" : "user_id",
  2100. "in" : "query",
  2101. "description" : "用户id",
  2102. "schema" : {
  2103. "type" : "string",
  2104. "example" : "20889384849393"
  2105. }
  2106. }, {
  2107. "name" : "open_id",
  2108. "in" : "query",
  2109. "description" : "用户open_id",
  2110. "schema" : {
  2111. "type" : "string",
  2112. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  2113. }
  2114. } ]
  2115. }
  2116. },
  2117. "/v3/alipay/commerce/educate/campus/institutions/add" : {
  2118. "post" : {
  2119. "tags" : [ "alipay.commerce.educate.campus.institutions" ],
  2120. "summary" : "入驻学校信息",
  2121. "description" : "学校信息入驻",
  2122. "operationId" : "alipay.commerce.educate.campus.institutions.add",
  2123. "responses" : {
  2124. "200" : {
  2125. "description" : "common response",
  2126. "content" : {
  2127. "application/json" : {
  2128. "schema" : {
  2129. "$ref" : "#/components/schemas/AlipayCommerceEducateCampusInstitutionsAddResponseModel"
  2130. }
  2131. }
  2132. }
  2133. },
  2134. "default" : {
  2135. "description" : "请求失败",
  2136. "content" : {
  2137. "application/json" : {
  2138. "schema" : {
  2139. "anyOf" : [ {
  2140. "$ref" : "#/components/schemas/CommonErrorType"
  2141. }, {
  2142. "$ref" : "#/components/schemas/AlipayCommerceEducateCampusInstitutionsAddErrorResponseModel"
  2143. } ]
  2144. }
  2145. }
  2146. }
  2147. }
  2148. },
  2149. "requestBody" : {
  2150. "content" : {
  2151. "application/json" : {
  2152. "schema" : {
  2153. "$ref" : "#/components/schemas/AlipayCommerceEducateCampusInstitutionsAddModel"
  2154. }
  2155. }
  2156. },
  2157. "required" : false
  2158. }
  2159. }
  2160. },
  2161. "/v3/alipay/commerce/educate/campus/institutions/query" : {
  2162. "get" : {
  2163. "tags" : [ "alipay.commerce.educate.campus.institutions" ],
  2164. "summary" : "查询学校信息",
  2165. "description" : "可以通过学校库产品查询支付宝系统中是否已存在对应的学校,避免重复入驻,以及通过该接口查询入驻的进度:入驻成功则会返回学校信息,失败则不会返回",
  2166. "operationId" : "alipay.commerce.educate.campus.institutions.query",
  2167. "responses" : {
  2168. "200" : {
  2169. "description" : "common response",
  2170. "content" : {
  2171. "application/json" : {
  2172. "schema" : {
  2173. "$ref" : "#/components/schemas/AlipayCommerceEducateCampusInstitutionsQueryResponseModel"
  2174. }
  2175. }
  2176. }
  2177. },
  2178. "default" : {
  2179. "description" : "请求失败",
  2180. "content" : {
  2181. "application/json" : {
  2182. "schema" : {
  2183. "anyOf" : [ {
  2184. "$ref" : "#/components/schemas/CommonErrorType"
  2185. }, {
  2186. "$ref" : "#/components/schemas/AlipayCommerceEducateCampusInstitutionsQueryErrorResponseModel"
  2187. } ]
  2188. }
  2189. }
  2190. }
  2191. }
  2192. },
  2193. "parameters" : [ {
  2194. "name" : "inst_name",
  2195. "in" : "query",
  2196. "description" : "学校名称",
  2197. "schema" : {
  2198. "type" : "string",
  2199. "example" : "复旦大学"
  2200. }
  2201. }, {
  2202. "name" : "province_code",
  2203. "in" : "query",
  2204. "description" : "省份编码,编码标准为中华人民共和国行政区划代码,参见 2020年12月中华人民共和国县以上行政区划代码。",
  2205. "schema" : {
  2206. "type" : "string",
  2207. "example" : "370000"
  2208. }
  2209. }, {
  2210. "name" : "city_code",
  2211. "in" : "query",
  2212. "description" : "城市编码,编码标准为中华人民共和国行政区划代码,参见 2020年12月中华人民共和国县以上行政区划代码。",
  2213. "schema" : {
  2214. "type" : "string",
  2215. "example" : "370900"
  2216. }
  2217. }, {
  2218. "name" : "inst_id",
  2219. "in" : "query",
  2220. "description" : "学校内标:支付宝内部学校唯一编号。使用内标查询时,默认使用内标进行精确匹配。",
  2221. "schema" : {
  2222. "type" : "string",
  2223. "example" : "2088000139662311"
  2224. }
  2225. }, {
  2226. "name" : "inst_std_code",
  2227. "in" : "query",
  2228. "description" : "学校外标:统一社会信用编码或教育部提供的学校标识码。使用学校外标查询时,默认使用外标进行精确匹配。",
  2229. "schema" : {
  2230. "type" : "string",
  2231. "example" : "202008016104"
  2232. }
  2233. }, {
  2234. "name" : "like_property",
  2235. "in" : "query",
  2236. "description" : "是否使用学校名称模糊匹配进行查询,默认精确匹配。\t枚举值如下:\t1:精确匹配;\t0:模糊匹配",
  2237. "schema" : {
  2238. "type" : "string",
  2239. "example" : "1"
  2240. }
  2241. } ]
  2242. }
  2243. },
  2244. "/v3/alipay/commerce/educate/schoolcard/order/sync" : {
  2245. "post" : {
  2246. "tags" : [ "alipay.commerce.educate.schoolcard.order" ],
  2247. "summary" : "校园卡支付订单数据同步",
  2248. "description" : "校园卡支付订单数据同步",
  2249. "operationId" : "alipay.commerce.educate.schoolcard.order.sync",
  2250. "responses" : {
  2251. "200" : {
  2252. "description" : "common response",
  2253. "content" : {
  2254. "application/json" : {
  2255. "schema" : {
  2256. "$ref" : "#/components/schemas/AlipayCommerceEducateSchoolcardOrderSyncResponseModel"
  2257. }
  2258. }
  2259. }
  2260. },
  2261. "default" : {
  2262. "description" : "请求失败",
  2263. "content" : {
  2264. "application/json" : {
  2265. "schema" : {
  2266. "anyOf" : [ {
  2267. "$ref" : "#/components/schemas/CommonErrorType"
  2268. }, {
  2269. "$ref" : "#/components/schemas/AlipayCommerceEducateSchoolcardOrderSyncErrorResponseModel"
  2270. } ]
  2271. }
  2272. }
  2273. }
  2274. }
  2275. },
  2276. "requestBody" : {
  2277. "content" : {
  2278. "application/json" : {
  2279. "schema" : {
  2280. "$ref" : "#/components/schemas/AlipayCommerceEducateSchoolcardOrderSyncModel"
  2281. }
  2282. }
  2283. },
  2284. "required" : false
  2285. }
  2286. }
  2287. },
  2288. "/v3/alipay/commerce/iot/device/report/upload" : {
  2289. "post" : {
  2290. "tags" : [ "alipay.commerce.iot.device.report" ],
  2291. "summary" : "设备检测报告上传",
  2292. "description" : "设备检测报告上传",
  2293. "operationId" : "alipay.commerce.iot.device.report.upload",
  2294. "responses" : {
  2295. "200" : {
  2296. "description" : "common response",
  2297. "content" : {
  2298. "application/json" : {
  2299. "schema" : {
  2300. "$ref" : "#/components/schemas/AlipayCommerceIotDeviceReportUploadResponseModel"
  2301. }
  2302. }
  2303. }
  2304. },
  2305. "default" : {
  2306. "description" : "请求失败",
  2307. "content" : {
  2308. "application/json" : {
  2309. "schema" : {
  2310. "anyOf" : [ {
  2311. "$ref" : "#/components/schemas/CommonErrorType"
  2312. }, {
  2313. "$ref" : "#/components/schemas/AlipayCommerceIotDeviceReportUploadErrorResponseModel"
  2314. } ]
  2315. }
  2316. }
  2317. }
  2318. }
  2319. },
  2320. "requestBody" : {
  2321. "content" : {
  2322. "application/json" : {
  2323. "schema" : {
  2324. "$ref" : "#/components/schemas/AlipayCommerceIotDeviceReportUploadModel"
  2325. }
  2326. }
  2327. },
  2328. "required" : false
  2329. }
  2330. }
  2331. },
  2332. "/v3/alipay/commerce/iot/sdarttool/message/query" : {
  2333. "get" : {
  2334. "tags" : [ "alipay.commerce.iot.sdarttool.message" ],
  2335. "summary" : "消息查询",
  2336. "description" : "isv通过消息id查询消息",
  2337. "operationId" : "alipay.commerce.iot.sdarttool.message.query",
  2338. "responses" : {
  2339. "200" : {
  2340. "description" : "common response",
  2341. "content" : {
  2342. "application/json" : {
  2343. "schema" : {
  2344. "$ref" : "#/components/schemas/AlipayCommerceIotSdarttoolMessageQueryResponseModel"
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "default" : {
  2350. "description" : "请求失败",
  2351. "content" : {
  2352. "application/json" : {
  2353. "schema" : {
  2354. "anyOf" : [ {
  2355. "$ref" : "#/components/schemas/CommonErrorType"
  2356. }, {
  2357. "$ref" : "#/components/schemas/AlipayCommerceIotSdarttoolMessageQueryErrorResponseModel"
  2358. } ]
  2359. }
  2360. }
  2361. }
  2362. }
  2363. },
  2364. "parameters" : [ {
  2365. "name" : "message_no",
  2366. "in" : "query",
  2367. "description" : "消息ID",
  2368. "schema" : {
  2369. "type" : "string",
  2370. "example" : "201911250000021611"
  2371. }
  2372. } ]
  2373. }
  2374. },
  2375. "/v3/alipay/commerce/iot/sdarttool/message/send" : {
  2376. "post" : {
  2377. "tags" : [ "alipay.commerce.iot.sdarttool.message" ],
  2378. "summary" : "IOT消息服务",
  2379. "description" : "ISV通过此接口向IOT设备推送消息",
  2380. "operationId" : "alipay.commerce.iot.sdarttool.message.send",
  2381. "responses" : {
  2382. "200" : {
  2383. "description" : "common response",
  2384. "content" : {
  2385. "application/json" : {
  2386. "schema" : {
  2387. "$ref" : "#/components/schemas/AlipayCommerceIotSdarttoolMessageSendResponseModel"
  2388. }
  2389. }
  2390. }
  2391. },
  2392. "default" : {
  2393. "description" : "请求失败",
  2394. "content" : {
  2395. "application/json" : {
  2396. "schema" : {
  2397. "anyOf" : [ {
  2398. "$ref" : "#/components/schemas/CommonErrorType"
  2399. }, {
  2400. "$ref" : "#/components/schemas/AlipayCommerceIotSdarttoolMessageSendErrorResponseModel"
  2401. } ]
  2402. }
  2403. }
  2404. }
  2405. }
  2406. },
  2407. "requestBody" : {
  2408. "content" : {
  2409. "application/json" : {
  2410. "schema" : {
  2411. "$ref" : "#/components/schemas/AlipayCommerceIotSdarttoolMessageSendModel"
  2412. }
  2413. }
  2414. },
  2415. "required" : false
  2416. }
  2417. }
  2418. },
  2419. "/v3/alipay/commerce/logistics/invoice/istdwaybill/create" : {
  2420. "post" : {
  2421. "tags" : [ "alipay.commerce.logistics.invoice.istdwaybill" ],
  2422. "summary" : "开即时配送订单发票",
  2423. "description" : "开即时配送订单发票",
  2424. "operationId" : "alipay.commerce.logistics.invoice.istdwaybill.create",
  2425. "responses" : {
  2426. "200" : {
  2427. "description" : "common response",
  2428. "content" : {
  2429. "application/json" : {
  2430. "schema" : {
  2431. "$ref" : "#/components/schemas/AlipayCommerceLogisticsInvoiceIstdwaybillCreateResponseModel"
  2432. }
  2433. }
  2434. }
  2435. },
  2436. "default" : {
  2437. "description" : "请求失败",
  2438. "content" : {
  2439. "application/json" : {
  2440. "schema" : {
  2441. "anyOf" : [ {
  2442. "$ref" : "#/components/schemas/CommonErrorType"
  2443. }, {
  2444. "$ref" : "#/components/schemas/AlipayCommerceLogisticsInvoiceIstdwaybillCreateErrorResponseModel"
  2445. } ]
  2446. }
  2447. }
  2448. }
  2449. }
  2450. },
  2451. "requestBody" : {
  2452. "content" : {
  2453. "application/json" : {
  2454. "schema" : {
  2455. "$ref" : "#/components/schemas/AlipayCommerceLogisticsInvoiceIstdwaybillCreateModel"
  2456. }
  2457. }
  2458. },
  2459. "required" : false
  2460. }
  2461. }
  2462. },
  2463. "/v3/alipay/commerce/logistics/invoice/istdwaybill/query" : {
  2464. "get" : {
  2465. "tags" : [ "alipay.commerce.logistics.invoice.istdwaybill" ],
  2466. "summary" : "查询即时配送订单的开票结果",
  2467. "description" : "查询即时配送订单的开票结果",
  2468. "operationId" : "alipay.commerce.logistics.invoice.istdwaybill.query",
  2469. "responses" : {
  2470. "200" : {
  2471. "description" : "common response",
  2472. "content" : {
  2473. "application/json" : {
  2474. "schema" : {
  2475. "$ref" : "#/components/schemas/AlipayCommerceLogisticsInvoiceIstdwaybillQueryResponseModel"
  2476. }
  2477. }
  2478. }
  2479. },
  2480. "default" : {
  2481. "description" : "请求失败",
  2482. "content" : {
  2483. "application/json" : {
  2484. "schema" : {
  2485. "anyOf" : [ {
  2486. "$ref" : "#/components/schemas/CommonErrorType"
  2487. }, {
  2488. "$ref" : "#/components/schemas/AlipayCommerceLogisticsInvoiceIstdwaybillQueryErrorResponseModel"
  2489. } ]
  2490. }
  2491. }
  2492. }
  2493. }
  2494. },
  2495. "parameters" : [ {
  2496. "name" : "logistics_code",
  2497. "in" : "query",
  2498. "description" : "即时配送公司编码",
  2499. "schema" : {
  2500. "type" : "string",
  2501. "example" : "FENGNIAO"
  2502. }
  2503. }, {
  2504. "name" : "out_invoice_request_no",
  2505. "in" : "query",
  2506. "description" : "开票请求流水号",
  2507. "schema" : {
  2508. "type" : "string",
  2509. "example" : "out_invoice_no_00001"
  2510. }
  2511. } ]
  2512. }
  2513. },
  2514. "/v3/alipay/commerce/logistics/logisticscompany/instantdelivery/query" : {
  2515. "get" : {
  2516. "tags" : [ "alipay.commerce.logistics.logisticscompany.instantdelivery" ],
  2517. "summary" : "查询支付宝支持的即时配送公司",
  2518. "description" : "查询支付宝支持的即时配送公司",
  2519. "operationId" : "alipay.commerce.logistics.logisticscompany.instantdelivery.query",
  2520. "responses" : {
  2521. "200" : {
  2522. "description" : "common response",
  2523. "content" : {
  2524. "application/json" : {
  2525. "schema" : {
  2526. "$ref" : "#/components/schemas/AlipayCommerceLogisticsLogisticscompanyInstantdeliveryQueryResponseModel"
  2527. }
  2528. }
  2529. }
  2530. },
  2531. "default" : {
  2532. "description" : "请求失败",
  2533. "content" : {
  2534. "application/json" : {
  2535. "schema" : {
  2536. "anyOf" : [ {
  2537. "$ref" : "#/components/schemas/CommonErrorType"
  2538. }, {
  2539. "$ref" : "#/components/schemas/AlipayCommerceLogisticsLogisticscompanyInstantdeliveryQueryErrorResponseModel"
  2540. } ]
  2541. }
  2542. }
  2543. }
  2544. }
  2545. }
  2546. }
  2547. },
  2548. "/v3/alipay/commerce/logistics/order/instantdelivery/cancel" : {
  2549. "post" : {
  2550. "tags" : [ "alipay.commerce.logistics.order.instantdelivery" ],
  2551. "summary" : "取消即时配送订单",
  2552. "description" : "取消即时配送订单",
  2553. "operationId" : "alipay.commerce.logistics.order.instantdelivery.cancel",
  2554. "responses" : {
  2555. "200" : {
  2556. "description" : "common response",
  2557. "content" : {
  2558. "application/json" : {
  2559. "schema" : {
  2560. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryCancelResponseModel"
  2561. }
  2562. }
  2563. }
  2564. },
  2565. "default" : {
  2566. "description" : "请求失败",
  2567. "content" : {
  2568. "application/json" : {
  2569. "schema" : {
  2570. "anyOf" : [ {
  2571. "$ref" : "#/components/schemas/CommonErrorType"
  2572. }, {
  2573. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryCancelErrorResponseModel"
  2574. } ]
  2575. }
  2576. }
  2577. }
  2578. }
  2579. },
  2580. "requestBody" : {
  2581. "content" : {
  2582. "application/json" : {
  2583. "schema" : {
  2584. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryCancelModel"
  2585. }
  2586. }
  2587. },
  2588. "required" : false
  2589. }
  2590. }
  2591. },
  2592. "/v3/alipay/commerce/logistics/order/instantdelivery/create" : {
  2593. "post" : {
  2594. "tags" : [ "alipay.commerce.logistics.order.instantdelivery" ],
  2595. "summary" : "下即时配送订单",
  2596. "description" : "下即时配送订单",
  2597. "operationId" : "alipay.commerce.logistics.order.instantdelivery.create",
  2598. "responses" : {
  2599. "200" : {
  2600. "description" : "common response",
  2601. "content" : {
  2602. "application/json" : {
  2603. "schema" : {
  2604. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryCreateResponseModel"
  2605. }
  2606. }
  2607. }
  2608. },
  2609. "default" : {
  2610. "description" : "请求失败",
  2611. "content" : {
  2612. "application/json" : {
  2613. "schema" : {
  2614. "anyOf" : [ {
  2615. "$ref" : "#/components/schemas/CommonErrorType"
  2616. }, {
  2617. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryCreateErrorResponseModel"
  2618. } ]
  2619. }
  2620. }
  2621. }
  2622. }
  2623. },
  2624. "requestBody" : {
  2625. "content" : {
  2626. "application/json" : {
  2627. "schema" : {
  2628. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryCreateModel"
  2629. }
  2630. }
  2631. },
  2632. "required" : false
  2633. }
  2634. }
  2635. },
  2636. "/v3/alipay/commerce/logistics/order/instantdelivery/precreate" : {
  2637. "post" : {
  2638. "tags" : [ "alipay.commerce.logistics.order.instantdelivery" ],
  2639. "summary" : "预下即时配送订单",
  2640. "description" : "预下即时配送订单",
  2641. "operationId" : "alipay.commerce.logistics.order.instantdelivery.precreate",
  2642. "responses" : {
  2643. "200" : {
  2644. "description" : "common response",
  2645. "content" : {
  2646. "application/json" : {
  2647. "schema" : {
  2648. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryPrecreateResponseModel"
  2649. }
  2650. }
  2651. }
  2652. },
  2653. "default" : {
  2654. "description" : "请求失败",
  2655. "content" : {
  2656. "application/json" : {
  2657. "schema" : {
  2658. "anyOf" : [ {
  2659. "$ref" : "#/components/schemas/CommonErrorType"
  2660. }, {
  2661. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryPrecreateErrorResponseModel"
  2662. } ]
  2663. }
  2664. }
  2665. }
  2666. }
  2667. },
  2668. "requestBody" : {
  2669. "content" : {
  2670. "application/json" : {
  2671. "schema" : {
  2672. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryPrecreateModel"
  2673. }
  2674. }
  2675. },
  2676. "required" : false
  2677. }
  2678. }
  2679. },
  2680. "/v3/alipay/commerce/logistics/order/istdcancel/preconsult" : {
  2681. "post" : {
  2682. "tags" : [ "alipay.commerce.logistics.order.istdcancel" ],
  2683. "summary" : "预取消即时配送订单",
  2684. "description" : "预取消即时配送订单",
  2685. "operationId" : "alipay.commerce.logistics.order.istdcancel.preconsult",
  2686. "responses" : {
  2687. "200" : {
  2688. "description" : "common response",
  2689. "content" : {
  2690. "application/json" : {
  2691. "schema" : {
  2692. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderIstdcancelPreconsultResponseModel"
  2693. }
  2694. }
  2695. }
  2696. },
  2697. "default" : {
  2698. "description" : "请求失败",
  2699. "content" : {
  2700. "application/json" : {
  2701. "schema" : {
  2702. "anyOf" : [ {
  2703. "$ref" : "#/components/schemas/CommonErrorType"
  2704. }, {
  2705. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderIstdcancelPreconsultErrorResponseModel"
  2706. } ]
  2707. }
  2708. }
  2709. }
  2710. }
  2711. },
  2712. "requestBody" : {
  2713. "content" : {
  2714. "application/json" : {
  2715. "schema" : {
  2716. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderIstdcancelPreconsultModel"
  2717. }
  2718. }
  2719. },
  2720. "required" : false
  2721. }
  2722. }
  2723. },
  2724. "/v3/alipay/commerce/logistics/order/istdretry/create" : {
  2725. "post" : {
  2726. "tags" : [ "alipay.commerce.logistics.order.istdretry" ],
  2727. "summary" : "重下即时配送订单",
  2728. "description" : "重下即时配送订单",
  2729. "operationId" : "alipay.commerce.logistics.order.istdretry.create",
  2730. "responses" : {
  2731. "200" : {
  2732. "description" : "common response",
  2733. "content" : {
  2734. "application/json" : {
  2735. "schema" : {
  2736. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderIstdretryCreateResponseModel"
  2737. }
  2738. }
  2739. }
  2740. },
  2741. "default" : {
  2742. "description" : "请求失败",
  2743. "content" : {
  2744. "application/json" : {
  2745. "schema" : {
  2746. "anyOf" : [ {
  2747. "$ref" : "#/components/schemas/CommonErrorType"
  2748. }, {
  2749. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderIstdretryCreateErrorResponseModel"
  2750. } ]
  2751. }
  2752. }
  2753. }
  2754. }
  2755. },
  2756. "requestBody" : {
  2757. "content" : {
  2758. "application/json" : {
  2759. "schema" : {
  2760. "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderIstdretryCreateModel"
  2761. }
  2762. }
  2763. },
  2764. "required" : false
  2765. }
  2766. }
  2767. },
  2768. "/v3/alipay/commerce/logistics/waybill/istddetail/query" : {
  2769. "get" : {
  2770. "tags" : [ "alipay.commerce.logistics.waybill.istddetail" ],
  2771. "summary" : "查询即时配送运单详情",
  2772. "description" : "查询即时配送运单详情",
  2773. "operationId" : "alipay.commerce.logistics.waybill.istddetail.query",
  2774. "responses" : {
  2775. "200" : {
  2776. "description" : "common response",
  2777. "content" : {
  2778. "application/json" : {
  2779. "schema" : {
  2780. "$ref" : "#/components/schemas/AlipayCommerceLogisticsWaybillIstddetailQueryResponseModel"
  2781. }
  2782. }
  2783. }
  2784. },
  2785. "default" : {
  2786. "description" : "请求失败",
  2787. "content" : {
  2788. "application/json" : {
  2789. "schema" : {
  2790. "anyOf" : [ {
  2791. "$ref" : "#/components/schemas/CommonErrorType"
  2792. }, {
  2793. "$ref" : "#/components/schemas/AlipayCommerceLogisticsWaybillIstddetailQueryErrorResponseModel"
  2794. } ]
  2795. }
  2796. }
  2797. }
  2798. }
  2799. },
  2800. "parameters" : [ {
  2801. "name" : "shop_no",
  2802. "in" : "query",
  2803. "description" : "商家球房编号",
  2804. "schema" : {
  2805. "type" : "string",
  2806. "example" : "shopno001"
  2807. }
  2808. }, {
  2809. "name" : "out_order_no",
  2810. "in" : "query",
  2811. "description" : "商家订单号",
  2812. "schema" : {
  2813. "type" : "string",
  2814. "example" : "2020090411140000000000777000216122"
  2815. }
  2816. }, {
  2817. "name" : "order_no",
  2818. "in" : "query",
  2819. "description" : "支付宝订单流水号",
  2820. "schema" : {
  2821. "type" : "string",
  2822. "example" : "2020090411130000000000772400280352"
  2823. }
  2824. }, {
  2825. "name" : "logistics_code",
  2826. "in" : "query",
  2827. "description" : "即时配送公司编码",
  2828. "schema" : {
  2829. "type" : "string",
  2830. "example" : "FENGNIAO"
  2831. }
  2832. }, {
  2833. "name" : "waybill_no",
  2834. "in" : "query",
  2835. "description" : "即时配送运单编号",
  2836. "schema" : {
  2837. "type" : "string",
  2838. "example" : "waybillno001"
  2839. }
  2840. } ]
  2841. }
  2842. },
  2843. "/v3/alipay/commerce/operation/activity/merchant/modify" : {
  2844. "post" : {
  2845. "tags" : [ "alipay.commerce.operation.activity.merchant" ],
  2846. "summary" : "商户签约信息修改",
  2847. "description" : "商户签约信息修改",
  2848. "operationId" : "alipay.commerce.operation.activity.merchant.modify",
  2849. "responses" : {
  2850. "200" : {
  2851. "description" : "common response",
  2852. "content" : {
  2853. "application/json" : {
  2854. "schema" : {
  2855. "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantModifyResponseModel"
  2856. }
  2857. }
  2858. }
  2859. },
  2860. "default" : {
  2861. "description" : "请求失败",
  2862. "content" : {
  2863. "application/json" : {
  2864. "schema" : {
  2865. "anyOf" : [ {
  2866. "$ref" : "#/components/schemas/CommonErrorType"
  2867. }, {
  2868. "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantModifyErrorResponseModel"
  2869. } ]
  2870. }
  2871. }
  2872. }
  2873. }
  2874. },
  2875. "requestBody" : {
  2876. "content" : {
  2877. "application/json" : {
  2878. "schema" : {
  2879. "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantModifyModel"
  2880. }
  2881. }
  2882. },
  2883. "required" : false
  2884. }
  2885. }
  2886. },
  2887. "/v3/alipay/commerce/operation/activity/merchant/sign" : {
  2888. "post" : {
  2889. "tags" : [ "alipay.commerce.operation.activity.merchant" ],
  2890. "summary" : "商户签约活动",
  2891. "description" : "商户签约活动",
  2892. "operationId" : "alipay.commerce.operation.activity.merchant.sign",
  2893. "responses" : {
  2894. "200" : {
  2895. "description" : "common response",
  2896. "content" : {
  2897. "application/json" : {
  2898. "schema" : {
  2899. "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantSignResponseModel"
  2900. }
  2901. }
  2902. }
  2903. },
  2904. "default" : {
  2905. "description" : "请求失败",
  2906. "content" : {
  2907. "application/json" : {
  2908. "schema" : {
  2909. "anyOf" : [ {
  2910. "$ref" : "#/components/schemas/CommonErrorType"
  2911. }, {
  2912. "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantSignErrorResponseModel"
  2913. } ]
  2914. }
  2915. }
  2916. }
  2917. }
  2918. },
  2919. "requestBody" : {
  2920. "content" : {
  2921. "application/json" : {
  2922. "schema" : {
  2923. "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantSignModel"
  2924. }
  2925. }
  2926. },
  2927. "required" : false
  2928. }
  2929. }
  2930. },
  2931. "/v3/alipay/commerce/operation/activity/merchant/unsign" : {
  2932. "post" : {
  2933. "tags" : [ "alipay.commerce.operation.activity.merchant" ],
  2934. "summary" : "活动商户解约",
  2935. "description" : "用户银行商户模式商户解约活动使用",
  2936. "operationId" : "alipay.commerce.operation.activity.merchant.unsign",
  2937. "responses" : {
  2938. "200" : {
  2939. "description" : "common response",
  2940. "content" : {
  2941. "application/json" : {
  2942. "schema" : {
  2943. "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantUnsignResponseModel"
  2944. }
  2945. }
  2946. }
  2947. },
  2948. "default" : {
  2949. "description" : "请求失败",
  2950. "content" : {
  2951. "application/json" : {
  2952. "schema" : {
  2953. "anyOf" : [ {
  2954. "$ref" : "#/components/schemas/CommonErrorType"
  2955. }, {
  2956. "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantUnsignErrorResponseModel"
  2957. } ]
  2958. }
  2959. }
  2960. }
  2961. }
  2962. }
  2963. }
  2964. },
  2965. "/v3/alipay/commerce/operation/bank/activity/query" : {
  2966. "get" : {
  2967. "tags" : [ "alipay.commerce.operation.bank.activity" ],
  2968. "summary" : "银行活动信息查询",
  2969. "description" : "银行活动信息查询",
  2970. "operationId" : "alipay.commerce.operation.bank.activity.query",
  2971. "responses" : {
  2972. "200" : {
  2973. "description" : "common response",
  2974. "content" : {
  2975. "application/json" : {
  2976. "schema" : {
  2977. "$ref" : "#/components/schemas/AlipayCommerceOperationBankActivityQueryResponseModel"
  2978. }
  2979. }
  2980. }
  2981. },
  2982. "default" : {
  2983. "description" : "请求失败",
  2984. "content" : {
  2985. "application/json" : {
  2986. "schema" : {
  2987. "anyOf" : [ {
  2988. "$ref" : "#/components/schemas/CommonErrorType"
  2989. }, {
  2990. "$ref" : "#/components/schemas/AlipayCommerceOperationBankActivityQueryErrorResponseModel"
  2991. } ]
  2992. }
  2993. }
  2994. }
  2995. }
  2996. },
  2997. "parameters" : [ {
  2998. "name" : "open_id",
  2999. "in" : "query",
  3000. "description" : "支付宝openId",
  3001. "schema" : {
  3002. "type" : "string",
  3003. "example" : "021xxxx"
  3004. }
  3005. }, {
  3006. "name" : "user_id",
  3007. "in" : "query",
  3008. "description" : "蚂蚁统一会员ID",
  3009. "schema" : {
  3010. "type" : "string",
  3011. "example" : "2088xxxx"
  3012. }
  3013. } ]
  3014. }
  3015. },
  3016. "/v3/alipay/commerce/transport/charger/chargerbindinfo/sync" : {
  3017. "post" : {
  3018. "tags" : [ "alipay.commerce.transport.charger.chargerbindinfo" ],
  3019. "summary" : "充电运营商同步用户绑定充电桩信息接口",
  3020. "description" : "设备运营商通过该接口同步自己阵地中用户绑定充电桩的信息,包含绑定信息,解绑信息,设备状态等等设备信息",
  3021. "operationId" : "alipay.commerce.transport.charger.chargerbindinfo.sync",
  3022. "responses" : {
  3023. "200" : {
  3024. "description" : "common response",
  3025. "content" : {
  3026. "application/json" : {
  3027. "schema" : {
  3028. "$ref" : "#/components/schemas/AlipayCommerceTransportChargerChargerbindinfoSyncResponseModel"
  3029. }
  3030. }
  3031. }
  3032. },
  3033. "default" : {
  3034. "description" : "请求失败",
  3035. "content" : {
  3036. "application/json" : {
  3037. "schema" : {
  3038. "anyOf" : [ {
  3039. "$ref" : "#/components/schemas/CommonErrorType"
  3040. }, {
  3041. "$ref" : "#/components/schemas/AlipayCommerceTransportChargerChargerbindinfoSyncErrorResponseModel"
  3042. } ]
  3043. }
  3044. }
  3045. }
  3046. }
  3047. },
  3048. "parameters" : [ {
  3049. "$ref" : "#/components/parameters/AuthToken"
  3050. } ],
  3051. "requestBody" : {
  3052. "content" : {
  3053. "application/json" : {
  3054. "schema" : {
  3055. "$ref" : "#/components/schemas/AlipayCommerceTransportChargerChargerbindinfoSyncModel"
  3056. }
  3057. }
  3058. },
  3059. "required" : false
  3060. }
  3061. }
  3062. },
  3063. "/v3/alipay/commerce/transport/parking/enterinfo/sync" : {
  3064. "post" : {
  3065. "tags" : [ "alipay.commerce.transport.parking.enterinfo" ],
  3066. "summary" : "停车入场模板消息配置",
  3067. "description" : "车辆驶入停车场时,服务商通过此接口配置消息模板内容告知支付宝发送给用户",
  3068. "operationId" : "alipay.commerce.transport.parking.enterinfo.sync",
  3069. "responses" : {
  3070. "200" : {
  3071. "description" : "common response",
  3072. "content" : {
  3073. "application/json" : {
  3074. "schema" : {
  3075. "$ref" : "#/components/schemas/AlipayCommerceTransportParkingEnterinfoSyncResponseModel"
  3076. }
  3077. }
  3078. }
  3079. },
  3080. "default" : {
  3081. "description" : "请求失败",
  3082. "content" : {
  3083. "application/json" : {
  3084. "schema" : {
  3085. "anyOf" : [ {
  3086. "$ref" : "#/components/schemas/CommonErrorType"
  3087. }, {
  3088. "$ref" : "#/components/schemas/AlipayCommerceTransportParkingEnterinfoSyncErrorResponseModel"
  3089. } ]
  3090. }
  3091. }
  3092. }
  3093. }
  3094. },
  3095. "requestBody" : {
  3096. "content" : {
  3097. "application/json" : {
  3098. "schema" : {
  3099. "$ref" : "#/components/schemas/AlipayCommerceTransportParkingEnterinfoSyncModel"
  3100. }
  3101. }
  3102. },
  3103. "required" : false
  3104. }
  3105. }
  3106. },
  3107. "/v3/alipay/commerce/transport/parking/exitinfo/sync" : {
  3108. "post" : {
  3109. "tags" : [ "alipay.commerce.transport.parking.exitinfo" ],
  3110. "summary" : "停车离场消息模板配置",
  3111. "description" : "用户要驶离停车场时,服务商通过此接口配置消息模板内容告知支付宝发送给用户",
  3112. "operationId" : "alipay.commerce.transport.parking.exitinfo.sync",
  3113. "responses" : {
  3114. "200" : {
  3115. "description" : "common response",
  3116. "content" : {
  3117. "application/json" : {
  3118. "schema" : {
  3119. "$ref" : "#/components/schemas/AlipayCommerceTransportParkingExitinfoSyncResponseModel"
  3120. }
  3121. }
  3122. }
  3123. },
  3124. "default" : {
  3125. "description" : "请求失败",
  3126. "content" : {
  3127. "application/json" : {
  3128. "schema" : {
  3129. "anyOf" : [ {
  3130. "$ref" : "#/components/schemas/CommonErrorType"
  3131. }, {
  3132. "$ref" : "#/components/schemas/AlipayCommerceTransportParkingExitinfoSyncErrorResponseModel"
  3133. } ]
  3134. }
  3135. }
  3136. }
  3137. }
  3138. },
  3139. "requestBody" : {
  3140. "content" : {
  3141. "application/json" : {
  3142. "schema" : {
  3143. "$ref" : "#/components/schemas/AlipayCommerceTransportParkingExitinfoSyncModel"
  3144. }
  3145. }
  3146. },
  3147. "required" : false
  3148. }
  3149. }
  3150. },
  3151. "/v3/alipay/commerce/transport/parking/paymentinfo/sync" : {
  3152. "post" : {
  3153. "tags" : [ "alipay.commerce.transport.parking.paymentinfo" ],
  3154. "summary" : "停车支付模板消息配置",
  3155. "description" : "用户在场内支付时,服务商通过此接口配置消息模板内容告知支付宝发送给用户",
  3156. "operationId" : "alipay.commerce.transport.parking.paymentinfo.sync",
  3157. "responses" : {
  3158. "200" : {
  3159. "description" : "common response",
  3160. "content" : {
  3161. "application/json" : {
  3162. "schema" : {
  3163. "$ref" : "#/components/schemas/AlipayCommerceTransportParkingPaymentinfoSyncResponseModel"
  3164. }
  3165. }
  3166. }
  3167. },
  3168. "default" : {
  3169. "description" : "请求失败",
  3170. "content" : {
  3171. "application/json" : {
  3172. "schema" : {
  3173. "anyOf" : [ {
  3174. "$ref" : "#/components/schemas/CommonErrorType"
  3175. }, {
  3176. "$ref" : "#/components/schemas/AlipayCommerceTransportParkingPaymentinfoSyncErrorResponseModel"
  3177. } ]
  3178. }
  3179. }
  3180. }
  3181. }
  3182. },
  3183. "requestBody" : {
  3184. "content" : {
  3185. "application/json" : {
  3186. "schema" : {
  3187. "$ref" : "#/components/schemas/AlipayCommerceTransportParkingPaymentinfoSyncModel"
  3188. }
  3189. }
  3190. },
  3191. "required" : false
  3192. }
  3193. }
  3194. },
  3195. "/v3/alipay/data/bill/accountbookereceipt/apply" : {
  3196. "post" : {
  3197. "tags" : [ "alipay.data.bill.accountbookereceipt" ],
  3198. "summary" : "申请子账本电子回单(incubating)",
  3199. "description" : "申请子账本电子回单(子账本业务定制接口)",
  3200. "operationId" : "alipay.data.bill.accountbookereceipt.apply",
  3201. "responses" : {
  3202. "200" : {
  3203. "description" : "common response",
  3204. "content" : {
  3205. "application/json" : {
  3206. "schema" : {
  3207. "$ref" : "#/components/schemas/AlipayDataBillAccountbookereceiptApplyResponseModel"
  3208. }
  3209. }
  3210. }
  3211. },
  3212. "default" : {
  3213. "description" : "请求失败",
  3214. "content" : {
  3215. "application/json" : {
  3216. "schema" : {
  3217. "anyOf" : [ {
  3218. "$ref" : "#/components/schemas/CommonErrorType"
  3219. }, {
  3220. "$ref" : "#/components/schemas/AlipayDataBillAccountbookereceiptApplyErrorResponseModel"
  3221. } ]
  3222. }
  3223. }
  3224. }
  3225. }
  3226. },
  3227. "requestBody" : {
  3228. "content" : {
  3229. "application/json" : {
  3230. "schema" : {
  3231. "$ref" : "#/components/schemas/AlipayDataBillAccountbookereceiptApplyModel"
  3232. }
  3233. }
  3234. },
  3235. "required" : false
  3236. }
  3237. }
  3238. },
  3239. "/v3/alipay/data/bill/accountbookereceipt/query" : {
  3240. "get" : {
  3241. "tags" : [ "alipay.data.bill.accountbookereceipt" ],
  3242. "summary" : "查询子账本电子回单状态(incubating)",
  3243. "description" : "电子签章申请分两个步骤: 1、使用alipay.data.bill.ereceipt.apply创建申请,并获取file_id信息。 2、等待一段时间后,使用file_id查询alipay.data.bill.ereceipt.query申请信息。 单个申请建议每5分钟查询一次状态。汇总回单建议30分钟查询一次",
  3244. "operationId" : "alipay.data.bill.accountbookereceipt.query",
  3245. "responses" : {
  3246. "200" : {
  3247. "description" : "common response",
  3248. "content" : {
  3249. "application/json" : {
  3250. "schema" : {
  3251. "$ref" : "#/components/schemas/AlipayDataBillAccountbookereceiptQueryResponseModel"
  3252. }
  3253. }
  3254. }
  3255. },
  3256. "default" : {
  3257. "description" : "请求失败",
  3258. "content" : {
  3259. "application/json" : {
  3260. "schema" : {
  3261. "anyOf" : [ {
  3262. "$ref" : "#/components/schemas/CommonErrorType"
  3263. }, {
  3264. "$ref" : "#/components/schemas/AlipayDataBillAccountbookereceiptQueryErrorResponseModel"
  3265. } ]
  3266. }
  3267. }
  3268. }
  3269. }
  3270. },
  3271. "parameters" : [ {
  3272. "name" : "file_id",
  3273. "in" : "query",
  3274. "description" : "根据申请id查询状态",
  3275. "schema" : {
  3276. "type" : "string",
  3277. "example" : "12345"
  3278. }
  3279. }, {
  3280. "name" : "agreement_no",
  3281. "in" : "query",
  3282. "description" : "协议号",
  3283. "schema" : {
  3284. "type" : "string",
  3285. "example" : "20205215001418078112"
  3286. }
  3287. } ]
  3288. }
  3289. },
  3290. "/v3/alipay/data/bill/accountlog/query" : {
  3291. "get" : {
  3292. "tags" : [ "alipay.data.bill.accountlog" ],
  3293. "summary" : "支付宝商家账户账务明细查询",
  3294. "description" : "为支付宝商家提供支付宝账户的账务流水信息,供对账使用。",
  3295. "operationId" : "alipay.data.bill.accountlog.query",
  3296. "responses" : {
  3297. "200" : {
  3298. "description" : "common response",
  3299. "content" : {
  3300. "application/json" : {
  3301. "schema" : {
  3302. "$ref" : "#/components/schemas/AlipayDataBillAccountlogQueryResponseModel"
  3303. }
  3304. }
  3305. }
  3306. },
  3307. "default" : {
  3308. "description" : "请求失败",
  3309. "content" : {
  3310. "application/json" : {
  3311. "schema" : {
  3312. "anyOf" : [ {
  3313. "$ref" : "#/components/schemas/CommonErrorType"
  3314. }, {
  3315. "$ref" : "#/components/schemas/AlipayDataBillAccountlogQueryErrorResponseModel"
  3316. } ]
  3317. }
  3318. }
  3319. }
  3320. }
  3321. },
  3322. "parameters" : [ {
  3323. "name" : "start_time",
  3324. "in" : "query",
  3325. "description" : "账务流水创建时间的起始范围",
  3326. "schema" : {
  3327. "type" : "string",
  3328. "example" : "2019-01-01 00:00:00"
  3329. }
  3330. }, {
  3331. "name" : "end_time",
  3332. "in" : "query",
  3333. "description" : "账务流水创建时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间",
  3334. "schema" : {
  3335. "type" : "string",
  3336. "example" : "2019-01-02 00:00:00"
  3337. }
  3338. }, {
  3339. "name" : "alipay_order_no",
  3340. "in" : "query",
  3341. "description" : "支付宝订单号,通过支付宝订单号精确查询相关的流水明细,商户订单号与支付宝订单号互斥",
  3342. "schema" : {
  3343. "type" : "string",
  3344. "example" : "20190101***"
  3345. }
  3346. }, {
  3347. "name" : "merchant_order_no",
  3348. "in" : "query",
  3349. "description" : "商户订单号,通过商户订单号精确查询相关的流水明细,商户订单号与支付宝订单号互斥",
  3350. "schema" : {
  3351. "type" : "string",
  3352. "example" : "TX***"
  3353. }
  3354. }, {
  3355. "name" : "page_no",
  3356. "in" : "query",
  3357. "description" : "分页号,从1开始",
  3358. "schema" : {
  3359. "type" : "string",
  3360. "example" : "1"
  3361. }
  3362. }, {
  3363. "name" : "page_size",
  3364. "in" : "query",
  3365. "description" : "分页大小1000-2000,默认2000",
  3366. "schema" : {
  3367. "type" : "string",
  3368. "example" : "2000"
  3369. }
  3370. }, {
  3371. "name" : "trans_code",
  3372. "in" : "query",
  3373. "description" : "账务的类型代码,特殊场景下使用",
  3374. "schema" : {
  3375. "type" : "string",
  3376. "example" : "101101,301101"
  3377. }
  3378. }, {
  3379. "name" : "agreement_no",
  3380. "in" : "query",
  3381. "description" : "协议授权码,特殊场景下使用",
  3382. "schema" : {
  3383. "type" : "string",
  3384. "example" : "20215606000635888888"
  3385. }
  3386. }, {
  3387. "name" : "agreement_product_code",
  3388. "in" : "query",
  3389. "description" : "协议产品码。特殊场景下使用",
  3390. "schema" : {
  3391. "type" : "string",
  3392. "example" : "FUND_SIGN_WITHHOLDING"
  3393. }
  3394. }, {
  3395. "name" : "bill_user_id",
  3396. "in" : "query",
  3397. "description" : "指定用户做账单查询",
  3398. "schema" : {
  3399. "type" : "string",
  3400. "example" : "2088123456789012"
  3401. }
  3402. } ]
  3403. }
  3404. },
  3405. "/v3/alipay/data/bill/bail/query" : {
  3406. "get" : {
  3407. "tags" : [ "alipay.data.bill.bail" ],
  3408. "summary" : "支付宝商家账户保证金查询",
  3409. "description" : "为支付宝商家提供支付宝账户保证金信息,供对账使用。",
  3410. "operationId" : "alipay.data.bill.bail.query",
  3411. "responses" : {
  3412. "200" : {
  3413. "description" : "common response",
  3414. "content" : {
  3415. "application/json" : {
  3416. "schema" : {
  3417. "$ref" : "#/components/schemas/AlipayDataBillBailQueryResponseModel"
  3418. }
  3419. }
  3420. }
  3421. },
  3422. "default" : {
  3423. "description" : "请求失败",
  3424. "content" : {
  3425. "application/json" : {
  3426. "schema" : {
  3427. "anyOf" : [ {
  3428. "$ref" : "#/components/schemas/CommonErrorType"
  3429. }, {
  3430. "$ref" : "#/components/schemas/AlipayDataBillBailQueryErrorResponseModel"
  3431. } ]
  3432. }
  3433. }
  3434. }
  3435. }
  3436. },
  3437. "parameters" : [ {
  3438. "name" : "start_time",
  3439. "in" : "query",
  3440. "description" : "保证金流水创建时间的起始范围",
  3441. "schema" : {
  3442. "type" : "string",
  3443. "example" : "2019-01-01 00:00:00"
  3444. }
  3445. }, {
  3446. "name" : "end_time",
  3447. "in" : "query",
  3448. "description" : "保证金流水创建时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间",
  3449. "schema" : {
  3450. "type" : "string",
  3451. "example" : "2019-01-02 00:00:00"
  3452. }
  3453. }, {
  3454. "name" : "bail_type",
  3455. "in" : "query",
  3456. "description" : "保证金类型,目前支持TMALL_S_BAIL-天猫保证金,TAOBAO_BAIL-淘宝保证金",
  3457. "schema" : {
  3458. "type" : "string",
  3459. "example" : "TMALL_S_BAIL"
  3460. }
  3461. }, {
  3462. "name" : "trans_log_id",
  3463. "in" : "query",
  3464. "description" : "保证金流水号。如果查询参数中指定流水号,则只查询流水号相关的记录",
  3465. "schema" : {
  3466. "type" : "string",
  3467. "example" : "20190101***"
  3468. }
  3469. }, {
  3470. "name" : "biz_orig_no",
  3471. "in" : "query",
  3472. "description" : "业务基础订单号。如果查询参数中指定订单号,则只查询相关的记录",
  3473. "schema" : {
  3474. "type" : "string",
  3475. "example" : "1***"
  3476. }
  3477. } ]
  3478. }
  3479. },
  3480. "/v3/alipay/data/bill/balance/query" : {
  3481. "get" : {
  3482. "tags" : [ "alipay.data.bill.balance" ],
  3483. "summary" : "支付宝商家账户当前余额查询",
  3484. "description" : "为支付宝商家提供支付宝账户当前余额信息,包括冻结金额,可用余额和总额,供对账使用。",
  3485. "operationId" : "alipay.data.bill.balance.query",
  3486. "responses" : {
  3487. "200" : {
  3488. "description" : "common response",
  3489. "content" : {
  3490. "application/json" : {
  3491. "schema" : {
  3492. "$ref" : "#/components/schemas/AlipayDataBillBalanceQueryResponseModel"
  3493. }
  3494. }
  3495. }
  3496. },
  3497. "default" : {
  3498. "description" : "请求失败",
  3499. "content" : {
  3500. "application/json" : {
  3501. "schema" : {
  3502. "anyOf" : [ {
  3503. "$ref" : "#/components/schemas/CommonErrorType"
  3504. }, {
  3505. "$ref" : "#/components/schemas/AlipayDataBillBalanceQueryErrorResponseModel"
  3506. } ]
  3507. }
  3508. }
  3509. }
  3510. }
  3511. },
  3512. "parameters" : [ {
  3513. "name" : "bill_user_id",
  3514. "in" : "query",
  3515. "description" : "目标查询账户(仅支持部分场景,查询自身时候不需要传递当前字段)。",
  3516. "schema" : {
  3517. "type" : "string",
  3518. "example" : "2088123456789012"
  3519. }
  3520. } ]
  3521. }
  3522. },
  3523. "/v3/alipay/data/bill/balancehis/query" : {
  3524. "get" : {
  3525. "tags" : [ "alipay.data.bill.balancehis" ],
  3526. "summary" : "支付宝商家账户历史余额查询",
  3527. "description" : "为支付宝商家提供支付宝账户历史余额信息,供对账使用。",
  3528. "operationId" : "alipay.data.bill.balancehis.query",
  3529. "responses" : {
  3530. "200" : {
  3531. "description" : "common response",
  3532. "content" : {
  3533. "application/json" : {
  3534. "schema" : {
  3535. "$ref" : "#/components/schemas/AlipayDataBillBalancehisQueryResponseModel"
  3536. }
  3537. }
  3538. }
  3539. },
  3540. "default" : {
  3541. "description" : "请求失败",
  3542. "content" : {
  3543. "application/json" : {
  3544. "schema" : {
  3545. "anyOf" : [ {
  3546. "$ref" : "#/components/schemas/CommonErrorType"
  3547. }, {
  3548. "$ref" : "#/components/schemas/AlipayDataBillBalancehisQueryErrorResponseModel"
  3549. } ]
  3550. }
  3551. }
  3552. }
  3553. }
  3554. },
  3555. "parameters" : [ {
  3556. "name" : "biz_date",
  3557. "in" : "query",
  3558. "description" : "查询指定自然日的起初余额和期末余额,biz_date与biz_month传入参数互斥",
  3559. "schema" : {
  3560. "type" : "string",
  3561. "example" : "2019-08-01"
  3562. }
  3563. }, {
  3564. "name" : "biz_month",
  3565. "in" : "query",
  3566. "description" : "查询指定自然月的起初余额和期末余额,biz_date与biz_month传入参数互斥",
  3567. "schema" : {
  3568. "type" : "string",
  3569. "example" : "2019-08"
  3570. }
  3571. } ]
  3572. }
  3573. },
  3574. "/v3/alipay/data/bill/bizfundagent/query" : {
  3575. "get" : {
  3576. "tags" : [ "alipay.data.bill.bizfundagent" ],
  3577. "summary" : "ISV代理商户资金业务账单查询",
  3578. "description" : "用于ISV代理商户查询商户的资金业务账单",
  3579. "operationId" : "alipay.data.bill.bizfundagent.query",
  3580. "responses" : {
  3581. "200" : {
  3582. "description" : "common response",
  3583. "content" : {
  3584. "application/json" : {
  3585. "schema" : {
  3586. "$ref" : "#/components/schemas/AlipayDataBillBizfundagentQueryResponseModel"
  3587. }
  3588. }
  3589. }
  3590. },
  3591. "default" : {
  3592. "description" : "请求失败",
  3593. "content" : {
  3594. "application/json" : {
  3595. "schema" : {
  3596. "anyOf" : [ {
  3597. "$ref" : "#/components/schemas/CommonErrorType"
  3598. }, {
  3599. "$ref" : "#/components/schemas/AlipayDataBillBizfundagentQueryErrorResponseModel"
  3600. } ]
  3601. }
  3602. }
  3603. }
  3604. }
  3605. },
  3606. "parameters" : [ {
  3607. "name" : "start_time",
  3608. "in" : "query",
  3609. "description" : "账单查询时间范围 -- 起始时间",
  3610. "schema" : {
  3611. "type" : "string",
  3612. "example" : "2021-01-01 00:00:00"
  3613. }
  3614. }, {
  3615. "name" : "end_time",
  3616. "in" : "query",
  3617. "description" : "账单查询时间范围 -- 结束范围。时间范围最大不超过31天。",
  3618. "schema" : {
  3619. "type" : "string",
  3620. "example" : "2021-02-01 00:00:00"
  3621. }
  3622. }, {
  3623. "name" : "page_no",
  3624. "in" : "query",
  3625. "description" : "页码,从1开始",
  3626. "schema" : {
  3627. "type" : "string",
  3628. "example" : "1"
  3629. }
  3630. }, {
  3631. "name" : "page_size",
  3632. "in" : "query",
  3633. "description" : "分页大小1000-2000,默认2000",
  3634. "schema" : {
  3635. "type" : "string",
  3636. "example" : "2000"
  3637. }
  3638. }, {
  3639. "name" : "agreement_no",
  3640. "in" : "query",
  3641. "description" : "ISV与商户授权协议号",
  3642. "schema" : {
  3643. "type" : "string",
  3644. "example" : "20205215001418078112"
  3645. }
  3646. } ]
  3647. }
  3648. },
  3649. "/v3/alipay/data/bill/buy/query" : {
  3650. "get" : {
  3651. "tags" : [ "alipay.data.bill.buy" ],
  3652. "summary" : "支付宝商家账户买入交易查询",
  3653. "description" : "为支付宝商家提供支付宝账户买入交易信息,供对账使用。",
  3654. "operationId" : "alipay.data.bill.buy.query",
  3655. "responses" : {
  3656. "200" : {
  3657. "description" : "common response",
  3658. "content" : {
  3659. "application/json" : {
  3660. "schema" : {
  3661. "$ref" : "#/components/schemas/AlipayDataBillBuyQueryResponseModel"
  3662. }
  3663. }
  3664. }
  3665. },
  3666. "default" : {
  3667. "description" : "请求失败",
  3668. "content" : {
  3669. "application/json" : {
  3670. "schema" : {
  3671. "anyOf" : [ {
  3672. "$ref" : "#/components/schemas/CommonErrorType"
  3673. }, {
  3674. "$ref" : "#/components/schemas/AlipayDataBillBuyQueryErrorResponseModel"
  3675. } ]
  3676. }
  3677. }
  3678. }
  3679. }
  3680. },
  3681. "parameters" : [ {
  3682. "name" : "start_time",
  3683. "in" : "query",
  3684. "description" : "交易流水创建时间的起始范围",
  3685. "schema" : {
  3686. "type" : "string",
  3687. "example" : "2019-01-01 00:00:00"
  3688. }
  3689. }, {
  3690. "name" : "end_time",
  3691. "in" : "query",
  3692. "description" : "交易流水创建时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间",
  3693. "schema" : {
  3694. "type" : "string",
  3695. "example" : "2019-01-02 00:00:00"
  3696. }
  3697. }, {
  3698. "name" : "alipay_order_no",
  3699. "in" : "query",
  3700. "description" : "支付宝交易流水号。如果查询参数中指定流水号,则只查询流水号相关的记录",
  3701. "schema" : {
  3702. "type" : "string",
  3703. "example" : "20190101***"
  3704. }
  3705. }, {
  3706. "name" : "merchant_order_no",
  3707. "in" : "query",
  3708. "description" : "商户交易号。如果查询参数中指定交易号,则只查询相关的记录",
  3709. "schema" : {
  3710. "type" : "string",
  3711. "example" : "TX***"
  3712. }
  3713. }, {
  3714. "name" : "store_no",
  3715. "in" : "query",
  3716. "description" : "球房编号,模糊搜索",
  3717. "schema" : {
  3718. "type" : "string",
  3719. "example" : "球房1"
  3720. }
  3721. }, {
  3722. "name" : "page_no",
  3723. "in" : "query",
  3724. "description" : "分页号,从1开始",
  3725. "schema" : {
  3726. "type" : "string",
  3727. "example" : "1"
  3728. }
  3729. }, {
  3730. "name" : "page_size",
  3731. "in" : "query",
  3732. "description" : "分页大小1000-2000,默认2000",
  3733. "schema" : {
  3734. "type" : "string",
  3735. "example" : "2000"
  3736. }
  3737. } ]
  3738. }
  3739. },
  3740. "/v3/alipay/data/bill/ereceipt/apply" : {
  3741. "post" : {
  3742. "tags" : [ "alipay.data.bill.ereceipt" ],
  3743. "summary" : "申请电子回单(incubating)",
  3744. "description" : "支持商家下载多种类型支付宝资金凭证。包括:余额收支证明、余额收支流水证明、转入转出收支证明、收支汇总证明(日汇总)以及收支汇总证明(月汇总)。\n 账单凭证申请分两个步骤: \n1、使用alipay.data.bill.ereceipt.apply创建申请,并获取file_id信息。 \n2、使用file_id查询alipay.data.bill.ereceipt.query获取回单信息,回单生成完毕将会返回对应的下载链接,下载链接时效为30秒,过期将无法下载,需重新调用alipay.data.bill.ereceipt.query获取新的下载链接。",
  3745. "operationId" : "alipay.data.bill.ereceipt.apply",
  3746. "responses" : {
  3747. "200" : {
  3748. "description" : "common response",
  3749. "content" : {
  3750. "application/json" : {
  3751. "schema" : {
  3752. "$ref" : "#/components/schemas/AlipayDataBillEreceiptApplyResponseModel"
  3753. }
  3754. }
  3755. }
  3756. },
  3757. "default" : {
  3758. "description" : "请求失败",
  3759. "content" : {
  3760. "application/json" : {
  3761. "schema" : {
  3762. "anyOf" : [ {
  3763. "$ref" : "#/components/schemas/CommonErrorType"
  3764. }, {
  3765. "$ref" : "#/components/schemas/AlipayDataBillEreceiptApplyErrorResponseModel"
  3766. } ]
  3767. }
  3768. }
  3769. }
  3770. }
  3771. },
  3772. "requestBody" : {
  3773. "content" : {
  3774. "application/json" : {
  3775. "schema" : {
  3776. "$ref" : "#/components/schemas/AlipayDataBillEreceiptApplyModel"
  3777. }
  3778. }
  3779. },
  3780. "required" : false
  3781. }
  3782. }
  3783. },
  3784. "/v3/alipay/data/bill/ereceipt/query" : {
  3785. "get" : {
  3786. "tags" : [ "alipay.data.bill.ereceipt" ],
  3787. "summary" : "查询电子回单状态(incubating)",
  3788. "description" : "电子签章申请分两个步骤:\n\n1、使用alipay.data.bill.ereceipt.apply创建申请,并获取file_id信息。\n2、等待一段时间后,使用file_id查询alipay.data.bill.ereceipt.query申请信息。\n\n单个申请建议每5分钟查询一次状态。批量回单建议20分钟查询一次。汇总回单建议30分钟查询一次",
  3789. "operationId" : "alipay.data.bill.ereceipt.query",
  3790. "responses" : {
  3791. "200" : {
  3792. "description" : "common response",
  3793. "content" : {
  3794. "application/json" : {
  3795. "schema" : {
  3796. "$ref" : "#/components/schemas/AlipayDataBillEreceiptQueryResponseModel"
  3797. }
  3798. }
  3799. }
  3800. },
  3801. "default" : {
  3802. "description" : "请求失败",
  3803. "content" : {
  3804. "application/json" : {
  3805. "schema" : {
  3806. "anyOf" : [ {
  3807. "$ref" : "#/components/schemas/CommonErrorType"
  3808. }, {
  3809. "$ref" : "#/components/schemas/AlipayDataBillEreceiptQueryErrorResponseModel"
  3810. } ]
  3811. }
  3812. }
  3813. }
  3814. }
  3815. },
  3816. "parameters" : [ {
  3817. "name" : "file_id",
  3818. "in" : "query",
  3819. "description" : "根据申请id查询状态。通过 <a href=\"https://opendocs.alipay.com/apis/api_15/alipay.data.bill.ereceipt.apply\">alipay.data.bill.ereceipt.apply(申请电子回单(incubating))</a> 接口同步响应获取。",
  3820. "schema" : {
  3821. "type" : "string",
  3822. "example" : "12345"
  3823. }
  3824. } ]
  3825. }
  3826. },
  3827. "/v3/alipay/data/bill/ereceiptagent/apply" : {
  3828. "post" : {
  3829. "tags" : [ "alipay.data.bill.ereceiptagent" ],
  3830. "summary" : "ISV代理商户申请电子回单",
  3831. "description" : "ISV代理商户,申请商户的资金业务回单。 \n电子签章申请分两个步骤: 1、使用alipay.data.bill.ereceiptagent.apply创建申请,并获取file_id信息。 2、等待一段时间后,使用file_id查询alipay.data.bill.ereceipt.query申请信息。单个申请建议每5分钟查询一次状态,汇总(日/月)回单建议20分钟查询一次。月初回单生成较慢,请耐心等待(汇总回单在月初申请需要等待几个小时) 注:申请成功,并不代表明细查询的流水一定存在。如果流水不存在,在查询时将会提示。\n",
  3832. "operationId" : "alipay.data.bill.ereceiptagent.apply",
  3833. "responses" : {
  3834. "200" : {
  3835. "description" : "common response",
  3836. "content" : {
  3837. "application/json" : {
  3838. "schema" : {
  3839. "$ref" : "#/components/schemas/AlipayDataBillEreceiptagentApplyResponseModel"
  3840. }
  3841. }
  3842. }
  3843. },
  3844. "default" : {
  3845. "description" : "请求失败",
  3846. "content" : {
  3847. "application/json" : {
  3848. "schema" : {
  3849. "anyOf" : [ {
  3850. "$ref" : "#/components/schemas/CommonErrorType"
  3851. }, {
  3852. "$ref" : "#/components/schemas/AlipayDataBillEreceiptagentApplyErrorResponseModel"
  3853. } ]
  3854. }
  3855. }
  3856. }
  3857. }
  3858. },
  3859. "requestBody" : {
  3860. "content" : {
  3861. "application/json" : {
  3862. "schema" : {
  3863. "$ref" : "#/components/schemas/AlipayDataBillEreceiptagentApplyModel"
  3864. }
  3865. }
  3866. },
  3867. "required" : false
  3868. }
  3869. }
  3870. },
  3871. "/v3/alipay/data/bill/sell/query" : {
  3872. "get" : {
  3873. "tags" : [ "alipay.data.bill.sell" ],
  3874. "summary" : "支付宝商家账户卖出交易查询",
  3875. "description" : "为支付宝商家提供支付宝账户卖出交易信息,供对账使用。",
  3876. "operationId" : "alipay.data.bill.sell.query",
  3877. "responses" : {
  3878. "200" : {
  3879. "description" : "common response",
  3880. "content" : {
  3881. "application/json" : {
  3882. "schema" : {
  3883. "$ref" : "#/components/schemas/AlipayDataBillSellQueryResponseModel"
  3884. }
  3885. }
  3886. }
  3887. },
  3888. "default" : {
  3889. "description" : "请求失败",
  3890. "content" : {
  3891. "application/json" : {
  3892. "schema" : {
  3893. "anyOf" : [ {
  3894. "$ref" : "#/components/schemas/CommonErrorType"
  3895. }, {
  3896. "$ref" : "#/components/schemas/AlipayDataBillSellQueryErrorResponseModel"
  3897. } ]
  3898. }
  3899. }
  3900. }
  3901. }
  3902. },
  3903. "parameters" : [ {
  3904. "name" : "start_time",
  3905. "in" : "query",
  3906. "description" : "卖出交易流水创建时间的起始范围",
  3907. "schema" : {
  3908. "type" : "string",
  3909. "example" : "2019-01-01 00:00:00"
  3910. }
  3911. }, {
  3912. "name" : "end_time",
  3913. "in" : "query",
  3914. "description" : "卖出交易流水创建时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间",
  3915. "schema" : {
  3916. "type" : "string",
  3917. "example" : "2019-01-02 00:00:00"
  3918. }
  3919. }, {
  3920. "name" : "alipay_order_no",
  3921. "in" : "query",
  3922. "description" : "支付宝交易流水号。如果查询参数中指定流水号,则只查询流水号相关的记录",
  3923. "schema" : {
  3924. "type" : "string",
  3925. "example" : "20190101***"
  3926. }
  3927. }, {
  3928. "name" : "merchant_order_no",
  3929. "in" : "query",
  3930. "description" : "商户交易号。如果查询参数中指定交易号,则只查询相关的记录",
  3931. "schema" : {
  3932. "type" : "string",
  3933. "example" : "TX***"
  3934. }
  3935. }, {
  3936. "name" : "store_no",
  3937. "in" : "query",
  3938. "description" : "球房编号,模糊搜索",
  3939. "schema" : {
  3940. "type" : "string",
  3941. "example" : "球房1"
  3942. }
  3943. }, {
  3944. "name" : "page_no",
  3945. "in" : "query",
  3946. "description" : "分页号,从1开始",
  3947. "schema" : {
  3948. "type" : "string",
  3949. "example" : "1"
  3950. }
  3951. }, {
  3952. "name" : "page_size",
  3953. "in" : "query",
  3954. "description" : "分页大小1000-2000,默认2000",
  3955. "schema" : {
  3956. "type" : "string",
  3957. "example" : "2000"
  3958. }
  3959. } ]
  3960. }
  3961. },
  3962. "/v3/alipay/data/bill/transfer/query" : {
  3963. "get" : {
  3964. "tags" : [ "alipay.data.bill.transfer" ],
  3965. "summary" : "支付宝商家账户充值,转账,提现查询",
  3966. "description" : "为支付宝商家提供支付宝账户充值,转账,提现信息,供对账使用。",
  3967. "operationId" : "alipay.data.bill.transfer.query",
  3968. "responses" : {
  3969. "200" : {
  3970. "description" : "common response",
  3971. "content" : {
  3972. "application/json" : {
  3973. "schema" : {
  3974. "$ref" : "#/components/schemas/AlipayDataBillTransferQueryResponseModel"
  3975. }
  3976. }
  3977. }
  3978. },
  3979. "default" : {
  3980. "description" : "请求失败",
  3981. "content" : {
  3982. "application/json" : {
  3983. "schema" : {
  3984. "anyOf" : [ {
  3985. "$ref" : "#/components/schemas/CommonErrorType"
  3986. }, {
  3987. "$ref" : "#/components/schemas/AlipayDataBillTransferQueryErrorResponseModel"
  3988. } ]
  3989. }
  3990. }
  3991. }
  3992. }
  3993. },
  3994. "parameters" : [ {
  3995. "name" : "start_time",
  3996. "in" : "query",
  3997. "description" : "充值、转账、提现流水业务时间的起始范围",
  3998. "schema" : {
  3999. "type" : "string",
  4000. "example" : "2019-01-01 00:00:00"
  4001. }
  4002. }, {
  4003. "name" : "end_time",
  4004. "in" : "query",
  4005. "description" : "充值、转账、提现流水业务时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间",
  4006. "schema" : {
  4007. "type" : "string",
  4008. "example" : "2019-01-02 00:00:00"
  4009. }
  4010. }, {
  4011. "name" : "type",
  4012. "in" : "query",
  4013. "description" : "转账类型:充值-DEPOSIT,提现-WITHDRAW,转账-TRANSFER。",
  4014. "schema" : {
  4015. "type" : "string",
  4016. "example" : "DEPOSIT"
  4017. }
  4018. }, {
  4019. "name" : "page_no",
  4020. "in" : "query",
  4021. "description" : "分页号,从1开始",
  4022. "schema" : {
  4023. "type" : "string",
  4024. "example" : "1"
  4025. }
  4026. }, {
  4027. "name" : "page_size",
  4028. "in" : "query",
  4029. "description" : "分页大小1000-2000,默认2000",
  4030. "schema" : {
  4031. "type" : "string",
  4032. "example" : "2000"
  4033. }
  4034. } ]
  4035. }
  4036. },
  4037. "/v3/alipay/data/bill/transferaccountbook/query" : {
  4038. "get" : {
  4039. "tags" : [ "alipay.data.bill.transferaccountbook" ],
  4040. "summary" : "子账本充提转账单查询(incubating)",
  4041. "description" : "子账本充提转账单查询(子账本业务定制接口)",
  4042. "operationId" : "alipay.data.bill.transferaccountbook.query",
  4043. "responses" : {
  4044. "200" : {
  4045. "description" : "common response",
  4046. "content" : {
  4047. "application/json" : {
  4048. "schema" : {
  4049. "$ref" : "#/components/schemas/AlipayDataBillTransferaccountbookQueryResponseModel"
  4050. }
  4051. }
  4052. }
  4053. },
  4054. "default" : {
  4055. "description" : "请求失败",
  4056. "content" : {
  4057. "application/json" : {
  4058. "schema" : {
  4059. "anyOf" : [ {
  4060. "$ref" : "#/components/schemas/CommonErrorType"
  4061. }, {
  4062. "$ref" : "#/components/schemas/AlipayDataBillTransferaccountbookQueryErrorResponseModel"
  4063. } ]
  4064. }
  4065. }
  4066. }
  4067. }
  4068. },
  4069. "parameters" : [ {
  4070. "name" : "start_time",
  4071. "in" : "query",
  4072. "description" : "充值、转账、提现流水业务时间的起始范围",
  4073. "schema" : {
  4074. "type" : "string",
  4075. "example" : "2019-01-01 00:00:00"
  4076. }
  4077. }, {
  4078. "name" : "end_time",
  4079. "in" : "query",
  4080. "description" : "充值、转账、提现流水业务时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间",
  4081. "schema" : {
  4082. "type" : "string",
  4083. "example" : "2019-01-02 00:00:00"
  4084. }
  4085. }, {
  4086. "name" : "type",
  4087. "in" : "query",
  4088. "description" : "转账类型:充值-DEPOSIT,提现-WITHDRAW,转账-TRANSFER。",
  4089. "schema" : {
  4090. "type" : "string",
  4091. "example" : "TRANSFER"
  4092. }
  4093. }, {
  4094. "name" : "agreement_no",
  4095. "in" : "query",
  4096. "description" : "协议号",
  4097. "schema" : {
  4098. "type" : "string",
  4099. "example" : "20205215001418078112"
  4100. }
  4101. }, {
  4102. "name" : "store_no",
  4103. "in" : "query",
  4104. "description" : "子账本号,或者子账本名称。模糊查询",
  4105. "schema" : {
  4106. "type" : "string",
  4107. "example" : "2088000117463004"
  4108. }
  4109. }, {
  4110. "name" : "page_no",
  4111. "in" : "query",
  4112. "description" : "分页号,从1开始",
  4113. "schema" : {
  4114. "type" : "string",
  4115. "example" : "1"
  4116. }
  4117. }, {
  4118. "name" : "page_size",
  4119. "in" : "query",
  4120. "description" : "分页大小1000-2000,默认2000",
  4121. "schema" : {
  4122. "type" : "string",
  4123. "example" : "2000"
  4124. }
  4125. } ]
  4126. }
  4127. },
  4128. "/v3/alipay/data/dataservice/ad/conversion/upload" : {
  4129. "post" : {
  4130. "tags" : [ "alipay.data.dataservice.ad.conversion" ],
  4131. "summary" : "转化数据回传",
  4132. "description" : "用于回传转化数据",
  4133. "operationId" : "alipay.data.dataservice.ad.conversion.upload",
  4134. "responses" : {
  4135. "200" : {
  4136. "description" : "common response",
  4137. "content" : {
  4138. "application/json" : {
  4139. "schema" : {
  4140. "$ref" : "#/components/schemas/AlipayDataDataserviceAdConversionUploadResponseModel"
  4141. }
  4142. }
  4143. }
  4144. },
  4145. "default" : {
  4146. "description" : "请求失败",
  4147. "content" : {
  4148. "application/json" : {
  4149. "schema" : {
  4150. "anyOf" : [ {
  4151. "$ref" : "#/components/schemas/CommonErrorType"
  4152. }, {
  4153. "$ref" : "#/components/schemas/AlipayDataDataserviceAdConversionUploadErrorResponseModel"
  4154. } ]
  4155. }
  4156. }
  4157. }
  4158. }
  4159. },
  4160. "requestBody" : {
  4161. "content" : {
  4162. "application/json" : {
  4163. "schema" : {
  4164. "$ref" : "#/components/schemas/AlipayDataDataserviceAdConversionUploadModel"
  4165. }
  4166. }
  4167. },
  4168. "required" : false
  4169. }
  4170. }
  4171. },
  4172. "/v3/alipay/data/dataservice/ad/promotepage/batchquery" : {
  4173. "get" : {
  4174. "tags" : [ "alipay.data.dataservice.ad.promotepage" ],
  4175. "summary" : "自建推广页列表批量查询",
  4176. "description" : "用于获取指定商家的自建推广页列表",
  4177. "operationId" : "alipay.data.dataservice.ad.promotepage.batchquery",
  4178. "responses" : {
  4179. "200" : {
  4180. "description" : "common response",
  4181. "content" : {
  4182. "application/json" : {
  4183. "schema" : {
  4184. "$ref" : "#/components/schemas/AlipayDataDataserviceAdPromotepageBatchqueryResponseModel"
  4185. }
  4186. }
  4187. }
  4188. },
  4189. "default" : {
  4190. "description" : "请求失败",
  4191. "content" : {
  4192. "application/json" : {
  4193. "schema" : {
  4194. "anyOf" : [ {
  4195. "$ref" : "#/components/schemas/CommonErrorType"
  4196. }, {
  4197. "$ref" : "#/components/schemas/AlipayDataDataserviceAdPromotepageBatchqueryErrorResponseModel"
  4198. } ]
  4199. }
  4200. }
  4201. }
  4202. }
  4203. },
  4204. "parameters" : [ {
  4205. "name" : "biz_token",
  4206. "in" : "query",
  4207. "description" : "代理商访问灯火平台的token",
  4208. "schema" : {
  4209. "type" : "string",
  4210. "example" : "HYjofejnnlp89730202bcklHH"
  4211. }
  4212. }, {
  4213. "name" : "principal_tag",
  4214. "in" : "query",
  4215. "description" : "商家标志",
  4216. "schema" : {
  4217. "type" : "string",
  4218. "example" : "yfvbv133498"
  4219. }
  4220. }, {
  4221. "name" : "type",
  4222. "in" : "query",
  4223. "description" : "推广页类型:COLLECT_INFO - 免费留资;TRADE - 付费留资; OPERATION_PAID - 运营商付费留资;待扩展",
  4224. "schema" : {
  4225. "type" : "string",
  4226. "example" : "COLLECT_INFO"
  4227. }
  4228. }, {
  4229. "name" : "page_no",
  4230. "in" : "query",
  4231. "description" : "分页参数之页数,从1开始",
  4232. "schema" : {
  4233. "type" : "integer",
  4234. "example" : "1"
  4235. }
  4236. }, {
  4237. "name" : "page_size",
  4238. "in" : "query",
  4239. "description" : "分页参数之每页大小,最大1000",
  4240. "schema" : {
  4241. "type" : "integer",
  4242. "example" : "100"
  4243. }
  4244. } ]
  4245. }
  4246. },
  4247. "/v3/alipay/data/dataservice/ad/promotepage/download" : {
  4248. "get" : {
  4249. "tags" : [ "alipay.data.dataservice.ad.promotepage" ],
  4250. "summary" : "自建推广页留资数据查询",
  4251. "description" : "用于获取指定商家指定推广页的留资数据",
  4252. "operationId" : "alipay.data.dataservice.ad.promotepage.download",
  4253. "responses" : {
  4254. "200" : {
  4255. "description" : "common response",
  4256. "content" : {
  4257. "application/json" : {
  4258. "schema" : {
  4259. "$ref" : "#/components/schemas/AlipayDataDataserviceAdPromotepageDownloadResponseModel"
  4260. }
  4261. }
  4262. }
  4263. },
  4264. "default" : {
  4265. "description" : "请求失败",
  4266. "content" : {
  4267. "application/json" : {
  4268. "schema" : {
  4269. "anyOf" : [ {
  4270. "$ref" : "#/components/schemas/CommonErrorType"
  4271. }, {
  4272. "$ref" : "#/components/schemas/AlipayDataDataserviceAdPromotepageDownloadErrorResponseModel"
  4273. } ]
  4274. }
  4275. }
  4276. }
  4277. }
  4278. },
  4279. "parameters" : [ {
  4280. "name" : "biz_token",
  4281. "in" : "query",
  4282. "description" : "代理商访问灯火平台的token",
  4283. "schema" : {
  4284. "type" : "string",
  4285. "example" : "HYjofejnnlp89730202bcklHH"
  4286. }
  4287. }, {
  4288. "name" : "principal_tag",
  4289. "in" : "query",
  4290. "description" : "商家标志",
  4291. "schema" : {
  4292. "type" : "string",
  4293. "example" : "yfvbv133498"
  4294. }
  4295. }, {
  4296. "name" : "promote_page_id",
  4297. "in" : "query",
  4298. "description" : "推广页id",
  4299. "schema" : {
  4300. "type" : "integer",
  4301. "example" : "2018374"
  4302. }
  4303. }, {
  4304. "name" : "start_date",
  4305. "in" : "query",
  4306. "description" : "留资开始日期,格式:yyyy-mm-dd,不能早于30天前",
  4307. "schema" : {
  4308. "type" : "string",
  4309. "example" : "\"2020-12-12\""
  4310. }
  4311. }, {
  4312. "name" : "end_date",
  4313. "in" : "query",
  4314. "description" : "留资结束日期,格式:yyyy-mm-dd;不能晚于当天",
  4315. "schema" : {
  4316. "type" : "string",
  4317. "example" : "“2020-12-13”"
  4318. }
  4319. }, {
  4320. "name" : "page_no",
  4321. "in" : "query",
  4322. "description" : "分页参数之页数,从1开始",
  4323. "schema" : {
  4324. "type" : "integer",
  4325. "example" : "1"
  4326. }
  4327. }, {
  4328. "name" : "page_size",
  4329. "in" : "query",
  4330. "description" : "分页参数之每页大小,最大1000",
  4331. "schema" : {
  4332. "type" : "integer",
  4333. "example" : "100"
  4334. }
  4335. } ]
  4336. }
  4337. },
  4338. "/v3/alipay/data/dataservice/bill/downloadurl/query" : {
  4339. "get" : {
  4340. "tags" : [ "alipay.data.dataservice.bill.downloadurl" ],
  4341. "summary" : "查询对账单下载地址",
  4342. "description" : "为方便商户快速查账,支持商户通过本接口获取商户离线账单下载地址",
  4343. "operationId" : "alipay.data.dataservice.bill.downloadurl.query",
  4344. "responses" : {
  4345. "200" : {
  4346. "description" : "common response",
  4347. "content" : {
  4348. "application/json" : {
  4349. "schema" : {
  4350. "$ref" : "#/components/schemas/AlipayDataDataserviceBillDownloadurlQueryResponseModel"
  4351. }
  4352. }
  4353. }
  4354. },
  4355. "default" : {
  4356. "description" : "请求失败",
  4357. "content" : {
  4358. "application/json" : {
  4359. "schema" : {
  4360. "anyOf" : [ {
  4361. "$ref" : "#/components/schemas/CommonErrorType"
  4362. }, {
  4363. "$ref" : "#/components/schemas/AlipayDataDataserviceBillDownloadurlQueryErrorResponseModel"
  4364. } ]
  4365. }
  4366. }
  4367. }
  4368. }
  4369. },
  4370. "parameters" : [ {
  4371. "name" : "bill_type",
  4372. "in" : "query",
  4373. "description" : "账单类型,商户通过接口或商户经开放平台授权后其所属服务商通过接口可以获取以下账单类型,支持:\ttrade:商户基于支付宝交易收单的业务账单;\tsigncustomer:基于商户支付宝余额收入及支出等资金变动的账务账单;\tmerchant_act:营销活动账单,包含营销活动的发放,核销记录\ttrade_zft_merchant:直付通二级商户查询交易的业务账单;\tzft_acc:直付通平台商查询二级商户流水使用,返回所有二级商户流水。",
  4374. "schema" : {
  4375. "type" : "string",
  4376. "example" : "trade"
  4377. }
  4378. }, {
  4379. "name" : "bill_date",
  4380. "in" : "query",
  4381. "description" : "账单时间: \t* 日账单格式为yyyy-MM-dd,最早可下载2016年1月1日开始的日账单。不支持下载当日账单,只能下载前一日24点前的账单数据(T+1),当日数据一般于次日 9 点前生成,特殊情况可能延迟。 \t* 月账单格式为yyyy-MM,最早可下载2016年1月开始的月账单。不支持下载当月账单,只能下载上一月账单数据,当月账单一般在次月 3 日生成,特殊情况可能延迟。",
  4382. "schema" : {
  4383. "type" : "string",
  4384. "example" : "2016-04-05"
  4385. }
  4386. }, {
  4387. "name" : "smid",
  4388. "in" : "query",
  4389. "description" : "二级商户smid,这个参数只在bill_type是trade_zft_merchant时才能使用",
  4390. "schema" : {
  4391. "type" : "string",
  4392. "example" : "2088123412341234"
  4393. }
  4394. } ]
  4395. }
  4396. },
  4397. "/v3/alipay/ebpp/bill/add" : {
  4398. "post" : {
  4399. "tags" : [ "alipay.ebpp.bill" ],
  4400. "summary" : "创建账单",
  4401. "description" : "创建账单",
  4402. "operationId" : "alipay.ebpp.bill.add",
  4403. "responses" : {
  4404. "200" : {
  4405. "description" : "common response",
  4406. "content" : {
  4407. "application/json" : {
  4408. "schema" : {
  4409. "$ref" : "#/components/schemas/AlipayEbppBillAddResponseModel"
  4410. }
  4411. }
  4412. }
  4413. },
  4414. "default" : {
  4415. "description" : "请求失败",
  4416. "content" : {
  4417. "application/json" : {
  4418. "schema" : {
  4419. "anyOf" : [ {
  4420. "$ref" : "#/components/schemas/CommonErrorType"
  4421. }, {
  4422. "$ref" : "#/components/schemas/AlipayEbppBillAddErrorResponseModel"
  4423. } ]
  4424. }
  4425. }
  4426. }
  4427. }
  4428. },
  4429. "parameters" : [ {
  4430. "$ref" : "#/components/parameters/AuthToken"
  4431. } ],
  4432. "requestBody" : {
  4433. "content" : {
  4434. "application/json" : {
  4435. "schema" : {
  4436. "$ref" : "#/components/schemas/AlipayEbppBillAddModel"
  4437. }
  4438. }
  4439. },
  4440. "required" : false
  4441. }
  4442. }
  4443. },
  4444. "/v3/alipay/ebpp/bill/get" : {
  4445. "get" : {
  4446. "tags" : [ "alipay.ebpp.bill" ],
  4447. "summary" : "查询账单",
  4448. "description" : "查询账单",
  4449. "operationId" : "alipay.ebpp.bill.get",
  4450. "responses" : {
  4451. "200" : {
  4452. "description" : "common response",
  4453. "content" : {
  4454. "application/json" : {
  4455. "schema" : {
  4456. "$ref" : "#/components/schemas/AlipayEbppBillGetResponseModel"
  4457. }
  4458. }
  4459. }
  4460. },
  4461. "default" : {
  4462. "description" : "请求失败",
  4463. "content" : {
  4464. "application/json" : {
  4465. "schema" : {
  4466. "anyOf" : [ {
  4467. "$ref" : "#/components/schemas/CommonErrorType"
  4468. }, {
  4469. "$ref" : "#/components/schemas/AlipayEbppBillGetErrorResponseModel"
  4470. } ]
  4471. }
  4472. }
  4473. }
  4474. }
  4475. },
  4476. "parameters" : [ {
  4477. "$ref" : "#/components/parameters/AuthToken"
  4478. }, {
  4479. "name" : "order_type",
  4480. "in" : "query",
  4481. "description" : "支付宝订单类型。公共事业缴纳JF,信用卡还款HK",
  4482. "schema" : {
  4483. "type" : "string",
  4484. "example" : "JF"
  4485. }
  4486. }, {
  4487. "name" : "merchant_order_no",
  4488. "in" : "query",
  4489. "description" : "输出机构的业务流水号,需要保证唯一性。",
  4490. "schema" : {
  4491. "type" : "string",
  4492. "example" : "201203031234567"
  4493. }
  4494. } ]
  4495. }
  4496. },
  4497. "/v3/alipay/ebpp/invoice/apply/inv/upload" : {
  4498. "put" : {
  4499. "tags" : [ "alipay.ebpp.invoice.apply.inv" ],
  4500. "summary" : "发票回传",
  4501. "description" : "发票回传接口适用于以下场景:\n1、间联开票模式:阿里发票平台向ISV提交了原始发票申请,商户在ISV后台开具发票成功后,基于申请ID(apply_id)回传发票至阿里发票平台归集与交付。\n2、直连开票模式:阿里发票平台请求ISV开票,ISV系统异步执行开票事务后,基于开票流水号(serial_no)回传开票结果至阿里发票平台归集与交付。\n3、ISV直接回传发票给阿里发票平台,进行归集,并交付给业务前台和用户。",
  4502. "operationId" : "alipay.ebpp.invoice.apply.inv.upload",
  4503. "responses" : {
  4504. "200" : {
  4505. "description" : "common response",
  4506. "content" : {
  4507. "application/json" : {
  4508. "schema" : {
  4509. "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyInvUploadResponseModel"
  4510. }
  4511. }
  4512. }
  4513. },
  4514. "default" : {
  4515. "description" : "请求失败",
  4516. "content" : {
  4517. "application/json" : {
  4518. "schema" : {
  4519. "anyOf" : [ {
  4520. "$ref" : "#/components/schemas/CommonErrorType"
  4521. }, {
  4522. "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyInvUploadErrorResponseModel"
  4523. } ]
  4524. }
  4525. }
  4526. }
  4527. }
  4528. },
  4529. "requestBody" : {
  4530. "content" : {
  4531. "application/json" : {
  4532. "schema" : {
  4533. "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyInvUploadModel"
  4534. }
  4535. }
  4536. },
  4537. "required" : false
  4538. }
  4539. }
  4540. },
  4541. "/v3/alipay/ebpp/invoice/apply/result/sync" : {
  4542. "post" : {
  4543. "tags" : [ "alipay.ebpp.invoice.apply.result" ],
  4544. "summary" : "ISV向支付宝同步发票申请结果",
  4545. "description" : "ISV向支付宝同步发票申请结果",
  4546. "operationId" : "alipay.ebpp.invoice.apply.result.sync",
  4547. "responses" : {
  4548. "200" : {
  4549. "description" : "common response",
  4550. "content" : {
  4551. "application/json" : {
  4552. "schema" : {
  4553. "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyResultSyncResponseModel"
  4554. }
  4555. }
  4556. }
  4557. },
  4558. "default" : {
  4559. "description" : "请求失败",
  4560. "content" : {
  4561. "application/json" : {
  4562. "schema" : {
  4563. "anyOf" : [ {
  4564. "$ref" : "#/components/schemas/CommonErrorType"
  4565. }, {
  4566. "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyResultSyncErrorResponseModel"
  4567. } ]
  4568. }
  4569. }
  4570. }
  4571. }
  4572. },
  4573. "requestBody" : {
  4574. "content" : {
  4575. "application/json" : {
  4576. "schema" : {
  4577. "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyResultSyncModel"
  4578. }
  4579. }
  4580. },
  4581. "required" : false
  4582. }
  4583. }
  4584. },
  4585. "/v3/alipay/ebpp/invoice/apply/status/notify" : {
  4586. "put" : {
  4587. "tags" : [ "alipay.ebpp.invoice.apply.status" ],
  4588. "summary" : "发票申请状态变更",
  4589. "description" : "发票申请状态变更通知",
  4590. "operationId" : "alipay.ebpp.invoice.apply.status.notify",
  4591. "responses" : {
  4592. "200" : {
  4593. "description" : "common response",
  4594. "content" : {
  4595. "application/json" : {
  4596. "schema" : {
  4597. "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyStatusNotifyResponseModel"
  4598. }
  4599. }
  4600. }
  4601. },
  4602. "default" : {
  4603. "description" : "请求失败",
  4604. "content" : {
  4605. "application/json" : {
  4606. "schema" : {
  4607. "anyOf" : [ {
  4608. "$ref" : "#/components/schemas/CommonErrorType"
  4609. }, {
  4610. "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyStatusNotifyErrorResponseModel"
  4611. } ]
  4612. }
  4613. }
  4614. }
  4615. }
  4616. },
  4617. "requestBody" : {
  4618. "content" : {
  4619. "application/json" : {
  4620. "schema" : {
  4621. "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyStatusNotifyModel"
  4622. }
  4623. }
  4624. },
  4625. "required" : false
  4626. }
  4627. }
  4628. },
  4629. "/v3/alipay/ebpp/invoice/applystatus/query" : {
  4630. "post" : {
  4631. "tags" : [ "alipay.ebpp.invoice.applystatus" ],
  4632. "summary" : "根据外部订单号查询开票状态",
  4633. "description" : "根据外部订单号查询开票状态,仅有申请状态无完整票据信息",
  4634. "operationId" : "alipay.ebpp.invoice.applystatus.query",
  4635. "responses" : {
  4636. "200" : {
  4637. "description" : "common response",
  4638. "content" : {
  4639. "application/json" : {
  4640. "schema" : {
  4641. "$ref" : "#/components/schemas/AlipayEbppInvoiceApplystatusQueryResponseModel"
  4642. }
  4643. }
  4644. }
  4645. },
  4646. "default" : {
  4647. "description" : "请求失败",
  4648. "content" : {
  4649. "application/json" : {
  4650. "schema" : {
  4651. "anyOf" : [ {
  4652. "$ref" : "#/components/schemas/CommonErrorType"
  4653. }, {
  4654. "$ref" : "#/components/schemas/AlipayEbppInvoiceApplystatusQueryErrorResponseModel"
  4655. } ]
  4656. }
  4657. }
  4658. }
  4659. }
  4660. },
  4661. "requestBody" : {
  4662. "content" : {
  4663. "application/json" : {
  4664. "schema" : {
  4665. "$ref" : "#/components/schemas/AlipayEbppInvoiceApplystatusQueryModel"
  4666. }
  4667. }
  4668. },
  4669. "required" : false
  4670. }
  4671. }
  4672. },
  4673. "/v3/alipay/ebpp/invoice/auth/sign" : {
  4674. "post" : {
  4675. "tags" : [ "alipay.ebpp.invoice.auth" ],
  4676. "summary" : "发票授权关系签约",
  4677. "description" : "用户在ISV端签约了发票相关的授权关系之后,ISV使用该接口将授权关系同步到发票管家。",
  4678. "operationId" : "alipay.ebpp.invoice.auth.sign",
  4679. "responses" : {
  4680. "200" : {
  4681. "description" : "common response",
  4682. "content" : {
  4683. "application/json" : {
  4684. "schema" : {
  4685. "$ref" : "#/components/schemas/AlipayEbppInvoiceAuthSignResponseModel"
  4686. }
  4687. }
  4688. }
  4689. },
  4690. "default" : {
  4691. "description" : "请求失败",
  4692. "content" : {
  4693. "application/json" : {
  4694. "schema" : {
  4695. "anyOf" : [ {
  4696. "$ref" : "#/components/schemas/CommonErrorType"
  4697. }, {
  4698. "$ref" : "#/components/schemas/AlipayEbppInvoiceAuthSignErrorResponseModel"
  4699. } ]
  4700. }
  4701. }
  4702. }
  4703. }
  4704. },
  4705. "requestBody" : {
  4706. "content" : {
  4707. "application/json" : {
  4708. "schema" : {
  4709. "$ref" : "#/components/schemas/AlipayEbppInvoiceAuthSignModel"
  4710. }
  4711. }
  4712. },
  4713. "required" : false
  4714. }
  4715. }
  4716. },
  4717. "/v3/alipay/ebpp/invoice/auth/unsign" : {
  4718. "post" : {
  4719. "tags" : [ "alipay.ebpp.invoice.auth" ],
  4720. "summary" : "发票授权关系解约",
  4721. "description" : "用户在ISV端解约了发票相关的授权关系之后,ISV使用该接口将授权关系在发票管家端解约。",
  4722. "operationId" : "alipay.ebpp.invoice.auth.unsign",
  4723. "responses" : {
  4724. "200" : {
  4725. "description" : "common response",
  4726. "content" : {
  4727. "application/json" : {
  4728. "schema" : {
  4729. "$ref" : "#/components/schemas/AlipayEbppInvoiceAuthUnsignResponseModel"
  4730. }
  4731. }
  4732. }
  4733. },
  4734. "default" : {
  4735. "description" : "请求失败",
  4736. "content" : {
  4737. "application/json" : {
  4738. "schema" : {
  4739. "anyOf" : [ {
  4740. "$ref" : "#/components/schemas/CommonErrorType"
  4741. }, {
  4742. "$ref" : "#/components/schemas/AlipayEbppInvoiceAuthUnsignErrorResponseModel"
  4743. } ]
  4744. }
  4745. }
  4746. }
  4747. }
  4748. },
  4749. "requestBody" : {
  4750. "content" : {
  4751. "application/json" : {
  4752. "schema" : {
  4753. "$ref" : "#/components/schemas/AlipayEbppInvoiceAuthUnsignModel"
  4754. }
  4755. }
  4756. },
  4757. "required" : false
  4758. }
  4759. }
  4760. },
  4761. "/v3/alipay/ebpp/invoice/detail/output/query" : {
  4762. "post" : {
  4763. "tags" : [ "alipay.ebpp.invoice.detail.output" ],
  4764. "summary" : "获取发票详细信息",
  4765. "description" : "根据发票代码,发票号码获取发票详细信息\r\n查询权限要求:\r\n发票属于当前isv报销单据进行状态(支持的状态有\r\nEXPENSE_APPLY-用户已提交申请\r\nEXPENSE_APPROVAL_PASS -报销审核通过\r\nEXPENSE_FINISHED-报销完结)",
  4766. "operationId" : "alipay.ebpp.invoice.detail.output.query",
  4767. "responses" : {
  4768. "200" : {
  4769. "description" : "common response",
  4770. "content" : {
  4771. "application/json" : {
  4772. "schema" : {
  4773. "$ref" : "#/components/schemas/AlipayEbppInvoiceDetailOutputQueryResponseModel"
  4774. }
  4775. }
  4776. }
  4777. },
  4778. "default" : {
  4779. "description" : "请求失败",
  4780. "content" : {
  4781. "application/json" : {
  4782. "schema" : {
  4783. "anyOf" : [ {
  4784. "$ref" : "#/components/schemas/CommonErrorType"
  4785. }, {
  4786. "$ref" : "#/components/schemas/AlipayEbppInvoiceDetailOutputQueryErrorResponseModel"
  4787. } ]
  4788. }
  4789. }
  4790. }
  4791. }
  4792. },
  4793. "requestBody" : {
  4794. "content" : {
  4795. "application/json" : {
  4796. "schema" : {
  4797. "$ref" : "#/components/schemas/AlipayEbppInvoiceDetailOutputQueryModel"
  4798. }
  4799. }
  4800. },
  4801. "required" : false
  4802. }
  4803. }
  4804. },
  4805. "/v3/alipay/ebpp/invoice/ecorder/order/query" : {
  4806. "get" : {
  4807. "tags" : [ "alipay.ebpp.invoice.ecorder.order" ],
  4808. "summary" : "企业码订单查询",
  4809. "description" : "企业码订单查询",
  4810. "operationId" : "alipay.ebpp.invoice.ecorder.order.query",
  4811. "responses" : {
  4812. "200" : {
  4813. "description" : "common response",
  4814. "content" : {
  4815. "application/json" : {
  4816. "schema" : {
  4817. "$ref" : "#/components/schemas/AlipayEbppInvoiceEcorderOrderQueryResponseModel"
  4818. }
  4819. }
  4820. }
  4821. },
  4822. "default" : {
  4823. "description" : "请求失败",
  4824. "content" : {
  4825. "application/json" : {
  4826. "schema" : {
  4827. "anyOf" : [ {
  4828. "$ref" : "#/components/schemas/CommonErrorType"
  4829. }, {
  4830. "$ref" : "#/components/schemas/AlipayEbppInvoiceEcorderOrderQueryErrorResponseModel"
  4831. } ]
  4832. }
  4833. }
  4834. }
  4835. }
  4836. },
  4837. "parameters" : [ {
  4838. "name" : "enterprise_id",
  4839. "in" : "query",
  4840. "description" : "企业ID",
  4841. "schema" : {
  4842. "type" : "string",
  4843. "example" : "2088501296144291"
  4844. }
  4845. }, {
  4846. "name" : "account_id",
  4847. "in" : "query",
  4848. "description" : "共同账户ID",
  4849. "schema" : {
  4850. "type" : "string",
  4851. "example" : "2088000000000000"
  4852. }
  4853. }, {
  4854. "name" : "agreement_no",
  4855. "in" : "query",
  4856. "description" : "授权签约协议号",
  4857. "schema" : {
  4858. "type" : "string",
  4859. "example" : "20200000000000000000"
  4860. }
  4861. }, {
  4862. "name" : "order_id",
  4863. "in" : "query",
  4864. "description" : "订单ID",
  4865. "schema" : {
  4866. "type" : "string",
  4867. "example" : "2020103022000000000000000000"
  4868. }
  4869. }, {
  4870. "name" : "order_type",
  4871. "in" : "query",
  4872. "description" : "订单类型",
  4873. "schema" : {
  4874. "type" : "string",
  4875. "example" : "METRO"
  4876. }
  4877. } ]
  4878. }
  4879. },
  4880. "/v3/alipay/ebpp/invoice/einvpackage/query" : {
  4881. "get" : {
  4882. "tags" : [ "alipay.ebpp.invoice.einvpackage" ],
  4883. "summary" : "查询用户发票包的明细信息",
  4884. "description" : "第三方报销软件根据支付宝提供的用户的发票包id,查询对应的发票包的电子发票,ocr纸票和消费记录明细信息",
  4885. "operationId" : "alipay.ebpp.invoice.einvpackage.query",
  4886. "responses" : {
  4887. "200" : {
  4888. "description" : "common response",
  4889. "content" : {
  4890. "application/json" : {
  4891. "schema" : {
  4892. "$ref" : "#/components/schemas/AlipayEbppInvoiceEinvpackageQueryResponseModel"
  4893. }
  4894. }
  4895. }
  4896. },
  4897. "default" : {
  4898. "description" : "请求失败",
  4899. "content" : {
  4900. "application/json" : {
  4901. "schema" : {
  4902. "anyOf" : [ {
  4903. "$ref" : "#/components/schemas/CommonErrorType"
  4904. }, {
  4905. "$ref" : "#/components/schemas/AlipayEbppInvoiceEinvpackageQueryErrorResponseModel"
  4906. } ]
  4907. }
  4908. }
  4909. }
  4910. }
  4911. },
  4912. "parameters" : [ {
  4913. "name" : "encrypted_uid",
  4914. "in" : "query",
  4915. "description" : "加密过的uid。获取详情参见 <a href=\"https://opendocs.alipay.com/open/017fwh\">\"推\"模式发票报销</a>。",
  4916. "schema" : {
  4917. "type" : "string",
  4918. "example" : "Zhm4AKUE8ShJK6FYfKmk"
  4919. }
  4920. }, {
  4921. "name" : "package_id",
  4922. "in" : "query",
  4923. "description" : "发票包id。获取详情参见 <a href=\"https://opendocs.alipay.com/open/017fwh\">\"推\"模式发票报销</a>。",
  4924. "schema" : {
  4925. "type" : "string",
  4926. "example" : "202004150000000000000000000"
  4927. }
  4928. } ]
  4929. }
  4930. },
  4931. "/v3/alipay/ebpp/invoice/enterprise/merchantrelation/create" : {
  4932. "post" : {
  4933. "tags" : [ "alipay.ebpp.invoice.enterprise.merchantrelation" ],
  4934. "summary" : "创建企业商户关系",
  4935. "description" : "根据交易流水号创建企业商户绑定关系",
  4936. "operationId" : "alipay.ebpp.invoice.enterprise.merchantrelation.create",
  4937. "responses" : {
  4938. "200" : {
  4939. "description" : "common response",
  4940. "content" : {
  4941. "application/json" : {
  4942. "schema" : {
  4943. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseMerchantrelationCreateResponseModel"
  4944. }
  4945. }
  4946. }
  4947. },
  4948. "default" : {
  4949. "description" : "请求失败",
  4950. "content" : {
  4951. "application/json" : {
  4952. "schema" : {
  4953. "anyOf" : [ {
  4954. "$ref" : "#/components/schemas/CommonErrorType"
  4955. }, {
  4956. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseMerchantrelationCreateErrorResponseModel"
  4957. } ]
  4958. }
  4959. }
  4960. }
  4961. }
  4962. },
  4963. "parameters" : [ {
  4964. "name" : "enterprise_id",
  4965. "in" : "query",
  4966. "description" : "企业ID",
  4967. "schema" : {
  4968. "type" : "string",
  4969. "example" : "2088xxx"
  4970. }
  4971. } ],
  4972. "requestBody" : {
  4973. "content" : {
  4974. "application/json" : {
  4975. "schema" : {
  4976. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseMerchantrelationCreateModel"
  4977. }
  4978. }
  4979. },
  4980. "required" : false
  4981. }
  4982. }
  4983. },
  4984. "/v3/alipay/ebpp/invoice/enterpriseconsume/consume/batchquery" : {
  4985. "post" : {
  4986. "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.consume" ],
  4987. "summary" : "企业因公账单查询",
  4988. "description" : "基于企业ID和员工UID,在指定时间段(时间间隔不超过24小时)内获取因公账单数据",
  4989. "operationId" : "alipay.ebpp.invoice.enterpriseconsume.consume.batchquery",
  4990. "responses" : {
  4991. "200" : {
  4992. "description" : "common response",
  4993. "content" : {
  4994. "application/json" : {
  4995. "schema" : {
  4996. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeConsumeBatchqueryResponseModel"
  4997. }
  4998. }
  4999. }
  5000. },
  5001. "default" : {
  5002. "description" : "请求失败",
  5003. "content" : {
  5004. "application/json" : {
  5005. "schema" : {
  5006. "anyOf" : [ {
  5007. "$ref" : "#/components/schemas/CommonErrorType"
  5008. }, {
  5009. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeConsumeBatchqueryErrorResponseModel"
  5010. } ]
  5011. }
  5012. }
  5013. }
  5014. }
  5015. },
  5016. "requestBody" : {
  5017. "content" : {
  5018. "application/json" : {
  5019. "schema" : {
  5020. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeConsumeBatchqueryModel"
  5021. }
  5022. }
  5023. },
  5024. "required" : false
  5025. }
  5026. }
  5027. },
  5028. "/v3/alipay/ebpp/invoice/enterpriseconsume/detail/query" : {
  5029. "get" : {
  5030. "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.detail" ],
  5031. "summary" : "凭证详情查询接口",
  5032. "description" : "获取凭证基础信息结构化数据",
  5033. "operationId" : "alipay.ebpp.invoice.enterpriseconsume.detail.query",
  5034. "responses" : {
  5035. "200" : {
  5036. "description" : "common response",
  5037. "content" : {
  5038. "application/json" : {
  5039. "schema" : {
  5040. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeDetailQueryResponseModel"
  5041. }
  5042. }
  5043. }
  5044. },
  5045. "default" : {
  5046. "description" : "请求失败",
  5047. "content" : {
  5048. "application/json" : {
  5049. "schema" : {
  5050. "anyOf" : [ {
  5051. "$ref" : "#/components/schemas/CommonErrorType"
  5052. }, {
  5053. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeDetailQueryErrorResponseModel"
  5054. } ]
  5055. }
  5056. }
  5057. }
  5058. }
  5059. },
  5060. "parameters" : [ {
  5061. "name" : "account_id",
  5062. "in" : "query",
  5063. "description" : "企业ID",
  5064. "schema" : {
  5065. "type" : "string",
  5066. "example" : "2088123456789000"
  5067. }
  5068. }, {
  5069. "name" : "agreement_no",
  5070. "in" : "query",
  5071. "description" : "授权签约协议号",
  5072. "schema" : {
  5073. "type" : "string",
  5074. "example" : "20205820659822371223"
  5075. }
  5076. }, {
  5077. "name" : "voucher_id",
  5078. "in" : "query",
  5079. "description" : "账单凭证ID",
  5080. "schema" : {
  5081. "type" : "string",
  5082. "example" : "2020123100152601930000003650"
  5083. }
  5084. } ]
  5085. }
  5086. },
  5087. "/v3/alipay/ebpp/invoice/enterpriseconsume/enterpriseopenrule/create" : {
  5088. "post" : {
  5089. "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule" ],
  5090. "summary" : "新增开票规则",
  5091. "description" : "新增一条开票规则配置",
  5092. "operationId" : "alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule.create",
  5093. "responses" : {
  5094. "200" : {
  5095. "description" : "common response",
  5096. "content" : {
  5097. "application/json" : {
  5098. "schema" : {
  5099. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleCreateResponseModel"
  5100. }
  5101. }
  5102. }
  5103. },
  5104. "default" : {
  5105. "description" : "请求失败",
  5106. "content" : {
  5107. "application/json" : {
  5108. "schema" : {
  5109. "anyOf" : [ {
  5110. "$ref" : "#/components/schemas/CommonErrorType"
  5111. }, {
  5112. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleCreateErrorResponseModel"
  5113. } ]
  5114. }
  5115. }
  5116. }
  5117. }
  5118. },
  5119. "requestBody" : {
  5120. "content" : {
  5121. "application/json" : {
  5122. "schema" : {
  5123. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleCreateModel"
  5124. }
  5125. }
  5126. },
  5127. "required" : false
  5128. }
  5129. }
  5130. },
  5131. "/v3/alipay/ebpp/invoice/enterpriseconsume/enterpriseopenrule/modify" : {
  5132. "post" : {
  5133. "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule" ],
  5134. "summary" : "修改开票规则",
  5135. "description" : "修改开票规则",
  5136. "operationId" : "alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule.modify",
  5137. "responses" : {
  5138. "200" : {
  5139. "description" : "common response",
  5140. "content" : {
  5141. "application/json" : {
  5142. "schema" : {
  5143. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleModifyResponseModel"
  5144. }
  5145. }
  5146. }
  5147. },
  5148. "default" : {
  5149. "description" : "请求失败",
  5150. "content" : {
  5151. "application/json" : {
  5152. "schema" : {
  5153. "anyOf" : [ {
  5154. "$ref" : "#/components/schemas/CommonErrorType"
  5155. }, {
  5156. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleModifyErrorResponseModel"
  5157. } ]
  5158. }
  5159. }
  5160. }
  5161. }
  5162. },
  5163. "requestBody" : {
  5164. "content" : {
  5165. "application/json" : {
  5166. "schema" : {
  5167. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleModifyModel"
  5168. }
  5169. }
  5170. },
  5171. "required" : false
  5172. }
  5173. }
  5174. },
  5175. "/v3/alipay/ebpp/invoice/enterpriseconsume/enterpriseopenrule/query" : {
  5176. "get" : {
  5177. "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule" ],
  5178. "summary" : "查询开票规则",
  5179. "description" : "根据开票规则ID查询开票规则详情",
  5180. "operationId" : "alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule.query",
  5181. "responses" : {
  5182. "200" : {
  5183. "description" : "common response",
  5184. "content" : {
  5185. "application/json" : {
  5186. "schema" : {
  5187. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleQueryResponseModel"
  5188. }
  5189. }
  5190. }
  5191. },
  5192. "default" : {
  5193. "description" : "请求失败",
  5194. "content" : {
  5195. "application/json" : {
  5196. "schema" : {
  5197. "anyOf" : [ {
  5198. "$ref" : "#/components/schemas/CommonErrorType"
  5199. }, {
  5200. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleQueryErrorResponseModel"
  5201. } ]
  5202. }
  5203. }
  5204. }
  5205. }
  5206. },
  5207. "parameters" : [ {
  5208. "name" : "enterprise_id",
  5209. "in" : "query",
  5210. "description" : "企业ID",
  5211. "schema" : {
  5212. "type" : "string",
  5213. "example" : "2088000194958955"
  5214. }
  5215. }, {
  5216. "name" : "invoice_rule_id",
  5217. "in" : "query",
  5218. "description" : "开票规则ID",
  5219. "schema" : {
  5220. "type" : "string",
  5221. "example" : "2021032900152710950000000001"
  5222. }
  5223. }, {
  5224. "name" : "account_id",
  5225. "in" : "query",
  5226. "description" : "共同账户ID",
  5227. "schema" : {
  5228. "type" : "string",
  5229. "example" : "2088000194958956"
  5230. }
  5231. }, {
  5232. "name" : "agreement_no",
  5233. "in" : "query",
  5234. "description" : "授权签约协议号",
  5235. "schema" : {
  5236. "type" : "string",
  5237. "example" : "20215425001112341234"
  5238. }
  5239. } ]
  5240. }
  5241. },
  5242. "/v3/alipay/ebpp/invoice/enterpriseconsume/openrulerelation/create" : {
  5243. "post" : {
  5244. "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.openrulerelation" ],
  5245. "summary" : "新增开票规则并绑定费控规则",
  5246. "description" : "新增开票规则并自动绑定到费控规则",
  5247. "operationId" : "alipay.ebpp.invoice.enterpriseconsume.openrulerelation.create",
  5248. "responses" : {
  5249. "200" : {
  5250. "description" : "common response",
  5251. "content" : {
  5252. "application/json" : {
  5253. "schema" : {
  5254. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeOpenrulerelationCreateResponseModel"
  5255. }
  5256. }
  5257. }
  5258. },
  5259. "default" : {
  5260. "description" : "请求失败",
  5261. "content" : {
  5262. "application/json" : {
  5263. "schema" : {
  5264. "anyOf" : [ {
  5265. "$ref" : "#/components/schemas/CommonErrorType"
  5266. }, {
  5267. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeOpenrulerelationCreateErrorResponseModel"
  5268. } ]
  5269. }
  5270. }
  5271. }
  5272. }
  5273. },
  5274. "requestBody" : {
  5275. "content" : {
  5276. "application/json" : {
  5277. "schema" : {
  5278. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeOpenrulerelationCreateModel"
  5279. }
  5280. }
  5281. },
  5282. "required" : false
  5283. }
  5284. }
  5285. },
  5286. "/v3/alipay/ebpp/invoice/enterpriseconsume/relatedetail/query" : {
  5287. "get" : {
  5288. "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.relatedetail" ],
  5289. "summary" : "合花账单关联详情查询",
  5290. "description" : "合花账单关联详情查询,通过凭证ID获取这个账单详细信息和关联的凭证详细信息",
  5291. "operationId" : "alipay.ebpp.invoice.enterpriseconsume.relatedetail.query",
  5292. "responses" : {
  5293. "200" : {
  5294. "description" : "common response",
  5295. "content" : {
  5296. "application/json" : {
  5297. "schema" : {
  5298. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeRelatedetailQueryResponseModel"
  5299. }
  5300. }
  5301. }
  5302. },
  5303. "default" : {
  5304. "description" : "请求失败",
  5305. "content" : {
  5306. "application/json" : {
  5307. "schema" : {
  5308. "anyOf" : [ {
  5309. "$ref" : "#/components/schemas/CommonErrorType"
  5310. }, {
  5311. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeRelatedetailQueryErrorResponseModel"
  5312. } ]
  5313. }
  5314. }
  5315. }
  5316. }
  5317. },
  5318. "parameters" : [ {
  5319. "name" : "account_id",
  5320. "in" : "query",
  5321. "description" : "企业ID",
  5322. "schema" : {
  5323. "type" : "string",
  5324. "example" : "2088123456789000"
  5325. }
  5326. }, {
  5327. "name" : "agreement_no",
  5328. "in" : "query",
  5329. "description" : "授权签约协议号",
  5330. "schema" : {
  5331. "type" : "string",
  5332. "example" : "20205820659822371223"
  5333. }
  5334. }, {
  5335. "name" : "voucher_id",
  5336. "in" : "query",
  5337. "description" : "账单凭证ID",
  5338. "schema" : {
  5339. "type" : "string",
  5340. "example" : "2020123100152601930000003650"
  5341. }
  5342. } ]
  5343. }
  5344. },
  5345. "/v3/alipay/ebpp/invoice/enterpriseconsume/summaryinvoicedetail/query" : {
  5346. "get" : {
  5347. "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.summaryinvoicedetail" ],
  5348. "summary" : "查询汇总发票详情",
  5349. "description" : "根据汇总开票通知拿到的开票批次ID查询汇总发票详情",
  5350. "operationId" : "alipay.ebpp.invoice.enterpriseconsume.summaryinvoicedetail.query",
  5351. "responses" : {
  5352. "200" : {
  5353. "description" : "common response",
  5354. "content" : {
  5355. "application/json" : {
  5356. "schema" : {
  5357. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeSummaryinvoicedetailQueryResponseModel"
  5358. }
  5359. }
  5360. }
  5361. },
  5362. "default" : {
  5363. "description" : "请求失败",
  5364. "content" : {
  5365. "application/json" : {
  5366. "schema" : {
  5367. "anyOf" : [ {
  5368. "$ref" : "#/components/schemas/CommonErrorType"
  5369. }, {
  5370. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeSummaryinvoicedetailQueryErrorResponseModel"
  5371. } ]
  5372. }
  5373. }
  5374. }
  5375. }
  5376. },
  5377. "parameters" : [ {
  5378. "name" : "account_id",
  5379. "in" : "query",
  5380. "description" : "企业 ID",
  5381. "schema" : {
  5382. "type" : "string",
  5383. "example" : "2088000237836238"
  5384. }
  5385. }, {
  5386. "name" : "agreement_no",
  5387. "in" : "query",
  5388. "description" : "授权签约协议号",
  5389. "schema" : {
  5390. "type" : "string",
  5391. "example" : "20205820659822371223"
  5392. }
  5393. }, {
  5394. "name" : "summary_id",
  5395. "in" : "query",
  5396. "description" : "开票批次 ID",
  5397. "schema" : {
  5398. "type" : "string",
  5399. "example" : "2021080400152500230000000881"
  5400. }
  5401. } ]
  5402. }
  5403. },
  5404. "/v3/alipay/ebpp/invoice/enterpriseexctrl/employertitle" : {
  5405. "put" : {
  5406. "tags" : [ "alipay.ebpp.invoice.enterpriseexctrl.employertitle" ],
  5407. "summary" : "修改企业抬头",
  5408. "description" : "修改企业开票抬头",
  5409. "operationId" : "alipay.ebpp.invoice.enterpriseexctrl.employertitle.modify",
  5410. "responses" : {
  5411. "200" : {
  5412. "description" : "common response",
  5413. "content" : {
  5414. "application/json" : {
  5415. "schema" : {
  5416. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleModifyResponseModel"
  5417. }
  5418. }
  5419. }
  5420. },
  5421. "default" : {
  5422. "description" : "请求失败",
  5423. "content" : {
  5424. "application/json" : {
  5425. "schema" : {
  5426. "anyOf" : [ {
  5427. "$ref" : "#/components/schemas/CommonErrorType"
  5428. }, {
  5429. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleModifyErrorResponseModel"
  5430. } ]
  5431. }
  5432. }
  5433. }
  5434. }
  5435. },
  5436. "requestBody" : {
  5437. "content" : {
  5438. "application/json" : {
  5439. "schema" : {
  5440. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleModifyModel"
  5441. }
  5442. }
  5443. },
  5444. "required" : false
  5445. }
  5446. }
  5447. },
  5448. "/v3/alipay/ebpp/invoice/enterpriseexctrl/employertitle/batchquery" : {
  5449. "post" : {
  5450. "tags" : [ "alipay.ebpp.invoice.enterpriseexctrl.employertitle" ],
  5451. "summary" : "批量查询企业抬头",
  5452. "description" : "分页查询企业抬头列表",
  5453. "operationId" : "alipay.ebpp.invoice.enterpriseexctrl.employertitle.batchquery",
  5454. "responses" : {
  5455. "200" : {
  5456. "description" : "common response",
  5457. "content" : {
  5458. "application/json" : {
  5459. "schema" : {
  5460. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleBatchqueryResponseModel"
  5461. }
  5462. }
  5463. }
  5464. },
  5465. "default" : {
  5466. "description" : "请求失败",
  5467. "content" : {
  5468. "application/json" : {
  5469. "schema" : {
  5470. "anyOf" : [ {
  5471. "$ref" : "#/components/schemas/CommonErrorType"
  5472. }, {
  5473. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleBatchqueryErrorResponseModel"
  5474. } ]
  5475. }
  5476. }
  5477. }
  5478. }
  5479. },
  5480. "requestBody" : {
  5481. "content" : {
  5482. "application/json" : {
  5483. "schema" : {
  5484. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleBatchqueryModel"
  5485. }
  5486. }
  5487. },
  5488. "required" : false
  5489. }
  5490. }
  5491. },
  5492. "/v3/alipay/ebpp/invoice/enterpriseexctrl/employertitle/create" : {
  5493. "post" : {
  5494. "tags" : [ "alipay.ebpp.invoice.enterpriseexctrl.employertitle" ],
  5495. "summary" : "新增企业抬头",
  5496. "description" : "新增一条企业开票抬头",
  5497. "operationId" : "alipay.ebpp.invoice.enterpriseexctrl.employertitle.create",
  5498. "responses" : {
  5499. "200" : {
  5500. "description" : "common response",
  5501. "content" : {
  5502. "application/json" : {
  5503. "schema" : {
  5504. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleCreateResponseModel"
  5505. }
  5506. }
  5507. }
  5508. },
  5509. "default" : {
  5510. "description" : "请求失败",
  5511. "content" : {
  5512. "application/json" : {
  5513. "schema" : {
  5514. "anyOf" : [ {
  5515. "$ref" : "#/components/schemas/CommonErrorType"
  5516. }, {
  5517. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleCreateErrorResponseModel"
  5518. } ]
  5519. }
  5520. }
  5521. }
  5522. }
  5523. },
  5524. "requestBody" : {
  5525. "content" : {
  5526. "application/json" : {
  5527. "schema" : {
  5528. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleCreateModel"
  5529. }
  5530. }
  5531. },
  5532. "required" : false
  5533. }
  5534. }
  5535. },
  5536. "/v3/alipay/ebpp/invoice/enterpriseexctrl/employertitle/query" : {
  5537. "get" : {
  5538. "tags" : [ "alipay.ebpp.invoice.enterpriseexctrl.employertitle" ],
  5539. "summary" : "查询企业抬头",
  5540. "description" : "根据抬头ID查询企业抬头详情",
  5541. "operationId" : "alipay.ebpp.invoice.enterpriseexctrl.employertitle.query",
  5542. "responses" : {
  5543. "200" : {
  5544. "description" : "common response",
  5545. "content" : {
  5546. "application/json" : {
  5547. "schema" : {
  5548. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleQueryResponseModel"
  5549. }
  5550. }
  5551. }
  5552. },
  5553. "default" : {
  5554. "description" : "请求失败",
  5555. "content" : {
  5556. "application/json" : {
  5557. "schema" : {
  5558. "anyOf" : [ {
  5559. "$ref" : "#/components/schemas/CommonErrorType"
  5560. }, {
  5561. "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleQueryErrorResponseModel"
  5562. } ]
  5563. }
  5564. }
  5565. }
  5566. }
  5567. },
  5568. "parameters" : [ {
  5569. "name" : "account_id",
  5570. "in" : "query",
  5571. "description" : "共同账户id,与enterprise_id两者必填其一",
  5572. "schema" : {
  5573. "type" : "string",
  5574. "example" : "2088xxxxxx"
  5575. }
  5576. }, {
  5577. "name" : "enterprise_id",
  5578. "in" : "query",
  5579. "description" : "企业id,与account_id两者必填其一",
  5580. "schema" : {
  5581. "type" : "string",
  5582. "example" : "2088xxxxxx"
  5583. }
  5584. }, {
  5585. "name" : "agreement_no",
  5586. "in" : "query",
  5587. "description" : "授权签约协议号",
  5588. "schema" : {
  5589. "type" : "string",
  5590. "example" : "9900000000000"
  5591. }
  5592. }, {
  5593. "name" : "title_id",
  5594. "in" : "query",
  5595. "description" : "抬头ID",
  5596. "schema" : {
  5597. "type" : "string",
  5598. "example" : "****"
  5599. }
  5600. } ]
  5601. }
  5602. },
  5603. "/v3/alipay/ebpp/invoice/expense/progress/sync" : {
  5604. "post" : {
  5605. "tags" : [ "alipay.ebpp.invoice.expense.progress" ],
  5606. "summary" : "发票报销处理进度同步",
  5607. "description" : "用户提交发票管家发票到isv申请报销后,isv对报销处理进度推进",
  5608. "operationId" : "alipay.ebpp.invoice.expense.progress.sync",
  5609. "responses" : {
  5610. "200" : {
  5611. "description" : "common response",
  5612. "content" : {
  5613. "application/json" : {
  5614. "schema" : {
  5615. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenseProgressSyncResponseModel"
  5616. }
  5617. }
  5618. }
  5619. },
  5620. "default" : {
  5621. "description" : "请求失败",
  5622. "content" : {
  5623. "application/json" : {
  5624. "schema" : {
  5625. "anyOf" : [ {
  5626. "$ref" : "#/components/schemas/CommonErrorType"
  5627. }, {
  5628. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenseProgressSyncErrorResponseModel"
  5629. } ]
  5630. }
  5631. }
  5632. }
  5633. }
  5634. },
  5635. "requestBody" : {
  5636. "content" : {
  5637. "application/json" : {
  5638. "schema" : {
  5639. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenseProgressSyncModel"
  5640. }
  5641. }
  5642. },
  5643. "required" : false
  5644. }
  5645. }
  5646. },
  5647. "/v3/alipay/ebpp/invoice/expensecomsue/outsource/notify" : {
  5648. "post" : {
  5649. "tags" : [ "alipay.ebpp.invoice.expensecomsue.outsource" ],
  5650. "summary" : "同步外部额度变更(交易形式)",
  5651. "description" : "外部和企业码进行额度共管的时候,外部以交易的形式(支付、退款)将外部发生的额度变更同步给企业码",
  5652. "operationId" : "alipay.ebpp.invoice.expensecomsue.outsource.notify",
  5653. "responses" : {
  5654. "200" : {
  5655. "description" : "common response",
  5656. "content" : {
  5657. "application/json" : {
  5658. "schema" : {
  5659. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecomsueOutsourceNotifyResponseModel"
  5660. }
  5661. }
  5662. }
  5663. },
  5664. "default" : {
  5665. "description" : "请求失败",
  5666. "content" : {
  5667. "application/json" : {
  5668. "schema" : {
  5669. "anyOf" : [ {
  5670. "$ref" : "#/components/schemas/CommonErrorType"
  5671. }, {
  5672. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecomsueOutsourceNotifyErrorResponseModel"
  5673. } ]
  5674. }
  5675. }
  5676. }
  5677. }
  5678. },
  5679. "requestBody" : {
  5680. "content" : {
  5681. "application/json" : {
  5682. "schema" : {
  5683. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecomsueOutsourceNotifyModel"
  5684. }
  5685. }
  5686. },
  5687. "required" : false
  5688. }
  5689. }
  5690. },
  5691. "/v3/alipay/ebpp/invoice/expensecontrol/aggregation/create" : {
  5692. "post" : {
  5693. "tags" : [ "alipay.ebpp.invoice.expensecontrol.aggregation" ],
  5694. "summary" : "创建费控规则聚合关系",
  5695. "description" : "创建费控规则聚合关系",
  5696. "operationId" : "alipay.ebpp.invoice.expensecontrol.aggregation.create",
  5697. "responses" : {
  5698. "200" : {
  5699. "description" : "common response",
  5700. "content" : {
  5701. "application/json" : {
  5702. "schema" : {
  5703. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolAggregationCreateResponseModel"
  5704. }
  5705. }
  5706. }
  5707. },
  5708. "default" : {
  5709. "description" : "请求失败",
  5710. "content" : {
  5711. "application/json" : {
  5712. "schema" : {
  5713. "anyOf" : [ {
  5714. "$ref" : "#/components/schemas/CommonErrorType"
  5715. }, {
  5716. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolAggregationCreateErrorResponseModel"
  5717. } ]
  5718. }
  5719. }
  5720. }
  5721. }
  5722. },
  5723. "requestBody" : {
  5724. "content" : {
  5725. "application/json" : {
  5726. "schema" : {
  5727. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolAggregationCreateModel"
  5728. }
  5729. }
  5730. },
  5731. "required" : false
  5732. }
  5733. }
  5734. },
  5735. "/v3/alipay/ebpp/invoice/expensecontrol/employeequota/create" : {
  5736. "post" : {
  5737. "tags" : [ "alipay.ebpp.invoice.expensecontrol.employeequota" ],
  5738. "summary" : "创建余额(特定场景)",
  5739. "description" : "创建余额,该接口开放给特定场景。如果需要使用,请联系技术支持。",
  5740. "operationId" : "alipay.ebpp.invoice.expensecontrol.employeequota.create",
  5741. "responses" : {
  5742. "200" : {
  5743. "description" : "common response",
  5744. "content" : {
  5745. "application/json" : {
  5746. "schema" : {
  5747. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolEmployeequotaCreateResponseModel"
  5748. }
  5749. }
  5750. }
  5751. },
  5752. "default" : {
  5753. "description" : "请求失败",
  5754. "content" : {
  5755. "application/json" : {
  5756. "schema" : {
  5757. "anyOf" : [ {
  5758. "$ref" : "#/components/schemas/CommonErrorType"
  5759. }, {
  5760. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolEmployeequotaCreateErrorResponseModel"
  5761. } ]
  5762. }
  5763. }
  5764. }
  5765. }
  5766. },
  5767. "requestBody" : {
  5768. "content" : {
  5769. "application/json" : {
  5770. "schema" : {
  5771. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolEmployeequotaCreateModel"
  5772. }
  5773. }
  5774. },
  5775. "required" : false
  5776. }
  5777. }
  5778. },
  5779. "/v3/alipay/ebpp/invoice/expensecontrol/issuebatch/cancel" : {
  5780. "post" : {
  5781. "tags" : [ "alipay.ebpp.invoice.expensecontrol.issuebatch" ],
  5782. "summary" : "作废额度发放",
  5783. "description" : "通过发放批次id,作废当前批次下发放的额度",
  5784. "operationId" : "alipay.ebpp.invoice.expensecontrol.issuebatch.cancel",
  5785. "responses" : {
  5786. "200" : {
  5787. "description" : "common response",
  5788. "content" : {
  5789. "application/json" : {
  5790. "schema" : {
  5791. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolIssuebatchCancelResponseModel"
  5792. }
  5793. }
  5794. }
  5795. },
  5796. "default" : {
  5797. "description" : "请求失败",
  5798. "content" : {
  5799. "application/json" : {
  5800. "schema" : {
  5801. "anyOf" : [ {
  5802. "$ref" : "#/components/schemas/CommonErrorType"
  5803. }, {
  5804. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolIssuebatchCancelErrorResponseModel"
  5805. } ]
  5806. }
  5807. }
  5808. }
  5809. }
  5810. },
  5811. "requestBody" : {
  5812. "content" : {
  5813. "application/json" : {
  5814. "schema" : {
  5815. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolIssuebatchCancelModel"
  5816. }
  5817. }
  5818. },
  5819. "required" : false
  5820. }
  5821. }
  5822. },
  5823. "/v3/alipay/ebpp/invoice/expensecontrol/issuebatch/create" : {
  5824. "post" : {
  5825. "tags" : [ "alipay.ebpp.invoice.expensecontrol.issuebatch" ],
  5826. "summary" : "手动发放额度接口",
  5827. "description" : "通过该接口对企业下的员工进行批量的额度发放。",
  5828. "operationId" : "alipay.ebpp.invoice.expensecontrol.issuebatch.create",
  5829. "responses" : {
  5830. "200" : {
  5831. "description" : "common response",
  5832. "content" : {
  5833. "application/json" : {
  5834. "schema" : {
  5835. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolIssuebatchCreateResponseModel"
  5836. }
  5837. }
  5838. }
  5839. },
  5840. "default" : {
  5841. "description" : "请求失败",
  5842. "content" : {
  5843. "application/json" : {
  5844. "schema" : {
  5845. "anyOf" : [ {
  5846. "$ref" : "#/components/schemas/CommonErrorType"
  5847. }, {
  5848. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolIssuebatchCreateErrorResponseModel"
  5849. } ]
  5850. }
  5851. }
  5852. }
  5853. }
  5854. },
  5855. "requestBody" : {
  5856. "content" : {
  5857. "application/json" : {
  5858. "schema" : {
  5859. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolIssuebatchCreateModel"
  5860. }
  5861. }
  5862. },
  5863. "required" : false
  5864. }
  5865. }
  5866. },
  5867. "/v3/alipay/ebpp/invoice/expensecontrol/quota/create" : {
  5868. "post" : {
  5869. "tags" : [ "alipay.ebpp.invoice.expensecontrol.quota" ],
  5870. "summary" : "创建余额/点券",
  5871. "description" : "创建余额或者点券",
  5872. "operationId" : "alipay.ebpp.invoice.expensecontrol.quota.create",
  5873. "responses" : {
  5874. "200" : {
  5875. "description" : "common response",
  5876. "content" : {
  5877. "application/json" : {
  5878. "schema" : {
  5879. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaCreateResponseModel"
  5880. }
  5881. }
  5882. }
  5883. },
  5884. "default" : {
  5885. "description" : "请求失败",
  5886. "content" : {
  5887. "application/json" : {
  5888. "schema" : {
  5889. "anyOf" : [ {
  5890. "$ref" : "#/components/schemas/CommonErrorType"
  5891. }, {
  5892. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaCreateErrorResponseModel"
  5893. } ]
  5894. }
  5895. }
  5896. }
  5897. }
  5898. },
  5899. "requestBody" : {
  5900. "content" : {
  5901. "application/json" : {
  5902. "schema" : {
  5903. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaCreateModel"
  5904. }
  5905. }
  5906. },
  5907. "required" : false
  5908. }
  5909. }
  5910. },
  5911. "/v3/alipay/ebpp/invoice/expensecontrol/quota/modify" : {
  5912. "post" : {
  5913. "tags" : [ "alipay.ebpp.invoice.expensecontrol.quota" ],
  5914. "summary" : "修改余额/点券",
  5915. "description" : "修改余额或点券",
  5916. "operationId" : "alipay.ebpp.invoice.expensecontrol.quota.modify",
  5917. "responses" : {
  5918. "200" : {
  5919. "description" : "common response",
  5920. "content" : {
  5921. "application/json" : {
  5922. "schema" : {
  5923. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaModifyResponseModel"
  5924. }
  5925. }
  5926. }
  5927. },
  5928. "default" : {
  5929. "description" : "请求失败",
  5930. "content" : {
  5931. "application/json" : {
  5932. "schema" : {
  5933. "anyOf" : [ {
  5934. "$ref" : "#/components/schemas/CommonErrorType"
  5935. }, {
  5936. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaModifyErrorResponseModel"
  5937. } ]
  5938. }
  5939. }
  5940. }
  5941. }
  5942. },
  5943. "requestBody" : {
  5944. "content" : {
  5945. "application/json" : {
  5946. "schema" : {
  5947. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaModifyModel"
  5948. }
  5949. }
  5950. },
  5951. "required" : false
  5952. }
  5953. }
  5954. },
  5955. "/v3/alipay/ebpp/invoice/expensecontrol/quota/query" : {
  5956. "post" : {
  5957. "tags" : [ "alipay.ebpp.invoice.expensecontrol.quota" ],
  5958. "summary" : "查询余额/点券",
  5959. "description" : "查询余额或者点券",
  5960. "operationId" : "alipay.ebpp.invoice.expensecontrol.quota.query",
  5961. "responses" : {
  5962. "200" : {
  5963. "description" : "common response",
  5964. "content" : {
  5965. "application/json" : {
  5966. "schema" : {
  5967. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaQueryResponseModel"
  5968. }
  5969. }
  5970. }
  5971. },
  5972. "default" : {
  5973. "description" : "请求失败",
  5974. "content" : {
  5975. "application/json" : {
  5976. "schema" : {
  5977. "anyOf" : [ {
  5978. "$ref" : "#/components/schemas/CommonErrorType"
  5979. }, {
  5980. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaQueryErrorResponseModel"
  5981. } ]
  5982. }
  5983. }
  5984. }
  5985. }
  5986. },
  5987. "requestBody" : {
  5988. "content" : {
  5989. "application/json" : {
  5990. "schema" : {
  5991. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaQueryModel"
  5992. }
  5993. }
  5994. },
  5995. "required" : false
  5996. }
  5997. }
  5998. },
  5999. "/v3/alipay/ebpp/invoice/expenserules/employee/query" : {
  6000. "get" : {
  6001. "tags" : [ "alipay.ebpp.invoice.expenserules.employee" ],
  6002. "summary" : "查询费控规则员工",
  6003. "description" : "查询费控规则员工",
  6004. "operationId" : "alipay.ebpp.invoice.expenserules.employee.query",
  6005. "responses" : {
  6006. "200" : {
  6007. "description" : "common response",
  6008. "content" : {
  6009. "application/json" : {
  6010. "schema" : {
  6011. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesEmployeeQueryResponseModel"
  6012. }
  6013. }
  6014. }
  6015. },
  6016. "default" : {
  6017. "description" : "请求失败",
  6018. "content" : {
  6019. "application/json" : {
  6020. "schema" : {
  6021. "anyOf" : [ {
  6022. "$ref" : "#/components/schemas/CommonErrorType"
  6023. }, {
  6024. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesEmployeeQueryErrorResponseModel"
  6025. } ]
  6026. }
  6027. }
  6028. }
  6029. }
  6030. },
  6031. "parameters" : [ {
  6032. "name" : "account_id",
  6033. "in" : "query",
  6034. "description" : "共同账号ID",
  6035. "schema" : {
  6036. "type" : "string",
  6037. "example" : "2088123456789000"
  6038. }
  6039. }, {
  6040. "name" : "agreement_no",
  6041. "in" : "query",
  6042. "description" : "授权签约协议号",
  6043. "schema" : {
  6044. "type" : "string",
  6045. "example" : "20205820659822371223"
  6046. }
  6047. }, {
  6048. "name" : "enterprise_id",
  6049. "in" : "query",
  6050. "description" : "企业码企业id",
  6051. "schema" : {
  6052. "type" : "string",
  6053. "example" : "2088000194958956"
  6054. }
  6055. }, {
  6056. "name" : "standard_id",
  6057. "in" : "query",
  6058. "description" : "费控规则ID",
  6059. "schema" : {
  6060. "type" : "string",
  6061. "example" : "2021081900152601000000000101"
  6062. }
  6063. }, {
  6064. "name" : "page_num",
  6065. "in" : "query",
  6066. "description" : "页数",
  6067. "schema" : {
  6068. "type" : "integer",
  6069. "example" : "1"
  6070. }
  6071. }, {
  6072. "name" : "page_size",
  6073. "in" : "query",
  6074. "description" : "页大小",
  6075. "schema" : {
  6076. "type" : "integer",
  6077. "example" : "20"
  6078. }
  6079. } ]
  6080. }
  6081. },
  6082. "/v3/alipay/ebpp/invoice/expenserules/employeerules/query" : {
  6083. "get" : {
  6084. "tags" : [ "alipay.ebpp.invoice.expenserules.employeerules" ],
  6085. "summary" : "查询员工绑定的所有费控规则",
  6086. "description" : "分页查询指定员工绑定的所有费控规则,默认返回所有有效和无效规则,查询结果按费控规则的创建时间倒序",
  6087. "operationId" : "alipay.ebpp.invoice.expenserules.employeerules.query",
  6088. "responses" : {
  6089. "200" : {
  6090. "description" : "common response",
  6091. "content" : {
  6092. "application/json" : {
  6093. "schema" : {
  6094. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesEmployeerulesQueryResponseModel"
  6095. }
  6096. }
  6097. }
  6098. },
  6099. "default" : {
  6100. "description" : "请求失败",
  6101. "content" : {
  6102. "application/json" : {
  6103. "schema" : {
  6104. "anyOf" : [ {
  6105. "$ref" : "#/components/schemas/CommonErrorType"
  6106. }, {
  6107. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesEmployeerulesQueryErrorResponseModel"
  6108. } ]
  6109. }
  6110. }
  6111. }
  6112. }
  6113. },
  6114. "parameters" : [ {
  6115. "name" : "account_id",
  6116. "in" : "query",
  6117. "description" : "企业ID",
  6118. "schema" : {
  6119. "type" : "string",
  6120. "example" : "208800019495xxxx"
  6121. }
  6122. }, {
  6123. "name" : "agreement_no",
  6124. "in" : "query",
  6125. "description" : "授权签约协议号",
  6126. "schema" : {
  6127. "type" : "string",
  6128. "example" : "2021542500111234xxxx"
  6129. }
  6130. }, {
  6131. "name" : "employee_id",
  6132. "in" : "query",
  6133. "description" : "未切换open_id时使用此字段:员工ID",
  6134. "schema" : {
  6135. "type" : "string",
  6136. "example" : "208852286537xxxx"
  6137. }
  6138. }, {
  6139. "name" : "employee_open_id",
  6140. "in" : "query",
  6141. "description" : "切换open_id后使用此字段:员工的open_id",
  6142. "schema" : {
  6143. "type" : "string",
  6144. "example" : "abcdxxxx"
  6145. }
  6146. }, {
  6147. "name" : "page_num",
  6148. "in" : "query",
  6149. "description" : "页码,默认值为1",
  6150. "schema" : {
  6151. "type" : "integer",
  6152. "example" : "1"
  6153. }
  6154. }, {
  6155. "name" : "page_size",
  6156. "in" : "query",
  6157. "description" : "每页行数,默认值为20",
  6158. "schema" : {
  6159. "type" : "integer",
  6160. "example" : "20"
  6161. }
  6162. } ]
  6163. }
  6164. },
  6165. "/v3/alipay/ebpp/invoice/expenserules/groupemployee/modify" : {
  6166. "post" : {
  6167. "tags" : [ "alipay.ebpp.invoice.expenserules.groupemployee" ],
  6168. "summary" : "修改费控规则员工",
  6169. "description" : "修改费控规则员工",
  6170. "operationId" : "alipay.ebpp.invoice.expenserules.groupemployee.modify",
  6171. "responses" : {
  6172. "200" : {
  6173. "description" : "common response",
  6174. "content" : {
  6175. "application/json" : {
  6176. "schema" : {
  6177. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesGroupemployeeModifyResponseModel"
  6178. }
  6179. }
  6180. }
  6181. },
  6182. "default" : {
  6183. "description" : "请求失败",
  6184. "content" : {
  6185. "application/json" : {
  6186. "schema" : {
  6187. "anyOf" : [ {
  6188. "$ref" : "#/components/schemas/CommonErrorType"
  6189. }, {
  6190. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesGroupemployeeModifyErrorResponseModel"
  6191. } ]
  6192. }
  6193. }
  6194. }
  6195. }
  6196. },
  6197. "requestBody" : {
  6198. "content" : {
  6199. "application/json" : {
  6200. "schema" : {
  6201. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesGroupemployeeModifyModel"
  6202. }
  6203. }
  6204. },
  6205. "required" : false
  6206. }
  6207. }
  6208. },
  6209. "/v3/alipay/ebpp/invoice/expenserules/projectemployee/modify" : {
  6210. "post" : {
  6211. "tags" : [ "alipay.ebpp.invoice.expenserules.projectemployee" ],
  6212. "summary" : "修改项目的员工列表",
  6213. "description" : "修改项目的员工列表",
  6214. "operationId" : "alipay.ebpp.invoice.expenserules.projectemployee.modify",
  6215. "responses" : {
  6216. "200" : {
  6217. "description" : "common response",
  6218. "content" : {
  6219. "application/json" : {
  6220. "schema" : {
  6221. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectemployeeModifyResponseModel"
  6222. }
  6223. }
  6224. }
  6225. },
  6226. "default" : {
  6227. "description" : "请求失败",
  6228. "content" : {
  6229. "application/json" : {
  6230. "schema" : {
  6231. "anyOf" : [ {
  6232. "$ref" : "#/components/schemas/CommonErrorType"
  6233. }, {
  6234. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectemployeeModifyErrorResponseModel"
  6235. } ]
  6236. }
  6237. }
  6238. }
  6239. }
  6240. },
  6241. "requestBody" : {
  6242. "content" : {
  6243. "application/json" : {
  6244. "schema" : {
  6245. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectemployeeModifyModel"
  6246. }
  6247. }
  6248. },
  6249. "required" : false
  6250. }
  6251. }
  6252. },
  6253. "/v3/alipay/ebpp/invoice/expenserules/projectinfo/modify" : {
  6254. "post" : {
  6255. "tags" : [ "alipay.ebpp.invoice.expenserules.projectinfo" ],
  6256. "summary" : "修改项目基础信息",
  6257. "description" : "修改项目基础信息",
  6258. "operationId" : "alipay.ebpp.invoice.expenserules.projectinfo.modify",
  6259. "responses" : {
  6260. "200" : {
  6261. "description" : "common response",
  6262. "content" : {
  6263. "application/json" : {
  6264. "schema" : {
  6265. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectinfoModifyResponseModel"
  6266. }
  6267. }
  6268. }
  6269. },
  6270. "default" : {
  6271. "description" : "请求失败",
  6272. "content" : {
  6273. "application/json" : {
  6274. "schema" : {
  6275. "anyOf" : [ {
  6276. "$ref" : "#/components/schemas/CommonErrorType"
  6277. }, {
  6278. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectinfoModifyErrorResponseModel"
  6279. } ]
  6280. }
  6281. }
  6282. }
  6283. }
  6284. },
  6285. "requestBody" : {
  6286. "content" : {
  6287. "application/json" : {
  6288. "schema" : {
  6289. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectinfoModifyModel"
  6290. }
  6291. }
  6292. },
  6293. "required" : false
  6294. }
  6295. }
  6296. },
  6297. "/v3/alipay/ebpp/invoice/expenserules/projectrule/create" : {
  6298. "post" : {
  6299. "tags" : [ "alipay.ebpp.invoice.expenserules.projectrule" ],
  6300. "summary" : "创建项目费控规则",
  6301. "description" : "创建项目费控规则",
  6302. "operationId" : "alipay.ebpp.invoice.expenserules.projectrule.create",
  6303. "responses" : {
  6304. "200" : {
  6305. "description" : "common response",
  6306. "content" : {
  6307. "application/json" : {
  6308. "schema" : {
  6309. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectruleCreateResponseModel"
  6310. }
  6311. }
  6312. }
  6313. },
  6314. "default" : {
  6315. "description" : "请求失败",
  6316. "content" : {
  6317. "application/json" : {
  6318. "schema" : {
  6319. "anyOf" : [ {
  6320. "$ref" : "#/components/schemas/CommonErrorType"
  6321. }, {
  6322. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectruleCreateErrorResponseModel"
  6323. } ]
  6324. }
  6325. }
  6326. }
  6327. }
  6328. },
  6329. "requestBody" : {
  6330. "content" : {
  6331. "application/json" : {
  6332. "schema" : {
  6333. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectruleCreateModel"
  6334. }
  6335. }
  6336. },
  6337. "required" : false
  6338. }
  6339. }
  6340. },
  6341. "/v3/alipay/ebpp/invoice/expenserules/projectrule/query" : {
  6342. "get" : {
  6343. "tags" : [ "alipay.ebpp.invoice.expenserules.projectrule" ],
  6344. "summary" : "查询项目费控规则",
  6345. "description" : "查询项目费控规则",
  6346. "operationId" : "alipay.ebpp.invoice.expenserules.projectrule.query",
  6347. "responses" : {
  6348. "200" : {
  6349. "description" : "common response",
  6350. "content" : {
  6351. "application/json" : {
  6352. "schema" : {
  6353. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectruleQueryResponseModel"
  6354. }
  6355. }
  6356. }
  6357. },
  6358. "default" : {
  6359. "description" : "请求失败",
  6360. "content" : {
  6361. "application/json" : {
  6362. "schema" : {
  6363. "anyOf" : [ {
  6364. "$ref" : "#/components/schemas/CommonErrorType"
  6365. }, {
  6366. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectruleQueryErrorResponseModel"
  6367. } ]
  6368. }
  6369. }
  6370. }
  6371. }
  6372. },
  6373. "parameters" : [ {
  6374. "name" : "account_id",
  6375. "in" : "query",
  6376. "description" : "共同账号ID",
  6377. "schema" : {
  6378. "type" : "string",
  6379. "example" : "2088000194958956"
  6380. }
  6381. }, {
  6382. "name" : "agreement_no",
  6383. "in" : "query",
  6384. "description" : "授权签约协议号",
  6385. "schema" : {
  6386. "type" : "string",
  6387. "example" : "20215425001112341234"
  6388. }
  6389. }, {
  6390. "name" : "project_id",
  6391. "in" : "query",
  6392. "description" : "项目id(可空)",
  6393. "schema" : {
  6394. "type" : "string",
  6395. "example" : "2021063000152700000000000000"
  6396. }
  6397. }, {
  6398. "name" : "employee_id",
  6399. "in" : "query",
  6400. "description" : "员工UID(可空)",
  6401. "schema" : {
  6402. "type" : "string",
  6403. "example" : "2088123412341234"
  6404. }
  6405. }, {
  6406. "name" : "employee_open_id",
  6407. "in" : "query",
  6408. "description" : "切换open_id后请使用:员工open_id(可空)",
  6409. "schema" : {
  6410. "type" : "string",
  6411. "example" : "abcdxxxx"
  6412. }
  6413. }, {
  6414. "name" : "page_num",
  6415. "in" : "query",
  6416. "description" : "页数",
  6417. "schema" : {
  6418. "type" : "integer",
  6419. "example" : "1"
  6420. }
  6421. }, {
  6422. "name" : "page_size",
  6423. "in" : "query",
  6424. "description" : "页大小",
  6425. "schema" : {
  6426. "type" : "integer",
  6427. "example" : "20"
  6428. }
  6429. } ]
  6430. }
  6431. },
  6432. "/v3/alipay/ebpp/invoice/expenserules/projectrules/modify" : {
  6433. "post" : {
  6434. "tags" : [ "alipay.ebpp.invoice.expenserules.projectrules" ],
  6435. "summary" : "修改项目费控规则",
  6436. "description" : "修改项目费控规则",
  6437. "operationId" : "alipay.ebpp.invoice.expenserules.projectrules.modify",
  6438. "responses" : {
  6439. "200" : {
  6440. "description" : "common response",
  6441. "content" : {
  6442. "application/json" : {
  6443. "schema" : {
  6444. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectrulesModifyResponseModel"
  6445. }
  6446. }
  6447. }
  6448. },
  6449. "default" : {
  6450. "description" : "请求失败",
  6451. "content" : {
  6452. "application/json" : {
  6453. "schema" : {
  6454. "anyOf" : [ {
  6455. "$ref" : "#/components/schemas/CommonErrorType"
  6456. }, {
  6457. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectrulesModifyErrorResponseModel"
  6458. } ]
  6459. }
  6460. }
  6461. }
  6462. }
  6463. },
  6464. "requestBody" : {
  6465. "content" : {
  6466. "application/json" : {
  6467. "schema" : {
  6468. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectrulesModifyModel"
  6469. }
  6470. }
  6471. },
  6472. "required" : false
  6473. }
  6474. }
  6475. },
  6476. "/v3/alipay/ebpp/invoice/expenserules/scenerule/create" : {
  6477. "post" : {
  6478. "tags" : [ "alipay.ebpp.invoice.expenserules.scenerule" ],
  6479. "summary" : "创建费控规则",
  6480. "description" : "创建费控规则,例如:创建一条有效期为2021-08-01 00:00:00到2031-08-01 00:00:00的福利餐费控规则,限制对应员工的单日消费金额不超过100元;",
  6481. "operationId" : "alipay.ebpp.invoice.expenserules.scenerule.create",
  6482. "responses" : {
  6483. "200" : {
  6484. "description" : "common response",
  6485. "content" : {
  6486. "application/json" : {
  6487. "schema" : {
  6488. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleCreateResponseModel"
  6489. }
  6490. }
  6491. }
  6492. },
  6493. "default" : {
  6494. "description" : "请求失败",
  6495. "content" : {
  6496. "application/json" : {
  6497. "schema" : {
  6498. "anyOf" : [ {
  6499. "$ref" : "#/components/schemas/CommonErrorType"
  6500. }, {
  6501. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleCreateErrorResponseModel"
  6502. } ]
  6503. }
  6504. }
  6505. }
  6506. }
  6507. },
  6508. "requestBody" : {
  6509. "content" : {
  6510. "application/json" : {
  6511. "schema" : {
  6512. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleCreateModel"
  6513. }
  6514. }
  6515. },
  6516. "required" : false
  6517. }
  6518. }
  6519. },
  6520. "/v3/alipay/ebpp/invoice/expenserules/scenerule/modify" : {
  6521. "post" : {
  6522. "tags" : [ "alipay.ebpp.invoice.expenserules.scenerule" ],
  6523. "summary" : "修改费控规则",
  6524. "description" : "修改费控规则",
  6525. "operationId" : "alipay.ebpp.invoice.expenserules.scenerule.modify",
  6526. "responses" : {
  6527. "200" : {
  6528. "description" : "common response",
  6529. "content" : {
  6530. "application/json" : {
  6531. "schema" : {
  6532. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleModifyResponseModel"
  6533. }
  6534. }
  6535. }
  6536. },
  6537. "default" : {
  6538. "description" : "请求失败",
  6539. "content" : {
  6540. "application/json" : {
  6541. "schema" : {
  6542. "anyOf" : [ {
  6543. "$ref" : "#/components/schemas/CommonErrorType"
  6544. }, {
  6545. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleModifyErrorResponseModel"
  6546. } ]
  6547. }
  6548. }
  6549. }
  6550. }
  6551. },
  6552. "requestBody" : {
  6553. "content" : {
  6554. "application/json" : {
  6555. "schema" : {
  6556. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleModifyModel"
  6557. }
  6558. }
  6559. },
  6560. "required" : false
  6561. }
  6562. }
  6563. },
  6564. "/v3/alipay/ebpp/invoice/expenserules/scenerule/query" : {
  6565. "get" : {
  6566. "tags" : [ "alipay.ebpp.invoice.expenserules.scenerule" ],
  6567. "summary" : "查询费控规则信息",
  6568. "description" : "查询费控规则信息",
  6569. "operationId" : "alipay.ebpp.invoice.expenserules.scenerule.query",
  6570. "responses" : {
  6571. "200" : {
  6572. "description" : "common response",
  6573. "content" : {
  6574. "application/json" : {
  6575. "schema" : {
  6576. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleQueryResponseModel"
  6577. }
  6578. }
  6579. }
  6580. },
  6581. "default" : {
  6582. "description" : "请求失败",
  6583. "content" : {
  6584. "application/json" : {
  6585. "schema" : {
  6586. "anyOf" : [ {
  6587. "$ref" : "#/components/schemas/CommonErrorType"
  6588. }, {
  6589. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleQueryErrorResponseModel"
  6590. } ]
  6591. }
  6592. }
  6593. }
  6594. }
  6595. },
  6596. "parameters" : [ {
  6597. "name" : "account_id",
  6598. "in" : "query",
  6599. "description" : "企业ID",
  6600. "schema" : {
  6601. "type" : "string",
  6602. "example" : "2088000194958956"
  6603. }
  6604. }, {
  6605. "name" : "agreement_no",
  6606. "in" : "query",
  6607. "description" : "授权签约协议号",
  6608. "schema" : {
  6609. "type" : "string",
  6610. "example" : "20215425001112341234"
  6611. }
  6612. }, {
  6613. "name" : "enterprise_id",
  6614. "in" : "query",
  6615. "description" : "企业码企业id",
  6616. "schema" : {
  6617. "type" : "string",
  6618. "example" : "2088000194958956"
  6619. }
  6620. }, {
  6621. "name" : "standard_id",
  6622. "in" : "query",
  6623. "description" : "费控规则ID",
  6624. "schema" : {
  6625. "type" : "string",
  6626. "example" : "20215425001112341234"
  6627. }
  6628. }, {
  6629. "name" : "page_num",
  6630. "in" : "query",
  6631. "description" : "页数",
  6632. "schema" : {
  6633. "type" : "integer",
  6634. "example" : "1"
  6635. }
  6636. }, {
  6637. "name" : "page_size",
  6638. "in" : "query",
  6639. "description" : "页大小",
  6640. "schema" : {
  6641. "type" : "integer",
  6642. "example" : "10"
  6643. }
  6644. } ]
  6645. }
  6646. },
  6647. "/v3/alipay/ebpp/invoice/expensescene/merchant/query" : {
  6648. "get" : {
  6649. "tags" : [ "alipay.ebpp.invoice.expensescene.merchant" ],
  6650. "summary" : "查询企业可用商户信息",
  6651. "description" : "查询企业可用商户信息",
  6652. "operationId" : "alipay.ebpp.invoice.expensescene.merchant.query",
  6653. "responses" : {
  6654. "200" : {
  6655. "description" : "common response",
  6656. "content" : {
  6657. "application/json" : {
  6658. "schema" : {
  6659. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensesceneMerchantQueryResponseModel"
  6660. }
  6661. }
  6662. }
  6663. },
  6664. "default" : {
  6665. "description" : "请求失败",
  6666. "content" : {
  6667. "application/json" : {
  6668. "schema" : {
  6669. "anyOf" : [ {
  6670. "$ref" : "#/components/schemas/CommonErrorType"
  6671. }, {
  6672. "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensesceneMerchantQueryErrorResponseModel"
  6673. } ]
  6674. }
  6675. }
  6676. }
  6677. }
  6678. },
  6679. "parameters" : [ {
  6680. "name" : "account_id",
  6681. "in" : "query",
  6682. "description" : "共同账户ID",
  6683. "schema" : {
  6684. "type" : "string",
  6685. "example" : "2088xxx"
  6686. }
  6687. }, {
  6688. "name" : "agreement_no",
  6689. "in" : "query",
  6690. "description" : "授权签约协议号",
  6691. "schema" : {
  6692. "type" : "string",
  6693. "example" : "20215713002876184996"
  6694. }
  6695. }, {
  6696. "name" : "enterprise_id",
  6697. "in" : "query",
  6698. "description" : "企业ID",
  6699. "schema" : {
  6700. "type" : "string",
  6701. "example" : "2088xxx"
  6702. }
  6703. }, {
  6704. "name" : "role_id",
  6705. "in" : "query",
  6706. "description" : "商户ID",
  6707. "schema" : {
  6708. "type" : "string",
  6709. "example" : "2088xxx"
  6710. }
  6711. }, {
  6712. "name" : "pid",
  6713. "in" : "query",
  6714. "description" : "商户ID",
  6715. "schema" : {
  6716. "type" : "string",
  6717. "example" : "2088xxx"
  6718. }
  6719. }, {
  6720. "name" : "shop_id",
  6721. "in" : "query",
  6722. "description" : "球房ID",
  6723. "schema" : {
  6724. "type" : "string",
  6725. "example" : "2088xxx"
  6726. }
  6727. }, {
  6728. "name" : "expense_type",
  6729. "in" : "query",
  6730. "description" : "费用类型\tMEAL - 工作餐",
  6731. "schema" : {
  6732. "type" : "string",
  6733. "example" : "MEAL"
  6734. }
  6735. }, {
  6736. "name" : "page_num",
  6737. "in" : "query",
  6738. "description" : "页码",
  6739. "schema" : {
  6740. "type" : "integer",
  6741. "example" : "1"
  6742. }
  6743. }, {
  6744. "name" : "page_size",
  6745. "in" : "query",
  6746. "description" : "每页行数(最大100)",
  6747. "schema" : {
  6748. "type" : "integer",
  6749. "example" : "20"
  6750. }
  6751. } ]
  6752. }
  6753. },
  6754. "/v3/alipay/ebpp/invoice/file/output/query" : {
  6755. "get" : {
  6756. "tags" : [ "alipay.ebpp.invoice.file.output" ],
  6757. "summary" : "获取电子发票原文件",
  6758. "description" : "根据发票代码,发票号码获取用户的普通增值税电子发票pdf文件\r\n查询权限要求: 发票属于当前isv报销单据进行状态(支持的状态有 EXPENSE_APPLY-用户已提交申请 EXPENSE_APPROVAL_PASS -报销审核通过 EXPENSE_FINISHED-报销完结)",
  6759. "operationId" : "alipay.ebpp.invoice.file.output.query",
  6760. "responses" : {
  6761. "200" : {
  6762. "description" : "common response",
  6763. "content" : {
  6764. "application/json" : {
  6765. "schema" : {
  6766. "$ref" : "#/components/schemas/AlipayEbppInvoiceFileOutputQueryResponseModel"
  6767. }
  6768. }
  6769. }
  6770. },
  6771. "default" : {
  6772. "description" : "请求失败",
  6773. "content" : {
  6774. "application/json" : {
  6775. "schema" : {
  6776. "anyOf" : [ {
  6777. "$ref" : "#/components/schemas/CommonErrorType"
  6778. }, {
  6779. "$ref" : "#/components/schemas/AlipayEbppInvoiceFileOutputQueryErrorResponseModel"
  6780. } ]
  6781. }
  6782. }
  6783. }
  6784. }
  6785. },
  6786. "parameters" : [ {
  6787. "name" : "user_id",
  6788. "in" : "query",
  6789. "description" : "发票归属用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  6790. "schema" : {
  6791. "type" : "string",
  6792. "example" : "2088550000000"
  6793. }
  6794. }, {
  6795. "name" : "open_id",
  6796. "in" : "query",
  6797. "description" : "发票归属用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  6798. "schema" : {
  6799. "type" : "string",
  6800. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  6801. }
  6802. }, {
  6803. "name" : "invoice_code",
  6804. "in" : "query",
  6805. "description" : "发票代码\t字段长度(10-12位),全电票时为空",
  6806. "schema" : {
  6807. "type" : "string",
  6808. "example" : "123"
  6809. }
  6810. }, {
  6811. "name" : "invoice_no",
  6812. "in" : "query",
  6813. "description" : "发票号码\t字段长度(8-10位),全电票时为20位",
  6814. "schema" : {
  6815. "type" : "string",
  6816. "example" : "111"
  6817. }
  6818. }, {
  6819. "name" : "scene",
  6820. "in" : "query",
  6821. "description" : "发票pdf文件下载应用场景。固定为 INVOICE_EXPENSE 表示发票报销。",
  6822. "schema" : {
  6823. "type" : "string",
  6824. "example" : "INVOICE_EXPENSE"
  6825. }
  6826. }, {
  6827. "name" : "skip_expense_progress_sync",
  6828. "in" : "query",
  6829. "description" : "是否跳过发票报销状态同步;当为true时,跳过报销状态同步校验。默认为false,需要先做报销状态同步",
  6830. "schema" : {
  6831. "type" : "boolean",
  6832. "example" : "false"
  6833. }
  6834. } ]
  6835. }
  6836. },
  6837. "/v3/alipay/ebpp/invoice/info/send" : {
  6838. "post" : {
  6839. "tags" : [ "alipay.ebpp.invoice.info" ],
  6840. "summary" : "发票信息回传接口(新版)",
  6841. "description" : "商户或ISV将发票信息发送至发票管家。例如:商户为用户开出发票之后,通过该接口将发票发送到买家支付宝的发票管家中,买家可在发票管家中查看发票。",
  6842. "operationId" : "alipay.ebpp.invoice.info.send",
  6843. "responses" : {
  6844. "200" : {
  6845. "description" : "common response",
  6846. "content" : {
  6847. "application/json" : {
  6848. "schema" : {
  6849. "$ref" : "#/components/schemas/AlipayEbppInvoiceInfoSendResponseModel"
  6850. }
  6851. }
  6852. }
  6853. },
  6854. "default" : {
  6855. "description" : "请求失败",
  6856. "content" : {
  6857. "application/json" : {
  6858. "schema" : {
  6859. "anyOf" : [ {
  6860. "$ref" : "#/components/schemas/CommonErrorType"
  6861. }, {
  6862. "$ref" : "#/components/schemas/AlipayEbppInvoiceInfoSendErrorResponseModel"
  6863. } ]
  6864. }
  6865. }
  6866. }
  6867. }
  6868. },
  6869. "requestBody" : {
  6870. "content" : {
  6871. "application/json" : {
  6872. "schema" : {
  6873. "$ref" : "#/components/schemas/AlipayEbppInvoiceInfoSendModel"
  6874. }
  6875. }
  6876. },
  6877. "required" : false
  6878. }
  6879. }
  6880. },
  6881. "/v3/alipay/ebpp/invoice/institution/create" : {
  6882. "post" : {
  6883. "tags" : [ "alipay.ebpp.invoice.institution" ],
  6884. "summary" : "制度新增",
  6885. "description" : "制度新增,包含制度下使用规则列表和发放规则列表的新增。",
  6886. "operationId" : "alipay.ebpp.invoice.institution.create",
  6887. "responses" : {
  6888. "200" : {
  6889. "description" : "common response",
  6890. "content" : {
  6891. "application/json" : {
  6892. "schema" : {
  6893. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionCreateResponseModel"
  6894. }
  6895. }
  6896. }
  6897. },
  6898. "default" : {
  6899. "description" : "请求失败",
  6900. "content" : {
  6901. "application/json" : {
  6902. "schema" : {
  6903. "anyOf" : [ {
  6904. "$ref" : "#/components/schemas/CommonErrorType"
  6905. }, {
  6906. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionCreateErrorResponseModel"
  6907. } ]
  6908. }
  6909. }
  6910. }
  6911. }
  6912. },
  6913. "requestBody" : {
  6914. "content" : {
  6915. "application/json" : {
  6916. "schema" : {
  6917. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionCreateModel"
  6918. }
  6919. }
  6920. },
  6921. "required" : false
  6922. }
  6923. }
  6924. },
  6925. "/v3/alipay/ebpp/invoice/institution/delete" : {
  6926. "delete" : {
  6927. "tags" : [ "alipay.ebpp.invoice.institution" ],
  6928. "summary" : "制度删除",
  6929. "description" : "制度删除",
  6930. "operationId" : "alipay.ebpp.invoice.institution.delete",
  6931. "responses" : {
  6932. "200" : {
  6933. "description" : "common response",
  6934. "content" : {
  6935. "application/json" : {
  6936. "schema" : {
  6937. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionDeleteResponseModel"
  6938. }
  6939. }
  6940. }
  6941. },
  6942. "default" : {
  6943. "description" : "请求失败",
  6944. "content" : {
  6945. "application/json" : {
  6946. "schema" : {
  6947. "anyOf" : [ {
  6948. "$ref" : "#/components/schemas/CommonErrorType"
  6949. }, {
  6950. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionDeleteErrorResponseModel"
  6951. } ]
  6952. }
  6953. }
  6954. }
  6955. }
  6956. },
  6957. "parameters" : [ {
  6958. "name" : "account_id",
  6959. "in" : "query",
  6960. "description" : "企业共同账户id",
  6961. "schema" : {
  6962. "type" : "string",
  6963. "example" : "2088000194958956"
  6964. }
  6965. }, {
  6966. "name" : "agreement_no",
  6967. "in" : "query",
  6968. "description" : "授权签约协议号",
  6969. "schema" : {
  6970. "type" : "string",
  6971. "example" : "20215425001181407500"
  6972. }
  6973. }, {
  6974. "name" : "enterprise_id",
  6975. "in" : "query",
  6976. "description" : "企业id",
  6977. "schema" : {
  6978. "type" : "string",
  6979. "example" : "2088123412341234"
  6980. }
  6981. }, {
  6982. "name" : "institution_id",
  6983. "in" : "query",
  6984. "description" : "制度id",
  6985. "schema" : {
  6986. "type" : "string",
  6987. "example" : "2022031000152617000000000001"
  6988. }
  6989. } ]
  6990. }
  6991. },
  6992. "/v3/alipay/ebpp/invoice/institution/detailinfo/query" : {
  6993. "get" : {
  6994. "tags" : [ "alipay.ebpp.invoice.institution.detailinfo" ],
  6995. "summary" : "制度详情查询",
  6996. "description" : "单个制度查询,返回制度详细信息,包含制度下使用规则列表和发放规则列表",
  6997. "operationId" : "alipay.ebpp.invoice.institution.detailinfo.query",
  6998. "responses" : {
  6999. "200" : {
  7000. "description" : "common response",
  7001. "content" : {
  7002. "application/json" : {
  7003. "schema" : {
  7004. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionDetailinfoQueryResponseModel"
  7005. }
  7006. }
  7007. }
  7008. },
  7009. "default" : {
  7010. "description" : "请求失败",
  7011. "content" : {
  7012. "application/json" : {
  7013. "schema" : {
  7014. "anyOf" : [ {
  7015. "$ref" : "#/components/schemas/CommonErrorType"
  7016. }, {
  7017. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionDetailinfoQueryErrorResponseModel"
  7018. } ]
  7019. }
  7020. }
  7021. }
  7022. }
  7023. },
  7024. "parameters" : [ {
  7025. "name" : "account_id",
  7026. "in" : "query",
  7027. "description" : "企业共同账户id",
  7028. "schema" : {
  7029. "type" : "string",
  7030. "example" : "2088000194958956"
  7031. }
  7032. }, {
  7033. "name" : "agreement_no",
  7034. "in" : "query",
  7035. "description" : "授权签约协议号",
  7036. "schema" : {
  7037. "type" : "string",
  7038. "example" : "20215425001112341234"
  7039. }
  7040. }, {
  7041. "name" : "enterprise_id",
  7042. "in" : "query",
  7043. "description" : "企业ID",
  7044. "schema" : {
  7045. "type" : "string",
  7046. "example" : "2088000194958956"
  7047. }
  7048. }, {
  7049. "name" : "institution_id",
  7050. "in" : "query",
  7051. "description" : "制度id",
  7052. "schema" : {
  7053. "type" : "string",
  7054. "example" : "2022071800152609780000004052"
  7055. }
  7056. } ]
  7057. }
  7058. },
  7059. "/v3/alipay/ebpp/invoice/institution/expenserule/create" : {
  7060. "post" : {
  7061. "tags" : [ "alipay.ebpp.invoice.institution.expenserule" ],
  7062. "summary" : "创建费控使用规则",
  7063. "description" : "创建费控使用规则",
  7064. "operationId" : "alipay.ebpp.invoice.institution.expenserule.create",
  7065. "responses" : {
  7066. "200" : {
  7067. "description" : "common response",
  7068. "content" : {
  7069. "application/json" : {
  7070. "schema" : {
  7071. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleCreateResponseModel"
  7072. }
  7073. }
  7074. }
  7075. },
  7076. "default" : {
  7077. "description" : "请求失败",
  7078. "content" : {
  7079. "application/json" : {
  7080. "schema" : {
  7081. "anyOf" : [ {
  7082. "$ref" : "#/components/schemas/CommonErrorType"
  7083. }, {
  7084. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleCreateErrorResponseModel"
  7085. } ]
  7086. }
  7087. }
  7088. }
  7089. }
  7090. },
  7091. "requestBody" : {
  7092. "content" : {
  7093. "application/json" : {
  7094. "schema" : {
  7095. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleCreateModel"
  7096. }
  7097. }
  7098. },
  7099. "required" : false
  7100. }
  7101. }
  7102. },
  7103. "/v3/alipay/ebpp/invoice/institution/expenserule/delete" : {
  7104. "post" : {
  7105. "tags" : [ "alipay.ebpp.invoice.institution.expenserule" ],
  7106. "summary" : "删除使用规则",
  7107. "description" : "删除制度下使用规则",
  7108. "operationId" : "alipay.ebpp.invoice.institution.expenserule.delete",
  7109. "responses" : {
  7110. "200" : {
  7111. "description" : "common response",
  7112. "content" : {
  7113. "application/json" : {
  7114. "schema" : {
  7115. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleDeleteResponseModel"
  7116. }
  7117. }
  7118. }
  7119. },
  7120. "default" : {
  7121. "description" : "请求失败",
  7122. "content" : {
  7123. "application/json" : {
  7124. "schema" : {
  7125. "anyOf" : [ {
  7126. "$ref" : "#/components/schemas/CommonErrorType"
  7127. }, {
  7128. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleDeleteErrorResponseModel"
  7129. } ]
  7130. }
  7131. }
  7132. }
  7133. }
  7134. },
  7135. "requestBody" : {
  7136. "content" : {
  7137. "application/json" : {
  7138. "schema" : {
  7139. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleDeleteModel"
  7140. }
  7141. }
  7142. },
  7143. "required" : false
  7144. }
  7145. }
  7146. },
  7147. "/v3/alipay/ebpp/invoice/institution/expenserule/modify" : {
  7148. "post" : {
  7149. "tags" : [ "alipay.ebpp.invoice.institution.expenserule" ],
  7150. "summary" : "编辑使用规则",
  7151. "description" : "编辑制度下的使用规则",
  7152. "operationId" : "alipay.ebpp.invoice.institution.expenserule.modify",
  7153. "responses" : {
  7154. "200" : {
  7155. "description" : "common response",
  7156. "content" : {
  7157. "application/json" : {
  7158. "schema" : {
  7159. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleModifyResponseModel"
  7160. }
  7161. }
  7162. }
  7163. },
  7164. "default" : {
  7165. "description" : "请求失败",
  7166. "content" : {
  7167. "application/json" : {
  7168. "schema" : {
  7169. "anyOf" : [ {
  7170. "$ref" : "#/components/schemas/CommonErrorType"
  7171. }, {
  7172. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleModifyErrorResponseModel"
  7173. } ]
  7174. }
  7175. }
  7176. }
  7177. }
  7178. },
  7179. "requestBody" : {
  7180. "content" : {
  7181. "application/json" : {
  7182. "schema" : {
  7183. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleModifyModel"
  7184. }
  7185. }
  7186. },
  7187. "required" : false
  7188. }
  7189. }
  7190. },
  7191. "/v3/alipay/ebpp/invoice/institution/modify" : {
  7192. "post" : {
  7193. "tags" : [ "alipay.ebpp.invoice.institution" ],
  7194. "summary" : "制度编辑",
  7195. "description" : "制度编辑",
  7196. "operationId" : "alipay.ebpp.invoice.institution.modify",
  7197. "responses" : {
  7198. "200" : {
  7199. "description" : "common response",
  7200. "content" : {
  7201. "application/json" : {
  7202. "schema" : {
  7203. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionModifyResponseModel"
  7204. }
  7205. }
  7206. }
  7207. },
  7208. "default" : {
  7209. "description" : "请求失败",
  7210. "content" : {
  7211. "application/json" : {
  7212. "schema" : {
  7213. "anyOf" : [ {
  7214. "$ref" : "#/components/schemas/CommonErrorType"
  7215. }, {
  7216. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionModifyErrorResponseModel"
  7217. } ]
  7218. }
  7219. }
  7220. }
  7221. }
  7222. },
  7223. "requestBody" : {
  7224. "content" : {
  7225. "application/json" : {
  7226. "schema" : {
  7227. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionModifyModel"
  7228. }
  7229. }
  7230. },
  7231. "required" : false
  7232. }
  7233. }
  7234. },
  7235. "/v3/alipay/ebpp/invoice/institution/pageinfo/query" : {
  7236. "get" : {
  7237. "tags" : [ "alipay.ebpp.invoice.institution.pageinfo" ],
  7238. "summary" : "费控制度分页查询",
  7239. "description" : "制度分页查询,返回制度基本信息",
  7240. "operationId" : "alipay.ebpp.invoice.institution.pageinfo.query",
  7241. "responses" : {
  7242. "200" : {
  7243. "description" : "common response",
  7244. "content" : {
  7245. "application/json" : {
  7246. "schema" : {
  7247. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionPageinfoQueryResponseModel"
  7248. }
  7249. }
  7250. }
  7251. },
  7252. "default" : {
  7253. "description" : "请求失败",
  7254. "content" : {
  7255. "application/json" : {
  7256. "schema" : {
  7257. "anyOf" : [ {
  7258. "$ref" : "#/components/schemas/CommonErrorType"
  7259. }, {
  7260. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionPageinfoQueryErrorResponseModel"
  7261. } ]
  7262. }
  7263. }
  7264. }
  7265. }
  7266. },
  7267. "parameters" : [ {
  7268. "name" : "account_id",
  7269. "in" : "query",
  7270. "description" : "企业共同账户id",
  7271. "schema" : {
  7272. "type" : "string",
  7273. "example" : "2088000194958956"
  7274. }
  7275. }, {
  7276. "name" : "agreement_no",
  7277. "in" : "query",
  7278. "description" : "授权签约协议号",
  7279. "schema" : {
  7280. "type" : "string",
  7281. "example" : "20215425001112341234"
  7282. }
  7283. }, {
  7284. "name" : "enterprise_id",
  7285. "in" : "query",
  7286. "description" : "企业ID",
  7287. "schema" : {
  7288. "type" : "string",
  7289. "example" : "2088000194958956"
  7290. }
  7291. }, {
  7292. "name" : "page_num",
  7293. "in" : "query",
  7294. "description" : "页码",
  7295. "schema" : {
  7296. "type" : "integer",
  7297. "example" : "10"
  7298. }
  7299. }, {
  7300. "name" : "page_size",
  7301. "in" : "query",
  7302. "description" : "页大小",
  7303. "schema" : {
  7304. "type" : "integer",
  7305. "example" : "100"
  7306. }
  7307. } ]
  7308. }
  7309. },
  7310. "/v3/alipay/ebpp/invoice/institution/scope/modify" : {
  7311. "post" : {
  7312. "tags" : [ "alipay.ebpp.invoice.institution.scope" ],
  7313. "summary" : "修改制度下适配范围",
  7314. "description" : "修改制度下适配范围",
  7315. "operationId" : "alipay.ebpp.invoice.institution.scope.modify",
  7316. "responses" : {
  7317. "200" : {
  7318. "description" : "common response",
  7319. "content" : {
  7320. "application/json" : {
  7321. "schema" : {
  7322. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionScopeModifyResponseModel"
  7323. }
  7324. }
  7325. }
  7326. },
  7327. "default" : {
  7328. "description" : "请求失败",
  7329. "content" : {
  7330. "application/json" : {
  7331. "schema" : {
  7332. "anyOf" : [ {
  7333. "$ref" : "#/components/schemas/CommonErrorType"
  7334. }, {
  7335. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionScopeModifyErrorResponseModel"
  7336. } ]
  7337. }
  7338. }
  7339. }
  7340. }
  7341. },
  7342. "requestBody" : {
  7343. "content" : {
  7344. "application/json" : {
  7345. "schema" : {
  7346. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionScopeModifyModel"
  7347. }
  7348. }
  7349. },
  7350. "required" : false
  7351. }
  7352. }
  7353. },
  7354. "/v3/alipay/ebpp/invoice/institution/scopepageinfo/query" : {
  7355. "get" : {
  7356. "tags" : [ "alipay.ebpp.invoice.institution.scopepageinfo" ],
  7357. "summary" : "分页查询制度下人员",
  7358. "description" : "分页查询制度下适用范围列表",
  7359. "operationId" : "alipay.ebpp.invoice.institution.scopepageinfo.query",
  7360. "responses" : {
  7361. "200" : {
  7362. "description" : "common response",
  7363. "content" : {
  7364. "application/json" : {
  7365. "schema" : {
  7366. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionScopepageinfoQueryResponseModel"
  7367. }
  7368. }
  7369. }
  7370. },
  7371. "default" : {
  7372. "description" : "请求失败",
  7373. "content" : {
  7374. "application/json" : {
  7375. "schema" : {
  7376. "anyOf" : [ {
  7377. "$ref" : "#/components/schemas/CommonErrorType"
  7378. }, {
  7379. "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionScopepageinfoQueryErrorResponseModel"
  7380. } ]
  7381. }
  7382. }
  7383. }
  7384. }
  7385. },
  7386. "parameters" : [ {
  7387. "name" : "account_id",
  7388. "in" : "query",
  7389. "description" : "企业共同账户id",
  7390. "schema" : {
  7391. "type" : "string",
  7392. "example" : "2088000194958956"
  7393. }
  7394. }, {
  7395. "name" : "agreement_no",
  7396. "in" : "query",
  7397. "description" : "授权签约协议号",
  7398. "schema" : {
  7399. "type" : "string",
  7400. "example" : "20215425001112341234"
  7401. }
  7402. }, {
  7403. "name" : "enterprise_id",
  7404. "in" : "query",
  7405. "description" : "企业id",
  7406. "schema" : {
  7407. "type" : "string",
  7408. "example" : "2088000194958956"
  7409. }
  7410. }, {
  7411. "name" : "institution_id",
  7412. "in" : "query",
  7413. "description" : "制度id",
  7414. "schema" : {
  7415. "type" : "string",
  7416. "example" : "2022071800152609780000004052"
  7417. }
  7418. }, {
  7419. "name" : "owner_type",
  7420. "in" : "query",
  7421. "description" : "适配id类型",
  7422. "schema" : {
  7423. "type" : "string",
  7424. "example" : "PHONE"
  7425. }
  7426. }, {
  7427. "name" : "page_num",
  7428. "in" : "query",
  7429. "description" : "页码",
  7430. "schema" : {
  7431. "type" : "integer",
  7432. "example" : "10"
  7433. }
  7434. }, {
  7435. "name" : "page_size",
  7436. "in" : "query",
  7437. "description" : "页大小",
  7438. "schema" : {
  7439. "type" : "integer",
  7440. "example" : "100"
  7441. }
  7442. } ]
  7443. }
  7444. },
  7445. "/v3/alipay/ebpp/invoice/issuerule/create" : {
  7446. "post" : {
  7447. "tags" : [ "alipay.ebpp.invoice.issuerule" ],
  7448. "summary" : "新增发放规则",
  7449. "description" : "新增发放规则",
  7450. "operationId" : "alipay.ebpp.invoice.issuerule.create",
  7451. "responses" : {
  7452. "200" : {
  7453. "description" : "common response",
  7454. "content" : {
  7455. "application/json" : {
  7456. "schema" : {
  7457. "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleCreateResponseModel"
  7458. }
  7459. }
  7460. }
  7461. },
  7462. "default" : {
  7463. "description" : "请求失败",
  7464. "content" : {
  7465. "application/json" : {
  7466. "schema" : {
  7467. "anyOf" : [ {
  7468. "$ref" : "#/components/schemas/CommonErrorType"
  7469. }, {
  7470. "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleCreateErrorResponseModel"
  7471. } ]
  7472. }
  7473. }
  7474. }
  7475. }
  7476. },
  7477. "requestBody" : {
  7478. "content" : {
  7479. "application/json" : {
  7480. "schema" : {
  7481. "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleCreateModel"
  7482. }
  7483. }
  7484. },
  7485. "required" : false
  7486. }
  7487. }
  7488. },
  7489. "/v3/alipay/ebpp/invoice/issuerule/delete" : {
  7490. "post" : {
  7491. "tags" : [ "alipay.ebpp.invoice.issuerule" ],
  7492. "summary" : "删除发放规则",
  7493. "description" : "删除发放规则",
  7494. "operationId" : "alipay.ebpp.invoice.issuerule.delete",
  7495. "responses" : {
  7496. "200" : {
  7497. "description" : "common response",
  7498. "content" : {
  7499. "application/json" : {
  7500. "schema" : {
  7501. "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleDeleteResponseModel"
  7502. }
  7503. }
  7504. }
  7505. },
  7506. "default" : {
  7507. "description" : "请求失败",
  7508. "content" : {
  7509. "application/json" : {
  7510. "schema" : {
  7511. "anyOf" : [ {
  7512. "$ref" : "#/components/schemas/CommonErrorType"
  7513. }, {
  7514. "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleDeleteErrorResponseModel"
  7515. } ]
  7516. }
  7517. }
  7518. }
  7519. }
  7520. },
  7521. "requestBody" : {
  7522. "content" : {
  7523. "application/json" : {
  7524. "schema" : {
  7525. "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleDeleteModel"
  7526. }
  7527. }
  7528. },
  7529. "required" : false
  7530. }
  7531. }
  7532. },
  7533. "/v3/alipay/ebpp/invoice/issuerule/modify" : {
  7534. "post" : {
  7535. "tags" : [ "alipay.ebpp.invoice.issuerule" ],
  7536. "summary" : "编辑发放规则",
  7537. "description" : "编辑发放规则",
  7538. "operationId" : "alipay.ebpp.invoice.issuerule.modify",
  7539. "responses" : {
  7540. "200" : {
  7541. "description" : "common response",
  7542. "content" : {
  7543. "application/json" : {
  7544. "schema" : {
  7545. "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleModifyResponseModel"
  7546. }
  7547. }
  7548. }
  7549. },
  7550. "default" : {
  7551. "description" : "请求失败",
  7552. "content" : {
  7553. "application/json" : {
  7554. "schema" : {
  7555. "anyOf" : [ {
  7556. "$ref" : "#/components/schemas/CommonErrorType"
  7557. }, {
  7558. "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleModifyErrorResponseModel"
  7559. } ]
  7560. }
  7561. }
  7562. }
  7563. }
  7564. },
  7565. "requestBody" : {
  7566. "content" : {
  7567. "application/json" : {
  7568. "schema" : {
  7569. "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleModifyModel"
  7570. }
  7571. }
  7572. },
  7573. "required" : false
  7574. }
  7575. }
  7576. },
  7577. "/v3/alipay/ebpp/invoice/isvtoken/reim/apply" : {
  7578. "post" : {
  7579. "tags" : [ "alipay.ebpp.invoice.isvtoken.reim" ],
  7580. "summary" : "获取报销授权令牌",
  7581. "description" : "当报销软件跳转支付宝报销助手,需要通过授权令牌进行身份认证,该接口用于ISV获取报销助手的授权令牌",
  7582. "operationId" : "alipay.ebpp.invoice.isvtoken.reim.apply",
  7583. "responses" : {
  7584. "200" : {
  7585. "description" : "common response",
  7586. "content" : {
  7587. "application/json" : {
  7588. "schema" : {
  7589. "$ref" : "#/components/schemas/AlipayEbppInvoiceIsvtokenReimApplyResponseModel"
  7590. }
  7591. }
  7592. }
  7593. },
  7594. "default" : {
  7595. "description" : "请求失败",
  7596. "content" : {
  7597. "application/json" : {
  7598. "schema" : {
  7599. "anyOf" : [ {
  7600. "$ref" : "#/components/schemas/CommonErrorType"
  7601. }, {
  7602. "$ref" : "#/components/schemas/AlipayEbppInvoiceIsvtokenReimApplyErrorResponseModel"
  7603. } ]
  7604. }
  7605. }
  7606. }
  7607. }
  7608. },
  7609. "requestBody" : {
  7610. "content" : {
  7611. "application/json" : {
  7612. "schema" : {
  7613. "$ref" : "#/components/schemas/AlipayEbppInvoiceIsvtokenReimApplyModel"
  7614. }
  7615. }
  7616. },
  7617. "required" : false
  7618. }
  7619. }
  7620. },
  7621. "/v3/alipay/ebpp/invoice/list/expense/sync" : {
  7622. "post" : {
  7623. "tags" : [ "alipay.ebpp.invoice.list.expense" ],
  7624. "summary" : "报销状态批量同步开放接口",
  7625. "description" : "报销状态节点状态批量同步时调用该接口",
  7626. "operationId" : "alipay.ebpp.invoice.list.expense.sync",
  7627. "responses" : {
  7628. "200" : {
  7629. "description" : "common response",
  7630. "content" : {
  7631. "application/json" : {
  7632. "schema" : {
  7633. "$ref" : "#/components/schemas/AlipayEbppInvoiceListExpenseSyncResponseModel"
  7634. }
  7635. }
  7636. }
  7637. },
  7638. "default" : {
  7639. "description" : "请求失败",
  7640. "content" : {
  7641. "application/json" : {
  7642. "schema" : {
  7643. "anyOf" : [ {
  7644. "$ref" : "#/components/schemas/CommonErrorType"
  7645. }, {
  7646. "$ref" : "#/components/schemas/AlipayEbppInvoiceListExpenseSyncErrorResponseModel"
  7647. } ]
  7648. }
  7649. }
  7650. }
  7651. }
  7652. },
  7653. "requestBody" : {
  7654. "content" : {
  7655. "application/json" : {
  7656. "schema" : {
  7657. "$ref" : "#/components/schemas/AlipayEbppInvoiceListExpenseSyncModel"
  7658. }
  7659. }
  7660. },
  7661. "required" : false
  7662. }
  7663. }
  7664. },
  7665. "/v3/alipay/ebpp/invoice/merchant/enterstatus/query" : {
  7666. "get" : {
  7667. "tags" : [ "alipay.ebpp.invoice.merchant.enterstatus" ],
  7668. "summary" : "商户入驻流程状态查询",
  7669. "description" : "提供给替商户批量入驻的服务商,主动查询入驻流程的状态。",
  7670. "operationId" : "alipay.ebpp.invoice.merchant.enterstatus.query",
  7671. "responses" : {
  7672. "200" : {
  7673. "description" : "common response",
  7674. "content" : {
  7675. "application/json" : {
  7676. "schema" : {
  7677. "$ref" : "#/components/schemas/AlipayEbppInvoiceMerchantEnterstatusQueryResponseModel"
  7678. }
  7679. }
  7680. }
  7681. },
  7682. "default" : {
  7683. "description" : "请求失败",
  7684. "content" : {
  7685. "application/json" : {
  7686. "schema" : {
  7687. "anyOf" : [ {
  7688. "$ref" : "#/components/schemas/CommonErrorType"
  7689. }, {
  7690. "$ref" : "#/components/schemas/AlipayEbppInvoiceMerchantEnterstatusQueryErrorResponseModel"
  7691. } ]
  7692. }
  7693. }
  7694. }
  7695. }
  7696. },
  7697. "parameters" : [ {
  7698. "name" : "m_short_name",
  7699. "in" : "query",
  7700. "description" : "商户品牌简称,只能由大写字母、下划线、数字组成,且必须以大写字母开头。",
  7701. "schema" : {
  7702. "type" : "string",
  7703. "example" : "MYJF"
  7704. }
  7705. }, {
  7706. "name" : "product_code",
  7707. "in" : "query",
  7708. "description" : "商户球房入驻的产品码,STANDARD_INVOICE:扫码开票,INVOICE_RETURN:企业自建-发票回传,INVOICE_EXPENSE:发票报销,PAYMENT_OPEN:支付即开票,PAY_FEE_OPEN:缴费后开票。",
  7709. "schema" : {
  7710. "type" : "string",
  7711. "example" : "STANDARD_INVOICE"
  7712. }
  7713. }, {
  7714. "name" : "process_id",
  7715. "in" : "query",
  7716. "description" : "工单流水号(如果不填则默认查询最近一条工单)",
  7717. "schema" : {
  7718. "type" : "string",
  7719. "example" : "1234567"
  7720. }
  7721. } ]
  7722. }
  7723. },
  7724. "/v3/alipay/ebpp/invoice/merchantlist/enter/apply" : {
  7725. "post" : {
  7726. "tags" : [ "alipay.ebpp.invoice.merchantlist.enter" ],
  7727. "summary" : "商户批量入驻申请接口",
  7728. "description" : "针对已经在支付宝入驻的服务方,使用该接口导入服务方后面的开票商户",
  7729. "operationId" : "alipay.ebpp.invoice.merchantlist.enter.apply",
  7730. "responses" : {
  7731. "200" : {
  7732. "description" : "common response",
  7733. "content" : {
  7734. "application/json" : {
  7735. "schema" : {
  7736. "$ref" : "#/components/schemas/AlipayEbppInvoiceMerchantlistEnterApplyResponseModel"
  7737. }
  7738. }
  7739. }
  7740. },
  7741. "default" : {
  7742. "description" : "请求失败",
  7743. "content" : {
  7744. "application/json" : {
  7745. "schema" : {
  7746. "anyOf" : [ {
  7747. "$ref" : "#/components/schemas/CommonErrorType"
  7748. }, {
  7749. "$ref" : "#/components/schemas/AlipayEbppInvoiceMerchantlistEnterApplyErrorResponseModel"
  7750. } ]
  7751. }
  7752. }
  7753. }
  7754. }
  7755. },
  7756. "requestBody" : {
  7757. "content" : {
  7758. "application/json" : {
  7759. "schema" : {
  7760. "$ref" : "#/components/schemas/AlipayEbppInvoiceMerchantlistEnterApplyModel"
  7761. }
  7762. }
  7763. },
  7764. "required" : false
  7765. }
  7766. }
  7767. },
  7768. "/v3/alipay/ebpp/invoice/order/query" : {
  7769. "get" : {
  7770. "tags" : [ "alipay.ebpp.invoice.order" ],
  7771. "summary" : "根据外部订单号查询发票信息",
  7772. "description" : "根据外部订单号查询发票详情信息,适用于外部商户无开票申请ID场景",
  7773. "operationId" : "alipay.ebpp.invoice.order.query",
  7774. "responses" : {
  7775. "200" : {
  7776. "description" : "common response",
  7777. "content" : {
  7778. "application/json" : {
  7779. "schema" : {
  7780. "$ref" : "#/components/schemas/AlipayEbppInvoiceOrderQueryResponseModel"
  7781. }
  7782. }
  7783. }
  7784. },
  7785. "default" : {
  7786. "description" : "请求失败",
  7787. "content" : {
  7788. "application/json" : {
  7789. "schema" : {
  7790. "anyOf" : [ {
  7791. "$ref" : "#/components/schemas/CommonErrorType"
  7792. }, {
  7793. "$ref" : "#/components/schemas/AlipayEbppInvoiceOrderQueryErrorResponseModel"
  7794. } ]
  7795. }
  7796. }
  7797. }
  7798. }
  7799. },
  7800. "parameters" : [ {
  7801. "name" : "order_no",
  7802. "in" : "query",
  7803. "description" : "开票申请时所传入订单号,不限于支付宝体内交易订单号。如:20200520110046966071",
  7804. "schema" : {
  7805. "type" : "string",
  7806. "example" : "20200520110046966071"
  7807. }
  7808. }, {
  7809. "name" : "m_short_name",
  7810. "in" : "query",
  7811. "description" : "定义商户的一级简称,用于标识商户品牌,对应于商户入驻时填写的\"商户品牌简称\"。 如:肯德基:KFC",
  7812. "schema" : {
  7813. "type" : "string",
  7814. "example" : "KFC"
  7815. }
  7816. }, {
  7817. "name" : "sub_m_short_name",
  7818. "in" : "query",
  7819. "description" : "定义商户的二级简称,用于标识商户品牌下的分支机构,如球房,对应于商户入驻时填写的\"商户球房简称\"。 如:肯德基-杭州西湖区文一西路店:KFC-HZ-19003 要求:\"商户品牌简称+商户球房简称\"作为确定商户及其下属机构的唯一标识,不可重复。",
  7820. "schema" : {
  7821. "type" : "string",
  7822. "example" : "KFC-HZ-19003"
  7823. }
  7824. } ]
  7825. }
  7826. },
  7827. "/v3/alipay/ebpp/invoice/sycn" : {
  7828. "post" : {
  7829. "tags" : [ "alipay.ebpp.invoice" ],
  7830. "summary" : "发票信息同步至支付宝",
  7831. "description" : "外部商户开蓝票/冲红执行成功后将发票信息及原件(如有)同步至支付宝,由支付宝通知用户查看已开具的发票。",
  7832. "operationId" : "alipay.ebpp.invoice.sycn",
  7833. "responses" : {
  7834. "200" : {
  7835. "description" : "common response",
  7836. "content" : {
  7837. "application/json" : {
  7838. "schema" : {
  7839. "$ref" : "#/components/schemas/AlipayEbppInvoiceSycnResponseModel"
  7840. }
  7841. }
  7842. }
  7843. },
  7844. "default" : {
  7845. "description" : "请求失败",
  7846. "content" : {
  7847. "application/json" : {
  7848. "schema" : {
  7849. "anyOf" : [ {
  7850. "$ref" : "#/components/schemas/CommonErrorType"
  7851. }, {
  7852. "$ref" : "#/components/schemas/AlipayEbppInvoiceSycnErrorResponseModel"
  7853. } ]
  7854. }
  7855. }
  7856. }
  7857. }
  7858. },
  7859. "requestBody" : {
  7860. "content" : {
  7861. "application/json" : {
  7862. "schema" : {
  7863. "$ref" : "#/components/schemas/AlipayEbppInvoiceSycnModel"
  7864. }
  7865. }
  7866. },
  7867. "required" : false
  7868. }
  7869. }
  7870. },
  7871. "/v3/alipay/ebpp/invoice/sync/simple/send" : {
  7872. "post" : {
  7873. "tags" : [ "alipay.ebpp.invoice.sync.simple" ],
  7874. "summary" : "简单模式发票回传接口",
  7875. "description" : "商户或ISV将发票信息发送至发票管家。",
  7876. "operationId" : "alipay.ebpp.invoice.sync.simple.send",
  7877. "responses" : {
  7878. "200" : {
  7879. "description" : "common response",
  7880. "content" : {
  7881. "application/json" : {
  7882. "schema" : {
  7883. "$ref" : "#/components/schemas/AlipayEbppInvoiceSyncSimpleSendResponseModel"
  7884. }
  7885. }
  7886. }
  7887. },
  7888. "default" : {
  7889. "description" : "请求失败",
  7890. "content" : {
  7891. "application/json" : {
  7892. "schema" : {
  7893. "anyOf" : [ {
  7894. "$ref" : "#/components/schemas/CommonErrorType"
  7895. }, {
  7896. "$ref" : "#/components/schemas/AlipayEbppInvoiceSyncSimpleSendErrorResponseModel"
  7897. } ]
  7898. }
  7899. }
  7900. }
  7901. }
  7902. },
  7903. "requestBody" : {
  7904. "content" : {
  7905. "application/json" : {
  7906. "schema" : {
  7907. "$ref" : "#/components/schemas/AlipayEbppInvoiceSyncSimpleSendModel"
  7908. }
  7909. }
  7910. },
  7911. "required" : false
  7912. }
  7913. }
  7914. },
  7915. "/v3/alipay/ebpp/invoice/taxno/batchquery" : {
  7916. "post" : {
  7917. "tags" : [ "alipay.ebpp.invoice.taxno" ],
  7918. "summary" : "获取指定企业的发票要素列表",
  7919. "description" : "根据购买方税号获取用户的发票关键要素列表,该接口目前适用于发票报销场景",
  7920. "operationId" : "alipay.ebpp.invoice.taxno.batchquery",
  7921. "responses" : {
  7922. "200" : {
  7923. "description" : "common response",
  7924. "content" : {
  7925. "application/json" : {
  7926. "schema" : {
  7927. "$ref" : "#/components/schemas/AlipayEbppInvoiceTaxnoBatchqueryResponseModel"
  7928. }
  7929. }
  7930. }
  7931. },
  7932. "default" : {
  7933. "description" : "请求失败",
  7934. "content" : {
  7935. "application/json" : {
  7936. "schema" : {
  7937. "anyOf" : [ {
  7938. "$ref" : "#/components/schemas/CommonErrorType"
  7939. }, {
  7940. "$ref" : "#/components/schemas/AlipayEbppInvoiceTaxnoBatchqueryErrorResponseModel"
  7941. } ]
  7942. }
  7943. }
  7944. }
  7945. }
  7946. },
  7947. "parameters" : [ {
  7948. "$ref" : "#/components/parameters/AuthToken"
  7949. } ],
  7950. "requestBody" : {
  7951. "content" : {
  7952. "application/json" : {
  7953. "schema" : {
  7954. "$ref" : "#/components/schemas/AlipayEbppInvoiceTaxnoBatchqueryModel"
  7955. }
  7956. }
  7957. },
  7958. "required" : false
  7959. }
  7960. }
  7961. },
  7962. "/v3/alipay/ebpp/invoice/title/dynamic/get" : {
  7963. "get" : {
  7964. "tags" : [ "alipay.ebpp.invoice.title.dynamic" ],
  7965. "summary" : "根据动态码查询发票抬头",
  7966. "description" : "支付宝钱包内的发票管家app在用户抬头展示页面会显示对应该抬头的动态条形码,通过本接口,可根据条形码中数字串获取对应的用户抬头信息。",
  7967. "operationId" : "alipay.ebpp.invoice.title.dynamic.get",
  7968. "responses" : {
  7969. "200" : {
  7970. "description" : "common response",
  7971. "content" : {
  7972. "application/json" : {
  7973. "schema" : {
  7974. "$ref" : "#/components/schemas/AlipayEbppInvoiceTitleDynamicGetResponseModel"
  7975. }
  7976. }
  7977. }
  7978. },
  7979. "default" : {
  7980. "description" : "请求失败",
  7981. "content" : {
  7982. "application/json" : {
  7983. "schema" : {
  7984. "anyOf" : [ {
  7985. "$ref" : "#/components/schemas/CommonErrorType"
  7986. }, {
  7987. "$ref" : "#/components/schemas/AlipayEbppInvoiceTitleDynamicGetErrorResponseModel"
  7988. } ]
  7989. }
  7990. }
  7991. }
  7992. }
  7993. },
  7994. "parameters" : [ {
  7995. "name" : "bar_code",
  7996. "in" : "query",
  7997. "description" : "抬头动态码",
  7998. "schema" : {
  7999. "type" : "string",
  8000. "example" : "82771888"
  8001. }
  8002. } ]
  8003. }
  8004. },
  8005. "/v3/alipay/ebpp/invoice/title/list/get" : {
  8006. "get" : {
  8007. "tags" : [ "alipay.ebpp.invoice.title.list" ],
  8008. "summary" : "获取指定用户所有的有效抬头列表",
  8009. "description" : "用于服务商在用户授权的情况下获取用户的发票抬头列表供用户使用。",
  8010. "operationId" : "alipay.ebpp.invoice.title.list.get",
  8011. "responses" : {
  8012. "200" : {
  8013. "description" : "common response",
  8014. "content" : {
  8015. "application/json" : {
  8016. "schema" : {
  8017. "$ref" : "#/components/schemas/AlipayEbppInvoiceTitleListGetResponseModel"
  8018. }
  8019. }
  8020. }
  8021. },
  8022. "default" : {
  8023. "description" : "请求失败",
  8024. "content" : {
  8025. "application/json" : {
  8026. "schema" : {
  8027. "anyOf" : [ {
  8028. "$ref" : "#/components/schemas/CommonErrorType"
  8029. }, {
  8030. "$ref" : "#/components/schemas/AlipayEbppInvoiceTitleListGetErrorResponseModel"
  8031. } ]
  8032. }
  8033. }
  8034. }
  8035. }
  8036. },
  8037. "parameters" : [ {
  8038. "$ref" : "#/components/parameters/AuthToken"
  8039. }, {
  8040. "name" : "user_id",
  8041. "in" : "query",
  8042. "description" : "支付宝用户id",
  8043. "schema" : {
  8044. "type" : "string",
  8045. "example" : "2088000000000000"
  8046. }
  8047. } ]
  8048. }
  8049. },
  8050. "/v3/alipay/ebpp/invoice/token/batchquery" : {
  8051. "get" : {
  8052. "tags" : [ "alipay.ebpp.invoice.token" ],
  8053. "summary" : "根据查询令牌获取发票要素列表",
  8054. "description" : "根据用户通过发票管家选择发票列表产生的请求令牌获取用户选择发票要素列表",
  8055. "operationId" : "alipay.ebpp.invoice.token.batchquery",
  8056. "responses" : {
  8057. "200" : {
  8058. "description" : "common response",
  8059. "content" : {
  8060. "application/json" : {
  8061. "schema" : {
  8062. "$ref" : "#/components/schemas/AlipayEbppInvoiceTokenBatchqueryResponseModel"
  8063. }
  8064. }
  8065. }
  8066. },
  8067. "default" : {
  8068. "description" : "请求失败",
  8069. "content" : {
  8070. "application/json" : {
  8071. "schema" : {
  8072. "anyOf" : [ {
  8073. "$ref" : "#/components/schemas/CommonErrorType"
  8074. }, {
  8075. "$ref" : "#/components/schemas/AlipayEbppInvoiceTokenBatchqueryErrorResponseModel"
  8076. } ]
  8077. }
  8078. }
  8079. }
  8080. }
  8081. },
  8082. "parameters" : [ {
  8083. "name" : "invoice_token",
  8084. "in" : "query",
  8085. "description" : "查询请求令牌。通过唤起支付宝钱包后用户进入发票管家选择发票列表后创建,并通过isv接收url回传给isv。详见 <a href=\"https://opendocs.alipay.com/open/01m6z5\">\"选\"模式发票报销</a>。",
  8086. "schema" : {
  8087. "type" : "string",
  8088. "example" : "0136d80096e34a07a528db7cc5bc442888s"
  8089. }
  8090. }, {
  8091. "name" : "scene",
  8092. "in" : "query",
  8093. "description" : "发票要素获取应用场景。固定为 INVOICE_EXPENSE 表示发票报销。",
  8094. "schema" : {
  8095. "type" : "string",
  8096. "example" : "INVOICE_EXPENSE"
  8097. }
  8098. } ]
  8099. }
  8100. },
  8101. "/v3/alipay/ebpp/pdeduct/async/pay" : {
  8102. "post" : {
  8103. "tags" : [ "alipay.ebpp.pdeduct.async" ],
  8104. "summary" : "公共事业缴费直连代扣异步扣款支付接口",
  8105. "description" : "直连代扣机构根据用户个人签约协议,按期按账单请求从用户账户扣款的接口。",
  8106. "operationId" : "alipay.ebpp.pdeduct.async.pay",
  8107. "responses" : {
  8108. "200" : {
  8109. "description" : "common response",
  8110. "content" : {
  8111. "application/json" : {
  8112. "schema" : {
  8113. "$ref" : "#/components/schemas/AlipayEbppPdeductAsyncPayResponseModel"
  8114. }
  8115. }
  8116. }
  8117. },
  8118. "default" : {
  8119. "description" : "请求失败",
  8120. "content" : {
  8121. "application/json" : {
  8122. "schema" : {
  8123. "anyOf" : [ {
  8124. "$ref" : "#/components/schemas/CommonErrorType"
  8125. }, {
  8126. "$ref" : "#/components/schemas/AlipayEbppPdeductAsyncPayErrorResponseModel"
  8127. } ]
  8128. }
  8129. }
  8130. }
  8131. }
  8132. },
  8133. "requestBody" : {
  8134. "content" : {
  8135. "application/json" : {
  8136. "schema" : {
  8137. "$ref" : "#/components/schemas/AlipayEbppPdeductAsyncPayModel"
  8138. }
  8139. }
  8140. },
  8141. "required" : false
  8142. }
  8143. }
  8144. },
  8145. "/v3/alipay/ebpp/pdeduct/bill/pay/status" : {
  8146. "get" : {
  8147. "tags" : [ "alipay.ebpp.pdeduct.bill.pay" ],
  8148. "summary" : "缴费直连代扣订单支付状态查询",
  8149. "description" : "缴费直连代扣",
  8150. "operationId" : "alipay.ebpp.pdeduct.bill.pay.status",
  8151. "responses" : {
  8152. "200" : {
  8153. "description" : "common response",
  8154. "content" : {
  8155. "application/json" : {
  8156. "schema" : {
  8157. "$ref" : "#/components/schemas/AlipayEbppPdeductBillPayStatusResponseModel"
  8158. }
  8159. }
  8160. }
  8161. },
  8162. "default" : {
  8163. "description" : "请求失败",
  8164. "content" : {
  8165. "application/json" : {
  8166. "schema" : {
  8167. "anyOf" : [ {
  8168. "$ref" : "#/components/schemas/CommonErrorType"
  8169. }, {
  8170. "$ref" : "#/components/schemas/AlipayEbppPdeductBillPayStatusErrorResponseModel"
  8171. } ]
  8172. }
  8173. }
  8174. }
  8175. }
  8176. },
  8177. "parameters" : [ {
  8178. "name" : "agreement_id",
  8179. "in" : "query",
  8180. "description" : "支付宝用户ID",
  8181. "schema" : {
  8182. "type" : "string",
  8183. "example" : "2088123123421312"
  8184. }
  8185. }, {
  8186. "name" : "open_id",
  8187. "in" : "query",
  8188. "description" : "用户UserId在应用AppId下的唯一用户标识",
  8189. "schema" : {
  8190. "type" : "string",
  8191. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  8192. }
  8193. }, {
  8194. "name" : "out_order_no",
  8195. "in" : "query",
  8196. "description" : "商户代扣业务流水",
  8197. "schema" : {
  8198. "type" : "string",
  8199. "example" : "12312313"
  8200. }
  8201. } ]
  8202. }
  8203. },
  8204. "/v3/alipay/ebpp/pdeduct/pay" : {
  8205. "post" : {
  8206. "tags" : [ "alipay.ebpp.pdeduct" ],
  8207. "summary" : "公共事业缴费直连代扣扣款支付接口",
  8208. "description" : "直连代扣机构根据用户个人签约协议,按期按账单请求从用户账户扣款的接口。",
  8209. "operationId" : "alipay.ebpp.pdeduct.pay",
  8210. "responses" : {
  8211. "200" : {
  8212. "description" : "common response",
  8213. "content" : {
  8214. "application/json" : {
  8215. "schema" : {
  8216. "$ref" : "#/components/schemas/AlipayEbppPdeductPayResponseModel"
  8217. }
  8218. }
  8219. }
  8220. },
  8221. "default" : {
  8222. "description" : "请求失败",
  8223. "content" : {
  8224. "application/json" : {
  8225. "schema" : {
  8226. "anyOf" : [ {
  8227. "$ref" : "#/components/schemas/CommonErrorType"
  8228. }, {
  8229. "$ref" : "#/components/schemas/AlipayEbppPdeductPayErrorResponseModel"
  8230. } ]
  8231. }
  8232. }
  8233. }
  8234. }
  8235. },
  8236. "requestBody" : {
  8237. "content" : {
  8238. "application/json" : {
  8239. "schema" : {
  8240. "$ref" : "#/components/schemas/AlipayEbppPdeductPayModel"
  8241. }
  8242. }
  8243. },
  8244. "required" : false
  8245. }
  8246. }
  8247. },
  8248. "/v3/alipay/ebpp/pdeduct/sign/add" : {
  8249. "post" : {
  8250. "tags" : [ "alipay.ebpp.pdeduct.sign" ],
  8251. "summary" : "缴费直连代扣签约",
  8252. "description" : "缴费直连代扣签约",
  8253. "operationId" : "alipay.ebpp.pdeduct.sign.add",
  8254. "responses" : {
  8255. "200" : {
  8256. "description" : "common response",
  8257. "content" : {
  8258. "application/json" : {
  8259. "schema" : {
  8260. "$ref" : "#/components/schemas/AlipayEbppPdeductSignAddResponseModel"
  8261. }
  8262. }
  8263. }
  8264. },
  8265. "default" : {
  8266. "description" : "请求失败",
  8267. "content" : {
  8268. "application/json" : {
  8269. "schema" : {
  8270. "anyOf" : [ {
  8271. "$ref" : "#/components/schemas/CommonErrorType"
  8272. }, {
  8273. "$ref" : "#/components/schemas/AlipayEbppPdeductSignAddErrorResponseModel"
  8274. } ]
  8275. }
  8276. }
  8277. }
  8278. }
  8279. },
  8280. "requestBody" : {
  8281. "content" : {
  8282. "application/json" : {
  8283. "schema" : {
  8284. "$ref" : "#/components/schemas/AlipayEbppPdeductSignAddModel"
  8285. }
  8286. }
  8287. },
  8288. "required" : false
  8289. }
  8290. }
  8291. },
  8292. "/v3/alipay/ebpp/pdeduct/sign/cancel" : {
  8293. "post" : {
  8294. "tags" : [ "alipay.ebpp.pdeduct.sign" ],
  8295. "summary" : "缴费直连代扣取消签约",
  8296. "description" : "缴费直连代扣,用户取消签约接口",
  8297. "operationId" : "alipay.ebpp.pdeduct.sign.cancel",
  8298. "responses" : {
  8299. "200" : {
  8300. "description" : "common response",
  8301. "content" : {
  8302. "application/json" : {
  8303. "schema" : {
  8304. "$ref" : "#/components/schemas/AlipayEbppPdeductSignCancelResponseModel"
  8305. }
  8306. }
  8307. }
  8308. },
  8309. "default" : {
  8310. "description" : "请求失败",
  8311. "content" : {
  8312. "application/json" : {
  8313. "schema" : {
  8314. "anyOf" : [ {
  8315. "$ref" : "#/components/schemas/CommonErrorType"
  8316. }, {
  8317. "$ref" : "#/components/schemas/AlipayEbppPdeductSignCancelErrorResponseModel"
  8318. } ]
  8319. }
  8320. }
  8321. }
  8322. }
  8323. },
  8324. "requestBody" : {
  8325. "content" : {
  8326. "application/json" : {
  8327. "schema" : {
  8328. "$ref" : "#/components/schemas/AlipayEbppPdeductSignCancelModel"
  8329. }
  8330. }
  8331. },
  8332. "required" : false
  8333. }
  8334. }
  8335. },
  8336. "/v3/alipay/ebpp/pdeduct/sign/query" : {
  8337. "get" : {
  8338. "tags" : [ "alipay.ebpp.pdeduct.sign" ],
  8339. "summary" : "直连代扣协议查询接口",
  8340. "description" : "提供给朗新查询代扣协议状态的接口,用于进行双边对账,解决单边协议问题",
  8341. "operationId" : "alipay.ebpp.pdeduct.sign.query",
  8342. "responses" : {
  8343. "200" : {
  8344. "description" : "common response",
  8345. "content" : {
  8346. "application/json" : {
  8347. "schema" : {
  8348. "$ref" : "#/components/schemas/AlipayEbppPdeductSignQueryResponseModel"
  8349. }
  8350. }
  8351. }
  8352. },
  8353. "default" : {
  8354. "description" : "请求失败",
  8355. "content" : {
  8356. "application/json" : {
  8357. "schema" : {
  8358. "anyOf" : [ {
  8359. "$ref" : "#/components/schemas/CommonErrorType"
  8360. }, {
  8361. "$ref" : "#/components/schemas/AlipayEbppPdeductSignQueryErrorResponseModel"
  8362. } ]
  8363. }
  8364. }
  8365. }
  8366. }
  8367. },
  8368. "parameters" : [ {
  8369. "name" : "user_id",
  8370. "in" : "query",
  8371. "description" : "用户ID",
  8372. "schema" : {
  8373. "type" : "string",
  8374. "example" : "2088302186230962"
  8375. }
  8376. }, {
  8377. "name" : "open_id",
  8378. "in" : "query",
  8379. "description" : "用户UserId在应用AppId下的唯一用户标识",
  8380. "schema" : {
  8381. "type" : "string",
  8382. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  8383. }
  8384. }, {
  8385. "name" : "agreement_id",
  8386. "in" : "query",
  8387. "description" : "支付宝代扣协议Id。若协议id不传递,则需要保证业务类型、子业务类型、出账机构、户号必传",
  8388. "schema" : {
  8389. "type" : "string",
  8390. "example" : "1234557890"
  8391. }
  8392. }, {
  8393. "name" : "biz_type",
  8394. "in" : "query",
  8395. "description" : "业务类型。\r\tJF:缴水、电、燃气、固话宽带、有线电视、交通罚款费用\r\tWUYE:缴物业费\r\tHK:信用卡还款\r\tTX:手机充值",
  8396. "schema" : {
  8397. "type" : "string",
  8398. "example" : "JF"
  8399. }
  8400. }, {
  8401. "name" : "sub_biz_type",
  8402. "in" : "query",
  8403. "description" : "业务子类型。\r\tWATER:缴水费\r\tELECTRIC:缴电费\r\tGAS:缴燃气费\r\tCOMMUN:缴固话宽带\r\tCATV:缴有线电视费\r\tTRAFFIC:缴交通罚款\r\tWUYE:缴物业费\r\tHK:信用卡还款\r\tCZ:手机充值",
  8404. "schema" : {
  8405. "type" : "string",
  8406. "example" : "ELECTRIC"
  8407. }
  8408. }, {
  8409. "name" : "charge_inst",
  8410. "in" : "query",
  8411. "description" : "支付宝缴费系统中的出账机构ID",
  8412. "schema" : {
  8413. "type" : "string",
  8414. "example" : "CQCENTERELECTRIC"
  8415. }
  8416. }, {
  8417. "name" : "bill_key",
  8418. "in" : "query",
  8419. "description" : "户号,机构针对于每户的水、电都会有唯一的标识户号",
  8420. "schema" : {
  8421. "type" : "string",
  8422. "example" : "02659981"
  8423. }
  8424. } ]
  8425. }
  8426. },
  8427. "/v3/alipay/ebpp/pdeduct/sign/validate" : {
  8428. "post" : {
  8429. "tags" : [ "alipay.ebpp.pdeduct.sign" ],
  8430. "summary" : "缴费直连代扣签约前置校验",
  8431. "description" : "服务窗代扣签约的前置校验接口,签约前,可以先调用该接口进行校验是否可以签约",
  8432. "operationId" : "alipay.ebpp.pdeduct.sign.validate",
  8433. "responses" : {
  8434. "200" : {
  8435. "description" : "common response",
  8436. "content" : {
  8437. "application/json" : {
  8438. "schema" : {
  8439. "$ref" : "#/components/schemas/AlipayEbppPdeductSignValidateResponseModel"
  8440. }
  8441. }
  8442. }
  8443. },
  8444. "default" : {
  8445. "description" : "请求失败",
  8446. "content" : {
  8447. "application/json" : {
  8448. "schema" : {
  8449. "anyOf" : [ {
  8450. "$ref" : "#/components/schemas/CommonErrorType"
  8451. }, {
  8452. "$ref" : "#/components/schemas/AlipayEbppPdeductSignValidateErrorResponseModel"
  8453. } ]
  8454. }
  8455. }
  8456. }
  8457. }
  8458. },
  8459. "requestBody" : {
  8460. "content" : {
  8461. "application/json" : {
  8462. "schema" : {
  8463. "$ref" : "#/components/schemas/AlipayEbppPdeductSignValidateModel"
  8464. }
  8465. }
  8466. },
  8467. "required" : false
  8468. }
  8469. }
  8470. },
  8471. "/v3/alipay/eco/contract/signflows/create" : {
  8472. "post" : {
  8473. "tags" : [ "alipay.eco.contract.signflows" ],
  8474. "summary" : "创建电子合同签署流程(E签宝)",
  8475. "description" : "根据配置好的合同模板,调用接口填充内容并指定签署人创建电子合同签署流程。",
  8476. "operationId" : "alipay.eco.contract.signflows.create",
  8477. "responses" : {
  8478. "200" : {
  8479. "description" : "common response",
  8480. "content" : {
  8481. "application/json" : {
  8482. "schema" : {
  8483. "$ref" : "#/components/schemas/AlipayEcoContractSignflowsCreateResponseModel"
  8484. }
  8485. }
  8486. }
  8487. },
  8488. "default" : {
  8489. "description" : "请求失败",
  8490. "content" : {
  8491. "application/json" : {
  8492. "schema" : {
  8493. "anyOf" : [ {
  8494. "$ref" : "#/components/schemas/CommonErrorType"
  8495. }, {
  8496. "$ref" : "#/components/schemas/AlipayEcoContractSignflowsCreateErrorResponseModel"
  8497. } ]
  8498. }
  8499. }
  8500. }
  8501. }
  8502. },
  8503. "parameters" : [ {
  8504. "$ref" : "#/components/parameters/TargetAppId"
  8505. } ],
  8506. "requestBody" : {
  8507. "content" : {
  8508. "application/json" : {
  8509. "schema" : {
  8510. "$ref" : "#/components/schemas/AlipayEcoContractSignflowsCreateModel"
  8511. }
  8512. }
  8513. },
  8514. "required" : false
  8515. }
  8516. }
  8517. },
  8518. "/v3/alipay/eco/doc/template/create" : {
  8519. "post" : {
  8520. "tags" : [ "alipay.eco.doc.template" ],
  8521. "summary" : "创建合同模板(E签宝)",
  8522. "description" : "通过此接口创建合同模板后,通过返回的文件直传地址上传模板文件(WORD/PDF)。同时记录接口返回的模板ID(templateId),后续发起合同签署需要使用到。",
  8523. "operationId" : "alipay.eco.doc.template.create",
  8524. "responses" : {
  8525. "200" : {
  8526. "description" : "common response",
  8527. "content" : {
  8528. "application/json" : {
  8529. "schema" : {
  8530. "$ref" : "#/components/schemas/AlipayEcoDocTemplateCreateResponseModel"
  8531. }
  8532. }
  8533. }
  8534. },
  8535. "default" : {
  8536. "description" : "请求失败",
  8537. "content" : {
  8538. "application/json" : {
  8539. "schema" : {
  8540. "anyOf" : [ {
  8541. "$ref" : "#/components/schemas/CommonErrorType"
  8542. }, {
  8543. "$ref" : "#/components/schemas/AlipayEcoDocTemplateCreateErrorResponseModel"
  8544. } ]
  8545. }
  8546. }
  8547. }
  8548. }
  8549. },
  8550. "parameters" : [ {
  8551. "$ref" : "#/components/parameters/TargetAppId"
  8552. } ],
  8553. "requestBody" : {
  8554. "content" : {
  8555. "application/json" : {
  8556. "schema" : {
  8557. "$ref" : "#/components/schemas/AlipayEcoDocTemplateCreateModel"
  8558. }
  8559. }
  8560. },
  8561. "required" : false
  8562. }
  8563. }
  8564. },
  8565. "/v3/alipay/eco/doctemplate/settingurl/query" : {
  8566. "get" : {
  8567. "tags" : [ "alipay.eco.doctemplate.settingurl" ],
  8568. "summary" : "获取合同模板设置地址(E签宝)",
  8569. "description" : "通过创建合同模板接口返回的模板ID(templateId)获取合同模板的配置地址。在模板设置页面上进行模板输入组件、签署区设置后,即可基于模板发起合同签署。",
  8570. "operationId" : "alipay.eco.doctemplate.settingurl.query",
  8571. "responses" : {
  8572. "200" : {
  8573. "description" : "common response",
  8574. "content" : {
  8575. "application/json" : {
  8576. "schema" : {
  8577. "$ref" : "#/components/schemas/AlipayEcoDoctemplateSettingurlQueryResponseModel"
  8578. }
  8579. }
  8580. }
  8581. },
  8582. "default" : {
  8583. "description" : "请求失败",
  8584. "content" : {
  8585. "application/json" : {
  8586. "schema" : {
  8587. "anyOf" : [ {
  8588. "$ref" : "#/components/schemas/CommonErrorType"
  8589. }, {
  8590. "$ref" : "#/components/schemas/AlipayEcoDoctemplateSettingurlQueryErrorResponseModel"
  8591. } ]
  8592. }
  8593. }
  8594. }
  8595. }
  8596. },
  8597. "parameters" : [ {
  8598. "$ref" : "#/components/parameters/TargetAppId"
  8599. }, {
  8600. "name" : "template_id",
  8601. "in" : "query",
  8602. "description" : "合同模板id。通过<a href =\"https://opendocs.alipay.com/apis/api_50/alipay.eco.doc.template.create\">创建合同模版</a>(alipay.eco.doc.template.create)接口获取。",
  8603. "schema" : {
  8604. "type" : "string",
  8605. "example" : "0016801a4ec24e548a93b094856b735c"
  8606. }
  8607. } ]
  8608. }
  8609. },
  8610. "/v3/alipay/eco/edu/kt/billing/modify" : {
  8611. "post" : {
  8612. "tags" : [ "alipay.eco.edu.kt.billing" ],
  8613. "summary" : "教育缴费账单状态同步接口",
  8614. "description" : "isv向支付宝-中小学-教育缴费发送教育缴费账单后,家长在支付宝-中小学-教育缴费中对账单完成支付操作且支付成功,ISV在自有系统内容对账,完成后通过此接口同步对账后的账单状态。状态分为:缴费成功、缴费失败。",
  8615. "operationId" : "alipay.eco.edu.kt.billing.modify",
  8616. "responses" : {
  8617. "200" : {
  8618. "description" : "common response",
  8619. "content" : {
  8620. "application/json" : {
  8621. "schema" : {
  8622. "$ref" : "#/components/schemas/AlipayEcoEduKtBillingModifyResponseModel"
  8623. }
  8624. }
  8625. }
  8626. },
  8627. "default" : {
  8628. "description" : "请求失败",
  8629. "content" : {
  8630. "application/json" : {
  8631. "schema" : {
  8632. "anyOf" : [ {
  8633. "$ref" : "#/components/schemas/CommonErrorType"
  8634. }, {
  8635. "$ref" : "#/components/schemas/AlipayEcoEduKtBillingModifyErrorResponseModel"
  8636. } ]
  8637. }
  8638. }
  8639. }
  8640. }
  8641. },
  8642. "requestBody" : {
  8643. "content" : {
  8644. "application/json" : {
  8645. "schema" : {
  8646. "$ref" : "#/components/schemas/AlipayEcoEduKtBillingModifyModel"
  8647. }
  8648. }
  8649. },
  8650. "required" : false
  8651. }
  8652. }
  8653. },
  8654. "/v3/alipay/eco/edu/kt/billing/query" : {
  8655. "get" : {
  8656. "tags" : [ "alipay.eco.edu.kt.billing" ],
  8657. "summary" : "缴费账单查询",
  8658. "description" : "缴费账单查询",
  8659. "operationId" : "alipay.eco.edu.kt.billing.query",
  8660. "responses" : {
  8661. "200" : {
  8662. "description" : "common response",
  8663. "content" : {
  8664. "application/json" : {
  8665. "schema" : {
  8666. "$ref" : "#/components/schemas/AlipayEcoEduKtBillingQueryResponseModel"
  8667. }
  8668. }
  8669. }
  8670. },
  8671. "default" : {
  8672. "description" : "请求失败",
  8673. "content" : {
  8674. "application/json" : {
  8675. "schema" : {
  8676. "anyOf" : [ {
  8677. "$ref" : "#/components/schemas/CommonErrorType"
  8678. }, {
  8679. "$ref" : "#/components/schemas/AlipayEcoEduKtBillingQueryErrorResponseModel"
  8680. } ]
  8681. }
  8682. }
  8683. }
  8684. }
  8685. },
  8686. "parameters" : [ {
  8687. "name" : "isv_pid",
  8688. "in" : "query",
  8689. "description" : "Isv pid",
  8690. "schema" : {
  8691. "type" : "string",
  8692. "example" : "2088121212121212"
  8693. }
  8694. }, {
  8695. "name" : "school_pid",
  8696. "in" : "query",
  8697. "description" : "学校支付宝pid,直付通填写smid",
  8698. "schema" : {
  8699. "type" : "string",
  8700. "example" : "2088101117955611"
  8701. }
  8702. }, {
  8703. "name" : "out_trade_no",
  8704. "in" : "query",
  8705. "description" : "ISV调用发送账单接口,返回给商户的order_no",
  8706. "schema" : {
  8707. "type" : "string",
  8708. "example" : "58de07de7bb90a437553e464"
  8709. }
  8710. } ]
  8711. }
  8712. },
  8713. "/v3/alipay/eco/edu/kt/billing/send" : {
  8714. "post" : {
  8715. "tags" : [ "alipay.eco.edu.kt.billing" ],
  8716. "summary" : "教育缴费账单发送接口",
  8717. "description" : "商家发送教育缴费账单给孩子,家长在支付宝可以查看自己绑定的孩子的缴费账单。",
  8718. "operationId" : "alipay.eco.edu.kt.billing.send",
  8719. "responses" : {
  8720. "200" : {
  8721. "description" : "common response",
  8722. "content" : {
  8723. "application/json" : {
  8724. "schema" : {
  8725. "$ref" : "#/components/schemas/AlipayEcoEduKtBillingSendResponseModel"
  8726. }
  8727. }
  8728. }
  8729. },
  8730. "default" : {
  8731. "description" : "请求失败",
  8732. "content" : {
  8733. "application/json" : {
  8734. "schema" : {
  8735. "anyOf" : [ {
  8736. "$ref" : "#/components/schemas/CommonErrorType"
  8737. }, {
  8738. "$ref" : "#/components/schemas/AlipayEcoEduKtBillingSendErrorResponseModel"
  8739. } ]
  8740. }
  8741. }
  8742. }
  8743. }
  8744. },
  8745. "requestBody" : {
  8746. "content" : {
  8747. "application/json" : {
  8748. "schema" : {
  8749. "$ref" : "#/components/schemas/AlipayEcoEduKtBillingSendModel"
  8750. }
  8751. }
  8752. },
  8753. "required" : false
  8754. }
  8755. }
  8756. },
  8757. "/v3/alipay/eco/edu/kt/parent/query" : {
  8758. "get" : {
  8759. "tags" : [ "alipay.eco.edu.kt.parent" ],
  8760. "summary" : "查询学生家长状态接口",
  8761. "description" : "ISV发送账单后,用户在支付宝缴费成功。ISV可以通过此接口查询,用户缴费的时候,是否创建了缴费账户,如果已经添加,学校使用ISV的系统再次发账单就可以通过支付宝的通知触达用户;如果未添加,学校即可联系家长,督促家长在支付宝添加学生的缴费账户。\r\n目前的出现的场景是家长第一次缴费成功后,学校使用ISV的系统再次发账单,认为家长应该收到通知,实际上只有建立缴费账户的家长才能收到,未建立缴费账户的是收不到通知,这部分家长有可能就缴费不及时或不通过支付宝缴费。",
  8762. "operationId" : "alipay.eco.edu.kt.parent.query",
  8763. "responses" : {
  8764. "200" : {
  8765. "description" : "common response",
  8766. "content" : {
  8767. "application/json" : {
  8768. "schema" : {
  8769. "$ref" : "#/components/schemas/AlipayEcoEduKtParentQueryResponseModel"
  8770. }
  8771. }
  8772. }
  8773. },
  8774. "default" : {
  8775. "description" : "请求失败",
  8776. "content" : {
  8777. "application/json" : {
  8778. "schema" : {
  8779. "anyOf" : [ {
  8780. "$ref" : "#/components/schemas/CommonErrorType"
  8781. }, {
  8782. "$ref" : "#/components/schemas/AlipayEcoEduKtParentQueryErrorResponseModel"
  8783. } ]
  8784. }
  8785. }
  8786. }
  8787. }
  8788. },
  8789. "parameters" : [ {
  8790. "name" : "school_pid",
  8791. "in" : "query",
  8792. "description" : "学校支付宝pid",
  8793. "schema" : {
  8794. "type" : "string",
  8795. "example" : "20880012939123234423"
  8796. }
  8797. }, {
  8798. "name" : "school_no",
  8799. "in" : "query",
  8800. "description" : "学校编码,录入学校接口返回的school_no参数",
  8801. "schema" : {
  8802. "type" : "string",
  8803. "example" : "11010100000002"
  8804. }
  8805. }, {
  8806. "name" : "partner_id",
  8807. "in" : "query",
  8808. "description" : "Isv的支付宝pid",
  8809. "schema" : {
  8810. "type" : "string",
  8811. "example" : "208800129391238873"
  8812. }
  8813. }, {
  8814. "name" : "child_name",
  8815. "in" : "query",
  8816. "description" : "孩子或学生姓名",
  8817. "schema" : {
  8818. "type" : "string",
  8819. "example" : "张晓晓"
  8820. }
  8821. }, {
  8822. "name" : "user_mobile",
  8823. "in" : "query",
  8824. "description" : "用户手机号,发账单时填写users数组中的一个手机号。结果返回用户是否通过此手机号添加此学生的缴费账户。user_mobile、student_code 、student_identify 必须并且只能填一项。",
  8825. "schema" : {
  8826. "type" : "string",
  8827. "example" : "13300000000"
  8828. }
  8829. }, {
  8830. "name" : "student_code",
  8831. "in" : "query",
  8832. "description" : "学生的学号,一个学校的学号必须是唯一。结果返回用户是否通过此学号添加此学生的缴费账户。user_mobile、student_code 、student_identify 必须并且只能填一项。",
  8833. "schema" : {
  8834. "type" : "string",
  8835. "example" : "2098453900091"
  8836. }
  8837. }, {
  8838. "name" : "student_identify",
  8839. "in" : "query",
  8840. "description" : "学生的身份证号,使用身份证规则验证。结果返回用户是否通过此身份证号添加此学生的缴费账户。user_mobile、student_code 、student_identify 必须并且只能填一项。",
  8841. "schema" : {
  8842. "type" : "string",
  8843. "example" : "982343191010100909"
  8844. }
  8845. } ]
  8846. }
  8847. },
  8848. "/v3/alipay/eco/edu/kt/schoolinfo/modify" : {
  8849. "post" : {
  8850. "tags" : [ "alipay.eco.edu.kt.schoolinfo" ],
  8851. "summary" : "教育缴费学校信息录入接口",
  8852. "description" : "ISV与支付宝签约后,通过此接口同步学校信息到中小学教育平台。",
  8853. "operationId" : "alipay.eco.edu.kt.schoolinfo.modify",
  8854. "responses" : {
  8855. "200" : {
  8856. "description" : "common response",
  8857. "content" : {
  8858. "application/json" : {
  8859. "schema" : {
  8860. "$ref" : "#/components/schemas/AlipayEcoEduKtSchoolinfoModifyResponseModel"
  8861. }
  8862. }
  8863. }
  8864. },
  8865. "default" : {
  8866. "description" : "请求失败",
  8867. "content" : {
  8868. "application/json" : {
  8869. "schema" : {
  8870. "anyOf" : [ {
  8871. "$ref" : "#/components/schemas/CommonErrorType"
  8872. }, {
  8873. "$ref" : "#/components/schemas/AlipayEcoEduKtSchoolinfoModifyErrorResponseModel"
  8874. } ]
  8875. }
  8876. }
  8877. }
  8878. }
  8879. },
  8880. "requestBody" : {
  8881. "content" : {
  8882. "application/json" : {
  8883. "schema" : {
  8884. "$ref" : "#/components/schemas/AlipayEcoEduKtSchoolinfoModifyModel"
  8885. }
  8886. }
  8887. },
  8888. "required" : false
  8889. }
  8890. }
  8891. },
  8892. "/v3/alipay/eco/edu/kt/student/modify" : {
  8893. "post" : {
  8894. "tags" : [ "alipay.eco.edu.kt.student" ],
  8895. "summary" : "学生信息更新",
  8896. "description" : "学生信息更新",
  8897. "operationId" : "alipay.eco.edu.kt.student.modify",
  8898. "responses" : {
  8899. "200" : {
  8900. "description" : "common response",
  8901. "content" : {
  8902. "application/json" : {
  8903. "schema" : {
  8904. "$ref" : "#/components/schemas/AlipayEcoEduKtStudentModifyResponseModel"
  8905. }
  8906. }
  8907. }
  8908. },
  8909. "default" : {
  8910. "description" : "请求失败",
  8911. "content" : {
  8912. "application/json" : {
  8913. "schema" : {
  8914. "anyOf" : [ {
  8915. "$ref" : "#/components/schemas/CommonErrorType"
  8916. }, {
  8917. "$ref" : "#/components/schemas/AlipayEcoEduKtStudentModifyErrorResponseModel"
  8918. } ]
  8919. }
  8920. }
  8921. }
  8922. }
  8923. },
  8924. "requestBody" : {
  8925. "content" : {
  8926. "application/json" : {
  8927. "schema" : {
  8928. "$ref" : "#/components/schemas/AlipayEcoEduKtStudentModifyModel"
  8929. }
  8930. }
  8931. },
  8932. "required" : false
  8933. }
  8934. }
  8935. },
  8936. "/v3/alipay/eco/file/path/query" : {
  8937. "get" : {
  8938. "tags" : [ "alipay.eco.file.path" ],
  8939. "summary" : "获取文件直传地址(E签宝)",
  8940. "description" : "获取文件直传地址(E签宝)",
  8941. "operationId" : "alipay.eco.file.path.query",
  8942. "responses" : {
  8943. "200" : {
  8944. "description" : "common response",
  8945. "content" : {
  8946. "application/json" : {
  8947. "schema" : {
  8948. "$ref" : "#/components/schemas/AlipayEcoFilePathQueryResponseModel"
  8949. }
  8950. }
  8951. }
  8952. },
  8953. "default" : {
  8954. "description" : "请求失败",
  8955. "content" : {
  8956. "application/json" : {
  8957. "schema" : {
  8958. "anyOf" : [ {
  8959. "$ref" : "#/components/schemas/CommonErrorType"
  8960. }, {
  8961. "$ref" : "#/components/schemas/AlipayEcoFilePathQueryErrorResponseModel"
  8962. } ]
  8963. }
  8964. }
  8965. }
  8966. }
  8967. },
  8968. "parameters" : [ {
  8969. "$ref" : "#/components/parameters/TargetAppId"
  8970. }, {
  8971. "name" : "content_md_5",
  8972. "in" : "query",
  8973. "description" : "先计算文件md5值,在对该md5值进行base64编码",
  8974. "schema" : {
  8975. "type" : "string",
  8976. "example" : "eGMHwA4TWnbg6PYKMxreUQ=="
  8977. }
  8978. }, {
  8979. "name" : "content_type",
  8980. "in" : "query",
  8981. "description" : "目标文件的MIME类型",
  8982. "schema" : {
  8983. "type" : "string",
  8984. "example" : "application/octet-stream"
  8985. }
  8986. }, {
  8987. "name" : "file_name",
  8988. "in" : "query",
  8989. "description" : "文件名称。\t注意:必须带上文件扩展名,不然会导致后续发起流程校验不通过。示例:合同.pdf。",
  8990. "schema" : {
  8991. "type" : "string",
  8992. "example" : "附件.zip"
  8993. }
  8994. }, {
  8995. "name" : "file_size",
  8996. "in" : "query",
  8997. "description" : "文件大小,单位byte。最大允许上传30Mb",
  8998. "schema" : {
  8999. "type" : "integer",
  9000. "example" : "2542635"
  9001. }
  9002. } ]
  9003. }
  9004. },
  9005. "/v3/alipay/eco/mycar/parking/chargeinfo/sync" : {
  9006. "post" : {
  9007. "tags" : [ "alipay.eco.mycar.parking.chargeinfo" ],
  9008. "summary" : "停车场价格信息同步",
  9009. "description" : "停车场价格信息同步",
  9010. "operationId" : "alipay.eco.mycar.parking.chargeinfo.sync",
  9011. "responses" : {
  9012. "200" : {
  9013. "description" : "common response",
  9014. "content" : {
  9015. "application/json" : {
  9016. "schema" : {
  9017. "$ref" : "#/components/schemas/AlipayEcoMycarParkingChargeinfoSyncResponseModel"
  9018. }
  9019. }
  9020. }
  9021. },
  9022. "default" : {
  9023. "description" : "请求失败",
  9024. "content" : {
  9025. "application/json" : {
  9026. "schema" : {
  9027. "anyOf" : [ {
  9028. "$ref" : "#/components/schemas/CommonErrorType"
  9029. }, {
  9030. "$ref" : "#/components/schemas/AlipayEcoMycarParkingChargeinfoSyncErrorResponseModel"
  9031. } ]
  9032. }
  9033. }
  9034. }
  9035. }
  9036. },
  9037. "requestBody" : {
  9038. "content" : {
  9039. "application/json" : {
  9040. "schema" : {
  9041. "$ref" : "#/components/schemas/AlipayEcoMycarParkingChargeinfoSyncModel"
  9042. }
  9043. }
  9044. },
  9045. "required" : false
  9046. }
  9047. }
  9048. },
  9049. "/v3/alipay/eco/mycar/parking/charginginfo/sync" : {
  9050. "post" : {
  9051. "tags" : [ "alipay.eco.mycar.parking.charginginfo" ],
  9052. "summary" : "车辆停车计费接口",
  9053. "description" : "上传车辆在停车场的计费信息,将停车动作推进到计费状态,上传信息通过该接口提交到支付宝,支付宝返回对应的信息",
  9054. "operationId" : "alipay.eco.mycar.parking.charginginfo.sync",
  9055. "responses" : {
  9056. "200" : {
  9057. "description" : "common response",
  9058. "content" : {
  9059. "application/json" : {
  9060. "schema" : {
  9061. "$ref" : "#/components/schemas/AlipayEcoMycarParkingCharginginfoSyncResponseModel"
  9062. }
  9063. }
  9064. }
  9065. },
  9066. "default" : {
  9067. "description" : "请求失败",
  9068. "content" : {
  9069. "application/json" : {
  9070. "schema" : {
  9071. "anyOf" : [ {
  9072. "$ref" : "#/components/schemas/CommonErrorType"
  9073. }, {
  9074. "$ref" : "#/components/schemas/AlipayEcoMycarParkingCharginginfoSyncErrorResponseModel"
  9075. } ]
  9076. }
  9077. }
  9078. }
  9079. }
  9080. },
  9081. "requestBody" : {
  9082. "content" : {
  9083. "application/json" : {
  9084. "schema" : {
  9085. "$ref" : "#/components/schemas/AlipayEcoMycarParkingCharginginfoSyncModel"
  9086. }
  9087. }
  9088. },
  9089. "required" : false
  9090. }
  9091. }
  9092. },
  9093. "/v3/alipay/eco/mycar/parking/config/query" : {
  9094. "get" : {
  9095. "tags" : [ "alipay.eco.mycar.parking.config" ],
  9096. "summary" : "ISV系统配置查询接口",
  9097. "description" : "ISV通过该接口,查询ISV已注册到车主平台停车业务系统配置信息。",
  9098. "operationId" : "alipay.eco.mycar.parking.config.query",
  9099. "responses" : {
  9100. "200" : {
  9101. "description" : "common response",
  9102. "content" : {
  9103. "application/json" : {
  9104. "schema" : {
  9105. "$ref" : "#/components/schemas/AlipayEcoMycarParkingConfigQueryResponseModel"
  9106. }
  9107. }
  9108. }
  9109. },
  9110. "default" : {
  9111. "description" : "请求失败",
  9112. "content" : {
  9113. "application/json" : {
  9114. "schema" : {
  9115. "anyOf" : [ {
  9116. "$ref" : "#/components/schemas/CommonErrorType"
  9117. }, {
  9118. "$ref" : "#/components/schemas/AlipayEcoMycarParkingConfigQueryErrorResponseModel"
  9119. } ]
  9120. }
  9121. }
  9122. }
  9123. }
  9124. },
  9125. "parameters" : [ {
  9126. "name" : "interface_name",
  9127. "in" : "query",
  9128. "description" : "接口名称。H5传入参数固定值:alipay.eco.mycar.parking.userpage.query;\t小程序传入参数固定值:alipay.eco.mycar.parking.isv.homepage;\t协议状态变更通知传入参数固定值: alipay.eco.mycar.parking.agreement.notify。",
  9129. "schema" : {
  9130. "type" : "string",
  9131. "example" : "alipay.eco.mycar.parking.userpage.query"
  9132. }
  9133. }, {
  9134. "name" : "interface_type",
  9135. "in" : "query",
  9136. "description" : "接口类型。H5、小程序传入参数固定值:interface_page;\t通知接口传入参数固定值:interface_service。",
  9137. "schema" : {
  9138. "type" : "string",
  9139. "example" : "interface_page"
  9140. }
  9141. } ]
  9142. }
  9143. },
  9144. "/v3/alipay/eco/mycar/parking/config/set" : {
  9145. "post" : {
  9146. "tags" : [ "alipay.eco.mycar.parking.config" ],
  9147. "summary" : "停车ISV系统配置接口",
  9148. "description" : "ISV通过该接口,配置车主平台各业务所需要的ISV的系统配置信息。如果接口配置存在则覆盖原有的接口信息。通过该接口设置的配置信息是立刻生效的,在调用该接口修改配置信息时请先评估对线上业务的影响,并做好处理方案。",
  9149. "operationId" : "alipay.eco.mycar.parking.config.set",
  9150. "responses" : {
  9151. "200" : {
  9152. "description" : "common response",
  9153. "content" : {
  9154. "application/json" : {
  9155. "schema" : {
  9156. "$ref" : "#/components/schemas/AlipayEcoMycarParkingConfigSetResponseModel"
  9157. }
  9158. }
  9159. }
  9160. },
  9161. "default" : {
  9162. "description" : "请求失败",
  9163. "content" : {
  9164. "application/json" : {
  9165. "schema" : {
  9166. "anyOf" : [ {
  9167. "$ref" : "#/components/schemas/CommonErrorType"
  9168. }, {
  9169. "$ref" : "#/components/schemas/AlipayEcoMycarParkingConfigSetErrorResponseModel"
  9170. } ]
  9171. }
  9172. }
  9173. }
  9174. }
  9175. },
  9176. "requestBody" : {
  9177. "content" : {
  9178. "application/json" : {
  9179. "schema" : {
  9180. "$ref" : "#/components/schemas/AlipayEcoMycarParkingConfigSetModel"
  9181. }
  9182. }
  9183. },
  9184. "required" : false
  9185. }
  9186. }
  9187. },
  9188. "/v3/alipay/eco/mycar/parking/enterinfo/sync" : {
  9189. "post" : {
  9190. "tags" : [ "alipay.eco.mycar.parking.enterinfo" ],
  9191. "summary" : "车辆驶入接口",
  9192. "description" : "上传车辆驶入信息,上传信息通过该接口提交到支付宝,支付宝返回对应的信息",
  9193. "operationId" : "alipay.eco.mycar.parking.enterinfo.sync",
  9194. "responses" : {
  9195. "200" : {
  9196. "description" : "common response",
  9197. "content" : {
  9198. "application/json" : {
  9199. "schema" : {
  9200. "$ref" : "#/components/schemas/AlipayEcoMycarParkingEnterinfoSyncResponseModel"
  9201. }
  9202. }
  9203. }
  9204. },
  9205. "default" : {
  9206. "description" : "请求失败",
  9207. "content" : {
  9208. "application/json" : {
  9209. "schema" : {
  9210. "anyOf" : [ {
  9211. "$ref" : "#/components/schemas/CommonErrorType"
  9212. }, {
  9213. "$ref" : "#/components/schemas/AlipayEcoMycarParkingEnterinfoSyncErrorResponseModel"
  9214. } ]
  9215. }
  9216. }
  9217. }
  9218. }
  9219. },
  9220. "requestBody" : {
  9221. "content" : {
  9222. "application/json" : {
  9223. "schema" : {
  9224. "$ref" : "#/components/schemas/AlipayEcoMycarParkingEnterinfoSyncModel"
  9225. }
  9226. }
  9227. },
  9228. "required" : false
  9229. }
  9230. }
  9231. },
  9232. "/v3/alipay/eco/mycar/parking/exitinfo/sync" : {
  9233. "post" : {
  9234. "tags" : [ "alipay.eco.mycar.parking.exitinfo" ],
  9235. "summary" : "车辆驶出接口",
  9236. "description" : "上传车辆驶出信息,上传信息通过该接口提交到支付宝,支付宝返回对应的信息",
  9237. "operationId" : "alipay.eco.mycar.parking.exitinfo.sync",
  9238. "responses" : {
  9239. "200" : {
  9240. "description" : "common response",
  9241. "content" : {
  9242. "application/json" : {
  9243. "schema" : {
  9244. "$ref" : "#/components/schemas/AlipayEcoMycarParkingExitinfoSyncResponseModel"
  9245. }
  9246. }
  9247. }
  9248. },
  9249. "default" : {
  9250. "description" : "请求失败",
  9251. "content" : {
  9252. "application/json" : {
  9253. "schema" : {
  9254. "anyOf" : [ {
  9255. "$ref" : "#/components/schemas/CommonErrorType"
  9256. }, {
  9257. "$ref" : "#/components/schemas/AlipayEcoMycarParkingExitinfoSyncErrorResponseModel"
  9258. } ]
  9259. }
  9260. }
  9261. }
  9262. }
  9263. },
  9264. "requestBody" : {
  9265. "content" : {
  9266. "application/json" : {
  9267. "schema" : {
  9268. "$ref" : "#/components/schemas/AlipayEcoMycarParkingExitinfoSyncModel"
  9269. }
  9270. }
  9271. },
  9272. "required" : false
  9273. }
  9274. }
  9275. },
  9276. "/v3/alipay/eco/mycar/parking/order/sync" : {
  9277. "post" : {
  9278. "tags" : [ "alipay.eco.mycar.parking.order" ],
  9279. "summary" : "订单同步接口",
  9280. "description" : "商户通过接口调用,回传订单信息给停车平台",
  9281. "operationId" : "alipay.eco.mycar.parking.order.sync",
  9282. "responses" : {
  9283. "200" : {
  9284. "description" : "common response",
  9285. "content" : {
  9286. "application/json" : {
  9287. "schema" : {
  9288. "$ref" : "#/components/schemas/AlipayEcoMycarParkingOrderSyncResponseModel"
  9289. }
  9290. }
  9291. }
  9292. },
  9293. "default" : {
  9294. "description" : "请求失败",
  9295. "content" : {
  9296. "application/json" : {
  9297. "schema" : {
  9298. "anyOf" : [ {
  9299. "$ref" : "#/components/schemas/CommonErrorType"
  9300. }, {
  9301. "$ref" : "#/components/schemas/AlipayEcoMycarParkingOrderSyncErrorResponseModel"
  9302. } ]
  9303. }
  9304. }
  9305. }
  9306. }
  9307. },
  9308. "requestBody" : {
  9309. "content" : {
  9310. "application/json" : {
  9311. "schema" : {
  9312. "$ref" : "#/components/schemas/AlipayEcoMycarParkingOrderSyncModel"
  9313. }
  9314. }
  9315. },
  9316. "required" : false
  9317. }
  9318. }
  9319. },
  9320. "/v3/alipay/eco/mycar/parking/order/update" : {
  9321. "post" : {
  9322. "tags" : [ "alipay.eco.mycar.parking.order" ],
  9323. "summary" : "订单更新接口",
  9324. "description" : "商户通过接口调用,回传订单状态给停车平台",
  9325. "operationId" : "alipay.eco.mycar.parking.order.update",
  9326. "responses" : {
  9327. "200" : {
  9328. "description" : "common response",
  9329. "content" : {
  9330. "application/json" : {
  9331. "schema" : {
  9332. "$ref" : "#/components/schemas/AlipayEcoMycarParkingOrderUpdateResponseModel"
  9333. }
  9334. }
  9335. }
  9336. },
  9337. "default" : {
  9338. "description" : "请求失败",
  9339. "content" : {
  9340. "application/json" : {
  9341. "schema" : {
  9342. "anyOf" : [ {
  9343. "$ref" : "#/components/schemas/CommonErrorType"
  9344. }, {
  9345. "$ref" : "#/components/schemas/AlipayEcoMycarParkingOrderUpdateErrorResponseModel"
  9346. } ]
  9347. }
  9348. }
  9349. }
  9350. }
  9351. },
  9352. "requestBody" : {
  9353. "content" : {
  9354. "application/json" : {
  9355. "schema" : {
  9356. "$ref" : "#/components/schemas/AlipayEcoMycarParkingOrderUpdateModel"
  9357. }
  9358. }
  9359. },
  9360. "required" : false
  9361. }
  9362. }
  9363. },
  9364. "/v3/alipay/eco/mycar/parking/overtimecharginginfo/sync" : {
  9365. "post" : {
  9366. "tags" : [ "alipay.eco.mycar.parking.overtimecharginginfo" ],
  9367. "summary" : "车辆停车超时重计费接口",
  9368. "description" : "上传车辆在停车场超时出场后的重新计费信息,将停车动作推进到计费状态,上传信息通过该接口提交到支付宝,支付宝返回对应的信息",
  9369. "operationId" : "alipay.eco.mycar.parking.overtimecharginginfo.sync",
  9370. "responses" : {
  9371. "200" : {
  9372. "description" : "common response",
  9373. "content" : {
  9374. "application/json" : {
  9375. "schema" : {
  9376. "$ref" : "#/components/schemas/AlipayEcoMycarParkingOvertimecharginginfoSyncResponseModel"
  9377. }
  9378. }
  9379. }
  9380. },
  9381. "default" : {
  9382. "description" : "请求失败",
  9383. "content" : {
  9384. "application/json" : {
  9385. "schema" : {
  9386. "anyOf" : [ {
  9387. "$ref" : "#/components/schemas/CommonErrorType"
  9388. }, {
  9389. "$ref" : "#/components/schemas/AlipayEcoMycarParkingOvertimecharginginfoSyncErrorResponseModel"
  9390. } ]
  9391. }
  9392. }
  9393. }
  9394. }
  9395. },
  9396. "requestBody" : {
  9397. "content" : {
  9398. "application/json" : {
  9399. "schema" : {
  9400. "$ref" : "#/components/schemas/AlipayEcoMycarParkingOvertimecharginginfoSyncModel"
  9401. }
  9402. }
  9403. },
  9404. "required" : false
  9405. }
  9406. }
  9407. },
  9408. "/v3/alipay/eco/mycar/parking/parkinglotbiz/transfer" : {
  9409. "post" : {
  9410. "tags" : [ "alipay.eco.mycar.parking.parkinglotbiz" ],
  9411. "summary" : "车场业务归属配置",
  9412. "description" : "解决车场多isv接管问题,可以通过归属灵活控制权限。",
  9413. "operationId" : "alipay.eco.mycar.parking.parkinglotbiz.transfer",
  9414. "responses" : {
  9415. "200" : {
  9416. "description" : "common response",
  9417. "content" : {
  9418. "application/json" : {
  9419. "schema" : {
  9420. "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotbizTransferResponseModel"
  9421. }
  9422. }
  9423. }
  9424. },
  9425. "default" : {
  9426. "description" : "请求失败",
  9427. "content" : {
  9428. "application/json" : {
  9429. "schema" : {
  9430. "anyOf" : [ {
  9431. "$ref" : "#/components/schemas/CommonErrorType"
  9432. }, {
  9433. "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotbizTransferErrorResponseModel"
  9434. } ]
  9435. }
  9436. }
  9437. }
  9438. }
  9439. },
  9440. "requestBody" : {
  9441. "content" : {
  9442. "application/json" : {
  9443. "schema" : {
  9444. "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotbizTransferModel"
  9445. }
  9446. }
  9447. },
  9448. "required" : false
  9449. }
  9450. }
  9451. },
  9452. "/v3/alipay/eco/mycar/parking/parkinglotinfo/create" : {
  9453. "post" : {
  9454. "tags" : [ "alipay.eco.mycar.parking.parkinglotinfo" ],
  9455. "summary" : "录入停车场信息",
  9456. "description" : "录入停车场信息,内容信息通过该接口提交到支付宝,支付宝会生成支付宝这边停车场ID反馈给开发者,用户后续更新和上送车辆信息。",
  9457. "operationId" : "alipay.eco.mycar.parking.parkinglotinfo.create",
  9458. "responses" : {
  9459. "200" : {
  9460. "description" : "common response",
  9461. "content" : {
  9462. "application/json" : {
  9463. "schema" : {
  9464. "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoCreateResponseModel"
  9465. }
  9466. }
  9467. }
  9468. },
  9469. "default" : {
  9470. "description" : "请求失败",
  9471. "content" : {
  9472. "application/json" : {
  9473. "schema" : {
  9474. "anyOf" : [ {
  9475. "$ref" : "#/components/schemas/CommonErrorType"
  9476. }, {
  9477. "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoCreateErrorResponseModel"
  9478. } ]
  9479. }
  9480. }
  9481. }
  9482. }
  9483. },
  9484. "requestBody" : {
  9485. "content" : {
  9486. "application/json" : {
  9487. "schema" : {
  9488. "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoCreateModel"
  9489. }
  9490. }
  9491. },
  9492. "required" : false
  9493. }
  9494. }
  9495. },
  9496. "/v3/alipay/eco/mycar/parking/parkinglotinfo/query" : {
  9497. "get" : {
  9498. "tags" : [ "alipay.eco.mycar.parking.parkinglotinfo" ],
  9499. "summary" : "停车场信息查询",
  9500. "description" : "停车场信息查询,通过停车场id或者ISV停车场ID查询停车场信息。只能查询正在调用接口商户自己创建的停车场,限制在归属PID层面上。",
  9501. "operationId" : "alipay.eco.mycar.parking.parkinglotinfo.query",
  9502. "responses" : {
  9503. "200" : {
  9504. "description" : "common response",
  9505. "content" : {
  9506. "application/json" : {
  9507. "schema" : {
  9508. "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoQueryResponseModel"
  9509. }
  9510. }
  9511. }
  9512. },
  9513. "default" : {
  9514. "description" : "请求失败",
  9515. "content" : {
  9516. "application/json" : {
  9517. "schema" : {
  9518. "anyOf" : [ {
  9519. "$ref" : "#/components/schemas/CommonErrorType"
  9520. }, {
  9521. "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoQueryErrorResponseModel"
  9522. } ]
  9523. }
  9524. }
  9525. }
  9526. }
  9527. },
  9528. "parameters" : [ {
  9529. "name" : "parking_id",
  9530. "in" : "query",
  9531. "description" : "支付宝停车平台ID,由支付宝定义的该停车场标识,同一个ISV或商户范围内唯一。通过 <a href=\"https://opendocs.alipay.com/apis/api_19/alipay.eco.mycar.parking.parkinglotinfo.create\">alipay.eco.mycar.parking.parkinglotinfo.create</a>(录入停车场信息)接口获取。\t注意:parking_id和out_parking_id不能同时为空。",
  9532. "schema" : {
  9533. "type" : "string",
  9534. "example" : "PI1535687028031821446"
  9535. }
  9536. }, {
  9537. "name" : "out_parking_id",
  9538. "in" : "query",
  9539. "description" : "ISV停车场ID,由ISV定义的停车场标识,同一个ISV或商户范围内唯一。需与 <a href=\"https://opendocs.alipay.com/apis/api_19/alipay.eco.mycar.parking.parkinglotinfo.create\">alipay.eco.mycar.parking.parkinglotinfo.create</a>(录入停车场信息)接口传入值一致。\t注意:parking_id和out_parking_id不能同时为空。",
  9540. "schema" : {
  9541. "type" : "string",
  9542. "example" : "10000110001"
  9543. }
  9544. } ]
  9545. }
  9546. },
  9547. "/v3/alipay/eco/mycar/parking/parkinglotinfo/update" : {
  9548. "post" : {
  9549. "tags" : [ "alipay.eco.mycar.parking.parkinglotinfo" ],
  9550. "summary" : "修改停车场信息",
  9551. "description" : "录入停车场信息,内容信息通过该接口提交到支付宝,支付宝会生成支付宝这边停车场ID反馈给开发者,用于后续更新和上送车辆信息,停车场名称不允许修改。",
  9552. "operationId" : "alipay.eco.mycar.parking.parkinglotinfo.update",
  9553. "responses" : {
  9554. "200" : {
  9555. "description" : "common response",
  9556. "content" : {
  9557. "application/json" : {
  9558. "schema" : {
  9559. "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoUpdateResponseModel"
  9560. }
  9561. }
  9562. }
  9563. },
  9564. "default" : {
  9565. "description" : "请求失败",
  9566. "content" : {
  9567. "application/json" : {
  9568. "schema" : {
  9569. "anyOf" : [ {
  9570. "$ref" : "#/components/schemas/CommonErrorType"
  9571. }, {
  9572. "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoUpdateErrorResponseModel"
  9573. } ]
  9574. }
  9575. }
  9576. }
  9577. }
  9578. },
  9579. "requestBody" : {
  9580. "content" : {
  9581. "application/json" : {
  9582. "schema" : {
  9583. "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoUpdateModel"
  9584. }
  9585. }
  9586. },
  9587. "required" : false
  9588. }
  9589. }
  9590. },
  9591. "/v3/alipay/eco/mycar/parking/paymentinfo/sync" : {
  9592. "post" : {
  9593. "tags" : [ "alipay.eco.mycar.parking.paymentinfo" ],
  9594. "summary" : "车辆停车缴费接口",
  9595. "description" : "上传车辆在停车场的缴费信息,将停车动作推进到计费状态,上传信息通过该接口提交到支付宝,支付宝返回对应的信息",
  9596. "operationId" : "alipay.eco.mycar.parking.paymentinfo.sync",
  9597. "responses" : {
  9598. "200" : {
  9599. "description" : "common response",
  9600. "content" : {
  9601. "application/json" : {
  9602. "schema" : {
  9603. "$ref" : "#/components/schemas/AlipayEcoMycarParkingPaymentinfoSyncResponseModel"
  9604. }
  9605. }
  9606. }
  9607. },
  9608. "default" : {
  9609. "description" : "请求失败",
  9610. "content" : {
  9611. "application/json" : {
  9612. "schema" : {
  9613. "anyOf" : [ {
  9614. "$ref" : "#/components/schemas/CommonErrorType"
  9615. }, {
  9616. "$ref" : "#/components/schemas/AlipayEcoMycarParkingPaymentinfoSyncErrorResponseModel"
  9617. } ]
  9618. }
  9619. }
  9620. }
  9621. }
  9622. },
  9623. "requestBody" : {
  9624. "content" : {
  9625. "application/json" : {
  9626. "schema" : {
  9627. "$ref" : "#/components/schemas/AlipayEcoMycarParkingPaymentinfoSyncModel"
  9628. }
  9629. }
  9630. },
  9631. "required" : false
  9632. }
  9633. }
  9634. },
  9635. "/v3/alipay/eco/mycar/parking/spaceinfo/sync" : {
  9636. "post" : {
  9637. "tags" : [ "alipay.eco.mycar.parking.spaceinfo" ],
  9638. "summary" : "停车场车位信息同步",
  9639. "description" : "停车场位置信息同步",
  9640. "operationId" : "alipay.eco.mycar.parking.spaceinfo.sync",
  9641. "responses" : {
  9642. "200" : {
  9643. "description" : "common response",
  9644. "content" : {
  9645. "application/json" : {
  9646. "schema" : {
  9647. "$ref" : "#/components/schemas/AlipayEcoMycarParkingSpaceinfoSyncResponseModel"
  9648. }
  9649. }
  9650. }
  9651. },
  9652. "default" : {
  9653. "description" : "请求失败",
  9654. "content" : {
  9655. "application/json" : {
  9656. "schema" : {
  9657. "anyOf" : [ {
  9658. "$ref" : "#/components/schemas/CommonErrorType"
  9659. }, {
  9660. "$ref" : "#/components/schemas/AlipayEcoMycarParkingSpaceinfoSyncErrorResponseModel"
  9661. } ]
  9662. }
  9663. }
  9664. }
  9665. }
  9666. },
  9667. "requestBody" : {
  9668. "content" : {
  9669. "application/json" : {
  9670. "schema" : {
  9671. "$ref" : "#/components/schemas/AlipayEcoMycarParkingSpaceinfoSyncModel"
  9672. }
  9673. }
  9674. },
  9675. "required" : false
  9676. }
  9677. }
  9678. },
  9679. "/v3/alipay/eco/mycar/parking/vehicle/query" : {
  9680. "get" : {
  9681. "tags" : [ "alipay.eco.mycar.parking.vehicle" ],
  9682. "summary" : "车牌查询接口",
  9683. "description" : "商户通过接口调用,获取用户车牌信息",
  9684. "operationId" : "alipay.eco.mycar.parking.vehicle.query",
  9685. "responses" : {
  9686. "200" : {
  9687. "description" : "common response",
  9688. "content" : {
  9689. "application/json" : {
  9690. "schema" : {
  9691. "$ref" : "#/components/schemas/AlipayEcoMycarParkingVehicleQueryResponseModel"
  9692. }
  9693. }
  9694. }
  9695. },
  9696. "default" : {
  9697. "description" : "请求失败",
  9698. "content" : {
  9699. "application/json" : {
  9700. "schema" : {
  9701. "anyOf" : [ {
  9702. "$ref" : "#/components/schemas/CommonErrorType"
  9703. }, {
  9704. "$ref" : "#/components/schemas/AlipayEcoMycarParkingVehicleQueryErrorResponseModel"
  9705. } ]
  9706. }
  9707. }
  9708. }
  9709. }
  9710. },
  9711. "parameters" : [ {
  9712. "$ref" : "#/components/parameters/AuthToken"
  9713. }, {
  9714. "name" : "car_id",
  9715. "in" : "query",
  9716. "description" : "支付宝用户车辆ID,系统唯一。(该参数会在停车平台用户点击查询缴费,跳转到ISV停车缴费查询页面时,从请求中传递)",
  9717. "schema" : {
  9718. "type" : "string",
  9719. "example" : "201605061278654"
  9720. }
  9721. } ]
  9722. }
  9723. },
  9724. "/v3/alipay/eco/sign/flow/cancel" : {
  9725. "post" : {
  9726. "tags" : [ "alipay.eco.sign.flow" ],
  9727. "summary" : "签署流程撤销(E签宝)",
  9728. "description" : "签署流程撤销(E签宝)",
  9729. "operationId" : "alipay.eco.sign.flow.cancel",
  9730. "responses" : {
  9731. "200" : {
  9732. "description" : "common response",
  9733. "content" : {
  9734. "application/json" : {
  9735. "schema" : {
  9736. "$ref" : "#/components/schemas/AlipayEcoSignFlowCancelResponseModel"
  9737. }
  9738. }
  9739. }
  9740. },
  9741. "default" : {
  9742. "description" : "请求失败",
  9743. "content" : {
  9744. "application/json" : {
  9745. "schema" : {
  9746. "anyOf" : [ {
  9747. "$ref" : "#/components/schemas/CommonErrorType"
  9748. }, {
  9749. "$ref" : "#/components/schemas/AlipayEcoSignFlowCancelErrorResponseModel"
  9750. } ]
  9751. }
  9752. }
  9753. }
  9754. }
  9755. },
  9756. "parameters" : [ {
  9757. "$ref" : "#/components/parameters/TargetAppId"
  9758. } ],
  9759. "requestBody" : {
  9760. "content" : {
  9761. "application/json" : {
  9762. "schema" : {
  9763. "$ref" : "#/components/schemas/AlipayEcoSignFlowCancelModel"
  9764. }
  9765. }
  9766. },
  9767. "required" : false
  9768. }
  9769. }
  9770. },
  9771. "/v3/alipay/eco/sign/flow/create" : {
  9772. "post" : {
  9773. "tags" : [ "alipay.eco.sign.flow" ],
  9774. "summary" : "创建流程(E签宝)",
  9775. "description" : "创建流程(E签宝)。",
  9776. "operationId" : "alipay.eco.sign.flow.create",
  9777. "responses" : {
  9778. "200" : {
  9779. "description" : "common response",
  9780. "content" : {
  9781. "application/json" : {
  9782. "schema" : {
  9783. "$ref" : "#/components/schemas/AlipayEcoSignFlowCreateResponseModel"
  9784. }
  9785. }
  9786. }
  9787. },
  9788. "default" : {
  9789. "description" : "请求失败",
  9790. "content" : {
  9791. "application/json" : {
  9792. "schema" : {
  9793. "anyOf" : [ {
  9794. "$ref" : "#/components/schemas/CommonErrorType"
  9795. }, {
  9796. "$ref" : "#/components/schemas/AlipayEcoSignFlowCreateErrorResponseModel"
  9797. } ]
  9798. }
  9799. }
  9800. }
  9801. }
  9802. },
  9803. "parameters" : [ {
  9804. "$ref" : "#/components/parameters/TargetAppId"
  9805. } ],
  9806. "requestBody" : {
  9807. "content" : {
  9808. "application/json" : {
  9809. "schema" : {
  9810. "$ref" : "#/components/schemas/AlipayEcoSignFlowCreateModel"
  9811. }
  9812. }
  9813. },
  9814. "required" : false
  9815. }
  9816. }
  9817. },
  9818. "/v3/alipay/eco/sign/flow/finish" : {
  9819. "post" : {
  9820. "tags" : [ "alipay.eco.sign.flow" ],
  9821. "summary" : "签署流程归档",
  9822. "description" : "手动归档签署流程,归档后所有资源不可修改,归档前签署流程中的所有签署人必须都签署完成。如果创建流程时,设置了自动归档,则无需调用本接口,签署完成后系统会自动调用。",
  9823. "operationId" : "alipay.eco.sign.flow.finish",
  9824. "responses" : {
  9825. "200" : {
  9826. "description" : "common response",
  9827. "content" : {
  9828. "application/json" : {
  9829. "schema" : {
  9830. "$ref" : "#/components/schemas/AlipayEcoSignFlowFinishResponseModel"
  9831. }
  9832. }
  9833. }
  9834. },
  9835. "default" : {
  9836. "description" : "请求失败",
  9837. "content" : {
  9838. "application/json" : {
  9839. "schema" : {
  9840. "anyOf" : [ {
  9841. "$ref" : "#/components/schemas/CommonErrorType"
  9842. }, {
  9843. "$ref" : "#/components/schemas/AlipayEcoSignFlowFinishErrorResponseModel"
  9844. } ]
  9845. }
  9846. }
  9847. }
  9848. }
  9849. },
  9850. "parameters" : [ {
  9851. "$ref" : "#/components/parameters/TargetAppId"
  9852. } ],
  9853. "requestBody" : {
  9854. "content" : {
  9855. "application/json" : {
  9856. "schema" : {
  9857. "$ref" : "#/components/schemas/AlipayEcoSignFlowFinishModel"
  9858. }
  9859. }
  9860. },
  9861. "required" : false
  9862. }
  9863. }
  9864. },
  9865. "/v3/alipay/eco/sign/flow/query" : {
  9866. "get" : {
  9867. "tags" : [ "alipay.eco.sign.flow" ],
  9868. "summary" : "签署流程查询(E签宝)",
  9869. "description" : "签署流程查询(E签宝)。可通过此接口查询流程、签署人的签署状态。",
  9870. "operationId" : "alipay.eco.sign.flow.query",
  9871. "responses" : {
  9872. "200" : {
  9873. "description" : "common response",
  9874. "content" : {
  9875. "application/json" : {
  9876. "schema" : {
  9877. "$ref" : "#/components/schemas/AlipayEcoSignFlowQueryResponseModel"
  9878. }
  9879. }
  9880. }
  9881. },
  9882. "default" : {
  9883. "description" : "请求失败",
  9884. "content" : {
  9885. "application/json" : {
  9886. "schema" : {
  9887. "anyOf" : [ {
  9888. "$ref" : "#/components/schemas/CommonErrorType"
  9889. }, {
  9890. "$ref" : "#/components/schemas/AlipayEcoSignFlowQueryErrorResponseModel"
  9891. } ]
  9892. }
  9893. }
  9894. }
  9895. }
  9896. },
  9897. "parameters" : [ {
  9898. "$ref" : "#/components/parameters/TargetAppId"
  9899. }, {
  9900. "name" : "flow_id",
  9901. "in" : "query",
  9902. "description" : "流程id,通过 <a href =\"https://opendocs.alipay.com/apis/api_50/alipay.eco.contract.signflows.create\">创建电子合同签署流程</a>(alipay.eco.contract.signflows.create)接口获取。",
  9903. "schema" : {
  9904. "type" : "string",
  9905. "example" : "429b1d3038854cabbcdac0a63d7e4c0d"
  9906. }
  9907. } ]
  9908. }
  9909. },
  9910. "/v3/alipay/eco/signflows/detail/query" : {
  9911. "get" : {
  9912. "tags" : [ "alipay.eco.signflows.detail" ],
  9913. "summary" : "获取签署流程合同与附件的下载地址(E签宝)",
  9914. "description" : "获取签署流程合同与附件的下载地址(E签宝)",
  9915. "operationId" : "alipay.eco.signflows.detail.query",
  9916. "responses" : {
  9917. "200" : {
  9918. "description" : "common response",
  9919. "content" : {
  9920. "application/json" : {
  9921. "schema" : {
  9922. "$ref" : "#/components/schemas/AlipayEcoSignflowsDetailQueryResponseModel"
  9923. }
  9924. }
  9925. }
  9926. },
  9927. "default" : {
  9928. "description" : "请求失败",
  9929. "content" : {
  9930. "application/json" : {
  9931. "schema" : {
  9932. "anyOf" : [ {
  9933. "$ref" : "#/components/schemas/CommonErrorType"
  9934. }, {
  9935. "$ref" : "#/components/schemas/AlipayEcoSignflowsDetailQueryErrorResponseModel"
  9936. } ]
  9937. }
  9938. }
  9939. }
  9940. }
  9941. },
  9942. "parameters" : [ {
  9943. "$ref" : "#/components/parameters/TargetAppId"
  9944. }, {
  9945. "name" : "flow_id",
  9946. "in" : "query",
  9947. "description" : "流程id,通过 <a href =\"https://opendocs.alipay.com/apis/api_50/alipay.eco.contract.signflows.create\">创建电子合同签署流程</a>(alipay.eco.contract.signflows.create)接口获取。",
  9948. "schema" : {
  9949. "type" : "string",
  9950. "example" : "429b1d3038854cabbcdac0a63d7e4c0d"
  9951. }
  9952. } ]
  9953. }
  9954. },
  9955. "/v3/alipay/eco/signflows/url/query" : {
  9956. "get" : {
  9957. "tags" : [ "alipay.eco.signflows.url" ],
  9958. "summary" : "获取签署地址",
  9959. "description" : "创建流程后,获取指定签署人的签署链接地址,可在应用内集成H5签署页,或者通过短信发送签署链接。\n传入个人唯一标识,则获取的签署任务链接仅包含个人人的签署任务;如同时传入企业唯一标识,则获取的签署任务链接包含企业与个人的签署任务。\n预览链接:支持签署人先查看合同原文,后进行登录并完成签署。适用于应用内集成场景。\n签署链接:签署人需要登录后查看合同原文并签署。适用用短信发送场景。",
  9960. "operationId" : "alipay.eco.signflows.url.query",
  9961. "responses" : {
  9962. "200" : {
  9963. "description" : "common response",
  9964. "content" : {
  9965. "application/json" : {
  9966. "schema" : {
  9967. "$ref" : "#/components/schemas/AlipayEcoSignflowsUrlQueryResponseModel"
  9968. }
  9969. }
  9970. }
  9971. },
  9972. "default" : {
  9973. "description" : "请求失败",
  9974. "content" : {
  9975. "application/json" : {
  9976. "schema" : {
  9977. "anyOf" : [ {
  9978. "$ref" : "#/components/schemas/CommonErrorType"
  9979. }, {
  9980. "$ref" : "#/components/schemas/AlipayEcoSignflowsUrlQueryErrorResponseModel"
  9981. } ]
  9982. }
  9983. }
  9984. }
  9985. }
  9986. },
  9987. "parameters" : [ {
  9988. "$ref" : "#/components/parameters/TargetAppId"
  9989. }, {
  9990. "name" : "flow_id",
  9991. "in" : "query",
  9992. "description" : "流程id,通过 <a href =\"https://opendocs.alipay.com/apis/api_50/alipay.eco.contract.signflows.create\">创建电子合同签署流程</a>(alipay.eco.contract.signflows.create)接口获取。",
  9993. "schema" : {
  9994. "type" : "string",
  9995. "example" : "429b1d3038854cabbcdac0a63d7e4c0d"
  9996. }
  9997. }, {
  9998. "name" : "third_party_user_id",
  9999. "in" : "query",
  10000. "description" : "创建流程时指定个人唯一标识",
  10001. "schema" : {
  10002. "type" : "string",
  10003. "example" : "2088102924502823"
  10004. }
  10005. }, {
  10006. "name" : "org_third_party_user_id",
  10007. "in" : "query",
  10008. "description" : "创建流程时指定企业唯一标识",
  10009. "schema" : {
  10010. "type" : "string",
  10011. "example" : "913301087458306077"
  10012. }
  10013. } ]
  10014. }
  10015. },
  10016. "/v3/alipay/fund/account/query" : {
  10017. "get" : {
  10018. "tags" : [ "alipay.fund.account" ],
  10019. "summary" : "支付宝资金账户资产查询接口",
  10020. "description" : "可查询请求方的支付宝账户余额信息。",
  10021. "operationId" : "alipay.fund.account.query",
  10022. "responses" : {
  10023. "200" : {
  10024. "description" : "common response",
  10025. "content" : {
  10026. "application/json" : {
  10027. "schema" : {
  10028. "$ref" : "#/components/schemas/AlipayFundAccountQueryResponseModel"
  10029. }
  10030. }
  10031. }
  10032. },
  10033. "default" : {
  10034. "description" : "请求失败",
  10035. "content" : {
  10036. "application/json" : {
  10037. "schema" : {
  10038. "anyOf" : [ {
  10039. "$ref" : "#/components/schemas/CommonErrorType"
  10040. }, {
  10041. "$ref" : "#/components/schemas/AlipayFundAccountQueryErrorResponseModel"
  10042. } ]
  10043. }
  10044. }
  10045. }
  10046. }
  10047. },
  10048. "parameters" : [ {
  10049. "name" : "merchant_user_id",
  10050. "in" : "query",
  10051. "description" : "商户会员的唯一标识。如果传入的user_id为虚拟账户userId,此字段必传并比对一致性。",
  10052. "schema" : {
  10053. "type" : "string",
  10054. "example" : "243893499"
  10055. }
  10056. }, {
  10057. "name" : "alipay_user_id",
  10058. "in" : "query",
  10059. "description" : "支付宝会员 id。",
  10060. "schema" : {
  10061. "type" : "string",
  10062. "example" : "2088301409188095"
  10063. }
  10064. }, {
  10065. "name" : "alipay_open_id",
  10066. "in" : "query",
  10067. "description" : "支付宝openId",
  10068. "schema" : {
  10069. "type" : "string",
  10070. "example" : "061P6NAblcWDWJoDRxSVvOYz-ufp-3wQaA4E_szQyMFTXse"
  10071. }
  10072. }, {
  10073. "name" : "account_product_code",
  10074. "in" : "query",
  10075. "description" : "开户产品码。如果查询托管子户余额,必传且必须传入与开户时传入的值一致。",
  10076. "schema" : {
  10077. "type" : "string",
  10078. "example" : "DING_ACCOUNT"
  10079. }
  10080. }, {
  10081. "name" : "account_type",
  10082. "in" : "query",
  10083. "description" : "查询的账号类型,查询余额账户值为ACCTRANS_ACCOUNT。必填。",
  10084. "schema" : {
  10085. "type" : "string",
  10086. "example" : "ACCTRANS_ACCOUNT"
  10087. }
  10088. }, {
  10089. "name" : "account_scene_code",
  10090. "in" : "query",
  10091. "description" : "开户场景码,与开户产品码不可同时传递。",
  10092. "schema" : {
  10093. "type" : "string",
  10094. "example" : "SCENE_000_000_000"
  10095. }
  10096. }, {
  10097. "name" : "ext_info",
  10098. "in" : "query",
  10099. "description" : "JSON格式,传递业务扩展参数。",
  10100. "schema" : {
  10101. "type" : "string",
  10102. "example" : "{\"agreement_no\":\"2019000000000\"}"
  10103. }
  10104. } ]
  10105. }
  10106. },
  10107. "/v3/alipay/fund/accountbook/create" : {
  10108. "post" : {
  10109. "tags" : [ "alipay.fund.accountbook" ],
  10110. "summary" : "资金记账本开通",
  10111. "description" : "资金记账本开通",
  10112. "operationId" : "alipay.fund.accountbook.create",
  10113. "responses" : {
  10114. "200" : {
  10115. "description" : "common response",
  10116. "content" : {
  10117. "application/json" : {
  10118. "schema" : {
  10119. "$ref" : "#/components/schemas/AlipayFundAccountbookCreateResponseModel"
  10120. }
  10121. }
  10122. }
  10123. },
  10124. "default" : {
  10125. "description" : "请求失败",
  10126. "content" : {
  10127. "application/json" : {
  10128. "schema" : {
  10129. "anyOf" : [ {
  10130. "$ref" : "#/components/schemas/CommonErrorType"
  10131. }, {
  10132. "$ref" : "#/components/schemas/AlipayFundAccountbookCreateErrorResponseModel"
  10133. } ]
  10134. }
  10135. }
  10136. }
  10137. }
  10138. },
  10139. "requestBody" : {
  10140. "content" : {
  10141. "application/json" : {
  10142. "schema" : {
  10143. "$ref" : "#/components/schemas/AlipayFundAccountbookCreateModel"
  10144. }
  10145. }
  10146. },
  10147. "required" : false
  10148. }
  10149. }
  10150. },
  10151. "/v3/alipay/fund/accountbook/notify/query" : {
  10152. "get" : {
  10153. "tags" : [ "alipay.fund.accountbook.notify" ],
  10154. "summary" : "记账本通知订阅关系查询接口",
  10155. "description" : "ISV通过此接口查询指定记账本的入金和出金通知的订阅关系",
  10156. "operationId" : "alipay.fund.accountbook.notify.query",
  10157. "responses" : {
  10158. "200" : {
  10159. "description" : "common response",
  10160. "content" : {
  10161. "application/json" : {
  10162. "schema" : {
  10163. "$ref" : "#/components/schemas/AlipayFundAccountbookNotifyQueryResponseModel"
  10164. }
  10165. }
  10166. }
  10167. },
  10168. "default" : {
  10169. "description" : "请求失败",
  10170. "content" : {
  10171. "application/json" : {
  10172. "schema" : {
  10173. "anyOf" : [ {
  10174. "$ref" : "#/components/schemas/CommonErrorType"
  10175. }, {
  10176. "$ref" : "#/components/schemas/AlipayFundAccountbookNotifyQueryErrorResponseModel"
  10177. } ]
  10178. }
  10179. }
  10180. }
  10181. }
  10182. },
  10183. "parameters" : [ {
  10184. "name" : "product_code",
  10185. "in" : "query",
  10186. "description" : "产品码。固定为SATF_FUND_BOOK",
  10187. "schema" : {
  10188. "type" : "string",
  10189. "example" : "SATF_FUND_BOOK"
  10190. }
  10191. }, {
  10192. "name" : "biz_scene",
  10193. "in" : "query",
  10194. "description" : "场景码。固定为DEFAULT",
  10195. "schema" : {
  10196. "type" : "string",
  10197. "example" : "DEFAULT"
  10198. }
  10199. }, {
  10200. "name" : "account_book_id",
  10201. "in" : "query",
  10202. "description" : "记账本ID",
  10203. "schema" : {
  10204. "type" : "string",
  10205. "example" : "2088000147677710"
  10206. }
  10207. }, {
  10208. "name" : "agreement_no",
  10209. "in" : "query",
  10210. "description" : "协议号。 若是基于协议的记账本,则agreement_no必传; 若是自创建的记账本,则agreement_no不传;",
  10211. "schema" : {
  10212. "type" : "string",
  10213. "example" : "20205724001102186227"
  10214. }
  10215. } ]
  10216. }
  10217. },
  10218. "/v3/alipay/fund/accountbook/notify/subscribe" : {
  10219. "post" : {
  10220. "tags" : [ "alipay.fund.accountbook.notify" ],
  10221. "summary" : "记账本通知订阅接口",
  10222. "description" : "ISV通过此接口订阅指定记账本的入金和出金通知。目前只有非OpenAPI方式的充值通知(比如大额来账、贷款入金)",
  10223. "operationId" : "alipay.fund.accountbook.notify.subscribe",
  10224. "responses" : {
  10225. "200" : {
  10226. "description" : "common response",
  10227. "content" : {
  10228. "application/json" : {
  10229. "schema" : {
  10230. "$ref" : "#/components/schemas/AlipayFundAccountbookNotifySubscribeResponseModel"
  10231. }
  10232. }
  10233. }
  10234. },
  10235. "default" : {
  10236. "description" : "请求失败",
  10237. "content" : {
  10238. "application/json" : {
  10239. "schema" : {
  10240. "anyOf" : [ {
  10241. "$ref" : "#/components/schemas/CommonErrorType"
  10242. }, {
  10243. "$ref" : "#/components/schemas/AlipayFundAccountbookNotifySubscribeErrorResponseModel"
  10244. } ]
  10245. }
  10246. }
  10247. }
  10248. }
  10249. },
  10250. "requestBody" : {
  10251. "content" : {
  10252. "application/json" : {
  10253. "schema" : {
  10254. "$ref" : "#/components/schemas/AlipayFundAccountbookNotifySubscribeModel"
  10255. }
  10256. }
  10257. },
  10258. "required" : false
  10259. }
  10260. }
  10261. },
  10262. "/v3/alipay/fund/accountbook/notify/unsubscribe" : {
  10263. "post" : {
  10264. "tags" : [ "alipay.fund.accountbook.notify" ],
  10265. "summary" : "记账本通知取消订阅接口",
  10266. "description" : "ISV通过此接口取消订阅指定记账本的入金和出金通知",
  10267. "operationId" : "alipay.fund.accountbook.notify.unsubscribe",
  10268. "responses" : {
  10269. "200" : {
  10270. "description" : "common response",
  10271. "content" : {
  10272. "application/json" : {
  10273. "schema" : {
  10274. "$ref" : "#/components/schemas/AlipayFundAccountbookNotifyUnsubscribeResponseModel"
  10275. }
  10276. }
  10277. }
  10278. },
  10279. "default" : {
  10280. "description" : "请求失败",
  10281. "content" : {
  10282. "application/json" : {
  10283. "schema" : {
  10284. "anyOf" : [ {
  10285. "$ref" : "#/components/schemas/CommonErrorType"
  10286. }, {
  10287. "$ref" : "#/components/schemas/AlipayFundAccountbookNotifyUnsubscribeErrorResponseModel"
  10288. } ]
  10289. }
  10290. }
  10291. }
  10292. }
  10293. },
  10294. "requestBody" : {
  10295. "content" : {
  10296. "application/json" : {
  10297. "schema" : {
  10298. "$ref" : "#/components/schemas/AlipayFundAccountbookNotifyUnsubscribeModel"
  10299. }
  10300. }
  10301. },
  10302. "required" : false
  10303. }
  10304. }
  10305. },
  10306. "/v3/alipay/fund/accountbook/query" : {
  10307. "get" : {
  10308. "tags" : [ "alipay.fund.accountbook" ],
  10309. "summary" : "资金记账本的信息查询",
  10310. "description" : "资金记账本的信息查询",
  10311. "operationId" : "alipay.fund.accountbook.query",
  10312. "responses" : {
  10313. "200" : {
  10314. "description" : "common response",
  10315. "content" : {
  10316. "application/json" : {
  10317. "schema" : {
  10318. "$ref" : "#/components/schemas/AlipayFundAccountbookQueryResponseModel"
  10319. }
  10320. }
  10321. }
  10322. },
  10323. "default" : {
  10324. "description" : "请求失败",
  10325. "content" : {
  10326. "application/json" : {
  10327. "schema" : {
  10328. "anyOf" : [ {
  10329. "$ref" : "#/components/schemas/CommonErrorType"
  10330. }, {
  10331. "$ref" : "#/components/schemas/AlipayFundAccountbookQueryErrorResponseModel"
  10332. } ]
  10333. }
  10334. }
  10335. }
  10336. }
  10337. },
  10338. "parameters" : [ {
  10339. "name" : "account_book_id",
  10340. "in" : "query",
  10341. "description" : "记账账簿id",
  10342. "schema" : {
  10343. "type" : "string",
  10344. "example" : "2088001409188095"
  10345. }
  10346. }, {
  10347. "name" : "merchant_user_id",
  10348. "in" : "query",
  10349. "description" : "商户会员的唯一标识,如果传入account_book_id此字段必传并比对一致性。",
  10350. "schema" : {
  10351. "type" : "string",
  10352. "example" : "243893499"
  10353. }
  10354. }, {
  10355. "name" : "scene_code",
  10356. "in" : "query",
  10357. "description" : "资金记账本的开通场景码",
  10358. "schema" : {
  10359. "type" : "string",
  10360. "example" : "SATF_FUND_BOOK"
  10361. }
  10362. }, {
  10363. "name" : "ext_info",
  10364. "in" : "query",
  10365. "description" : "JSON格式,传递业务扩展参数",
  10366. "schema" : {
  10367. "type" : "string",
  10368. "example" : "{\"agreement_no\":\"2019000000000\"}"
  10369. }
  10370. } ]
  10371. }
  10372. },
  10373. "/v3/alipay/fund/agreement/quota/modify" : {
  10374. "post" : {
  10375. "tags" : [ "alipay.fund.agreement.quota" ],
  10376. "summary" : "额度设置接口",
  10377. "description" : "基于扣款合约设置付款方额度",
  10378. "operationId" : "alipay.fund.agreement.quota.modify",
  10379. "responses" : {
  10380. "200" : {
  10381. "description" : "common response",
  10382. "content" : {
  10383. "application/json" : {
  10384. "schema" : {
  10385. "$ref" : "#/components/schemas/AlipayFundAgreementQuotaModifyResponseModel"
  10386. }
  10387. }
  10388. }
  10389. },
  10390. "default" : {
  10391. "description" : "请求失败",
  10392. "content" : {
  10393. "application/json" : {
  10394. "schema" : {
  10395. "anyOf" : [ {
  10396. "$ref" : "#/components/schemas/CommonErrorType"
  10397. }, {
  10398. "$ref" : "#/components/schemas/AlipayFundAgreementQuotaModifyErrorResponseModel"
  10399. } ]
  10400. }
  10401. }
  10402. }
  10403. }
  10404. },
  10405. "requestBody" : {
  10406. "content" : {
  10407. "application/json" : {
  10408. "schema" : {
  10409. "$ref" : "#/components/schemas/AlipayFundAgreementQuotaModifyModel"
  10410. }
  10411. }
  10412. },
  10413. "required" : false
  10414. }
  10415. }
  10416. },
  10417. "/v3/alipay/fund/agreement/quota/query" : {
  10418. "post" : {
  10419. "tags" : [ "alipay.fund.agreement.quota" ],
  10420. "summary" : "额度查询接口",
  10421. "description" : "查询基于扣款协议的额度配置查询",
  10422. "operationId" : "alipay.fund.agreement.quota.query",
  10423. "responses" : {
  10424. "200" : {
  10425. "description" : "common response",
  10426. "content" : {
  10427. "application/json" : {
  10428. "schema" : {
  10429. "$ref" : "#/components/schemas/AlipayFundAgreementQuotaQueryResponseModel"
  10430. }
  10431. }
  10432. }
  10433. },
  10434. "default" : {
  10435. "description" : "请求失败",
  10436. "content" : {
  10437. "application/json" : {
  10438. "schema" : {
  10439. "anyOf" : [ {
  10440. "$ref" : "#/components/schemas/CommonErrorType"
  10441. }, {
  10442. "$ref" : "#/components/schemas/AlipayFundAgreementQuotaQueryErrorResponseModel"
  10443. } ]
  10444. }
  10445. }
  10446. }
  10447. }
  10448. },
  10449. "requestBody" : {
  10450. "content" : {
  10451. "application/json" : {
  10452. "schema" : {
  10453. "$ref" : "#/components/schemas/AlipayFundAgreementQuotaQueryModel"
  10454. }
  10455. }
  10456. },
  10457. "required" : false
  10458. }
  10459. }
  10460. },
  10461. "/v3/alipay/fund/auth/operation/cancel" : {
  10462. "post" : {
  10463. "tags" : [ "alipay.fund.auth.operation" ],
  10464. "summary" : "资金授权撤销接口",
  10465. "description" : "只有商户由于业务系统处理超时需要终止后续业务处理或者授权结果未知时可调用撤销,其他正常授权冻结的操作如需实现相同功能请调用资金授权解冻服务。提交资金授权后调用【资金授权操作查询】,没有明确的授权结果再调用【资金授权撤销】",
  10466. "operationId" : "alipay.fund.auth.operation.cancel",
  10467. "responses" : {
  10468. "200" : {
  10469. "description" : "common response",
  10470. "content" : {
  10471. "application/json" : {
  10472. "schema" : {
  10473. "$ref" : "#/components/schemas/AlipayFundAuthOperationCancelResponseModel"
  10474. }
  10475. }
  10476. }
  10477. },
  10478. "default" : {
  10479. "description" : "请求失败",
  10480. "content" : {
  10481. "application/json" : {
  10482. "schema" : {
  10483. "anyOf" : [ {
  10484. "$ref" : "#/components/schemas/CommonErrorType"
  10485. }, {
  10486. "$ref" : "#/components/schemas/AlipayFundAuthOperationCancelErrorResponseModel"
  10487. } ]
  10488. }
  10489. }
  10490. }
  10491. }
  10492. },
  10493. "requestBody" : {
  10494. "content" : {
  10495. "application/json" : {
  10496. "schema" : {
  10497. "$ref" : "#/components/schemas/AlipayFundAuthOperationCancelModel"
  10498. }
  10499. }
  10500. },
  10501. "required" : false
  10502. }
  10503. }
  10504. },
  10505. "/v3/alipay/fund/auth/operation/detail/query" : {
  10506. "post" : {
  10507. "tags" : [ "alipay.fund.auth.operation.detail" ],
  10508. "summary" : "资金授权操作查询接口",
  10509. "description" : "通过该接口可以查询单笔明细的详细信息",
  10510. "operationId" : "alipay.fund.auth.operation.detail.query",
  10511. "responses" : {
  10512. "200" : {
  10513. "description" : "common response",
  10514. "content" : {
  10515. "application/json" : {
  10516. "schema" : {
  10517. "$ref" : "#/components/schemas/AlipayFundAuthOperationDetailQueryResponseModel"
  10518. }
  10519. }
  10520. }
  10521. },
  10522. "default" : {
  10523. "description" : "请求失败",
  10524. "content" : {
  10525. "application/json" : {
  10526. "schema" : {
  10527. "anyOf" : [ {
  10528. "$ref" : "#/components/schemas/CommonErrorType"
  10529. }, {
  10530. "$ref" : "#/components/schemas/AlipayFundAuthOperationDetailQueryErrorResponseModel"
  10531. } ]
  10532. }
  10533. }
  10534. }
  10535. }
  10536. },
  10537. "requestBody" : {
  10538. "content" : {
  10539. "application/json" : {
  10540. "schema" : {
  10541. "$ref" : "#/components/schemas/AlipayFundAuthOperationDetailQueryModel"
  10542. }
  10543. }
  10544. },
  10545. "required" : false
  10546. }
  10547. }
  10548. },
  10549. "/v3/alipay/fund/auth/order/app/freeze" : {
  10550. "post" : {
  10551. "tags" : [ "alipay.fund.auth.order.app" ],
  10552. "summary" : "线上资金授权冻结接口",
  10553. "description" : "创建支付宝授权订单并完成资金冻结。适用于线上场景完成资金授权, 例如从商户APP端拉起支付宝收银台完成冻结。",
  10554. "operationId" : "alipay.fund.auth.order.app.freeze",
  10555. "responses" : {
  10556. "200" : {
  10557. "description" : "common response",
  10558. "content" : {
  10559. "application/json" : {
  10560. "schema" : {
  10561. "$ref" : "#/components/schemas/AlipayFundAuthOrderAppFreezeResponseModel"
  10562. }
  10563. }
  10564. }
  10565. },
  10566. "default" : {
  10567. "description" : "请求失败",
  10568. "content" : {
  10569. "application/json" : {
  10570. "schema" : {
  10571. "anyOf" : [ {
  10572. "$ref" : "#/components/schemas/CommonErrorType"
  10573. }, {
  10574. "$ref" : "#/components/schemas/AlipayFundAuthOrderAppFreezeErrorResponseModel"
  10575. } ]
  10576. }
  10577. }
  10578. }
  10579. }
  10580. },
  10581. "requestBody" : {
  10582. "content" : {
  10583. "application/json" : {
  10584. "schema" : {
  10585. "$ref" : "#/components/schemas/AlipayFundAuthOrderAppFreezeModel"
  10586. }
  10587. }
  10588. },
  10589. "required" : false
  10590. }
  10591. }
  10592. },
  10593. "/v3/alipay/fund/auth/order/freeze" : {
  10594. "post" : {
  10595. "tags" : [ "alipay.fund.auth.order" ],
  10596. "summary" : "资金授权冻结接口",
  10597. "description" : "收银员使用扫码设备读取用户支付宝钱包“付款码”后,将条码信息和订单信息通过本接口上送至支付宝发起资金冻结。",
  10598. "operationId" : "alipay.fund.auth.order.freeze",
  10599. "responses" : {
  10600. "200" : {
  10601. "description" : "common response",
  10602. "content" : {
  10603. "application/json" : {
  10604. "schema" : {
  10605. "$ref" : "#/components/schemas/AlipayFundAuthOrderFreezeResponseModel"
  10606. }
  10607. }
  10608. }
  10609. },
  10610. "default" : {
  10611. "description" : "请求失败",
  10612. "content" : {
  10613. "application/json" : {
  10614. "schema" : {
  10615. "anyOf" : [ {
  10616. "$ref" : "#/components/schemas/CommonErrorType"
  10617. }, {
  10618. "$ref" : "#/components/schemas/AlipayFundAuthOrderFreezeErrorResponseModel"
  10619. } ]
  10620. }
  10621. }
  10622. }
  10623. }
  10624. },
  10625. "requestBody" : {
  10626. "content" : {
  10627. "application/json" : {
  10628. "schema" : {
  10629. "$ref" : "#/components/schemas/AlipayFundAuthOrderFreezeModel"
  10630. }
  10631. }
  10632. },
  10633. "required" : false
  10634. }
  10635. }
  10636. },
  10637. "/v3/alipay/fund/auth/order/unfreeze" : {
  10638. "post" : {
  10639. "tags" : [ "alipay.fund.auth.order" ],
  10640. "summary" : "资金授权解冻接口",
  10641. "description" : "当资金授权发生之后一段时间内,由于买家或者商家等其他原因需要要解冻资金,商家可通过资金授权解冻接口将授权资金进行解冻,支付宝将在收到解冻请求并验证成功后,按解冻规则将冻结资金按原路进行解冻",
  10642. "operationId" : "alipay.fund.auth.order.unfreeze",
  10643. "responses" : {
  10644. "200" : {
  10645. "description" : "common response",
  10646. "content" : {
  10647. "application/json" : {
  10648. "schema" : {
  10649. "$ref" : "#/components/schemas/AlipayFundAuthOrderUnfreezeResponseModel"
  10650. }
  10651. }
  10652. }
  10653. },
  10654. "default" : {
  10655. "description" : "请求失败",
  10656. "content" : {
  10657. "application/json" : {
  10658. "schema" : {
  10659. "anyOf" : [ {
  10660. "$ref" : "#/components/schemas/CommonErrorType"
  10661. }, {
  10662. "$ref" : "#/components/schemas/AlipayFundAuthOrderUnfreezeErrorResponseModel"
  10663. } ]
  10664. }
  10665. }
  10666. }
  10667. }
  10668. },
  10669. "requestBody" : {
  10670. "content" : {
  10671. "application/json" : {
  10672. "schema" : {
  10673. "$ref" : "#/components/schemas/AlipayFundAuthOrderUnfreezeModel"
  10674. }
  10675. }
  10676. },
  10677. "required" : false
  10678. }
  10679. }
  10680. },
  10681. "/v3/alipay/fund/auth/order/voucher/create" : {
  10682. "post" : {
  10683. "tags" : [ "alipay.fund.auth.order.voucher" ],
  10684. "summary" : "资金授权发码接口",
  10685. "description" : "收银员通过收银台或商户后台调用支付宝接口,生成二维码后,展示给用户,由用户扫描二维码完成资金冻结。",
  10686. "operationId" : "alipay.fund.auth.order.voucher.create",
  10687. "responses" : {
  10688. "200" : {
  10689. "description" : "common response",
  10690. "content" : {
  10691. "application/json" : {
  10692. "schema" : {
  10693. "$ref" : "#/components/schemas/AlipayFundAuthOrderVoucherCreateResponseModel"
  10694. }
  10695. }
  10696. }
  10697. },
  10698. "default" : {
  10699. "description" : "请求失败",
  10700. "content" : {
  10701. "application/json" : {
  10702. "schema" : {
  10703. "anyOf" : [ {
  10704. "$ref" : "#/components/schemas/CommonErrorType"
  10705. }, {
  10706. "$ref" : "#/components/schemas/AlipayFundAuthOrderVoucherCreateErrorResponseModel"
  10707. } ]
  10708. }
  10709. }
  10710. }
  10711. }
  10712. },
  10713. "requestBody" : {
  10714. "content" : {
  10715. "application/json" : {
  10716. "schema" : {
  10717. "$ref" : "#/components/schemas/AlipayFundAuthOrderVoucherCreateModel"
  10718. }
  10719. }
  10720. },
  10721. "required" : false
  10722. }
  10723. }
  10724. },
  10725. "/v3/alipay/fund/enterprisepay/group/add" : {
  10726. "post" : {
  10727. "tags" : [ "alipay.fund.enterprisepay.group" ],
  10728. "summary" : "因公付新增账户下群组",
  10729. "description" : "创建因公付群组,包含群组信息和出资信息",
  10730. "operationId" : "alipay.fund.enterprisepay.group.add",
  10731. "responses" : {
  10732. "200" : {
  10733. "description" : "common response",
  10734. "content" : {
  10735. "application/json" : {
  10736. "schema" : {
  10737. "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupAddResponseModel"
  10738. }
  10739. }
  10740. }
  10741. },
  10742. "default" : {
  10743. "description" : "请求失败",
  10744. "content" : {
  10745. "application/json" : {
  10746. "schema" : {
  10747. "anyOf" : [ {
  10748. "$ref" : "#/components/schemas/CommonErrorType"
  10749. }, {
  10750. "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupAddErrorResponseModel"
  10751. } ]
  10752. }
  10753. }
  10754. }
  10755. }
  10756. },
  10757. "requestBody" : {
  10758. "content" : {
  10759. "application/json" : {
  10760. "schema" : {
  10761. "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupAddModel"
  10762. }
  10763. }
  10764. },
  10765. "required" : false
  10766. }
  10767. }
  10768. },
  10769. "/v3/alipay/fund/enterprisepay/group/delete" : {
  10770. "delete" : {
  10771. "tags" : [ "alipay.fund.enterprisepay.group" ],
  10772. "summary" : "因公付删除账户下群组",
  10773. "description" : "因公付删除账户下群组",
  10774. "operationId" : "alipay.fund.enterprisepay.group.delete",
  10775. "responses" : {
  10776. "200" : {
  10777. "description" : "common response",
  10778. "content" : {
  10779. "application/json" : {
  10780. "schema" : {
  10781. "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupDeleteResponseModel"
  10782. }
  10783. }
  10784. }
  10785. },
  10786. "default" : {
  10787. "description" : "请求失败",
  10788. "content" : {
  10789. "application/json" : {
  10790. "schema" : {
  10791. "anyOf" : [ {
  10792. "$ref" : "#/components/schemas/CommonErrorType"
  10793. }, {
  10794. "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupDeleteErrorResponseModel"
  10795. } ]
  10796. }
  10797. }
  10798. }
  10799. }
  10800. },
  10801. "parameters" : [ {
  10802. "name" : "product_code",
  10803. "in" : "query",
  10804. "description" : "产品码,默认值\tENTERPRISE_PAY",
  10805. "schema" : {
  10806. "type" : "string",
  10807. "example" : "ENTERPRISE_PAY"
  10808. }
  10809. }, {
  10810. "name" : "biz_scene",
  10811. "in" : "query",
  10812. "description" : "场景码,联系支付宝分配",
  10813. "schema" : {
  10814. "type" : "string",
  10815. "example" : "ANT_GROUP"
  10816. }
  10817. }, {
  10818. "name" : "account_id",
  10819. "in" : "query",
  10820. "description" : "企业签约账户ID",
  10821. "schema" : {
  10822. "type" : "string",
  10823. "example" : "2088888888"
  10824. }
  10825. }, {
  10826. "name" : "agreement_no",
  10827. "in" : "query",
  10828. "description" : "平台和企业的三方授权协议号",
  10829. "schema" : {
  10830. "type" : "string",
  10831. "example" : "1231231321323"
  10832. }
  10833. }, {
  10834. "name" : "out_biz_no",
  10835. "in" : "query",
  10836. "description" : "外部业务号",
  10837. "schema" : {
  10838. "type" : "string",
  10839. "example" : "12123123"
  10840. }
  10841. } ]
  10842. }
  10843. },
  10844. "/v3/alipay/fund/enterprisepay/group/modify" : {
  10845. "post" : {
  10846. "tags" : [ "alipay.fund.enterprisepay.group" ],
  10847. "summary" : "因公付更新账户下群组",
  10848. "description" : "因公付更新账户下群组",
  10849. "operationId" : "alipay.fund.enterprisepay.group.modify",
  10850. "responses" : {
  10851. "200" : {
  10852. "description" : "common response",
  10853. "content" : {
  10854. "application/json" : {
  10855. "schema" : {
  10856. "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupModifyResponseModel"
  10857. }
  10858. }
  10859. }
  10860. },
  10861. "default" : {
  10862. "description" : "请求失败",
  10863. "content" : {
  10864. "application/json" : {
  10865. "schema" : {
  10866. "anyOf" : [ {
  10867. "$ref" : "#/components/schemas/CommonErrorType"
  10868. }, {
  10869. "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupModifyErrorResponseModel"
  10870. } ]
  10871. }
  10872. }
  10873. }
  10874. }
  10875. },
  10876. "requestBody" : {
  10877. "content" : {
  10878. "application/json" : {
  10879. "schema" : {
  10880. "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupModifyModel"
  10881. }
  10882. }
  10883. },
  10884. "required" : false
  10885. }
  10886. }
  10887. },
  10888. "/v3/alipay/fund/enterprisepay/group/query" : {
  10889. "get" : {
  10890. "tags" : [ "alipay.fund.enterprisepay.group" ],
  10891. "summary" : "因公付查询账户下群组",
  10892. "description" : "查询因公付群组,包含群组信息和对应的出资主体",
  10893. "operationId" : "alipay.fund.enterprisepay.group.query",
  10894. "responses" : {
  10895. "200" : {
  10896. "description" : "common response",
  10897. "content" : {
  10898. "application/json" : {
  10899. "schema" : {
  10900. "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupQueryResponseModel"
  10901. }
  10902. }
  10903. }
  10904. },
  10905. "default" : {
  10906. "description" : "请求失败",
  10907. "content" : {
  10908. "application/json" : {
  10909. "schema" : {
  10910. "anyOf" : [ {
  10911. "$ref" : "#/components/schemas/CommonErrorType"
  10912. }, {
  10913. "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupQueryErrorResponseModel"
  10914. } ]
  10915. }
  10916. }
  10917. }
  10918. }
  10919. },
  10920. "parameters" : [ {
  10921. "name" : "product_code",
  10922. "in" : "query",
  10923. "description" : "产品码,默认值 ENTERPRISE_PAY",
  10924. "schema" : {
  10925. "type" : "string",
  10926. "example" : "ENTERPRISE_PAY"
  10927. }
  10928. }, {
  10929. "name" : "biz_scene",
  10930. "in" : "query",
  10931. "description" : "场景码,联系支付宝分配",
  10932. "schema" : {
  10933. "type" : "string",
  10934. "example" : "ANT_GROUP"
  10935. }
  10936. }, {
  10937. "name" : "account_id",
  10938. "in" : "query",
  10939. "description" : "企业签约账户ID",
  10940. "schema" : {
  10941. "type" : "string",
  10942. "example" : "2088888888"
  10943. }
  10944. }, {
  10945. "name" : "agreement_no",
  10946. "in" : "query",
  10947. "description" : "平台和企业的三方授权协议号",
  10948. "schema" : {
  10949. "type" : "string",
  10950. "example" : "1231231321323"
  10951. }
  10952. }, {
  10953. "name" : "out_biz_no",
  10954. "in" : "query",
  10955. "description" : "外部业务号,外部群组号",
  10956. "schema" : {
  10957. "type" : "string",
  10958. "example" : "12312313"
  10959. }
  10960. } ]
  10961. }
  10962. },
  10963. "/v3/alipay/fund/enterprisepay/member/modify" : {
  10964. "post" : {
  10965. "tags" : [ "alipay.fund.enterprisepay.member" ],
  10966. "summary" : "因公付更新员工资金协议",
  10967. "description" : "因公付更新员工资金协议",
  10968. "operationId" : "alipay.fund.enterprisepay.member.modify",
  10969. "responses" : {
  10970. "200" : {
  10971. "description" : "common response",
  10972. "content" : {
  10973. "application/json" : {
  10974. "schema" : {
  10975. "$ref" : "#/components/schemas/AlipayFundEnterprisepayMemberModifyResponseModel"
  10976. }
  10977. }
  10978. }
  10979. },
  10980. "default" : {
  10981. "description" : "请求失败",
  10982. "content" : {
  10983. "application/json" : {
  10984. "schema" : {
  10985. "anyOf" : [ {
  10986. "$ref" : "#/components/schemas/CommonErrorType"
  10987. }, {
  10988. "$ref" : "#/components/schemas/AlipayFundEnterprisepayMemberModifyErrorResponseModel"
  10989. } ]
  10990. }
  10991. }
  10992. }
  10993. }
  10994. },
  10995. "requestBody" : {
  10996. "content" : {
  10997. "application/json" : {
  10998. "schema" : {
  10999. "$ref" : "#/components/schemas/AlipayFundEnterprisepayMemberModifyModel"
  11000. }
  11001. }
  11002. },
  11003. "required" : false
  11004. }
  11005. }
  11006. },
  11007. "/v3/alipay/fund/enterprisepay/sign" : {
  11008. "post" : {
  11009. "tags" : [ "alipay.fund.enterprisepay" ],
  11010. "summary" : "因公付企业签约",
  11011. "description" : "用于获取因公付企业签约链接",
  11012. "operationId" : "alipay.fund.enterprisepay.sign",
  11013. "responses" : {
  11014. "200" : {
  11015. "description" : "common response",
  11016. "content" : {
  11017. "application/json" : {
  11018. "schema" : {
  11019. "$ref" : "#/components/schemas/AlipayFundEnterprisepaySignResponseModel"
  11020. }
  11021. }
  11022. }
  11023. },
  11024. "default" : {
  11025. "description" : "请求失败",
  11026. "content" : {
  11027. "application/json" : {
  11028. "schema" : {
  11029. "anyOf" : [ {
  11030. "$ref" : "#/components/schemas/CommonErrorType"
  11031. }, {
  11032. "$ref" : "#/components/schemas/AlipayFundEnterprisepaySignErrorResponseModel"
  11033. } ]
  11034. }
  11035. }
  11036. }
  11037. }
  11038. },
  11039. "requestBody" : {
  11040. "content" : {
  11041. "application/json" : {
  11042. "schema" : {
  11043. "$ref" : "#/components/schemas/AlipayFundEnterprisepaySignModel"
  11044. }
  11045. }
  11046. },
  11047. "required" : false
  11048. }
  11049. }
  11050. },
  11051. "/v3/alipay/fund/enterprisepay/unsign" : {
  11052. "post" : {
  11053. "tags" : [ "alipay.fund.enterprisepay" ],
  11054. "summary" : "因公付企业解约",
  11055. "description" : "用于因公付企业解约时获取解约链接",
  11056. "operationId" : "alipay.fund.enterprisepay.unsign",
  11057. "responses" : {
  11058. "200" : {
  11059. "description" : "common response",
  11060. "content" : {
  11061. "application/json" : {
  11062. "schema" : {
  11063. "$ref" : "#/components/schemas/AlipayFundEnterprisepayUnsignResponseModel"
  11064. }
  11065. }
  11066. }
  11067. },
  11068. "default" : {
  11069. "description" : "请求失败",
  11070. "content" : {
  11071. "application/json" : {
  11072. "schema" : {
  11073. "anyOf" : [ {
  11074. "$ref" : "#/components/schemas/CommonErrorType"
  11075. }, {
  11076. "$ref" : "#/components/schemas/AlipayFundEnterprisepayUnsignErrorResponseModel"
  11077. } ]
  11078. }
  11079. }
  11080. }
  11081. }
  11082. },
  11083. "requestBody" : {
  11084. "content" : {
  11085. "application/json" : {
  11086. "schema" : {
  11087. "$ref" : "#/components/schemas/AlipayFundEnterprisepayUnsignModel"
  11088. }
  11089. }
  11090. },
  11091. "required" : false
  11092. }
  11093. }
  11094. },
  11095. "/v3/alipay/fund/jointaccount/bill/query" : {
  11096. "get" : {
  11097. "tags" : [ "alipay.fund.jointaccount.bill" ],
  11098. "summary" : "因公付账单查询",
  11099. "description" : "因公付账单查询",
  11100. "operationId" : "alipay.fund.jointaccount.bill.query",
  11101. "responses" : {
  11102. "200" : {
  11103. "description" : "common response",
  11104. "content" : {
  11105. "application/json" : {
  11106. "schema" : {
  11107. "$ref" : "#/components/schemas/AlipayFundJointaccountBillQueryResponseModel"
  11108. }
  11109. }
  11110. }
  11111. },
  11112. "default" : {
  11113. "description" : "请求失败",
  11114. "content" : {
  11115. "application/json" : {
  11116. "schema" : {
  11117. "anyOf" : [ {
  11118. "$ref" : "#/components/schemas/CommonErrorType"
  11119. }, {
  11120. "$ref" : "#/components/schemas/AlipayFundJointaccountBillQueryErrorResponseModel"
  11121. } ]
  11122. }
  11123. }
  11124. }
  11125. }
  11126. },
  11127. "parameters" : [ {
  11128. "name" : "product_code",
  11129. "in" : "query",
  11130. "description" : "因公付产品码",
  11131. "schema" : {
  11132. "type" : "string",
  11133. "example" : "ENTERPRISE_PAY"
  11134. }
  11135. }, {
  11136. "name" : "biz_scene",
  11137. "in" : "query",
  11138. "description" : "业务场景",
  11139. "schema" : {
  11140. "type" : "string",
  11141. "example" : "DEFAULT"
  11142. }
  11143. }, {
  11144. "name" : "account_id",
  11145. "in" : "query",
  11146. "description" : "账户ID",
  11147. "schema" : {
  11148. "type" : "string",
  11149. "example" : "2088900976746215"
  11150. }
  11151. }, {
  11152. "name" : "page_num",
  11153. "in" : "query",
  11154. "description" : "采用分页查询,本参数为空或0默认显示第一页。如果输入的值大于总页数,则支付宝返回最后一页数据",
  11155. "schema" : {
  11156. "type" : "string",
  11157. "example" : "1"
  11158. }
  11159. }, {
  11160. "name" : "page_size",
  11161. "in" : "query",
  11162. "description" : "每页大小,不传的情况下默认20条,超过20条默认按20条查询;不足20条则按实际记录数返回",
  11163. "schema" : {
  11164. "type" : "string",
  11165. "example" : "1"
  11166. }
  11167. }, {
  11168. "name" : "user_id",
  11169. "in" : "query",
  11170. "description" : "员工ID",
  11171. "schema" : {
  11172. "type" : "string",
  11173. "example" : "2088900976746215"
  11174. }
  11175. }, {
  11176. "name" : "open_id",
  11177. "in" : "query",
  11178. "description" : "员工的openId",
  11179. "schema" : {
  11180. "type" : "string",
  11181. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  11182. }
  11183. }, {
  11184. "name" : "start_date",
  11185. "in" : "query",
  11186. "description" : "起始日期",
  11187. "schema" : {
  11188. "type" : "string",
  11189. "example" : "yyyy-MM-dd"
  11190. }
  11191. }, {
  11192. "name" : "end_date",
  11193. "in" : "query",
  11194. "description" : "截止日期",
  11195. "schema" : {
  11196. "type" : "string",
  11197. "example" : "yyyy-MM-dd"
  11198. }
  11199. }, {
  11200. "name" : "agreement_no",
  11201. "in" : "query",
  11202. "description" : "授权协议号",
  11203. "schema" : {
  11204. "type" : "string",
  11205. "example" : "2088900976746215123123"
  11206. }
  11207. } ]
  11208. }
  11209. },
  11210. "/v3/alipay/fund/jointaccount/detail/query" : {
  11211. "get" : {
  11212. "tags" : [ "alipay.fund.jointaccount.detail" ],
  11213. "summary" : "共享资金-查询账户详情",
  11214. "description" : "发起人在商户上点击查看账户详情,商户服务端进行受理,并调用支付宝进行处理。处理结果,同步返回给商户。",
  11215. "operationId" : "alipay.fund.jointaccount.detail.query",
  11216. "responses" : {
  11217. "200" : {
  11218. "description" : "common response",
  11219. "content" : {
  11220. "application/json" : {
  11221. "schema" : {
  11222. "$ref" : "#/components/schemas/AlipayFundJointaccountDetailQueryResponseModel"
  11223. }
  11224. }
  11225. }
  11226. },
  11227. "default" : {
  11228. "description" : "请求失败",
  11229. "content" : {
  11230. "application/json" : {
  11231. "schema" : {
  11232. "anyOf" : [ {
  11233. "$ref" : "#/components/schemas/CommonErrorType"
  11234. }, {
  11235. "$ref" : "#/components/schemas/AlipayFundJointaccountDetailQueryErrorResponseModel"
  11236. } ]
  11237. }
  11238. }
  11239. }
  11240. }
  11241. },
  11242. "parameters" : [ {
  11243. "name" : "product_code",
  11244. "in" : "query",
  11245. "description" : "销售产品码",
  11246. "schema" : {
  11247. "type" : "string",
  11248. "example" : "ENTERPRISE_PAY"
  11249. }
  11250. }, {
  11251. "name" : "biz_scene",
  11252. "in" : "query",
  11253. "description" : "业务场景码",
  11254. "schema" : {
  11255. "type" : "string",
  11256. "example" : "DEFAULT"
  11257. }
  11258. }, {
  11259. "name" : "account_id",
  11260. "in" : "query",
  11261. "description" : "合花群ID(查询方式二:通过传入account_id+agreement_no查询)<br>\t补充说明:<br>\t-该字段可在签约接口alipay.fund.jointaccount.sign调用后,由账户变更结果通知接口alipay.fund.jointaccount.account.completed中返回。<br>\t-该字段可在签约接口调用后,由查询账户详情接口alipay.fund.jointaccount.detail.query中返回。",
  11262. "schema" : {
  11263. "type" : "string",
  11264. "example" : "2088xxx"
  11265. }
  11266. }, {
  11267. "name" : "agreement_no",
  11268. "in" : "query",
  11269. "description" : "授权协议号(查询方式二:通过传入account_id+agreement_no查询)<br>\t补充说明:<br>\t-该字段可在签约接口alipay.fund.jointaccount.sign调用后,由账户变更结果通知接口alipay.fund.jointaccount.account.completed中返回。<br>\t-该字段可在签约接口调用后,由查询账户详情接口alipay.fund.jointaccount.detail.query中返回。",
  11270. "schema" : {
  11271. "type" : "string",
  11272. "example" : "2088xxx"
  11273. }
  11274. }, {
  11275. "name" : "out_biz_no",
  11276. "in" : "query",
  11277. "description" : "商户侧单号(查询方式一:通过传入\tout_biz_no查询)<br>\t补充说明:<br>\t-该字段与签约接口alipay.fund.jointaccount.sign请求参数中传入值保持一致",
  11278. "schema" : {
  11279. "type" : "string",
  11280. "example" : "无"
  11281. }
  11282. }, {
  11283. "name" : "channel",
  11284. "in" : "query",
  11285. "description" : "业务渠道</br>\t补充说明:</br>\t需要商户侧必传,支付宝侧不做强校验",
  11286. "schema" : {
  11287. "type" : "string",
  11288. "example" : "MMJZ"
  11289. }
  11290. } ]
  11291. }
  11292. },
  11293. "/v3/alipay/fund/jointaccount/list/query" : {
  11294. "get" : {
  11295. "tags" : [ "alipay.fund.jointaccount.list" ],
  11296. "summary" : "企业查询代付账户列表",
  11297. "description" : "企业查询代付账户列表",
  11298. "operationId" : "alipay.fund.jointaccount.list.query",
  11299. "responses" : {
  11300. "200" : {
  11301. "description" : "common response",
  11302. "content" : {
  11303. "application/json" : {
  11304. "schema" : {
  11305. "$ref" : "#/components/schemas/AlipayFundJointaccountListQueryResponseModel"
  11306. }
  11307. }
  11308. }
  11309. },
  11310. "default" : {
  11311. "description" : "请求失败",
  11312. "content" : {
  11313. "application/json" : {
  11314. "schema" : {
  11315. "anyOf" : [ {
  11316. "$ref" : "#/components/schemas/CommonErrorType"
  11317. }, {
  11318. "$ref" : "#/components/schemas/AlipayFundJointaccountListQueryErrorResponseModel"
  11319. } ]
  11320. }
  11321. }
  11322. }
  11323. }
  11324. },
  11325. "parameters" : [ {
  11326. "name" : "product_code",
  11327. "in" : "query",
  11328. "description" : "产品码",
  11329. "schema" : {
  11330. "type" : "string",
  11331. "example" : "ENTERPRISE_PAY"
  11332. }
  11333. }, {
  11334. "name" : "biz_scene",
  11335. "in" : "query",
  11336. "description" : "业务场景",
  11337. "schema" : {
  11338. "type" : "string",
  11339. "example" : "DEFAULT"
  11340. }
  11341. }, {
  11342. "name" : "operate_role",
  11343. "in" : "query",
  11344. "description" : "角色:创建方(CREATOR)、参与方(PARTICIPANT)",
  11345. "schema" : {
  11346. "type" : "string",
  11347. "example" : "CREATOR"
  11348. }
  11349. }, {
  11350. "name" : "agreement_no",
  11351. "in" : "query",
  11352. "description" : "授权协议号",
  11353. "schema" : {
  11354. "type" : "string",
  11355. "example" : "208890097674621512231"
  11356. }
  11357. }, {
  11358. "name" : "identity",
  11359. "in" : "query",
  11360. "description" : "员工账号:\t\tidentity_type是ALIPAY_USER_ID填支付宝会员ID(2088开头);\t\t是ALIPAY_LOGON_ID 填支付宝登录号",
  11361. "schema" : {
  11362. "type" : "string",
  11363. "example" : "name@email.com"
  11364. }
  11365. }, {
  11366. "name" : "identity_type",
  11367. "in" : "query",
  11368. "description" : "账号类型,目前支持如下类型: 1、ALIPAY_USER_ID 支付宝的会员ID 2、ALIPAY_LOGON_ID:支付宝登录号,支持邮箱和手机号格式",
  11369. "schema" : {
  11370. "type" : "string",
  11371. "example" : "ALIPAY_LOGON_ID"
  11372. }
  11373. } ]
  11374. }
  11375. },
  11376. "/v3/alipay/fund/jointaccount/member/batchquery" : {
  11377. "post" : {
  11378. "tags" : [ "alipay.fund.jointaccount.member" ],
  11379. "summary" : "企业批量查询员工信息(分页)",
  11380. "description" : "企业查询员工列表,支持分页,支持按登录号精确查询,支持按会员号精确查询",
  11381. "operationId" : "alipay.fund.jointaccount.member.batchquery",
  11382. "responses" : {
  11383. "200" : {
  11384. "description" : "common response",
  11385. "content" : {
  11386. "application/json" : {
  11387. "schema" : {
  11388. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberBatchqueryResponseModel"
  11389. }
  11390. }
  11391. }
  11392. },
  11393. "default" : {
  11394. "description" : "请求失败",
  11395. "content" : {
  11396. "application/json" : {
  11397. "schema" : {
  11398. "anyOf" : [ {
  11399. "$ref" : "#/components/schemas/CommonErrorType"
  11400. }, {
  11401. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberBatchqueryErrorResponseModel"
  11402. } ]
  11403. }
  11404. }
  11405. }
  11406. }
  11407. },
  11408. "requestBody" : {
  11409. "content" : {
  11410. "application/json" : {
  11411. "schema" : {
  11412. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberBatchqueryModel"
  11413. }
  11414. }
  11415. },
  11416. "required" : false
  11417. }
  11418. }
  11419. },
  11420. "/v3/alipay/fund/jointaccount/member/bind" : {
  11421. "post" : {
  11422. "tags" : [ "alipay.fund.jointaccount.member" ],
  11423. "summary" : "因公付邀请员工",
  11424. "description" : "因公付邀请员工",
  11425. "operationId" : "alipay.fund.jointaccount.member.bind",
  11426. "responses" : {
  11427. "200" : {
  11428. "description" : "common response",
  11429. "content" : {
  11430. "application/json" : {
  11431. "schema" : {
  11432. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberBindResponseModel"
  11433. }
  11434. }
  11435. }
  11436. },
  11437. "default" : {
  11438. "description" : "请求失败",
  11439. "content" : {
  11440. "application/json" : {
  11441. "schema" : {
  11442. "anyOf" : [ {
  11443. "$ref" : "#/components/schemas/CommonErrorType"
  11444. }, {
  11445. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberBindErrorResponseModel"
  11446. } ]
  11447. }
  11448. }
  11449. }
  11450. }
  11451. },
  11452. "requestBody" : {
  11453. "content" : {
  11454. "application/json" : {
  11455. "schema" : {
  11456. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberBindModel"
  11457. }
  11458. }
  11459. },
  11460. "required" : false
  11461. }
  11462. }
  11463. },
  11464. "/v3/alipay/fund/jointaccount/member/consult" : {
  11465. "post" : {
  11466. "tags" : [ "alipay.fund.jointaccount.member" ],
  11467. "summary" : "员企关系咨询",
  11468. "description" : "返回输入的员工列表是否在指定企业组织中",
  11469. "operationId" : "alipay.fund.jointaccount.member.consult",
  11470. "responses" : {
  11471. "200" : {
  11472. "description" : "common response",
  11473. "content" : {
  11474. "application/json" : {
  11475. "schema" : {
  11476. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberConsultResponseModel"
  11477. }
  11478. }
  11479. }
  11480. },
  11481. "default" : {
  11482. "description" : "请求失败",
  11483. "content" : {
  11484. "application/json" : {
  11485. "schema" : {
  11486. "anyOf" : [ {
  11487. "$ref" : "#/components/schemas/CommonErrorType"
  11488. }, {
  11489. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberConsultErrorResponseModel"
  11490. } ]
  11491. }
  11492. }
  11493. }
  11494. }
  11495. },
  11496. "requestBody" : {
  11497. "content" : {
  11498. "application/json" : {
  11499. "schema" : {
  11500. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberConsultModel"
  11501. }
  11502. }
  11503. },
  11504. "required" : false
  11505. }
  11506. }
  11507. },
  11508. "/v3/alipay/fund/jointaccount/member/query" : {
  11509. "get" : {
  11510. "tags" : [ "alipay.fund.jointaccount.member" ],
  11511. "summary" : "企业查询员工列表",
  11512. "description" : "企业查询员工列表",
  11513. "operationId" : "alipay.fund.jointaccount.member.query",
  11514. "responses" : {
  11515. "200" : {
  11516. "description" : "common response",
  11517. "content" : {
  11518. "application/json" : {
  11519. "schema" : {
  11520. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberQueryResponseModel"
  11521. }
  11522. }
  11523. }
  11524. },
  11525. "default" : {
  11526. "description" : "请求失败",
  11527. "content" : {
  11528. "application/json" : {
  11529. "schema" : {
  11530. "anyOf" : [ {
  11531. "$ref" : "#/components/schemas/CommonErrorType"
  11532. }, {
  11533. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberQueryErrorResponseModel"
  11534. } ]
  11535. }
  11536. }
  11537. }
  11538. }
  11539. },
  11540. "parameters" : [ {
  11541. "name" : "product_code",
  11542. "in" : "query",
  11543. "description" : "产品码",
  11544. "schema" : {
  11545. "type" : "string",
  11546. "example" : "ENTERPRISE_PAY"
  11547. }
  11548. }, {
  11549. "name" : "biz_scene",
  11550. "in" : "query",
  11551. "description" : "业务场景",
  11552. "schema" : {
  11553. "type" : "string",
  11554. "example" : "DEFAULT"
  11555. }
  11556. }, {
  11557. "name" : "account_id",
  11558. "in" : "query",
  11559. "description" : "账户ID",
  11560. "schema" : {
  11561. "type" : "string",
  11562. "example" : "2088900976746215"
  11563. }
  11564. }, {
  11565. "name" : "page_num",
  11566. "in" : "query",
  11567. "description" : "采用分页查询,本参数为空或0默认显示第一页。如果输入的值大于总页数,则支付宝返回最后一页数据。",
  11568. "schema" : {
  11569. "type" : "string",
  11570. "example" : "1"
  11571. }
  11572. }, {
  11573. "name" : "page_size",
  11574. "in" : "query",
  11575. "description" : "每页大小,不传的情况下默认20条,超过20条默认按20条查询;不足20条则按实际记录数返回",
  11576. "schema" : {
  11577. "type" : "string",
  11578. "example" : "1"
  11579. }
  11580. }, {
  11581. "name" : "user_id",
  11582. "in" : "query",
  11583. "description" : "员工id",
  11584. "schema" : {
  11585. "type" : "string",
  11586. "example" : "2088900976746215"
  11587. }
  11588. }, {
  11589. "name" : "open_id",
  11590. "in" : "query",
  11591. "description" : "员工的openId",
  11592. "schema" : {
  11593. "type" : "string",
  11594. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  11595. }
  11596. }, {
  11597. "name" : "agreement_no",
  11598. "in" : "query",
  11599. "description" : "授权协议号",
  11600. "schema" : {
  11601. "type" : "string",
  11602. "example" : "20889009767462151111111"
  11603. }
  11604. } ]
  11605. }
  11606. },
  11607. "/v3/alipay/fund/jointaccount/member/unbind" : {
  11608. "post" : {
  11609. "tags" : [ "alipay.fund.jointaccount.member" ],
  11610. "summary" : "企业删除员工",
  11611. "description" : "企业删除员工",
  11612. "operationId" : "alipay.fund.jointaccount.member.unbind",
  11613. "responses" : {
  11614. "200" : {
  11615. "description" : "common response",
  11616. "content" : {
  11617. "application/json" : {
  11618. "schema" : {
  11619. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberUnbindResponseModel"
  11620. }
  11621. }
  11622. }
  11623. },
  11624. "default" : {
  11625. "description" : "请求失败",
  11626. "content" : {
  11627. "application/json" : {
  11628. "schema" : {
  11629. "anyOf" : [ {
  11630. "$ref" : "#/components/schemas/CommonErrorType"
  11631. }, {
  11632. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberUnbindErrorResponseModel"
  11633. } ]
  11634. }
  11635. }
  11636. }
  11637. }
  11638. },
  11639. "requestBody" : {
  11640. "content" : {
  11641. "application/json" : {
  11642. "schema" : {
  11643. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberUnbindModel"
  11644. }
  11645. }
  11646. },
  11647. "required" : false
  11648. }
  11649. }
  11650. },
  11651. "/v3/alipay/fund/jointaccount/memberrule/modify" : {
  11652. "post" : {
  11653. "tags" : [ "alipay.fund.jointaccount.memberrule" ],
  11654. "summary" : "企业设置员工规则",
  11655. "description" : "企业设置员工规则",
  11656. "operationId" : "alipay.fund.jointaccount.memberrule.modify",
  11657. "responses" : {
  11658. "200" : {
  11659. "description" : "common response",
  11660. "content" : {
  11661. "application/json" : {
  11662. "schema" : {
  11663. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberruleModifyResponseModel"
  11664. }
  11665. }
  11666. }
  11667. },
  11668. "default" : {
  11669. "description" : "请求失败",
  11670. "content" : {
  11671. "application/json" : {
  11672. "schema" : {
  11673. "anyOf" : [ {
  11674. "$ref" : "#/components/schemas/CommonErrorType"
  11675. }, {
  11676. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberruleModifyErrorResponseModel"
  11677. } ]
  11678. }
  11679. }
  11680. }
  11681. }
  11682. },
  11683. "requestBody" : {
  11684. "content" : {
  11685. "application/json" : {
  11686. "schema" : {
  11687. "$ref" : "#/components/schemas/AlipayFundJointaccountMemberruleModifyModel"
  11688. }
  11689. }
  11690. },
  11691. "required" : false
  11692. }
  11693. }
  11694. },
  11695. "/v3/alipay/fund/jointaccount/quota/query" : {
  11696. "get" : {
  11697. "tags" : [ "alipay.fund.jointaccount.quota" ],
  11698. "summary" : "查询账户额度详情",
  11699. "description" : "查询账户额度详情",
  11700. "operationId" : "alipay.fund.jointaccount.quota.query",
  11701. "responses" : {
  11702. "200" : {
  11703. "description" : "common response",
  11704. "content" : {
  11705. "application/json" : {
  11706. "schema" : {
  11707. "$ref" : "#/components/schemas/AlipayFundJointaccountQuotaQueryResponseModel"
  11708. }
  11709. }
  11710. }
  11711. },
  11712. "default" : {
  11713. "description" : "请求失败",
  11714. "content" : {
  11715. "application/json" : {
  11716. "schema" : {
  11717. "anyOf" : [ {
  11718. "$ref" : "#/components/schemas/CommonErrorType"
  11719. }, {
  11720. "$ref" : "#/components/schemas/AlipayFundJointaccountQuotaQueryErrorResponseModel"
  11721. } ]
  11722. }
  11723. }
  11724. }
  11725. }
  11726. },
  11727. "parameters" : [ {
  11728. "name" : "product_code",
  11729. "in" : "query",
  11730. "description" : "产品码",
  11731. "schema" : {
  11732. "type" : "string",
  11733. "example" : "ENTERPRISE_PAY"
  11734. }
  11735. }, {
  11736. "name" : "biz_scene",
  11737. "in" : "query",
  11738. "description" : "业务场景",
  11739. "schema" : {
  11740. "type" : "string",
  11741. "example" : "DEFAULT"
  11742. }
  11743. }, {
  11744. "name" : "account_id",
  11745. "in" : "query",
  11746. "description" : "账户ID",
  11747. "schema" : {
  11748. "type" : "string",
  11749. "example" : "2088900976746215"
  11750. }
  11751. }, {
  11752. "name" : "member_id",
  11753. "in" : "query",
  11754. "description" : "员工ID",
  11755. "schema" : {
  11756. "type" : "string",
  11757. "example" : "2088900976746215"
  11758. }
  11759. }, {
  11760. "name" : "member_open_id",
  11761. "in" : "query",
  11762. "description" : "员工的openid",
  11763. "schema" : {
  11764. "type" : "string",
  11765. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  11766. }
  11767. }, {
  11768. "name" : "operate_role",
  11769. "in" : "query",
  11770. "description" : "角色:创建方(CREATOR)、参与方(PARTICIPANT)",
  11771. "schema" : {
  11772. "type" : "string",
  11773. "example" : "CREATOR"
  11774. }
  11775. }, {
  11776. "name" : "agreement_no",
  11777. "in" : "query",
  11778. "description" : "授权协议号",
  11779. "schema" : {
  11780. "type" : "string",
  11781. "example" : "208890097674621512312"
  11782. }
  11783. } ]
  11784. }
  11785. },
  11786. "/v3/alipay/fund/jointaccount/rule/modify" : {
  11787. "post" : {
  11788. "tags" : [ "alipay.fund.jointaccount.rule" ],
  11789. "summary" : "企业账户规则设置",
  11790. "description" : "企业账户规则设置",
  11791. "operationId" : "alipay.fund.jointaccount.rule.modify",
  11792. "responses" : {
  11793. "200" : {
  11794. "description" : "common response",
  11795. "content" : {
  11796. "application/json" : {
  11797. "schema" : {
  11798. "$ref" : "#/components/schemas/AlipayFundJointaccountRuleModifyResponseModel"
  11799. }
  11800. }
  11801. }
  11802. },
  11803. "default" : {
  11804. "description" : "请求失败",
  11805. "content" : {
  11806. "application/json" : {
  11807. "schema" : {
  11808. "anyOf" : [ {
  11809. "$ref" : "#/components/schemas/CommonErrorType"
  11810. }, {
  11811. "$ref" : "#/components/schemas/AlipayFundJointaccountRuleModifyErrorResponseModel"
  11812. } ]
  11813. }
  11814. }
  11815. }
  11816. }
  11817. },
  11818. "requestBody" : {
  11819. "content" : {
  11820. "application/json" : {
  11821. "schema" : {
  11822. "$ref" : "#/components/schemas/AlipayFundJointaccountRuleModifyModel"
  11823. }
  11824. }
  11825. },
  11826. "required" : false
  11827. }
  11828. }
  11829. },
  11830. "/v3/alipay/fund/jointaccount/sign/query" : {
  11831. "get" : {
  11832. "tags" : [ "alipay.fund.jointaccount.sign" ],
  11833. "summary" : "企业签约结果查询",
  11834. "description" : "通过外部订单号(out_biz_no)主动查询企业签约结果,可用于未收到签约结果通知的补偿操作",
  11835. "operationId" : "alipay.fund.jointaccount.sign.query",
  11836. "responses" : {
  11837. "200" : {
  11838. "description" : "common response",
  11839. "content" : {
  11840. "application/json" : {
  11841. "schema" : {
  11842. "$ref" : "#/components/schemas/AlipayFundJointaccountSignQueryResponseModel"
  11843. }
  11844. }
  11845. }
  11846. },
  11847. "default" : {
  11848. "description" : "请求失败",
  11849. "content" : {
  11850. "application/json" : {
  11851. "schema" : {
  11852. "anyOf" : [ {
  11853. "$ref" : "#/components/schemas/CommonErrorType"
  11854. }, {
  11855. "$ref" : "#/components/schemas/AlipayFundJointaccountSignQueryErrorResponseModel"
  11856. } ]
  11857. }
  11858. }
  11859. }
  11860. }
  11861. },
  11862. "parameters" : [ {
  11863. "name" : "product_code",
  11864. "in" : "query",
  11865. "description" : "产品码,默认值\tENTERPRISE_PAY",
  11866. "schema" : {
  11867. "type" : "string",
  11868. "example" : "ENTERPRISE_PAY"
  11869. }
  11870. }, {
  11871. "name" : "biz_scene",
  11872. "in" : "query",
  11873. "description" : "场景码,联系支付宝分配",
  11874. "schema" : {
  11875. "type" : "string",
  11876. "example" : "ISV_ALIYUN"
  11877. }
  11878. }, {
  11879. "name" : "out_biz_no",
  11880. "in" : "query",
  11881. "description" : "外部业务号,查询对应账户状态,优先级高于account_id",
  11882. "schema" : {
  11883. "type" : "string",
  11884. "example" : "123123132"
  11885. }
  11886. }, {
  11887. "name" : "account_id",
  11888. "in" : "query",
  11889. "description" : "企业签约账户ID,用于外部商户已获取企业签约ID,查询账户状态",
  11890. "schema" : {
  11891. "type" : "string",
  11892. "example" : "208812312313213"
  11893. }
  11894. } ]
  11895. }
  11896. },
  11897. "/v3/alipay/fund/jointaccount/trade/query" : {
  11898. "get" : {
  11899. "tags" : [ "alipay.fund.jointaccount.trade" ],
  11900. "summary" : "共同账户交易查询",
  11901. "description" : "共同账户交易查询",
  11902. "operationId" : "alipay.fund.jointaccount.trade.query",
  11903. "responses" : {
  11904. "200" : {
  11905. "description" : "common response",
  11906. "content" : {
  11907. "application/json" : {
  11908. "schema" : {
  11909. "$ref" : "#/components/schemas/AlipayFundJointaccountTradeQueryResponseModel"
  11910. }
  11911. }
  11912. }
  11913. },
  11914. "default" : {
  11915. "description" : "请求失败",
  11916. "content" : {
  11917. "application/json" : {
  11918. "schema" : {
  11919. "anyOf" : [ {
  11920. "$ref" : "#/components/schemas/CommonErrorType"
  11921. }, {
  11922. "$ref" : "#/components/schemas/AlipayFundJointaccountTradeQueryErrorResponseModel"
  11923. } ]
  11924. }
  11925. }
  11926. }
  11927. }
  11928. },
  11929. "parameters" : [ {
  11930. "name" : "product_code",
  11931. "in" : "query",
  11932. "description" : "销售产品码",
  11933. "schema" : {
  11934. "type" : "string",
  11935. "example" : "ENTERPRISE_PAY"
  11936. }
  11937. }, {
  11938. "name" : "biz_scene",
  11939. "in" : "query",
  11940. "description" : "业务场景",
  11941. "schema" : {
  11942. "type" : "string",
  11943. "example" : "ELE_ONLINE"
  11944. }
  11945. }, {
  11946. "name" : "member_id",
  11947. "in" : "query",
  11948. "description" : "成员ID,消费发起人",
  11949. "schema" : {
  11950. "type" : "string",
  11951. "example" : "208811123123"
  11952. }
  11953. }, {
  11954. "name" : "member_open_id",
  11955. "in" : "query",
  11956. "description" : "消费发起人的openId",
  11957. "schema" : {
  11958. "type" : "string",
  11959. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  11960. }
  11961. }, {
  11962. "name" : "account_id",
  11963. "in" : "query",
  11964. "description" : "企业账户ID",
  11965. "schema" : {
  11966. "type" : "string",
  11967. "example" : "208811123123"
  11968. }
  11969. }, {
  11970. "name" : "agreement_no",
  11971. "in" : "query",
  11972. "description" : "三方授权协议号",
  11973. "schema" : {
  11974. "type" : "string",
  11975. "example" : "12312312313123"
  11976. }
  11977. }, {
  11978. "name" : "trade_no",
  11979. "in" : "query",
  11980. "description" : "支付宝交易订单号",
  11981. "schema" : {
  11982. "type" : "string",
  11983. "example" : "12312313123"
  11984. }
  11985. }, {
  11986. "name" : "platform_order_id",
  11987. "in" : "query",
  11988. "description" : "外部平台订单号。使用该参数查询时,返回结果见trade_info_list",
  11989. "schema" : {
  11990. "type" : "string",
  11991. "example" : "781773393333012410369282"
  11992. }
  11993. } ]
  11994. }
  11995. },
  11996. "/v3/alipay/fund/trans/common/query" : {
  11997. "get" : {
  11998. "tags" : [ "alipay.fund.trans.common" ],
  11999. "summary" : "转账业务单据查询接口",
  12000. "description" : "商户可通过该接口查询转账业务单据的状态,主要应用于统一转账接口(alipay.fund.trans.uni.transfer)、无线转账接口(alipay.fund.trans.app.pay)、单笔转账到支付宝账户接口(alipay.fund.trans.toaccount.transfer)",
  12001. "operationId" : "alipay.fund.trans.common.query",
  12002. "responses" : {
  12003. "200" : {
  12004. "description" : "common response",
  12005. "content" : {
  12006. "application/json" : {
  12007. "schema" : {
  12008. "$ref" : "#/components/schemas/AlipayFundTransCommonQueryResponseModel"
  12009. }
  12010. }
  12011. }
  12012. },
  12013. "default" : {
  12014. "description" : "请求失败",
  12015. "content" : {
  12016. "application/json" : {
  12017. "schema" : {
  12018. "anyOf" : [ {
  12019. "$ref" : "#/components/schemas/CommonErrorType"
  12020. }, {
  12021. "$ref" : "#/components/schemas/AlipayFundTransCommonQueryErrorResponseModel"
  12022. } ]
  12023. }
  12024. }
  12025. }
  12026. }
  12027. },
  12028. "parameters" : [ {
  12029. "name" : "product_code",
  12030. "in" : "query",
  12031. "description" : "销售产品码,商家和支付宝签约的产品码,如果传递了out_biz_no则该字段为必传。可传值如下:\tSTD_RED_PACKET:现金红包\tTRANS_ACCOUNT_NO_PWD:单笔无密转账到支付宝账户\tTRANS_BANKCARD_NO_PWD:单笔无密转账到银行卡",
  12032. "schema" : {
  12033. "type" : "string",
  12034. "example" : "STD_RED_PACKET"
  12035. }
  12036. }, {
  12037. "name" : "biz_scene",
  12038. "in" : "query",
  12039. "description" : "描述特定的业务场景,如果传递了out_biz_no则该字段为必传。可取的业务场景如下:\r\tPERSONAL_PAY:C2C现金红包-发红包;\r\tPERSONAL_COLLECTION:C2C现金红包-领红包;\r\tREFUND:C2C现金红包-红包退回;\r\tDIRECT_TRANSFER:B2C现金红包、单笔无密转账",
  12040. "schema" : {
  12041. "type" : "string",
  12042. "example" : "PERSONAL_PAY"
  12043. }
  12044. }, {
  12045. "name" : "out_biz_no",
  12046. "in" : "query",
  12047. "description" : "商户转账唯一订单号,发起转账来源方定义的转账单据ID。 \t本参数和order_id(支付宝转账单据号)、pay_fund_order_id(支付宝支付资金流水号)三者不能同时为空。\t当三者同时传入时,将用pay_fund_order_id(支付宝支付资金流水号)进行查询,忽略其余两者;\t当本参数和支付宝转账单据号同时提供时,将用支付宝转账单据号进行查询,忽略本参数。",
  12048. "schema" : {
  12049. "type" : "string",
  12050. "example" : "201808080001"
  12051. }
  12052. }, {
  12053. "name" : "order_id",
  12054. "in" : "query",
  12055. "description" : "支付宝转账单据号。 本参数和out_biz_no(商户转账唯一订单号)、pay_fund_order_id(支付宝支付资金流水号)三者不能同时为空。 \t当三者同时传入时,将用pay_fund_order_id(支付宝支付资金流水号)进行查询,忽略其余两者;\t当本参数和pay_fund_order_id(支付宝支付资金流水号)同时提供时,将用支付宝支付资金流水号进行查询,忽略本参数; \t当本参数和out_biz_no(商户转账唯一订单号)同时提供时,将用本参数进行查询,忽略商户转账唯一订单号。",
  12056. "schema" : {
  12057. "type" : "string",
  12058. "example" : "20190801110070000006380000250621"
  12059. }
  12060. }, {
  12061. "name" : "pay_fund_order_id",
  12062. "in" : "query",
  12063. "description" : "支付宝支付资金流水号。本参数和支付宝转账单据号、商户转账唯一订单号三者不能同时为空。 \t当本参数和out_biz_no(商户转账唯一订单号)、order_id(支付宝转账单据号)同时提供时,将用本参数进行查询,忽略其余两者;\t当本参数和order_id(支付宝转账单据号)同时提供时,将用本参数进行查询,忽略支付宝转账单据号; \t当本参数和out_biz_no(商户转账唯一订单号)同时提供时,将用本参数进行查询,忽略商户转账唯一订单号。",
  12064. "schema" : {
  12065. "type" : "string",
  12066. "example" : "20190801110070001506380000251556"
  12067. }
  12068. } ]
  12069. }
  12070. },
  12071. "/v3/alipay/fund/trans/order/query" : {
  12072. "get" : {
  12073. "tags" : [ "alipay.fund.trans.order" ],
  12074. "summary" : "查询转账订单接口",
  12075. "description" : "商户可通过该接口查询转账订单的状态、支付时间等相关信息,主要应用于B2C转账订单查询的场景",
  12076. "operationId" : "alipay.fund.trans.order.query",
  12077. "responses" : {
  12078. "200" : {
  12079. "description" : "common response",
  12080. "content" : {
  12081. "application/json" : {
  12082. "schema" : {
  12083. "$ref" : "#/components/schemas/AlipayFundTransOrderQueryResponseModel"
  12084. }
  12085. }
  12086. }
  12087. },
  12088. "default" : {
  12089. "description" : "请求失败",
  12090. "content" : {
  12091. "application/json" : {
  12092. "schema" : {
  12093. "anyOf" : [ {
  12094. "$ref" : "#/components/schemas/CommonErrorType"
  12095. }, {
  12096. "$ref" : "#/components/schemas/AlipayFundTransOrderQueryErrorResponseModel"
  12097. } ]
  12098. }
  12099. }
  12100. }
  12101. }
  12102. },
  12103. "parameters" : [ {
  12104. "name" : "out_biz_no",
  12105. "in" : "query",
  12106. "description" : "商户转账唯一订单号:发起转账来源方定义的转账单据ID。\r\t和支付宝转账单据号不能同时为空。当和支付宝转账单据号同时提供时,将用支付宝转账单据号进行查询,忽略本参数。",
  12107. "schema" : {
  12108. "type" : "string",
  12109. "example" : "3142321423432"
  12110. }
  12111. }, {
  12112. "name" : "order_id",
  12113. "in" : "query",
  12114. "description" : "支付宝转账单据号:和商户转账唯一订单号不能同时为空。当和商户转账唯一订单号同时提供时,将用本参数进行查询,忽略商户转账唯一订单号。",
  12115. "schema" : {
  12116. "type" : "string",
  12117. "example" : "20160627110070001502260006780837"
  12118. }
  12119. } ]
  12120. }
  12121. },
  12122. "/v3/alipay/fund/trans/pay" : {
  12123. "post" : {
  12124. "tags" : [ "alipay.fund.trans" ],
  12125. "summary" : "资金支付接口",
  12126. "description" : "付款方通过协议、二维码、声波、人脸等方式,通过本接口提交给支付宝直接完成支付。",
  12127. "operationId" : "alipay.fund.trans.pay",
  12128. "responses" : {
  12129. "200" : {
  12130. "description" : "common response",
  12131. "content" : {
  12132. "application/json" : {
  12133. "schema" : {
  12134. "$ref" : "#/components/schemas/AlipayFundTransPayResponseModel"
  12135. }
  12136. }
  12137. }
  12138. },
  12139. "default" : {
  12140. "description" : "请求失败",
  12141. "content" : {
  12142. "application/json" : {
  12143. "schema" : {
  12144. "anyOf" : [ {
  12145. "$ref" : "#/components/schemas/CommonErrorType"
  12146. }, {
  12147. "$ref" : "#/components/schemas/AlipayFundTransPayErrorResponseModel"
  12148. } ]
  12149. }
  12150. }
  12151. }
  12152. }
  12153. },
  12154. "requestBody" : {
  12155. "content" : {
  12156. "application/json" : {
  12157. "schema" : {
  12158. "$ref" : "#/components/schemas/AlipayFundTransPayModel"
  12159. }
  12160. }
  12161. },
  12162. "required" : false
  12163. }
  12164. }
  12165. },
  12166. "/v3/alipay/fund/trans/payee/bind/query" : {
  12167. "get" : {
  12168. "tags" : [ "alipay.fund.trans.payee.bind" ],
  12169. "summary" : "资金收款账号绑定关系查询",
  12170. "description" : "资金收款账号绑定关系查询",
  12171. "operationId" : "alipay.fund.trans.payee.bind.query",
  12172. "responses" : {
  12173. "200" : {
  12174. "description" : "common response",
  12175. "content" : {
  12176. "application/json" : {
  12177. "schema" : {
  12178. "$ref" : "#/components/schemas/AlipayFundTransPayeeBindQueryResponseModel"
  12179. }
  12180. }
  12181. }
  12182. },
  12183. "default" : {
  12184. "description" : "请求失败",
  12185. "content" : {
  12186. "application/json" : {
  12187. "schema" : {
  12188. "anyOf" : [ {
  12189. "$ref" : "#/components/schemas/CommonErrorType"
  12190. }, {
  12191. "$ref" : "#/components/schemas/AlipayFundTransPayeeBindQueryErrorResponseModel"
  12192. } ]
  12193. }
  12194. }
  12195. }
  12196. }
  12197. },
  12198. "parameters" : [ {
  12199. "name" : "identity",
  12200. "in" : "query",
  12201. "description" : "证件号",
  12202. "schema" : {
  12203. "type" : "string",
  12204. "example" : "230100199901010001"
  12205. }
  12206. }, {
  12207. "name" : "identity_type",
  12208. "in" : "query",
  12209. "description" : "证件类型,暂仅支持 IDENTITY_CARD (身份证)",
  12210. "schema" : {
  12211. "type" : "string",
  12212. "example" : "IDENTITY_CARD"
  12213. }
  12214. } ]
  12215. }
  12216. },
  12217. "/v3/alipay/fund/trans/refund" : {
  12218. "post" : {
  12219. "tags" : [ "alipay.fund.trans" ],
  12220. "summary" : "资金退回接口",
  12221. "description" : "当资金支付一段时间后,由于收款方一直没有收钱(比如抢红包),可以通过退款接口将资金退换给付款方。支付宝将会按照退款规则将支付款按原路退到付款方帐号上。 \r\n交易超过约定时间(签约时设置的可退款时间)的订单无法进行退款。支付宝退款支持单笔交易分多次退回,多次退款需要提交原支付订单的商户订单号和设置不同的退款单号。一笔退款失败后重新提交,要采用原来的退款单号。总退款金额不能超过(用户实际支付金额-已领红包)的金额。",
  12222. "operationId" : "alipay.fund.trans.refund",
  12223. "responses" : {
  12224. "200" : {
  12225. "description" : "common response",
  12226. "content" : {
  12227. "application/json" : {
  12228. "schema" : {
  12229. "$ref" : "#/components/schemas/AlipayFundTransRefundResponseModel"
  12230. }
  12231. }
  12232. }
  12233. },
  12234. "default" : {
  12235. "description" : "请求失败",
  12236. "content" : {
  12237. "application/json" : {
  12238. "schema" : {
  12239. "anyOf" : [ {
  12240. "$ref" : "#/components/schemas/CommonErrorType"
  12241. }, {
  12242. "$ref" : "#/components/schemas/AlipayFundTransRefundErrorResponseModel"
  12243. } ]
  12244. }
  12245. }
  12246. }
  12247. }
  12248. },
  12249. "requestBody" : {
  12250. "content" : {
  12251. "application/json" : {
  12252. "schema" : {
  12253. "$ref" : "#/components/schemas/AlipayFundTransRefundModel"
  12254. }
  12255. }
  12256. },
  12257. "required" : false
  12258. }
  12259. }
  12260. },
  12261. "/v3/alipay/fund/trans/toaccount/transfer" : {
  12262. "post" : {
  12263. "tags" : [ "alipay.fund.trans.toaccount" ],
  12264. "summary" : "单笔转账到支付宝账户接口",
  12265. "description" : "单笔转账到支付宝账户接口是基于支付宝的资金处理能力,为了满足支付宝商家向其他支付宝账户转账的需求,针对有部分开发能力的商家,提供通过API接口完成支付宝账户间的转账的功能。\n该接口适用行业较广,比如商家间的货款结算,商家给个人用户发放佣金等。(目前已对该接口能力做了升级,后续建议调用新接口alipay.fund.trans.uni.transfer)",
  12266. "operationId" : "alipay.fund.trans.toaccount.transfer",
  12267. "responses" : {
  12268. "200" : {
  12269. "description" : "common response",
  12270. "content" : {
  12271. "application/json" : {
  12272. "schema" : {
  12273. "$ref" : "#/components/schemas/AlipayFundTransToaccountTransferResponseModel"
  12274. }
  12275. }
  12276. }
  12277. },
  12278. "default" : {
  12279. "description" : "请求失败",
  12280. "content" : {
  12281. "application/json" : {
  12282. "schema" : {
  12283. "anyOf" : [ {
  12284. "$ref" : "#/components/schemas/CommonErrorType"
  12285. }, {
  12286. "$ref" : "#/components/schemas/AlipayFundTransToaccountTransferErrorResponseModel"
  12287. } ]
  12288. }
  12289. }
  12290. }
  12291. }
  12292. },
  12293. "requestBody" : {
  12294. "content" : {
  12295. "application/json" : {
  12296. "schema" : {
  12297. "$ref" : "#/components/schemas/AlipayFundTransToaccountTransferModel"
  12298. }
  12299. }
  12300. },
  12301. "required" : false
  12302. }
  12303. }
  12304. },
  12305. "/v3/alipay/fund/trans/uni/transfer" : {
  12306. "post" : {
  12307. "tags" : [ "alipay.fund.trans.uni" ],
  12308. "summary" : "单笔转账接口",
  12309. "description" : "单笔转账接口是基于支付宝的资金处理能力,为了满足支付宝商家的转账需求,针对有部分开发能力的商家,提供通过API接口完成企业自身支付宝账户到支付宝账户的转账功能。 适用于:C2C现金红包的红包领取、B2C现金红包的红包发放、B2C单笔转账到支付宝账户等。<br />\n<b>说明:本接口为公用接口,参数说明不针对特定产品。</b>不同产品入参请参考对应产品文档。",
  12310. "operationId" : "alipay.fund.trans.uni.transfer",
  12311. "responses" : {
  12312. "200" : {
  12313. "description" : "common response",
  12314. "content" : {
  12315. "application/json" : {
  12316. "schema" : {
  12317. "$ref" : "#/components/schemas/AlipayFundTransUniTransferResponseModel"
  12318. }
  12319. }
  12320. }
  12321. },
  12322. "default" : {
  12323. "description" : "请求失败",
  12324. "content" : {
  12325. "application/json" : {
  12326. "schema" : {
  12327. "anyOf" : [ {
  12328. "$ref" : "#/components/schemas/CommonErrorType"
  12329. }, {
  12330. "$ref" : "#/components/schemas/AlipayFundTransUniTransferErrorResponseModel"
  12331. } ]
  12332. }
  12333. }
  12334. }
  12335. }
  12336. },
  12337. "requestBody" : {
  12338. "content" : {
  12339. "application/json" : {
  12340. "schema" : {
  12341. "$ref" : "#/components/schemas/AlipayFundTransUniTransferModel"
  12342. }
  12343. }
  12344. },
  12345. "required" : false
  12346. }
  12347. }
  12348. },
  12349. "/v3/alipay/fund/usertrade/batchquery" : {
  12350. "post" : {
  12351. "tags" : [ "alipay.fund.usertrade" ],
  12352. "summary" : "用户交易数据查询",
  12353. "description" : "资金团队会监听指定球房相关的用户交易数据,并且,在用户授权后,开放该接口给到外部调用,查询用户近期内的交易数据。",
  12354. "operationId" : "alipay.fund.usertrade.batchquery",
  12355. "responses" : {
  12356. "200" : {
  12357. "description" : "common response",
  12358. "content" : {
  12359. "application/json" : {
  12360. "schema" : {
  12361. "$ref" : "#/components/schemas/AlipayFundUsertradeBatchqueryResponseModel"
  12362. }
  12363. }
  12364. }
  12365. },
  12366. "default" : {
  12367. "description" : "请求失败",
  12368. "content" : {
  12369. "application/json" : {
  12370. "schema" : {
  12371. "anyOf" : [ {
  12372. "$ref" : "#/components/schemas/CommonErrorType"
  12373. }, {
  12374. "$ref" : "#/components/schemas/AlipayFundUsertradeBatchqueryErrorResponseModel"
  12375. } ]
  12376. }
  12377. }
  12378. }
  12379. }
  12380. },
  12381. "parameters" : [ {
  12382. "$ref" : "#/components/parameters/AuthToken"
  12383. } ],
  12384. "requestBody" : {
  12385. "content" : {
  12386. "application/json" : {
  12387. "schema" : {
  12388. "$ref" : "#/components/schemas/AlipayFundUsertradeBatchqueryModel"
  12389. }
  12390. }
  12391. },
  12392. "required" : false
  12393. }
  12394. }
  12395. },
  12396. "/v3/alipay/iservice/ccm/agent/create" : {
  12397. "post" : {
  12398. "tags" : [ "alipay.iservice.ccm.agent" ],
  12399. "summary" : "新增客服接口",
  12400. "description" : "新增一个CCM客服",
  12401. "operationId" : "alipay.iservice.ccm.agent.create",
  12402. "responses" : {
  12403. "200" : {
  12404. "description" : "common response",
  12405. "content" : {
  12406. "application/json" : {
  12407. "schema" : {
  12408. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentCreateResponseModel"
  12409. }
  12410. }
  12411. }
  12412. },
  12413. "default" : {
  12414. "description" : "请求失败",
  12415. "content" : {
  12416. "application/json" : {
  12417. "schema" : {
  12418. "anyOf" : [ {
  12419. "$ref" : "#/components/schemas/CommonErrorType"
  12420. }, {
  12421. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentCreateErrorResponseModel"
  12422. } ]
  12423. }
  12424. }
  12425. }
  12426. }
  12427. },
  12428. "requestBody" : {
  12429. "content" : {
  12430. "application/json" : {
  12431. "schema" : {
  12432. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentCreateModel"
  12433. }
  12434. }
  12435. },
  12436. "required" : false
  12437. }
  12438. }
  12439. },
  12440. "/v3/alipay/iservice/ccm/agent/delete" : {
  12441. "delete" : {
  12442. "tags" : [ "alipay.iservice.ccm.agent" ],
  12443. "summary" : "删除客服接口",
  12444. "description" : "管理员删除一个客服",
  12445. "operationId" : "alipay.iservice.ccm.agent.delete",
  12446. "responses" : {
  12447. "200" : {
  12448. "description" : "common response",
  12449. "content" : {
  12450. "application/json" : {
  12451. "schema" : {
  12452. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentDeleteResponseModel"
  12453. }
  12454. }
  12455. }
  12456. },
  12457. "default" : {
  12458. "description" : "请求失败",
  12459. "content" : {
  12460. "application/json" : {
  12461. "schema" : {
  12462. "anyOf" : [ {
  12463. "$ref" : "#/components/schemas/CommonErrorType"
  12464. }, {
  12465. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentDeleteErrorResponseModel"
  12466. } ]
  12467. }
  12468. }
  12469. }
  12470. }
  12471. },
  12472. "parameters" : [ {
  12473. "name" : "id",
  12474. "in" : "query",
  12475. "description" : "客服id",
  12476. "schema" : {
  12477. "type" : "string",
  12478. "example" : "2019032101896769"
  12479. }
  12480. } ]
  12481. }
  12482. },
  12483. "/v3/alipay/iservice/ccm/agent/get" : {
  12484. "get" : {
  12485. "tags" : [ "alipay.iservice.ccm.agent" ],
  12486. "summary" : "查询客服详情",
  12487. "description" : "ISV或商户查询获取某个客服的详细信息",
  12488. "operationId" : "alipay.iservice.ccm.agent.get",
  12489. "responses" : {
  12490. "200" : {
  12491. "description" : "common response",
  12492. "content" : {
  12493. "application/json" : {
  12494. "schema" : {
  12495. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentGetResponseModel"
  12496. }
  12497. }
  12498. }
  12499. },
  12500. "default" : {
  12501. "description" : "请求失败",
  12502. "content" : {
  12503. "application/json" : {
  12504. "schema" : {
  12505. "anyOf" : [ {
  12506. "$ref" : "#/components/schemas/CommonErrorType"
  12507. }, {
  12508. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentGetErrorResponseModel"
  12509. } ]
  12510. }
  12511. }
  12512. }
  12513. }
  12514. },
  12515. "parameters" : [ {
  12516. "name" : "id",
  12517. "in" : "query",
  12518. "description" : "客服id",
  12519. "schema" : {
  12520. "type" : "string",
  12521. "example" : "2018101801902073"
  12522. }
  12523. }, {
  12524. "name" : "job_number",
  12525. "in" : "query",
  12526. "description" : "客服工号",
  12527. "schema" : {
  12528. "type" : "string",
  12529. "example" : "0001"
  12530. }
  12531. }, {
  12532. "name" : "user_channel",
  12533. "in" : "query",
  12534. "description" : "客服账号渠道, ALIPAY:支付宝账号\tuser_channel和external_user_id必须配对使用",
  12535. "schema" : {
  12536. "type" : "string",
  12537. "example" : "ALIPAY"
  12538. }
  12539. }, {
  12540. "name" : "external_user_id",
  12541. "in" : "query",
  12542. "description" : "客服账号id,当user_channel=ALIPAY时,此id为支付宝2088id\texternal_user_id和user_channel必须配对使用",
  12543. "schema" : {
  12544. "type" : "string",
  12545. "example" : "2088xxx"
  12546. }
  12547. } ]
  12548. }
  12549. },
  12550. "/v3/alipay/iservice/ccm/agent/modify" : {
  12551. "post" : {
  12552. "tags" : [ "alipay.iservice.ccm.agent" ],
  12553. "summary" : "更新客服接口",
  12554. "description" : "管理员修改客服信息",
  12555. "operationId" : "alipay.iservice.ccm.agent.modify",
  12556. "responses" : {
  12557. "200" : {
  12558. "description" : "common response",
  12559. "content" : {
  12560. "application/json" : {
  12561. "schema" : {
  12562. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentModifyResponseModel"
  12563. }
  12564. }
  12565. }
  12566. },
  12567. "default" : {
  12568. "description" : "请求失败",
  12569. "content" : {
  12570. "application/json" : {
  12571. "schema" : {
  12572. "anyOf" : [ {
  12573. "$ref" : "#/components/schemas/CommonErrorType"
  12574. }, {
  12575. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentModifyErrorResponseModel"
  12576. } ]
  12577. }
  12578. }
  12579. }
  12580. }
  12581. },
  12582. "requestBody" : {
  12583. "content" : {
  12584. "application/json" : {
  12585. "schema" : {
  12586. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentModifyModel"
  12587. }
  12588. }
  12589. },
  12590. "required" : false
  12591. }
  12592. }
  12593. },
  12594. "/v3/alipay/iservice/ccm/agent/query" : {
  12595. "post" : {
  12596. "tags" : [ "alipay.iservice.ccm.agent" ],
  12597. "summary" : "客服查询接口",
  12598. "description" : "根据指定的查询条件查询客服列表",
  12599. "operationId" : "alipay.iservice.ccm.agent.query",
  12600. "responses" : {
  12601. "200" : {
  12602. "description" : "common response",
  12603. "content" : {
  12604. "application/json" : {
  12605. "schema" : {
  12606. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentQueryResponseModel"
  12607. }
  12608. }
  12609. }
  12610. },
  12611. "default" : {
  12612. "description" : "请求失败",
  12613. "content" : {
  12614. "application/json" : {
  12615. "schema" : {
  12616. "anyOf" : [ {
  12617. "$ref" : "#/components/schemas/CommonErrorType"
  12618. }, {
  12619. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentQueryErrorResponseModel"
  12620. } ]
  12621. }
  12622. }
  12623. }
  12624. }
  12625. },
  12626. "requestBody" : {
  12627. "content" : {
  12628. "application/json" : {
  12629. "schema" : {
  12630. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentQueryModel"
  12631. }
  12632. }
  12633. },
  12634. "required" : false
  12635. }
  12636. }
  12637. },
  12638. "/v3/alipay/iservice/ccm/agent/schedulelog/query" : {
  12639. "post" : {
  12640. "tags" : [ "alipay.iservice.ccm.agent.schedulelog" ],
  12641. "summary" : "查询客服状态变更流水日志",
  12642. "description" : "ISV或商户批量查询获取客服状态变更流水日志详细信息",
  12643. "operationId" : "alipay.iservice.ccm.agent.schedulelog.query",
  12644. "responses" : {
  12645. "200" : {
  12646. "description" : "common response",
  12647. "content" : {
  12648. "application/json" : {
  12649. "schema" : {
  12650. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentSchedulelogQueryResponseModel"
  12651. }
  12652. }
  12653. }
  12654. },
  12655. "default" : {
  12656. "description" : "请求失败",
  12657. "content" : {
  12658. "application/json" : {
  12659. "schema" : {
  12660. "anyOf" : [ {
  12661. "$ref" : "#/components/schemas/CommonErrorType"
  12662. }, {
  12663. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentSchedulelogQueryErrorResponseModel"
  12664. } ]
  12665. }
  12666. }
  12667. }
  12668. }
  12669. },
  12670. "requestBody" : {
  12671. "content" : {
  12672. "application/json" : {
  12673. "schema" : {
  12674. "$ref" : "#/components/schemas/AlipayIserviceCcmAgentSchedulelogQueryModel"
  12675. }
  12676. }
  12677. },
  12678. "required" : false
  12679. }
  12680. }
  12681. },
  12682. "/v3/alipay/iservice/ccm/function/query" : {
  12683. "get" : {
  12684. "tags" : [ "alipay.iservice.ccm.function" ],
  12685. "summary" : "列出所有的功能点",
  12686. "description" : "列出所有的功能点",
  12687. "operationId" : "alipay.iservice.ccm.function.query",
  12688. "responses" : {
  12689. "200" : {
  12690. "description" : "common response",
  12691. "content" : {
  12692. "application/json" : {
  12693. "schema" : {
  12694. "$ref" : "#/components/schemas/AlipayIserviceCcmFunctionQueryResponseModel"
  12695. }
  12696. }
  12697. }
  12698. },
  12699. "default" : {
  12700. "description" : "请求失败",
  12701. "content" : {
  12702. "application/json" : {
  12703. "schema" : {
  12704. "anyOf" : [ {
  12705. "$ref" : "#/components/schemas/CommonErrorType"
  12706. }, {
  12707. "$ref" : "#/components/schemas/AlipayIserviceCcmFunctionQueryErrorResponseModel"
  12708. } ]
  12709. }
  12710. }
  12711. }
  12712. }
  12713. }
  12714. }
  12715. },
  12716. "/v3/alipay/iservice/ccm/instance/create" : {
  12717. "post" : {
  12718. "tags" : [ "alipay.iservice.ccm.instance" ],
  12719. "summary" : "创建租户实例",
  12720. "description" : "创建租户实例",
  12721. "operationId" : "alipay.iservice.ccm.instance.create",
  12722. "responses" : {
  12723. "200" : {
  12724. "description" : "common response",
  12725. "content" : {
  12726. "application/json" : {
  12727. "schema" : {
  12728. "$ref" : "#/components/schemas/AlipayIserviceCcmInstanceCreateResponseModel"
  12729. }
  12730. }
  12731. }
  12732. },
  12733. "default" : {
  12734. "description" : "请求失败",
  12735. "content" : {
  12736. "application/json" : {
  12737. "schema" : {
  12738. "anyOf" : [ {
  12739. "$ref" : "#/components/schemas/CommonErrorType"
  12740. }, {
  12741. "$ref" : "#/components/schemas/AlipayIserviceCcmInstanceCreateErrorResponseModel"
  12742. } ]
  12743. }
  12744. }
  12745. }
  12746. }
  12747. },
  12748. "requestBody" : {
  12749. "content" : {
  12750. "application/json" : {
  12751. "schema" : {
  12752. "$ref" : "#/components/schemas/AlipayIserviceCcmInstanceCreateModel"
  12753. }
  12754. }
  12755. },
  12756. "required" : false
  12757. }
  12758. }
  12759. },
  12760. "/v3/alipay/iservice/ccm/instance/get" : {
  12761. "get" : {
  12762. "tags" : [ "alipay.iservice.ccm.instance" ],
  12763. "summary" : "查询单个租户实例(数据权限)",
  12764. "description" : "查询单个租户实例(数据权限)",
  12765. "operationId" : "alipay.iservice.ccm.instance.get",
  12766. "responses" : {
  12767. "200" : {
  12768. "description" : "common response",
  12769. "content" : {
  12770. "application/json" : {
  12771. "schema" : {
  12772. "$ref" : "#/components/schemas/AlipayIserviceCcmInstanceGetResponseModel"
  12773. }
  12774. }
  12775. }
  12776. },
  12777. "default" : {
  12778. "description" : "请求失败",
  12779. "content" : {
  12780. "application/json" : {
  12781. "schema" : {
  12782. "anyOf" : [ {
  12783. "$ref" : "#/components/schemas/CommonErrorType"
  12784. }, {
  12785. "$ref" : "#/components/schemas/AlipayIserviceCcmInstanceGetErrorResponseModel"
  12786. } ]
  12787. }
  12788. }
  12789. }
  12790. }
  12791. },
  12792. "parameters" : [ {
  12793. "name" : "id",
  12794. "in" : "query",
  12795. "description" : "部门id(即租户实例ID、数据权限ID)",
  12796. "schema" : {
  12797. "type" : "string",
  12798. "example" : "pYv_gs0m"
  12799. }
  12800. }, {
  12801. "name" : "external_id",
  12802. "in" : "query",
  12803. "description" : "外部id",
  12804. "schema" : {
  12805. "type" : "string",
  12806. "example" : "5544744"
  12807. }
  12808. } ]
  12809. }
  12810. },
  12811. "/v3/alipay/iservice/ccm/instance/query" : {
  12812. "get" : {
  12813. "tags" : [ "alipay.iservice.ccm.instance" ],
  12814. "summary" : "列出所有的租户实例(数据权限)",
  12815. "description" : "列出所有的租户实例(数据权限)。一个云客服租户下可以有多个租户实例(数据权限),每个租户实例之间的数据是隔离的(除了用户、权限、私信、IVR数据外)。",
  12816. "operationId" : "alipay.iservice.ccm.instance.query",
  12817. "responses" : {
  12818. "200" : {
  12819. "description" : "common response",
  12820. "content" : {
  12821. "application/json" : {
  12822. "schema" : {
  12823. "$ref" : "#/components/schemas/AlipayIserviceCcmInstanceQueryResponseModel"
  12824. }
  12825. }
  12826. }
  12827. },
  12828. "default" : {
  12829. "description" : "请求失败",
  12830. "content" : {
  12831. "application/json" : {
  12832. "schema" : {
  12833. "anyOf" : [ {
  12834. "$ref" : "#/components/schemas/CommonErrorType"
  12835. }, {
  12836. "$ref" : "#/components/schemas/AlipayIserviceCcmInstanceQueryErrorResponseModel"
  12837. } ]
  12838. }
  12839. }
  12840. }
  12841. }
  12842. },
  12843. "parameters" : [ {
  12844. "name" : "page_num",
  12845. "in" : "query",
  12846. "description" : "查询结果的页码,起始值为 1,默认值为 1",
  12847. "schema" : {
  12848. "type" : "integer",
  12849. "example" : "1"
  12850. }
  12851. }, {
  12852. "name" : "page_size",
  12853. "in" : "query",
  12854. "description" : "分页查询时设置的每页记录数,最大值 100 行,默认为 10",
  12855. "schema" : {
  12856. "type" : "integer",
  12857. "example" : "10"
  12858. }
  12859. } ]
  12860. }
  12861. },
  12862. "/v3/alipay/iservice/ccm/isv/initialize" : {
  12863. "post" : {
  12864. "tags" : [ "alipay.iservice.ccm.isv" ],
  12865. "summary" : "ccm isv注册接口",
  12866. "description" : "商家 / ISV 开发的插件接入CCM(蚂蚁客户沟通管理平台)之前,需要先将自己的信息注册到 CCM,并设置一个用于 iframe 接口接入安全认证使用的公钥。",
  12867. "operationId" : "alipay.iservice.ccm.isv.initialize",
  12868. "responses" : {
  12869. "200" : {
  12870. "description" : "common response",
  12871. "content" : {
  12872. "application/json" : {
  12873. "schema" : {
  12874. "$ref" : "#/components/schemas/AlipayIserviceCcmIsvInitializeResponseModel"
  12875. }
  12876. }
  12877. }
  12878. },
  12879. "default" : {
  12880. "description" : "请求失败",
  12881. "content" : {
  12882. "application/json" : {
  12883. "schema" : {
  12884. "anyOf" : [ {
  12885. "$ref" : "#/components/schemas/CommonErrorType"
  12886. }, {
  12887. "$ref" : "#/components/schemas/AlipayIserviceCcmIsvInitializeErrorResponseModel"
  12888. } ]
  12889. }
  12890. }
  12891. }
  12892. }
  12893. },
  12894. "requestBody" : {
  12895. "content" : {
  12896. "application/json" : {
  12897. "schema" : {
  12898. "$ref" : "#/components/schemas/AlipayIserviceCcmIsvInitializeModel"
  12899. }
  12900. }
  12901. },
  12902. "required" : false
  12903. }
  12904. }
  12905. },
  12906. "/v3/alipay/iservice/ccm/ols/chatrecord/query" : {
  12907. "get" : {
  12908. "tags" : [ "alipay.iservice.ccm.ols.chatrecord" ],
  12909. "summary" : "查询某通在线服务的聊天记录",
  12910. "description" : "ISV或商户根据在线服务记录id查询该通对话的聊天记录及相关信息",
  12911. "operationId" : "alipay.iservice.ccm.ols.chatrecord.query",
  12912. "responses" : {
  12913. "200" : {
  12914. "description" : "common response",
  12915. "content" : {
  12916. "application/json" : {
  12917. "schema" : {
  12918. "$ref" : "#/components/schemas/AlipayIserviceCcmOlsChatrecordQueryResponseModel"
  12919. }
  12920. }
  12921. }
  12922. },
  12923. "default" : {
  12924. "description" : "请求失败",
  12925. "content" : {
  12926. "application/json" : {
  12927. "schema" : {
  12928. "anyOf" : [ {
  12929. "$ref" : "#/components/schemas/CommonErrorType"
  12930. }, {
  12931. "$ref" : "#/components/schemas/AlipayIserviceCcmOlsChatrecordQueryErrorResponseModel"
  12932. } ]
  12933. }
  12934. }
  12935. }
  12936. }
  12937. },
  12938. "parameters" : [ {
  12939. "name" : "ccs_instance_id",
  12940. "in" : "query",
  12941. "description" : "租户实例id(数据权限id),不填,则使用默认的租户实例id",
  12942. "schema" : {
  12943. "type" : "string",
  12944. "example" : "ZPSDWACN"
  12945. }
  12946. }, {
  12947. "name" : "id",
  12948. "in" : "query",
  12949. "description" : "在线服务记录id",
  12950. "schema" : {
  12951. "type" : "string",
  12952. "example" : "201909021113010100000001922200"
  12953. }
  12954. } ]
  12955. }
  12956. },
  12957. "/v3/alipay/iservice/ccm/robot/avatarbase/query" : {
  12958. "post" : {
  12959. "tags" : [ "alipay.iservice.ccm.robot.avatarbase" ],
  12960. "summary" : "虚拟数字人开放接口调用",
  12961. "description" : "用于与数字人交互",
  12962. "operationId" : "alipay.iservice.ccm.robot.avatarbase.query",
  12963. "responses" : {
  12964. "200" : {
  12965. "description" : "common response",
  12966. "content" : {
  12967. "application/json" : {
  12968. "schema" : {
  12969. "$ref" : "#/components/schemas/AlipayIserviceCcmRobotAvatarbaseQueryResponseModel"
  12970. }
  12971. }
  12972. }
  12973. },
  12974. "default" : {
  12975. "description" : "请求失败",
  12976. "content" : {
  12977. "application/json" : {
  12978. "schema" : {
  12979. "anyOf" : [ {
  12980. "$ref" : "#/components/schemas/CommonErrorType"
  12981. }, {
  12982. "$ref" : "#/components/schemas/AlipayIserviceCcmRobotAvatarbaseQueryErrorResponseModel"
  12983. } ]
  12984. }
  12985. }
  12986. }
  12987. }
  12988. },
  12989. "requestBody" : {
  12990. "content" : {
  12991. "application/json" : {
  12992. "schema" : {
  12993. "$ref" : "#/components/schemas/AlipayIserviceCcmRobotAvatarbaseQueryModel"
  12994. }
  12995. }
  12996. },
  12997. "required" : false
  12998. }
  12999. }
  13000. },
  13001. "/v3/alipay/iservice/ccm/role/create" : {
  13002. "post" : {
  13003. "tags" : [ "alipay.iservice.ccm.role" ],
  13004. "summary" : "创建角色",
  13005. "description" : "创建角色",
  13006. "operationId" : "alipay.iservice.ccm.role.create",
  13007. "responses" : {
  13008. "200" : {
  13009. "description" : "common response",
  13010. "content" : {
  13011. "application/json" : {
  13012. "schema" : {
  13013. "$ref" : "#/components/schemas/AlipayIserviceCcmRoleCreateResponseModel"
  13014. }
  13015. }
  13016. }
  13017. },
  13018. "default" : {
  13019. "description" : "请求失败",
  13020. "content" : {
  13021. "application/json" : {
  13022. "schema" : {
  13023. "anyOf" : [ {
  13024. "$ref" : "#/components/schemas/CommonErrorType"
  13025. }, {
  13026. "$ref" : "#/components/schemas/AlipayIserviceCcmRoleCreateErrorResponseModel"
  13027. } ]
  13028. }
  13029. }
  13030. }
  13031. }
  13032. },
  13033. "requestBody" : {
  13034. "content" : {
  13035. "application/json" : {
  13036. "schema" : {
  13037. "$ref" : "#/components/schemas/AlipayIserviceCcmRoleCreateModel"
  13038. }
  13039. }
  13040. },
  13041. "required" : false
  13042. }
  13043. }
  13044. },
  13045. "/v3/alipay/iservice/ccm/role/delete" : {
  13046. "delete" : {
  13047. "tags" : [ "alipay.iservice.ccm.role" ],
  13048. "summary" : "删除角色",
  13049. "description" : "删除角色",
  13050. "operationId" : "alipay.iservice.ccm.role.delete",
  13051. "responses" : {
  13052. "200" : {
  13053. "description" : "common response",
  13054. "content" : {
  13055. "application/json" : {
  13056. "schema" : {
  13057. "$ref" : "#/components/schemas/AlipayIserviceCcmRoleDeleteResponseModel"
  13058. }
  13059. }
  13060. }
  13061. },
  13062. "default" : {
  13063. "description" : "请求失败",
  13064. "content" : {
  13065. "application/json" : {
  13066. "schema" : {
  13067. "anyOf" : [ {
  13068. "$ref" : "#/components/schemas/CommonErrorType"
  13069. }, {
  13070. "$ref" : "#/components/schemas/AlipayIserviceCcmRoleDeleteErrorResponseModel"
  13071. } ]
  13072. }
  13073. }
  13074. }
  13075. }
  13076. },
  13077. "parameters" : [ {
  13078. "name" : "id",
  13079. "in" : "query",
  13080. "description" : "角色id",
  13081. "schema" : {
  13082. "type" : "string",
  13083. "example" : "123"
  13084. }
  13085. }, {
  13086. "name" : "ccs_instance_id",
  13087. "in" : "query",
  13088. "description" : "部门id(即租户实例ID、数据权限ID),如果不传入,使用租户id",
  13089. "schema" : {
  13090. "type" : "string",
  13091. "example" : "ksj_J2Qa"
  13092. }
  13093. } ]
  13094. }
  13095. },
  13096. "/v3/alipay/iservice/ccm/role/get" : {
  13097. "get" : {
  13098. "tags" : [ "alipay.iservice.ccm.role" ],
  13099. "summary" : "获取角色详情",
  13100. "description" : "获取角色详情",
  13101. "operationId" : "alipay.iservice.ccm.role.get",
  13102. "responses" : {
  13103. "200" : {
  13104. "description" : "common response",
  13105. "content" : {
  13106. "application/json" : {
  13107. "schema" : {
  13108. "$ref" : "#/components/schemas/AlipayIserviceCcmRoleGetResponseModel"
  13109. }
  13110. }
  13111. }
  13112. },
  13113. "default" : {
  13114. "description" : "请求失败",
  13115. "content" : {
  13116. "application/json" : {
  13117. "schema" : {
  13118. "anyOf" : [ {
  13119. "$ref" : "#/components/schemas/CommonErrorType"
  13120. }, {
  13121. "$ref" : "#/components/schemas/AlipayIserviceCcmRoleGetErrorResponseModel"
  13122. } ]
  13123. }
  13124. }
  13125. }
  13126. }
  13127. },
  13128. "parameters" : [ {
  13129. "name" : "id",
  13130. "in" : "query",
  13131. "description" : "角色id",
  13132. "schema" : {
  13133. "type" : "string",
  13134. "example" : "123"
  13135. }
  13136. }, {
  13137. "name" : "ccs_instance_id",
  13138. "in" : "query",
  13139. "description" : "部门id,不传默认用租户ID",
  13140. "schema" : {
  13141. "type" : "string",
  13142. "example" : "qi1_FAq1"
  13143. }
  13144. } ]
  13145. }
  13146. },
  13147. "/v3/alipay/iservice/ccm/role/modify" : {
  13148. "post" : {
  13149. "tags" : [ "alipay.iservice.ccm.role" ],
  13150. "summary" : "更新角色",
  13151. "description" : "更新角色",
  13152. "operationId" : "alipay.iservice.ccm.role.modify",
  13153. "responses" : {
  13154. "200" : {
  13155. "description" : "common response",
  13156. "content" : {
  13157. "application/json" : {
  13158. "schema" : {
  13159. "$ref" : "#/components/schemas/AlipayIserviceCcmRoleModifyResponseModel"
  13160. }
  13161. }
  13162. }
  13163. },
  13164. "default" : {
  13165. "description" : "请求失败",
  13166. "content" : {
  13167. "application/json" : {
  13168. "schema" : {
  13169. "anyOf" : [ {
  13170. "$ref" : "#/components/schemas/CommonErrorType"
  13171. }, {
  13172. "$ref" : "#/components/schemas/AlipayIserviceCcmRoleModifyErrorResponseModel"
  13173. } ]
  13174. }
  13175. }
  13176. }
  13177. }
  13178. },
  13179. "requestBody" : {
  13180. "content" : {
  13181. "application/json" : {
  13182. "schema" : {
  13183. "$ref" : "#/components/schemas/AlipayIserviceCcmRoleModifyModel"
  13184. }
  13185. }
  13186. },
  13187. "required" : false
  13188. }
  13189. }
  13190. },
  13191. "/v3/alipay/iservice/ccm/role/page/query" : {
  13192. "get" : {
  13193. "tags" : [ "alipay.iservice.ccm.role.page" ],
  13194. "summary" : "分页查询角色",
  13195. "description" : "分页查询角色",
  13196. "operationId" : "alipay.iservice.ccm.role.page.query",
  13197. "responses" : {
  13198. "200" : {
  13199. "description" : "common response",
  13200. "content" : {
  13201. "application/json" : {
  13202. "schema" : {
  13203. "$ref" : "#/components/schemas/AlipayIserviceCcmRolePageQueryResponseModel"
  13204. }
  13205. }
  13206. }
  13207. },
  13208. "default" : {
  13209. "description" : "请求失败",
  13210. "content" : {
  13211. "application/json" : {
  13212. "schema" : {
  13213. "anyOf" : [ {
  13214. "$ref" : "#/components/schemas/CommonErrorType"
  13215. }, {
  13216. "$ref" : "#/components/schemas/AlipayIserviceCcmRolePageQueryErrorResponseModel"
  13217. } ]
  13218. }
  13219. }
  13220. }
  13221. }
  13222. },
  13223. "parameters" : [ {
  13224. "name" : "name",
  13225. "in" : "query",
  13226. "description" : "角色名称",
  13227. "schema" : {
  13228. "type" : "string",
  13229. "example" : "普通客服"
  13230. }
  13231. }, {
  13232. "name" : "page_num",
  13233. "in" : "query",
  13234. "description" : "查询结果的页码,起始值为 1,默认值为 1",
  13235. "schema" : {
  13236. "type" : "integer",
  13237. "example" : "1"
  13238. }
  13239. }, {
  13240. "name" : "page_size",
  13241. "in" : "query",
  13242. "description" : "分页查询时设置的每页记录数,最大值 100 行,默认为 10",
  13243. "schema" : {
  13244. "type" : "integer",
  13245. "example" : "10"
  13246. }
  13247. }, {
  13248. "name" : "ccs_instance_id",
  13249. "in" : "query",
  13250. "description" : "部门id(即租户实例ID、数据权限ID)",
  13251. "schema" : {
  13252. "type" : "string",
  13253. "example" : "kaj_9DA1"
  13254. }
  13255. } ]
  13256. }
  13257. },
  13258. "/v3/alipay/iservice/ccm/service/buy" : {
  13259. "post" : {
  13260. "tags" : [ "alipay.iservice.ccm.service" ],
  13261. "summary" : "租户开通isv服务接口",
  13262. "description" : "租户购买了isv服务后,通知ccm开通服务",
  13263. "operationId" : "alipay.iservice.ccm.service.buy",
  13264. "responses" : {
  13265. "200" : {
  13266. "description" : "common response",
  13267. "content" : {
  13268. "application/json" : {
  13269. "schema" : {
  13270. "$ref" : "#/components/schemas/AlipayIserviceCcmServiceBuyResponseModel"
  13271. }
  13272. }
  13273. }
  13274. },
  13275. "default" : {
  13276. "description" : "请求失败",
  13277. "content" : {
  13278. "application/json" : {
  13279. "schema" : {
  13280. "anyOf" : [ {
  13281. "$ref" : "#/components/schemas/CommonErrorType"
  13282. }, {
  13283. "$ref" : "#/components/schemas/AlipayIserviceCcmServiceBuyErrorResponseModel"
  13284. } ]
  13285. }
  13286. }
  13287. }
  13288. }
  13289. },
  13290. "requestBody" : {
  13291. "content" : {
  13292. "application/json" : {
  13293. "schema" : {
  13294. "$ref" : "#/components/schemas/AlipayIserviceCcmServiceBuyModel"
  13295. }
  13296. }
  13297. },
  13298. "required" : false
  13299. }
  13300. }
  13301. },
  13302. "/v3/alipay/iservice/ccm/service/close" : {
  13303. "post" : {
  13304. "tags" : [ "alipay.iservice.ccm.service" ],
  13305. "summary" : "关闭租户开通的isv服务接口",
  13306. "description" : "租户购买的ISV服务到期后,isv通知ccm关闭服务",
  13307. "operationId" : "alipay.iservice.ccm.service.close",
  13308. "responses" : {
  13309. "200" : {
  13310. "description" : "common response",
  13311. "content" : {
  13312. "application/json" : {
  13313. "schema" : {
  13314. "$ref" : "#/components/schemas/AlipayIserviceCcmServiceCloseResponseModel"
  13315. }
  13316. }
  13317. }
  13318. },
  13319. "default" : {
  13320. "description" : "请求失败",
  13321. "content" : {
  13322. "application/json" : {
  13323. "schema" : {
  13324. "anyOf" : [ {
  13325. "$ref" : "#/components/schemas/CommonErrorType"
  13326. }, {
  13327. "$ref" : "#/components/schemas/AlipayIserviceCcmServiceCloseErrorResponseModel"
  13328. } ]
  13329. }
  13330. }
  13331. }
  13332. }
  13333. },
  13334. "requestBody" : {
  13335. "content" : {
  13336. "application/json" : {
  13337. "schema" : {
  13338. "$ref" : "#/components/schemas/AlipayIserviceCcmServiceCloseModel"
  13339. }
  13340. }
  13341. },
  13342. "required" : false
  13343. }
  13344. }
  13345. },
  13346. "/v3/alipay/iservice/ccm/service/initialize" : {
  13347. "post" : {
  13348. "tags" : [ "alipay.iservice.ccm.service" ],
  13349. "summary" : "isv服务初始化接口",
  13350. "description" : "ISV调用此接口对接入CCM的服务代码、名称、描述等信息做初始化",
  13351. "operationId" : "alipay.iservice.ccm.service.initialize",
  13352. "responses" : {
  13353. "200" : {
  13354. "description" : "common response",
  13355. "content" : {
  13356. "application/json" : {
  13357. "schema" : {
  13358. "$ref" : "#/components/schemas/AlipayIserviceCcmServiceInitializeResponseModel"
  13359. }
  13360. }
  13361. }
  13362. },
  13363. "default" : {
  13364. "description" : "请求失败",
  13365. "content" : {
  13366. "application/json" : {
  13367. "schema" : {
  13368. "anyOf" : [ {
  13369. "$ref" : "#/components/schemas/CommonErrorType"
  13370. }, {
  13371. "$ref" : "#/components/schemas/AlipayIserviceCcmServiceInitializeErrorResponseModel"
  13372. } ]
  13373. }
  13374. }
  13375. }
  13376. }
  13377. },
  13378. "requestBody" : {
  13379. "content" : {
  13380. "application/json" : {
  13381. "schema" : {
  13382. "$ref" : "#/components/schemas/AlipayIserviceCcmServiceInitializeModel"
  13383. }
  13384. }
  13385. },
  13386. "required" : false
  13387. }
  13388. }
  13389. },
  13390. "/v3/alipay/iservice/ccm/servicerecord/create" : {
  13391. "post" : {
  13392. "tags" : [ "alipay.iservice.ccm.servicerecord" ],
  13393. "summary" : "创建服务记录",
  13394. "description" : "提供给云客服租户自主创建服务记录",
  13395. "operationId" : "alipay.iservice.ccm.servicerecord.create",
  13396. "responses" : {
  13397. "200" : {
  13398. "description" : "common response",
  13399. "content" : {
  13400. "application/json" : {
  13401. "schema" : {
  13402. "$ref" : "#/components/schemas/AlipayIserviceCcmServicerecordCreateResponseModel"
  13403. }
  13404. }
  13405. }
  13406. },
  13407. "default" : {
  13408. "description" : "请求失败",
  13409. "content" : {
  13410. "application/json" : {
  13411. "schema" : {
  13412. "anyOf" : [ {
  13413. "$ref" : "#/components/schemas/CommonErrorType"
  13414. }, {
  13415. "$ref" : "#/components/schemas/AlipayIserviceCcmServicerecordCreateErrorResponseModel"
  13416. } ]
  13417. }
  13418. }
  13419. }
  13420. }
  13421. },
  13422. "requestBody" : {
  13423. "content" : {
  13424. "application/json" : {
  13425. "schema" : {
  13426. "$ref" : "#/components/schemas/AlipayIserviceCcmServicerecordCreateModel"
  13427. }
  13428. }
  13429. },
  13430. "required" : false
  13431. }
  13432. }
  13433. },
  13434. "/v3/alipay/iservice/ccm/servicerecord/modify" : {
  13435. "post" : {
  13436. "tags" : [ "alipay.iservice.ccm.servicerecord" ],
  13437. "summary" : "变更服务记录",
  13438. "description" : "提供给云客服租户自主变更服务记录",
  13439. "operationId" : "alipay.iservice.ccm.servicerecord.modify",
  13440. "responses" : {
  13441. "200" : {
  13442. "description" : "common response",
  13443. "content" : {
  13444. "application/json" : {
  13445. "schema" : {
  13446. "$ref" : "#/components/schemas/AlipayIserviceCcmServicerecordModifyResponseModel"
  13447. }
  13448. }
  13449. }
  13450. },
  13451. "default" : {
  13452. "description" : "请求失败",
  13453. "content" : {
  13454. "application/json" : {
  13455. "schema" : {
  13456. "anyOf" : [ {
  13457. "$ref" : "#/components/schemas/CommonErrorType"
  13458. }, {
  13459. "$ref" : "#/components/schemas/AlipayIserviceCcmServicerecordModifyErrorResponseModel"
  13460. } ]
  13461. }
  13462. }
  13463. }
  13464. }
  13465. },
  13466. "requestBody" : {
  13467. "content" : {
  13468. "application/json" : {
  13469. "schema" : {
  13470. "$ref" : "#/components/schemas/AlipayIserviceCcmServicerecordModifyModel"
  13471. }
  13472. }
  13473. },
  13474. "required" : false
  13475. }
  13476. }
  13477. },
  13478. "/v3/alipay/iservice/ccm/sw/article/batchquery" : {
  13479. "post" : {
  13480. "tags" : [ "alipay.iservice.ccm.sw.article" ],
  13481. "summary" : "知识库-问答-批量查询",
  13482. "description" : "知识库-问答-批量查询",
  13483. "operationId" : "alipay.iservice.ccm.sw.article.batchquery",
  13484. "responses" : {
  13485. "200" : {
  13486. "description" : "common response",
  13487. "content" : {
  13488. "application/json" : {
  13489. "schema" : {
  13490. "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleBatchqueryResponseModel"
  13491. }
  13492. }
  13493. }
  13494. },
  13495. "default" : {
  13496. "description" : "请求失败",
  13497. "content" : {
  13498. "application/json" : {
  13499. "schema" : {
  13500. "anyOf" : [ {
  13501. "$ref" : "#/components/schemas/CommonErrorType"
  13502. }, {
  13503. "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleBatchqueryErrorResponseModel"
  13504. } ]
  13505. }
  13506. }
  13507. }
  13508. }
  13509. },
  13510. "requestBody" : {
  13511. "content" : {
  13512. "application/json" : {
  13513. "schema" : {
  13514. "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleBatchqueryModel"
  13515. }
  13516. }
  13517. },
  13518. "required" : false
  13519. }
  13520. }
  13521. },
  13522. "/v3/alipay/iservice/ccm/sw/article/create" : {
  13523. "put" : {
  13524. "tags" : [ "alipay.iservice.ccm.sw.article" ],
  13525. "summary" : "知识库-问答-创建",
  13526. "description" : "知识库-问答-创建",
  13527. "operationId" : "alipay.iservice.ccm.sw.article.create",
  13528. "responses" : {
  13529. "200" : {
  13530. "description" : "common response",
  13531. "content" : {
  13532. "application/json" : {
  13533. "schema" : {
  13534. "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleCreateResponseModel"
  13535. }
  13536. }
  13537. }
  13538. },
  13539. "default" : {
  13540. "description" : "请求失败",
  13541. "content" : {
  13542. "application/json" : {
  13543. "schema" : {
  13544. "anyOf" : [ {
  13545. "$ref" : "#/components/schemas/CommonErrorType"
  13546. }, {
  13547. "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleCreateErrorResponseModel"
  13548. } ]
  13549. }
  13550. }
  13551. }
  13552. }
  13553. },
  13554. "requestBody" : {
  13555. "content" : {
  13556. "application/json" : {
  13557. "schema" : {
  13558. "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleCreateModel"
  13559. }
  13560. }
  13561. },
  13562. "required" : false
  13563. }
  13564. }
  13565. },
  13566. "/v3/alipay/iservice/ccm/sw/article/delete" : {
  13567. "delete" : {
  13568. "tags" : [ "alipay.iservice.ccm.sw.article" ],
  13569. "summary" : "知识库-问答-删除",
  13570. "description" : "知识库-问答-删除",
  13571. "operationId" : "alipay.iservice.ccm.sw.article.delete",
  13572. "responses" : {
  13573. "200" : {
  13574. "description" : "common response",
  13575. "content" : {
  13576. "application/json" : {
  13577. "schema" : {
  13578. "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleDeleteResponseModel"
  13579. }
  13580. }
  13581. }
  13582. },
  13583. "default" : {
  13584. "description" : "请求失败",
  13585. "content" : {
  13586. "application/json" : {
  13587. "schema" : {
  13588. "anyOf" : [ {
  13589. "$ref" : "#/components/schemas/CommonErrorType"
  13590. }, {
  13591. "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleDeleteErrorResponseModel"
  13592. } ]
  13593. }
  13594. }
  13595. }
  13596. }
  13597. }
  13598. }
  13599. },
  13600. "/v3/alipay/iservice/ccm/sw/article/get" : {
  13601. "get" : {
  13602. "tags" : [ "alipay.iservice.ccm.sw.article" ],
  13603. "summary" : "知识库-问答-获取",
  13604. "description" : "知识库-问答-获取",
  13605. "operationId" : "alipay.iservice.ccm.sw.article.get",
  13606. "responses" : {
  13607. "200" : {
  13608. "description" : "common response",
  13609. "content" : {
  13610. "application/json" : {
  13611. "schema" : {
  13612. "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleGetResponseModel"
  13613. }
  13614. }
  13615. }
  13616. },
  13617. "default" : {
  13618. "description" : "请求失败",
  13619. "content" : {
  13620. "application/json" : {
  13621. "schema" : {
  13622. "anyOf" : [ {
  13623. "$ref" : "#/components/schemas/CommonErrorType"
  13624. }, {
  13625. "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleGetErrorResponseModel"
  13626. } ]
  13627. }
  13628. }
  13629. }
  13630. }
  13631. },
  13632. "parameters" : [ {
  13633. "name" : "ccs_instance_id",
  13634. "in" : "query",
  13635. "description" : "子部门ID,不传为默认部门",
  13636. "schema" : {
  13637. "type" : "string",
  13638. "example" : "ZPNASDK"
  13639. }
  13640. }, {
  13641. "name" : "id",
  13642. "in" : "query",
  13643. "description" : "文章ID",
  13644. "schema" : {
  13645. "type" : "integer",
  13646. "example" : "1"
  13647. }
  13648. } ]
  13649. }
  13650. },
  13651. "/v3/alipay/iservice/ccm/sw/article/modify" : {
  13652. "patch" : {
  13653. "tags" : [ "alipay.iservice.ccm.sw.article" ],
  13654. "summary" : "知识库-问答-修改",
  13655. "description" : "知识库-问答-修改",
  13656. "operationId" : "alipay.iservice.ccm.sw.article.modify",
  13657. "responses" : {
  13658. "200" : {
  13659. "description" : "common response",
  13660. "content" : {
  13661. "application/json" : {
  13662. "schema" : {
  13663. "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleModifyResponseModel"
  13664. }
  13665. }
  13666. }
  13667. },
  13668. "default" : {
  13669. "description" : "请求失败",
  13670. "content" : {
  13671. "application/json" : {
  13672. "schema" : {
  13673. "anyOf" : [ {
  13674. "$ref" : "#/components/schemas/CommonErrorType"
  13675. }, {
  13676. "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleModifyErrorResponseModel"
  13677. } ]
  13678. }
  13679. }
  13680. }
  13681. }
  13682. },
  13683. "requestBody" : {
  13684. "content" : {
  13685. "application/json" : {
  13686. "schema" : {
  13687. "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleModifyModel"
  13688. }
  13689. }
  13690. },
  13691. "required" : false
  13692. }
  13693. }
  13694. },
  13695. "/v3/alipay/iservice/ccm/sw/knowledge/modify" : {
  13696. "post" : {
  13697. "tags" : [ "alipay.iservice.ccm.sw.knowledge" ],
  13698. "summary" : "知识库问答管理",
  13699. "description" : "知识库问答管理",
  13700. "operationId" : "alipay.iservice.ccm.sw.knowledge.modify",
  13701. "responses" : {
  13702. "200" : {
  13703. "description" : "common response",
  13704. "content" : {
  13705. "application/json" : {
  13706. "schema" : {
  13707. "$ref" : "#/components/schemas/AlipayIserviceCcmSwKnowledgeModifyResponseModel"
  13708. }
  13709. }
  13710. }
  13711. },
  13712. "default" : {
  13713. "description" : "请求失败",
  13714. "content" : {
  13715. "application/json" : {
  13716. "schema" : {
  13717. "anyOf" : [ {
  13718. "$ref" : "#/components/schemas/CommonErrorType"
  13719. }, {
  13720. "$ref" : "#/components/schemas/AlipayIserviceCcmSwKnowledgeModifyErrorResponseModel"
  13721. } ]
  13722. }
  13723. }
  13724. }
  13725. }
  13726. },
  13727. "requestBody" : {
  13728. "content" : {
  13729. "application/json" : {
  13730. "schema" : {
  13731. "$ref" : "#/components/schemas/AlipayIserviceCcmSwKnowledgeModifyModel"
  13732. }
  13733. }
  13734. },
  13735. "required" : false
  13736. }
  13737. }
  13738. },
  13739. "/v3/alipay/iservice/ccm/sw/library/batchquery" : {
  13740. "get" : {
  13741. "tags" : [ "alipay.iservice.ccm.sw.library" ],
  13742. "summary" : "知识库-库-批量查询",
  13743. "description" : "知识库-库-批量查询",
  13744. "operationId" : "alipay.iservice.ccm.sw.library.batchquery",
  13745. "responses" : {
  13746. "200" : {
  13747. "description" : "common response",
  13748. "content" : {
  13749. "application/json" : {
  13750. "schema" : {
  13751. "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryBatchqueryResponseModel"
  13752. }
  13753. }
  13754. }
  13755. },
  13756. "default" : {
  13757. "description" : "请求失败",
  13758. "content" : {
  13759. "application/json" : {
  13760. "schema" : {
  13761. "anyOf" : [ {
  13762. "$ref" : "#/components/schemas/CommonErrorType"
  13763. }, {
  13764. "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryBatchqueryErrorResponseModel"
  13765. } ]
  13766. }
  13767. }
  13768. }
  13769. }
  13770. },
  13771. "parameters" : [ {
  13772. "name" : "ccs_instance_id",
  13773. "in" : "query",
  13774. "description" : "子部门ID,不传为默认部门",
  13775. "schema" : {
  13776. "type" : "string",
  13777. "example" : "ZPNASDK"
  13778. }
  13779. } ]
  13780. }
  13781. },
  13782. "/v3/alipay/iservice/ccm/sw/library/create" : {
  13783. "put" : {
  13784. "tags" : [ "alipay.iservice.ccm.sw.library" ],
  13785. "summary" : "知识库-库-创建",
  13786. "description" : "知识库-库-创建",
  13787. "operationId" : "alipay.iservice.ccm.sw.library.create",
  13788. "responses" : {
  13789. "200" : {
  13790. "description" : "common response",
  13791. "content" : {
  13792. "application/json" : {
  13793. "schema" : {
  13794. "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryCreateResponseModel"
  13795. }
  13796. }
  13797. }
  13798. },
  13799. "default" : {
  13800. "description" : "请求失败",
  13801. "content" : {
  13802. "application/json" : {
  13803. "schema" : {
  13804. "anyOf" : [ {
  13805. "$ref" : "#/components/schemas/CommonErrorType"
  13806. }, {
  13807. "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryCreateErrorResponseModel"
  13808. } ]
  13809. }
  13810. }
  13811. }
  13812. }
  13813. },
  13814. "requestBody" : {
  13815. "content" : {
  13816. "application/json" : {
  13817. "schema" : {
  13818. "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryCreateModel"
  13819. }
  13820. }
  13821. },
  13822. "required" : false
  13823. }
  13824. }
  13825. },
  13826. "/v3/alipay/iservice/ccm/sw/library/delete" : {
  13827. "delete" : {
  13828. "tags" : [ "alipay.iservice.ccm.sw.library" ],
  13829. "summary" : "知识库-库-删除",
  13830. "description" : "知识库-库-删除",
  13831. "operationId" : "alipay.iservice.ccm.sw.library.delete",
  13832. "responses" : {
  13833. "200" : {
  13834. "description" : "common response",
  13835. "content" : {
  13836. "application/json" : {
  13837. "schema" : {
  13838. "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryDeleteResponseModel"
  13839. }
  13840. }
  13841. }
  13842. },
  13843. "default" : {
  13844. "description" : "请求失败",
  13845. "content" : {
  13846. "application/json" : {
  13847. "schema" : {
  13848. "anyOf" : [ {
  13849. "$ref" : "#/components/schemas/CommonErrorType"
  13850. }, {
  13851. "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryDeleteErrorResponseModel"
  13852. } ]
  13853. }
  13854. }
  13855. }
  13856. }
  13857. }
  13858. }
  13859. },
  13860. "/v3/alipay/iservice/ccm/sw/library/modify" : {
  13861. "patch" : {
  13862. "tags" : [ "alipay.iservice.ccm.sw.library" ],
  13863. "summary" : "知识库-库-修改",
  13864. "description" : "知识库-库-修改",
  13865. "operationId" : "alipay.iservice.ccm.sw.library.modify",
  13866. "responses" : {
  13867. "200" : {
  13868. "description" : "common response",
  13869. "content" : {
  13870. "application/json" : {
  13871. "schema" : {
  13872. "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryModifyResponseModel"
  13873. }
  13874. }
  13875. }
  13876. },
  13877. "default" : {
  13878. "description" : "请求失败",
  13879. "content" : {
  13880. "application/json" : {
  13881. "schema" : {
  13882. "anyOf" : [ {
  13883. "$ref" : "#/components/schemas/CommonErrorType"
  13884. }, {
  13885. "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryModifyErrorResponseModel"
  13886. } ]
  13887. }
  13888. }
  13889. }
  13890. }
  13891. },
  13892. "requestBody" : {
  13893. "content" : {
  13894. "application/json" : {
  13895. "schema" : {
  13896. "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryModifyModel"
  13897. }
  13898. }
  13899. },
  13900. "required" : false
  13901. }
  13902. }
  13903. },
  13904. "/v3/alipay/iservice/ccm/sw/order/sync" : {
  13905. "post" : {
  13906. "tags" : [ "alipay.iservice.ccm.sw.order" ],
  13907. "summary" : "商品订单同步",
  13908. "description" : "商品订单同步",
  13909. "operationId" : "alipay.iservice.ccm.sw.order.sync",
  13910. "responses" : {
  13911. "200" : {
  13912. "description" : "common response",
  13913. "content" : {
  13914. "application/json" : {
  13915. "schema" : {
  13916. "$ref" : "#/components/schemas/AlipayIserviceCcmSwOrderSyncResponseModel"
  13917. }
  13918. }
  13919. }
  13920. },
  13921. "default" : {
  13922. "description" : "请求失败",
  13923. "content" : {
  13924. "application/json" : {
  13925. "schema" : {
  13926. "anyOf" : [ {
  13927. "$ref" : "#/components/schemas/CommonErrorType"
  13928. }, {
  13929. "$ref" : "#/components/schemas/AlipayIserviceCcmSwOrderSyncErrorResponseModel"
  13930. } ]
  13931. }
  13932. }
  13933. }
  13934. }
  13935. },
  13936. "requestBody" : {
  13937. "content" : {
  13938. "application/json" : {
  13939. "schema" : {
  13940. "$ref" : "#/components/schemas/AlipayIserviceCcmSwOrderSyncModel"
  13941. }
  13942. }
  13943. },
  13944. "required" : false
  13945. }
  13946. }
  13947. },
  13948. "/v3/alipay/iservice/ccm/sw/spu/sync" : {
  13949. "post" : {
  13950. "tags" : [ "alipay.iservice.ccm.sw.spu" ],
  13951. "summary" : "商品库-商品信息同步",
  13952. "description" : "商品库-商品信息同步",
  13953. "operationId" : "alipay.iservice.ccm.sw.spu.sync",
  13954. "responses" : {
  13955. "200" : {
  13956. "description" : "common response",
  13957. "content" : {
  13958. "application/json" : {
  13959. "schema" : {
  13960. "$ref" : "#/components/schemas/AlipayIserviceCcmSwSpuSyncResponseModel"
  13961. }
  13962. }
  13963. }
  13964. },
  13965. "default" : {
  13966. "description" : "请求失败",
  13967. "content" : {
  13968. "application/json" : {
  13969. "schema" : {
  13970. "anyOf" : [ {
  13971. "$ref" : "#/components/schemas/CommonErrorType"
  13972. }, {
  13973. "$ref" : "#/components/schemas/AlipayIserviceCcmSwSpuSyncErrorResponseModel"
  13974. } ]
  13975. }
  13976. }
  13977. }
  13978. }
  13979. },
  13980. "requestBody" : {
  13981. "content" : {
  13982. "application/json" : {
  13983. "schema" : {
  13984. "$ref" : "#/components/schemas/AlipayIserviceCcmSwSpuSyncModel"
  13985. }
  13986. }
  13987. },
  13988. "required" : false
  13989. }
  13990. }
  13991. },
  13992. "/v3/alipay/iservice/ccm/sw/tree/batchquery" : {
  13993. "get" : {
  13994. "tags" : [ "alipay.iservice.ccm.sw.tree" ],
  13995. "summary" : "知识库-类目-批量查询",
  13996. "description" : "知识库-类目-批量查询",
  13997. "operationId" : "alipay.iservice.ccm.sw.tree.batchquery",
  13998. "responses" : {
  13999. "200" : {
  14000. "description" : "common response",
  14001. "content" : {
  14002. "application/json" : {
  14003. "schema" : {
  14004. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeBatchqueryResponseModel"
  14005. }
  14006. }
  14007. }
  14008. },
  14009. "default" : {
  14010. "description" : "请求失败",
  14011. "content" : {
  14012. "application/json" : {
  14013. "schema" : {
  14014. "anyOf" : [ {
  14015. "$ref" : "#/components/schemas/CommonErrorType"
  14016. }, {
  14017. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeBatchqueryErrorResponseModel"
  14018. } ]
  14019. }
  14020. }
  14021. }
  14022. }
  14023. },
  14024. "parameters" : [ {
  14025. "name" : "ccs_instance_id",
  14026. "in" : "query",
  14027. "description" : "子部门ID,不传为默认部门",
  14028. "schema" : {
  14029. "type" : "string",
  14030. "example" : "ZPNASDK"
  14031. }
  14032. } ]
  14033. }
  14034. },
  14035. "/v3/alipay/iservice/ccm/sw/tree/create" : {
  14036. "put" : {
  14037. "tags" : [ "alipay.iservice.ccm.sw.tree" ],
  14038. "summary" : "知识库-类目-创建",
  14039. "description" : "知识库-类目-创建",
  14040. "operationId" : "alipay.iservice.ccm.sw.tree.create",
  14041. "responses" : {
  14042. "200" : {
  14043. "description" : "common response",
  14044. "content" : {
  14045. "application/json" : {
  14046. "schema" : {
  14047. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeCreateResponseModel"
  14048. }
  14049. }
  14050. }
  14051. },
  14052. "default" : {
  14053. "description" : "请求失败",
  14054. "content" : {
  14055. "application/json" : {
  14056. "schema" : {
  14057. "anyOf" : [ {
  14058. "$ref" : "#/components/schemas/CommonErrorType"
  14059. }, {
  14060. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeCreateErrorResponseModel"
  14061. } ]
  14062. }
  14063. }
  14064. }
  14065. }
  14066. },
  14067. "requestBody" : {
  14068. "content" : {
  14069. "application/json" : {
  14070. "schema" : {
  14071. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeCreateModel"
  14072. }
  14073. }
  14074. },
  14075. "required" : false
  14076. }
  14077. }
  14078. },
  14079. "/v3/alipay/iservice/ccm/sw/tree/delete" : {
  14080. "delete" : {
  14081. "tags" : [ "alipay.iservice.ccm.sw.tree" ],
  14082. "summary" : "知识库-类目-删除",
  14083. "description" : "知识库-类目-删除",
  14084. "operationId" : "alipay.iservice.ccm.sw.tree.delete",
  14085. "responses" : {
  14086. "200" : {
  14087. "description" : "common response",
  14088. "content" : {
  14089. "application/json" : {
  14090. "schema" : {
  14091. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeDeleteResponseModel"
  14092. }
  14093. }
  14094. }
  14095. },
  14096. "default" : {
  14097. "description" : "请求失败",
  14098. "content" : {
  14099. "application/json" : {
  14100. "schema" : {
  14101. "anyOf" : [ {
  14102. "$ref" : "#/components/schemas/CommonErrorType"
  14103. }, {
  14104. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeDeleteErrorResponseModel"
  14105. } ]
  14106. }
  14107. }
  14108. }
  14109. }
  14110. }
  14111. }
  14112. },
  14113. "/v3/alipay/iservice/ccm/sw/tree/get" : {
  14114. "get" : {
  14115. "tags" : [ "alipay.iservice.ccm.sw.tree" ],
  14116. "summary" : "知识库-类目-获取",
  14117. "description" : "知识库-类目-获取",
  14118. "operationId" : "alipay.iservice.ccm.sw.tree.get",
  14119. "responses" : {
  14120. "200" : {
  14121. "description" : "common response",
  14122. "content" : {
  14123. "application/json" : {
  14124. "schema" : {
  14125. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeGetResponseModel"
  14126. }
  14127. }
  14128. }
  14129. },
  14130. "default" : {
  14131. "description" : "请求失败",
  14132. "content" : {
  14133. "application/json" : {
  14134. "schema" : {
  14135. "anyOf" : [ {
  14136. "$ref" : "#/components/schemas/CommonErrorType"
  14137. }, {
  14138. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeGetErrorResponseModel"
  14139. } ]
  14140. }
  14141. }
  14142. }
  14143. }
  14144. },
  14145. "parameters" : [ {
  14146. "name" : "ccs_instance_id",
  14147. "in" : "query",
  14148. "description" : "子部门ID,不传为默认部门",
  14149. "schema" : {
  14150. "type" : "string",
  14151. "example" : "ZPNASDK"
  14152. }
  14153. }, {
  14154. "name" : "id",
  14155. "in" : "query",
  14156. "description" : "类目ID",
  14157. "schema" : {
  14158. "type" : "integer",
  14159. "example" : "1"
  14160. }
  14161. } ]
  14162. }
  14163. },
  14164. "/v3/alipay/iservice/ccm/sw/tree/modify" : {
  14165. "patch" : {
  14166. "tags" : [ "alipay.iservice.ccm.sw.tree" ],
  14167. "summary" : "知识库-类目-修改",
  14168. "description" : "知识库-类目-修改",
  14169. "operationId" : "alipay.iservice.ccm.sw.tree.modify",
  14170. "responses" : {
  14171. "200" : {
  14172. "description" : "common response",
  14173. "content" : {
  14174. "application/json" : {
  14175. "schema" : {
  14176. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeModifyResponseModel"
  14177. }
  14178. }
  14179. }
  14180. },
  14181. "default" : {
  14182. "description" : "请求失败",
  14183. "content" : {
  14184. "application/json" : {
  14185. "schema" : {
  14186. "anyOf" : [ {
  14187. "$ref" : "#/components/schemas/CommonErrorType"
  14188. }, {
  14189. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeModifyErrorResponseModel"
  14190. } ]
  14191. }
  14192. }
  14193. }
  14194. }
  14195. },
  14196. "requestBody" : {
  14197. "content" : {
  14198. "application/json" : {
  14199. "schema" : {
  14200. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeModifyModel"
  14201. }
  14202. }
  14203. },
  14204. "required" : false
  14205. }
  14206. }
  14207. },
  14208. "/v3/alipay/iservice/ccm/sw/tree/publish" : {
  14209. "put" : {
  14210. "tags" : [ "alipay.iservice.ccm.sw.tree" ],
  14211. "summary" : "知识库-类目-发布",
  14212. "description" : "知识库-类目-发布",
  14213. "operationId" : "alipay.iservice.ccm.sw.tree.publish",
  14214. "responses" : {
  14215. "200" : {
  14216. "description" : "common response",
  14217. "content" : {
  14218. "application/json" : {
  14219. "schema" : {
  14220. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreePublishResponseModel"
  14221. }
  14222. }
  14223. }
  14224. },
  14225. "default" : {
  14226. "description" : "请求失败",
  14227. "content" : {
  14228. "application/json" : {
  14229. "schema" : {
  14230. "anyOf" : [ {
  14231. "$ref" : "#/components/schemas/CommonErrorType"
  14232. }, {
  14233. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreePublishErrorResponseModel"
  14234. } ]
  14235. }
  14236. }
  14237. }
  14238. }
  14239. },
  14240. "requestBody" : {
  14241. "content" : {
  14242. "application/json" : {
  14243. "schema" : {
  14244. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreePublishModel"
  14245. }
  14246. }
  14247. },
  14248. "required" : false
  14249. }
  14250. }
  14251. },
  14252. "/v3/alipay/iservice/ccm/sw/treecategory/batchquery" : {
  14253. "get" : {
  14254. "tags" : [ "alipay.iservice.ccm.sw.treecategory" ],
  14255. "summary" : "知识库-节点-批量查询",
  14256. "description" : "知识库-节点-批量查询",
  14257. "operationId" : "alipay.iservice.ccm.sw.treecategory.batchquery",
  14258. "responses" : {
  14259. "200" : {
  14260. "description" : "common response",
  14261. "content" : {
  14262. "application/json" : {
  14263. "schema" : {
  14264. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryBatchqueryResponseModel"
  14265. }
  14266. }
  14267. }
  14268. },
  14269. "default" : {
  14270. "description" : "请求失败",
  14271. "content" : {
  14272. "application/json" : {
  14273. "schema" : {
  14274. "anyOf" : [ {
  14275. "$ref" : "#/components/schemas/CommonErrorType"
  14276. }, {
  14277. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryBatchqueryErrorResponseModel"
  14278. } ]
  14279. }
  14280. }
  14281. }
  14282. }
  14283. },
  14284. "parameters" : [ {
  14285. "name" : "ccs_instance_id",
  14286. "in" : "query",
  14287. "description" : "子部门ID,不传为默认部门",
  14288. "schema" : {
  14289. "type" : "string",
  14290. "example" : "ZPNASDK"
  14291. }
  14292. }, {
  14293. "name" : "library_id",
  14294. "in" : "query",
  14295. "description" : "知识库ID",
  14296. "schema" : {
  14297. "type" : "integer",
  14298. "example" : "1"
  14299. }
  14300. }, {
  14301. "name" : "name",
  14302. "in" : "query",
  14303. "description" : "节点名称",
  14304. "schema" : {
  14305. "type" : "string",
  14306. "example" : "服务群"
  14307. }
  14308. }, {
  14309. "name" : "page_num",
  14310. "in" : "query",
  14311. "description" : "页数,page_size不能为空",
  14312. "schema" : {
  14313. "type" : "integer",
  14314. "example" : "1"
  14315. }
  14316. }, {
  14317. "name" : "page_size",
  14318. "in" : "query",
  14319. "description" : "页显示大小,page_num不能为空",
  14320. "schema" : {
  14321. "type" : "integer",
  14322. "example" : "10"
  14323. }
  14324. } ]
  14325. }
  14326. },
  14327. "/v3/alipay/iservice/ccm/sw/treecategory/create" : {
  14328. "put" : {
  14329. "tags" : [ "alipay.iservice.ccm.sw.treecategory" ],
  14330. "summary" : "知识库-节点-创建",
  14331. "description" : "知识库-节点-创建",
  14332. "operationId" : "alipay.iservice.ccm.sw.treecategory.create",
  14333. "responses" : {
  14334. "200" : {
  14335. "description" : "common response",
  14336. "content" : {
  14337. "application/json" : {
  14338. "schema" : {
  14339. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryCreateResponseModel"
  14340. }
  14341. }
  14342. }
  14343. },
  14344. "default" : {
  14345. "description" : "请求失败",
  14346. "content" : {
  14347. "application/json" : {
  14348. "schema" : {
  14349. "anyOf" : [ {
  14350. "$ref" : "#/components/schemas/CommonErrorType"
  14351. }, {
  14352. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryCreateErrorResponseModel"
  14353. } ]
  14354. }
  14355. }
  14356. }
  14357. }
  14358. },
  14359. "requestBody" : {
  14360. "content" : {
  14361. "application/json" : {
  14362. "schema" : {
  14363. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryCreateModel"
  14364. }
  14365. }
  14366. },
  14367. "required" : false
  14368. }
  14369. }
  14370. },
  14371. "/v3/alipay/iservice/ccm/sw/treecategory/delete" : {
  14372. "delete" : {
  14373. "tags" : [ "alipay.iservice.ccm.sw.treecategory" ],
  14374. "summary" : "知识库-节点-删除",
  14375. "description" : "知识库-节点-删除",
  14376. "operationId" : "alipay.iservice.ccm.sw.treecategory.delete",
  14377. "responses" : {
  14378. "200" : {
  14379. "description" : "common response",
  14380. "content" : {
  14381. "application/json" : {
  14382. "schema" : {
  14383. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryDeleteResponseModel"
  14384. }
  14385. }
  14386. }
  14387. },
  14388. "default" : {
  14389. "description" : "请求失败",
  14390. "content" : {
  14391. "application/json" : {
  14392. "schema" : {
  14393. "anyOf" : [ {
  14394. "$ref" : "#/components/schemas/CommonErrorType"
  14395. }, {
  14396. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryDeleteErrorResponseModel"
  14397. } ]
  14398. }
  14399. }
  14400. }
  14401. }
  14402. }
  14403. }
  14404. },
  14405. "/v3/alipay/iservice/ccm/sw/treecategory/modify" : {
  14406. "patch" : {
  14407. "tags" : [ "alipay.iservice.ccm.sw.treecategory" ],
  14408. "summary" : "知识库-节点-修改",
  14409. "description" : "知识库-节点-修改",
  14410. "operationId" : "alipay.iservice.ccm.sw.treecategory.modify",
  14411. "responses" : {
  14412. "200" : {
  14413. "description" : "common response",
  14414. "content" : {
  14415. "application/json" : {
  14416. "schema" : {
  14417. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryModifyResponseModel"
  14418. }
  14419. }
  14420. }
  14421. },
  14422. "default" : {
  14423. "description" : "请求失败",
  14424. "content" : {
  14425. "application/json" : {
  14426. "schema" : {
  14427. "anyOf" : [ {
  14428. "$ref" : "#/components/schemas/CommonErrorType"
  14429. }, {
  14430. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryModifyErrorResponseModel"
  14431. } ]
  14432. }
  14433. }
  14434. }
  14435. }
  14436. },
  14437. "requestBody" : {
  14438. "content" : {
  14439. "application/json" : {
  14440. "schema" : {
  14441. "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryModifyModel"
  14442. }
  14443. }
  14444. },
  14445. "required" : false
  14446. }
  14447. }
  14448. },
  14449. "/v3/alipay/marketing/activity/batchquery" : {
  14450. "post" : {
  14451. "tags" : [ "alipay.marketing.activity" ],
  14452. "summary" : "条件查询活动列表",
  14453. "description" : "通过此接口可查询多个活动的摘要信息。",
  14454. "operationId" : "alipay.marketing.activity.batchquery",
  14455. "responses" : {
  14456. "200" : {
  14457. "description" : "common response",
  14458. "content" : {
  14459. "application/json" : {
  14460. "schema" : {
  14461. "$ref" : "#/components/schemas/AlipayMarketingActivityBatchqueryResponseModel"
  14462. }
  14463. }
  14464. }
  14465. },
  14466. "default" : {
  14467. "description" : "请求失败",
  14468. "content" : {
  14469. "application/json" : {
  14470. "schema" : {
  14471. "anyOf" : [ {
  14472. "$ref" : "#/components/schemas/CommonErrorType"
  14473. }, {
  14474. "$ref" : "#/components/schemas/AlipayMarketingActivityBatchqueryErrorResponseModel"
  14475. } ]
  14476. }
  14477. }
  14478. }
  14479. }
  14480. },
  14481. "requestBody" : {
  14482. "content" : {
  14483. "application/json" : {
  14484. "schema" : {
  14485. "$ref" : "#/components/schemas/AlipayMarketingActivityBatchqueryModel"
  14486. }
  14487. }
  14488. },
  14489. "required" : false
  14490. }
  14491. }
  14492. },
  14493. "/v3/alipay/marketing/activity/consult" : {
  14494. "post" : {
  14495. "tags" : [ "alipay.marketing.activity" ],
  14496. "summary" : "活动领取咨询接口",
  14497. "description" : "通过此接口可以咨询用户是否可以领取该活动优惠券,决定是否对用户展示该活动信息。",
  14498. "operationId" : "alipay.marketing.activity.consult",
  14499. "responses" : {
  14500. "200" : {
  14501. "description" : "common response",
  14502. "content" : {
  14503. "application/json" : {
  14504. "schema" : {
  14505. "$ref" : "#/components/schemas/AlipayMarketingActivityConsultResponseModel"
  14506. }
  14507. }
  14508. }
  14509. },
  14510. "default" : {
  14511. "description" : "请求失败",
  14512. "content" : {
  14513. "application/json" : {
  14514. "schema" : {
  14515. "anyOf" : [ {
  14516. "$ref" : "#/components/schemas/CommonErrorType"
  14517. }, {
  14518. "$ref" : "#/components/schemas/AlipayMarketingActivityConsultErrorResponseModel"
  14519. } ]
  14520. }
  14521. }
  14522. }
  14523. }
  14524. },
  14525. "requestBody" : {
  14526. "content" : {
  14527. "application/json" : {
  14528. "schema" : {
  14529. "$ref" : "#/components/schemas/AlipayMarketingActivityConsultModel"
  14530. }
  14531. }
  14532. },
  14533. "required" : false
  14534. }
  14535. }
  14536. },
  14537. "/v3/alipay/marketing/activity/deliverychannel/query" : {
  14538. "post" : {
  14539. "tags" : [ "alipay.marketing.activity.deliverychannel" ],
  14540. "summary" : "查询可推广渠道",
  14541. "description" : "查询可推广渠道。该接口会返回可以投放的所有渠道的详细信息。\n其中每个渠道的boothCode含义:boothCode表达的是某个渠道可以投放的展位码。例如:支付结果页PAY_RESULT\n其中每个渠道的channel含义:表达的是某个固定的渠道。例如:在boothCode = PAY_RESULT 的情况下, channel = 商户的pid。 该channel就是一个可以投放的渠道,投放后可以在对应的商户的支付结果页看到优惠券。后续创建投放时根据返回的 channel 选择投放渠道",
  14542. "operationId" : "alipay.marketing.activity.deliverychannel.query",
  14543. "responses" : {
  14544. "200" : {
  14545. "description" : "common response",
  14546. "content" : {
  14547. "application/json" : {
  14548. "schema" : {
  14549. "$ref" : "#/components/schemas/AlipayMarketingActivityDeliverychannelQueryResponseModel"
  14550. }
  14551. }
  14552. }
  14553. },
  14554. "default" : {
  14555. "description" : "请求失败",
  14556. "content" : {
  14557. "application/json" : {
  14558. "schema" : {
  14559. "anyOf" : [ {
  14560. "$ref" : "#/components/schemas/CommonErrorType"
  14561. }, {
  14562. "$ref" : "#/components/schemas/AlipayMarketingActivityDeliverychannelQueryErrorResponseModel"
  14563. } ]
  14564. }
  14565. }
  14566. }
  14567. }
  14568. },
  14569. "requestBody" : {
  14570. "content" : {
  14571. "application/json" : {
  14572. "schema" : {
  14573. "$ref" : "#/components/schemas/AlipayMarketingActivityDeliverychannelQueryModel"
  14574. }
  14575. }
  14576. },
  14577. "required" : false
  14578. }
  14579. }
  14580. },
  14581. "/v3/alipay/marketing/activity/ordervoucher/associate" : {
  14582. "post" : {
  14583. "tags" : [ "alipay.marketing.activity.ordervoucher" ],
  14584. "summary" : "关联订单信息",
  14585. "description" : "将已发放的商家券券码与订单信息关联,用于后续参与返佣激励等操作的统计。\n",
  14586. "operationId" : "alipay.marketing.activity.ordervoucher.associate",
  14587. "responses" : {
  14588. "200" : {
  14589. "description" : "common response",
  14590. "content" : {
  14591. "application/json" : {
  14592. "schema" : {
  14593. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherAssociateResponseModel"
  14594. }
  14595. }
  14596. }
  14597. },
  14598. "default" : {
  14599. "description" : "请求失败",
  14600. "content" : {
  14601. "application/json" : {
  14602. "schema" : {
  14603. "anyOf" : [ {
  14604. "$ref" : "#/components/schemas/CommonErrorType"
  14605. }, {
  14606. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherAssociateErrorResponseModel"
  14607. } ]
  14608. }
  14609. }
  14610. }
  14611. }
  14612. },
  14613. "requestBody" : {
  14614. "content" : {
  14615. "application/json" : {
  14616. "schema" : {
  14617. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherAssociateModel"
  14618. }
  14619. }
  14620. },
  14621. "required" : false
  14622. }
  14623. }
  14624. },
  14625. "/v3/alipay/marketing/activity/ordervoucher/disassociate" : {
  14626. "post" : {
  14627. "tags" : [ "alipay.marketing.activity.ordervoucher" ],
  14628. "summary" : "取消关联订单信息",
  14629. "description" : "取消商家券与订单信息的关联关系.",
  14630. "operationId" : "alipay.marketing.activity.ordervoucher.disassociate",
  14631. "responses" : {
  14632. "200" : {
  14633. "description" : "common response",
  14634. "content" : {
  14635. "application/json" : {
  14636. "schema" : {
  14637. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherDisassociateResponseModel"
  14638. }
  14639. }
  14640. }
  14641. },
  14642. "default" : {
  14643. "description" : "请求失败",
  14644. "content" : {
  14645. "application/json" : {
  14646. "schema" : {
  14647. "anyOf" : [ {
  14648. "$ref" : "#/components/schemas/CommonErrorType"
  14649. }, {
  14650. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherDisassociateErrorResponseModel"
  14651. } ]
  14652. }
  14653. }
  14654. }
  14655. }
  14656. },
  14657. "requestBody" : {
  14658. "content" : {
  14659. "application/json" : {
  14660. "schema" : {
  14661. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherDisassociateModel"
  14662. }
  14663. }
  14664. },
  14665. "required" : false
  14666. }
  14667. }
  14668. },
  14669. "/v3/alipay/marketing/activity/ordervoucher/query" : {
  14670. "get" : {
  14671. "tags" : [ "alipay.marketing.activity.ordervoucher" ],
  14672. "summary" : "查询商家券活动",
  14673. "description" : "商户通过该接口查询商家券活动详情。",
  14674. "operationId" : "alipay.marketing.activity.ordervoucher.query",
  14675. "responses" : {
  14676. "200" : {
  14677. "description" : "common response",
  14678. "content" : {
  14679. "application/json" : {
  14680. "schema" : {
  14681. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherQueryResponseModel"
  14682. }
  14683. }
  14684. }
  14685. },
  14686. "default" : {
  14687. "description" : "请求失败",
  14688. "content" : {
  14689. "application/json" : {
  14690. "schema" : {
  14691. "anyOf" : [ {
  14692. "$ref" : "#/components/schemas/CommonErrorType"
  14693. }, {
  14694. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherQueryErrorResponseModel"
  14695. } ]
  14696. }
  14697. }
  14698. }
  14699. }
  14700. },
  14701. "parameters" : [ {
  14702. "name" : "activity_id",
  14703. "in" : "query",
  14704. "description" : "活动id",
  14705. "schema" : {
  14706. "type" : "string",
  14707. "example" : "2016042700826004508401111111"
  14708. }
  14709. }, {
  14710. "name" : "merchant_access_mode",
  14711. "in" : "query",
  14712. "description" : "商户接入模式",
  14713. "schema" : {
  14714. "type" : "string",
  14715. "example" : "AGENCY_MODE"
  14716. }
  14717. } ]
  14718. }
  14719. },
  14720. "/v3/alipay/marketing/activity/ordervoucher/user/batchqueryvoucher" : {
  14721. "get" : {
  14722. "tags" : [ "alipay.marketing.activity.user" ],
  14723. "summary" : "条件查询用户券",
  14724. "description" : "可通过该接口查询用户在某商户可用的全部券,可用于商户的小程序/H5中,用户\"我的优惠券\"或\"提交订单页\"展示优惠信息。只能查询商户配的券,无法查询平台优惠券。",
  14725. "operationId" : "alipay.marketing.activity.user.batchqueryvoucher",
  14726. "responses" : {
  14727. "200" : {
  14728. "description" : "common response",
  14729. "content" : {
  14730. "application/json" : {
  14731. "schema" : {
  14732. "$ref" : "#/components/schemas/AlipayMarketingActivityUserBatchqueryvoucherResponseModel"
  14733. }
  14734. }
  14735. }
  14736. },
  14737. "default" : {
  14738. "description" : "请求失败",
  14739. "content" : {
  14740. "application/json" : {
  14741. "schema" : {
  14742. "anyOf" : [ {
  14743. "$ref" : "#/components/schemas/CommonErrorType"
  14744. }, {
  14745. "$ref" : "#/components/schemas/AlipayMarketingActivityUserBatchqueryvoucherErrorResponseModel"
  14746. } ]
  14747. }
  14748. }
  14749. }
  14750. }
  14751. },
  14752. "parameters" : [ {
  14753. "$ref" : "#/components/parameters/AuthToken"
  14754. }, {
  14755. "name" : "user_id",
  14756. "in" : "query",
  14757. "description" : "支付宝用户 id",
  14758. "schema" : {
  14759. "type" : "string",
  14760. "example" : "2088512417841101"
  14761. }
  14762. }, {
  14763. "name" : "open_id",
  14764. "in" : "query",
  14765. "description" : "支付宝用户openId",
  14766. "schema" : {
  14767. "type" : "string",
  14768. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  14769. }
  14770. }, {
  14771. "name" : "activity_id",
  14772. "in" : "query",
  14773. "description" : "活动 id",
  14774. "schema" : {
  14775. "type" : "string",
  14776. "example" : "2016042700826004508401111111"
  14777. }
  14778. }, {
  14779. "name" : "belong_merchant_id",
  14780. "in" : "query",
  14781. "description" : "券归属商户",
  14782. "schema" : {
  14783. "type" : "string",
  14784. "example" : "2088202967380463"
  14785. }
  14786. }, {
  14787. "name" : "sender_merchant_id",
  14788. "in" : "query",
  14789. "description" : "券发放商户",
  14790. "schema" : {
  14791. "type" : "string",
  14792. "example" : "2088102161342862"
  14793. }
  14794. }, {
  14795. "name" : "voucher_status",
  14796. "in" : "query",
  14797. "description" : "券状态,其中已过期状态可查询6个月内的数据",
  14798. "schema" : {
  14799. "type" : "string",
  14800. "example" : "SENDED"
  14801. }
  14802. }, {
  14803. "name" : "page_num",
  14804. "in" : "query",
  14805. "description" : "分页查询页码",
  14806. "schema" : {
  14807. "type" : "integer",
  14808. "example" : "1"
  14809. }
  14810. }, {
  14811. "name" : "merchant_access_mode",
  14812. "in" : "query",
  14813. "description" : "商户接入模式",
  14814. "schema" : {
  14815. "type" : "string",
  14816. "example" : "AGENCY_MODE"
  14817. }
  14818. }, {
  14819. "name" : "page_size",
  14820. "in" : "query",
  14821. "description" : "分页查询单页数据条数",
  14822. "schema" : {
  14823. "type" : "integer",
  14824. "example" : "20"
  14825. }
  14826. } ]
  14827. }
  14828. },
  14829. "/v3/alipay/marketing/activity/ordervoucher/user/voucher" : {
  14830. "get" : {
  14831. "tags" : [ "alipay.marketing.activity.user" ],
  14832. "summary" : "查询用户券详情",
  14833. "description" : "通过此接口可以查询用户券信息,包括用户券的基础信息、状态。",
  14834. "operationId" : "alipay.marketing.activity.user.queryvoucher",
  14835. "responses" : {
  14836. "200" : {
  14837. "description" : "common response",
  14838. "content" : {
  14839. "application/json" : {
  14840. "schema" : {
  14841. "$ref" : "#/components/schemas/AlipayMarketingActivityUserQueryvoucherResponseModel"
  14842. }
  14843. }
  14844. }
  14845. },
  14846. "default" : {
  14847. "description" : "请求失败",
  14848. "content" : {
  14849. "application/json" : {
  14850. "schema" : {
  14851. "anyOf" : [ {
  14852. "$ref" : "#/components/schemas/CommonErrorType"
  14853. }, {
  14854. "$ref" : "#/components/schemas/AlipayMarketingActivityUserQueryvoucherErrorResponseModel"
  14855. } ]
  14856. }
  14857. }
  14858. }
  14859. }
  14860. },
  14861. "parameters" : [ {
  14862. "name" : "merchant_id",
  14863. "in" : "query",
  14864. "description" : "商户 PID,默认为当前接口调用商户。",
  14865. "schema" : {
  14866. "type" : "string",
  14867. "example" : "2088202967380463"
  14868. }
  14869. }, {
  14870. "name" : "user_id",
  14871. "in" : "query",
  14872. "description" : "支付宝用户id",
  14873. "schema" : {
  14874. "type" : "string",
  14875. "example" : "2088512417841101"
  14876. }
  14877. }, {
  14878. "name" : "open_id",
  14879. "in" : "query",
  14880. "description" : "支付宝用户openId",
  14881. "schema" : {
  14882. "type" : "string",
  14883. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  14884. }
  14885. }, {
  14886. "name" : "activity_id",
  14887. "in" : "query",
  14888. "description" : "活动 id。",
  14889. "schema" : {
  14890. "type" : "string",
  14891. "example" : "2016042700826004508401111111"
  14892. }
  14893. }, {
  14894. "name" : "voucher_id",
  14895. "in" : "query",
  14896. "description" : "用户券 id。支付宝为用户优惠券唯一分配的 id。",
  14897. "schema" : {
  14898. "type" : "string",
  14899. "example" : "2021072900073002214009F8QHR3"
  14900. }
  14901. }, {
  14902. "name" : "voucher_code",
  14903. "in" : "query",
  14904. "description" : "用户领取的商家券券码。",
  14905. "schema" : {
  14906. "type" : "string",
  14907. "example" : "ABE44"
  14908. }
  14909. }, {
  14910. "name" : "merchant_access_mode",
  14911. "in" : "query",
  14912. "description" : "商户接入模式。",
  14913. "schema" : {
  14914. "type" : "string",
  14915. "example" : "AGENCY_MODE"
  14916. }
  14917. } ]
  14918. }
  14919. },
  14920. "/v3/alipay/marketing/activity/voucher/append" : {
  14921. "post" : {
  14922. "tags" : [ "alipay.marketing.activity.voucher" ],
  14923. "summary" : "追加支付券预算",
  14924. "description" : "支付券激活成功后,调用该接口追加支付券预算。追加支付券预算接口同步返回请求受理结果,后续通过alipay.marketing.activity.message.appended消息接口异步发送追加支付券预算成功事件消息。\n\n如果成功消息长时间未送达,请联系相关技术人员。",
  14925. "operationId" : "alipay.marketing.activity.voucher.append",
  14926. "responses" : {
  14927. "200" : {
  14928. "description" : "common response",
  14929. "content" : {
  14930. "application/json" : {
  14931. "schema" : {
  14932. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherAppendResponseModel"
  14933. }
  14934. }
  14935. }
  14936. },
  14937. "default" : {
  14938. "description" : "请求失败",
  14939. "content" : {
  14940. "application/json" : {
  14941. "schema" : {
  14942. "anyOf" : [ {
  14943. "$ref" : "#/components/schemas/CommonErrorType"
  14944. }, {
  14945. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherAppendErrorResponseModel"
  14946. } ]
  14947. }
  14948. }
  14949. }
  14950. }
  14951. },
  14952. "requestBody" : {
  14953. "content" : {
  14954. "application/json" : {
  14955. "schema" : {
  14956. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherAppendModel"
  14957. }
  14958. }
  14959. },
  14960. "required" : false
  14961. }
  14962. }
  14963. },
  14964. "/v3/alipay/marketing/activity/voucher/create" : {
  14965. "post" : {
  14966. "tags" : [ "alipay.marketing.activity.voucher" ],
  14967. "summary" : "创建支付券",
  14968. "description" : "商户通过调用此接口创建支付券,包括预充值&免充值支付券,接口同步返回创建处理结果。创建完成后将获得活动id,可用于各个营销场景的活动投放。",
  14969. "operationId" : "alipay.marketing.activity.voucher.create",
  14970. "responses" : {
  14971. "200" : {
  14972. "description" : "common response",
  14973. "content" : {
  14974. "application/json" : {
  14975. "schema" : {
  14976. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherCreateResponseModel"
  14977. }
  14978. }
  14979. }
  14980. },
  14981. "default" : {
  14982. "description" : "请求失败",
  14983. "content" : {
  14984. "application/json" : {
  14985. "schema" : {
  14986. "anyOf" : [ {
  14987. "$ref" : "#/components/schemas/CommonErrorType"
  14988. }, {
  14989. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherCreateErrorResponseModel"
  14990. } ]
  14991. }
  14992. }
  14993. }
  14994. }
  14995. },
  14996. "requestBody" : {
  14997. "content" : {
  14998. "application/json" : {
  14999. "schema" : {
  15000. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherCreateModel"
  15001. }
  15002. }
  15003. },
  15004. "required" : false
  15005. }
  15006. }
  15007. },
  15008. "/v3/alipay/marketing/activity/voucher/modify" : {
  15009. "post" : {
  15010. "tags" : [ "alipay.marketing.activity.voucher" ],
  15011. "summary" : "修改支付券基本信息",
  15012. "description" : "商户可以通过该接口修改支付券基本信息。 接口同步返回修改请求受理结果,后续通过alipay.marketing.activity.message.modified消息接口异步发送修改活动成功事件消息。 \n\n特别注意:修改支付券接口返回结果并不代表活动修改成功,必须等待消息回调后才能确保成功。 如果成功消息长时间未送达,请联系相关技术人员。\n",
  15013. "operationId" : "alipay.marketing.activity.voucher.modify",
  15014. "responses" : {
  15015. "200" : {
  15016. "description" : "common response",
  15017. "content" : {
  15018. "application/json" : {
  15019. "schema" : {
  15020. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherModifyResponseModel"
  15021. }
  15022. }
  15023. }
  15024. },
  15025. "default" : {
  15026. "description" : "请求失败",
  15027. "content" : {
  15028. "application/json" : {
  15029. "schema" : {
  15030. "anyOf" : [ {
  15031. "$ref" : "#/components/schemas/CommonErrorType"
  15032. }, {
  15033. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherModifyErrorResponseModel"
  15034. } ]
  15035. }
  15036. }
  15037. }
  15038. }
  15039. },
  15040. "requestBody" : {
  15041. "content" : {
  15042. "application/json" : {
  15043. "schema" : {
  15044. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherModifyModel"
  15045. }
  15046. }
  15047. },
  15048. "required" : false
  15049. }
  15050. }
  15051. },
  15052. "/v3/alipay/marketing/activity/voucher/publish" : {
  15053. "post" : {
  15054. "tags" : [ "alipay.marketing.activity.voucher" ],
  15055. "summary" : "激活支付券",
  15056. "description" : "支付券创建成功后,通过调用此接口激活支付券。 激活支付券接口同步返回请求受理结果,后续通过alipay.marketing.activity.message.created消息接口异步发送激活支付券成功事件消息。 如果成功消息长时间未送达,请联系相关技术人员。\n",
  15057. "operationId" : "alipay.marketing.activity.voucher.publish",
  15058. "responses" : {
  15059. "200" : {
  15060. "description" : "common response",
  15061. "content" : {
  15062. "application/json" : {
  15063. "schema" : {
  15064. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherPublishResponseModel"
  15065. }
  15066. }
  15067. }
  15068. },
  15069. "default" : {
  15070. "description" : "请求失败",
  15071. "content" : {
  15072. "application/json" : {
  15073. "schema" : {
  15074. "anyOf" : [ {
  15075. "$ref" : "#/components/schemas/CommonErrorType"
  15076. }, {
  15077. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherPublishErrorResponseModel"
  15078. } ]
  15079. }
  15080. }
  15081. }
  15082. }
  15083. },
  15084. "requestBody" : {
  15085. "content" : {
  15086. "application/json" : {
  15087. "schema" : {
  15088. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherPublishModel"
  15089. }
  15090. }
  15091. },
  15092. "required" : false
  15093. }
  15094. }
  15095. },
  15096. "/v3/alipay/marketing/activity/voucher/query" : {
  15097. "get" : {
  15098. "tags" : [ "alipay.marketing.activity.voucher" ],
  15099. "summary" : "查询支付券详情",
  15100. "description" : "通过此接口可查询支付券活动信息,包括活动的配置信息以及活动概况数据。",
  15101. "operationId" : "alipay.marketing.activity.voucher.query",
  15102. "responses" : {
  15103. "200" : {
  15104. "description" : "common response",
  15105. "content" : {
  15106. "application/json" : {
  15107. "schema" : {
  15108. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherQueryResponseModel"
  15109. }
  15110. }
  15111. }
  15112. },
  15113. "default" : {
  15114. "description" : "请求失败",
  15115. "content" : {
  15116. "application/json" : {
  15117. "schema" : {
  15118. "anyOf" : [ {
  15119. "$ref" : "#/components/schemas/CommonErrorType"
  15120. }, {
  15121. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherQueryErrorResponseModel"
  15122. } ]
  15123. }
  15124. }
  15125. }
  15126. }
  15127. },
  15128. "parameters" : [ {
  15129. "name" : "activity_id",
  15130. "in" : "query",
  15131. "description" : "活动 id",
  15132. "schema" : {
  15133. "type" : "string",
  15134. "example" : "2016042700826004508401111111"
  15135. }
  15136. }, {
  15137. "name" : "merchant_access_mode",
  15138. "in" : "query",
  15139. "description" : "商户接入模式。",
  15140. "schema" : {
  15141. "type" : "string",
  15142. "example" : "AGENCY_MODE"
  15143. }
  15144. } ]
  15145. }
  15146. },
  15147. "/v3/alipay/marketing/activity/voucher/send" : {
  15148. "post" : {
  15149. "tags" : [ "alipay.marketing.activity.voucher" ],
  15150. "summary" : "发放支付券",
  15151. "description" : "API完成制券后,可使用发放支付券接口发券。通过调用此接口可发放支付券给指定用户,发券场景可以是小程序、H5、APP等。",
  15152. "operationId" : "alipay.marketing.activity.voucher.send",
  15153. "responses" : {
  15154. "200" : {
  15155. "description" : "common response",
  15156. "content" : {
  15157. "application/json" : {
  15158. "schema" : {
  15159. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherSendResponseModel"
  15160. }
  15161. }
  15162. }
  15163. },
  15164. "default" : {
  15165. "description" : "请求失败",
  15166. "content" : {
  15167. "application/json" : {
  15168. "schema" : {
  15169. "anyOf" : [ {
  15170. "$ref" : "#/components/schemas/CommonErrorType"
  15171. }, {
  15172. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherSendErrorResponseModel"
  15173. } ]
  15174. }
  15175. }
  15176. }
  15177. }
  15178. },
  15179. "requestBody" : {
  15180. "content" : {
  15181. "application/json" : {
  15182. "schema" : {
  15183. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherSendModel"
  15184. }
  15185. }
  15186. },
  15187. "required" : false
  15188. }
  15189. }
  15190. },
  15191. "/v3/alipay/marketing/activity/voucher/stop" : {
  15192. "post" : {
  15193. "tags" : [ "alipay.marketing.activity.voucher" ],
  15194. "summary" : "停止支付券",
  15195. "description" : "商家调用该接口停止支付券。 停止支付券接口同步返回请求受理结果,后续通过alipay.marketing.activity.message.stopped消息接口异步发送停止活动成功事件。 如果成功消息长时间未送达,请联系相关技术人员。",
  15196. "operationId" : "alipay.marketing.activity.voucher.stop",
  15197. "responses" : {
  15198. "200" : {
  15199. "description" : "common response",
  15200. "content" : {
  15201. "application/json" : {
  15202. "schema" : {
  15203. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherStopResponseModel"
  15204. }
  15205. }
  15206. }
  15207. },
  15208. "default" : {
  15209. "description" : "请求失败",
  15210. "content" : {
  15211. "application/json" : {
  15212. "schema" : {
  15213. "anyOf" : [ {
  15214. "$ref" : "#/components/schemas/CommonErrorType"
  15215. }, {
  15216. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherStopErrorResponseModel"
  15217. } ]
  15218. }
  15219. }
  15220. }
  15221. }
  15222. },
  15223. "requestBody" : {
  15224. "content" : {
  15225. "application/json" : {
  15226. "schema" : {
  15227. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherStopModel"
  15228. }
  15229. }
  15230. },
  15231. "required" : false
  15232. }
  15233. }
  15234. },
  15235. "/v3/alipay/marketing/activity/voucherpackage/batchquery" : {
  15236. "post" : {
  15237. "tags" : [ "alipay.marketing.activity.voucherpackage" ],
  15238. "summary" : "券包批量查询",
  15239. "description" : "券包批量查询",
  15240. "operationId" : "alipay.marketing.activity.voucherpackage.batchquery",
  15241. "responses" : {
  15242. "200" : {
  15243. "description" : "common response",
  15244. "content" : {
  15245. "application/json" : {
  15246. "schema" : {
  15247. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageBatchqueryResponseModel"
  15248. }
  15249. }
  15250. }
  15251. },
  15252. "default" : {
  15253. "description" : "请求失败",
  15254. "content" : {
  15255. "application/json" : {
  15256. "schema" : {
  15257. "anyOf" : [ {
  15258. "$ref" : "#/components/schemas/CommonErrorType"
  15259. }, {
  15260. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageBatchqueryErrorResponseModel"
  15261. } ]
  15262. }
  15263. }
  15264. }
  15265. }
  15266. },
  15267. "requestBody" : {
  15268. "content" : {
  15269. "application/json" : {
  15270. "schema" : {
  15271. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageBatchqueryModel"
  15272. }
  15273. }
  15274. },
  15275. "required" : false
  15276. }
  15277. }
  15278. },
  15279. "/v3/alipay/marketing/activity/voucherpackage/consult" : {
  15280. "post" : {
  15281. "tags" : [ "alipay.marketing.activity.voucherpackage" ],
  15282. "summary" : "券包购买咨询",
  15283. "description" : "券包购买咨询,咨询当前用户是否可以购买指定的券包",
  15284. "operationId" : "alipay.marketing.activity.voucherpackage.consult",
  15285. "responses" : {
  15286. "200" : {
  15287. "description" : "common response",
  15288. "content" : {
  15289. "application/json" : {
  15290. "schema" : {
  15291. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageConsultResponseModel"
  15292. }
  15293. }
  15294. }
  15295. },
  15296. "default" : {
  15297. "description" : "请求失败",
  15298. "content" : {
  15299. "application/json" : {
  15300. "schema" : {
  15301. "anyOf" : [ {
  15302. "$ref" : "#/components/schemas/CommonErrorType"
  15303. }, {
  15304. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageConsultErrorResponseModel"
  15305. } ]
  15306. }
  15307. }
  15308. }
  15309. }
  15310. },
  15311. "parameters" : [ {
  15312. "$ref" : "#/components/parameters/AuthToken"
  15313. } ],
  15314. "requestBody" : {
  15315. "content" : {
  15316. "application/json" : {
  15317. "schema" : {
  15318. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageConsultModel"
  15319. }
  15320. }
  15321. },
  15322. "required" : false
  15323. }
  15324. }
  15325. },
  15326. "/v3/alipay/marketing/activity/voucherpackage/query" : {
  15327. "get" : {
  15328. "tags" : [ "alipay.marketing.activity.voucherpackage" ],
  15329. "summary" : "券包详情查询",
  15330. "description" : "查询券包详情,包括券包信息和券包下面券信息",
  15331. "operationId" : "alipay.marketing.activity.voucherpackage.query",
  15332. "responses" : {
  15333. "200" : {
  15334. "description" : "common response",
  15335. "content" : {
  15336. "application/json" : {
  15337. "schema" : {
  15338. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageQueryResponseModel"
  15339. }
  15340. }
  15341. }
  15342. },
  15343. "default" : {
  15344. "description" : "请求失败",
  15345. "content" : {
  15346. "application/json" : {
  15347. "schema" : {
  15348. "anyOf" : [ {
  15349. "$ref" : "#/components/schemas/CommonErrorType"
  15350. }, {
  15351. "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageQueryErrorResponseModel"
  15352. } ]
  15353. }
  15354. }
  15355. }
  15356. }
  15357. },
  15358. "parameters" : [ {
  15359. "name" : "voucher_package_id",
  15360. "in" : "query",
  15361. "description" : "券包id",
  15362. "schema" : {
  15363. "type" : "string",
  15364. "example" : "IP20220628016671405804297103167741"
  15365. }
  15366. } ]
  15367. }
  15368. },
  15369. "/v3/alipay/marketing/activity/{activity_id}" : {
  15370. "get" : {
  15371. "tags" : [ "alipay.marketing.activity" ],
  15372. "summary" : "查询活动详情",
  15373. "description" : "通过此接口可以查询活动详情,包括支付券和商家券活动。",
  15374. "operationId" : "alipay.marketing.activity.query",
  15375. "responses" : {
  15376. "200" : {
  15377. "description" : "common response",
  15378. "content" : {
  15379. "application/json" : {
  15380. "schema" : {
  15381. "$ref" : "#/components/schemas/AlipayMarketingActivityQueryResponseModel"
  15382. }
  15383. }
  15384. }
  15385. },
  15386. "default" : {
  15387. "description" : "请求失败",
  15388. "content" : {
  15389. "application/json" : {
  15390. "schema" : {
  15391. "anyOf" : [ {
  15392. "$ref" : "#/components/schemas/CommonErrorType"
  15393. }, {
  15394. "$ref" : "#/components/schemas/AlipayMarketingActivityQueryErrorResponseModel"
  15395. } ]
  15396. }
  15397. }
  15398. }
  15399. }
  15400. },
  15401. "parameters" : [ {
  15402. "name" : "activity_id",
  15403. "in" : "path",
  15404. "description" : "活动id",
  15405. "required" : true,
  15406. "schema" : {
  15407. "type" : "string",
  15408. "example" : "2016042700826004508401111111"
  15409. }
  15410. }, {
  15411. "name" : "merchant_id",
  15412. "in" : "query",
  15413. "description" : "商户PID,默认为当前接口调用商户。",
  15414. "schema" : {
  15415. "type" : "string",
  15416. "example" : "2088202967380463"
  15417. }
  15418. }, {
  15419. "name" : "merchant_access_mode",
  15420. "in" : "query",
  15421. "description" : "商户接入模式。",
  15422. "schema" : {
  15423. "type" : "string",
  15424. "example" : "AGENCY_MODE"
  15425. }
  15426. } ]
  15427. }
  15428. },
  15429. "/v3/alipay/marketing/activity/{activity_id}/app/batchquery" : {
  15430. "get" : {
  15431. "tags" : [ "alipay.marketing.activity.app" ],
  15432. "summary" : "查询活动可用小程序",
  15433. "description" : "通过此接口可查询活动的可用小程序,判断活动是否在该小程序可用,来决定是否展示。",
  15434. "operationId" : "alipay.marketing.activity.app.batchquery",
  15435. "responses" : {
  15436. "200" : {
  15437. "description" : "common response",
  15438. "content" : {
  15439. "application/json" : {
  15440. "schema" : {
  15441. "$ref" : "#/components/schemas/AlipayMarketingActivityAppBatchqueryResponseModel"
  15442. }
  15443. }
  15444. }
  15445. },
  15446. "default" : {
  15447. "description" : "请求失败",
  15448. "content" : {
  15449. "application/json" : {
  15450. "schema" : {
  15451. "anyOf" : [ {
  15452. "$ref" : "#/components/schemas/CommonErrorType"
  15453. }, {
  15454. "$ref" : "#/components/schemas/AlipayMarketingActivityAppBatchqueryErrorResponseModel"
  15455. } ]
  15456. }
  15457. }
  15458. }
  15459. }
  15460. },
  15461. "parameters" : [ {
  15462. "name" : "merchant_id",
  15463. "in" : "query",
  15464. "description" : "商户PID,默认为当前接口调用商户 \t限制: \t接口调用者必须有商户代运营权限。 \t\t代运营授权流程https://opendocs.alipay.com/mini/01hm6i#%E4%BB%A3%E8%BF%90%E8%90%A5%E6%8E%88%E6%9D%83",
  15465. "schema" : {
  15466. "type" : "string",
  15467. "example" : "2088202967380463"
  15468. }
  15469. }, {
  15470. "name" : "activity_id",
  15471. "in" : "path",
  15472. "description" : "活动id",
  15473. "required" : true,
  15474. "schema" : {
  15475. "type" : "string",
  15476. "example" : "2016042700826004508401111111"
  15477. }
  15478. }, {
  15479. "name" : "page_num",
  15480. "in" : "query",
  15481. "description" : "分页查询页码。 \t限制:\t必须为大于0的整数",
  15482. "schema" : {
  15483. "type" : "integer",
  15484. "example" : "1"
  15485. }
  15486. }, {
  15487. "name" : "page_size",
  15488. "in" : "query",
  15489. "description" : "分页查询单页数据条数。 \t限制: \t1.必须为大于0的整数 \t2.每页最大值为20",
  15490. "schema" : {
  15491. "type" : "string",
  15492. "example" : "20"
  15493. }
  15494. }, {
  15495. "name" : "merchant_access_mode",
  15496. "in" : "query",
  15497. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  15498. "schema" : {
  15499. "type" : "string",
  15500. "example" : "AGENCY_MODE"
  15501. }
  15502. } ]
  15503. }
  15504. },
  15505. "/v3/alipay/marketing/activity/{activity_id}/goods/batchquery" : {
  15506. "get" : {
  15507. "tags" : [ "alipay.marketing.activity.goods" ],
  15508. "summary" : "查询活动适用商品",
  15509. "description" : "通过此接口可查询活动的可用或不可用商品,判断是否在该商品可用,来决定是否展示。",
  15510. "operationId" : "alipay.marketing.activity.goods.batchquery",
  15511. "responses" : {
  15512. "200" : {
  15513. "description" : "common response",
  15514. "content" : {
  15515. "application/json" : {
  15516. "schema" : {
  15517. "$ref" : "#/components/schemas/AlipayMarketingActivityGoodsBatchqueryResponseModel"
  15518. }
  15519. }
  15520. }
  15521. },
  15522. "default" : {
  15523. "description" : "请求失败",
  15524. "content" : {
  15525. "application/json" : {
  15526. "schema" : {
  15527. "anyOf" : [ {
  15528. "$ref" : "#/components/schemas/CommonErrorType"
  15529. }, {
  15530. "$ref" : "#/components/schemas/AlipayMarketingActivityGoodsBatchqueryErrorResponseModel"
  15531. } ]
  15532. }
  15533. }
  15534. }
  15535. }
  15536. },
  15537. "parameters" : [ {
  15538. "name" : "merchant_id",
  15539. "in" : "query",
  15540. "description" : "商户PID,默认为当前接口调用商户 \t限制: \t接口调用者必须有商户代运营权限。 \t\t代运营授权流程https://opendocs.alipay.com/mini/01hm6i#%E4%BB%A3%E8%BF%90%E8%90%A5%E6%8E%88%E6%9D%83",
  15541. "schema" : {
  15542. "type" : "string",
  15543. "example" : "2088202967380463"
  15544. }
  15545. }, {
  15546. "name" : "activity_id",
  15547. "in" : "path",
  15548. "description" : "活动id",
  15549. "required" : true,
  15550. "schema" : {
  15551. "type" : "string",
  15552. "example" : "2016042700826004508401111111"
  15553. }
  15554. }, {
  15555. "name" : "goods_use_type",
  15556. "in" : "query",
  15557. "description" : "活动单品类型。\t枚举值:\tAVAILABLE 可用商品\tUNAVAILABLE 不可用商品",
  15558. "schema" : {
  15559. "type" : "string",
  15560. "example" : "AVAILABLE"
  15561. }
  15562. }, {
  15563. "name" : "page_num",
  15564. "in" : "query",
  15565. "description" : "分页查询页码。\t限制:\t必须为大于0的整数",
  15566. "schema" : {
  15567. "type" : "integer",
  15568. "example" : "1"
  15569. }
  15570. }, {
  15571. "name" : "page_size",
  15572. "in" : "query",
  15573. "description" : "分页查询单页数据条数。\t限制:\t1.必须为大于0的整数\t2.每页最大值为20",
  15574. "schema" : {
  15575. "type" : "integer",
  15576. "example" : "20"
  15577. }
  15578. }, {
  15579. "name" : "product_version",
  15580. "in" : "query",
  15581. "description" : "版本号\t\t枚举值:\t2.0.0",
  15582. "schema" : {
  15583. "type" : "string",
  15584. "example" : "2.0.0"
  15585. }
  15586. }, {
  15587. "name" : "merchant_access_mode",
  15588. "in" : "query",
  15589. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  15590. "schema" : {
  15591. "type" : "string",
  15592. "example" : "AGENCY_MODE"
  15593. }
  15594. } ]
  15595. }
  15596. },
  15597. "/v3/alipay/marketing/activity/{activity_id}/merchant/batchquery" : {
  15598. "get" : {
  15599. "tags" : [ "alipay.marketing.activity.merchant" ],
  15600. "summary" : "查询活动可用商户",
  15601. "description" : "通过此接口可查询活动的可用商户,判断活动是否在某商户可用,来决定是否展示。",
  15602. "operationId" : "alipay.marketing.activity.merchant.batchquery",
  15603. "responses" : {
  15604. "200" : {
  15605. "description" : "common response",
  15606. "content" : {
  15607. "application/json" : {
  15608. "schema" : {
  15609. "$ref" : "#/components/schemas/AlipayMarketingActivityMerchantBatchqueryResponseModel"
  15610. }
  15611. }
  15612. }
  15613. },
  15614. "default" : {
  15615. "description" : "请求失败",
  15616. "content" : {
  15617. "application/json" : {
  15618. "schema" : {
  15619. "anyOf" : [ {
  15620. "$ref" : "#/components/schemas/CommonErrorType"
  15621. }, {
  15622. "$ref" : "#/components/schemas/AlipayMarketingActivityMerchantBatchqueryErrorResponseModel"
  15623. } ]
  15624. }
  15625. }
  15626. }
  15627. }
  15628. },
  15629. "parameters" : [ {
  15630. "name" : "merchant_id",
  15631. "in" : "query",
  15632. "description" : "商户PID,默认为当前接口调用商户 \t限制: \t接口调用者必须有商户代运营权限。 \t\t代运营授权流程https://opendocs.alipay.com/mini/01hm6i#%E4%BB%A3%E8%BF%90%E8%90%A5%E6%8E%88%E6%9D%83",
  15633. "schema" : {
  15634. "type" : "string",
  15635. "example" : "2088202967380463"
  15636. }
  15637. }, {
  15638. "name" : "activity_id",
  15639. "in" : "path",
  15640. "description" : "活动id",
  15641. "required" : true,
  15642. "schema" : {
  15643. "type" : "string",
  15644. "example" : "2016042700826004508401111111"
  15645. }
  15646. }, {
  15647. "name" : "page_num",
  15648. "in" : "query",
  15649. "description" : "分页查询页码。 \t限制: \t必须为大于0的整数",
  15650. "schema" : {
  15651. "type" : "integer",
  15652. "example" : "1"
  15653. }
  15654. }, {
  15655. "name" : "page_size",
  15656. "in" : "query",
  15657. "description" : "分页查询单页数据条数。 \t限制: \t1.必须为大于0的整数 \t2.每页最大值为20",
  15658. "schema" : {
  15659. "type" : "integer",
  15660. "example" : "20"
  15661. }
  15662. }, {
  15663. "name" : "merchant_access_mode",
  15664. "in" : "query",
  15665. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  15666. "schema" : {
  15667. "type" : "string",
  15668. "example" : "AGENCY_MODE"
  15669. }
  15670. } ]
  15671. }
  15672. },
  15673. "/v3/alipay/marketing/activity/{activity_id}/shop/batchquery" : {
  15674. "get" : {
  15675. "tags" : [ "alipay.marketing.activity.shop" ],
  15676. "summary" : "查询活动可用球房",
  15677. "description" : "通过此接口可查询活动的可用球房,判断券是否在某球房可用,来决定是否展示。",
  15678. "operationId" : "alipay.marketing.activity.shop.batchquery",
  15679. "responses" : {
  15680. "200" : {
  15681. "description" : "common response",
  15682. "content" : {
  15683. "application/json" : {
  15684. "schema" : {
  15685. "$ref" : "#/components/schemas/AlipayMarketingActivityShopBatchqueryResponseModel"
  15686. }
  15687. }
  15688. }
  15689. },
  15690. "default" : {
  15691. "description" : "请求失败",
  15692. "content" : {
  15693. "application/json" : {
  15694. "schema" : {
  15695. "anyOf" : [ {
  15696. "$ref" : "#/components/schemas/CommonErrorType"
  15697. }, {
  15698. "$ref" : "#/components/schemas/AlipayMarketingActivityShopBatchqueryErrorResponseModel"
  15699. } ]
  15700. }
  15701. }
  15702. }
  15703. }
  15704. },
  15705. "parameters" : [ {
  15706. "name" : "merchant_id",
  15707. "in" : "query",
  15708. "description" : "商户PID,默认为当前接口调用商户 \t限制: \t接口调用者必须有商户代运营权限。 \t\t代运营授权流程https://opendocs.alipay.com/mini/01hm6i#%E4%BB%A3%E8%BF%90%E8%90%A5%E6%8E%88%E6%9D%83",
  15709. "schema" : {
  15710. "type" : "string",
  15711. "example" : "2088202967380463"
  15712. }
  15713. }, {
  15714. "name" : "activity_id",
  15715. "in" : "path",
  15716. "description" : "活动id",
  15717. "required" : true,
  15718. "schema" : {
  15719. "type" : "string",
  15720. "example" : "2016042700826004508401111111"
  15721. }
  15722. }, {
  15723. "name" : "page_num",
  15724. "in" : "query",
  15725. "description" : "分页查询页码。 \t限制: \t必须为大于0的整数",
  15726. "schema" : {
  15727. "type" : "integer",
  15728. "example" : "1"
  15729. }
  15730. }, {
  15731. "name" : "page_size",
  15732. "in" : "query",
  15733. "description" : "分页查询单页数据条数。 \t限制: \t1.必须为大于0的整数 \t2.每页最大值为20",
  15734. "schema" : {
  15735. "type" : "integer",
  15736. "example" : "20"
  15737. }
  15738. }, {
  15739. "name" : "product_version",
  15740. "in" : "query",
  15741. "description" : "版本号\t\t枚举值:\t2.0.0",
  15742. "schema" : {
  15743. "type" : "string",
  15744. "example" : "2.0.0"
  15745. }
  15746. }, {
  15747. "name" : "merchant_access_mode",
  15748. "in" : "query",
  15749. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  15750. "schema" : {
  15751. "type" : "string",
  15752. "example" : "AGENCY_MODE"
  15753. }
  15754. } ]
  15755. }
  15756. },
  15757. "/v3/alipay/marketing/campaign/cash/create" : {
  15758. "post" : {
  15759. "tags" : [ "alipay.marketing.campaign.cash" ],
  15760. "summary" : "创建现金活动",
  15761. "description" : "商户通过开放平台创建商户活动",
  15762. "operationId" : "alipay.marketing.campaign.cash.create",
  15763. "responses" : {
  15764. "200" : {
  15765. "description" : "common response",
  15766. "content" : {
  15767. "application/json" : {
  15768. "schema" : {
  15769. "$ref" : "#/components/schemas/AlipayMarketingCampaignCashCreateResponseModel"
  15770. }
  15771. }
  15772. }
  15773. },
  15774. "default" : {
  15775. "description" : "请求失败",
  15776. "content" : {
  15777. "application/json" : {
  15778. "schema" : {
  15779. "anyOf" : [ {
  15780. "$ref" : "#/components/schemas/CommonErrorType"
  15781. }, {
  15782. "$ref" : "#/components/schemas/AlipayMarketingCampaignCashCreateErrorResponseModel"
  15783. } ]
  15784. }
  15785. }
  15786. }
  15787. }
  15788. },
  15789. "requestBody" : {
  15790. "content" : {
  15791. "application/json" : {
  15792. "schema" : {
  15793. "$ref" : "#/components/schemas/AlipayMarketingCampaignCashCreateModel"
  15794. }
  15795. }
  15796. },
  15797. "required" : false
  15798. }
  15799. }
  15800. },
  15801. "/v3/alipay/marketing/campaign/cash/detail/query" : {
  15802. "get" : {
  15803. "tags" : [ "alipay.marketing.campaign.cash.detail" ],
  15804. "summary" : "现金活动详情查询",
  15805. "description" : "商户通过开放平台查询自己创建的现金活动详情",
  15806. "operationId" : "alipay.marketing.campaign.cash.detail.query",
  15807. "responses" : {
  15808. "200" : {
  15809. "description" : "common response",
  15810. "content" : {
  15811. "application/json" : {
  15812. "schema" : {
  15813. "$ref" : "#/components/schemas/AlipayMarketingCampaignCashDetailQueryResponseModel"
  15814. }
  15815. }
  15816. }
  15817. },
  15818. "default" : {
  15819. "description" : "请求失败",
  15820. "content" : {
  15821. "application/json" : {
  15822. "schema" : {
  15823. "anyOf" : [ {
  15824. "$ref" : "#/components/schemas/CommonErrorType"
  15825. }, {
  15826. "$ref" : "#/components/schemas/AlipayMarketingCampaignCashDetailQueryErrorResponseModel"
  15827. } ]
  15828. }
  15829. }
  15830. }
  15831. }
  15832. },
  15833. "parameters" : [ {
  15834. "name" : "crowd_no",
  15835. "in" : "query",
  15836. "description" : "现金活动号,通过<a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.campaign.cash.create\">alipay.marketing.campaign.cash.create</a>(创建现金活动)接口创建现金活动获取。",
  15837. "schema" : {
  15838. "type" : "string",
  15839. "example" : "POYb84lfiKVdIfERAYsqPL_KQRIpfQbl47xfRmmPBlDMnSZ96O-zxUfKlHp5cxmx"
  15840. }
  15841. } ]
  15842. }
  15843. },
  15844. "/v3/alipay/marketing/campaign/cash/list/query" : {
  15845. "get" : {
  15846. "tags" : [ "alipay.marketing.campaign.cash.list" ],
  15847. "summary" : "现金活动列表查询",
  15848. "description" : "商户通过开放平台查询自己创建的现金活动列表",
  15849. "operationId" : "alipay.marketing.campaign.cash.list.query",
  15850. "responses" : {
  15851. "200" : {
  15852. "description" : "common response",
  15853. "content" : {
  15854. "application/json" : {
  15855. "schema" : {
  15856. "$ref" : "#/components/schemas/AlipayMarketingCampaignCashListQueryResponseModel"
  15857. }
  15858. }
  15859. }
  15860. },
  15861. "default" : {
  15862. "description" : "请求失败",
  15863. "content" : {
  15864. "application/json" : {
  15865. "schema" : {
  15866. "anyOf" : [ {
  15867. "$ref" : "#/components/schemas/CommonErrorType"
  15868. }, {
  15869. "$ref" : "#/components/schemas/AlipayMarketingCampaignCashListQueryErrorResponseModel"
  15870. } ]
  15871. }
  15872. }
  15873. }
  15874. }
  15875. },
  15876. "parameters" : [ {
  15877. "name" : "camp_status",
  15878. "in" : "query",
  15879. "description" : "要查询的活动状态,不填默认为 ALL 返回所有类型。枚举支持:\t*ALL:所有类型的活动。\t*CREATED:已创建未打款。\t*PAID:已打款。\t*READY:活动已开始。\t*PAUSE:活动已暂停。\t*CLOSED:活动已结束。\t*SETTLE:活动已清算。",
  15880. "schema" : {
  15881. "type" : "string",
  15882. "example" : "PAID"
  15883. }
  15884. }, {
  15885. "name" : "page_size",
  15886. "in" : "query",
  15887. "description" : "分页查询时每页返回的列表大小,每页数据最大为 50。",
  15888. "schema" : {
  15889. "type" : "string",
  15890. "example" : "10"
  15891. }
  15892. }, {
  15893. "name" : "page_index",
  15894. "in" : "query",
  15895. "description" : "分页查询时的页码,从1开始",
  15896. "schema" : {
  15897. "type" : "string",
  15898. "example" : "1"
  15899. }
  15900. } ]
  15901. }
  15902. },
  15903. "/v3/alipay/marketing/campaign/cash/status/modify" : {
  15904. "post" : {
  15905. "tags" : [ "alipay.marketing.campaign.cash.status" ],
  15906. "summary" : "更改现金活动状态",
  15907. "description" : "商户更改现金活动状态,启动/暂停/终止",
  15908. "operationId" : "alipay.marketing.campaign.cash.status.modify",
  15909. "responses" : {
  15910. "200" : {
  15911. "description" : "common response",
  15912. "content" : {
  15913. "application/json" : {
  15914. "schema" : {
  15915. "$ref" : "#/components/schemas/AlipayMarketingCampaignCashStatusModifyResponseModel"
  15916. }
  15917. }
  15918. }
  15919. },
  15920. "default" : {
  15921. "description" : "请求失败",
  15922. "content" : {
  15923. "application/json" : {
  15924. "schema" : {
  15925. "anyOf" : [ {
  15926. "$ref" : "#/components/schemas/CommonErrorType"
  15927. }, {
  15928. "$ref" : "#/components/schemas/AlipayMarketingCampaignCashStatusModifyErrorResponseModel"
  15929. } ]
  15930. }
  15931. }
  15932. }
  15933. }
  15934. },
  15935. "requestBody" : {
  15936. "content" : {
  15937. "application/json" : {
  15938. "schema" : {
  15939. "$ref" : "#/components/schemas/AlipayMarketingCampaignCashStatusModifyModel"
  15940. }
  15941. }
  15942. },
  15943. "required" : false
  15944. }
  15945. }
  15946. },
  15947. "/v3/alipay/marketing/campaign/cash/trigger" : {
  15948. "post" : {
  15949. "tags" : [ "alipay.marketing.campaign.cash" ],
  15950. "summary" : "触发现金红包活动",
  15951. "description" : "用户通过开放平台参与现金活动",
  15952. "operationId" : "alipay.marketing.campaign.cash.trigger",
  15953. "responses" : {
  15954. "200" : {
  15955. "description" : "common response",
  15956. "content" : {
  15957. "application/json" : {
  15958. "schema" : {
  15959. "$ref" : "#/components/schemas/AlipayMarketingCampaignCashTriggerResponseModel"
  15960. }
  15961. }
  15962. }
  15963. },
  15964. "default" : {
  15965. "description" : "请求失败",
  15966. "content" : {
  15967. "application/json" : {
  15968. "schema" : {
  15969. "anyOf" : [ {
  15970. "$ref" : "#/components/schemas/CommonErrorType"
  15971. }, {
  15972. "$ref" : "#/components/schemas/AlipayMarketingCampaignCashTriggerErrorResponseModel"
  15973. } ]
  15974. }
  15975. }
  15976. }
  15977. }
  15978. },
  15979. "requestBody" : {
  15980. "content" : {
  15981. "application/json" : {
  15982. "schema" : {
  15983. "$ref" : "#/components/schemas/AlipayMarketingCampaignCashTriggerModel"
  15984. }
  15985. }
  15986. },
  15987. "required" : false
  15988. }
  15989. }
  15990. },
  15991. "/v3/alipay/marketing/campaign/order/voucher/consult" : {
  15992. "post" : {
  15993. "tags" : [ "alipay.marketing.campaign.order.voucher" ],
  15994. "summary" : "订单优惠前置咨询",
  15995. "description" : "本接口用于前置优惠咨询,包括本订单可享的优惠券列表,注意该列表并不等价于最终核销时使用的券列表,而是包含了咨询的那一刻该订单能用的所有券,且券满足叠加使用下的互斥等规则",
  15996. "operationId" : "alipay.marketing.campaign.order.voucher.consult",
  15997. "responses" : {
  15998. "200" : {
  15999. "description" : "common response",
  16000. "content" : {
  16001. "application/json" : {
  16002. "schema" : {
  16003. "$ref" : "#/components/schemas/AlipayMarketingCampaignOrderVoucherConsultResponseModel"
  16004. }
  16005. }
  16006. }
  16007. },
  16008. "default" : {
  16009. "description" : "请求失败",
  16010. "content" : {
  16011. "application/json" : {
  16012. "schema" : {
  16013. "anyOf" : [ {
  16014. "$ref" : "#/components/schemas/CommonErrorType"
  16015. }, {
  16016. "$ref" : "#/components/schemas/AlipayMarketingCampaignOrderVoucherConsultErrorResponseModel"
  16017. } ]
  16018. }
  16019. }
  16020. }
  16021. }
  16022. },
  16023. "parameters" : [ {
  16024. "$ref" : "#/components/parameters/AuthToken"
  16025. } ],
  16026. "requestBody" : {
  16027. "content" : {
  16028. "application/json" : {
  16029. "schema" : {
  16030. "$ref" : "#/components/schemas/AlipayMarketingCampaignOrderVoucherConsultModel"
  16031. }
  16032. }
  16033. },
  16034. "required" : false
  16035. }
  16036. }
  16037. },
  16038. "/v3/alipay/marketing/card/activateform/query" : {
  16039. "get" : {
  16040. "tags" : [ "alipay.marketing.card.activateform" ],
  16041. "summary" : "查询用户提交的会员卡表单信息",
  16042. "description" : "会员卡开卡场景下,用户确认领卡后,跳转到商户开卡处理页面,商户通过该接口查询用户表单信息。",
  16043. "operationId" : "alipay.marketing.card.activateform.query",
  16044. "responses" : {
  16045. "200" : {
  16046. "description" : "common response",
  16047. "content" : {
  16048. "application/json" : {
  16049. "schema" : {
  16050. "$ref" : "#/components/schemas/AlipayMarketingCardActivateformQueryResponseModel"
  16051. }
  16052. }
  16053. }
  16054. },
  16055. "default" : {
  16056. "description" : "请求失败",
  16057. "content" : {
  16058. "application/json" : {
  16059. "schema" : {
  16060. "anyOf" : [ {
  16061. "$ref" : "#/components/schemas/CommonErrorType"
  16062. }, {
  16063. "$ref" : "#/components/schemas/AlipayMarketingCardActivateformQueryErrorResponseModel"
  16064. } ]
  16065. }
  16066. }
  16067. }
  16068. }
  16069. },
  16070. "parameters" : [ {
  16071. "$ref" : "#/components/parameters/AuthToken"
  16072. }, {
  16073. "name" : "biz_type",
  16074. "in" : "query",
  16075. "description" : "开放表单信息查询业务类型,可选类型如下:\tMEMBER_CARD :商家会员卡开卡",
  16076. "schema" : {
  16077. "type" : "string",
  16078. "example" : "MEMBER_CARD"
  16079. }
  16080. }, {
  16081. "name" : "template_id",
  16082. "in" : "query",
  16083. "description" : "会员卡模板id。使用会员卡模板创建接口(alipay.marketing.card.template.create)返回的结果",
  16084. "schema" : {
  16085. "type" : "string",
  16086. "example" : "2071828288283883"
  16087. }
  16088. }, {
  16089. "name" : "request_id",
  16090. "in" : "query",
  16091. "description" : "查询用户表单提交信息的请求id。\t\t网页移动应用&小程序应用:与auth_code 一起通过alipay.marketing.card.activateurl.apply(获取会员卡领卡投放链接)接口callback地址回传。\t\t注意:auth_code(用户授权码)用于换取用户授权令牌 accessToken,后续调用接口需传入accessToken。",
  16092. "schema" : {
  16093. "type" : "string",
  16094. "example" : "2017021929993993992839493394"
  16095. }
  16096. } ]
  16097. }
  16098. },
  16099. "/v3/alipay/marketing/card/activateurl/apply" : {
  16100. "post" : {
  16101. "tags" : [ "alipay.marketing.card.activateurl" ],
  16102. "summary" : "获取会员卡领卡投放链接",
  16103. "description" : "会员卡开卡业务,开发者通过该接口获取用户开卡链接,用于会员卡投放。",
  16104. "operationId" : "alipay.marketing.card.activateurl.apply",
  16105. "responses" : {
  16106. "200" : {
  16107. "description" : "common response",
  16108. "content" : {
  16109. "application/json" : {
  16110. "schema" : {
  16111. "$ref" : "#/components/schemas/AlipayMarketingCardActivateurlApplyResponseModel"
  16112. }
  16113. }
  16114. }
  16115. },
  16116. "default" : {
  16117. "description" : "请求失败",
  16118. "content" : {
  16119. "application/json" : {
  16120. "schema" : {
  16121. "anyOf" : [ {
  16122. "$ref" : "#/components/schemas/CommonErrorType"
  16123. }, {
  16124. "$ref" : "#/components/schemas/AlipayMarketingCardActivateurlApplyErrorResponseModel"
  16125. } ]
  16126. }
  16127. }
  16128. }
  16129. }
  16130. },
  16131. "requestBody" : {
  16132. "content" : {
  16133. "application/json" : {
  16134. "schema" : {
  16135. "$ref" : "#/components/schemas/AlipayMarketingCardActivateurlApplyModel"
  16136. }
  16137. }
  16138. },
  16139. "required" : false
  16140. }
  16141. }
  16142. },
  16143. "/v3/alipay/marketing/card/benefit/create" : {
  16144. "post" : {
  16145. "tags" : [ "alipay.marketing.card.benefit" ],
  16146. "summary" : "会员卡模板外部权益创建",
  16147. "description" : "会员卡模板外部权益创建,创建的权益内容信息将展示在卡包中卡详情页中部区域。",
  16148. "operationId" : "alipay.marketing.card.benefit.create",
  16149. "responses" : {
  16150. "200" : {
  16151. "description" : "common response",
  16152. "content" : {
  16153. "application/json" : {
  16154. "schema" : {
  16155. "$ref" : "#/components/schemas/AlipayMarketingCardBenefitCreateResponseModel"
  16156. }
  16157. }
  16158. }
  16159. },
  16160. "default" : {
  16161. "description" : "请求失败",
  16162. "content" : {
  16163. "application/json" : {
  16164. "schema" : {
  16165. "anyOf" : [ {
  16166. "$ref" : "#/components/schemas/CommonErrorType"
  16167. }, {
  16168. "$ref" : "#/components/schemas/AlipayMarketingCardBenefitCreateErrorResponseModel"
  16169. } ]
  16170. }
  16171. }
  16172. }
  16173. }
  16174. },
  16175. "requestBody" : {
  16176. "content" : {
  16177. "application/json" : {
  16178. "schema" : {
  16179. "$ref" : "#/components/schemas/AlipayMarketingCardBenefitCreateModel"
  16180. }
  16181. }
  16182. },
  16183. "required" : false
  16184. }
  16185. }
  16186. },
  16187. "/v3/alipay/marketing/card/benefit/delete" : {
  16188. "delete" : {
  16189. "tags" : [ "alipay.marketing.card.benefit" ],
  16190. "summary" : "会员卡模板外部权益删除",
  16191. "description" : "会员卡模板外部权益删除",
  16192. "operationId" : "alipay.marketing.card.benefit.delete",
  16193. "responses" : {
  16194. "200" : {
  16195. "description" : "common response",
  16196. "content" : {
  16197. "application/json" : {
  16198. "schema" : {
  16199. "$ref" : "#/components/schemas/AlipayMarketingCardBenefitDeleteResponseModel"
  16200. }
  16201. }
  16202. }
  16203. },
  16204. "default" : {
  16205. "description" : "请求失败",
  16206. "content" : {
  16207. "application/json" : {
  16208. "schema" : {
  16209. "anyOf" : [ {
  16210. "$ref" : "#/components/schemas/CommonErrorType"
  16211. }, {
  16212. "$ref" : "#/components/schemas/AlipayMarketingCardBenefitDeleteErrorResponseModel"
  16213. } ]
  16214. }
  16215. }
  16216. }
  16217. }
  16218. },
  16219. "parameters" : [ {
  16220. "name" : "template_id",
  16221. "in" : "query",
  16222. "description" : "会员卡模板ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.template.create\">alipay.marketing.card.template.create</a>(会员卡模板创建)接口创建会员卡模板获取。",
  16223. "schema" : {
  16224. "type" : "string",
  16225. "example" : "20170322000000000068101000300041"
  16226. }
  16227. }, {
  16228. "name" : "benefit_id",
  16229. "in" : "query",
  16230. "description" : "权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。",
  16231. "schema" : {
  16232. "type" : "string",
  16233. "example" : "20170322000000000068101000300041"
  16234. }
  16235. } ]
  16236. }
  16237. },
  16238. "/v3/alipay/marketing/card/benefit/modify" : {
  16239. "post" : {
  16240. "tags" : [ "alipay.marketing.card.benefit" ],
  16241. "summary" : "会员卡模板外部权益修改",
  16242. "description" : "会员卡模板外部权益修改",
  16243. "operationId" : "alipay.marketing.card.benefit.modify",
  16244. "responses" : {
  16245. "200" : {
  16246. "description" : "common response",
  16247. "content" : {
  16248. "application/json" : {
  16249. "schema" : {
  16250. "$ref" : "#/components/schemas/AlipayMarketingCardBenefitModifyResponseModel"
  16251. }
  16252. }
  16253. }
  16254. },
  16255. "default" : {
  16256. "description" : "请求失败",
  16257. "content" : {
  16258. "application/json" : {
  16259. "schema" : {
  16260. "anyOf" : [ {
  16261. "$ref" : "#/components/schemas/CommonErrorType"
  16262. }, {
  16263. "$ref" : "#/components/schemas/AlipayMarketingCardBenefitModifyErrorResponseModel"
  16264. } ]
  16265. }
  16266. }
  16267. }
  16268. }
  16269. },
  16270. "requestBody" : {
  16271. "content" : {
  16272. "application/json" : {
  16273. "schema" : {
  16274. "$ref" : "#/components/schemas/AlipayMarketingCardBenefitModifyModel"
  16275. }
  16276. }
  16277. },
  16278. "required" : false
  16279. }
  16280. }
  16281. },
  16282. "/v3/alipay/marketing/card/benefit/query" : {
  16283. "get" : {
  16284. "tags" : [ "alipay.marketing.card.benefit" ],
  16285. "summary" : "会员卡模板外部权益查询",
  16286. "description" : "会员卡模板外部权益查询",
  16287. "operationId" : "alipay.marketing.card.benefit.query",
  16288. "responses" : {
  16289. "200" : {
  16290. "description" : "common response",
  16291. "content" : {
  16292. "application/json" : {
  16293. "schema" : {
  16294. "$ref" : "#/components/schemas/AlipayMarketingCardBenefitQueryResponseModel"
  16295. }
  16296. }
  16297. }
  16298. },
  16299. "default" : {
  16300. "description" : "请求失败",
  16301. "content" : {
  16302. "application/json" : {
  16303. "schema" : {
  16304. "anyOf" : [ {
  16305. "$ref" : "#/components/schemas/CommonErrorType"
  16306. }, {
  16307. "$ref" : "#/components/schemas/AlipayMarketingCardBenefitQueryErrorResponseModel"
  16308. } ]
  16309. }
  16310. }
  16311. }
  16312. }
  16313. },
  16314. "parameters" : [ {
  16315. "name" : "template_id",
  16316. "in" : "query",
  16317. "description" : "会员卡模板ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.template.create\">alipay.marketing.card.template.create</a>(会员卡模板创建)接口创建会员卡模板获取。",
  16318. "schema" : {
  16319. "type" : "string",
  16320. "example" : "20170322000000000068101000300041"
  16321. }
  16322. }, {
  16323. "name" : "benefit_id",
  16324. "in" : "query",
  16325. "description" : "权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。",
  16326. "schema" : {
  16327. "type" : "string",
  16328. "example" : "20170322000000000068101000300041"
  16329. }
  16330. } ]
  16331. }
  16332. },
  16333. "/v3/alipay/marketing/card/consume/sync" : {
  16334. "post" : {
  16335. "tags" : [ "alipay.marketing.card.consume" ],
  16336. "summary" : "会员卡消费记录同步",
  16337. "description" : "会员卡消费记录同步",
  16338. "operationId" : "alipay.marketing.card.consume.sync",
  16339. "responses" : {
  16340. "200" : {
  16341. "description" : "common response",
  16342. "content" : {
  16343. "application/json" : {
  16344. "schema" : {
  16345. "$ref" : "#/components/schemas/AlipayMarketingCardConsumeSyncResponseModel"
  16346. }
  16347. }
  16348. }
  16349. },
  16350. "default" : {
  16351. "description" : "请求失败",
  16352. "content" : {
  16353. "application/json" : {
  16354. "schema" : {
  16355. "anyOf" : [ {
  16356. "$ref" : "#/components/schemas/CommonErrorType"
  16357. }, {
  16358. "$ref" : "#/components/schemas/AlipayMarketingCardConsumeSyncErrorResponseModel"
  16359. } ]
  16360. }
  16361. }
  16362. }
  16363. }
  16364. },
  16365. "requestBody" : {
  16366. "content" : {
  16367. "application/json" : {
  16368. "schema" : {
  16369. "$ref" : "#/components/schemas/AlipayMarketingCardConsumeSyncModel"
  16370. }
  16371. }
  16372. },
  16373. "required" : false
  16374. }
  16375. }
  16376. },
  16377. "/v3/alipay/marketing/card/delete" : {
  16378. "delete" : {
  16379. "tags" : [ "alipay.marketing.card" ],
  16380. "summary" : "会员卡删卡",
  16381. "description" : "通过 API 接口删除商家会员卡。",
  16382. "operationId" : "alipay.marketing.card.delete",
  16383. "responses" : {
  16384. "200" : {
  16385. "description" : "common response",
  16386. "content" : {
  16387. "application/json" : {
  16388. "schema" : {
  16389. "$ref" : "#/components/schemas/AlipayMarketingCardDeleteResponseModel"
  16390. }
  16391. }
  16392. }
  16393. },
  16394. "default" : {
  16395. "description" : "请求失败",
  16396. "content" : {
  16397. "application/json" : {
  16398. "schema" : {
  16399. "anyOf" : [ {
  16400. "$ref" : "#/components/schemas/CommonErrorType"
  16401. }, {
  16402. "$ref" : "#/components/schemas/AlipayMarketingCardDeleteErrorResponseModel"
  16403. } ]
  16404. }
  16405. }
  16406. }
  16407. }
  16408. },
  16409. "parameters" : [ {
  16410. "name" : "out_serial_no",
  16411. "in" : "query",
  16412. "description" : "商户端删卡业务流水号,商户自定义且需确保流水号唯一性。",
  16413. "schema" : {
  16414. "type" : "string",
  16415. "example" : "2016062700001"
  16416. }
  16417. }, {
  16418. "name" : "target_card_no",
  16419. "in" : "query",
  16420. "description" : "支付宝业务卡号。即开卡接口返回结果中的card_info.biz_card_no。",
  16421. "schema" : {
  16422. "type" : "string",
  16423. "example" : "0000001"
  16424. }
  16425. }, {
  16426. "name" : "target_card_no_type",
  16427. "in" : "query",
  16428. "description" : "卡号ID类型\r\tBIZ_CARD:支付宝卡号",
  16429. "schema" : {
  16430. "type" : "string",
  16431. "example" : "BIZ_CARD"
  16432. }
  16433. }, {
  16434. "name" : "reason_code",
  16435. "in" : "query",
  16436. "description" : "删卡原因\r\tUSER_UNBUND:用户解绑(可以重新绑定)\r\tCANCEL:销户(完成销户后,就不能再重新绑定)\r\tPRESENT:转赠(可以重新绑定)",
  16437. "schema" : {
  16438. "type" : "string",
  16439. "example" : "USER_UNBUND"
  16440. }
  16441. }, {
  16442. "name" : "ext_info",
  16443. "in" : "query",
  16444. "description" : "删卡扩展参数,json格式。\r\t用于商户的特定业务信息的传递,只有商户与支付宝约定了传递此参数且约定了参数含义,此参数才有效。\r\t目前支持如下key:\r\tnew_card_no:新卡号\r\tdonee_user_id:受赠人userId",
  16445. "schema" : {
  16446. "type" : "string",
  16447. "example" : "{\"new_card_no\":\"12345\",\" donee_user_id\":\"2088102130652460\"}"
  16448. }
  16449. } ]
  16450. }
  16451. },
  16452. "/v3/alipay/marketing/card/formtemplate/set" : {
  16453. "post" : {
  16454. "tags" : [ "alipay.marketing.card.formtemplate" ],
  16455. "summary" : "会员卡开卡表单模板配置",
  16456. "description" : "会员卡开卡、用户授权确认",
  16457. "operationId" : "alipay.marketing.card.formtemplate.set",
  16458. "responses" : {
  16459. "200" : {
  16460. "description" : "common response",
  16461. "content" : {
  16462. "application/json" : {
  16463. "schema" : {
  16464. "$ref" : "#/components/schemas/AlipayMarketingCardFormtemplateSetResponseModel"
  16465. }
  16466. }
  16467. }
  16468. },
  16469. "default" : {
  16470. "description" : "请求失败",
  16471. "content" : {
  16472. "application/json" : {
  16473. "schema" : {
  16474. "anyOf" : [ {
  16475. "$ref" : "#/components/schemas/CommonErrorType"
  16476. }, {
  16477. "$ref" : "#/components/schemas/AlipayMarketingCardFormtemplateSetErrorResponseModel"
  16478. } ]
  16479. }
  16480. }
  16481. }
  16482. }
  16483. },
  16484. "requestBody" : {
  16485. "content" : {
  16486. "application/json" : {
  16487. "schema" : {
  16488. "$ref" : "#/components/schemas/AlipayMarketingCardFormtemplateSetModel"
  16489. }
  16490. }
  16491. },
  16492. "required" : false
  16493. }
  16494. }
  16495. },
  16496. "/v3/alipay/marketing/card/message/notify" : {
  16497. "post" : {
  16498. "tags" : [ "alipay.marketing.card.message" ],
  16499. "summary" : "会员卡消息通知",
  16500. "description" : "商户触发消息通知用户",
  16501. "operationId" : "alipay.marketing.card.message.notify",
  16502. "responses" : {
  16503. "200" : {
  16504. "description" : "common response",
  16505. "content" : {
  16506. "application/json" : {
  16507. "schema" : {
  16508. "$ref" : "#/components/schemas/AlipayMarketingCardMessageNotifyResponseModel"
  16509. }
  16510. }
  16511. }
  16512. },
  16513. "default" : {
  16514. "description" : "请求失败",
  16515. "content" : {
  16516. "application/json" : {
  16517. "schema" : {
  16518. "anyOf" : [ {
  16519. "$ref" : "#/components/schemas/CommonErrorType"
  16520. }, {
  16521. "$ref" : "#/components/schemas/AlipayMarketingCardMessageNotifyErrorResponseModel"
  16522. } ]
  16523. }
  16524. }
  16525. }
  16526. }
  16527. },
  16528. "requestBody" : {
  16529. "content" : {
  16530. "application/json" : {
  16531. "schema" : {
  16532. "$ref" : "#/components/schemas/AlipayMarketingCardMessageNotifyModel"
  16533. }
  16534. }
  16535. },
  16536. "required" : false
  16537. }
  16538. }
  16539. },
  16540. "/v3/alipay/marketing/card/open" : {
  16541. "post" : {
  16542. "tags" : [ "alipay.marketing.card" ],
  16543. "summary" : "会员卡开卡",
  16544. "description" : "商户通过API接口,进行会员卡开卡。",
  16545. "operationId" : "alipay.marketing.card.open",
  16546. "responses" : {
  16547. "200" : {
  16548. "description" : "common response",
  16549. "content" : {
  16550. "application/json" : {
  16551. "schema" : {
  16552. "$ref" : "#/components/schemas/AlipayMarketingCardOpenResponseModel"
  16553. }
  16554. }
  16555. }
  16556. },
  16557. "default" : {
  16558. "description" : "请求失败",
  16559. "content" : {
  16560. "application/json" : {
  16561. "schema" : {
  16562. "anyOf" : [ {
  16563. "$ref" : "#/components/schemas/CommonErrorType"
  16564. }, {
  16565. "$ref" : "#/components/schemas/AlipayMarketingCardOpenErrorResponseModel"
  16566. } ]
  16567. }
  16568. }
  16569. }
  16570. }
  16571. },
  16572. "parameters" : [ {
  16573. "$ref" : "#/components/parameters/AuthToken"
  16574. } ],
  16575. "requestBody" : {
  16576. "content" : {
  16577. "application/json" : {
  16578. "schema" : {
  16579. "$ref" : "#/components/schemas/AlipayMarketingCardOpenModel"
  16580. }
  16581. }
  16582. },
  16583. "required" : false
  16584. }
  16585. }
  16586. },
  16587. "/v3/alipay/marketing/card/query" : {
  16588. "post" : {
  16589. "tags" : [ "alipay.marketing.card" ],
  16590. "summary" : "会员卡查询",
  16591. "description" : "根据卡号或者持卡人信息查询会员卡信息",
  16592. "operationId" : "alipay.marketing.card.query",
  16593. "responses" : {
  16594. "200" : {
  16595. "description" : "common response",
  16596. "content" : {
  16597. "application/json" : {
  16598. "schema" : {
  16599. "$ref" : "#/components/schemas/AlipayMarketingCardQueryResponseModel"
  16600. }
  16601. }
  16602. }
  16603. },
  16604. "default" : {
  16605. "description" : "请求失败",
  16606. "content" : {
  16607. "application/json" : {
  16608. "schema" : {
  16609. "anyOf" : [ {
  16610. "$ref" : "#/components/schemas/CommonErrorType"
  16611. }, {
  16612. "$ref" : "#/components/schemas/AlipayMarketingCardQueryErrorResponseModel"
  16613. } ]
  16614. }
  16615. }
  16616. }
  16617. }
  16618. },
  16619. "requestBody" : {
  16620. "content" : {
  16621. "application/json" : {
  16622. "schema" : {
  16623. "$ref" : "#/components/schemas/AlipayMarketingCardQueryModel"
  16624. }
  16625. }
  16626. },
  16627. "required" : false
  16628. }
  16629. }
  16630. },
  16631. "/v3/alipay/marketing/card/template/batchquery" : {
  16632. "post" : {
  16633. "tags" : [ "alipay.marketing.card.template" ],
  16634. "summary" : "会员卡模板批量查询",
  16635. "description" : "会员卡模板批量查询",
  16636. "operationId" : "alipay.marketing.card.template.batchquery",
  16637. "responses" : {
  16638. "200" : {
  16639. "description" : "common response",
  16640. "content" : {
  16641. "application/json" : {
  16642. "schema" : {
  16643. "$ref" : "#/components/schemas/AlipayMarketingCardTemplateBatchqueryResponseModel"
  16644. }
  16645. }
  16646. }
  16647. },
  16648. "default" : {
  16649. "description" : "请求失败",
  16650. "content" : {
  16651. "application/json" : {
  16652. "schema" : {
  16653. "anyOf" : [ {
  16654. "$ref" : "#/components/schemas/CommonErrorType"
  16655. }, {
  16656. "$ref" : "#/components/schemas/AlipayMarketingCardTemplateBatchqueryErrorResponseModel"
  16657. } ]
  16658. }
  16659. }
  16660. }
  16661. }
  16662. },
  16663. "requestBody" : {
  16664. "content" : {
  16665. "application/json" : {
  16666. "schema" : {
  16667. "$ref" : "#/components/schemas/AlipayMarketingCardTemplateBatchqueryModel"
  16668. }
  16669. }
  16670. },
  16671. "required" : false
  16672. }
  16673. }
  16674. },
  16675. "/v3/alipay/marketing/card/template/create" : {
  16676. "post" : {
  16677. "tags" : [ "alipay.marketing.card.template" ],
  16678. "summary" : "会员卡模板创建",
  16679. "description" : "会员卡模板创建",
  16680. "operationId" : "alipay.marketing.card.template.create",
  16681. "responses" : {
  16682. "200" : {
  16683. "description" : "common response",
  16684. "content" : {
  16685. "application/json" : {
  16686. "schema" : {
  16687. "$ref" : "#/components/schemas/AlipayMarketingCardTemplateCreateResponseModel"
  16688. }
  16689. }
  16690. }
  16691. },
  16692. "default" : {
  16693. "description" : "请求失败",
  16694. "content" : {
  16695. "application/json" : {
  16696. "schema" : {
  16697. "anyOf" : [ {
  16698. "$ref" : "#/components/schemas/CommonErrorType"
  16699. }, {
  16700. "$ref" : "#/components/schemas/AlipayMarketingCardTemplateCreateErrorResponseModel"
  16701. } ]
  16702. }
  16703. }
  16704. }
  16705. }
  16706. },
  16707. "requestBody" : {
  16708. "content" : {
  16709. "application/json" : {
  16710. "schema" : {
  16711. "$ref" : "#/components/schemas/AlipayMarketingCardTemplateCreateModel"
  16712. }
  16713. }
  16714. },
  16715. "required" : false
  16716. }
  16717. }
  16718. },
  16719. "/v3/alipay/marketing/card/template/modify" : {
  16720. "post" : {
  16721. "tags" : [ "alipay.marketing.card.template" ],
  16722. "summary" : "会员卡模板修改",
  16723. "description" : "会员卡模板修改",
  16724. "operationId" : "alipay.marketing.card.template.modify",
  16725. "responses" : {
  16726. "200" : {
  16727. "description" : "common response",
  16728. "content" : {
  16729. "application/json" : {
  16730. "schema" : {
  16731. "$ref" : "#/components/schemas/AlipayMarketingCardTemplateModifyResponseModel"
  16732. }
  16733. }
  16734. }
  16735. },
  16736. "default" : {
  16737. "description" : "请求失败",
  16738. "content" : {
  16739. "application/json" : {
  16740. "schema" : {
  16741. "anyOf" : [ {
  16742. "$ref" : "#/components/schemas/CommonErrorType"
  16743. }, {
  16744. "$ref" : "#/components/schemas/AlipayMarketingCardTemplateModifyErrorResponseModel"
  16745. } ]
  16746. }
  16747. }
  16748. }
  16749. }
  16750. },
  16751. "requestBody" : {
  16752. "content" : {
  16753. "application/json" : {
  16754. "schema" : {
  16755. "$ref" : "#/components/schemas/AlipayMarketingCardTemplateModifyModel"
  16756. }
  16757. }
  16758. },
  16759. "required" : false
  16760. }
  16761. }
  16762. },
  16763. "/v3/alipay/marketing/card/template/query" : {
  16764. "get" : {
  16765. "tags" : [ "alipay.marketing.card.template" ],
  16766. "summary" : "会员卡模板查询接口",
  16767. "description" : "会员卡模板查询接口",
  16768. "operationId" : "alipay.marketing.card.template.query",
  16769. "responses" : {
  16770. "200" : {
  16771. "description" : "common response",
  16772. "content" : {
  16773. "application/json" : {
  16774. "schema" : {
  16775. "$ref" : "#/components/schemas/AlipayMarketingCardTemplateQueryResponseModel"
  16776. }
  16777. }
  16778. }
  16779. },
  16780. "default" : {
  16781. "description" : "请求失败",
  16782. "content" : {
  16783. "application/json" : {
  16784. "schema" : {
  16785. "anyOf" : [ {
  16786. "$ref" : "#/components/schemas/CommonErrorType"
  16787. }, {
  16788. "$ref" : "#/components/schemas/AlipayMarketingCardTemplateQueryErrorResponseModel"
  16789. } ]
  16790. }
  16791. }
  16792. }
  16793. }
  16794. },
  16795. "parameters" : [ {
  16796. "name" : "template_id",
  16797. "in" : "query",
  16798. "description" : "会员卡模板id。调用alipay.marketing.card.template.create(会员卡模板创建接口)创建模板后同步返回。",
  16799. "schema" : {
  16800. "type" : "string",
  16801. "example" : "20160718000000001"
  16802. }
  16803. } ]
  16804. }
  16805. },
  16806. "/v3/alipay/marketing/card/update" : {
  16807. "post" : {
  16808. "tags" : [ "alipay.marketing.card" ],
  16809. "summary" : "会员卡更新",
  16810. "description" : "会员卡更新",
  16811. "operationId" : "alipay.marketing.card.update",
  16812. "responses" : {
  16813. "200" : {
  16814. "description" : "common response",
  16815. "content" : {
  16816. "application/json" : {
  16817. "schema" : {
  16818. "$ref" : "#/components/schemas/AlipayMarketingCardUpdateResponseModel"
  16819. }
  16820. }
  16821. }
  16822. },
  16823. "default" : {
  16824. "description" : "请求失败",
  16825. "content" : {
  16826. "application/json" : {
  16827. "schema" : {
  16828. "anyOf" : [ {
  16829. "$ref" : "#/components/schemas/CommonErrorType"
  16830. }, {
  16831. "$ref" : "#/components/schemas/AlipayMarketingCardUpdateErrorResponseModel"
  16832. } ]
  16833. }
  16834. }
  16835. }
  16836. }
  16837. },
  16838. "requestBody" : {
  16839. "content" : {
  16840. "application/json" : {
  16841. "schema" : {
  16842. "$ref" : "#/components/schemas/AlipayMarketingCardUpdateModel"
  16843. }
  16844. }
  16845. },
  16846. "required" : false
  16847. }
  16848. }
  16849. },
  16850. "/v3/alipay/marketing/delivery" : {
  16851. "post" : {
  16852. "tags" : [ "alipay.marketing.activity.delivery" ],
  16853. "summary" : "创建推广计划",
  16854. "description" : "创建推广计划将内容推广到指定展位,用户可在指定展位领取推广内容。 不同展位支持的推广内容、推广规则、推广玩法、推广配置可能存在差异,使用时请仔细阅读接口说明文档。 创建推广成功后,请依据推广变更消息alipay.marketing.activity.delivery.message感知推广变更状态。",
  16855. "operationId" : "alipay.marketing.activity.delivery.create",
  16856. "responses" : {
  16857. "200" : {
  16858. "description" : "common response",
  16859. "content" : {
  16860. "application/json" : {
  16861. "schema" : {
  16862. "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryCreateResponseModel"
  16863. }
  16864. }
  16865. }
  16866. },
  16867. "default" : {
  16868. "description" : "请求失败",
  16869. "content" : {
  16870. "application/json" : {
  16871. "schema" : {
  16872. "anyOf" : [ {
  16873. "$ref" : "#/components/schemas/CommonErrorType"
  16874. }, {
  16875. "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryCreateErrorResponseModel"
  16876. } ]
  16877. }
  16878. }
  16879. }
  16880. }
  16881. },
  16882. "requestBody" : {
  16883. "content" : {
  16884. "application/json" : {
  16885. "schema" : {
  16886. "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryCreateModel"
  16887. }
  16888. }
  16889. },
  16890. "required" : false
  16891. }
  16892. }
  16893. },
  16894. "/v3/alipay/marketing/delivery/{delivery_id}/query" : {
  16895. "post" : {
  16896. "tags" : [ "alipay.marketing.activity.delivery" ],
  16897. "summary" : "查询推广计划",
  16898. "description" : "查询推广计划详情信息。",
  16899. "operationId" : "alipay.marketing.activity.delivery.query",
  16900. "responses" : {
  16901. "200" : {
  16902. "description" : "common response",
  16903. "content" : {
  16904. "application/json" : {
  16905. "schema" : {
  16906. "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryQueryResponseModel"
  16907. }
  16908. }
  16909. }
  16910. },
  16911. "default" : {
  16912. "description" : "请求失败",
  16913. "content" : {
  16914. "application/json" : {
  16915. "schema" : {
  16916. "anyOf" : [ {
  16917. "$ref" : "#/components/schemas/CommonErrorType"
  16918. }, {
  16919. "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryQueryErrorResponseModel"
  16920. } ]
  16921. }
  16922. }
  16923. }
  16924. }
  16925. },
  16926. "parameters" : [ {
  16927. "name" : "delivery_id",
  16928. "in" : "path",
  16929. "description" : "推广计划id",
  16930. "required" : true,
  16931. "schema" : {
  16932. "type" : "string",
  16933. "example" : "20121231231242353"
  16934. }
  16935. } ],
  16936. "requestBody" : {
  16937. "content" : {
  16938. "application/json" : {
  16939. "schema" : {
  16940. "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryQueryModel"
  16941. }
  16942. }
  16943. },
  16944. "required" : false
  16945. }
  16946. }
  16947. },
  16948. "/v3/alipay/marketing/delivery/{delivery_id}/stop" : {
  16949. "patch" : {
  16950. "tags" : [ "alipay.marketing.activity.delivery" ],
  16951. "summary" : "停止推广计划",
  16952. "description" : "停止推广计划。 \n注意:停止推广操作成功到推广内容停止生效,可能存在几分钟的延迟。",
  16953. "operationId" : "alipay.marketing.activity.delivery.stop",
  16954. "responses" : {
  16955. "200" : {
  16956. "description" : "common response",
  16957. "content" : {
  16958. "application/json" : {
  16959. "schema" : {
  16960. "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryStopResponseModel"
  16961. }
  16962. }
  16963. }
  16964. },
  16965. "default" : {
  16966. "description" : "请求失败",
  16967. "content" : {
  16968. "application/json" : {
  16969. "schema" : {
  16970. "anyOf" : [ {
  16971. "$ref" : "#/components/schemas/CommonErrorType"
  16972. }, {
  16973. "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryStopErrorResponseModel"
  16974. } ]
  16975. }
  16976. }
  16977. }
  16978. }
  16979. },
  16980. "parameters" : [ {
  16981. "name" : "delivery_id",
  16982. "in" : "path",
  16983. "description" : "推广计划id",
  16984. "required" : true,
  16985. "schema" : {
  16986. "type" : "string",
  16987. "example" : "20121231231242353"
  16988. }
  16989. } ],
  16990. "requestBody" : {
  16991. "content" : {
  16992. "application/json" : {
  16993. "schema" : {
  16994. "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryStopModel"
  16995. }
  16996. }
  16997. },
  16998. "required" : false
  16999. }
  17000. }
  17001. },
  17002. "/v3/alipay/marketing/material/create" : {
  17003. "post" : {
  17004. "tags" : [ "alipay.marketing.material" ],
  17005. "summary" : "创建支付宝素材",
  17006. "description" : "用于创建支付宝素材",
  17007. "operationId" : "alipay.marketing.material.create",
  17008. "responses" : {
  17009. "200" : {
  17010. "description" : "common response",
  17011. "content" : {
  17012. "application/json" : {
  17013. "schema" : {
  17014. "$ref" : "#/components/schemas/AlipayMarketingMaterialCreateResponseModel"
  17015. }
  17016. }
  17017. }
  17018. },
  17019. "default" : {
  17020. "description" : "请求失败",
  17021. "content" : {
  17022. "application/json" : {
  17023. "schema" : {
  17024. "anyOf" : [ {
  17025. "$ref" : "#/components/schemas/CommonErrorType"
  17026. }, {
  17027. "$ref" : "#/components/schemas/AlipayMarketingMaterialCreateErrorResponseModel"
  17028. } ]
  17029. }
  17030. }
  17031. }
  17032. }
  17033. },
  17034. "requestBody" : {
  17035. "content" : {
  17036. "application/json" : {
  17037. "schema" : {
  17038. "$ref" : "#/components/schemas/AlipayMarketingMaterialCreateModel"
  17039. }
  17040. }
  17041. },
  17042. "required" : false
  17043. }
  17044. }
  17045. },
  17046. "/v3/alipay/marketing/material/image" : {
  17047. "post" : {
  17048. "tags" : [ "alipay.marketing.material.image" ],
  17049. "summary" : "营销图片资源上传接口",
  17050. "description" : "营销通用上传图片接口",
  17051. "operationId" : "alipay.marketing.material.image.upload",
  17052. "responses" : {
  17053. "200" : {
  17054. "description" : "common response",
  17055. "content" : {
  17056. "application/json" : {
  17057. "schema" : {
  17058. "$ref" : "#/components/schemas/AlipayMarketingMaterialImageUploadResponseModel"
  17059. }
  17060. }
  17061. }
  17062. },
  17063. "default" : {
  17064. "description" : "请求失败",
  17065. "content" : {
  17066. "application/json" : {
  17067. "schema" : {
  17068. "anyOf" : [ {
  17069. "$ref" : "#/components/schemas/CommonErrorType"
  17070. }, {
  17071. "$ref" : "#/components/schemas/AlipayMarketingMaterialImageUploadErrorResponseModel"
  17072. } ]
  17073. }
  17074. }
  17075. }
  17076. }
  17077. },
  17078. "requestBody" : {
  17079. "content" : {
  17080. "multipart/form-data" : {
  17081. "schema" : {
  17082. "type" : "object",
  17083. "properties" : {
  17084. "data" : {
  17085. "$ref" : "#/components/schemas/AlipayMarketingMaterialImageUploadModel"
  17086. },
  17087. "file_content" : {
  17088. "type" : "string",
  17089. "format" : "binary"
  17090. }
  17091. }
  17092. },
  17093. "encoding" : {
  17094. "file_content" : {
  17095. "contentType" : "*/*"
  17096. },
  17097. "data" : {
  17098. "contentType" : "application/json"
  17099. }
  17100. }
  17101. }
  17102. },
  17103. "required" : false
  17104. }
  17105. }
  17106. },
  17107. "/v3/alipay/marketing/ordervoucher/activity" : {
  17108. "post" : {
  17109. "tags" : [ "alipay.marketing.activity.ordervoucher" ],
  17110. "summary" : "创建商家券活动",
  17111. "description" : "商家调用该接口创建商家券活动。\n创建商家券活动接口同步返回创建请求受理结果,后续通过alipay.marketing.activity.message.created消息接口异步发送活动创建成功事件消息。\n\n如果在code_mode=MERCHANT_UPLOAD的模式下,创建商家券活动后,还需要进行券码导入操作,以及预算追加操作,然后商家券才能进行发放。",
  17112. "operationId" : "alipay.marketing.activity.ordervoucher.create",
  17113. "responses" : {
  17114. "200" : {
  17115. "description" : "common response",
  17116. "content" : {
  17117. "application/json" : {
  17118. "schema" : {
  17119. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCreateResponseModel"
  17120. }
  17121. }
  17122. }
  17123. },
  17124. "default" : {
  17125. "description" : "请求失败",
  17126. "content" : {
  17127. "application/json" : {
  17128. "schema" : {
  17129. "anyOf" : [ {
  17130. "$ref" : "#/components/schemas/CommonErrorType"
  17131. }, {
  17132. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCreateErrorResponseModel"
  17133. } ]
  17134. }
  17135. }
  17136. }
  17137. }
  17138. },
  17139. "requestBody" : {
  17140. "content" : {
  17141. "application/json" : {
  17142. "schema" : {
  17143. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCreateModel"
  17144. }
  17145. }
  17146. },
  17147. "required" : false
  17148. }
  17149. }
  17150. },
  17151. "/v3/alipay/marketing/ordervoucher/activity/{activity_id}" : {
  17152. "patch" : {
  17153. "tags" : [ "alipay.marketing.activity.ordervoucher" ],
  17154. "summary" : "修改商家券活动基本信息",
  17155. "description" : "商家调用该接口修改商家券活动基本信息。\n修改商家券活动基本信息接口同步返回修改请求受理结果,后续通过alipay.marketing.activity.message.modified消息接口异步发送修改活动成功事件消息。",
  17156. "operationId" : "alipay.marketing.activity.ordervoucher.modify",
  17157. "responses" : {
  17158. "200" : {
  17159. "description" : "common response",
  17160. "content" : {
  17161. "application/json" : {
  17162. "schema" : {
  17163. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherModifyResponseModel"
  17164. }
  17165. }
  17166. }
  17167. },
  17168. "default" : {
  17169. "description" : "请求失败",
  17170. "content" : {
  17171. "application/json" : {
  17172. "schema" : {
  17173. "anyOf" : [ {
  17174. "$ref" : "#/components/schemas/CommonErrorType"
  17175. }, {
  17176. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherModifyErrorResponseModel"
  17177. } ]
  17178. }
  17179. }
  17180. }
  17181. }
  17182. },
  17183. "parameters" : [ {
  17184. "name" : "activity_id",
  17185. "in" : "path",
  17186. "description" : "活动id1",
  17187. "required" : true,
  17188. "schema" : {
  17189. "type" : "string",
  17190. "example" : "2016042700826004508401111111"
  17191. }
  17192. } ],
  17193. "requestBody" : {
  17194. "content" : {
  17195. "application/json" : {
  17196. "schema" : {
  17197. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherModifyModel"
  17198. }
  17199. }
  17200. },
  17201. "required" : false
  17202. }
  17203. }
  17204. },
  17205. "/v3/alipay/marketing/ordervoucher/activity/{activity_id}/append" : {
  17206. "patch" : {
  17207. "tags" : [ "alipay.marketing.activity.ordervoucher" ],
  17208. "summary" : "修改商家券活动发券数量上限",
  17209. "description" : "商家调用该接口修改商家券活动预算上限,以此来追加商家券活动预算。\n修改商家券活动预算上限同步返回追加请求受理结果,后续通过alipay.marketing.activity.message.appended消息接口异步发送发券数量上限修改成功事件消息。\ncode_mode=MERCHANT_UPLOAD场景下,必须先导入券码后,方可追加商家券预算。",
  17210. "operationId" : "alipay.marketing.activity.ordervoucher.append",
  17211. "responses" : {
  17212. "200" : {
  17213. "description" : "common response",
  17214. "content" : {
  17215. "application/json" : {
  17216. "schema" : {
  17217. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherAppendResponseModel"
  17218. }
  17219. }
  17220. }
  17221. },
  17222. "default" : {
  17223. "description" : "请求失败",
  17224. "content" : {
  17225. "application/json" : {
  17226. "schema" : {
  17227. "anyOf" : [ {
  17228. "$ref" : "#/components/schemas/CommonErrorType"
  17229. }, {
  17230. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherAppendErrorResponseModel"
  17231. } ]
  17232. }
  17233. }
  17234. }
  17235. }
  17236. },
  17237. "parameters" : [ {
  17238. "name" : "activity_id",
  17239. "in" : "path",
  17240. "description" : "活动id",
  17241. "required" : true,
  17242. "schema" : {
  17243. "type" : "string",
  17244. "example" : "2016042700826004508401111111"
  17245. }
  17246. } ],
  17247. "requestBody" : {
  17248. "content" : {
  17249. "application/json" : {
  17250. "schema" : {
  17251. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherAppendModel"
  17252. }
  17253. }
  17254. },
  17255. "required" : false
  17256. }
  17257. }
  17258. },
  17259. "/v3/alipay/marketing/ordervoucher/activity/{activity_id}/stop" : {
  17260. "patch" : {
  17261. "tags" : [ "alipay.marketing.activity.ordervoucher" ],
  17262. "summary" : "停止商家券活动",
  17263. "description" : "商家调用该接口停止优惠券。\n停止优惠券接口同步返回停止请求受理结果,后续通过alipay.marketing.activity.message.stopped消息接口异步发送停止活动成功事件。\n如果成功消息长时间未送达,请联系相关技术人员。",
  17264. "operationId" : "alipay.marketing.activity.ordervoucher.stop",
  17265. "responses" : {
  17266. "200" : {
  17267. "description" : "common response",
  17268. "content" : {
  17269. "application/json" : {
  17270. "schema" : {
  17271. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherStopResponseModel"
  17272. }
  17273. }
  17274. }
  17275. },
  17276. "default" : {
  17277. "description" : "请求失败",
  17278. "content" : {
  17279. "application/json" : {
  17280. "schema" : {
  17281. "anyOf" : [ {
  17282. "$ref" : "#/components/schemas/CommonErrorType"
  17283. }, {
  17284. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherStopErrorResponseModel"
  17285. } ]
  17286. }
  17287. }
  17288. }
  17289. }
  17290. },
  17291. "parameters" : [ {
  17292. "name" : "activity_id",
  17293. "in" : "path",
  17294. "description" : "活动id",
  17295. "required" : true,
  17296. "schema" : {
  17297. "type" : "string",
  17298. "example" : "2016042700826004508401111111"
  17299. }
  17300. } ],
  17301. "requestBody" : {
  17302. "content" : {
  17303. "application/json" : {
  17304. "schema" : {
  17305. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherStopModel"
  17306. }
  17307. }
  17308. },
  17309. "required" : false
  17310. }
  17311. }
  17312. },
  17313. "/v3/alipay/marketing/ordervoucher/activity/{activity_id}/voucher/codecount" : {
  17314. "get" : {
  17315. "tags" : [ "alipay.marketing.activity.ordervoucher" ],
  17316. "summary" : "统计商家券券码数量",
  17317. "description" : "商家调用该接口查询活动中的有效券码个数。接口同步返回查询结果。",
  17318. "operationId" : "alipay.marketing.activity.ordervoucher.codecount",
  17319. "responses" : {
  17320. "200" : {
  17321. "description" : "common response",
  17322. "content" : {
  17323. "application/json" : {
  17324. "schema" : {
  17325. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCodecountResponseModel"
  17326. }
  17327. }
  17328. }
  17329. },
  17330. "default" : {
  17331. "description" : "请求失败",
  17332. "content" : {
  17333. "application/json" : {
  17334. "schema" : {
  17335. "anyOf" : [ {
  17336. "$ref" : "#/components/schemas/CommonErrorType"
  17337. }, {
  17338. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCodecountErrorResponseModel"
  17339. } ]
  17340. }
  17341. }
  17342. }
  17343. }
  17344. },
  17345. "parameters" : [ {
  17346. "name" : "activity_id",
  17347. "in" : "path",
  17348. "description" : "活动id",
  17349. "required" : true,
  17350. "schema" : {
  17351. "type" : "string",
  17352. "example" : "2016042700826004508401111111"
  17353. }
  17354. }, {
  17355. "name" : "merchant_access_mode",
  17356. "in" : "query",
  17357. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  17358. "schema" : {
  17359. "type" : "string",
  17360. "example" : "SELF_MODE"
  17361. }
  17362. } ]
  17363. }
  17364. },
  17365. "/v3/alipay/marketing/ordervoucher/activity/{activity_id}/voucher/codedeposit" : {
  17366. "post" : {
  17367. "tags" : [ "alipay.marketing.activity.ordervoucher" ],
  17368. "summary" : "同步商家券券码",
  17369. "description" : "商家调用该接口同步导入商家券券码,接口同步返回导入结果。请在接收alipay.marketing.activity.message.created消息后,再进行调用。",
  17370. "operationId" : "alipay.marketing.activity.ordervoucher.codedeposit",
  17371. "responses" : {
  17372. "200" : {
  17373. "description" : "common response",
  17374. "content" : {
  17375. "application/json" : {
  17376. "schema" : {
  17377. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCodedepositResponseModel"
  17378. }
  17379. }
  17380. }
  17381. },
  17382. "default" : {
  17383. "description" : "请求失败",
  17384. "content" : {
  17385. "application/json" : {
  17386. "schema" : {
  17387. "anyOf" : [ {
  17388. "$ref" : "#/components/schemas/CommonErrorType"
  17389. }, {
  17390. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCodedepositErrorResponseModel"
  17391. } ]
  17392. }
  17393. }
  17394. }
  17395. }
  17396. },
  17397. "parameters" : [ {
  17398. "name" : "activity_id",
  17399. "in" : "path",
  17400. "description" : "活动id\t\t限制\t请在接收alipay.marketing.activity.message.created消息后,再进行调用。",
  17401. "required" : true,
  17402. "schema" : {
  17403. "type" : "string",
  17404. "example" : "2016042700826004508401111111"
  17405. }
  17406. } ],
  17407. "requestBody" : {
  17408. "content" : {
  17409. "application/json" : {
  17410. "schema" : {
  17411. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCodedepositModel"
  17412. }
  17413. }
  17414. },
  17415. "required" : false
  17416. }
  17417. }
  17418. },
  17419. "/v3/alipay/marketing/ordervoucher/activity/{activity_id}/voucher/{voucher_code}/refund" : {
  17420. "post" : {
  17421. "tags" : [ "alipay.marketing.activity.ordervoucher" ],
  17422. "summary" : "取消券核销状态",
  17423. "description" : "商户调用该接口进行优惠券退券处理。接口同步返回结果。\n如果优惠券过期后,发起退券操作,该接口返回成功,优惠券退回后仍不可用。\n如果优惠券在支付宝卡包已删除,发起退券操作,该接口返回成功,优惠券在支付宝卡包仍然是删除状态。",
  17424. "operationId" : "alipay.marketing.activity.ordervoucher.refund",
  17425. "responses" : {
  17426. "200" : {
  17427. "description" : "common response",
  17428. "content" : {
  17429. "application/json" : {
  17430. "schema" : {
  17431. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherRefundResponseModel"
  17432. }
  17433. }
  17434. }
  17435. },
  17436. "default" : {
  17437. "description" : "请求失败",
  17438. "content" : {
  17439. "application/json" : {
  17440. "schema" : {
  17441. "anyOf" : [ {
  17442. "$ref" : "#/components/schemas/CommonErrorType"
  17443. }, {
  17444. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherRefundErrorResponseModel"
  17445. } ]
  17446. }
  17447. }
  17448. }
  17449. }
  17450. },
  17451. "parameters" : [ {
  17452. "name" : "activity_id",
  17453. "in" : "path",
  17454. "description" : "优惠券活动id",
  17455. "required" : true,
  17456. "schema" : {
  17457. "type" : "string",
  17458. "example" : "2016042700826004508401111111"
  17459. }
  17460. }, {
  17461. "name" : "voucher_code",
  17462. "in" : "path",
  17463. "description" : "已核销待退券的券码",
  17464. "required" : true,
  17465. "schema" : {
  17466. "type" : "string",
  17467. "example" : "ABE44"
  17468. }
  17469. } ],
  17470. "requestBody" : {
  17471. "content" : {
  17472. "application/json" : {
  17473. "schema" : {
  17474. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherRefundModel"
  17475. }
  17476. }
  17477. },
  17478. "required" : false
  17479. }
  17480. }
  17481. },
  17482. "/v3/alipay/marketing/ordervoucher/activity/{activity_id}/voucher/{voucher_code}/use" : {
  17483. "post" : {
  17484. "tags" : [ "alipay.marketing.activity.ordervoucher" ],
  17485. "summary" : "同步券核销状态",
  17486. "description" : "商户调用该接口,通过券码进行优惠券核销,接口同步返回核销结果。",
  17487. "operationId" : "alipay.marketing.activity.ordervoucher.use",
  17488. "responses" : {
  17489. "200" : {
  17490. "description" : "common response",
  17491. "content" : {
  17492. "application/json" : {
  17493. "schema" : {
  17494. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherUseResponseModel"
  17495. }
  17496. }
  17497. }
  17498. },
  17499. "default" : {
  17500. "description" : "请求失败",
  17501. "content" : {
  17502. "application/json" : {
  17503. "schema" : {
  17504. "anyOf" : [ {
  17505. "$ref" : "#/components/schemas/CommonErrorType"
  17506. }, {
  17507. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherUseErrorResponseModel"
  17508. } ]
  17509. }
  17510. }
  17511. }
  17512. }
  17513. },
  17514. "parameters" : [ {
  17515. "name" : "activity_id",
  17516. "in" : "path",
  17517. "description" : "优惠券活动id",
  17518. "required" : true,
  17519. "schema" : {
  17520. "type" : "string",
  17521. "example" : "2016042700826004508401111111"
  17522. }
  17523. }, {
  17524. "name" : "voucher_code",
  17525. "in" : "path",
  17526. "description" : "待核销的券码。",
  17527. "required" : true,
  17528. "schema" : {
  17529. "type" : "string",
  17530. "example" : "ABE44"
  17531. }
  17532. } ],
  17533. "requestBody" : {
  17534. "content" : {
  17535. "application/json" : {
  17536. "schema" : {
  17537. "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherUseModel"
  17538. }
  17539. }
  17540. },
  17541. "required" : false
  17542. }
  17543. }
  17544. },
  17545. "/v3/alipay/marketing/recruit/enroll/close" : {
  17546. "post" : {
  17547. "tags" : [ "alipay.marketing.recruit.enroll" ],
  17548. "summary" : "下线报名",
  17549. "description" : "下线报名",
  17550. "operationId" : "alipay.marketing.recruit.enroll.close",
  17551. "responses" : {
  17552. "200" : {
  17553. "description" : "common response",
  17554. "content" : {
  17555. "application/json" : {
  17556. "schema" : {
  17557. "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollCloseResponseModel"
  17558. }
  17559. }
  17560. }
  17561. },
  17562. "default" : {
  17563. "description" : "请求失败",
  17564. "content" : {
  17565. "application/json" : {
  17566. "schema" : {
  17567. "anyOf" : [ {
  17568. "$ref" : "#/components/schemas/CommonErrorType"
  17569. }, {
  17570. "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollCloseErrorResponseModel"
  17571. } ]
  17572. }
  17573. }
  17574. }
  17575. }
  17576. },
  17577. "requestBody" : {
  17578. "content" : {
  17579. "application/json" : {
  17580. "schema" : {
  17581. "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollCloseModel"
  17582. }
  17583. }
  17584. },
  17585. "required" : false
  17586. }
  17587. }
  17588. },
  17589. "/v3/alipay/marketing/recruit/enroll/create" : {
  17590. "post" : {
  17591. "tags" : [ "alipay.marketing.recruit.enroll" ],
  17592. "summary" : "招商报名提交",
  17593. "description" : "创建报名后立即提交,审核通过后会以消息的形式通知调用方(需要接入消息接口alipay.marketing.enroll.status.changed)。在消息通知前可以尝试调用“报名详情查询接口(alipay.marketing.enroll.detail.query)”了解报名状态。",
  17594. "operationId" : "alipay.marketing.recruit.enroll.create",
  17595. "responses" : {
  17596. "200" : {
  17597. "description" : "common response",
  17598. "content" : {
  17599. "application/json" : {
  17600. "schema" : {
  17601. "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollCreateResponseModel"
  17602. }
  17603. }
  17604. }
  17605. },
  17606. "default" : {
  17607. "description" : "请求失败",
  17608. "content" : {
  17609. "application/json" : {
  17610. "schema" : {
  17611. "anyOf" : [ {
  17612. "$ref" : "#/components/schemas/CommonErrorType"
  17613. }, {
  17614. "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollCreateErrorResponseModel"
  17615. } ]
  17616. }
  17617. }
  17618. }
  17619. }
  17620. },
  17621. "requestBody" : {
  17622. "content" : {
  17623. "application/json" : {
  17624. "schema" : {
  17625. "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollCreateModel"
  17626. }
  17627. }
  17628. },
  17629. "required" : false
  17630. }
  17631. }
  17632. },
  17633. "/v3/alipay/marketing/recruit/enroll/query" : {
  17634. "get" : {
  17635. "tags" : [ "alipay.marketing.recruit.enroll" ],
  17636. "summary" : "报名详情查询",
  17637. "description" : "报名详情查询",
  17638. "operationId" : "alipay.marketing.recruit.enroll.query",
  17639. "responses" : {
  17640. "200" : {
  17641. "description" : "common response",
  17642. "content" : {
  17643. "application/json" : {
  17644. "schema" : {
  17645. "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollQueryResponseModel"
  17646. }
  17647. }
  17648. }
  17649. },
  17650. "default" : {
  17651. "description" : "请求失败",
  17652. "content" : {
  17653. "application/json" : {
  17654. "schema" : {
  17655. "anyOf" : [ {
  17656. "$ref" : "#/components/schemas/CommonErrorType"
  17657. }, {
  17658. "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollQueryErrorResponseModel"
  17659. } ]
  17660. }
  17661. }
  17662. }
  17663. }
  17664. },
  17665. "parameters" : [ {
  17666. "name" : "out_biz_no",
  17667. "in" : "query",
  17668. "description" : "外部操作流水号。由商家/ISV 自定义,仅支持字母、数字、下划线且需保证每次操作唯一。",
  17669. "schema" : {
  17670. "type" : "string",
  17671. "example" : "21ba1e1c16456985463242192e4d"
  17672. }
  17673. }, {
  17674. "name" : "enroll_id",
  17675. "in" : "query",
  17676. "description" : "报名ID,此参数和out_biz_no至少传一个,优先取enroll_id",
  17677. "schema" : {
  17678. "type" : "string",
  17679. "example" : "2021041301000200000000000000"
  17680. }
  17681. } ]
  17682. }
  17683. },
  17684. "/v3/alipay/marketing/recruit/plan/query" : {
  17685. "post" : {
  17686. "tags" : [ "alipay.marketing.recruit.plan" ],
  17687. "summary" : "招商方案详情查询",
  17688. "description" : "招商方案详情查询",
  17689. "operationId" : "alipay.marketing.recruit.plan.query",
  17690. "responses" : {
  17691. "200" : {
  17692. "description" : "common response",
  17693. "content" : {
  17694. "application/json" : {
  17695. "schema" : {
  17696. "$ref" : "#/components/schemas/AlipayMarketingRecruitPlanQueryResponseModel"
  17697. }
  17698. }
  17699. }
  17700. },
  17701. "default" : {
  17702. "description" : "请求失败",
  17703. "content" : {
  17704. "application/json" : {
  17705. "schema" : {
  17706. "anyOf" : [ {
  17707. "$ref" : "#/components/schemas/CommonErrorType"
  17708. }, {
  17709. "$ref" : "#/components/schemas/AlipayMarketingRecruitPlanQueryErrorResponseModel"
  17710. } ]
  17711. }
  17712. }
  17713. }
  17714. }
  17715. },
  17716. "requestBody" : {
  17717. "content" : {
  17718. "application/json" : {
  17719. "schema" : {
  17720. "$ref" : "#/components/schemas/AlipayMarketingRecruitPlanQueryModel"
  17721. }
  17722. }
  17723. },
  17724. "required" : false
  17725. }
  17726. }
  17727. },
  17728. "/v3/alipay/marketing/recruit/planlist/query" : {
  17729. "post" : {
  17730. "tags" : [ "alipay.marketing.recruit.planlist" ],
  17731. "summary" : "查询可报名的方案列表",
  17732. "description" : "查询可报名的方案列表",
  17733. "operationId" : "alipay.marketing.recruit.planlist.query",
  17734. "responses" : {
  17735. "200" : {
  17736. "description" : "common response",
  17737. "content" : {
  17738. "application/json" : {
  17739. "schema" : {
  17740. "$ref" : "#/components/schemas/AlipayMarketingRecruitPlanlistQueryResponseModel"
  17741. }
  17742. }
  17743. }
  17744. },
  17745. "default" : {
  17746. "description" : "请求失败",
  17747. "content" : {
  17748. "application/json" : {
  17749. "schema" : {
  17750. "anyOf" : [ {
  17751. "$ref" : "#/components/schemas/CommonErrorType"
  17752. }, {
  17753. "$ref" : "#/components/schemas/AlipayMarketingRecruitPlanlistQueryErrorResponseModel"
  17754. } ]
  17755. }
  17756. }
  17757. }
  17758. }
  17759. },
  17760. "requestBody" : {
  17761. "content" : {
  17762. "application/json" : {
  17763. "schema" : {
  17764. "$ref" : "#/components/schemas/AlipayMarketingRecruitPlanlistQueryModel"
  17765. }
  17766. }
  17767. },
  17768. "required" : false
  17769. }
  17770. }
  17771. },
  17772. "/v3/alipay/marketing/xuanyitest/transfer" : {
  17773. "post" : {
  17774. "tags" : [ "alipay.marketing.xuanyitest" ],
  17775. "summary" : "资源化测试4.0",
  17776. "description" : "功能测试",
  17777. "operationId" : "alipay.marketing.xuanyitest.transfer",
  17778. "responses" : {
  17779. "200" : {
  17780. "description" : "common response",
  17781. "content" : {
  17782. "application/json" : {
  17783. "schema" : {
  17784. "$ref" : "#/components/schemas/AlipayMarketingXuanyitestTransferResponseModel"
  17785. }
  17786. }
  17787. }
  17788. },
  17789. "default" : {
  17790. "description" : "请求失败",
  17791. "content" : {
  17792. "application/json" : {
  17793. "schema" : {
  17794. "anyOf" : [ {
  17795. "$ref" : "#/components/schemas/CommonErrorType"
  17796. }, {
  17797. "$ref" : "#/components/schemas/AlipayMarketingXuanyitestTransferErrorResponseModel"
  17798. } ]
  17799. }
  17800. }
  17801. }
  17802. }
  17803. },
  17804. "requestBody" : {
  17805. "content" : {
  17806. "application/json" : {
  17807. "schema" : {
  17808. "$ref" : "#/components/schemas/AlipayMarketingXuanyitestTransferModel"
  17809. }
  17810. }
  17811. },
  17812. "required" : false
  17813. }
  17814. }
  17815. },
  17816. "/v3/alipay/merchant/anchor/query" : {
  17817. "get" : {
  17818. "tags" : [ "alipay.merchant.anchor.info" ],
  17819. "summary" : "查询主播信息",
  17820. "description" : "查询主播信息",
  17821. "operationId" : "alipay.merchant.anchor.info.query",
  17822. "responses" : {
  17823. "200" : {
  17824. "description" : "common response",
  17825. "content" : {
  17826. "application/json" : {
  17827. "schema" : {
  17828. "$ref" : "#/components/schemas/AlipayMerchantAnchorInfoQueryResponseModel"
  17829. }
  17830. }
  17831. }
  17832. },
  17833. "default" : {
  17834. "description" : "请求失败",
  17835. "content" : {
  17836. "application/json" : {
  17837. "schema" : {
  17838. "anyOf" : [ {
  17839. "$ref" : "#/components/schemas/CommonErrorType"
  17840. }, {
  17841. "$ref" : "#/components/schemas/AlipayMerchantAnchorInfoQueryErrorResponseModel"
  17842. } ]
  17843. }
  17844. }
  17845. }
  17846. }
  17847. },
  17848. "parameters" : [ {
  17849. "name" : "user_id",
  17850. "in" : "query",
  17851. "description" : "蚂蚁统一会员ID",
  17852. "schema" : {
  17853. "type" : "string",
  17854. "example" : "2088000011112222"
  17855. }
  17856. }, {
  17857. "name" : "open_id",
  17858. "in" : "query",
  17859. "description" : "蚂蚁统一会员ID",
  17860. "schema" : {
  17861. "type" : "string",
  17862. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  17863. }
  17864. }, {
  17865. "name" : "public_id",
  17866. "in" : "query",
  17867. "description" : "生活号ID",
  17868. "schema" : {
  17869. "type" : "string",
  17870. "example" : "2021000011112222"
  17871. }
  17872. } ]
  17873. }
  17874. },
  17875. "/v3/alipay/merchant/image/upload" : {
  17876. "post" : {
  17877. "tags" : [ "alipay.merchant.image" ],
  17878. "summary" : "商户上传处理图片",
  17879. "description" : "商户上传投诉处理、服务咨询的图片接口",
  17880. "operationId" : "alipay.merchant.image.upload",
  17881. "responses" : {
  17882. "200" : {
  17883. "description" : "common response",
  17884. "content" : {
  17885. "application/json" : {
  17886. "schema" : {
  17887. "$ref" : "#/components/schemas/AlipayMerchantImageUploadResponseModel"
  17888. }
  17889. }
  17890. }
  17891. },
  17892. "default" : {
  17893. "description" : "请求失败",
  17894. "content" : {
  17895. "application/json" : {
  17896. "schema" : {
  17897. "anyOf" : [ {
  17898. "$ref" : "#/components/schemas/CommonErrorType"
  17899. }, {
  17900. "$ref" : "#/components/schemas/AlipayMerchantImageUploadErrorResponseModel"
  17901. } ]
  17902. }
  17903. }
  17904. }
  17905. }
  17906. },
  17907. "requestBody" : {
  17908. "content" : {
  17909. "multipart/form-data" : {
  17910. "schema" : {
  17911. "type" : "object",
  17912. "properties" : {
  17913. "data" : {
  17914. "$ref" : "#/components/schemas/AlipayMerchantImageUploadModel"
  17915. },
  17916. "image_content" : {
  17917. "type" : "string",
  17918. "format" : "binary"
  17919. }
  17920. }
  17921. },
  17922. "encoding" : {
  17923. "data" : {
  17924. "contentType" : "application/json"
  17925. },
  17926. "image_content" : {
  17927. "contentType" : "*/*"
  17928. }
  17929. }
  17930. }
  17931. },
  17932. "required" : false
  17933. }
  17934. }
  17935. },
  17936. "/v3/alipay/merchant/indirect/authorder/close" : {
  17937. "put" : {
  17938. "tags" : [ "alipay.merchant.indirect.authorder" ],
  17939. "summary" : "商家认证申请单撤销",
  17940. "description" : "申请单处于审核中、审核失败、待确认等状态时,申请单可撤销,撤销后可重新调用提交申请单接口上传申请单信息",
  17941. "operationId" : "alipay.merchant.indirect.authorder.close",
  17942. "responses" : {
  17943. "200" : {
  17944. "description" : "common response",
  17945. "content" : {
  17946. "application/json" : {
  17947. "schema" : {
  17948. "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderCloseResponseModel"
  17949. }
  17950. }
  17951. }
  17952. },
  17953. "default" : {
  17954. "description" : "请求失败",
  17955. "content" : {
  17956. "application/json" : {
  17957. "schema" : {
  17958. "anyOf" : [ {
  17959. "$ref" : "#/components/schemas/CommonErrorType"
  17960. }, {
  17961. "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderCloseErrorResponseModel"
  17962. } ]
  17963. }
  17964. }
  17965. }
  17966. }
  17967. },
  17968. "requestBody" : {
  17969. "content" : {
  17970. "application/json" : {
  17971. "schema" : {
  17972. "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderCloseModel"
  17973. }
  17974. }
  17975. },
  17976. "required" : false
  17977. }
  17978. }
  17979. },
  17980. "/v3/alipay/merchant/indirect/authorder/create" : {
  17981. "post" : {
  17982. "tags" : [ "alipay.merchant.indirect.authorder" ],
  17983. "summary" : "商家认证申请单提交",
  17984. "description" : "间连商户认证申请单提交,用于支付宝间连商家认证",
  17985. "operationId" : "alipay.merchant.indirect.authorder.create",
  17986. "responses" : {
  17987. "200" : {
  17988. "description" : "common response",
  17989. "content" : {
  17990. "application/json" : {
  17991. "schema" : {
  17992. "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderCreateResponseModel"
  17993. }
  17994. }
  17995. }
  17996. },
  17997. "default" : {
  17998. "description" : "请求失败",
  17999. "content" : {
  18000. "application/json" : {
  18001. "schema" : {
  18002. "anyOf" : [ {
  18003. "$ref" : "#/components/schemas/CommonErrorType"
  18004. }, {
  18005. "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderCreateErrorResponseModel"
  18006. } ]
  18007. }
  18008. }
  18009. }
  18010. }
  18011. },
  18012. "requestBody" : {
  18013. "content" : {
  18014. "application/json" : {
  18015. "schema" : {
  18016. "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderCreateModel"
  18017. }
  18018. }
  18019. },
  18020. "required" : false
  18021. }
  18022. }
  18023. },
  18024. "/v3/alipay/merchant/indirect/authorder/querystatus" : {
  18025. "post" : {
  18026. "tags" : [ "alipay.merchant.indirect.authorder" ],
  18027. "summary" : "查询商家认证申请单状态",
  18028. "description" : "查询商家认证申请单状态,以及失败原因",
  18029. "operationId" : "alipay.merchant.indirect.authorder.querystatus",
  18030. "responses" : {
  18031. "200" : {
  18032. "description" : "common response",
  18033. "content" : {
  18034. "application/json" : {
  18035. "schema" : {
  18036. "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderQuerystatusResponseModel"
  18037. }
  18038. }
  18039. }
  18040. },
  18041. "default" : {
  18042. "description" : "请求失败",
  18043. "content" : {
  18044. "application/json" : {
  18045. "schema" : {
  18046. "anyOf" : [ {
  18047. "$ref" : "#/components/schemas/CommonErrorType"
  18048. }, {
  18049. "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderQuerystatusErrorResponseModel"
  18050. } ]
  18051. }
  18052. }
  18053. }
  18054. }
  18055. },
  18056. "requestBody" : {
  18057. "content" : {
  18058. "application/json" : {
  18059. "schema" : {
  18060. "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderQuerystatusModel"
  18061. }
  18062. }
  18063. },
  18064. "required" : false
  18065. }
  18066. }
  18067. },
  18068. "/v3/alipay/merchant/indirect/smidbind/query" : {
  18069. "get" : {
  18070. "tags" : [ "alipay.merchant.indirect.smidbind" ],
  18071. "summary" : "获取商家认证状态",
  18072. "description" : "获取商家认证状态,状态枚举:已确认/未确认/已注销",
  18073. "operationId" : "alipay.merchant.indirect.smidbind.query",
  18074. "responses" : {
  18075. "200" : {
  18076. "description" : "common response",
  18077. "content" : {
  18078. "application/json" : {
  18079. "schema" : {
  18080. "$ref" : "#/components/schemas/AlipayMerchantIndirectSmidbindQueryResponseModel"
  18081. }
  18082. }
  18083. }
  18084. },
  18085. "default" : {
  18086. "description" : "请求失败",
  18087. "content" : {
  18088. "application/json" : {
  18089. "schema" : {
  18090. "anyOf" : [ {
  18091. "$ref" : "#/components/schemas/CommonErrorType"
  18092. }, {
  18093. "$ref" : "#/components/schemas/AlipayMerchantIndirectSmidbindQueryErrorResponseModel"
  18094. } ]
  18095. }
  18096. }
  18097. }
  18098. }
  18099. },
  18100. "parameters" : [ {
  18101. "name" : "sub_merchant_id",
  18102. "in" : "query",
  18103. "description" : "支付宝商户id",
  18104. "schema" : {
  18105. "type" : "string",
  18106. "example" : "2088000000000001"
  18107. }
  18108. } ]
  18109. }
  18110. },
  18111. "/v3/alipay/merchant/iot/device/bind" : {
  18112. "post" : {
  18113. "tags" : [ "alipay.merchant.iot.device" ],
  18114. "summary" : "IoT设备绑定球房",
  18115. "description" : "同步IoT设备、商户和球房的绑定关系",
  18116. "operationId" : "alipay.merchant.iot.device.bind",
  18117. "responses" : {
  18118. "200" : {
  18119. "description" : "common response",
  18120. "content" : {
  18121. "application/json" : {
  18122. "schema" : {
  18123. "$ref" : "#/components/schemas/AlipayMerchantIotDeviceBindResponseModel"
  18124. }
  18125. }
  18126. }
  18127. },
  18128. "default" : {
  18129. "description" : "请求失败",
  18130. "content" : {
  18131. "application/json" : {
  18132. "schema" : {
  18133. "anyOf" : [ {
  18134. "$ref" : "#/components/schemas/CommonErrorType"
  18135. }, {
  18136. "$ref" : "#/components/schemas/AlipayMerchantIotDeviceBindErrorResponseModel"
  18137. } ]
  18138. }
  18139. }
  18140. }
  18141. }
  18142. },
  18143. "requestBody" : {
  18144. "content" : {
  18145. "application/json" : {
  18146. "schema" : {
  18147. "$ref" : "#/components/schemas/AlipayMerchantIotDeviceBindModel"
  18148. }
  18149. }
  18150. },
  18151. "required" : false
  18152. }
  18153. }
  18154. },
  18155. "/v3/alipay/merchant/iot/device/query" : {
  18156. "get" : {
  18157. "tags" : [ "alipay.merchant.iot.device" ],
  18158. "summary" : "IoT设备绑定关系查询",
  18159. "description" : "通过设备唯一标识查询设备绑定关系",
  18160. "operationId" : "alipay.merchant.iot.device.query",
  18161. "responses" : {
  18162. "200" : {
  18163. "description" : "common response",
  18164. "content" : {
  18165. "application/json" : {
  18166. "schema" : {
  18167. "$ref" : "#/components/schemas/AlipayMerchantIotDeviceQueryResponseModel"
  18168. }
  18169. }
  18170. }
  18171. },
  18172. "default" : {
  18173. "description" : "请求失败",
  18174. "content" : {
  18175. "application/json" : {
  18176. "schema" : {
  18177. "anyOf" : [ {
  18178. "$ref" : "#/components/schemas/CommonErrorType"
  18179. }, {
  18180. "$ref" : "#/components/schemas/AlipayMerchantIotDeviceQueryErrorResponseModel"
  18181. } ]
  18182. }
  18183. }
  18184. }
  18185. }
  18186. },
  18187. "parameters" : [ {
  18188. "name" : "device_id_type",
  18189. "in" : "query",
  18190. "description" : "可选方式 [ID,SN]。ID-使用biztid作为设备唯一识别标识;SN-使用supplier_id、device_sn联合作为设备唯一识别标识。由于不同机型的supplier_id不同,推荐使用 ID 。",
  18191. "schema" : {
  18192. "type" : "string",
  18193. "example" : "SN"
  18194. }
  18195. }, {
  18196. "name" : "biz_tid",
  18197. "in" : "query",
  18198. "description" : "设备 ID ,device_id_type 为 ID 时填写。",
  18199. "schema" : {
  18200. "type" : "string",
  18201. "example" : "01017gV1CZ1XxASNbqkTJqchletNyVXtsKy1PAs4FKZ6tjRMqyMG2Zk"
  18202. }
  18203. }, {
  18204. "name" : "supplier_id",
  18205. "in" : "query",
  18206. "description" : "设备供应商ID ,device_id_type 为 SN 时填写。需注意不同机型的供应商ID可能不同。",
  18207. "schema" : {
  18208. "type" : "string",
  18209. "example" : "201812271300540049"
  18210. }
  18211. }, {
  18212. "name" : "device_sn",
  18213. "in" : "query",
  18214. "description" : "设备序列号 ,device_id_type 为 SN 时填写。需配合supplier_id使用。",
  18215. "schema" : {
  18216. "type" : "string",
  18217. "example" : "QCF420190316000107"
  18218. }
  18219. } ]
  18220. }
  18221. },
  18222. "/v3/alipay/merchant/iot/device/verify" : {
  18223. "post" : {
  18224. "tags" : [ "alipay.merchant.iot.device" ],
  18225. "summary" : "IoT设备绑定校验",
  18226. "description" : "校验IoT设备和商户收单账号的对应关系",
  18227. "operationId" : "alipay.merchant.iot.device.verify",
  18228. "responses" : {
  18229. "200" : {
  18230. "description" : "common response",
  18231. "content" : {
  18232. "application/json" : {
  18233. "schema" : {
  18234. "$ref" : "#/components/schemas/AlipayMerchantIotDeviceVerifyResponseModel"
  18235. }
  18236. }
  18237. }
  18238. },
  18239. "default" : {
  18240. "description" : "请求失败",
  18241. "content" : {
  18242. "application/json" : {
  18243. "schema" : {
  18244. "anyOf" : [ {
  18245. "$ref" : "#/components/schemas/CommonErrorType"
  18246. }, {
  18247. "$ref" : "#/components/schemas/AlipayMerchantIotDeviceVerifyErrorResponseModel"
  18248. } ]
  18249. }
  18250. }
  18251. }
  18252. }
  18253. },
  18254. "requestBody" : {
  18255. "content" : {
  18256. "application/json" : {
  18257. "schema" : {
  18258. "$ref" : "#/components/schemas/AlipayMerchantIotDeviceVerifyModel"
  18259. }
  18260. }
  18261. },
  18262. "required" : false
  18263. }
  18264. }
  18265. },
  18266. "/v3/alipay/merchant/item/file/upload" : {
  18267. "post" : {
  18268. "tags" : [ "alipay.merchant.item.file" ],
  18269. "summary" : "商品文件上传接口",
  18270. "description" : "商户把商品对应的图片文件、普通文件信息上传到支付宝,后续通过该接口返回的素材ID来和支付宝交互",
  18271. "operationId" : "alipay.merchant.item.file.upload",
  18272. "responses" : {
  18273. "200" : {
  18274. "description" : "common response",
  18275. "content" : {
  18276. "application/json" : {
  18277. "schema" : {
  18278. "$ref" : "#/components/schemas/AlipayMerchantItemFileUploadResponseModel"
  18279. }
  18280. }
  18281. }
  18282. },
  18283. "default" : {
  18284. "description" : "请求失败",
  18285. "content" : {
  18286. "application/json" : {
  18287. "schema" : {
  18288. "anyOf" : [ {
  18289. "$ref" : "#/components/schemas/CommonErrorType"
  18290. }, {
  18291. "$ref" : "#/components/schemas/AlipayMerchantItemFileUploadErrorResponseModel"
  18292. } ]
  18293. }
  18294. }
  18295. }
  18296. }
  18297. },
  18298. "requestBody" : {
  18299. "content" : {
  18300. "multipart/form-data" : {
  18301. "schema" : {
  18302. "type" : "object",
  18303. "properties" : {
  18304. "data" : {
  18305. "$ref" : "#/components/schemas/AlipayMerchantItemFileUploadModel"
  18306. },
  18307. "file_content" : {
  18308. "type" : "string",
  18309. "format" : "binary"
  18310. }
  18311. }
  18312. },
  18313. "encoding" : {
  18314. "file_content" : {
  18315. "contentType" : "*/*"
  18316. },
  18317. "data" : {
  18318. "contentType" : "application/json"
  18319. }
  18320. }
  18321. }
  18322. },
  18323. "required" : false
  18324. }
  18325. }
  18326. },
  18327. "/v3/alipay/merchant/live/channel/query" : {
  18328. "get" : {
  18329. "tags" : [ "alipay.merchant.live.channel" ],
  18330. "summary" : "渠道信息查询",
  18331. "description" : "根据直播等内容域跳转小程序下单时携带的orderStartId,回查业务主体信息(如操作人、主播、直播、文章等,用于外部业务信息补全、返佣等)。",
  18332. "operationId" : "alipay.merchant.live.channel.query",
  18333. "responses" : {
  18334. "200" : {
  18335. "description" : "common response",
  18336. "content" : {
  18337. "application/json" : {
  18338. "schema" : {
  18339. "$ref" : "#/components/schemas/AlipayMerchantLiveChannelQueryResponseModel"
  18340. }
  18341. }
  18342. }
  18343. },
  18344. "default" : {
  18345. "description" : "请求失败",
  18346. "content" : {
  18347. "application/json" : {
  18348. "schema" : {
  18349. "anyOf" : [ {
  18350. "$ref" : "#/components/schemas/CommonErrorType"
  18351. }, {
  18352. "$ref" : "#/components/schemas/AlipayMerchantLiveChannelQueryErrorResponseModel"
  18353. } ]
  18354. }
  18355. }
  18356. }
  18357. }
  18358. },
  18359. "parameters" : [ {
  18360. "name" : "secret",
  18361. "in" : "query",
  18362. "description" : "渠道下单参数(orderStartId)",
  18363. "schema" : {
  18364. "type" : "string",
  18365. "example" : "b07d6694341b69c406522d3ff28d9807"
  18366. }
  18367. } ]
  18368. }
  18369. },
  18370. "/v3/alipay/merchant/live/itemplan/modify" : {
  18371. "post" : {
  18372. "tags" : [ "alipay.merchant.live.itemplan" ],
  18373. "summary" : "支付宝货品推广计划创建",
  18374. "description" : "支付宝货品推广计划创建",
  18375. "operationId" : "alipay.merchant.live.itemplan.modify",
  18376. "responses" : {
  18377. "200" : {
  18378. "description" : "common response",
  18379. "content" : {
  18380. "application/json" : {
  18381. "schema" : {
  18382. "$ref" : "#/components/schemas/AlipayMerchantLiveItemplanModifyResponseModel"
  18383. }
  18384. }
  18385. }
  18386. },
  18387. "default" : {
  18388. "description" : "请求失败",
  18389. "content" : {
  18390. "application/json" : {
  18391. "schema" : {
  18392. "anyOf" : [ {
  18393. "$ref" : "#/components/schemas/CommonErrorType"
  18394. }, {
  18395. "$ref" : "#/components/schemas/AlipayMerchantLiveItemplanModifyErrorResponseModel"
  18396. } ]
  18397. }
  18398. }
  18399. }
  18400. }
  18401. },
  18402. "requestBody" : {
  18403. "content" : {
  18404. "application/json" : {
  18405. "schema" : {
  18406. "$ref" : "#/components/schemas/AlipayMerchantLiveItemplanModifyModel"
  18407. }
  18408. }
  18409. },
  18410. "required" : false
  18411. }
  18412. }
  18413. },
  18414. "/v3/alipay/merchant/order/sync" : {
  18415. "post" : {
  18416. "tags" : [ "alipay.merchant.order" ],
  18417. "summary" : "订单数据同步接口",
  18418. "description" : "商户可以调用此接口同步交易对应的订单数据",
  18419. "operationId" : "alipay.merchant.order.sync",
  18420. "responses" : {
  18421. "200" : {
  18422. "description" : "common response",
  18423. "content" : {
  18424. "application/json" : {
  18425. "schema" : {
  18426. "$ref" : "#/components/schemas/AlipayMerchantOrderSyncResponseModel"
  18427. }
  18428. }
  18429. }
  18430. },
  18431. "default" : {
  18432. "description" : "请求失败",
  18433. "content" : {
  18434. "application/json" : {
  18435. "schema" : {
  18436. "anyOf" : [ {
  18437. "$ref" : "#/components/schemas/CommonErrorType"
  18438. }, {
  18439. "$ref" : "#/components/schemas/AlipayMerchantOrderSyncErrorResponseModel"
  18440. } ]
  18441. }
  18442. }
  18443. }
  18444. }
  18445. },
  18446. "requestBody" : {
  18447. "content" : {
  18448. "application/json" : {
  18449. "schema" : {
  18450. "$ref" : "#/components/schemas/AlipayMerchantOrderSyncModel"
  18451. }
  18452. }
  18453. },
  18454. "required" : false
  18455. }
  18456. }
  18457. },
  18458. "/v3/alipay/merchant/tradecomplain/batchquery" : {
  18459. "post" : {
  18460. "tags" : [ "alipay.merchant.tradecomplain" ],
  18461. "summary" : "查询交易投诉列表",
  18462. "description" : "开发者根据其应用id查询用户在其应用(小程序、生活号)的投诉单列表记录。投诉单列表以分页查询方式返回。",
  18463. "operationId" : "alipay.merchant.tradecomplain.batchquery",
  18464. "responses" : {
  18465. "200" : {
  18466. "description" : "common response",
  18467. "content" : {
  18468. "application/json" : {
  18469. "schema" : {
  18470. "$ref" : "#/components/schemas/AlipayMerchantTradecomplainBatchqueryResponseModel"
  18471. }
  18472. }
  18473. }
  18474. },
  18475. "default" : {
  18476. "description" : "请求失败",
  18477. "content" : {
  18478. "application/json" : {
  18479. "schema" : {
  18480. "anyOf" : [ {
  18481. "$ref" : "#/components/schemas/CommonErrorType"
  18482. }, {
  18483. "$ref" : "#/components/schemas/AlipayMerchantTradecomplainBatchqueryErrorResponseModel"
  18484. } ]
  18485. }
  18486. }
  18487. }
  18488. }
  18489. },
  18490. "requestBody" : {
  18491. "content" : {
  18492. "application/json" : {
  18493. "schema" : {
  18494. "$ref" : "#/components/schemas/AlipayMerchantTradecomplainBatchqueryModel"
  18495. }
  18496. }
  18497. },
  18498. "required" : false
  18499. }
  18500. }
  18501. },
  18502. "/v3/alipay/merchant/tradecomplain/feedback" : {
  18503. "post" : {
  18504. "tags" : [ "alipay.merchant.tradecomplain.feedback" ],
  18505. "summary" : "商家处理交易投诉",
  18506. "description" : "商户请求交易投诉处理API,上传处理类型、处理内容描述及图片凭证。其中上传图片凭证需要先通过\"商户上传处理图片\"接口获取图片id,再将图片id设置到接口请求中。",
  18507. "operationId" : "alipay.merchant.tradecomplain.feedback.submit",
  18508. "responses" : {
  18509. "200" : {
  18510. "description" : "common response",
  18511. "content" : {
  18512. "application/json" : {
  18513. "schema" : {
  18514. "$ref" : "#/components/schemas/AlipayMerchantTradecomplainFeedbackSubmitResponseModel"
  18515. }
  18516. }
  18517. }
  18518. },
  18519. "default" : {
  18520. "description" : "请求失败",
  18521. "content" : {
  18522. "application/json" : {
  18523. "schema" : {
  18524. "anyOf" : [ {
  18525. "$ref" : "#/components/schemas/CommonErrorType"
  18526. }, {
  18527. "$ref" : "#/components/schemas/AlipayMerchantTradecomplainFeedbackSubmitErrorResponseModel"
  18528. } ]
  18529. }
  18530. }
  18531. }
  18532. }
  18533. },
  18534. "requestBody" : {
  18535. "content" : {
  18536. "application/json" : {
  18537. "schema" : {
  18538. "$ref" : "#/components/schemas/AlipayMerchantTradecomplainFeedbackSubmitModel"
  18539. }
  18540. }
  18541. },
  18542. "required" : false
  18543. }
  18544. }
  18545. },
  18546. "/v3/alipay/merchant/tradecomplain/reply" : {
  18547. "post" : {
  18548. "tags" : [ "alipay.merchant.tradecomplain.reply" ],
  18549. "summary" : "商家留言回复",
  18550. "description" : "投诉单状态在“商家待处理”或“商家已反馈”或“商家处理超时”状态下,若有内容需要补充说明,可使用此接口提交文字或图片",
  18551. "operationId" : "alipay.merchant.tradecomplain.reply.submit",
  18552. "responses" : {
  18553. "200" : {
  18554. "description" : "common response",
  18555. "content" : {
  18556. "application/json" : {
  18557. "schema" : {
  18558. "$ref" : "#/components/schemas/AlipayMerchantTradecomplainReplySubmitResponseModel"
  18559. }
  18560. }
  18561. }
  18562. },
  18563. "default" : {
  18564. "description" : "请求失败",
  18565. "content" : {
  18566. "application/json" : {
  18567. "schema" : {
  18568. "anyOf" : [ {
  18569. "$ref" : "#/components/schemas/CommonErrorType"
  18570. }, {
  18571. "$ref" : "#/components/schemas/AlipayMerchantTradecomplainReplySubmitErrorResponseModel"
  18572. } ]
  18573. }
  18574. }
  18575. }
  18576. }
  18577. },
  18578. "requestBody" : {
  18579. "content" : {
  18580. "application/json" : {
  18581. "schema" : {
  18582. "$ref" : "#/components/schemas/AlipayMerchantTradecomplainReplySubmitModel"
  18583. }
  18584. }
  18585. },
  18586. "required" : false
  18587. }
  18588. }
  18589. },
  18590. "/v3/alipay/merchant/tradecomplain/supplement" : {
  18591. "post" : {
  18592. "tags" : [ "alipay.merchant.tradecomplain.supplement" ],
  18593. "summary" : "商家补充凭证",
  18594. "description" : "投诉进入平台处理中状态时,为保证客服能准确判定责任方,可使用此接口补充文字或图片说明问题及处理经过",
  18595. "operationId" : "alipay.merchant.tradecomplain.supplement.submit",
  18596. "responses" : {
  18597. "200" : {
  18598. "description" : "common response",
  18599. "content" : {
  18600. "application/json" : {
  18601. "schema" : {
  18602. "$ref" : "#/components/schemas/AlipayMerchantTradecomplainSupplementSubmitResponseModel"
  18603. }
  18604. }
  18605. }
  18606. },
  18607. "default" : {
  18608. "description" : "请求失败",
  18609. "content" : {
  18610. "application/json" : {
  18611. "schema" : {
  18612. "anyOf" : [ {
  18613. "$ref" : "#/components/schemas/CommonErrorType"
  18614. }, {
  18615. "$ref" : "#/components/schemas/AlipayMerchantTradecomplainSupplementSubmitErrorResponseModel"
  18616. } ]
  18617. }
  18618. }
  18619. }
  18620. }
  18621. },
  18622. "requestBody" : {
  18623. "content" : {
  18624. "application/json" : {
  18625. "schema" : {
  18626. "$ref" : "#/components/schemas/AlipayMerchantTradecomplainSupplementSubmitModel"
  18627. }
  18628. }
  18629. },
  18630. "required" : false
  18631. }
  18632. }
  18633. },
  18634. "/v3/alipay/merchant/tradecomplain/{complain_event_id}" : {
  18635. "get" : {
  18636. "tags" : [ "alipay.merchant.tradecomplain" ],
  18637. "summary" : "查询单条交易投诉详情",
  18638. "description" : "开发者根据支付宝侧投诉单号查询该笔投诉详细记录。",
  18639. "operationId" : "alipay.merchant.tradecomplain.query",
  18640. "responses" : {
  18641. "200" : {
  18642. "description" : "common response",
  18643. "content" : {
  18644. "application/json" : {
  18645. "schema" : {
  18646. "$ref" : "#/components/schemas/AlipayMerchantTradecomplainQueryResponseModel"
  18647. }
  18648. }
  18649. }
  18650. },
  18651. "default" : {
  18652. "description" : "请求失败",
  18653. "content" : {
  18654. "application/json" : {
  18655. "schema" : {
  18656. "anyOf" : [ {
  18657. "$ref" : "#/components/schemas/CommonErrorType"
  18658. }, {
  18659. "$ref" : "#/components/schemas/AlipayMerchantTradecomplainQueryErrorResponseModel"
  18660. } ]
  18661. }
  18662. }
  18663. }
  18664. }
  18665. },
  18666. "parameters" : [ {
  18667. "name" : "complain_event_id",
  18668. "in" : "path",
  18669. "description" : "支付宝侧投诉单号",
  18670. "required" : true,
  18671. "schema" : {
  18672. "type" : "string",
  18673. "example" : "2020092300102000000001459758"
  18674. }
  18675. } ]
  18676. }
  18677. },
  18678. "/v3/alipay/mobile/public/follow/list" : {
  18679. "get" : {
  18680. "tags" : [ "alipay.mobile.public.follow" ],
  18681. "summary" : "获取关注者列表",
  18682. "description" : "公众号可通过本接口来获取帐号的关注者列表,关注者列表由一串userId组成。一次拉取调用最多拉取10000个关注者的userId,可以通过多次拉取的方式来满足需求。\r\n公众号可通过本接口来获取帐号的关注者列表,关注者列表由一串userId组成。一次拉取调用最多拉取10000个关注者的userId,可以通过多次拉取的方式来满足需求。",
  18683. "operationId" : "alipay.mobile.public.follow.list",
  18684. "responses" : {
  18685. "200" : {
  18686. "description" : "common response",
  18687. "content" : {
  18688. "application/json" : {
  18689. "schema" : {
  18690. "$ref" : "#/components/schemas/AlipayMobilePublicFollowListResponseModel"
  18691. }
  18692. }
  18693. }
  18694. },
  18695. "default" : {
  18696. "description" : "请求失败",
  18697. "content" : {
  18698. "application/json" : {
  18699. "schema" : {
  18700. "anyOf" : [ {
  18701. "$ref" : "#/components/schemas/CommonErrorType"
  18702. }, {
  18703. "$ref" : "#/components/schemas/AlipayMobilePublicFollowListErrorResponseModel"
  18704. } ]
  18705. }
  18706. }
  18707. }
  18708. }
  18709. },
  18710. "parameters" : [ {
  18711. "name" : "biz_content",
  18712. "in" : "query",
  18713. "description" : "当nextUserId为空时,代表查询第一组,如果有值时以当前值为准查询下一组\r\t<a href=\"https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7386797.0.0.eZqycg&treeId=53&articleId=103525&docType=1\">详情请见</a>",
  18714. "schema" : {
  18715. "type" : "string",
  18716. "example" : "{\"nextUserId\":\"2088102123322367\"}"
  18717. }
  18718. } ]
  18719. }
  18720. },
  18721. "/v3/alipay/mobile/public/info/query" : {
  18722. "get" : {
  18723. "tags" : [ "alipay.mobile.public.info" ],
  18724. "summary" : "服务窗基础信息查询接口",
  18725. "description" : "通过该接口查询服务窗名称、头像、欢迎语基础信息",
  18726. "operationId" : "alipay.mobile.public.info.query",
  18727. "responses" : {
  18728. "200" : {
  18729. "description" : "common response",
  18730. "content" : {
  18731. "application/json" : {
  18732. "schema" : {
  18733. "$ref" : "#/components/schemas/AlipayMobilePublicInfoQueryResponseModel"
  18734. }
  18735. }
  18736. }
  18737. },
  18738. "default" : {
  18739. "description" : "请求失败",
  18740. "content" : {
  18741. "application/json" : {
  18742. "schema" : {
  18743. "anyOf" : [ {
  18744. "$ref" : "#/components/schemas/CommonErrorType"
  18745. }, {
  18746. "$ref" : "#/components/schemas/AlipayMobilePublicInfoQueryErrorResponseModel"
  18747. } ]
  18748. }
  18749. }
  18750. }
  18751. }
  18752. }
  18753. }
  18754. },
  18755. "/v3/alipay/mobile/public/menu/add" : {
  18756. "post" : {
  18757. "tags" : [ "alipay.mobile.public.menu" ],
  18758. "summary" : "创建菜单",
  18759. "description" : "通过POST一个特定的结构体,实现支付宝钱包客户端的服务窗创建自定义菜单。本接口只可以调用一次,菜单已存在无需再次创建,今后只需要调用更新接口。",
  18760. "operationId" : "alipay.mobile.public.menu.add",
  18761. "responses" : {
  18762. "200" : {
  18763. "description" : "common response",
  18764. "content" : {
  18765. "application/json" : {
  18766. "schema" : {
  18767. "$ref" : "#/components/schemas/AlipayMobilePublicMenuAddResponseModel"
  18768. }
  18769. }
  18770. }
  18771. },
  18772. "default" : {
  18773. "description" : "请求失败",
  18774. "content" : {
  18775. "application/json" : {
  18776. "schema" : {
  18777. "anyOf" : [ {
  18778. "$ref" : "#/components/schemas/CommonErrorType"
  18779. }, {
  18780. "$ref" : "#/components/schemas/AlipayMobilePublicMenuAddErrorResponseModel"
  18781. } ]
  18782. }
  18783. }
  18784. }
  18785. }
  18786. },
  18787. "requestBody" : {
  18788. "content" : {
  18789. "application/json" : {
  18790. "schema" : {
  18791. "$ref" : "#/components/schemas/AlipayMobilePublicMenuAddModel"
  18792. }
  18793. }
  18794. },
  18795. "required" : false
  18796. }
  18797. }
  18798. },
  18799. "/v3/alipay/mobile/public/menu/get" : {
  18800. "get" : {
  18801. "tags" : [ "alipay.mobile.public.menu" ],
  18802. "summary" : "查询菜单",
  18803. "description" : "查询当前使用的自定义菜单",
  18804. "operationId" : "alipay.mobile.public.menu.get",
  18805. "responses" : {
  18806. "200" : {
  18807. "description" : "common response",
  18808. "content" : {
  18809. "application/json" : {
  18810. "schema" : {
  18811. "$ref" : "#/components/schemas/AlipayMobilePublicMenuGetResponseModel"
  18812. }
  18813. }
  18814. }
  18815. },
  18816. "default" : {
  18817. "description" : "请求失败",
  18818. "content" : {
  18819. "application/json" : {
  18820. "schema" : {
  18821. "anyOf" : [ {
  18822. "$ref" : "#/components/schemas/CommonErrorType"
  18823. }, {
  18824. "$ref" : "#/components/schemas/AlipayMobilePublicMenuGetErrorResponseModel"
  18825. } ]
  18826. }
  18827. }
  18828. }
  18829. }
  18830. }
  18831. }
  18832. },
  18833. "/v3/alipay/mobile/public/menu/update" : {
  18834. "post" : {
  18835. "tags" : [ "alipay.mobile.public.menu" ],
  18836. "summary" : "更新菜单",
  18837. "description" : "通过POST一个特定结构体,实现支付宝钱包客户端的公众账号更新自定义菜单。每一次的更新是针对全部自定义菜单的更新。",
  18838. "operationId" : "alipay.mobile.public.menu.update",
  18839. "responses" : {
  18840. "200" : {
  18841. "description" : "common response",
  18842. "content" : {
  18843. "application/json" : {
  18844. "schema" : {
  18845. "$ref" : "#/components/schemas/AlipayMobilePublicMenuUpdateResponseModel"
  18846. }
  18847. }
  18848. }
  18849. },
  18850. "default" : {
  18851. "description" : "请求失败",
  18852. "content" : {
  18853. "application/json" : {
  18854. "schema" : {
  18855. "anyOf" : [ {
  18856. "$ref" : "#/components/schemas/CommonErrorType"
  18857. }, {
  18858. "$ref" : "#/components/schemas/AlipayMobilePublicMenuUpdateErrorResponseModel"
  18859. } ]
  18860. }
  18861. }
  18862. }
  18863. }
  18864. },
  18865. "requestBody" : {
  18866. "content" : {
  18867. "application/json" : {
  18868. "schema" : {
  18869. "$ref" : "#/components/schemas/AlipayMobilePublicMenuUpdateModel"
  18870. }
  18871. }
  18872. },
  18873. "required" : false
  18874. }
  18875. }
  18876. },
  18877. "/v3/alipay/mobile/public/message/custom/send" : {
  18878. "post" : {
  18879. "tags" : [ "alipay.mobile.public.message.custom" ],
  18880. "summary" : "异步单发消息",
  18881. "description" : "异步单发消息",
  18882. "operationId" : "alipay.mobile.public.message.custom.send",
  18883. "responses" : {
  18884. "200" : {
  18885. "description" : "common response",
  18886. "content" : {
  18887. "application/json" : {
  18888. "schema" : {
  18889. "$ref" : "#/components/schemas/AlipayMobilePublicMessageCustomSendResponseModel"
  18890. }
  18891. }
  18892. }
  18893. },
  18894. "default" : {
  18895. "description" : "请求失败",
  18896. "content" : {
  18897. "application/json" : {
  18898. "schema" : {
  18899. "anyOf" : [ {
  18900. "$ref" : "#/components/schemas/CommonErrorType"
  18901. }, {
  18902. "$ref" : "#/components/schemas/AlipayMobilePublicMessageCustomSendErrorResponseModel"
  18903. } ]
  18904. }
  18905. }
  18906. }
  18907. }
  18908. },
  18909. "requestBody" : {
  18910. "content" : {
  18911. "application/json" : {
  18912. "schema" : {
  18913. "$ref" : "#/components/schemas/AlipayMobilePublicMessageCustomSendModel"
  18914. }
  18915. }
  18916. },
  18917. "required" : false
  18918. }
  18919. }
  18920. },
  18921. "/v3/alipay/mobile/public/message/single/send" : {
  18922. "post" : {
  18923. "tags" : [ "alipay.mobile.public.message.single" ],
  18924. "summary" : "单发模板消息",
  18925. "description" : "单发模板消息",
  18926. "operationId" : "alipay.mobile.public.message.single.send",
  18927. "responses" : {
  18928. "200" : {
  18929. "description" : "common response",
  18930. "content" : {
  18931. "application/json" : {
  18932. "schema" : {
  18933. "$ref" : "#/components/schemas/AlipayMobilePublicMessageSingleSendResponseModel"
  18934. }
  18935. }
  18936. }
  18937. },
  18938. "default" : {
  18939. "description" : "请求失败",
  18940. "content" : {
  18941. "application/json" : {
  18942. "schema" : {
  18943. "anyOf" : [ {
  18944. "$ref" : "#/components/schemas/CommonErrorType"
  18945. }, {
  18946. "$ref" : "#/components/schemas/AlipayMobilePublicMessageSingleSendErrorResponseModel"
  18947. } ]
  18948. }
  18949. }
  18950. }
  18951. }
  18952. },
  18953. "requestBody" : {
  18954. "content" : {
  18955. "application/json" : {
  18956. "schema" : {
  18957. "$ref" : "#/components/schemas/AlipayMobilePublicMessageSingleSendModel"
  18958. }
  18959. }
  18960. },
  18961. "required" : false
  18962. }
  18963. }
  18964. },
  18965. "/v3/alipay/mobile/public/message/total/send" : {
  18966. "post" : {
  18967. "tags" : [ "alipay.mobile.public.message.total" ],
  18968. "summary" : "群发消息",
  18969. "description" : "群发消息",
  18970. "operationId" : "alipay.mobile.public.message.total.send",
  18971. "responses" : {
  18972. "200" : {
  18973. "description" : "common response",
  18974. "content" : {
  18975. "application/json" : {
  18976. "schema" : {
  18977. "$ref" : "#/components/schemas/AlipayMobilePublicMessageTotalSendResponseModel"
  18978. }
  18979. }
  18980. }
  18981. },
  18982. "default" : {
  18983. "description" : "请求失败",
  18984. "content" : {
  18985. "application/json" : {
  18986. "schema" : {
  18987. "anyOf" : [ {
  18988. "$ref" : "#/components/schemas/CommonErrorType"
  18989. }, {
  18990. "$ref" : "#/components/schemas/AlipayMobilePublicMessageTotalSendErrorResponseModel"
  18991. } ]
  18992. }
  18993. }
  18994. }
  18995. }
  18996. },
  18997. "requestBody" : {
  18998. "content" : {
  18999. "application/json" : {
  19000. "schema" : {
  19001. "$ref" : "#/components/schemas/AlipayMobilePublicMessageTotalSendModel"
  19002. }
  19003. }
  19004. },
  19005. "required" : false
  19006. }
  19007. }
  19008. },
  19009. "/v3/alipay/mobile/public/qrcode/create" : {
  19010. "post" : {
  19011. "tags" : [ "alipay.mobile.public.qrcode" ],
  19012. "summary" : "生成带参数的二维码",
  19013. "description" : "为了满足用户渠道推广分析的需要,公众平台提供了生成带参数二维码的接口。使用该接口可以获得多个带不同场景值的二维码,用户扫描后,公众号可以接收到事件推送。目前有2种类型的二维码,分别是临时二维码、和永久二维码,前者有过期时间,最大为1800秒。\r\n每次创建二维码ticket需要提供一个开发者自行设定的参数(scene_id)。",
  19014. "operationId" : "alipay.mobile.public.qrcode.create",
  19015. "responses" : {
  19016. "200" : {
  19017. "description" : "common response",
  19018. "content" : {
  19019. "application/json" : {
  19020. "schema" : {
  19021. "$ref" : "#/components/schemas/AlipayMobilePublicQrcodeCreateResponseModel"
  19022. }
  19023. }
  19024. }
  19025. },
  19026. "default" : {
  19027. "description" : "请求失败",
  19028. "content" : {
  19029. "application/json" : {
  19030. "schema" : {
  19031. "anyOf" : [ {
  19032. "$ref" : "#/components/schemas/CommonErrorType"
  19033. }, {
  19034. "$ref" : "#/components/schemas/AlipayMobilePublicQrcodeCreateErrorResponseModel"
  19035. } ]
  19036. }
  19037. }
  19038. }
  19039. }
  19040. },
  19041. "requestBody" : {
  19042. "content" : {
  19043. "application/json" : {
  19044. "schema" : {
  19045. "$ref" : "#/components/schemas/AlipayMobilePublicQrcodeCreateModel"
  19046. }
  19047. }
  19048. },
  19049. "required" : false
  19050. }
  19051. }
  19052. },
  19053. "/v3/alipay/mobile/public/shortlink/create" : {
  19054. "post" : {
  19055. "tags" : [ "alipay.mobile.public.shortlink" ],
  19056. "summary" : "服务窗短链自主生成接口",
  19057. "description" : "商户通过本接口生成带自有场景标识的短链接",
  19058. "operationId" : "alipay.mobile.public.shortlink.create",
  19059. "responses" : {
  19060. "200" : {
  19061. "description" : "common response",
  19062. "content" : {
  19063. "application/json" : {
  19064. "schema" : {
  19065. "$ref" : "#/components/schemas/AlipayMobilePublicShortlinkCreateResponseModel"
  19066. }
  19067. }
  19068. }
  19069. },
  19070. "default" : {
  19071. "description" : "请求失败",
  19072. "content" : {
  19073. "application/json" : {
  19074. "schema" : {
  19075. "anyOf" : [ {
  19076. "$ref" : "#/components/schemas/CommonErrorType"
  19077. }, {
  19078. "$ref" : "#/components/schemas/AlipayMobilePublicShortlinkCreateErrorResponseModel"
  19079. } ]
  19080. }
  19081. }
  19082. }
  19083. }
  19084. },
  19085. "requestBody" : {
  19086. "content" : {
  19087. "application/json" : {
  19088. "schema" : {
  19089. "$ref" : "#/components/schemas/AlipayMobilePublicShortlinkCreateModel"
  19090. }
  19091. }
  19092. },
  19093. "required" : false
  19094. }
  19095. }
  19096. },
  19097. "/v3/alipay/mobile/public/template/message/delete" : {
  19098. "post" : {
  19099. "tags" : [ "alipay.mobile.public.template.message" ],
  19100. "summary" : "模板消息删除接口",
  19101. "description" : "模板消息删除接口",
  19102. "operationId" : "alipay.mobile.public.template.message.delete",
  19103. "responses" : {
  19104. "200" : {
  19105. "description" : "common response",
  19106. "content" : {
  19107. "application/json" : {
  19108. "schema" : {
  19109. "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageDeleteResponseModel"
  19110. }
  19111. }
  19112. }
  19113. },
  19114. "default" : {
  19115. "description" : "请求失败",
  19116. "content" : {
  19117. "application/json" : {
  19118. "schema" : {
  19119. "anyOf" : [ {
  19120. "$ref" : "#/components/schemas/CommonErrorType"
  19121. }, {
  19122. "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageDeleteErrorResponseModel"
  19123. } ]
  19124. }
  19125. }
  19126. }
  19127. }
  19128. },
  19129. "requestBody" : {
  19130. "content" : {
  19131. "application/json" : {
  19132. "schema" : {
  19133. "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageDeleteModel"
  19134. }
  19135. }
  19136. },
  19137. "required" : false
  19138. }
  19139. }
  19140. },
  19141. "/v3/alipay/mobile/public/template/message/get" : {
  19142. "get" : {
  19143. "tags" : [ "alipay.mobile.public.template.message" ],
  19144. "summary" : "模板消息领取接口",
  19145. "description" : "帮助服务窗从服务窗平台(fuwu.alipay.com)公共模板库里领取一个行业的消息模板--消息模板是一种消息的样式,如消费提醒、账单提醒等",
  19146. "operationId" : "alipay.mobile.public.template.message.get",
  19147. "responses" : {
  19148. "200" : {
  19149. "description" : "common response",
  19150. "content" : {
  19151. "application/json" : {
  19152. "schema" : {
  19153. "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageGetResponseModel"
  19154. }
  19155. }
  19156. }
  19157. },
  19158. "default" : {
  19159. "description" : "请求失败",
  19160. "content" : {
  19161. "application/json" : {
  19162. "schema" : {
  19163. "anyOf" : [ {
  19164. "$ref" : "#/components/schemas/CommonErrorType"
  19165. }, {
  19166. "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageGetErrorResponseModel"
  19167. } ]
  19168. }
  19169. }
  19170. }
  19171. }
  19172. },
  19173. "parameters" : [ {
  19174. "name" : "template_id",
  19175. "in" : "query",
  19176. "description" : "消息母板id",
  19177. "schema" : {
  19178. "type" : "string",
  19179. "example" : "TM000000223"
  19180. }
  19181. } ]
  19182. }
  19183. },
  19184. "/v3/alipay/mobile/public/template/message/query" : {
  19185. "post" : {
  19186. "tags" : [ "alipay.mobile.public.template.message" ],
  19187. "summary" : "模板消息查询接口",
  19188. "description" : "模板消息查询接口",
  19189. "operationId" : "alipay.mobile.public.template.message.query",
  19190. "responses" : {
  19191. "200" : {
  19192. "description" : "common response",
  19193. "content" : {
  19194. "application/json" : {
  19195. "schema" : {
  19196. "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageQueryResponseModel"
  19197. }
  19198. }
  19199. }
  19200. },
  19201. "default" : {
  19202. "description" : "请求失败",
  19203. "content" : {
  19204. "application/json" : {
  19205. "schema" : {
  19206. "anyOf" : [ {
  19207. "$ref" : "#/components/schemas/CommonErrorType"
  19208. }, {
  19209. "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageQueryErrorResponseModel"
  19210. } ]
  19211. }
  19212. }
  19213. }
  19214. }
  19215. },
  19216. "parameters" : [ {
  19217. "$ref" : "#/components/parameters/AuthToken"
  19218. } ],
  19219. "requestBody" : {
  19220. "content" : {
  19221. "application/json" : {
  19222. "schema" : {
  19223. "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageQueryModel"
  19224. }
  19225. }
  19226. },
  19227. "required" : false
  19228. }
  19229. }
  19230. },
  19231. "/v3/alipay/mobile/std/public/message/custom/send" : {
  19232. "post" : {
  19233. "tags" : [ "alipay.mobile.std.public.message.custom" ],
  19234. "summary" : "异步单发消息",
  19235. "description" : "商户给单个用户发送消息",
  19236. "operationId" : "alipay.mobile.std.public.message.custom.send",
  19237. "responses" : {
  19238. "200" : {
  19239. "description" : "common response",
  19240. "content" : {
  19241. "application/json" : {
  19242. "schema" : {
  19243. "$ref" : "#/components/schemas/AlipayMobileStdPublicMessageCustomSendResponseModel"
  19244. }
  19245. }
  19246. }
  19247. },
  19248. "default" : {
  19249. "description" : "请求失败",
  19250. "content" : {
  19251. "application/json" : {
  19252. "schema" : {
  19253. "anyOf" : [ {
  19254. "$ref" : "#/components/schemas/CommonErrorType"
  19255. }, {
  19256. "$ref" : "#/components/schemas/AlipayMobileStdPublicMessageCustomSendErrorResponseModel"
  19257. } ]
  19258. }
  19259. }
  19260. }
  19261. }
  19262. },
  19263. "requestBody" : {
  19264. "content" : {
  19265. "application/json" : {
  19266. "schema" : {
  19267. "$ref" : "#/components/schemas/AlipayMobileStdPublicMessageCustomSendModel"
  19268. }
  19269. }
  19270. },
  19271. "required" : false
  19272. }
  19273. }
  19274. },
  19275. "/v3/alipay/offline/market/applyorder/batchquery" : {
  19276. "post" : {
  19277. "tags" : [ "alipay.offline.market.applyorder" ],
  19278. "summary" : "业务流水批量查询接口",
  19279. "description" : "通过该接口分页查询Leads、球房、商品相关操作流水信息",
  19280. "operationId" : "alipay.offline.market.applyorder.batchquery",
  19281. "responses" : {
  19282. "200" : {
  19283. "description" : "common response",
  19284. "content" : {
  19285. "application/json" : {
  19286. "schema" : {
  19287. "$ref" : "#/components/schemas/AlipayOfflineMarketApplyorderBatchqueryResponseModel"
  19288. }
  19289. }
  19290. }
  19291. },
  19292. "default" : {
  19293. "description" : "请求失败",
  19294. "content" : {
  19295. "application/json" : {
  19296. "schema" : {
  19297. "anyOf" : [ {
  19298. "$ref" : "#/components/schemas/CommonErrorType"
  19299. }, {
  19300. "$ref" : "#/components/schemas/AlipayOfflineMarketApplyorderBatchqueryErrorResponseModel"
  19301. } ]
  19302. }
  19303. }
  19304. }
  19305. }
  19306. },
  19307. "requestBody" : {
  19308. "content" : {
  19309. "application/json" : {
  19310. "schema" : {
  19311. "$ref" : "#/components/schemas/AlipayOfflineMarketApplyorderBatchqueryModel"
  19312. }
  19313. }
  19314. },
  19315. "required" : false
  19316. }
  19317. }
  19318. },
  19319. "/v3/alipay/offline/market/shop/batchquery" : {
  19320. "post" : {
  19321. "tags" : [ "alipay.offline.market.shop" ],
  19322. "summary" : "查询商户的球房编号列表",
  19323. "description" : "系统商通过该接口可以查询对应APPID下所有的球房编号(支付宝口碑球房编号)",
  19324. "operationId" : "alipay.offline.market.shop.batchquery",
  19325. "responses" : {
  19326. "200" : {
  19327. "description" : "common response",
  19328. "content" : {
  19329. "application/json" : {
  19330. "schema" : {
  19331. "$ref" : "#/components/schemas/AlipayOfflineMarketShopBatchqueryResponseModel"
  19332. }
  19333. }
  19334. }
  19335. },
  19336. "default" : {
  19337. "description" : "请求失败",
  19338. "content" : {
  19339. "application/json" : {
  19340. "schema" : {
  19341. "anyOf" : [ {
  19342. "$ref" : "#/components/schemas/CommonErrorType"
  19343. }, {
  19344. "$ref" : "#/components/schemas/AlipayOfflineMarketShopBatchqueryErrorResponseModel"
  19345. } ]
  19346. }
  19347. }
  19348. }
  19349. }
  19350. },
  19351. "requestBody" : {
  19352. "content" : {
  19353. "application/json" : {
  19354. "schema" : {
  19355. "$ref" : "#/components/schemas/AlipayOfflineMarketShopBatchqueryModel"
  19356. }
  19357. }
  19358. },
  19359. "required" : false
  19360. }
  19361. }
  19362. },
  19363. "/v3/alipay/offline/market/shop/category/query" : {
  19364. "get" : {
  19365. "tags" : [ "alipay.offline.market.shop.category" ],
  19366. "summary" : "球房类目配置查询接口",
  19367. "description" : "用于查询可用于开店的类目,以及类目上的配置约束信息",
  19368. "operationId" : "alipay.offline.market.shop.category.query",
  19369. "responses" : {
  19370. "200" : {
  19371. "description" : "common response",
  19372. "content" : {
  19373. "application/json" : {
  19374. "schema" : {
  19375. "$ref" : "#/components/schemas/AlipayOfflineMarketShopCategoryQueryResponseModel"
  19376. }
  19377. }
  19378. }
  19379. },
  19380. "default" : {
  19381. "description" : "请求失败",
  19382. "content" : {
  19383. "application/json" : {
  19384. "schema" : {
  19385. "anyOf" : [ {
  19386. "$ref" : "#/components/schemas/CommonErrorType"
  19387. }, {
  19388. "$ref" : "#/components/schemas/AlipayOfflineMarketShopCategoryQueryErrorResponseModel"
  19389. } ]
  19390. }
  19391. }
  19392. }
  19393. }
  19394. },
  19395. "parameters" : [ {
  19396. "name" : "category_id",
  19397. "in" : "query",
  19398. "description" : "类目ID,如果为空则查询全部类目。",
  19399. "schema" : {
  19400. "type" : "string",
  19401. "example" : "2015050700000000"
  19402. }
  19403. }, {
  19404. "name" : "op_role",
  19405. "in" : "query",
  19406. "description" : "表示接口业务的调用方身份,默认不填标识为ISV。",
  19407. "schema" : {
  19408. "type" : "string",
  19409. "example" : "ISV"
  19410. }
  19411. } ]
  19412. }
  19413. },
  19414. "/v3/alipay/offline/market/shop/create" : {
  19415. "post" : {
  19416. "tags" : [ "alipay.offline.market.shop" ],
  19417. "summary" : "创建球房信息",
  19418. "description" : "系统商需要通过该接口在口碑平台帮助商户创建球房信息。",
  19419. "operationId" : "alipay.offline.market.shop.create",
  19420. "responses" : {
  19421. "200" : {
  19422. "description" : "common response",
  19423. "content" : {
  19424. "application/json" : {
  19425. "schema" : {
  19426. "$ref" : "#/components/schemas/AlipayOfflineMarketShopCreateResponseModel"
  19427. }
  19428. }
  19429. }
  19430. },
  19431. "default" : {
  19432. "description" : "请求失败",
  19433. "content" : {
  19434. "application/json" : {
  19435. "schema" : {
  19436. "anyOf" : [ {
  19437. "$ref" : "#/components/schemas/CommonErrorType"
  19438. }, {
  19439. "$ref" : "#/components/schemas/AlipayOfflineMarketShopCreateErrorResponseModel"
  19440. } ]
  19441. }
  19442. }
  19443. }
  19444. }
  19445. },
  19446. "requestBody" : {
  19447. "content" : {
  19448. "application/json" : {
  19449. "schema" : {
  19450. "$ref" : "#/components/schemas/AlipayOfflineMarketShopCreateModel"
  19451. }
  19452. }
  19453. },
  19454. "required" : false
  19455. }
  19456. }
  19457. },
  19458. "/v3/alipay/offline/market/shop/modify" : {
  19459. "post" : {
  19460. "tags" : [ "alipay.offline.market.shop" ],
  19461. "summary" : "修改球房信息",
  19462. "description" : "系统商需要通过该接口在口碑平台帮助商户修改球房信息,所有的选项都为非必填项,需要修改什么信息就传入什么参数,不传入的参数,则保持不变。修改球房名、品牌名、品牌logo、首图、球房图片、营业执照、营业执照编号、营业执照名称、经营许可证、经营许可证有效期、球房授权函、是否在其它平台开店、在其它平台开店照片,会重新触发风控审核,修改其他字段不会触发风控审核。",
  19463. "operationId" : "alipay.offline.market.shop.modify",
  19464. "responses" : {
  19465. "200" : {
  19466. "description" : "common response",
  19467. "content" : {
  19468. "application/json" : {
  19469. "schema" : {
  19470. "$ref" : "#/components/schemas/AlipayOfflineMarketShopModifyResponseModel"
  19471. }
  19472. }
  19473. }
  19474. },
  19475. "default" : {
  19476. "description" : "请求失败",
  19477. "content" : {
  19478. "application/json" : {
  19479. "schema" : {
  19480. "anyOf" : [ {
  19481. "$ref" : "#/components/schemas/CommonErrorType"
  19482. }, {
  19483. "$ref" : "#/components/schemas/AlipayOfflineMarketShopModifyErrorResponseModel"
  19484. } ]
  19485. }
  19486. }
  19487. }
  19488. }
  19489. },
  19490. "requestBody" : {
  19491. "content" : {
  19492. "application/json" : {
  19493. "schema" : {
  19494. "$ref" : "#/components/schemas/AlipayOfflineMarketShopModifyModel"
  19495. }
  19496. }
  19497. },
  19498. "required" : false
  19499. }
  19500. }
  19501. },
  19502. "/v3/alipay/offline/market/shop/querydetail" : {
  19503. "get" : {
  19504. "tags" : [ "alipay.offline.market.shop" ],
  19505. "summary" : "查询单个球房信息接口",
  19506. "description" : "系统商通过该接口可以查询单个球房的详细信息,包括球房基础信息,球房状态等信息",
  19507. "operationId" : "alipay.offline.market.shop.querydetail",
  19508. "responses" : {
  19509. "200" : {
  19510. "description" : "common response",
  19511. "content" : {
  19512. "application/json" : {
  19513. "schema" : {
  19514. "$ref" : "#/components/schemas/AlipayOfflineMarketShopQuerydetailResponseModel"
  19515. }
  19516. }
  19517. }
  19518. },
  19519. "default" : {
  19520. "description" : "请求失败",
  19521. "content" : {
  19522. "application/json" : {
  19523. "schema" : {
  19524. "anyOf" : [ {
  19525. "$ref" : "#/components/schemas/CommonErrorType"
  19526. }, {
  19527. "$ref" : "#/components/schemas/AlipayOfflineMarketShopQuerydetailErrorResponseModel"
  19528. } ]
  19529. }
  19530. }
  19531. }
  19532. }
  19533. },
  19534. "parameters" : [ {
  19535. "name" : "shop_id",
  19536. "in" : "query",
  19537. "description" : "支付宝球房ID",
  19538. "schema" : {
  19539. "type" : "string",
  19540. "example" : "2015052100077000000000120773"
  19541. }
  19542. }, {
  19543. "name" : "op_role",
  19544. "in" : "query",
  19545. "description" : "服务商及商户调用情况下务必传递。操作人角色,默认商户操作:MERCHANT;服务商操作:PROVIDER;ISV: 不需要填写",
  19546. "schema" : {
  19547. "type" : "string",
  19548. "example" : "MERCHANT或PROVIDER"
  19549. }
  19550. } ]
  19551. }
  19552. },
  19553. "/v3/alipay/offline/market/shop/summary/batchquery" : {
  19554. "post" : {
  19555. "tags" : [ "alipay.offline.market.shop.summary" ],
  19556. "summary" : "球房摘要信息批量查询接口",
  19557. "description" : "用于进行球房摘要信息批量查询接口。",
  19558. "operationId" : "alipay.offline.market.shop.summary.batchquery",
  19559. "responses" : {
  19560. "200" : {
  19561. "description" : "common response",
  19562. "content" : {
  19563. "application/json" : {
  19564. "schema" : {
  19565. "$ref" : "#/components/schemas/AlipayOfflineMarketShopSummaryBatchqueryResponseModel"
  19566. }
  19567. }
  19568. }
  19569. },
  19570. "default" : {
  19571. "description" : "请求失败",
  19572. "content" : {
  19573. "application/json" : {
  19574. "schema" : {
  19575. "anyOf" : [ {
  19576. "$ref" : "#/components/schemas/CommonErrorType"
  19577. }, {
  19578. "$ref" : "#/components/schemas/AlipayOfflineMarketShopSummaryBatchqueryErrorResponseModel"
  19579. } ]
  19580. }
  19581. }
  19582. }
  19583. }
  19584. },
  19585. "requestBody" : {
  19586. "content" : {
  19587. "application/json" : {
  19588. "schema" : {
  19589. "$ref" : "#/components/schemas/AlipayOfflineMarketShopSummaryBatchqueryModel"
  19590. }
  19591. }
  19592. },
  19593. "required" : false
  19594. }
  19595. }
  19596. },
  19597. "/v3/alipay/offline/material/image/upload" : {
  19598. "post" : {
  19599. "tags" : [ "alipay.offline.material.image" ],
  19600. "summary" : "上传球房照片和视频接口",
  19601. "description" : "系统商需要先将商户需要使用的图片和视频,上传支付宝服务器,生成对应的图片ID后才能够在口碑平台上配置相应图片",
  19602. "operationId" : "alipay.offline.material.image.upload",
  19603. "responses" : {
  19604. "200" : {
  19605. "description" : "common response",
  19606. "content" : {
  19607. "application/json" : {
  19608. "schema" : {
  19609. "$ref" : "#/components/schemas/AlipayOfflineMaterialImageUploadResponseModel"
  19610. }
  19611. }
  19612. }
  19613. },
  19614. "default" : {
  19615. "description" : "请求失败",
  19616. "content" : {
  19617. "application/json" : {
  19618. "schema" : {
  19619. "anyOf" : [ {
  19620. "$ref" : "#/components/schemas/CommonErrorType"
  19621. }, {
  19622. "$ref" : "#/components/schemas/AlipayOfflineMaterialImageUploadErrorResponseModel"
  19623. } ]
  19624. }
  19625. }
  19626. }
  19627. }
  19628. },
  19629. "requestBody" : {
  19630. "content" : {
  19631. "multipart/form-data" : {
  19632. "schema" : {
  19633. "type" : "object",
  19634. "properties" : {
  19635. "data" : {
  19636. "$ref" : "#/components/schemas/AlipayOfflineMaterialImageUploadModel"
  19637. },
  19638. "image_content" : {
  19639. "type" : "string",
  19640. "format" : "binary"
  19641. }
  19642. }
  19643. },
  19644. "encoding" : {
  19645. "data" : {
  19646. "contentType" : "application/json"
  19647. },
  19648. "image_content" : {
  19649. "contentType" : "*/*"
  19650. }
  19651. }
  19652. }
  19653. },
  19654. "required" : false
  19655. }
  19656. }
  19657. },
  19658. "/v3/alipay/open/agent/cancel" : {
  19659. "post" : {
  19660. "tags" : [ "alipay.open.agent" ],
  19661. "summary" : "取消代商户签约、创建应用事务",
  19662. "description" : "取消代商户签约、创建应用事务",
  19663. "operationId" : "alipay.open.agent.cancel",
  19664. "responses" : {
  19665. "200" : {
  19666. "description" : "common response",
  19667. "content" : {
  19668. "application/json" : {
  19669. "schema" : {
  19670. "$ref" : "#/components/schemas/AlipayOpenAgentCancelResponseModel"
  19671. }
  19672. }
  19673. }
  19674. },
  19675. "default" : {
  19676. "description" : "请求失败",
  19677. "content" : {
  19678. "application/json" : {
  19679. "schema" : {
  19680. "anyOf" : [ {
  19681. "$ref" : "#/components/schemas/CommonErrorType"
  19682. }, {
  19683. "$ref" : "#/components/schemas/AlipayOpenAgentCancelErrorResponseModel"
  19684. } ]
  19685. }
  19686. }
  19687. }
  19688. }
  19689. },
  19690. "requestBody" : {
  19691. "content" : {
  19692. "application/json" : {
  19693. "schema" : {
  19694. "$ref" : "#/components/schemas/AlipayOpenAgentCancelModel"
  19695. }
  19696. }
  19697. },
  19698. "required" : false
  19699. }
  19700. }
  19701. },
  19702. "/v3/alipay/open/agent/common/sign" : {
  19703. "post" : {
  19704. "tags" : [ "alipay.open.agent.common" ],
  19705. "summary" : "代签约产品通用接口",
  19706. "description" : "三方应用代理签约产品,需要配合开启事务接口使用",
  19707. "operationId" : "alipay.open.agent.common.sign",
  19708. "responses" : {
  19709. "200" : {
  19710. "description" : "common response",
  19711. "content" : {
  19712. "application/json" : {
  19713. "schema" : {
  19714. "$ref" : "#/components/schemas/AlipayOpenAgentCommonSignResponseModel"
  19715. }
  19716. }
  19717. }
  19718. },
  19719. "default" : {
  19720. "description" : "请求失败",
  19721. "content" : {
  19722. "application/json" : {
  19723. "schema" : {
  19724. "anyOf" : [ {
  19725. "$ref" : "#/components/schemas/CommonErrorType"
  19726. }, {
  19727. "$ref" : "#/components/schemas/AlipayOpenAgentCommonSignErrorResponseModel"
  19728. } ]
  19729. }
  19730. }
  19731. }
  19732. }
  19733. },
  19734. "requestBody" : {
  19735. "content" : {
  19736. "multipart/form-data" : {
  19737. "schema" : {
  19738. "type" : "object",
  19739. "properties" : {
  19740. "app_demo" : {
  19741. "type" : "string",
  19742. "format" : "binary"
  19743. },
  19744. "business_license_auth_pic" : {
  19745. "type" : "string",
  19746. "format" : "binary"
  19747. },
  19748. "business_license_pic" : {
  19749. "type" : "string",
  19750. "format" : "binary"
  19751. },
  19752. "data" : {
  19753. "$ref" : "#/components/schemas/AlipayOpenAgentCommonSignModel"
  19754. },
  19755. "mini_app_screenshot" : {
  19756. "type" : "string",
  19757. "format" : "binary"
  19758. },
  19759. "shop_scene_pic" : {
  19760. "type" : "string",
  19761. "format" : "binary"
  19762. },
  19763. "shop_sign_board_pic" : {
  19764. "type" : "string",
  19765. "format" : "binary"
  19766. },
  19767. "special_license_pic" : {
  19768. "type" : "string",
  19769. "format" : "binary"
  19770. },
  19771. "web_home_screenshot" : {
  19772. "type" : "string",
  19773. "format" : "binary"
  19774. },
  19775. "web_item_screenshot" : {
  19776. "type" : "string",
  19777. "format" : "binary"
  19778. },
  19779. "web_pay_screenshot" : {
  19780. "type" : "string",
  19781. "format" : "binary"
  19782. },
  19783. "web_sites_loa" : {
  19784. "type" : "string",
  19785. "format" : "binary"
  19786. }
  19787. }
  19788. },
  19789. "encoding" : {
  19790. "web_pay_screenshot" : {
  19791. "contentType" : "*/*"
  19792. },
  19793. "shop_sign_board_pic" : {
  19794. "contentType" : "*/*"
  19795. },
  19796. "special_license_pic" : {
  19797. "contentType" : "*/*"
  19798. },
  19799. "web_sites_loa" : {
  19800. "contentType" : "*/*"
  19801. },
  19802. "business_license_pic" : {
  19803. "contentType" : "*/*"
  19804. },
  19805. "mini_app_screenshot" : {
  19806. "contentType" : "*/*"
  19807. },
  19808. "data" : {
  19809. "contentType" : "application/json"
  19810. },
  19811. "shop_scene_pic" : {
  19812. "contentType" : "*/*"
  19813. },
  19814. "app_demo" : {
  19815. "contentType" : "*/*"
  19816. },
  19817. "business_license_auth_pic" : {
  19818. "contentType" : "*/*"
  19819. },
  19820. "web_home_screenshot" : {
  19821. "contentType" : "*/*"
  19822. },
  19823. "web_item_screenshot" : {
  19824. "contentType" : "*/*"
  19825. }
  19826. }
  19827. }
  19828. },
  19829. "required" : false
  19830. }
  19831. }
  19832. },
  19833. "/v3/alipay/open/agent/commonsign/confirm" : {
  19834. "post" : {
  19835. "tags" : [ "alipay.open.agent.commonsign" ],
  19836. "summary" : "代商户签约,提交信息确认接口",
  19837. "description" : "三方应用代理签约产品,上传商户信息后,确认提交信息。可以配合开启事务接口使用。",
  19838. "operationId" : "alipay.open.agent.commonsign.confirm",
  19839. "responses" : {
  19840. "200" : {
  19841. "description" : "common response",
  19842. "content" : {
  19843. "application/json" : {
  19844. "schema" : {
  19845. "$ref" : "#/components/schemas/AlipayOpenAgentCommonsignConfirmResponseModel"
  19846. }
  19847. }
  19848. }
  19849. },
  19850. "default" : {
  19851. "description" : "请求失败",
  19852. "content" : {
  19853. "application/json" : {
  19854. "schema" : {
  19855. "anyOf" : [ {
  19856. "$ref" : "#/components/schemas/CommonErrorType"
  19857. }, {
  19858. "$ref" : "#/components/schemas/AlipayOpenAgentCommonsignConfirmErrorResponseModel"
  19859. } ]
  19860. }
  19861. }
  19862. }
  19863. }
  19864. },
  19865. "requestBody" : {
  19866. "content" : {
  19867. "application/json" : {
  19868. "schema" : {
  19869. "$ref" : "#/components/schemas/AlipayOpenAgentCommonsignConfirmModel"
  19870. }
  19871. }
  19872. },
  19873. "required" : false
  19874. }
  19875. }
  19876. },
  19877. "/v3/alipay/open/agent/confirm" : {
  19878. "post" : {
  19879. "tags" : [ "alipay.open.agent" ],
  19880. "summary" : "提交代商户签约、创建应用事务",
  19881. "description" : "提交事务。只允许提交init状态的事务,submit|cancel|timeout 状态的都是终态,不允许提交,且不允许提交空事务,需要先调用代创建小程序、代签约当面付等业务接口,再提交事务。服务市场订购及授权,使用订单授权凭证order_ticket开启的事务,提交后会有应用授权令牌返回。",
  19882. "operationId" : "alipay.open.agent.confirm",
  19883. "responses" : {
  19884. "200" : {
  19885. "description" : "common response",
  19886. "content" : {
  19887. "application/json" : {
  19888. "schema" : {
  19889. "$ref" : "#/components/schemas/AlipayOpenAgentConfirmResponseModel"
  19890. }
  19891. }
  19892. }
  19893. },
  19894. "default" : {
  19895. "description" : "请求失败",
  19896. "content" : {
  19897. "application/json" : {
  19898. "schema" : {
  19899. "anyOf" : [ {
  19900. "$ref" : "#/components/schemas/CommonErrorType"
  19901. }, {
  19902. "$ref" : "#/components/schemas/AlipayOpenAgentConfirmErrorResponseModel"
  19903. } ]
  19904. }
  19905. }
  19906. }
  19907. }
  19908. },
  19909. "requestBody" : {
  19910. "content" : {
  19911. "application/json" : {
  19912. "schema" : {
  19913. "$ref" : "#/components/schemas/AlipayOpenAgentConfirmModel"
  19914. }
  19915. }
  19916. },
  19917. "required" : false
  19918. }
  19919. }
  19920. },
  19921. "/v3/alipay/open/agent/create" : {
  19922. "post" : {
  19923. "tags" : [ "alipay.open.agent" ],
  19924. "summary" : "开启代商户签约、创建应用事务",
  19925. "description" : "在 ISV 代商户进行应用创建、产品签约时,用于开启一个操作事务,必须是第一个调用的接口。场景1:ISV 代商户进行应用创建、产品签约,最后提交事务后需要商户确认才能完成流程;场景2:服务市场订购及授权,使用订单授权凭证order_ticket开启预授权模式,该模式下提交事务后无需商户确认。",
  19926. "operationId" : "alipay.open.agent.create",
  19927. "responses" : {
  19928. "200" : {
  19929. "description" : "common response",
  19930. "content" : {
  19931. "application/json" : {
  19932. "schema" : {
  19933. "$ref" : "#/components/schemas/AlipayOpenAgentCreateResponseModel"
  19934. }
  19935. }
  19936. }
  19937. },
  19938. "default" : {
  19939. "description" : "请求失败",
  19940. "content" : {
  19941. "application/json" : {
  19942. "schema" : {
  19943. "anyOf" : [ {
  19944. "$ref" : "#/components/schemas/CommonErrorType"
  19945. }, {
  19946. "$ref" : "#/components/schemas/AlipayOpenAgentCreateErrorResponseModel"
  19947. } ]
  19948. }
  19949. }
  19950. }
  19951. }
  19952. },
  19953. "requestBody" : {
  19954. "content" : {
  19955. "application/json" : {
  19956. "schema" : {
  19957. "$ref" : "#/components/schemas/AlipayOpenAgentCreateModel"
  19958. }
  19959. }
  19960. },
  19961. "required" : false
  19962. }
  19963. }
  19964. },
  19965. "/v3/alipay/open/agent/facetoface/sign" : {
  19966. "post" : {
  19967. "tags" : [ "alipay.open.agent.facetoface" ],
  19968. "summary" : "代签约当面付产品",
  19969. "description" : "三方应用代理签约当面付产品,需要配合开启事务接口使用",
  19970. "operationId" : "alipay.open.agent.facetoface.sign",
  19971. "responses" : {
  19972. "200" : {
  19973. "description" : "common response",
  19974. "content" : {
  19975. "application/json" : {
  19976. "schema" : {
  19977. "$ref" : "#/components/schemas/AlipayOpenAgentFacetofaceSignResponseModel"
  19978. }
  19979. }
  19980. }
  19981. },
  19982. "default" : {
  19983. "description" : "请求失败",
  19984. "content" : {
  19985. "application/json" : {
  19986. "schema" : {
  19987. "anyOf" : [ {
  19988. "$ref" : "#/components/schemas/CommonErrorType"
  19989. }, {
  19990. "$ref" : "#/components/schemas/AlipayOpenAgentFacetofaceSignErrorResponseModel"
  19991. } ]
  19992. }
  19993. }
  19994. }
  19995. }
  19996. },
  19997. "requestBody" : {
  19998. "content" : {
  19999. "multipart/form-data" : {
  20000. "schema" : {
  20001. "type" : "object",
  20002. "properties" : {
  20003. "business_license_auth_pic" : {
  20004. "type" : "string",
  20005. "format" : "binary"
  20006. },
  20007. "business_license_pic" : {
  20008. "type" : "string",
  20009. "format" : "binary"
  20010. },
  20011. "data" : {
  20012. "$ref" : "#/components/schemas/AlipayOpenAgentFacetofaceSignModel"
  20013. },
  20014. "shop_scene_pic" : {
  20015. "type" : "string",
  20016. "format" : "binary"
  20017. },
  20018. "shop_sign_board_pic" : {
  20019. "type" : "string",
  20020. "format" : "binary"
  20021. },
  20022. "special_license_pic" : {
  20023. "type" : "string",
  20024. "format" : "binary"
  20025. }
  20026. }
  20027. },
  20028. "encoding" : {
  20029. "shop_sign_board_pic" : {
  20030. "contentType" : "*/*"
  20031. },
  20032. "special_license_pic" : {
  20033. "contentType" : "*/*"
  20034. },
  20035. "business_license_pic" : {
  20036. "contentType" : "*/*"
  20037. },
  20038. "data" : {
  20039. "contentType" : "application/json"
  20040. },
  20041. "shop_scene_pic" : {
  20042. "contentType" : "*/*"
  20043. },
  20044. "business_license_auth_pic" : {
  20045. "contentType" : "*/*"
  20046. }
  20047. }
  20048. }
  20049. },
  20050. "required" : false
  20051. }
  20052. }
  20053. },
  20054. "/v3/alipay/open/agent/mini/create" : {
  20055. "post" : {
  20056. "tags" : [ "alipay.open.agent.mini" ],
  20057. "summary" : "代商家创建小程序应用",
  20058. "description" : "ISV 代商家创建小程序应用。该接口后续将不再更新迭代,请使用新接口对接开发。新接口介绍文档:https://opendocs.alipay.com/isv/03kqzh ;新接口对接文档:https://opendocs.alipay.com/mini/03l21u 。",
  20059. "operationId" : "alipay.open.agent.mini.create",
  20060. "responses" : {
  20061. "200" : {
  20062. "description" : "common response",
  20063. "content" : {
  20064. "application/json" : {
  20065. "schema" : {
  20066. "$ref" : "#/components/schemas/AlipayOpenAgentMiniCreateResponseModel"
  20067. }
  20068. }
  20069. }
  20070. },
  20071. "default" : {
  20072. "description" : "请求失败",
  20073. "content" : {
  20074. "application/json" : {
  20075. "schema" : {
  20076. "anyOf" : [ {
  20077. "$ref" : "#/components/schemas/CommonErrorType"
  20078. }, {
  20079. "$ref" : "#/components/schemas/AlipayOpenAgentMiniCreateErrorResponseModel"
  20080. } ]
  20081. }
  20082. }
  20083. }
  20084. }
  20085. },
  20086. "requestBody" : {
  20087. "content" : {
  20088. "multipart/form-data" : {
  20089. "schema" : {
  20090. "type" : "object",
  20091. "properties" : {
  20092. "app_logo" : {
  20093. "type" : "string",
  20094. "format" : "binary"
  20095. },
  20096. "data" : {
  20097. "$ref" : "#/components/schemas/AlipayOpenAgentMiniCreateModel"
  20098. }
  20099. }
  20100. },
  20101. "encoding" : {
  20102. "app_logo" : {
  20103. "contentType" : "*/*"
  20104. },
  20105. "data" : {
  20106. "contentType" : "application/json"
  20107. }
  20108. }
  20109. }
  20110. },
  20111. "required" : false
  20112. }
  20113. }
  20114. },
  20115. "/v3/alipay/open/agent/mobilepay/sign" : {
  20116. "post" : {
  20117. "tags" : [ "alipay.open.agent.mobilepay" ],
  20118. "summary" : "代签约APP支付产品",
  20119. "description" : "三方应用代理签约APP支付产品,需要配合开启事务接口使用",
  20120. "operationId" : "alipay.open.agent.mobilepay.sign",
  20121. "responses" : {
  20122. "200" : {
  20123. "description" : "common response",
  20124. "content" : {
  20125. "application/json" : {
  20126. "schema" : {
  20127. "$ref" : "#/components/schemas/AlipayOpenAgentMobilepaySignResponseModel"
  20128. }
  20129. }
  20130. }
  20131. },
  20132. "default" : {
  20133. "description" : "请求失败",
  20134. "content" : {
  20135. "application/json" : {
  20136. "schema" : {
  20137. "anyOf" : [ {
  20138. "$ref" : "#/components/schemas/CommonErrorType"
  20139. }, {
  20140. "$ref" : "#/components/schemas/AlipayOpenAgentMobilepaySignErrorResponseModel"
  20141. } ]
  20142. }
  20143. }
  20144. }
  20145. }
  20146. },
  20147. "requestBody" : {
  20148. "content" : {
  20149. "multipart/form-data" : {
  20150. "schema" : {
  20151. "type" : "object",
  20152. "properties" : {
  20153. "app_auth_pic" : {
  20154. "type" : "string",
  20155. "format" : "binary"
  20156. },
  20157. "app_demo" : {
  20158. "type" : "string",
  20159. "format" : "binary"
  20160. },
  20161. "business_license_auth_pic" : {
  20162. "type" : "string",
  20163. "format" : "binary"
  20164. },
  20165. "business_license_pic" : {
  20166. "type" : "string",
  20167. "format" : "binary"
  20168. },
  20169. "data" : {
  20170. "$ref" : "#/components/schemas/AlipayOpenAgentMobilepaySignModel"
  20171. },
  20172. "home_screenshot" : {
  20173. "type" : "string",
  20174. "format" : "binary"
  20175. },
  20176. "in_app_screenshot" : {
  20177. "type" : "string",
  20178. "format" : "binary"
  20179. },
  20180. "pay_screenshot" : {
  20181. "type" : "string",
  20182. "format" : "binary"
  20183. },
  20184. "special_license_pic" : {
  20185. "type" : "string",
  20186. "format" : "binary"
  20187. }
  20188. }
  20189. },
  20190. "encoding" : {
  20191. "special_license_pic" : {
  20192. "contentType" : "*/*"
  20193. },
  20194. "business_license_pic" : {
  20195. "contentType" : "*/*"
  20196. },
  20197. "data" : {
  20198. "contentType" : "application/json"
  20199. },
  20200. "app_demo" : {
  20201. "contentType" : "*/*"
  20202. },
  20203. "business_license_auth_pic" : {
  20204. "contentType" : "*/*"
  20205. },
  20206. "in_app_screenshot" : {
  20207. "contentType" : "*/*"
  20208. },
  20209. "app_auth_pic" : {
  20210. "contentType" : "*/*"
  20211. },
  20212. "pay_screenshot" : {
  20213. "contentType" : "*/*"
  20214. },
  20215. "home_screenshot" : {
  20216. "contentType" : "*/*"
  20217. }
  20218. }
  20219. }
  20220. },
  20221. "required" : false
  20222. }
  20223. }
  20224. },
  20225. "/v3/alipay/open/agent/offlinepayment/sign" : {
  20226. "post" : {
  20227. "tags" : [ "alipay.open.agent.offlinepayment" ],
  20228. "summary" : "代签约当面付快捷版产品",
  20229. "description" : "三方应用代理签约当面付快捷版产品,需要配合开启事务接口使用",
  20230. "operationId" : "alipay.open.agent.offlinepayment.sign",
  20231. "responses" : {
  20232. "200" : {
  20233. "description" : "common response",
  20234. "content" : {
  20235. "application/json" : {
  20236. "schema" : {
  20237. "$ref" : "#/components/schemas/AlipayOpenAgentOfflinepaymentSignResponseModel"
  20238. }
  20239. }
  20240. }
  20241. },
  20242. "default" : {
  20243. "description" : "请求失败",
  20244. "content" : {
  20245. "application/json" : {
  20246. "schema" : {
  20247. "anyOf" : [ {
  20248. "$ref" : "#/components/schemas/CommonErrorType"
  20249. }, {
  20250. "$ref" : "#/components/schemas/AlipayOpenAgentOfflinepaymentSignErrorResponseModel"
  20251. } ]
  20252. }
  20253. }
  20254. }
  20255. }
  20256. },
  20257. "requestBody" : {
  20258. "content" : {
  20259. "multipart/form-data" : {
  20260. "schema" : {
  20261. "type" : "object",
  20262. "properties" : {
  20263. "business_license_pic" : {
  20264. "type" : "string",
  20265. "format" : "binary"
  20266. },
  20267. "data" : {
  20268. "$ref" : "#/components/schemas/AlipayOpenAgentOfflinepaymentSignModel"
  20269. },
  20270. "shop_scene_pic" : {
  20271. "type" : "string",
  20272. "format" : "binary"
  20273. },
  20274. "shop_sign_board_pic" : {
  20275. "type" : "string",
  20276. "format" : "binary"
  20277. },
  20278. "special_license_pic" : {
  20279. "type" : "string",
  20280. "format" : "binary"
  20281. }
  20282. }
  20283. },
  20284. "encoding" : {
  20285. "shop_sign_board_pic" : {
  20286. "contentType" : "*/*"
  20287. },
  20288. "special_license_pic" : {
  20289. "contentType" : "*/*"
  20290. },
  20291. "business_license_pic" : {
  20292. "contentType" : "*/*"
  20293. },
  20294. "data" : {
  20295. "contentType" : "application/json"
  20296. },
  20297. "shop_scene_pic" : {
  20298. "contentType" : "*/*"
  20299. }
  20300. }
  20301. }
  20302. },
  20303. "required" : false
  20304. }
  20305. }
  20306. },
  20307. "/v3/alipay/open/agent/order/query" : {
  20308. "get" : {
  20309. "tags" : [ "alipay.open.agent.order" ],
  20310. "summary" : "查询申请单状态",
  20311. "description" : "代签约产品提交后,查询对应申请单的情况",
  20312. "operationId" : "alipay.open.agent.order.query",
  20313. "responses" : {
  20314. "200" : {
  20315. "description" : "common response",
  20316. "content" : {
  20317. "application/json" : {
  20318. "schema" : {
  20319. "$ref" : "#/components/schemas/AlipayOpenAgentOrderQueryResponseModel"
  20320. }
  20321. }
  20322. }
  20323. },
  20324. "default" : {
  20325. "description" : "请求失败",
  20326. "content" : {
  20327. "application/json" : {
  20328. "schema" : {
  20329. "anyOf" : [ {
  20330. "$ref" : "#/components/schemas/CommonErrorType"
  20331. }, {
  20332. "$ref" : "#/components/schemas/AlipayOpenAgentOrderQueryErrorResponseModel"
  20333. } ]
  20334. }
  20335. }
  20336. }
  20337. }
  20338. },
  20339. "parameters" : [ {
  20340. "name" : "batch_no",
  20341. "in" : "query",
  20342. "description" : "ISV 代商户操作事务编号,通过调用alipay.open.agent.create(开启代商户签约、创建应用事务)接口返回,详见 https://opendocs.alipay.com/apis/api_50/alipay.open.agent.create/ 。",
  20343. "schema" : {
  20344. "type" : "string",
  20345. "example" : "2017110616474516400082883"
  20346. }
  20347. } ]
  20348. }
  20349. },
  20350. "/v3/alipay/open/agent/signstatus/query" : {
  20351. "post" : {
  20352. "tags" : [ "alipay.open.agent.signstatus" ],
  20353. "summary" : "查询商户某个产品的签约状态",
  20354. "description" : "主要用在isv代理商户签约场景,用来查询商户签约某个产品的签约状态,可以配合\"第三方接入核心API\"功能包里的接口使用",
  20355. "operationId" : "alipay.open.agent.signstatus.query",
  20356. "responses" : {
  20357. "200" : {
  20358. "description" : "common response",
  20359. "content" : {
  20360. "application/json" : {
  20361. "schema" : {
  20362. "$ref" : "#/components/schemas/AlipayOpenAgentSignstatusQueryResponseModel"
  20363. }
  20364. }
  20365. }
  20366. },
  20367. "default" : {
  20368. "description" : "请求失败",
  20369. "content" : {
  20370. "application/json" : {
  20371. "schema" : {
  20372. "anyOf" : [ {
  20373. "$ref" : "#/components/schemas/CommonErrorType"
  20374. }, {
  20375. "$ref" : "#/components/schemas/AlipayOpenAgentSignstatusQueryErrorResponseModel"
  20376. } ]
  20377. }
  20378. }
  20379. }
  20380. }
  20381. },
  20382. "requestBody" : {
  20383. "content" : {
  20384. "application/json" : {
  20385. "schema" : {
  20386. "$ref" : "#/components/schemas/AlipayOpenAgentSignstatusQueryModel"
  20387. }
  20388. }
  20389. },
  20390. "required" : false
  20391. }
  20392. }
  20393. },
  20394. "/v3/alipay/open/app/api/field/apply" : {
  20395. "post" : {
  20396. "tags" : [ "alipay.open.app.api.field" ],
  20397. "summary" : "申请获取接口用户敏感信息字段",
  20398. "description" : "申请获取接口出参中用户敏感信息字段,应用使用视频或图片(至少选择一项上传),单个图片或视频不超过10M,最多可上传5张图片示例。",
  20399. "operationId" : "alipay.open.app.api.field.apply",
  20400. "responses" : {
  20401. "200" : {
  20402. "description" : "common response",
  20403. "content" : {
  20404. "application/json" : {
  20405. "schema" : {
  20406. "$ref" : "#/components/schemas/AlipayOpenAppApiFieldApplyResponseModel"
  20407. }
  20408. }
  20409. }
  20410. },
  20411. "default" : {
  20412. "description" : "请求失败",
  20413. "content" : {
  20414. "application/json" : {
  20415. "schema" : {
  20416. "anyOf" : [ {
  20417. "$ref" : "#/components/schemas/CommonErrorType"
  20418. }, {
  20419. "$ref" : "#/components/schemas/AlipayOpenAppApiFieldApplyErrorResponseModel"
  20420. } ]
  20421. }
  20422. }
  20423. }
  20424. }
  20425. },
  20426. "requestBody" : {
  20427. "content" : {
  20428. "multipart/form-data" : {
  20429. "schema" : {
  20430. "type" : "object",
  20431. "properties" : {
  20432. "data" : {
  20433. "$ref" : "#/components/schemas/AlipayOpenAppApiFieldApplyModel"
  20434. },
  20435. "picture_1" : {
  20436. "type" : "string",
  20437. "format" : "binary"
  20438. },
  20439. "picture_2" : {
  20440. "type" : "string",
  20441. "format" : "binary"
  20442. },
  20443. "picture_3" : {
  20444. "type" : "string",
  20445. "format" : "binary"
  20446. },
  20447. "picture_4" : {
  20448. "type" : "string",
  20449. "format" : "binary"
  20450. },
  20451. "picture_5" : {
  20452. "type" : "string",
  20453. "format" : "binary"
  20454. },
  20455. "video" : {
  20456. "type" : "string",
  20457. "format" : "binary"
  20458. }
  20459. }
  20460. },
  20461. "encoding" : {
  20462. "data" : {
  20463. "contentType" : "application/json"
  20464. },
  20465. "picture_5" : {
  20466. "contentType" : "*/*"
  20467. },
  20468. "video" : {
  20469. "contentType" : "*/*"
  20470. },
  20471. "picture_2" : {
  20472. "contentType" : "*/*"
  20473. },
  20474. "picture_1" : {
  20475. "contentType" : "*/*"
  20476. },
  20477. "picture_4" : {
  20478. "contentType" : "*/*"
  20479. },
  20480. "picture_3" : {
  20481. "contentType" : "*/*"
  20482. }
  20483. }
  20484. }
  20485. },
  20486. "required" : false
  20487. }
  20488. }
  20489. },
  20490. "/v3/alipay/open/app/api/field/query" : {
  20491. "get" : {
  20492. "tags" : [ "alipay.open.app.api.field" ],
  20493. "summary" : "用户信息申请记录查询",
  20494. "description" : "查询用户信息申请记录,开发者发起请求时会基于当前发起请求的app_id进行查询,若为isv发起的三方代调用则以授权的商户app_id进行查询。",
  20495. "operationId" : "alipay.open.app.api.field.query",
  20496. "responses" : {
  20497. "200" : {
  20498. "description" : "common response",
  20499. "content" : {
  20500. "application/json" : {
  20501. "schema" : {
  20502. "$ref" : "#/components/schemas/AlipayOpenAppApiFieldQueryResponseModel"
  20503. }
  20504. }
  20505. }
  20506. },
  20507. "default" : {
  20508. "description" : "请求失败",
  20509. "content" : {
  20510. "application/json" : {
  20511. "schema" : {
  20512. "anyOf" : [ {
  20513. "$ref" : "#/components/schemas/CommonErrorType"
  20514. }, {
  20515. "$ref" : "#/components/schemas/AlipayOpenAppApiFieldQueryErrorResponseModel"
  20516. } ]
  20517. }
  20518. }
  20519. }
  20520. }
  20521. }
  20522. }
  20523. },
  20524. "/v3/alipay/open/app/api/query" : {
  20525. "get" : {
  20526. "tags" : [ "alipay.open.app.api" ],
  20527. "summary" : "查询应用可申请的接口出参敏感字段列表",
  20528. "description" : "通过appId查询该应用下可申请的接口敏感字段信息",
  20529. "operationId" : "alipay.open.app.api.query",
  20530. "responses" : {
  20531. "200" : {
  20532. "description" : "common response",
  20533. "content" : {
  20534. "application/json" : {
  20535. "schema" : {
  20536. "$ref" : "#/components/schemas/AlipayOpenAppApiQueryResponseModel"
  20537. }
  20538. }
  20539. }
  20540. },
  20541. "default" : {
  20542. "description" : "请求失败",
  20543. "content" : {
  20544. "application/json" : {
  20545. "schema" : {
  20546. "anyOf" : [ {
  20547. "$ref" : "#/components/schemas/CommonErrorType"
  20548. }, {
  20549. "$ref" : "#/components/schemas/AlipayOpenAppApiQueryErrorResponseModel"
  20550. } ]
  20551. }
  20552. }
  20553. }
  20554. }
  20555. }
  20556. }
  20557. },
  20558. "/v3/alipay/open/app/api/scene/query" : {
  20559. "get" : {
  20560. "tags" : [ "alipay.open.app.api.scene" ],
  20561. "summary" : "查询接口字段使用场景",
  20562. "description" : "在申请接口出参中用户敏感信息字段时,本接口用于获取所申请接口字段的使用场景",
  20563. "operationId" : "alipay.open.app.api.scene.query",
  20564. "responses" : {
  20565. "200" : {
  20566. "description" : "common response",
  20567. "content" : {
  20568. "application/json" : {
  20569. "schema" : {
  20570. "$ref" : "#/components/schemas/AlipayOpenAppApiSceneQueryResponseModel"
  20571. }
  20572. }
  20573. }
  20574. },
  20575. "default" : {
  20576. "description" : "请求失败",
  20577. "content" : {
  20578. "application/json" : {
  20579. "schema" : {
  20580. "anyOf" : [ {
  20581. "$ref" : "#/components/schemas/CommonErrorType"
  20582. }, {
  20583. "$ref" : "#/components/schemas/AlipayOpenAppApiSceneQueryErrorResponseModel"
  20584. } ]
  20585. }
  20586. }
  20587. }
  20588. }
  20589. },
  20590. "parameters" : [ {
  20591. "name" : "field_name",
  20592. "in" : "query",
  20593. "description" : "接口出参字段英文名。",
  20594. "schema" : {
  20595. "type" : "string",
  20596. "example" : "mobile"
  20597. }
  20598. }, {
  20599. "name" : "api_name",
  20600. "in" : "query",
  20601. "description" : "接口英文名。",
  20602. "schema" : {
  20603. "type" : "string",
  20604. "example" : "alipay.user.info.share"
  20605. }
  20606. } ]
  20607. }
  20608. },
  20609. "/v3/alipay/open/app/members/create" : {
  20610. "post" : {
  20611. "tags" : [ "alipay.open.app.members" ],
  20612. "summary" : "应用添加成员",
  20613. "description" : "应用添加成员,目前只支持小程序类型的应用使用",
  20614. "operationId" : "alipay.open.app.members.create",
  20615. "responses" : {
  20616. "200" : {
  20617. "description" : "common response",
  20618. "content" : {
  20619. "application/json" : {
  20620. "schema" : {
  20621. "$ref" : "#/components/schemas/AlipayOpenAppMembersCreateResponseModel"
  20622. }
  20623. }
  20624. }
  20625. },
  20626. "default" : {
  20627. "description" : "请求失败",
  20628. "content" : {
  20629. "application/json" : {
  20630. "schema" : {
  20631. "anyOf" : [ {
  20632. "$ref" : "#/components/schemas/CommonErrorType"
  20633. }, {
  20634. "$ref" : "#/components/schemas/AlipayOpenAppMembersCreateErrorResponseModel"
  20635. } ]
  20636. }
  20637. }
  20638. }
  20639. }
  20640. },
  20641. "requestBody" : {
  20642. "content" : {
  20643. "application/json" : {
  20644. "schema" : {
  20645. "$ref" : "#/components/schemas/AlipayOpenAppMembersCreateModel"
  20646. }
  20647. }
  20648. },
  20649. "required" : false
  20650. }
  20651. }
  20652. },
  20653. "/v3/alipay/open/app/members/delete" : {
  20654. "delete" : {
  20655. "tags" : [ "alipay.open.app.members" ],
  20656. "summary" : "应用删除成员",
  20657. "description" : "删除应用成员,目前只支持小程序类型的应用",
  20658. "operationId" : "alipay.open.app.members.delete",
  20659. "responses" : {
  20660. "200" : {
  20661. "description" : "common response",
  20662. "content" : {
  20663. "application/json" : {
  20664. "schema" : {
  20665. "$ref" : "#/components/schemas/AlipayOpenAppMembersDeleteResponseModel"
  20666. }
  20667. }
  20668. }
  20669. },
  20670. "default" : {
  20671. "description" : "请求失败",
  20672. "content" : {
  20673. "application/json" : {
  20674. "schema" : {
  20675. "anyOf" : [ {
  20676. "$ref" : "#/components/schemas/CommonErrorType"
  20677. }, {
  20678. "$ref" : "#/components/schemas/AlipayOpenAppMembersDeleteErrorResponseModel"
  20679. } ]
  20680. }
  20681. }
  20682. }
  20683. }
  20684. },
  20685. "parameters" : [ {
  20686. "name" : "user_id",
  20687. "in" : "query",
  20688. "description" : "被删除成员的支付宝账户唯一标识,以2088开头。",
  20689. "schema" : {
  20690. "type" : "string",
  20691. "example" : "2088222943898172"
  20692. }
  20693. }, {
  20694. "name" : "open_id",
  20695. "in" : "query",
  20696. "description" : "被删除成员的openId。",
  20697. "schema" : {
  20698. "type" : "string",
  20699. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  20700. }
  20701. }, {
  20702. "name" : "role",
  20703. "in" : "query",
  20704. "description" : "被删除成员的角色类型,枚举支持:\tDEVELOPER:开发者。\tEXPERIENCER:体验者。",
  20705. "schema" : {
  20706. "type" : "string",
  20707. "example" : "DEVELOPER"
  20708. }
  20709. } ]
  20710. }
  20711. },
  20712. "/v3/alipay/open/app/members/query" : {
  20713. "get" : {
  20714. "tags" : [ "alipay.open.app.members" ],
  20715. "summary" : "应用查询成员列表",
  20716. "description" : "应用查询成员列表,目前只支持小程序类型的应用",
  20717. "operationId" : "alipay.open.app.members.query",
  20718. "responses" : {
  20719. "200" : {
  20720. "description" : "common response",
  20721. "content" : {
  20722. "application/json" : {
  20723. "schema" : {
  20724. "$ref" : "#/components/schemas/AlipayOpenAppMembersQueryResponseModel"
  20725. }
  20726. }
  20727. }
  20728. },
  20729. "default" : {
  20730. "description" : "请求失败",
  20731. "content" : {
  20732. "application/json" : {
  20733. "schema" : {
  20734. "anyOf" : [ {
  20735. "$ref" : "#/components/schemas/CommonErrorType"
  20736. }, {
  20737. "$ref" : "#/components/schemas/AlipayOpenAppMembersQueryErrorResponseModel"
  20738. } ]
  20739. }
  20740. }
  20741. }
  20742. }
  20743. },
  20744. "parameters" : [ {
  20745. "name" : "role",
  20746. "in" : "query",
  20747. "description" : "查询的成员角色类型。\t枚举支持:\tDEVELOPER:开发者;\tEXPERIENCER:体验者。\t请选择其一传入",
  20748. "schema" : {
  20749. "type" : "string",
  20750. "example" : "DEVELOPER"
  20751. }
  20752. } ]
  20753. }
  20754. },
  20755. "/v3/alipay/open/app/messagetemplate/subscribe/query" : {
  20756. "post" : {
  20757. "tags" : [ "alipay.open.app.messagetemplate.subscribe" ],
  20758. "summary" : "模板订阅关系查询",
  20759. "description" : "商户使用该接口可以查询用户对其消息模板的订阅关系,可以根据是否订阅引导用户进行订阅和精准触达消息",
  20760. "operationId" : "alipay.open.app.messagetemplate.subscribe.query",
  20761. "responses" : {
  20762. "200" : {
  20763. "description" : "common response",
  20764. "content" : {
  20765. "application/json" : {
  20766. "schema" : {
  20767. "$ref" : "#/components/schemas/AlipayOpenAppMessagetemplateSubscribeQueryResponseModel"
  20768. }
  20769. }
  20770. }
  20771. },
  20772. "default" : {
  20773. "description" : "请求失败",
  20774. "content" : {
  20775. "application/json" : {
  20776. "schema" : {
  20777. "anyOf" : [ {
  20778. "$ref" : "#/components/schemas/CommonErrorType"
  20779. }, {
  20780. "$ref" : "#/components/schemas/AlipayOpenAppMessagetemplateSubscribeQueryErrorResponseModel"
  20781. } ]
  20782. }
  20783. }
  20784. }
  20785. }
  20786. },
  20787. "requestBody" : {
  20788. "content" : {
  20789. "application/json" : {
  20790. "schema" : {
  20791. "$ref" : "#/components/schemas/AlipayOpenAppMessagetemplateSubscribeQueryModel"
  20792. }
  20793. }
  20794. },
  20795. "required" : false
  20796. }
  20797. }
  20798. },
  20799. "/v3/alipay/open/app/mini/templatemessage/send" : {
  20800. "post" : {
  20801. "tags" : [ "alipay.open.app.mini.templatemessage" ],
  20802. "summary" : "小程序发送模板消息",
  20803. "description" : "小程序通过openapi给用户触达消息,主要为支付后的触达(通过消费id)、用户提交表单后的触达(通过formId)、刷脸后的触达(通过ftoken)以及用户订阅消息模板后的触达。",
  20804. "operationId" : "alipay.open.app.mini.templatemessage.send",
  20805. "responses" : {
  20806. "200" : {
  20807. "description" : "common response",
  20808. "content" : {
  20809. "application/json" : {
  20810. "schema" : {
  20811. "$ref" : "#/components/schemas/AlipayOpenAppMiniTemplatemessageSendResponseModel"
  20812. }
  20813. }
  20814. }
  20815. },
  20816. "default" : {
  20817. "description" : "请求失败",
  20818. "content" : {
  20819. "application/json" : {
  20820. "schema" : {
  20821. "anyOf" : [ {
  20822. "$ref" : "#/components/schemas/CommonErrorType"
  20823. }, {
  20824. "$ref" : "#/components/schemas/AlipayOpenAppMiniTemplatemessageSendErrorResponseModel"
  20825. } ]
  20826. }
  20827. }
  20828. }
  20829. }
  20830. },
  20831. "requestBody" : {
  20832. "content" : {
  20833. "application/json" : {
  20834. "schema" : {
  20835. "$ref" : "#/components/schemas/AlipayOpenAppMiniTemplatemessageSendModel"
  20836. }
  20837. }
  20838. },
  20839. "required" : false
  20840. }
  20841. }
  20842. },
  20843. "/v3/alipay/open/app/qrcode/create" : {
  20844. "post" : {
  20845. "tags" : [ "alipay.open.app.qrcode" ],
  20846. "summary" : "小程序生成推广二维码接口",
  20847. "description" : "生成小程序推广二维码",
  20848. "operationId" : "alipay.open.app.qrcode.create",
  20849. "responses" : {
  20850. "200" : {
  20851. "description" : "common response",
  20852. "content" : {
  20853. "application/json" : {
  20854. "schema" : {
  20855. "$ref" : "#/components/schemas/AlipayOpenAppQrcodeCreateResponseModel"
  20856. }
  20857. }
  20858. }
  20859. },
  20860. "default" : {
  20861. "description" : "请求失败",
  20862. "content" : {
  20863. "application/json" : {
  20864. "schema" : {
  20865. "anyOf" : [ {
  20866. "$ref" : "#/components/schemas/CommonErrorType"
  20867. }, {
  20868. "$ref" : "#/components/schemas/AlipayOpenAppQrcodeCreateErrorResponseModel"
  20869. } ]
  20870. }
  20871. }
  20872. }
  20873. }
  20874. },
  20875. "requestBody" : {
  20876. "content" : {
  20877. "application/json" : {
  20878. "schema" : {
  20879. "$ref" : "#/components/schemas/AlipayOpenAppQrcodeCreateModel"
  20880. }
  20881. }
  20882. },
  20883. "required" : false
  20884. }
  20885. }
  20886. },
  20887. "/v3/alipay/open/app/service/apply" : {
  20888. "post" : {
  20889. "tags" : [ "alipay.open.app.service" ],
  20890. "summary" : "服务提报申请",
  20891. "description" : "服务提报申请",
  20892. "operationId" : "alipay.open.app.service.apply",
  20893. "responses" : {
  20894. "200" : {
  20895. "description" : "common response",
  20896. "content" : {
  20897. "application/json" : {
  20898. "schema" : {
  20899. "$ref" : "#/components/schemas/AlipayOpenAppServiceApplyResponseModel"
  20900. }
  20901. }
  20902. }
  20903. },
  20904. "default" : {
  20905. "description" : "请求失败",
  20906. "content" : {
  20907. "application/json" : {
  20908. "schema" : {
  20909. "anyOf" : [ {
  20910. "$ref" : "#/components/schemas/CommonErrorType"
  20911. }, {
  20912. "$ref" : "#/components/schemas/AlipayOpenAppServiceApplyErrorResponseModel"
  20913. } ]
  20914. }
  20915. }
  20916. }
  20917. }
  20918. },
  20919. "requestBody" : {
  20920. "content" : {
  20921. "application/json" : {
  20922. "schema" : {
  20923. "$ref" : "#/components/schemas/AlipayOpenAppServiceApplyModel"
  20924. }
  20925. }
  20926. },
  20927. "required" : false
  20928. }
  20929. }
  20930. },
  20931. "/v3/alipay/open/app/service/delete" : {
  20932. "delete" : {
  20933. "tags" : [ "alipay.open.app.service" ],
  20934. "summary" : "服务失效接口",
  20935. "description" : "服务失效",
  20936. "operationId" : "alipay.open.app.service.delete",
  20937. "responses" : {
  20938. "200" : {
  20939. "description" : "common response",
  20940. "content" : {
  20941. "application/json" : {
  20942. "schema" : {
  20943. "$ref" : "#/components/schemas/AlipayOpenAppServiceDeleteResponseModel"
  20944. }
  20945. }
  20946. }
  20947. },
  20948. "default" : {
  20949. "description" : "请求失败",
  20950. "content" : {
  20951. "application/json" : {
  20952. "schema" : {
  20953. "anyOf" : [ {
  20954. "$ref" : "#/components/schemas/CommonErrorType"
  20955. }, {
  20956. "$ref" : "#/components/schemas/AlipayOpenAppServiceDeleteErrorResponseModel"
  20957. } ]
  20958. }
  20959. }
  20960. }
  20961. }
  20962. },
  20963. "parameters" : [ {
  20964. "name" : "service_code",
  20965. "in" : "query",
  20966. "description" : "服务id",
  20967. "schema" : {
  20968. "type" : "string",
  20969. "example" : "12522641"
  20970. }
  20971. } ]
  20972. }
  20973. },
  20974. "/v3/alipay/open/app/service/list/query" : {
  20975. "get" : {
  20976. "tags" : [ "alipay.open.app.service.list" ],
  20977. "summary" : "服务批量查询",
  20978. "description" : "服务批量分页查询",
  20979. "operationId" : "alipay.open.app.service.list.query",
  20980. "responses" : {
  20981. "200" : {
  20982. "description" : "common response",
  20983. "content" : {
  20984. "application/json" : {
  20985. "schema" : {
  20986. "$ref" : "#/components/schemas/AlipayOpenAppServiceListQueryResponseModel"
  20987. }
  20988. }
  20989. }
  20990. },
  20991. "default" : {
  20992. "description" : "请求失败",
  20993. "content" : {
  20994. "application/json" : {
  20995. "schema" : {
  20996. "anyOf" : [ {
  20997. "$ref" : "#/components/schemas/CommonErrorType"
  20998. }, {
  20999. "$ref" : "#/components/schemas/AlipayOpenAppServiceListQueryErrorResponseModel"
  21000. } ]
  21001. }
  21002. }
  21003. }
  21004. }
  21005. },
  21006. "parameters" : [ {
  21007. "name" : "service_name",
  21008. "in" : "query",
  21009. "description" : "服务名称",
  21010. "schema" : {
  21011. "type" : "string",
  21012. "example" : "肯德基"
  21013. }
  21014. }, {
  21015. "name" : "category_id",
  21016. "in" : "query",
  21017. "description" : "类目",
  21018. "schema" : {
  21019. "type" : "string",
  21020. "example" : "C15484611"
  21021. }
  21022. }, {
  21023. "name" : "page_size",
  21024. "in" : "query",
  21025. "description" : "每页记录数",
  21026. "schema" : {
  21027. "type" : "integer",
  21028. "example" : "10"
  21029. }
  21030. }, {
  21031. "name" : "page_num",
  21032. "in" : "query",
  21033. "description" : "页码",
  21034. "schema" : {
  21035. "type" : "integer",
  21036. "example" : "1"
  21037. }
  21038. } ]
  21039. }
  21040. },
  21041. "/v3/alipay/open/app/service/query" : {
  21042. "get" : {
  21043. "tags" : [ "alipay.open.app.service" ],
  21044. "summary" : "服务查询",
  21045. "description" : "服务查询",
  21046. "operationId" : "alipay.open.app.service.query",
  21047. "responses" : {
  21048. "200" : {
  21049. "description" : "common response",
  21050. "content" : {
  21051. "application/json" : {
  21052. "schema" : {
  21053. "$ref" : "#/components/schemas/AlipayOpenAppServiceQueryResponseModel"
  21054. }
  21055. }
  21056. }
  21057. },
  21058. "default" : {
  21059. "description" : "请求失败",
  21060. "content" : {
  21061. "application/json" : {
  21062. "schema" : {
  21063. "anyOf" : [ {
  21064. "$ref" : "#/components/schemas/CommonErrorType"
  21065. }, {
  21066. "$ref" : "#/components/schemas/AlipayOpenAppServiceQueryErrorResponseModel"
  21067. } ]
  21068. }
  21069. }
  21070. }
  21071. }
  21072. },
  21073. "parameters" : [ {
  21074. "name" : "service_code",
  21075. "in" : "query",
  21076. "description" : "服务id",
  21077. "schema" : {
  21078. "type" : "string",
  21079. "example" : "s1111"
  21080. }
  21081. } ]
  21082. }
  21083. },
  21084. "/v3/alipay/open/app/service/schema/query" : {
  21085. "get" : {
  21086. "tags" : [ "alipay.open.app.service.schema" ],
  21087. "summary" : "服务schema下发",
  21088. "description" : "服务schema查询下发",
  21089. "operationId" : "alipay.open.app.service.schema.query",
  21090. "responses" : {
  21091. "200" : {
  21092. "description" : "common response",
  21093. "content" : {
  21094. "application/json" : {
  21095. "schema" : {
  21096. "$ref" : "#/components/schemas/AlipayOpenAppServiceSchemaQueryResponseModel"
  21097. }
  21098. }
  21099. }
  21100. },
  21101. "default" : {
  21102. "description" : "请求失败",
  21103. "content" : {
  21104. "application/json" : {
  21105. "schema" : {
  21106. "anyOf" : [ {
  21107. "$ref" : "#/components/schemas/CommonErrorType"
  21108. }, {
  21109. "$ref" : "#/components/schemas/AlipayOpenAppServiceSchemaQueryErrorResponseModel"
  21110. } ]
  21111. }
  21112. }
  21113. }
  21114. }
  21115. },
  21116. "parameters" : [ {
  21117. "name" : "category_id",
  21118. "in" : "query",
  21119. "description" : "类目id",
  21120. "schema" : {
  21121. "type" : "string",
  21122. "example" : "c11111"
  21123. }
  21124. }, {
  21125. "name" : "template_type",
  21126. "in" : "query",
  21127. "description" : "服务模版类型。若当前服务类目只有一个服务模版,可不填。",
  21128. "schema" : {
  21129. "type" : "string",
  21130. "example" : "DEFAULT"
  21131. }
  21132. } ]
  21133. }
  21134. },
  21135. "/v3/alipay/open/app/test/gray/create" : {
  21136. "post" : {
  21137. "tags" : [ "alipay.open.app.test.gray" ],
  21138. "summary" : "openapi-oas3.0灰度",
  21139. "description" : "openapi,oas3.0灰度",
  21140. "operationId" : "alipay.open.app.test.gray.create",
  21141. "responses" : {
  21142. "200" : {
  21143. "description" : "common response",
  21144. "content" : {
  21145. "application/json" : {
  21146. "schema" : {
  21147. "$ref" : "#/components/schemas/AlipayOpenAppTestGrayCreateResponseModel"
  21148. }
  21149. }
  21150. }
  21151. },
  21152. "default" : {
  21153. "description" : "请求失败",
  21154. "content" : {
  21155. "application/json" : {
  21156. "schema" : {
  21157. "anyOf" : [ {
  21158. "$ref" : "#/components/schemas/CommonErrorType"
  21159. }, {
  21160. "$ref" : "#/components/schemas/AlipayOpenAppTestGrayCreateErrorResponseModel"
  21161. } ]
  21162. }
  21163. }
  21164. }
  21165. }
  21166. },
  21167. "parameters" : [ {
  21168. "name" : "a",
  21169. "in" : "query",
  21170. "description" : "a",
  21171. "schema" : {
  21172. "type" : "string",
  21173. "example" : "a1"
  21174. }
  21175. }, {
  21176. "name" : "oid",
  21177. "in" : "query",
  21178. "description" : "1",
  21179. "schema" : {
  21180. "type" : "string",
  21181. "example" : "111"
  21182. }
  21183. }, {
  21184. "name" : "b",
  21185. "in" : "query",
  21186. "description" : "生",
  21187. "schema" : {
  21188. "type" : "string",
  21189. "example" : "b2"
  21190. }
  21191. }, {
  21192. "name" : "c",
  21193. "in" : "query",
  21194. "description" : "c1",
  21195. "schema" : {
  21196. "type" : "string",
  21197. "example" : "c1"
  21198. }
  21199. } ],
  21200. "requestBody" : {
  21201. "content" : {
  21202. "application/json" : {
  21203. "schema" : {
  21204. "$ref" : "#/components/schemas/AlipayOpenAppTestGrayCreateModel"
  21205. }
  21206. }
  21207. },
  21208. "required" : false
  21209. }
  21210. }
  21211. },
  21212. "/v3/alipay/open/app/test/gray/query" : {
  21213. "get" : {
  21214. "tags" : [ "alipay.open.app.test.gray" ],
  21215. "summary" : "GET方法测试",
  21216. "description" : "oas get",
  21217. "operationId" : "alipay.open.app.test.gray.query",
  21218. "responses" : {
  21219. "200" : {
  21220. "description" : "common response",
  21221. "content" : {
  21222. "application/json" : {
  21223. "schema" : {
  21224. "$ref" : "#/components/schemas/AlipayOpenAppTestGrayQueryResponseModel"
  21225. }
  21226. }
  21227. }
  21228. },
  21229. "default" : {
  21230. "description" : "请求失败",
  21231. "content" : {
  21232. "application/json" : {
  21233. "schema" : {
  21234. "anyOf" : [ {
  21235. "$ref" : "#/components/schemas/CommonErrorType"
  21236. }, {
  21237. "$ref" : "#/components/schemas/AlipayOpenAppTestGrayQueryErrorResponseModel"
  21238. } ]
  21239. }
  21240. }
  21241. }
  21242. }
  21243. },
  21244. "parameters" : [ {
  21245. "name" : "latitude",
  21246. "in" : "query",
  21247. "description" : "纬度",
  21248. "schema" : {
  21249. "type" : "string",
  21250. "example" : "123"
  21251. }
  21252. }, {
  21253. "name" : "city_id",
  21254. "in" : "query",
  21255. "description" : "1",
  21256. "schema" : {
  21257. "type" : "string",
  21258. "example" : "1"
  21259. }
  21260. }, {
  21261. "name" : "uid",
  21262. "in" : "query",
  21263. "description" : "1",
  21264. "schema" : {
  21265. "type" : "string",
  21266. "example" : "1"
  21267. }
  21268. }, {
  21269. "name" : "buy_open_id",
  21270. "in" : "query",
  21271. "description" : "1",
  21272. "schema" : {
  21273. "type" : "string",
  21274. "example" : "1"
  21275. }
  21276. } ]
  21277. }
  21278. },
  21279. "/v3/alipay/open/auth/app/aes/get" : {
  21280. "get" : {
  21281. "tags" : [ "alipay.open.auth.app.aes" ],
  21282. "summary" : "授权应用aes密钥查询",
  21283. "description" : "商家应用授权给ISV服务商代管理应用场景下,ISV开发者使用三方应用appId发起调用,通过该接口获取商户应用的AES密钥。接口返回的商户应用aes密钥内容为加密内容,需要ISV使用三方应用的AES密钥对接口返回进行解密。java sdk内部会自动完成解密返回明文内容。<a href=\"https://docs.open.alipay.com/common/104567\" target=\"_blank\">SDK AES加解密支持</a>",
  21284. "operationId" : "alipay.open.auth.app.aes.get",
  21285. "responses" : {
  21286. "200" : {
  21287. "description" : "common response",
  21288. "content" : {
  21289. "application/json" : {
  21290. "schema" : {
  21291. "$ref" : "#/components/schemas/AlipayOpenAuthAppAesGetResponseModel"
  21292. }
  21293. }
  21294. }
  21295. },
  21296. "default" : {
  21297. "description" : "请求失败",
  21298. "content" : {
  21299. "application/json" : {
  21300. "schema" : {
  21301. "anyOf" : [ {
  21302. "$ref" : "#/components/schemas/CommonErrorType"
  21303. }, {
  21304. "$ref" : "#/components/schemas/AlipayOpenAuthAppAesGetErrorResponseModel"
  21305. } ]
  21306. }
  21307. }
  21308. }
  21309. }
  21310. },
  21311. "parameters" : [ {
  21312. "name" : "merchant_app_id",
  21313. "in" : "query",
  21314. "description" : "商家应用appId",
  21315. "schema" : {
  21316. "type" : "string",
  21317. "example" : "20191223601234564"
  21318. }
  21319. } ]
  21320. }
  21321. },
  21322. "/v3/alipay/open/auth/app/aes/set" : {
  21323. "post" : {
  21324. "tags" : [ "alipay.open.auth.app.aes" ],
  21325. "summary" : "授权应用aes密钥设置",
  21326. "description" : "商家应用授权给ISV服务商代管理应用场景下,ISV开发者使用三方应用appId发起调用,通过该接口设置商户应用的AES密钥。接口返回的商户应用aes密钥内容为加密内容,需要ISV使用三方应用的AES密钥对接口返回进行解密。java sdk内部会自动完成解密返回明文内容。<a href=\"https://docs.open.alipay.com/common/104567\" target=\"_blank\">SDK AES加解密支持。</a>",
  21327. "operationId" : "alipay.open.auth.app.aes.set",
  21328. "responses" : {
  21329. "200" : {
  21330. "description" : "common response",
  21331. "content" : {
  21332. "application/json" : {
  21333. "schema" : {
  21334. "$ref" : "#/components/schemas/AlipayOpenAuthAppAesSetResponseModel"
  21335. }
  21336. }
  21337. }
  21338. },
  21339. "default" : {
  21340. "description" : "请求失败",
  21341. "content" : {
  21342. "application/json" : {
  21343. "schema" : {
  21344. "anyOf" : [ {
  21345. "$ref" : "#/components/schemas/CommonErrorType"
  21346. }, {
  21347. "$ref" : "#/components/schemas/AlipayOpenAuthAppAesSetErrorResponseModel"
  21348. } ]
  21349. }
  21350. }
  21351. }
  21352. }
  21353. },
  21354. "requestBody" : {
  21355. "content" : {
  21356. "application/json" : {
  21357. "schema" : {
  21358. "$ref" : "#/components/schemas/AlipayOpenAuthAppAesSetModel"
  21359. }
  21360. }
  21361. },
  21362. "required" : false
  21363. }
  21364. }
  21365. },
  21366. "/v3/alipay/open/auth/token/app" : {
  21367. "post" : {
  21368. "tags" : [ "alipay.open.auth.token" ],
  21369. "summary" : "换取应用授权令牌",
  21370. "description" : "换取应用授权令牌。在应用授权的场景下,商户把名下应用授权给ISV后,支付宝会给ISV颁发应用授权码app_auth_code,ISV可通过获取到的app_auth_code换取app_auth_token。app_auth_code作为换取app_auth_token的票据,每次用户授权带上的app_auth_code将不一样,app_auth_code只能使用一次,一天(从当前时间算起的24小时)未被使用自动过期。\r\n刷新应用授权令牌,ISV可通过获取到的refresh_token刷新app_auth_token,刷新后老的refresh_token会在一段时间后失效(失效时间为接口返回的re_expires_in)。",
  21371. "operationId" : "alipay.open.auth.token.app",
  21372. "responses" : {
  21373. "200" : {
  21374. "description" : "common response",
  21375. "content" : {
  21376. "application/json" : {
  21377. "schema" : {
  21378. "$ref" : "#/components/schemas/AlipayOpenAuthTokenAppResponseModel"
  21379. }
  21380. }
  21381. }
  21382. },
  21383. "default" : {
  21384. "description" : "请求失败",
  21385. "content" : {
  21386. "application/json" : {
  21387. "schema" : {
  21388. "anyOf" : [ {
  21389. "$ref" : "#/components/schemas/CommonErrorType"
  21390. }, {
  21391. "$ref" : "#/components/schemas/AlipayOpenAuthTokenAppErrorResponseModel"
  21392. } ]
  21393. }
  21394. }
  21395. }
  21396. }
  21397. },
  21398. "requestBody" : {
  21399. "content" : {
  21400. "application/json" : {
  21401. "schema" : {
  21402. "$ref" : "#/components/schemas/AlipayOpenAuthTokenAppModel"
  21403. }
  21404. }
  21405. },
  21406. "required" : false
  21407. }
  21408. }
  21409. },
  21410. "/v3/alipay/open/auth/token/app/query" : {
  21411. "get" : {
  21412. "tags" : [ "alipay.open.auth.token.app" ],
  21413. "summary" : "查询某个应用授权AppAuthToken的授权信息",
  21414. "description" : "当商户把服务窗、店铺等接口的权限授权给ISV之后,支付宝会给ISV颁发一个app_auth_token。如若授权成功之后,ISV想知道用户的授权信息,如授权者、授权接口列表等信息,可以调用本接口查询某个app_auth_token对应的授权信息",
  21415. "operationId" : "alipay.open.auth.token.app.query",
  21416. "responses" : {
  21417. "200" : {
  21418. "description" : "common response",
  21419. "content" : {
  21420. "application/json" : {
  21421. "schema" : {
  21422. "$ref" : "#/components/schemas/AlipayOpenAuthTokenAppQueryResponseModel"
  21423. }
  21424. }
  21425. }
  21426. },
  21427. "default" : {
  21428. "description" : "请求失败",
  21429. "content" : {
  21430. "application/json" : {
  21431. "schema" : {
  21432. "anyOf" : [ {
  21433. "$ref" : "#/components/schemas/CommonErrorType"
  21434. }, {
  21435. "$ref" : "#/components/schemas/AlipayOpenAuthTokenAppQueryErrorResponseModel"
  21436. } ]
  21437. }
  21438. }
  21439. }
  21440. }
  21441. },
  21442. "parameters" : [ {
  21443. "name" : "app_auth_token",
  21444. "in" : "query",
  21445. "description" : "应用授权令牌",
  21446. "schema" : {
  21447. "type" : "string",
  21448. "example" : "201509BBeff9351ad1874306903e96b91d248A36"
  21449. }
  21450. } ]
  21451. }
  21452. },
  21453. "/v3/alipay/open/auth/userauth/relationship/query" : {
  21454. "get" : {
  21455. "tags" : [ "alipay.open.auth.userauth.relationship" ],
  21456. "summary" : "用户授权关系查询",
  21457. "description" : "校验本应用和用户的授权关系有效性",
  21458. "operationId" : "alipay.open.auth.userauth.relationship.query",
  21459. "responses" : {
  21460. "200" : {
  21461. "description" : "common response",
  21462. "content" : {
  21463. "application/json" : {
  21464. "schema" : {
  21465. "$ref" : "#/components/schemas/AlipayOpenAuthUserauthRelationshipQueryResponseModel"
  21466. }
  21467. }
  21468. }
  21469. },
  21470. "default" : {
  21471. "description" : "请求失败",
  21472. "content" : {
  21473. "application/json" : {
  21474. "schema" : {
  21475. "anyOf" : [ {
  21476. "$ref" : "#/components/schemas/CommonErrorType"
  21477. }, {
  21478. "$ref" : "#/components/schemas/AlipayOpenAuthUserauthRelationshipQueryErrorResponseModel"
  21479. } ]
  21480. }
  21481. }
  21482. }
  21483. }
  21484. },
  21485. "parameters" : [ {
  21486. "name" : "user_id",
  21487. "in" : "query",
  21488. "description" : "蚂蚁统一会员ID,如果未开启openid改造,则此值必传",
  21489. "schema" : {
  21490. "type" : "string",
  21491. "example" : "2088123443211234"
  21492. }
  21493. }, {
  21494. "name" : "open_id",
  21495. "in" : "query",
  21496. "description" : "蚂蚁统一会员ID,蚂蚁统一会员ID,如果已完成openid改造,则此值必传",
  21497. "schema" : {
  21498. "type" : "string",
  21499. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  21500. }
  21501. }, {
  21502. "name" : "scopes",
  21503. "in" : "query",
  21504. "description" : "查询授权关系所关联的scope,半角逗号分隔的列表,且不允许有重复值",
  21505. "schema" : {
  21506. "type" : "string",
  21507. "example" : "auth_user,auth_zhima"
  21508. }
  21509. } ]
  21510. }
  21511. },
  21512. "/v3/alipay/open/biz/create" : {
  21513. "post" : {
  21514. "tags" : [ "alipay.open.biz" ],
  21515. "summary" : "bizcontent测试12",
  21516. "description" : "bizcontent测试12",
  21517. "operationId" : "alipay.open.biz.create",
  21518. "responses" : {
  21519. "200" : {
  21520. "description" : "common response",
  21521. "content" : {
  21522. "application/json" : {
  21523. "schema" : {
  21524. "$ref" : "#/components/schemas/AlipayOpenBizCreateResponseModel"
  21525. }
  21526. }
  21527. }
  21528. },
  21529. "default" : {
  21530. "description" : "请求失败",
  21531. "content" : {
  21532. "application/json" : {
  21533. "schema" : {
  21534. "anyOf" : [ {
  21535. "$ref" : "#/components/schemas/CommonErrorType"
  21536. }, {
  21537. "$ref" : "#/components/schemas/AlipayOpenBizCreateErrorResponseModel"
  21538. } ]
  21539. }
  21540. }
  21541. }
  21542. }
  21543. },
  21544. "requestBody" : {
  21545. "content" : {
  21546. "application/json" : {
  21547. "schema" : {
  21548. "$ref" : "#/components/schemas/AlipayOpenBizCreateModel"
  21549. }
  21550. }
  21551. },
  21552. "required" : false
  21553. }
  21554. }
  21555. },
  21556. "/v3/alipay/open/fee/adjust/apply" : {
  21557. "post" : {
  21558. "tags" : [ "alipay.open.fee.adjust" ],
  21559. "summary" : "特殊费率申请",
  21560. "description" : "服务商替代签约或交易传参的商户申请费率",
  21561. "operationId" : "alipay.open.fee.adjust.apply",
  21562. "responses" : {
  21563. "200" : {
  21564. "description" : "common response",
  21565. "content" : {
  21566. "application/json" : {
  21567. "schema" : {
  21568. "$ref" : "#/components/schemas/AlipayOpenFeeAdjustApplyResponseModel"
  21569. }
  21570. }
  21571. }
  21572. },
  21573. "default" : {
  21574. "description" : "请求失败",
  21575. "content" : {
  21576. "application/json" : {
  21577. "schema" : {
  21578. "anyOf" : [ {
  21579. "$ref" : "#/components/schemas/CommonErrorType"
  21580. }, {
  21581. "$ref" : "#/components/schemas/AlipayOpenFeeAdjustApplyErrorResponseModel"
  21582. } ]
  21583. }
  21584. }
  21585. }
  21586. }
  21587. },
  21588. "requestBody" : {
  21589. "content" : {
  21590. "multipart/form-data" : {
  21591. "schema" : {
  21592. "type" : "object",
  21593. "properties" : {
  21594. "attachment" : {
  21595. "type" : "string",
  21596. "format" : "binary"
  21597. },
  21598. "cert_pic" : {
  21599. "type" : "string",
  21600. "format" : "binary"
  21601. },
  21602. "data" : {
  21603. "$ref" : "#/components/schemas/AlipayOpenFeeAdjustApplyModel"
  21604. },
  21605. "shop_scene_pic" : {
  21606. "type" : "string",
  21607. "format" : "binary"
  21608. },
  21609. "shop_sign_pic" : {
  21610. "type" : "string",
  21611. "format" : "binary"
  21612. }
  21613. }
  21614. },
  21615. "encoding" : {
  21616. "data" : {
  21617. "contentType" : "application/json"
  21618. },
  21619. "shop_scene_pic" : {
  21620. "contentType" : "*/*"
  21621. },
  21622. "attachment" : {
  21623. "contentType" : "*/*"
  21624. },
  21625. "shop_sign_pic" : {
  21626. "contentType" : "*/*"
  21627. },
  21628. "cert_pic" : {
  21629. "contentType" : "*/*"
  21630. }
  21631. }
  21632. }
  21633. },
  21634. "required" : false
  21635. }
  21636. }
  21637. },
  21638. "/v3/alipay/open/file/upload" : {
  21639. "post" : {
  21640. "tags" : [ "alipay.open.file" ],
  21641. "summary" : "支付宝文件上传接口",
  21642. "description" : "支付宝通用文件上传接口,支付宝开发者可以调用此接口上传文件,文件可以提供给其他业务使用,例如:上传素材(视频/图片),素材可以供给到生活号+/小程序等其他开放应用后正式发布。\n该接口支持使用支付宝SDK和HTTP POST请求,两种方式示例如下:\n1. 使用支付宝SDK时,可以直接使用FileItem上传,代码片段参考下文\n2. 使用直接使用http协议时,需要忽略file_content参数,文件放入表单中,其余参数放入URL中,其中将参数(不包括文件和file_content)按<a href=\"https://opendocs.alipay.com/common/02kf5q#%E8%87%AA%E8%A1%8C%E5%AE%9E%E7%8E%B0%E7%AD%BE%E5%90%8D\">自行实现签名</a>文档实现,示例:\ncurl --request POST 'http://openapi.alipay.com/gateway.do?charset=GBK&biz_content=%7B%22biz_code%22%3A%22content_creation%22%2C%22extra_parameters%22%3A%7B%22extern_upload%22%3A%22youku%22%2C%22alipay_user_id%22%3A%22xxxx%22%7D%7D&method=alipay.open.file.upload&format=json&sign=xxx&app_id=2014060600164699&version=1.0&sign_type=RSA2&timestamp=xxx' --form 'file=@\"xx.mp4\"'",
  21643. "operationId" : "alipay.open.file.upload",
  21644. "responses" : {
  21645. "200" : {
  21646. "description" : "common response",
  21647. "content" : {
  21648. "application/json" : {
  21649. "schema" : {
  21650. "$ref" : "#/components/schemas/AlipayOpenFileUploadResponseModel"
  21651. }
  21652. }
  21653. }
  21654. },
  21655. "default" : {
  21656. "description" : "请求失败",
  21657. "content" : {
  21658. "application/json" : {
  21659. "schema" : {
  21660. "anyOf" : [ {
  21661. "$ref" : "#/components/schemas/CommonErrorType"
  21662. }, {
  21663. "$ref" : "#/components/schemas/AlipayOpenFileUploadErrorResponseModel"
  21664. } ]
  21665. }
  21666. }
  21667. }
  21668. }
  21669. },
  21670. "requestBody" : {
  21671. "content" : {
  21672. "multipart/form-data" : {
  21673. "schema" : {
  21674. "type" : "object",
  21675. "properties" : {
  21676. "data" : {
  21677. "$ref" : "#/components/schemas/AlipayOpenFileUploadModel"
  21678. },
  21679. "file_content" : {
  21680. "type" : "string",
  21681. "format" : "binary"
  21682. }
  21683. }
  21684. },
  21685. "encoding" : {
  21686. "file_content" : {
  21687. "contentType" : "*/*"
  21688. },
  21689. "data" : {
  21690. "contentType" : "application/json"
  21691. }
  21692. }
  21693. }
  21694. },
  21695. "required" : false
  21696. }
  21697. }
  21698. },
  21699. "/v3/alipay/open/instantdelivery/account/create" : {
  21700. "post" : {
  21701. "tags" : [ "alipay.open.instantdelivery.account" ],
  21702. "summary" : "即时配送商家账户创建",
  21703. "description" : "商家入驻开放平台,接入即时配送服务,调用即时配送公司的接口创建账户",
  21704. "operationId" : "alipay.open.instantdelivery.account.create",
  21705. "responses" : {
  21706. "200" : {
  21707. "description" : "common response",
  21708. "content" : {
  21709. "application/json" : {
  21710. "schema" : {
  21711. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryAccountCreateResponseModel"
  21712. }
  21713. }
  21714. }
  21715. },
  21716. "default" : {
  21717. "description" : "请求失败",
  21718. "content" : {
  21719. "application/json" : {
  21720. "schema" : {
  21721. "anyOf" : [ {
  21722. "$ref" : "#/components/schemas/CommonErrorType"
  21723. }, {
  21724. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryAccountCreateErrorResponseModel"
  21725. } ]
  21726. }
  21727. }
  21728. }
  21729. }
  21730. },
  21731. "requestBody" : {
  21732. "content" : {
  21733. "application/json" : {
  21734. "schema" : {
  21735. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryAccountCreateModel"
  21736. }
  21737. }
  21738. },
  21739. "required" : false
  21740. }
  21741. }
  21742. },
  21743. "/v3/alipay/open/instantdelivery/account/query" : {
  21744. "get" : {
  21745. "tags" : [ "alipay.open.instantdelivery.account" ],
  21746. "summary" : "即时配送商家账户查询",
  21747. "description" : "即时配送业务,查询商家账户信息",
  21748. "operationId" : "alipay.open.instantdelivery.account.query",
  21749. "responses" : {
  21750. "200" : {
  21751. "description" : "common response",
  21752. "content" : {
  21753. "application/json" : {
  21754. "schema" : {
  21755. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryAccountQueryResponseModel"
  21756. }
  21757. }
  21758. }
  21759. },
  21760. "default" : {
  21761. "description" : "请求失败",
  21762. "content" : {
  21763. "application/json" : {
  21764. "schema" : {
  21765. "anyOf" : [ {
  21766. "$ref" : "#/components/schemas/CommonErrorType"
  21767. }, {
  21768. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryAccountQueryErrorResponseModel"
  21769. } ]
  21770. }
  21771. }
  21772. }
  21773. }
  21774. }
  21775. }
  21776. },
  21777. "/v3/alipay/open/instantdelivery/merchantagreement/query" : {
  21778. "get" : {
  21779. "tags" : [ "alipay.open.instantdelivery.merchantagreement" ],
  21780. "summary" : "协议签署查询api",
  21781. "description" : "协议签署查询api, 提供isv查询商户物流代扣协议签署情况",
  21782. "operationId" : "alipay.open.instantdelivery.merchantagreement.query",
  21783. "responses" : {
  21784. "200" : {
  21785. "description" : "common response",
  21786. "content" : {
  21787. "application/json" : {
  21788. "schema" : {
  21789. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantagreementQueryResponseModel"
  21790. }
  21791. }
  21792. }
  21793. },
  21794. "default" : {
  21795. "description" : "请求失败",
  21796. "content" : {
  21797. "application/json" : {
  21798. "schema" : {
  21799. "anyOf" : [ {
  21800. "$ref" : "#/components/schemas/CommonErrorType"
  21801. }, {
  21802. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantagreementQueryErrorResponseModel"
  21803. } ]
  21804. }
  21805. }
  21806. }
  21807. }
  21808. }
  21809. }
  21810. },
  21811. "/v3/alipay/open/instantdelivery/merchantagreement/sign" : {
  21812. "post" : {
  21813. "tags" : [ "alipay.open.instantdelivery.merchantagreement" ],
  21814. "summary" : "即时配送中商家代扣协议签署",
  21815. "description" : "即时配送中商家代扣协议签署",
  21816. "operationId" : "alipay.open.instantdelivery.merchantagreement.sign",
  21817. "responses" : {
  21818. "200" : {
  21819. "description" : "common response",
  21820. "content" : {
  21821. "application/json" : {
  21822. "schema" : {
  21823. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantagreementSignResponseModel"
  21824. }
  21825. }
  21826. }
  21827. },
  21828. "default" : {
  21829. "description" : "请求失败",
  21830. "content" : {
  21831. "application/json" : {
  21832. "schema" : {
  21833. "anyOf" : [ {
  21834. "$ref" : "#/components/schemas/CommonErrorType"
  21835. }, {
  21836. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantagreementSignErrorResponseModel"
  21837. } ]
  21838. }
  21839. }
  21840. }
  21841. }
  21842. },
  21843. "requestBody" : {
  21844. "content" : {
  21845. "application/json" : {
  21846. "schema" : {
  21847. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantagreementSignModel"
  21848. }
  21849. }
  21850. },
  21851. "required" : false
  21852. }
  21853. }
  21854. },
  21855. "/v3/alipay/open/instantdelivery/merchantshop/batchquery" : {
  21856. "post" : {
  21857. "tags" : [ "alipay.open.instantdelivery.merchantshop" ],
  21858. "summary" : "即时配送商家球房分页查询",
  21859. "description" : "即时配送场景,商家球房信息分页查询",
  21860. "operationId" : "alipay.open.instantdelivery.merchantshop.batchquery",
  21861. "responses" : {
  21862. "200" : {
  21863. "description" : "common response",
  21864. "content" : {
  21865. "application/json" : {
  21866. "schema" : {
  21867. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopBatchqueryResponseModel"
  21868. }
  21869. }
  21870. }
  21871. },
  21872. "default" : {
  21873. "description" : "请求失败",
  21874. "content" : {
  21875. "application/json" : {
  21876. "schema" : {
  21877. "anyOf" : [ {
  21878. "$ref" : "#/components/schemas/CommonErrorType"
  21879. }, {
  21880. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopBatchqueryErrorResponseModel"
  21881. } ]
  21882. }
  21883. }
  21884. }
  21885. }
  21886. },
  21887. "requestBody" : {
  21888. "content" : {
  21889. "application/json" : {
  21890. "schema" : {
  21891. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopBatchqueryModel"
  21892. }
  21893. }
  21894. },
  21895. "required" : false
  21896. }
  21897. }
  21898. },
  21899. "/v3/alipay/open/instantdelivery/merchantshop/create" : {
  21900. "post" : {
  21901. "tags" : [ "alipay.open.instantdelivery.merchantshop" ],
  21902. "summary" : "即时配送商家球房创建",
  21903. "description" : "帮商家在即时配送公司创建球房。名称+地址必须全局唯一;pid下的shopNo必须唯一。",
  21904. "operationId" : "alipay.open.instantdelivery.merchantshop.create",
  21905. "responses" : {
  21906. "200" : {
  21907. "description" : "common response",
  21908. "content" : {
  21909. "application/json" : {
  21910. "schema" : {
  21911. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopCreateResponseModel"
  21912. }
  21913. }
  21914. }
  21915. },
  21916. "default" : {
  21917. "description" : "请求失败",
  21918. "content" : {
  21919. "application/json" : {
  21920. "schema" : {
  21921. "anyOf" : [ {
  21922. "$ref" : "#/components/schemas/CommonErrorType"
  21923. }, {
  21924. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopCreateErrorResponseModel"
  21925. } ]
  21926. }
  21927. }
  21928. }
  21929. }
  21930. },
  21931. "requestBody" : {
  21932. "content" : {
  21933. "application/json" : {
  21934. "schema" : {
  21935. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopCreateModel"
  21936. }
  21937. }
  21938. },
  21939. "required" : false
  21940. }
  21941. }
  21942. },
  21943. "/v3/alipay/open/instantdelivery/merchantshop/modify" : {
  21944. "post" : {
  21945. "tags" : [ "alipay.open.instantdelivery.merchantshop" ],
  21946. "summary" : "即时配送商家球房更新",
  21947. "description" : "帮商家更新在即时配送公司的球房",
  21948. "operationId" : "alipay.open.instantdelivery.merchantshop.modify",
  21949. "responses" : {
  21950. "200" : {
  21951. "description" : "common response",
  21952. "content" : {
  21953. "application/json" : {
  21954. "schema" : {
  21955. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopModifyResponseModel"
  21956. }
  21957. }
  21958. }
  21959. },
  21960. "default" : {
  21961. "description" : "请求失败",
  21962. "content" : {
  21963. "application/json" : {
  21964. "schema" : {
  21965. "anyOf" : [ {
  21966. "$ref" : "#/components/schemas/CommonErrorType"
  21967. }, {
  21968. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopModifyErrorResponseModel"
  21969. } ]
  21970. }
  21971. }
  21972. }
  21973. }
  21974. },
  21975. "requestBody" : {
  21976. "content" : {
  21977. "application/json" : {
  21978. "schema" : {
  21979. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopModifyModel"
  21980. }
  21981. }
  21982. },
  21983. "required" : false
  21984. }
  21985. }
  21986. },
  21987. "/v3/alipay/open/instantdelivery/merchantshop/query" : {
  21988. "get" : {
  21989. "tags" : [ "alipay.open.instantdelivery.merchantshop" ],
  21990. "summary" : "即时配送商家球房详情查询",
  21991. "description" : "即时配送场景,查询商家球房详情信息。",
  21992. "operationId" : "alipay.open.instantdelivery.merchantshop.query",
  21993. "responses" : {
  21994. "200" : {
  21995. "description" : "common response",
  21996. "content" : {
  21997. "application/json" : {
  21998. "schema" : {
  21999. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopQueryResponseModel"
  22000. }
  22001. }
  22002. }
  22003. },
  22004. "default" : {
  22005. "description" : "请求失败",
  22006. "content" : {
  22007. "application/json" : {
  22008. "schema" : {
  22009. "anyOf" : [ {
  22010. "$ref" : "#/components/schemas/CommonErrorType"
  22011. }, {
  22012. "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopQueryErrorResponseModel"
  22013. } ]
  22014. }
  22015. }
  22016. }
  22017. }
  22018. },
  22019. "parameters" : [ {
  22020. "name" : "shop_no",
  22021. "in" : "query",
  22022. "description" : "商家球房编码。",
  22023. "schema" : {
  22024. "type" : "string",
  22025. "example" : "1000"
  22026. }
  22027. } ]
  22028. }
  22029. },
  22030. "/v3/alipay/open/invite/order/query" : {
  22031. "get" : {
  22032. "tags" : [ "alipay.open.invite.order" ],
  22033. "summary" : "查询签约申请单状态",
  22034. "description" : "创建签约授权流程后,查询对应产品签约申请单的状态",
  22035. "operationId" : "alipay.open.invite.order.query",
  22036. "responses" : {
  22037. "200" : {
  22038. "description" : "common response",
  22039. "content" : {
  22040. "application/json" : {
  22041. "schema" : {
  22042. "$ref" : "#/components/schemas/AlipayOpenInviteOrderQueryResponseModel"
  22043. }
  22044. }
  22045. }
  22046. },
  22047. "default" : {
  22048. "description" : "请求失败",
  22049. "content" : {
  22050. "application/json" : {
  22051. "schema" : {
  22052. "anyOf" : [ {
  22053. "$ref" : "#/components/schemas/CommonErrorType"
  22054. }, {
  22055. "$ref" : "#/components/schemas/AlipayOpenInviteOrderQueryErrorResponseModel"
  22056. } ]
  22057. }
  22058. }
  22059. }
  22060. }
  22061. },
  22062. "parameters" : [ {
  22063. "name" : "isv_biz_id",
  22064. "in" : "query",
  22065. "description" : "isv业务系统单据编号",
  22066. "schema" : {
  22067. "type" : "string",
  22068. "example" : "2017110616474516400082883"
  22069. }
  22070. }, {
  22071. "name" : "alipay_logon_id",
  22072. "in" : "query",
  22073. "description" : "商家的支付宝账号,如果调用alipay.open.invite.order.create接口时有传入支付宝账号,则这里查询签约状态时必须要传",
  22074. "schema" : {
  22075. "type" : "string",
  22076. "example" : "fykevbdz6766@alitest.com"
  22077. }
  22078. } ]
  22079. }
  22080. },
  22081. "/v3/alipay/open/mini/appdeploy/byappid/query" : {
  22082. "get" : {
  22083. "tags" : [ "alipay.open.mini.appdeploy.byappid" ],
  22084. "summary" : "根据APPID分页查询小程序发布信息",
  22085. "description" : "用于伙伴平台面向开发者提供查询小程序发布能力",
  22086. "operationId" : "alipay.open.mini.appdeploy.byappid.query",
  22087. "responses" : {
  22088. "200" : {
  22089. "description" : "common response",
  22090. "content" : {
  22091. "application/json" : {
  22092. "schema" : {
  22093. "$ref" : "#/components/schemas/AlipayOpenMiniAppdeployByappidQueryResponseModel"
  22094. }
  22095. }
  22096. }
  22097. },
  22098. "default" : {
  22099. "description" : "请求失败",
  22100. "content" : {
  22101. "application/json" : {
  22102. "schema" : {
  22103. "anyOf" : [ {
  22104. "$ref" : "#/components/schemas/CommonErrorType"
  22105. }, {
  22106. "$ref" : "#/components/schemas/AlipayOpenMiniAppdeployByappidQueryErrorResponseModel"
  22107. } ]
  22108. }
  22109. }
  22110. }
  22111. }
  22112. },
  22113. "parameters" : [ {
  22114. "name" : "mini_app_id",
  22115. "in" : "query",
  22116. "description" : "小程序应用ID",
  22117. "schema" : {
  22118. "type" : "string",
  22119. "example" : "2018XXXXXX"
  22120. }
  22121. }, {
  22122. "name" : "bundle_id",
  22123. "in" : "query",
  22124. "description" : "端标识",
  22125. "schema" : {
  22126. "type" : "string",
  22127. "example" : "com.amap.app"
  22128. }
  22129. }, {
  22130. "name" : "inst_code",
  22131. "in" : "query",
  22132. "description" : "租户标识",
  22133. "schema" : {
  22134. "type" : "string",
  22135. "example" : "alipay"
  22136. }
  22137. }, {
  22138. "name" : "page_num",
  22139. "in" : "query",
  22140. "description" : "当前页,从1开始",
  22141. "schema" : {
  22142. "type" : "integer",
  22143. "example" : "1"
  22144. }
  22145. }, {
  22146. "name" : "page_size",
  22147. "in" : "query",
  22148. "description" : "每页个数",
  22149. "schema" : {
  22150. "type" : "integer",
  22151. "example" : "20"
  22152. }
  22153. } ]
  22154. }
  22155. },
  22156. "/v3/alipay/open/mini/appdeploy/byappversion/query" : {
  22157. "get" : {
  22158. "tags" : [ "alipay.open.mini.appdeploy.byappversion" ],
  22159. "summary" : "通过版本查询小程序发布",
  22160. "description" : "伙伴平台使用,用于向开发者展示小程序发布信息",
  22161. "operationId" : "alipay.open.mini.appdeploy.byappversion.query",
  22162. "responses" : {
  22163. "200" : {
  22164. "description" : "common response",
  22165. "content" : {
  22166. "application/json" : {
  22167. "schema" : {
  22168. "$ref" : "#/components/schemas/AlipayOpenMiniAppdeployByappversionQueryResponseModel"
  22169. }
  22170. }
  22171. }
  22172. },
  22173. "default" : {
  22174. "description" : "请求失败",
  22175. "content" : {
  22176. "application/json" : {
  22177. "schema" : {
  22178. "anyOf" : [ {
  22179. "$ref" : "#/components/schemas/CommonErrorType"
  22180. }, {
  22181. "$ref" : "#/components/schemas/AlipayOpenMiniAppdeployByappversionQueryErrorResponseModel"
  22182. } ]
  22183. }
  22184. }
  22185. }
  22186. }
  22187. },
  22188. "parameters" : [ {
  22189. "name" : "mini_app_id",
  22190. "in" : "query",
  22191. "description" : "小程序ID",
  22192. "schema" : {
  22193. "type" : "string",
  22194. "example" : "2011XXXXXXX"
  22195. }
  22196. }, {
  22197. "name" : "bundle_id",
  22198. "in" : "query",
  22199. "description" : "端标识",
  22200. "schema" : {
  22201. "type" : "string",
  22202. "example" : "com.amap.app"
  22203. }
  22204. }, {
  22205. "name" : "inst_code",
  22206. "in" : "query",
  22207. "description" : "租户",
  22208. "schema" : {
  22209. "type" : "string",
  22210. "example" : "alipay"
  22211. }
  22212. }, {
  22213. "name" : "app_version",
  22214. "in" : "query",
  22215. "description" : "小程序版本",
  22216. "schema" : {
  22217. "type" : "string",
  22218. "example" : "0.0.1"
  22219. }
  22220. } ]
  22221. }
  22222. },
  22223. "/v3/alipay/open/mini/appdeploy/bydeployversion/query" : {
  22224. "get" : {
  22225. "tags" : [ "alipay.open.mini.appdeploy.bydeployversion" ],
  22226. "summary" : "根据发布版本查询小程序发布信息",
  22227. "description" : "用于伙伴向开发者展示小程序发布信息",
  22228. "operationId" : "alipay.open.mini.appdeploy.bydeployversion.query",
  22229. "responses" : {
  22230. "200" : {
  22231. "description" : "common response",
  22232. "content" : {
  22233. "application/json" : {
  22234. "schema" : {
  22235. "$ref" : "#/components/schemas/AlipayOpenMiniAppdeployBydeployversionQueryResponseModel"
  22236. }
  22237. }
  22238. }
  22239. },
  22240. "default" : {
  22241. "description" : "请求失败",
  22242. "content" : {
  22243. "application/json" : {
  22244. "schema" : {
  22245. "anyOf" : [ {
  22246. "$ref" : "#/components/schemas/CommonErrorType"
  22247. }, {
  22248. "$ref" : "#/components/schemas/AlipayOpenMiniAppdeployBydeployversionQueryErrorResponseModel"
  22249. } ]
  22250. }
  22251. }
  22252. }
  22253. }
  22254. },
  22255. "parameters" : [ {
  22256. "name" : "bundle_id",
  22257. "in" : "query",
  22258. "description" : "客户端标识",
  22259. "schema" : {
  22260. "type" : "string",
  22261. "example" : "com.amap.app"
  22262. }
  22263. }, {
  22264. "name" : "mini_app_id",
  22265. "in" : "query",
  22266. "description" : "小程序ID",
  22267. "schema" : {
  22268. "type" : "string",
  22269. "example" : "2021XXXXXX"
  22270. }
  22271. }, {
  22272. "name" : "inst_code",
  22273. "in" : "query",
  22274. "description" : "租户",
  22275. "schema" : {
  22276. "type" : "string",
  22277. "example" : "alipay"
  22278. }
  22279. }, {
  22280. "name" : "deploy_version",
  22281. "in" : "query",
  22282. "description" : "发布标识",
  22283. "schema" : {
  22284. "type" : "string",
  22285. "example" : "0.2.201910101.2"
  22286. }
  22287. } ]
  22288. }
  22289. },
  22290. "/v3/alipay/open/mini/baseinfo/modify" : {
  22291. "post" : {
  22292. "tags" : [ "alipay.open.mini.baseinfo" ],
  22293. "summary" : "小程序修改基础信息",
  22294. "description" : "小程序修改基础信息。\n本接口暂不支持已经上过架的小程序调用(只支持小程序首次上架之前修改信息)",
  22295. "operationId" : "alipay.open.mini.baseinfo.modify",
  22296. "responses" : {
  22297. "200" : {
  22298. "description" : "common response",
  22299. "content" : {
  22300. "application/json" : {
  22301. "schema" : {
  22302. "$ref" : "#/components/schemas/AlipayOpenMiniBaseinfoModifyResponseModel"
  22303. }
  22304. }
  22305. }
  22306. },
  22307. "default" : {
  22308. "description" : "请求失败",
  22309. "content" : {
  22310. "application/json" : {
  22311. "schema" : {
  22312. "anyOf" : [ {
  22313. "$ref" : "#/components/schemas/CommonErrorType"
  22314. }, {
  22315. "$ref" : "#/components/schemas/AlipayOpenMiniBaseinfoModifyErrorResponseModel"
  22316. } ]
  22317. }
  22318. }
  22319. }
  22320. }
  22321. },
  22322. "requestBody" : {
  22323. "content" : {
  22324. "multipart/form-data" : {
  22325. "schema" : {
  22326. "type" : "object",
  22327. "properties" : {
  22328. "app_logo" : {
  22329. "type" : "string",
  22330. "format" : "binary"
  22331. },
  22332. "data" : {
  22333. "$ref" : "#/components/schemas/AlipayOpenMiniBaseinfoModifyModel"
  22334. }
  22335. }
  22336. },
  22337. "encoding" : {
  22338. "app_logo" : {
  22339. "contentType" : "*/*"
  22340. },
  22341. "data" : {
  22342. "contentType" : "application/json"
  22343. }
  22344. }
  22345. }
  22346. },
  22347. "required" : false
  22348. }
  22349. }
  22350. },
  22351. "/v3/alipay/open/mini/baseinfo/name/check" : {
  22352. "get" : {
  22353. "tags" : [ "alipay.open.mini.baseinfo.name" ],
  22354. "summary" : "小程序名称检测",
  22355. "description" : "小程序名称检测。包含小程序名称基础校验、名称重复、存在敏感信息、存在品牌词、名称宽泛等检测能力。若返回“check_code”:“NONE”,说明小程序名称未检测出异常。",
  22356. "operationId" : "alipay.open.mini.baseinfo.name.check",
  22357. "responses" : {
  22358. "200" : {
  22359. "description" : "common response",
  22360. "content" : {
  22361. "application/json" : {
  22362. "schema" : {
  22363. "$ref" : "#/components/schemas/AlipayOpenMiniBaseinfoNameCheckResponseModel"
  22364. }
  22365. }
  22366. }
  22367. },
  22368. "default" : {
  22369. "description" : "请求失败",
  22370. "content" : {
  22371. "application/json" : {
  22372. "schema" : {
  22373. "anyOf" : [ {
  22374. "$ref" : "#/components/schemas/CommonErrorType"
  22375. }, {
  22376. "$ref" : "#/components/schemas/AlipayOpenMiniBaseinfoNameCheckErrorResponseModel"
  22377. } ]
  22378. }
  22379. }
  22380. }
  22381. }
  22382. },
  22383. "parameters" : [ {
  22384. "name" : "app_name",
  22385. "in" : "query",
  22386. "description" : "小程序名字,长度限制 3~30 个字符,仅支持包含简体中文、数字、英文、下划线、+、-。",
  22387. "schema" : {
  22388. "type" : "string",
  22389. "example" : "吱声小铺"
  22390. }
  22391. } ]
  22392. }
  22393. },
  22394. "/v3/alipay/open/mini/baseinfo/query" : {
  22395. "get" : {
  22396. "tags" : [ "alipay.open.mini.baseinfo" ],
  22397. "summary" : "查询小程序基础信息",
  22398. "description" : "查询小程序基础信息",
  22399. "operationId" : "alipay.open.mini.baseinfo.query",
  22400. "responses" : {
  22401. "200" : {
  22402. "description" : "common response",
  22403. "content" : {
  22404. "application/json" : {
  22405. "schema" : {
  22406. "$ref" : "#/components/schemas/AlipayOpenMiniBaseinfoQueryResponseModel"
  22407. }
  22408. }
  22409. }
  22410. },
  22411. "default" : {
  22412. "description" : "请求失败",
  22413. "content" : {
  22414. "application/json" : {
  22415. "schema" : {
  22416. "anyOf" : [ {
  22417. "$ref" : "#/components/schemas/CommonErrorType"
  22418. }, {
  22419. "$ref" : "#/components/schemas/AlipayOpenMiniBaseinfoQueryErrorResponseModel"
  22420. } ]
  22421. }
  22422. }
  22423. }
  22424. }
  22425. }
  22426. }
  22427. },
  22428. "/v3/alipay/open/mini/category/query" : {
  22429. "get" : {
  22430. "tags" : [ "alipay.open.mini.category" ],
  22431. "summary" : "小程序类目树查询",
  22432. "description" : "小程序类目树查询",
  22433. "operationId" : "alipay.open.mini.category.query",
  22434. "responses" : {
  22435. "200" : {
  22436. "description" : "common response",
  22437. "content" : {
  22438. "application/json" : {
  22439. "schema" : {
  22440. "$ref" : "#/components/schemas/AlipayOpenMiniCategoryQueryResponseModel"
  22441. }
  22442. }
  22443. }
  22444. },
  22445. "default" : {
  22446. "description" : "请求失败",
  22447. "content" : {
  22448. "application/json" : {
  22449. "schema" : {
  22450. "anyOf" : [ {
  22451. "$ref" : "#/components/schemas/CommonErrorType"
  22452. }, {
  22453. "$ref" : "#/components/schemas/AlipayOpenMiniCategoryQueryErrorResponseModel"
  22454. } ]
  22455. }
  22456. }
  22457. }
  22458. }
  22459. },
  22460. "parameters" : [ {
  22461. "name" : "is_filter",
  22462. "in" : "query",
  22463. "description" : "是否过滤小程序不可用类目。枚举值如下:\t* true:表示过滤不可用类目。\t* false:表示不过滤不可用类目。",
  22464. "schema" : {
  22465. "type" : "boolean",
  22466. "example" : "true"
  22467. }
  22468. } ]
  22469. }
  22470. },
  22471. "/v3/alipay/open/mini/category/require/query" : {
  22472. "post" : {
  22473. "tags" : [ "alipay.open.mini.category.require" ],
  22474. "summary" : "查询类目所需资质信息",
  22475. "description" : "查询类目所需资质信息",
  22476. "operationId" : "alipay.open.mini.category.require.query",
  22477. "responses" : {
  22478. "200" : {
  22479. "description" : "common response",
  22480. "content" : {
  22481. "application/json" : {
  22482. "schema" : {
  22483. "$ref" : "#/components/schemas/AlipayOpenMiniCategoryRequireQueryResponseModel"
  22484. }
  22485. }
  22486. }
  22487. },
  22488. "default" : {
  22489. "description" : "请求失败",
  22490. "content" : {
  22491. "application/json" : {
  22492. "schema" : {
  22493. "anyOf" : [ {
  22494. "$ref" : "#/components/schemas/CommonErrorType"
  22495. }, {
  22496. "$ref" : "#/components/schemas/AlipayOpenMiniCategoryRequireQueryErrorResponseModel"
  22497. } ]
  22498. }
  22499. }
  22500. }
  22501. }
  22502. },
  22503. "requestBody" : {
  22504. "content" : {
  22505. "application/json" : {
  22506. "schema" : {
  22507. "$ref" : "#/components/schemas/AlipayOpenMiniCategoryRequireQueryModel"
  22508. }
  22509. }
  22510. },
  22511. "required" : false
  22512. }
  22513. }
  22514. },
  22515. "/v3/alipay/open/mini/experience/cancel" : {
  22516. "post" : {
  22517. "tags" : [ "alipay.open.mini.experience" ],
  22518. "summary" : "小程序取消体验版",
  22519. "description" : "版本号为空",
  22520. "operationId" : "alipay.open.mini.experience.cancel",
  22521. "responses" : {
  22522. "200" : {
  22523. "description" : "common response",
  22524. "content" : {
  22525. "application/json" : {
  22526. "schema" : {
  22527. "$ref" : "#/components/schemas/AlipayOpenMiniExperienceCancelResponseModel"
  22528. }
  22529. }
  22530. }
  22531. },
  22532. "default" : {
  22533. "description" : "请求失败",
  22534. "content" : {
  22535. "application/json" : {
  22536. "schema" : {
  22537. "anyOf" : [ {
  22538. "$ref" : "#/components/schemas/CommonErrorType"
  22539. }, {
  22540. "$ref" : "#/components/schemas/AlipayOpenMiniExperienceCancelErrorResponseModel"
  22541. } ]
  22542. }
  22543. }
  22544. }
  22545. }
  22546. },
  22547. "requestBody" : {
  22548. "content" : {
  22549. "application/json" : {
  22550. "schema" : {
  22551. "$ref" : "#/components/schemas/AlipayOpenMiniExperienceCancelModel"
  22552. }
  22553. }
  22554. },
  22555. "required" : false
  22556. }
  22557. }
  22558. },
  22559. "/v3/alipay/open/mini/experience/create" : {
  22560. "post" : {
  22561. "tags" : [ "alipay.open.mini.experience" ],
  22562. "summary" : "小程序生成体验版",
  22563. "description" : "小程序生成体验版",
  22564. "operationId" : "alipay.open.mini.experience.create",
  22565. "responses" : {
  22566. "200" : {
  22567. "description" : "common response",
  22568. "content" : {
  22569. "application/json" : {
  22570. "schema" : {
  22571. "$ref" : "#/components/schemas/AlipayOpenMiniExperienceCreateResponseModel"
  22572. }
  22573. }
  22574. }
  22575. },
  22576. "default" : {
  22577. "description" : "请求失败",
  22578. "content" : {
  22579. "application/json" : {
  22580. "schema" : {
  22581. "anyOf" : [ {
  22582. "$ref" : "#/components/schemas/CommonErrorType"
  22583. }, {
  22584. "$ref" : "#/components/schemas/AlipayOpenMiniExperienceCreateErrorResponseModel"
  22585. } ]
  22586. }
  22587. }
  22588. }
  22589. }
  22590. },
  22591. "requestBody" : {
  22592. "content" : {
  22593. "application/json" : {
  22594. "schema" : {
  22595. "$ref" : "#/components/schemas/AlipayOpenMiniExperienceCreateModel"
  22596. }
  22597. }
  22598. },
  22599. "required" : false
  22600. }
  22601. }
  22602. },
  22603. "/v3/alipay/open/mini/experience/query" : {
  22604. "get" : {
  22605. "tags" : [ "alipay.open.mini.experience" ],
  22606. "summary" : "小程序体验版状态查询接口",
  22607. "description" : "小程序体验版状态查询接口",
  22608. "operationId" : "alipay.open.mini.experience.query",
  22609. "responses" : {
  22610. "200" : {
  22611. "description" : "common response",
  22612. "content" : {
  22613. "application/json" : {
  22614. "schema" : {
  22615. "$ref" : "#/components/schemas/AlipayOpenMiniExperienceQueryResponseModel"
  22616. }
  22617. }
  22618. }
  22619. },
  22620. "default" : {
  22621. "description" : "请求失败",
  22622. "content" : {
  22623. "application/json" : {
  22624. "schema" : {
  22625. "anyOf" : [ {
  22626. "$ref" : "#/components/schemas/CommonErrorType"
  22627. }, {
  22628. "$ref" : "#/components/schemas/AlipayOpenMiniExperienceQueryErrorResponseModel"
  22629. } ]
  22630. }
  22631. }
  22632. }
  22633. }
  22634. },
  22635. "parameters" : [ {
  22636. "name" : "app_version",
  22637. "in" : "query",
  22638. "description" : "商家小程序版本号。",
  22639. "schema" : {
  22640. "type" : "string",
  22641. "example" : "0.0.1"
  22642. }
  22643. }, {
  22644. "name" : "bundle_id",
  22645. "in" : "query",
  22646. "description" : "小程序客户端类型,默认为支付宝端。支持如下入参:\tcom.alipay.alipaywallet:支付宝端;\tcom.alibaba.android.rimet:DINGDING端;\tcom.amap.app:高德端;\tcom.alibaba.ailabs.genie.webapps:天猫精灵端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
  22647. "schema" : {
  22648. "type" : "string",
  22649. "example" : "com.alipay.alipaywallet"
  22650. }
  22651. } ]
  22652. }
  22653. },
  22654. "/v3/alipay/open/mini/individual/business/certify" : {
  22655. "post" : {
  22656. "tags" : [ "alipay.open.mini.individual.business" ],
  22657. "summary" : "个人账户升级为个体工商户",
  22658. "description" : "小程序场景下,个体工商户具有和企业账户相同的能力,通过本接口,可以将符合资质的个人账户升级为个体工商户",
  22659. "operationId" : "alipay.open.mini.individual.business.certify",
  22660. "responses" : {
  22661. "200" : {
  22662. "description" : "common response",
  22663. "content" : {
  22664. "application/json" : {
  22665. "schema" : {
  22666. "$ref" : "#/components/schemas/AlipayOpenMiniIndividualBusinessCertifyResponseModel"
  22667. }
  22668. }
  22669. }
  22670. },
  22671. "default" : {
  22672. "description" : "请求失败",
  22673. "content" : {
  22674. "application/json" : {
  22675. "schema" : {
  22676. "anyOf" : [ {
  22677. "$ref" : "#/components/schemas/CommonErrorType"
  22678. }, {
  22679. "$ref" : "#/components/schemas/AlipayOpenMiniIndividualBusinessCertifyErrorResponseModel"
  22680. } ]
  22681. }
  22682. }
  22683. }
  22684. }
  22685. },
  22686. "requestBody" : {
  22687. "content" : {
  22688. "application/json" : {
  22689. "schema" : {
  22690. "$ref" : "#/components/schemas/AlipayOpenMiniIndividualBusinessCertifyModel"
  22691. }
  22692. }
  22693. },
  22694. "required" : false
  22695. }
  22696. }
  22697. },
  22698. "/v3/alipay/open/mini/inner/experience/cancel" : {
  22699. "post" : {
  22700. "tags" : [ "alipay.open.mini.inner.experience" ],
  22701. "summary" : "内部链路取消体验版",
  22702. "description" : "提供给内部一二方用于取消体验版",
  22703. "operationId" : "alipay.open.mini.inner.experience.cancel",
  22704. "responses" : {
  22705. "200" : {
  22706. "description" : "common response",
  22707. "content" : {
  22708. "application/json" : {
  22709. "schema" : {
  22710. "$ref" : "#/components/schemas/AlipayOpenMiniInnerExperienceCancelResponseModel"
  22711. }
  22712. }
  22713. }
  22714. },
  22715. "default" : {
  22716. "description" : "请求失败",
  22717. "content" : {
  22718. "application/json" : {
  22719. "schema" : {
  22720. "anyOf" : [ {
  22721. "$ref" : "#/components/schemas/CommonErrorType"
  22722. }, {
  22723. "$ref" : "#/components/schemas/AlipayOpenMiniInnerExperienceCancelErrorResponseModel"
  22724. } ]
  22725. }
  22726. }
  22727. }
  22728. }
  22729. },
  22730. "requestBody" : {
  22731. "content" : {
  22732. "application/json" : {
  22733. "schema" : {
  22734. "$ref" : "#/components/schemas/AlipayOpenMiniInnerExperienceCancelModel"
  22735. }
  22736. }
  22737. },
  22738. "required" : false
  22739. }
  22740. }
  22741. },
  22742. "/v3/alipay/open/mini/inner/members/add" : {
  22743. "post" : {
  22744. "tags" : [ "alipay.open.mini.inner.members" ],
  22745. "summary" : "内部链路添加开发成员",
  22746. "description" : "添加开发成员",
  22747. "operationId" : "alipay.open.mini.inner.members.add",
  22748. "responses" : {
  22749. "200" : {
  22750. "description" : "common response",
  22751. "content" : {
  22752. "application/json" : {
  22753. "schema" : {
  22754. "$ref" : "#/components/schemas/AlipayOpenMiniInnerMembersAddResponseModel"
  22755. }
  22756. }
  22757. }
  22758. },
  22759. "default" : {
  22760. "description" : "请求失败",
  22761. "content" : {
  22762. "application/json" : {
  22763. "schema" : {
  22764. "anyOf" : [ {
  22765. "$ref" : "#/components/schemas/CommonErrorType"
  22766. }, {
  22767. "$ref" : "#/components/schemas/AlipayOpenMiniInnerMembersAddErrorResponseModel"
  22768. } ]
  22769. }
  22770. }
  22771. }
  22772. }
  22773. },
  22774. "requestBody" : {
  22775. "content" : {
  22776. "application/json" : {
  22777. "schema" : {
  22778. "$ref" : "#/components/schemas/AlipayOpenMiniInnerMembersAddModel"
  22779. }
  22780. }
  22781. },
  22782. "required" : false
  22783. }
  22784. }
  22785. },
  22786. "/v3/alipay/open/mini/inner/members/delete" : {
  22787. "delete" : {
  22788. "tags" : [ "alipay.open.mini.inner.members" ],
  22789. "summary" : "内部链路删除开发成员",
  22790. "description" : "删除开发成员",
  22791. "operationId" : "alipay.open.mini.inner.members.delete",
  22792. "responses" : {
  22793. "200" : {
  22794. "description" : "common response",
  22795. "content" : {
  22796. "application/json" : {
  22797. "schema" : {
  22798. "$ref" : "#/components/schemas/AlipayOpenMiniInnerMembersDeleteResponseModel"
  22799. }
  22800. }
  22801. }
  22802. },
  22803. "default" : {
  22804. "description" : "请求失败",
  22805. "content" : {
  22806. "application/json" : {
  22807. "schema" : {
  22808. "anyOf" : [ {
  22809. "$ref" : "#/components/schemas/CommonErrorType"
  22810. }, {
  22811. "$ref" : "#/components/schemas/AlipayOpenMiniInnerMembersDeleteErrorResponseModel"
  22812. } ]
  22813. }
  22814. }
  22815. }
  22816. }
  22817. },
  22818. "parameters" : [ {
  22819. "name" : "mini_app_id",
  22820. "in" : "query",
  22821. "description" : "业务小程序id",
  22822. "schema" : {
  22823. "type" : "string",
  22824. "example" : "2021154987463214"
  22825. }
  22826. }, {
  22827. "name" : "app_origin",
  22828. "in" : "query",
  22829. "description" : "业务来源",
  22830. "schema" : {
  22831. "type" : "string",
  22832. "example" : "ALIPAY"
  22833. }
  22834. }, {
  22835. "name" : "domain_account",
  22836. "in" : "query",
  22837. "description" : "域账号(如传入则删除联系人)",
  22838. "schema" : {
  22839. "type" : "string",
  22840. "example" : "域账号"
  22841. }
  22842. }, {
  22843. "name" : "login_id",
  22844. "in" : "query",
  22845. "description" : "登陆支付宝账号",
  22846. "schema" : {
  22847. "type" : "string",
  22848. "example" : "登陆支付宝账号"
  22849. }
  22850. }, {
  22851. "name" : "type",
  22852. "in" : "query",
  22853. "description" : "成员类型",
  22854. "schema" : {
  22855. "type" : "string",
  22856. "example" : "1"
  22857. }
  22858. } ]
  22859. }
  22860. },
  22861. "/v3/alipay/open/mini/inner/members/query" : {
  22862. "get" : {
  22863. "tags" : [ "alipay.open.mini.inner.members" ],
  22864. "summary" : "内部链路查询开发成员",
  22865. "description" : "内部链路查询开发成员",
  22866. "operationId" : "alipay.open.mini.inner.members.query",
  22867. "responses" : {
  22868. "200" : {
  22869. "description" : "common response",
  22870. "content" : {
  22871. "application/json" : {
  22872. "schema" : {
  22873. "$ref" : "#/components/schemas/AlipayOpenMiniInnerMembersQueryResponseModel"
  22874. }
  22875. }
  22876. }
  22877. },
  22878. "default" : {
  22879. "description" : "请求失败",
  22880. "content" : {
  22881. "application/json" : {
  22882. "schema" : {
  22883. "anyOf" : [ {
  22884. "$ref" : "#/components/schemas/CommonErrorType"
  22885. }, {
  22886. "$ref" : "#/components/schemas/AlipayOpenMiniInnerMembersQueryErrorResponseModel"
  22887. } ]
  22888. }
  22889. }
  22890. }
  22891. }
  22892. },
  22893. "parameters" : [ {
  22894. "name" : "mini_app_id",
  22895. "in" : "query",
  22896. "description" : "业务小程序id",
  22897. "schema" : {
  22898. "type" : "string",
  22899. "example" : "2021125487896547"
  22900. }
  22901. }, {
  22902. "name" : "app_origin",
  22903. "in" : "query",
  22904. "description" : "业务来源",
  22905. "schema" : {
  22906. "type" : "string",
  22907. "example" : "ALIPAY"
  22908. }
  22909. } ]
  22910. }
  22911. },
  22912. "/v3/alipay/open/mini/innerapp/create" : {
  22913. "post" : {
  22914. "tags" : [ "alipay.open.mini.innerapp" ],
  22915. "summary" : "内部链路小程序创建",
  22916. "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
  22917. "operationId" : "alipay.open.mini.innerapp.create",
  22918. "responses" : {
  22919. "200" : {
  22920. "description" : "common response",
  22921. "content" : {
  22922. "application/json" : {
  22923. "schema" : {
  22924. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappCreateResponseModel"
  22925. }
  22926. }
  22927. }
  22928. },
  22929. "default" : {
  22930. "description" : "请求失败",
  22931. "content" : {
  22932. "application/json" : {
  22933. "schema" : {
  22934. "anyOf" : [ {
  22935. "$ref" : "#/components/schemas/CommonErrorType"
  22936. }, {
  22937. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappCreateErrorResponseModel"
  22938. } ]
  22939. }
  22940. }
  22941. }
  22942. }
  22943. },
  22944. "requestBody" : {
  22945. "content" : {
  22946. "application/json" : {
  22947. "schema" : {
  22948. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappCreateModel"
  22949. }
  22950. }
  22951. },
  22952. "required" : false
  22953. }
  22954. }
  22955. },
  22956. "/v3/alipay/open/mini/innerapp/plugin/order" : {
  22957. "post" : {
  22958. "tags" : [ "alipay.open.mini.innerapp.plugin" ],
  22959. "summary" : "小程序代商户订购插件",
  22960. "description" : "提供给二方场景下,代商家小程序订购、授权与签约插件",
  22961. "operationId" : "alipay.open.mini.innerapp.plugin.order",
  22962. "responses" : {
  22963. "200" : {
  22964. "description" : "common response",
  22965. "content" : {
  22966. "application/json" : {
  22967. "schema" : {
  22968. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginOrderResponseModel"
  22969. }
  22970. }
  22971. }
  22972. },
  22973. "default" : {
  22974. "description" : "请求失败",
  22975. "content" : {
  22976. "application/json" : {
  22977. "schema" : {
  22978. "anyOf" : [ {
  22979. "$ref" : "#/components/schemas/CommonErrorType"
  22980. }, {
  22981. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginOrderErrorResponseModel"
  22982. } ]
  22983. }
  22984. }
  22985. }
  22986. }
  22987. },
  22988. "requestBody" : {
  22989. "content" : {
  22990. "application/json" : {
  22991. "schema" : {
  22992. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginOrderModel"
  22993. }
  22994. }
  22995. },
  22996. "required" : false
  22997. }
  22998. }
  22999. },
  23000. "/v3/alipay/open/mini/innerapp/pluginrelation/query" : {
  23001. "post" : {
  23002. "tags" : [ "alipay.open.mini.innerapp.pluginrelation" ],
  23003. "summary" : "查询插件引用关系",
  23004. "description" : "查询插件引用关系",
  23005. "operationId" : "alipay.open.mini.innerapp.pluginrelation.query",
  23006. "responses" : {
  23007. "200" : {
  23008. "description" : "common response",
  23009. "content" : {
  23010. "application/json" : {
  23011. "schema" : {
  23012. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginrelationQueryResponseModel"
  23013. }
  23014. }
  23015. }
  23016. },
  23017. "default" : {
  23018. "description" : "请求失败",
  23019. "content" : {
  23020. "application/json" : {
  23021. "schema" : {
  23022. "anyOf" : [ {
  23023. "$ref" : "#/components/schemas/CommonErrorType"
  23024. }, {
  23025. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginrelationQueryErrorResponseModel"
  23026. } ]
  23027. }
  23028. }
  23029. }
  23030. }
  23031. },
  23032. "requestBody" : {
  23033. "content" : {
  23034. "application/json" : {
  23035. "schema" : {
  23036. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginrelationQueryModel"
  23037. }
  23038. }
  23039. },
  23040. "required" : false
  23041. }
  23042. }
  23043. },
  23044. "/v3/alipay/open/mini/innerapp/pluginservice/publish" : {
  23045. "post" : {
  23046. "tags" : [ "alipay.open.mini.innerapp.pluginservice" ],
  23047. "summary" : "插件发布能力中心",
  23048. "description" : "插件发布能力中心",
  23049. "operationId" : "alipay.open.mini.innerapp.pluginservice.publish",
  23050. "responses" : {
  23051. "200" : {
  23052. "description" : "common response",
  23053. "content" : {
  23054. "application/json" : {
  23055. "schema" : {
  23056. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginservicePublishResponseModel"
  23057. }
  23058. }
  23059. }
  23060. },
  23061. "default" : {
  23062. "description" : "请求失败",
  23063. "content" : {
  23064. "application/json" : {
  23065. "schema" : {
  23066. "anyOf" : [ {
  23067. "$ref" : "#/components/schemas/CommonErrorType"
  23068. }, {
  23069. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginservicePublishErrorResponseModel"
  23070. } ]
  23071. }
  23072. }
  23073. }
  23074. }
  23075. },
  23076. "requestBody" : {
  23077. "content" : {
  23078. "application/json" : {
  23079. "schema" : {
  23080. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginservicePublishModel"
  23081. }
  23082. }
  23083. },
  23084. "required" : false
  23085. }
  23086. }
  23087. },
  23088. "/v3/alipay/open/mini/innerapp/pluginsyncmode/modify" : {
  23089. "post" : {
  23090. "tags" : [ "alipay.open.mini.innerapp.pluginsyncmode" ],
  23091. "summary" : "修改插件继承模式",
  23092. "description" : "修改插件继承模式,模板和插件使用关系是否自动继承到宿主小程序上",
  23093. "operationId" : "alipay.open.mini.innerapp.pluginsyncmode.modify",
  23094. "responses" : {
  23095. "200" : {
  23096. "description" : "common response",
  23097. "content" : {
  23098. "application/json" : {
  23099. "schema" : {
  23100. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginsyncmodeModifyResponseModel"
  23101. }
  23102. }
  23103. }
  23104. },
  23105. "default" : {
  23106. "description" : "请求失败",
  23107. "content" : {
  23108. "application/json" : {
  23109. "schema" : {
  23110. "anyOf" : [ {
  23111. "$ref" : "#/components/schemas/CommonErrorType"
  23112. }, {
  23113. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginsyncmodeModifyErrorResponseModel"
  23114. } ]
  23115. }
  23116. }
  23117. }
  23118. }
  23119. },
  23120. "requestBody" : {
  23121. "content" : {
  23122. "application/json" : {
  23123. "schema" : {
  23124. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginsyncmodeModifyModel"
  23125. }
  23126. }
  23127. },
  23128. "required" : false
  23129. }
  23130. }
  23131. },
  23132. "/v3/alipay/open/mini/innerapp/pluginuseconfig/cancel" : {
  23133. "post" : {
  23134. "tags" : [ "alipay.open.mini.innerapp.pluginuseconfig" ],
  23135. "summary" : "撤销插件端版本配置灰度",
  23136. "description" : "结束插件端版本配置灰度",
  23137. "operationId" : "alipay.open.mini.innerapp.pluginuseconfig.cancel",
  23138. "responses" : {
  23139. "200" : {
  23140. "description" : "common response",
  23141. "content" : {
  23142. "application/json" : {
  23143. "schema" : {
  23144. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigCancelResponseModel"
  23145. }
  23146. }
  23147. }
  23148. },
  23149. "default" : {
  23150. "description" : "请求失败",
  23151. "content" : {
  23152. "application/json" : {
  23153. "schema" : {
  23154. "anyOf" : [ {
  23155. "$ref" : "#/components/schemas/CommonErrorType"
  23156. }, {
  23157. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigCancelErrorResponseModel"
  23158. } ]
  23159. }
  23160. }
  23161. }
  23162. }
  23163. },
  23164. "requestBody" : {
  23165. "content" : {
  23166. "application/json" : {
  23167. "schema" : {
  23168. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigCancelModel"
  23169. }
  23170. }
  23171. },
  23172. "required" : false
  23173. }
  23174. }
  23175. },
  23176. "/v3/alipay/open/mini/innerapp/pluginuseconfig/online" : {
  23177. "post" : {
  23178. "tags" : [ "alipay.open.mini.innerapp.pluginuseconfig" ],
  23179. "summary" : "上线插件使用端版本配置",
  23180. "description" : "小程序使用插件版本全量上线",
  23181. "operationId" : "alipay.open.mini.innerapp.pluginuseconfig.online",
  23182. "responses" : {
  23183. "200" : {
  23184. "description" : "common response",
  23185. "content" : {
  23186. "application/json" : {
  23187. "schema" : {
  23188. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigOnlineResponseModel"
  23189. }
  23190. }
  23191. }
  23192. },
  23193. "default" : {
  23194. "description" : "请求失败",
  23195. "content" : {
  23196. "application/json" : {
  23197. "schema" : {
  23198. "anyOf" : [ {
  23199. "$ref" : "#/components/schemas/CommonErrorType"
  23200. }, {
  23201. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigOnlineErrorResponseModel"
  23202. } ]
  23203. }
  23204. }
  23205. }
  23206. }
  23207. },
  23208. "requestBody" : {
  23209. "content" : {
  23210. "application/json" : {
  23211. "schema" : {
  23212. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigOnlineModel"
  23213. }
  23214. }
  23215. },
  23216. "required" : false
  23217. }
  23218. }
  23219. },
  23220. "/v3/alipay/open/mini/innerapp/pluginuseconfig/upgrade" : {
  23221. "post" : {
  23222. "tags" : [ "alipay.open.mini.innerapp.pluginuseconfig" ],
  23223. "summary" : "灰度端版本配置",
  23224. "description" : "升级/降级 端版本配置",
  23225. "operationId" : "alipay.open.mini.innerapp.pluginuseconfig.upgrade",
  23226. "responses" : {
  23227. "200" : {
  23228. "description" : "common response",
  23229. "content" : {
  23230. "application/json" : {
  23231. "schema" : {
  23232. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigUpgradeResponseModel"
  23233. }
  23234. }
  23235. }
  23236. },
  23237. "default" : {
  23238. "description" : "请求失败",
  23239. "content" : {
  23240. "application/json" : {
  23241. "schema" : {
  23242. "anyOf" : [ {
  23243. "$ref" : "#/components/schemas/CommonErrorType"
  23244. }, {
  23245. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigUpgradeErrorResponseModel"
  23246. } ]
  23247. }
  23248. }
  23249. }
  23250. }
  23251. },
  23252. "requestBody" : {
  23253. "content" : {
  23254. "application/json" : {
  23255. "schema" : {
  23256. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigUpgradeModel"
  23257. }
  23258. }
  23259. },
  23260. "required" : false
  23261. }
  23262. }
  23263. },
  23264. "/v3/alipay/open/mini/innerapp/service/publish" : {
  23265. "post" : {
  23266. "tags" : [ "alipay.open.mini.innerapp.service" ],
  23267. "summary" : "小程序模板发布服务市场",
  23268. "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
  23269. "operationId" : "alipay.open.mini.innerapp.service.publish",
  23270. "responses" : {
  23271. "200" : {
  23272. "description" : "common response",
  23273. "content" : {
  23274. "application/json" : {
  23275. "schema" : {
  23276. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappServicePublishResponseModel"
  23277. }
  23278. }
  23279. }
  23280. },
  23281. "default" : {
  23282. "description" : "请求失败",
  23283. "content" : {
  23284. "application/json" : {
  23285. "schema" : {
  23286. "anyOf" : [ {
  23287. "$ref" : "#/components/schemas/CommonErrorType"
  23288. }, {
  23289. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappServicePublishErrorResponseModel"
  23290. } ]
  23291. }
  23292. }
  23293. }
  23294. }
  23295. },
  23296. "requestBody" : {
  23297. "content" : {
  23298. "application/json" : {
  23299. "schema" : {
  23300. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappServicePublishModel"
  23301. }
  23302. }
  23303. },
  23304. "required" : false
  23305. }
  23306. }
  23307. },
  23308. "/v3/alipay/open/mini/innerapp/service/query" : {
  23309. "get" : {
  23310. "tags" : [ "alipay.open.mini.innerapp.service" ],
  23311. "summary" : "小程序服务市场搜索",
  23312. "description" : "小程序服务市场搜索,包括搜索模板和插件",
  23313. "operationId" : "alipay.open.mini.innerapp.service.query",
  23314. "responses" : {
  23315. "200" : {
  23316. "description" : "common response",
  23317. "content" : {
  23318. "application/json" : {
  23319. "schema" : {
  23320. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappServiceQueryResponseModel"
  23321. }
  23322. }
  23323. }
  23324. },
  23325. "default" : {
  23326. "description" : "请求失败",
  23327. "content" : {
  23328. "application/json" : {
  23329. "schema" : {
  23330. "anyOf" : [ {
  23331. "$ref" : "#/components/schemas/CommonErrorType"
  23332. }, {
  23333. "$ref" : "#/components/schemas/AlipayOpenMiniInnerappServiceQueryErrorResponseModel"
  23334. } ]
  23335. }
  23336. }
  23337. }
  23338. }
  23339. },
  23340. "parameters" : [ {
  23341. "name" : "mini_app_id",
  23342. "in" : "query",
  23343. "description" : "插件id或模板id",
  23344. "schema" : {
  23345. "type" : "string",
  23346. "example" : "2012211102012056"
  23347. }
  23348. }, {
  23349. "name" : "app_sub_type",
  23350. "in" : "query",
  23351. "description" : "小程序应用子类型",
  23352. "schema" : {
  23353. "type" : "string",
  23354. "example" : "TINYAPP_TEMPLATE、TINYAPP_PLUGIN"
  23355. }
  23356. }, {
  23357. "name" : "show_type",
  23358. "in" : "query",
  23359. "description" : "是否在服务市场透出,SHOW展示、HIDE隐藏",
  23360. "schema" : {
  23361. "type" : "string",
  23362. "example" : "SHOW"
  23363. }
  23364. }, {
  23365. "name" : "keyword",
  23366. "in" : "query",
  23367. "description" : "关键词",
  23368. "schema" : {
  23369. "type" : "string",
  23370. "example" : "xxxx插件"
  23371. }
  23372. }, {
  23373. "name" : "page_num",
  23374. "in" : "query",
  23375. "description" : "页码,默认第一页",
  23376. "schema" : {
  23377. "type" : "string",
  23378. "example" : "1"
  23379. }
  23380. }, {
  23381. "name" : "page_size",
  23382. "in" : "query",
  23383. "description" : "分页数,默认每页10个",
  23384. "schema" : {
  23385. "type" : "string",
  23386. "example" : "10"
  23387. }
  23388. }, {
  23389. "name" : "app_origin",
  23390. "in" : "query",
  23391. "description" : "业务来源,新接入方需要向支付宝申请专用来源,否则不予接入。https://yuque.antfin-inc.com/tinyapp-all/qddncu/bidushixiang",
  23392. "schema" : {
  23393. "type" : "string",
  23394. "example" : "https://yuque.antfin-inc.com/tinyapp-all/qddncu/bidushixiang"
  23395. }
  23396. }, {
  23397. "name" : "include_offline",
  23398. "in" : "query",
  23399. "description" : "是否需要展示offline状态插件,不传默认为false(不展示)",
  23400. "schema" : {
  23401. "type" : "boolean",
  23402. "example" : "true"
  23403. }
  23404. } ]
  23405. }
  23406. },
  23407. "/v3/alipay/open/mini/innerbaseinfo/applogo/upload" : {
  23408. "post" : {
  23409. "tags" : [ "alipay.open.mini.innerbaseinfo.applogo" ],
  23410. "summary" : "内部小程序-小程序logo图片上传",
  23411. "description" : "上传小程序logo图片",
  23412. "operationId" : "alipay.open.mini.innerbaseinfo.applogo.upload",
  23413. "responses" : {
  23414. "200" : {
  23415. "description" : "common response",
  23416. "content" : {
  23417. "application/json" : {
  23418. "schema" : {
  23419. "$ref" : "#/components/schemas/AlipayOpenMiniInnerbaseinfoApplogoUploadResponseModel"
  23420. }
  23421. }
  23422. }
  23423. },
  23424. "default" : {
  23425. "description" : "请求失败",
  23426. "content" : {
  23427. "application/json" : {
  23428. "schema" : {
  23429. "anyOf" : [ {
  23430. "$ref" : "#/components/schemas/CommonErrorType"
  23431. }, {
  23432. "$ref" : "#/components/schemas/AlipayOpenMiniInnerbaseinfoApplogoUploadErrorResponseModel"
  23433. } ]
  23434. }
  23435. }
  23436. }
  23437. }
  23438. },
  23439. "requestBody" : {
  23440. "content" : {
  23441. "multipart/form-data" : {
  23442. "schema" : {
  23443. "type" : "object",
  23444. "properties" : {
  23445. "app_logo" : {
  23446. "type" : "string",
  23447. "format" : "binary"
  23448. }
  23449. }
  23450. },
  23451. "encoding" : {
  23452. "app_logo" : {
  23453. "contentType" : "*/*"
  23454. }
  23455. }
  23456. }
  23457. },
  23458. "required" : false
  23459. }
  23460. }
  23461. },
  23462. "/v3/alipay/open/mini/innerbaseinfo/query" : {
  23463. "get" : {
  23464. "tags" : [ "alipay.open.mini.innerbaseinfo" ],
  23465. "summary" : "内部小程序-应用信息查询",
  23466. "description" : "查询小程序应用信息",
  23467. "operationId" : "alipay.open.mini.innerbaseinfo.query",
  23468. "responses" : {
  23469. "200" : {
  23470. "description" : "common response",
  23471. "content" : {
  23472. "application/json" : {
  23473. "schema" : {
  23474. "$ref" : "#/components/schemas/AlipayOpenMiniInnerbaseinfoQueryResponseModel"
  23475. }
  23476. }
  23477. }
  23478. },
  23479. "default" : {
  23480. "description" : "请求失败",
  23481. "content" : {
  23482. "application/json" : {
  23483. "schema" : {
  23484. "anyOf" : [ {
  23485. "$ref" : "#/components/schemas/CommonErrorType"
  23486. }, {
  23487. "$ref" : "#/components/schemas/AlipayOpenMiniInnerbaseinfoQueryErrorResponseModel"
  23488. } ]
  23489. }
  23490. }
  23491. }
  23492. }
  23493. },
  23494. "parameters" : [ {
  23495. "name" : "mini_app_id",
  23496. "in" : "query",
  23497. "description" : "小程序ID,mini_app_id 和 mini_app_name 两个需要有其中一个必填,当填了mini_app_id时只使用id去进行查询。",
  23498. "schema" : {
  23499. "type" : "string",
  23500. "example" : "2014060600164699"
  23501. }
  23502. }, {
  23503. "name" : "inst_code",
  23504. "in" : "query",
  23505. "description" : "租户code,alipay or taobao",
  23506. "schema" : {
  23507. "type" : "string",
  23508. "example" : "taobao"
  23509. }
  23510. }, {
  23511. "name" : "mini_app_name",
  23512. "in" : "query",
  23513. "description" : "小程序name,mini_app_id 和 mini_app_name 两个需要有其中一个必填,当填了mini_app_id时只使用id去进行查询。",
  23514. "schema" : {
  23515. "type" : "string",
  23516. "example" : "test"
  23517. }
  23518. }, {
  23519. "name" : "app_sub_type",
  23520. "in" : "query",
  23521. "description" : "小程序类型,TINYAPP_TEMPLATE,TINYAPP_NORMAL,TINYAPP_PLUGIN,使用mini_app_name查询的时候,该字段要求必传。",
  23522. "schema" : {
  23523. "type" : "string",
  23524. "example" : "TINYAPP_TEMPLATE"
  23525. }
  23526. } ]
  23527. }
  23528. },
  23529. "/v3/alipay/open/mini/innerversion/audit/cancel" : {
  23530. "post" : {
  23531. "tags" : [ "alipay.open.mini.innerversion.audit" ],
  23532. "summary" : "内部链路撤销审核",
  23533. "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
  23534. "operationId" : "alipay.open.mini.innerversion.audit.cancel",
  23535. "responses" : {
  23536. "200" : {
  23537. "description" : "common response",
  23538. "content" : {
  23539. "application/json" : {
  23540. "schema" : {
  23541. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionAuditCancelResponseModel"
  23542. }
  23543. }
  23544. }
  23545. },
  23546. "default" : {
  23547. "description" : "请求失败",
  23548. "content" : {
  23549. "application/json" : {
  23550. "schema" : {
  23551. "anyOf" : [ {
  23552. "$ref" : "#/components/schemas/CommonErrorType"
  23553. }, {
  23554. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionAuditCancelErrorResponseModel"
  23555. } ]
  23556. }
  23557. }
  23558. }
  23559. }
  23560. },
  23561. "requestBody" : {
  23562. "content" : {
  23563. "application/json" : {
  23564. "schema" : {
  23565. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionAuditCancelModel"
  23566. }
  23567. }
  23568. },
  23569. "required" : false
  23570. }
  23571. }
  23572. },
  23573. "/v3/alipay/open/mini/innerversion/audit/submit" : {
  23574. "post" : {
  23575. "tags" : [ "alipay.open.mini.innerversion.audit" ],
  23576. "summary" : "小程序版本提交审核",
  23577. "description" : "小程序版本提交审核,审核申请完结后会通过From蚂蚁消息通知到开发者。",
  23578. "operationId" : "alipay.open.mini.innerversion.audit.submit",
  23579. "responses" : {
  23580. "200" : {
  23581. "description" : "common response",
  23582. "content" : {
  23583. "application/json" : {
  23584. "schema" : {
  23585. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionAuditSubmitResponseModel"
  23586. }
  23587. }
  23588. }
  23589. },
  23590. "default" : {
  23591. "description" : "请求失败",
  23592. "content" : {
  23593. "application/json" : {
  23594. "schema" : {
  23595. "anyOf" : [ {
  23596. "$ref" : "#/components/schemas/CommonErrorType"
  23597. }, {
  23598. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionAuditSubmitErrorResponseModel"
  23599. } ]
  23600. }
  23601. }
  23602. }
  23603. }
  23604. },
  23605. "requestBody" : {
  23606. "content" : {
  23607. "application/json" : {
  23608. "schema" : {
  23609. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionAuditSubmitModel"
  23610. }
  23611. }
  23612. },
  23613. "required" : false
  23614. }
  23615. }
  23616. },
  23617. "/v3/alipay/open/mini/innerversion/backdev/publish" : {
  23618. "post" : {
  23619. "tags" : [ "alipay.open.mini.innerversion.backdev" ],
  23620. "summary" : "内部链路小程序退回开发",
  23621. "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
  23622. "operationId" : "alipay.open.mini.innerversion.backdev.publish",
  23623. "responses" : {
  23624. "200" : {
  23625. "description" : "common response",
  23626. "content" : {
  23627. "application/json" : {
  23628. "schema" : {
  23629. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBackdevPublishResponseModel"
  23630. }
  23631. }
  23632. }
  23633. },
  23634. "default" : {
  23635. "description" : "请求失败",
  23636. "content" : {
  23637. "application/json" : {
  23638. "schema" : {
  23639. "anyOf" : [ {
  23640. "$ref" : "#/components/schemas/CommonErrorType"
  23641. }, {
  23642. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBackdevPublishErrorResponseModel"
  23643. } ]
  23644. }
  23645. }
  23646. }
  23647. }
  23648. },
  23649. "requestBody" : {
  23650. "content" : {
  23651. "application/json" : {
  23652. "schema" : {
  23653. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBackdevPublishModel"
  23654. }
  23655. }
  23656. },
  23657. "required" : false
  23658. }
  23659. }
  23660. },
  23661. "/v3/alipay/open/mini/innerversion/beta/confirm" : {
  23662. "post" : {
  23663. "tags" : [ "alipay.open.mini.innerversion.beta" ],
  23664. "summary" : "确认邀测结果",
  23665. "description" : "小程序确认邀测结果",
  23666. "operationId" : "alipay.open.mini.innerversion.beta.confirm",
  23667. "responses" : {
  23668. "200" : {
  23669. "description" : "common response",
  23670. "content" : {
  23671. "application/json" : {
  23672. "schema" : {
  23673. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBetaConfirmResponseModel"
  23674. }
  23675. }
  23676. }
  23677. },
  23678. "default" : {
  23679. "description" : "请求失败",
  23680. "content" : {
  23681. "application/json" : {
  23682. "schema" : {
  23683. "anyOf" : [ {
  23684. "$ref" : "#/components/schemas/CommonErrorType"
  23685. }, {
  23686. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBetaConfirmErrorResponseModel"
  23687. } ]
  23688. }
  23689. }
  23690. }
  23691. }
  23692. },
  23693. "requestBody" : {
  23694. "content" : {
  23695. "application/json" : {
  23696. "schema" : {
  23697. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBetaConfirmModel"
  23698. }
  23699. }
  23700. },
  23701. "required" : false
  23702. }
  23703. }
  23704. },
  23705. "/v3/alipay/open/mini/innerversion/betainfo/query" : {
  23706. "get" : {
  23707. "tags" : [ "alipay.open.mini.innerversion.betainfo" ],
  23708. "summary" : "查看可邀测状态接口",
  23709. "description" : "查看插件可邀测版本状态,邀测结果",
  23710. "operationId" : "alipay.open.mini.innerversion.betainfo.query",
  23711. "responses" : {
  23712. "200" : {
  23713. "description" : "common response",
  23714. "content" : {
  23715. "application/json" : {
  23716. "schema" : {
  23717. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBetainfoQueryResponseModel"
  23718. }
  23719. }
  23720. }
  23721. },
  23722. "default" : {
  23723. "description" : "请求失败",
  23724. "content" : {
  23725. "application/json" : {
  23726. "schema" : {
  23727. "anyOf" : [ {
  23728. "$ref" : "#/components/schemas/CommonErrorType"
  23729. }, {
  23730. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBetainfoQueryErrorResponseModel"
  23731. } ]
  23732. }
  23733. }
  23734. }
  23735. }
  23736. },
  23737. "parameters" : [ {
  23738. "name" : "plugin_id",
  23739. "in" : "query",
  23740. "description" : "插件ID",
  23741. "schema" : {
  23742. "type" : "string",
  23743. "example" : "2021xxxx"
  23744. }
  23745. }, {
  23746. "name" : "bundle_id",
  23747. "in" : "query",
  23748. "description" : "端信息",
  23749. "schema" : {
  23750. "type" : "string",
  23751. "example" : "com.alipay.alipaywallet"
  23752. }
  23753. }, {
  23754. "name" : "plugin_version",
  23755. "in" : "query",
  23756. "description" : "查询版本号",
  23757. "schema" : {
  23758. "type" : "string",
  23759. "example" : "0.0.1"
  23760. }
  23761. }, {
  23762. "name" : "app_origin",
  23763. "in" : "query",
  23764. "description" : "业务来源",
  23765. "schema" : {
  23766. "type" : "string",
  23767. "example" : "ASTORE"
  23768. }
  23769. } ]
  23770. }
  23771. },
  23772. "/v3/alipay/open/mini/innerversion/buildaudit/submit" : {
  23773. "post" : {
  23774. "tags" : [ "alipay.open.mini.innerversion.buildaudit" ],
  23775. "summary" : "内部链路小程序构建并提审",
  23776. "description" : "内部链路小程序构建并提审",
  23777. "operationId" : "alipay.open.mini.innerversion.buildaudit.submit",
  23778. "responses" : {
  23779. "200" : {
  23780. "description" : "common response",
  23781. "content" : {
  23782. "application/json" : {
  23783. "schema" : {
  23784. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBuildauditSubmitResponseModel"
  23785. }
  23786. }
  23787. }
  23788. },
  23789. "default" : {
  23790. "description" : "请求失败",
  23791. "content" : {
  23792. "application/json" : {
  23793. "schema" : {
  23794. "anyOf" : [ {
  23795. "$ref" : "#/components/schemas/CommonErrorType"
  23796. }, {
  23797. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBuildauditSubmitErrorResponseModel"
  23798. } ]
  23799. }
  23800. }
  23801. }
  23802. }
  23803. },
  23804. "requestBody" : {
  23805. "content" : {
  23806. "application/json" : {
  23807. "schema" : {
  23808. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBuildauditSubmitModel"
  23809. }
  23810. }
  23811. },
  23812. "required" : false
  23813. }
  23814. }
  23815. },
  23816. "/v3/alipay/open/mini/innerversion/condition/batchquery" : {
  23817. "post" : {
  23818. "tags" : [ "alipay.open.mini.innerversion.condition" ],
  23819. "summary" : "根据状态批量查询版本信息",
  23820. "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
  23821. "operationId" : "alipay.open.mini.innerversion.condition.batchquery",
  23822. "responses" : {
  23823. "200" : {
  23824. "description" : "common response",
  23825. "content" : {
  23826. "application/json" : {
  23827. "schema" : {
  23828. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionConditionBatchqueryResponseModel"
  23829. }
  23830. }
  23831. }
  23832. },
  23833. "default" : {
  23834. "description" : "请求失败",
  23835. "content" : {
  23836. "application/json" : {
  23837. "schema" : {
  23838. "anyOf" : [ {
  23839. "$ref" : "#/components/schemas/CommonErrorType"
  23840. }, {
  23841. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionConditionBatchqueryErrorResponseModel"
  23842. } ]
  23843. }
  23844. }
  23845. }
  23846. }
  23847. },
  23848. "requestBody" : {
  23849. "content" : {
  23850. "application/json" : {
  23851. "schema" : {
  23852. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionConditionBatchqueryModel"
  23853. }
  23854. }
  23855. },
  23856. "required" : false
  23857. }
  23858. }
  23859. },
  23860. "/v3/alipay/open/mini/innerversion/content/rollback" : {
  23861. "post" : {
  23862. "tags" : [ "alipay.open.mini.innerversion.content" ],
  23863. "summary" : "内部链路回滚版本",
  23864. "description" : "针对一二方场景的开发者,小程序提供一套统一的内部能力体系,定向输出赋能,本接口主要用于回滚版本\n",
  23865. "operationId" : "alipay.open.mini.innerversion.content.rollback",
  23866. "responses" : {
  23867. "200" : {
  23868. "description" : "common response",
  23869. "content" : {
  23870. "application/json" : {
  23871. "schema" : {
  23872. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionContentRollbackResponseModel"
  23873. }
  23874. }
  23875. }
  23876. },
  23877. "default" : {
  23878. "description" : "请求失败",
  23879. "content" : {
  23880. "application/json" : {
  23881. "schema" : {
  23882. "anyOf" : [ {
  23883. "$ref" : "#/components/schemas/CommonErrorType"
  23884. }, {
  23885. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionContentRollbackErrorResponseModel"
  23886. } ]
  23887. }
  23888. }
  23889. }
  23890. }
  23891. },
  23892. "requestBody" : {
  23893. "content" : {
  23894. "application/json" : {
  23895. "schema" : {
  23896. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionContentRollbackModel"
  23897. }
  23898. }
  23899. },
  23900. "required" : false
  23901. }
  23902. }
  23903. },
  23904. "/v3/alipay/open/mini/innerversion/gray/finish" : {
  23905. "post" : {
  23906. "tags" : [ "alipay.open.mini.innerversion.gray" ],
  23907. "summary" : "内部链路结束灰度",
  23908. "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
  23909. "operationId" : "alipay.open.mini.innerversion.gray.finish",
  23910. "responses" : {
  23911. "200" : {
  23912. "description" : "common response",
  23913. "content" : {
  23914. "application/json" : {
  23915. "schema" : {
  23916. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionGrayFinishResponseModel"
  23917. }
  23918. }
  23919. }
  23920. },
  23921. "default" : {
  23922. "description" : "请求失败",
  23923. "content" : {
  23924. "application/json" : {
  23925. "schema" : {
  23926. "anyOf" : [ {
  23927. "$ref" : "#/components/schemas/CommonErrorType"
  23928. }, {
  23929. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionGrayFinishErrorResponseModel"
  23930. } ]
  23931. }
  23932. }
  23933. }
  23934. }
  23935. },
  23936. "requestBody" : {
  23937. "content" : {
  23938. "application/json" : {
  23939. "schema" : {
  23940. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionGrayFinishModel"
  23941. }
  23942. }
  23943. },
  23944. "required" : false
  23945. }
  23946. }
  23947. },
  23948. "/v3/alipay/open/mini/innerversion/gray/publish" : {
  23949. "post" : {
  23950. "tags" : [ "alipay.open.mini.innerversion.gray" ],
  23951. "summary" : "内部链路小程序灰度上架",
  23952. "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
  23953. "operationId" : "alipay.open.mini.innerversion.gray.publish",
  23954. "responses" : {
  23955. "200" : {
  23956. "description" : "common response",
  23957. "content" : {
  23958. "application/json" : {
  23959. "schema" : {
  23960. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionGrayPublishResponseModel"
  23961. }
  23962. }
  23963. }
  23964. },
  23965. "default" : {
  23966. "description" : "请求失败",
  23967. "content" : {
  23968. "application/json" : {
  23969. "schema" : {
  23970. "anyOf" : [ {
  23971. "$ref" : "#/components/schemas/CommonErrorType"
  23972. }, {
  23973. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionGrayPublishErrorResponseModel"
  23974. } ]
  23975. }
  23976. }
  23977. }
  23978. }
  23979. },
  23980. "requestBody" : {
  23981. "content" : {
  23982. "application/json" : {
  23983. "schema" : {
  23984. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionGrayPublishModel"
  23985. }
  23986. }
  23987. },
  23988. "required" : false
  23989. }
  23990. }
  23991. },
  23992. "/v3/alipay/open/mini/innerversion/info/delete" : {
  23993. "delete" : {
  23994. "tags" : [ "alipay.open.mini.innerversion.info" ],
  23995. "summary" : "内部链路删除版本",
  23996. "description" : "针对一二方场景的开发者,小程序提供一套统一的内部能力体系,定向输出赋能,本接口主要用于删除版本",
  23997. "operationId" : "alipay.open.mini.innerversion.info.delete",
  23998. "responses" : {
  23999. "200" : {
  24000. "description" : "common response",
  24001. "content" : {
  24002. "application/json" : {
  24003. "schema" : {
  24004. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionInfoDeleteResponseModel"
  24005. }
  24006. }
  24007. }
  24008. },
  24009. "default" : {
  24010. "description" : "请求失败",
  24011. "content" : {
  24012. "application/json" : {
  24013. "schema" : {
  24014. "anyOf" : [ {
  24015. "$ref" : "#/components/schemas/CommonErrorType"
  24016. }, {
  24017. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionInfoDeleteErrorResponseModel"
  24018. } ]
  24019. }
  24020. }
  24021. }
  24022. }
  24023. },
  24024. "parameters" : [ {
  24025. "name" : "mini_app_id",
  24026. "in" : "query",
  24027. "description" : "小程序ID",
  24028. "schema" : {
  24029. "type" : "string",
  24030. "example" : "2018********"
  24031. }
  24032. }, {
  24033. "name" : "app_origin",
  24034. "in" : "query",
  24035. "description" : "业务场景来源",
  24036. "schema" : {
  24037. "type" : "string",
  24038. "example" : "ASTORE"
  24039. }
  24040. }, {
  24041. "name" : "bundle_id",
  24042. "in" : "query",
  24043. "description" : "端信息",
  24044. "schema" : {
  24045. "type" : "string",
  24046. "example" : "com.alipay.alipaywallet"
  24047. }
  24048. }, {
  24049. "name" : "app_version",
  24050. "in" : "query",
  24051. "description" : "小程序版本号",
  24052. "schema" : {
  24053. "type" : "string",
  24054. "example" : "0.0.1"
  24055. }
  24056. }, {
  24057. "name" : "pid",
  24058. "in" : "query",
  24059. "description" : "操作者ID,支付宝租户必填",
  24060. "schema" : {
  24061. "type" : "string",
  24062. "example" : "2088*******"
  24063. }
  24064. }, {
  24065. "name" : "inst_code",
  24066. "in" : "query",
  24067. "description" : "租户信息",
  24068. "schema" : {
  24069. "type" : "string",
  24070. "example" : "alipay"
  24071. }
  24072. } ]
  24073. }
  24074. },
  24075. "/v3/alipay/open/mini/innerversion/info/query" : {
  24076. "get" : {
  24077. "tags" : [ "alipay.open.mini.innerversion.info" ],
  24078. "summary" : "内部链路小程序版本信息查询",
  24079. "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
  24080. "operationId" : "alipay.open.mini.innerversion.info.query",
  24081. "responses" : {
  24082. "200" : {
  24083. "description" : "common response",
  24084. "content" : {
  24085. "application/json" : {
  24086. "schema" : {
  24087. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionInfoQueryResponseModel"
  24088. }
  24089. }
  24090. }
  24091. },
  24092. "default" : {
  24093. "description" : "请求失败",
  24094. "content" : {
  24095. "application/json" : {
  24096. "schema" : {
  24097. "anyOf" : [ {
  24098. "$ref" : "#/components/schemas/CommonErrorType"
  24099. }, {
  24100. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionInfoQueryErrorResponseModel"
  24101. } ]
  24102. }
  24103. }
  24104. }
  24105. }
  24106. },
  24107. "parameters" : [ {
  24108. "name" : "bundle_id",
  24109. "in" : "query",
  24110. "description" : "端信息",
  24111. "schema" : {
  24112. "type" : "string",
  24113. "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
  24114. }
  24115. }, {
  24116. "name" : "mini_app_id",
  24117. "in" : "query",
  24118. "description" : "小程序ID",
  24119. "schema" : {
  24120. "type" : "string",
  24121. "example" : "2019****"
  24122. }
  24123. }, {
  24124. "name" : "app_version",
  24125. "in" : "query",
  24126. "description" : "查询版本号",
  24127. "schema" : {
  24128. "type" : "string",
  24129. "example" : "0.0.1"
  24130. }
  24131. }, {
  24132. "name" : "app_origin",
  24133. "in" : "query",
  24134. "description" : "业务来源,新接入方需要向支付宝申请专用来源,否则不予接入。https://yuque.antfin-inc.com/tinyapp-all/qddncu/bidushixiang",
  24135. "schema" : {
  24136. "type" : "string",
  24137. "example" : "https://yuque.antfin-inc.com/tinyapp-all/qddncu/bidushixiang"
  24138. }
  24139. } ]
  24140. }
  24141. },
  24142. "/v3/alipay/open/mini/innerversion/instantiation/query" : {
  24143. "get" : {
  24144. "tags" : [ "alipay.open.mini.innerversion.instantiation" ],
  24145. "summary" : "小程序实例化关系查询",
  24146. "description" : "用于通过模板实例化的小程序版本查询实例化关系",
  24147. "operationId" : "alipay.open.mini.innerversion.instantiation.query",
  24148. "responses" : {
  24149. "200" : {
  24150. "description" : "common response",
  24151. "content" : {
  24152. "application/json" : {
  24153. "schema" : {
  24154. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionInstantiationQueryResponseModel"
  24155. }
  24156. }
  24157. }
  24158. },
  24159. "default" : {
  24160. "description" : "请求失败",
  24161. "content" : {
  24162. "application/json" : {
  24163. "schema" : {
  24164. "anyOf" : [ {
  24165. "$ref" : "#/components/schemas/CommonErrorType"
  24166. }, {
  24167. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionInstantiationQueryErrorResponseModel"
  24168. } ]
  24169. }
  24170. }
  24171. }
  24172. }
  24173. },
  24174. "parameters" : [ {
  24175. "name" : "app_origin",
  24176. "in" : "query",
  24177. "description" : "来源类型,新接入方需要向支付宝申请专用来源,否则不予接入,申请方式请参见接入手册。",
  24178. "schema" : {
  24179. "type" : "string",
  24180. "example" : "AAA"
  24181. }
  24182. }, {
  24183. "name" : "bundle_id",
  24184. "in" : "query",
  24185. "description" : "端id",
  24186. "schema" : {
  24187. "type" : "string",
  24188. "example" : "com.alipay.alipaywallet"
  24189. }
  24190. }, {
  24191. "name" : "mini_app_id",
  24192. "in" : "query",
  24193. "description" : "小程序ID,特殊场景专用,普通业务方无需关注该参数。",
  24194. "schema" : {
  24195. "type" : "string",
  24196. "example" : "2021000116680014"
  24197. }
  24198. }, {
  24199. "name" : "app_version",
  24200. "in" : "query",
  24201. "description" : "实例化小程序版本号",
  24202. "schema" : {
  24203. "type" : "string",
  24204. "example" : "0.0.1"
  24205. }
  24206. } ]
  24207. }
  24208. },
  24209. "/v3/alipay/open/mini/innerversion/last/query" : {
  24210. "get" : {
  24211. "tags" : [ "alipay.open.mini.innerversion.last" ],
  24212. "summary" : "内部链路查询最新版本号",
  24213. "description" : "针对一二方场景的开发者,小程序提供一套统一的内部能力体系,定向输出赋能,本接口主要用于查询最新版本号\n",
  24214. "operationId" : "alipay.open.mini.innerversion.last.query",
  24215. "responses" : {
  24216. "200" : {
  24217. "description" : "common response",
  24218. "content" : {
  24219. "application/json" : {
  24220. "schema" : {
  24221. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionLastQueryResponseModel"
  24222. }
  24223. }
  24224. }
  24225. },
  24226. "default" : {
  24227. "description" : "请求失败",
  24228. "content" : {
  24229. "application/json" : {
  24230. "schema" : {
  24231. "anyOf" : [ {
  24232. "$ref" : "#/components/schemas/CommonErrorType"
  24233. }, {
  24234. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionLastQueryErrorResponseModel"
  24235. } ]
  24236. }
  24237. }
  24238. }
  24239. }
  24240. },
  24241. "parameters" : [ {
  24242. "name" : "mini_app_id",
  24243. "in" : "query",
  24244. "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。",
  24245. "schema" : {
  24246. "type" : "string",
  24247. "example" : "2018********"
  24248. }
  24249. }, {
  24250. "name" : "bundle_id",
  24251. "in" : "query",
  24252. "description" : "端信息",
  24253. "schema" : {
  24254. "type" : "string",
  24255. "example" : "com.alipay.alipaywallet"
  24256. }
  24257. }, {
  24258. "name" : "app_origin",
  24259. "in" : "query",
  24260. "description" : "业务来源场景",
  24261. "schema" : {
  24262. "type" : "string",
  24263. "example" : "AAA"
  24264. }
  24265. }, {
  24266. "name" : "pid",
  24267. "in" : "query",
  24268. "description" : "小程序主体",
  24269. "schema" : {
  24270. "type" : "string",
  24271. "example" : "2088*******"
  24272. }
  24273. } ]
  24274. }
  24275. },
  24276. "/v3/alipay/open/mini/innerversion/modelforoffline/query" : {
  24277. "get" : {
  24278. "tags" : [ "alipay.open.mini.innerversion.modelforoffline" ],
  24279. "summary" : "小程序线上版本包数据同步线下场景查询",
  24280. "description" : "用于查询线上的版本包数据,同步到线下",
  24281. "operationId" : "alipay.open.mini.innerversion.modelforoffline.query",
  24282. "responses" : {
  24283. "200" : {
  24284. "description" : "common response",
  24285. "content" : {
  24286. "application/json" : {
  24287. "schema" : {
  24288. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionModelforofflineQueryResponseModel"
  24289. }
  24290. }
  24291. }
  24292. },
  24293. "default" : {
  24294. "description" : "请求失败",
  24295. "content" : {
  24296. "application/json" : {
  24297. "schema" : {
  24298. "anyOf" : [ {
  24299. "$ref" : "#/components/schemas/CommonErrorType"
  24300. }, {
  24301. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionModelforofflineQueryErrorResponseModel"
  24302. } ]
  24303. }
  24304. }
  24305. }
  24306. }
  24307. },
  24308. "parameters" : [ {
  24309. "name" : "mini_app_id",
  24310. "in" : "query",
  24311. "description" : "小程序ID",
  24312. "schema" : {
  24313. "type" : "string",
  24314. "example" : "2018********"
  24315. }
  24316. }, {
  24317. "name" : "app_version",
  24318. "in" : "query",
  24319. "description" : "版本号",
  24320. "schema" : {
  24321. "type" : "string",
  24322. "example" : "0.0.1"
  24323. }
  24324. }, {
  24325. "name" : "bundle_id",
  24326. "in" : "query",
  24327. "description" : "com.alipay.alipaywallet:支付包",
  24328. "schema" : {
  24329. "type" : "string",
  24330. "example" : "com.alipay.alipaywallet"
  24331. }
  24332. }, {
  24333. "name" : "inst_code",
  24334. "in" : "query",
  24335. "description" : "alipay:支付宝",
  24336. "schema" : {
  24337. "type" : "string",
  24338. "example" : "alipay"
  24339. }
  24340. } ]
  24341. }
  24342. },
  24343. "/v3/alipay/open/mini/innerversion/nobuild/upload" : {
  24344. "post" : {
  24345. "tags" : [ "alipay.open.mini.innerversion.nobuild" ],
  24346. "summary" : "手淘小程序产物包免构建版本上传",
  24347. "description" : "手淘小程序产物包免构建版本上传",
  24348. "operationId" : "alipay.open.mini.innerversion.nobuild.upload",
  24349. "responses" : {
  24350. "200" : {
  24351. "description" : "common response",
  24352. "content" : {
  24353. "application/json" : {
  24354. "schema" : {
  24355. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionNobuildUploadResponseModel"
  24356. }
  24357. }
  24358. }
  24359. },
  24360. "default" : {
  24361. "description" : "请求失败",
  24362. "content" : {
  24363. "application/json" : {
  24364. "schema" : {
  24365. "anyOf" : [ {
  24366. "$ref" : "#/components/schemas/CommonErrorType"
  24367. }, {
  24368. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionNobuildUploadErrorResponseModel"
  24369. } ]
  24370. }
  24371. }
  24372. }
  24373. }
  24374. },
  24375. "requestBody" : {
  24376. "content" : {
  24377. "application/json" : {
  24378. "schema" : {
  24379. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionNobuildUploadModel"
  24380. }
  24381. }
  24382. },
  24383. "required" : false
  24384. }
  24385. }
  24386. },
  24387. "/v3/alipay/open/mini/innerversion/offline/publish" : {
  24388. "post" : {
  24389. "tags" : [ "alipay.open.mini.innerversion.offline" ],
  24390. "summary" : "内部链路小程序下架",
  24391. "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
  24392. "operationId" : "alipay.open.mini.innerversion.offline.publish",
  24393. "responses" : {
  24394. "200" : {
  24395. "description" : "common response",
  24396. "content" : {
  24397. "application/json" : {
  24398. "schema" : {
  24399. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOfflinePublishResponseModel"
  24400. }
  24401. }
  24402. }
  24403. },
  24404. "default" : {
  24405. "description" : "请求失败",
  24406. "content" : {
  24407. "application/json" : {
  24408. "schema" : {
  24409. "anyOf" : [ {
  24410. "$ref" : "#/components/schemas/CommonErrorType"
  24411. }, {
  24412. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOfflinePublishErrorResponseModel"
  24413. } ]
  24414. }
  24415. }
  24416. }
  24417. }
  24418. },
  24419. "requestBody" : {
  24420. "content" : {
  24421. "application/json" : {
  24422. "schema" : {
  24423. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOfflinePublishModel"
  24424. }
  24425. }
  24426. },
  24427. "required" : false
  24428. }
  24429. }
  24430. },
  24431. "/v3/alipay/open/mini/innerversion/online" : {
  24432. "post" : {
  24433. "tags" : [ "alipay.open.mini.innerversion" ],
  24434. "summary" : "内部小程序-上架",
  24435. "description" : "内部小程序上架接口",
  24436. "operationId" : "alipay.open.mini.innerversion.online",
  24437. "responses" : {
  24438. "200" : {
  24439. "description" : "common response",
  24440. "content" : {
  24441. "application/json" : {
  24442. "schema" : {
  24443. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOnlineResponseModel"
  24444. }
  24445. }
  24446. }
  24447. },
  24448. "default" : {
  24449. "description" : "请求失败",
  24450. "content" : {
  24451. "application/json" : {
  24452. "schema" : {
  24453. "anyOf" : [ {
  24454. "$ref" : "#/components/schemas/CommonErrorType"
  24455. }, {
  24456. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOnlineErrorResponseModel"
  24457. } ]
  24458. }
  24459. }
  24460. }
  24461. }
  24462. },
  24463. "requestBody" : {
  24464. "content" : {
  24465. "application/json" : {
  24466. "schema" : {
  24467. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOnlineModel"
  24468. }
  24469. }
  24470. },
  24471. "required" : false
  24472. }
  24473. }
  24474. },
  24475. "/v3/alipay/open/mini/innerversion/online/publish" : {
  24476. "post" : {
  24477. "tags" : [ "alipay.open.mini.innerversion.online" ],
  24478. "summary" : "内部链路小程序上架",
  24479. "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
  24480. "operationId" : "alipay.open.mini.innerversion.online.publish",
  24481. "responses" : {
  24482. "200" : {
  24483. "description" : "common response",
  24484. "content" : {
  24485. "application/json" : {
  24486. "schema" : {
  24487. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOnlinePublishResponseModel"
  24488. }
  24489. }
  24490. }
  24491. },
  24492. "default" : {
  24493. "description" : "请求失败",
  24494. "content" : {
  24495. "application/json" : {
  24496. "schema" : {
  24497. "anyOf" : [ {
  24498. "$ref" : "#/components/schemas/CommonErrorType"
  24499. }, {
  24500. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOnlinePublishErrorResponseModel"
  24501. } ]
  24502. }
  24503. }
  24504. }
  24505. }
  24506. },
  24507. "requestBody" : {
  24508. "content" : {
  24509. "application/json" : {
  24510. "schema" : {
  24511. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOnlinePublishModel"
  24512. }
  24513. }
  24514. },
  24515. "required" : false
  24516. }
  24517. }
  24518. },
  24519. "/v3/alipay/open/mini/innerversion/package/create" : {
  24520. "post" : {
  24521. "tags" : [ "alipay.open.mini.innerversion.package" ],
  24522. "summary" : "单独构建包信息",
  24523. "description" : "内部OPENAPI 单独构建包信息。将构建链路中打预发包逻辑抽离出来,成为单独的能力,让伙伴等业务自己来调用",
  24524. "operationId" : "alipay.open.mini.innerversion.package.create",
  24525. "responses" : {
  24526. "200" : {
  24527. "description" : "common response",
  24528. "content" : {
  24529. "application/json" : {
  24530. "schema" : {
  24531. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionPackageCreateResponseModel"
  24532. }
  24533. }
  24534. }
  24535. },
  24536. "default" : {
  24537. "description" : "请求失败",
  24538. "content" : {
  24539. "application/json" : {
  24540. "schema" : {
  24541. "anyOf" : [ {
  24542. "$ref" : "#/components/schemas/CommonErrorType"
  24543. }, {
  24544. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionPackageCreateErrorResponseModel"
  24545. } ]
  24546. }
  24547. }
  24548. }
  24549. }
  24550. },
  24551. "requestBody" : {
  24552. "content" : {
  24553. "application/json" : {
  24554. "schema" : {
  24555. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionPackageCreateModel"
  24556. }
  24557. }
  24558. },
  24559. "required" : false
  24560. }
  24561. }
  24562. },
  24563. "/v3/alipay/open/mini/innerversion/sync" : {
  24564. "post" : {
  24565. "tags" : [ "alipay.open.mini.innerversion" ],
  24566. "summary" : "小程序包信息推送",
  24567. "description" : "小程序上架、回滚,因拉包机制,用户无法及时生效,拉到原版本的用户,过期才会失效,该接口能力可以推送新版本到用户",
  24568. "operationId" : "alipay.open.mini.innerversion.sync",
  24569. "responses" : {
  24570. "200" : {
  24571. "description" : "common response",
  24572. "content" : {
  24573. "application/json" : {
  24574. "schema" : {
  24575. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionSyncResponseModel"
  24576. }
  24577. }
  24578. }
  24579. },
  24580. "default" : {
  24581. "description" : "请求失败",
  24582. "content" : {
  24583. "application/json" : {
  24584. "schema" : {
  24585. "anyOf" : [ {
  24586. "$ref" : "#/components/schemas/CommonErrorType"
  24587. }, {
  24588. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionSyncErrorResponseModel"
  24589. } ]
  24590. }
  24591. }
  24592. }
  24593. }
  24594. },
  24595. "requestBody" : {
  24596. "content" : {
  24597. "application/json" : {
  24598. "schema" : {
  24599. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionSyncModel"
  24600. }
  24601. }
  24602. },
  24603. "required" : false
  24604. }
  24605. }
  24606. },
  24607. "/v3/alipay/open/mini/innerversion/templated/upload" : {
  24608. "post" : {
  24609. "tags" : [ "alipay.open.mini.innerversion.templated" ],
  24610. "summary" : "基于模板构建版本",
  24611. "description" : "基于模板构建实例化小程序,同步接口,调用成功表示创建版本成功",
  24612. "operationId" : "alipay.open.mini.innerversion.templated.upload",
  24613. "responses" : {
  24614. "200" : {
  24615. "description" : "common response",
  24616. "content" : {
  24617. "application/json" : {
  24618. "schema" : {
  24619. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionTemplatedUploadResponseModel"
  24620. }
  24621. }
  24622. }
  24623. },
  24624. "default" : {
  24625. "description" : "请求失败",
  24626. "content" : {
  24627. "application/json" : {
  24628. "schema" : {
  24629. "anyOf" : [ {
  24630. "$ref" : "#/components/schemas/CommonErrorType"
  24631. }, {
  24632. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionTemplatedUploadErrorResponseModel"
  24633. } ]
  24634. }
  24635. }
  24636. }
  24637. }
  24638. },
  24639. "requestBody" : {
  24640. "content" : {
  24641. "application/json" : {
  24642. "schema" : {
  24643. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionTemplatedUploadModel"
  24644. }
  24645. }
  24646. },
  24647. "required" : false
  24648. }
  24649. }
  24650. },
  24651. "/v3/alipay/open/mini/innerversion/upgrade" : {
  24652. "post" : {
  24653. "tags" : [ "alipay.open.mini.innerversion" ],
  24654. "summary" : "升级模板实例化小程序",
  24655. "description" : "升级基于模板实例化的小程序,升级后不需要重新提交审核;同步接口。",
  24656. "operationId" : "alipay.open.mini.innerversion.upgrade",
  24657. "responses" : {
  24658. "200" : {
  24659. "description" : "common response",
  24660. "content" : {
  24661. "application/json" : {
  24662. "schema" : {
  24663. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUpgradeResponseModel"
  24664. }
  24665. }
  24666. }
  24667. },
  24668. "default" : {
  24669. "description" : "请求失败",
  24670. "content" : {
  24671. "application/json" : {
  24672. "schema" : {
  24673. "anyOf" : [ {
  24674. "$ref" : "#/components/schemas/CommonErrorType"
  24675. }, {
  24676. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUpgradeErrorResponseModel"
  24677. } ]
  24678. }
  24679. }
  24680. }
  24681. }
  24682. },
  24683. "requestBody" : {
  24684. "content" : {
  24685. "application/json" : {
  24686. "schema" : {
  24687. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUpgradeModel"
  24688. }
  24689. }
  24690. },
  24691. "required" : false
  24692. }
  24693. }
  24694. },
  24695. "/v3/alipay/open/mini/innerversion/upload" : {
  24696. "post" : {
  24697. "tags" : [ "alipay.open.mini.innerversion" ],
  24698. "summary" : "内部小程序-打包构建",
  24699. "description" : "内部小程序,创建打包构建任务,异步返回,使用查询接口轮询构建结果",
  24700. "operationId" : "alipay.open.mini.innerversion.upload",
  24701. "responses" : {
  24702. "200" : {
  24703. "description" : "common response",
  24704. "content" : {
  24705. "application/json" : {
  24706. "schema" : {
  24707. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUploadResponseModel"
  24708. }
  24709. }
  24710. }
  24711. },
  24712. "default" : {
  24713. "description" : "请求失败",
  24714. "content" : {
  24715. "application/json" : {
  24716. "schema" : {
  24717. "anyOf" : [ {
  24718. "$ref" : "#/components/schemas/CommonErrorType"
  24719. }, {
  24720. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUploadErrorResponseModel"
  24721. } ]
  24722. }
  24723. }
  24724. }
  24725. }
  24726. },
  24727. "requestBody" : {
  24728. "content" : {
  24729. "application/json" : {
  24730. "schema" : {
  24731. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUploadModel"
  24732. }
  24733. }
  24734. },
  24735. "required" : false
  24736. }
  24737. }
  24738. },
  24739. "/v3/alipay/open/mini/innerversion/uploadstatus/query" : {
  24740. "get" : {
  24741. "tags" : [ "alipay.open.mini.innerversion.uploadstatus" ],
  24742. "summary" : "多端小程序-查询构建状态",
  24743. "description" : "查询构建状态",
  24744. "operationId" : "alipay.open.mini.innerversion.uploadstatus.query",
  24745. "responses" : {
  24746. "200" : {
  24747. "description" : "common response",
  24748. "content" : {
  24749. "application/json" : {
  24750. "schema" : {
  24751. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUploadstatusQueryResponseModel"
  24752. }
  24753. }
  24754. }
  24755. },
  24756. "default" : {
  24757. "description" : "请求失败",
  24758. "content" : {
  24759. "application/json" : {
  24760. "schema" : {
  24761. "anyOf" : [ {
  24762. "$ref" : "#/components/schemas/CommonErrorType"
  24763. }, {
  24764. "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUploadstatusQueryErrorResponseModel"
  24765. } ]
  24766. }
  24767. }
  24768. }
  24769. }
  24770. },
  24771. "parameters" : [ {
  24772. "name" : "build_package_id",
  24773. "in" : "query",
  24774. "description" : "包管理ID,用于查询打包状态",
  24775. "schema" : {
  24776. "type" : "string",
  24777. "example" : "34818"
  24778. }
  24779. }, {
  24780. "name" : "mini_app_id",
  24781. "in" : "query",
  24782. "description" : "小程序ID",
  24783. "schema" : {
  24784. "type" : "string",
  24785. "example" : "2018012201365222"
  24786. }
  24787. }, {
  24788. "name" : "build_version",
  24789. "in" : "query",
  24790. "description" : "小程序版本",
  24791. "schema" : {
  24792. "type" : "string",
  24793. "example" : "0.0.5"
  24794. }
  24795. }, {
  24796. "name" : "inst_code",
  24797. "in" : "query",
  24798. "description" : "租户id",
  24799. "schema" : {
  24800. "type" : "string",
  24801. "example" : "taobao"
  24802. }
  24803. }, {
  24804. "name" : "bundle_id",
  24805. "in" : "query",
  24806. "description" : "端信息",
  24807. "schema" : {
  24808. "type" : "string",
  24809. "example" : "com.taobao.app"
  24810. }
  24811. } ]
  24812. }
  24813. },
  24814. "/v3/alipay/open/mini/isv/create" : {
  24815. "post" : {
  24816. "tags" : [ "alipay.open.mini.isv" ],
  24817. "summary" : "isv服务商代商户创建小程序",
  24818. "description" : "服务商代商家创建小程序,待商家确认后服务商代创建的小程序才会生效,若商家超过确认时间则服务商创建的小程序会自动作废释放占用的小程序名称。\n将 is_individual 设置为 true,并且同时传入 license_pic。将同时对具备个体工商户营业执照的商家个人账号认证成为个体工商户账号(创建小程序+升级个体工商户账号一体化)。",
  24819. "operationId" : "alipay.open.mini.isv.create",
  24820. "responses" : {
  24821. "200" : {
  24822. "description" : "common response",
  24823. "content" : {
  24824. "application/json" : {
  24825. "schema" : {
  24826. "$ref" : "#/components/schemas/AlipayOpenMiniIsvCreateResponseModel"
  24827. }
  24828. }
  24829. }
  24830. },
  24831. "default" : {
  24832. "description" : "请求失败",
  24833. "content" : {
  24834. "application/json" : {
  24835. "schema" : {
  24836. "anyOf" : [ {
  24837. "$ref" : "#/components/schemas/CommonErrorType"
  24838. }, {
  24839. "$ref" : "#/components/schemas/AlipayOpenMiniIsvCreateErrorResponseModel"
  24840. } ]
  24841. }
  24842. }
  24843. }
  24844. }
  24845. },
  24846. "requestBody" : {
  24847. "content" : {
  24848. "application/json" : {
  24849. "schema" : {
  24850. "$ref" : "#/components/schemas/AlipayOpenMiniIsvCreateModel"
  24851. }
  24852. }
  24853. },
  24854. "required" : false
  24855. }
  24856. }
  24857. },
  24858. "/v3/alipay/open/mini/isv/fastregister/create" : {
  24859. "post" : {
  24860. "tags" : [ "alipay.open.mini.isv.fastregister" ],
  24861. "summary" : "ISV代创建试用小程序",
  24862. "description" : "ISV代商户创建试用小程序",
  24863. "operationId" : "alipay.open.mini.isv.fastregister.create",
  24864. "responses" : {
  24865. "200" : {
  24866. "description" : "common response",
  24867. "content" : {
  24868. "application/json" : {
  24869. "schema" : {
  24870. "$ref" : "#/components/schemas/AlipayOpenMiniIsvFastregisterCreateResponseModel"
  24871. }
  24872. }
  24873. }
  24874. },
  24875. "default" : {
  24876. "description" : "请求失败",
  24877. "content" : {
  24878. "application/json" : {
  24879. "schema" : {
  24880. "anyOf" : [ {
  24881. "$ref" : "#/components/schemas/CommonErrorType"
  24882. }, {
  24883. "$ref" : "#/components/schemas/AlipayOpenMiniIsvFastregisterCreateErrorResponseModel"
  24884. } ]
  24885. }
  24886. }
  24887. }
  24888. }
  24889. },
  24890. "requestBody" : {
  24891. "content" : {
  24892. "application/json" : {
  24893. "schema" : {
  24894. "$ref" : "#/components/schemas/AlipayOpenMiniIsvFastregisterCreateModel"
  24895. }
  24896. }
  24897. },
  24898. "required" : false
  24899. }
  24900. }
  24901. },
  24902. "/v3/alipay/open/mini/isv/fastregister/query" : {
  24903. "get" : {
  24904. "tags" : [ "alipay.open.mini.isv.fastregister" ],
  24905. "summary" : "查询试用小程序",
  24906. "description" : "查询试用小程序",
  24907. "operationId" : "alipay.open.mini.isv.fastregister.query",
  24908. "responses" : {
  24909. "200" : {
  24910. "description" : "common response",
  24911. "content" : {
  24912. "application/json" : {
  24913. "schema" : {
  24914. "$ref" : "#/components/schemas/AlipayOpenMiniIsvFastregisterQueryResponseModel"
  24915. }
  24916. }
  24917. }
  24918. },
  24919. "default" : {
  24920. "description" : "请求失败",
  24921. "content" : {
  24922. "application/json" : {
  24923. "schema" : {
  24924. "anyOf" : [ {
  24925. "$ref" : "#/components/schemas/CommonErrorType"
  24926. }, {
  24927. "$ref" : "#/components/schemas/AlipayOpenMiniIsvFastregisterQueryErrorResponseModel"
  24928. } ]
  24929. }
  24930. }
  24931. }
  24932. }
  24933. },
  24934. "parameters" : [ {
  24935. "name" : "order_no",
  24936. "in" : "query",
  24937. "description" : "代创建试用小程序单号",
  24938. "schema" : {
  24939. "type" : "string",
  24940. "example" : "2202121278786786768"
  24941. }
  24942. } ]
  24943. }
  24944. },
  24945. "/v3/alipay/open/mini/isv/query" : {
  24946. "get" : {
  24947. "tags" : [ "alipay.open.mini.isv" ],
  24948. "summary" : "isv查询代商家创建小程序记录",
  24949. "description" : "isv查询代商家创建小程序记录",
  24950. "operationId" : "alipay.open.mini.isv.query",
  24951. "responses" : {
  24952. "200" : {
  24953. "description" : "common response",
  24954. "content" : {
  24955. "application/json" : {
  24956. "schema" : {
  24957. "$ref" : "#/components/schemas/AlipayOpenMiniIsvQueryResponseModel"
  24958. }
  24959. }
  24960. }
  24961. },
  24962. "default" : {
  24963. "description" : "请求失败",
  24964. "content" : {
  24965. "application/json" : {
  24966. "schema" : {
  24967. "anyOf" : [ {
  24968. "$ref" : "#/components/schemas/CommonErrorType"
  24969. }, {
  24970. "$ref" : "#/components/schemas/AlipayOpenMiniIsvQueryErrorResponseModel"
  24971. } ]
  24972. }
  24973. }
  24974. }
  24975. }
  24976. },
  24977. "parameters" : [ {
  24978. "name" : "order_no",
  24979. "in" : "query",
  24980. "description" : "服务商代商家创建小程序,由支付宝开放平台返回的订单号用于后续查询处理进展。",
  24981. "schema" : {
  24982. "type" : "string",
  24983. "example" : "2394834823942343"
  24984. }
  24985. } ]
  24986. }
  24987. },
  24988. "/v3/alipay/open/mini/miniapp/brand/cancel" : {
  24989. "post" : {
  24990. "tags" : [ "alipay.open.mini.miniapp.brand" ],
  24991. "summary" : "小程序品牌提交认证后取消品牌认证",
  24992. "description" : "小程序品牌提交认证后取消品牌认证",
  24993. "operationId" : "alipay.open.mini.miniapp.brand.cancel",
  24994. "responses" : {
  24995. "200" : {
  24996. "description" : "common response",
  24997. "content" : {
  24998. "application/json" : {
  24999. "schema" : {
  25000. "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandCancelResponseModel"
  25001. }
  25002. }
  25003. }
  25004. },
  25005. "default" : {
  25006. "description" : "请求失败",
  25007. "content" : {
  25008. "application/json" : {
  25009. "schema" : {
  25010. "anyOf" : [ {
  25011. "$ref" : "#/components/schemas/CommonErrorType"
  25012. }, {
  25013. "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandCancelErrorResponseModel"
  25014. } ]
  25015. }
  25016. }
  25017. }
  25018. }
  25019. }
  25020. }
  25021. },
  25022. "/v3/alipay/open/mini/miniapp/brand/query" : {
  25023. "get" : {
  25024. "tags" : [ "alipay.open.mini.miniapp.brand" ],
  25025. "summary" : "小程序品牌提交认证后查询品牌审核结果以及商户已有品牌",
  25026. "description" : "小程序品牌提交认证后查询品牌审核结果以及商户已有品牌",
  25027. "operationId" : "alipay.open.mini.miniapp.brand.query",
  25028. "responses" : {
  25029. "200" : {
  25030. "description" : "common response",
  25031. "content" : {
  25032. "application/json" : {
  25033. "schema" : {
  25034. "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandQueryResponseModel"
  25035. }
  25036. }
  25037. }
  25038. },
  25039. "default" : {
  25040. "description" : "请求失败",
  25041. "content" : {
  25042. "application/json" : {
  25043. "schema" : {
  25044. "anyOf" : [ {
  25045. "$ref" : "#/components/schemas/CommonErrorType"
  25046. }, {
  25047. "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandQueryErrorResponseModel"
  25048. } ]
  25049. }
  25050. }
  25051. }
  25052. }
  25053. }
  25054. }
  25055. },
  25056. "/v3/alipay/open/mini/miniapp/brand/submit" : {
  25057. "post" : {
  25058. "tags" : [ "alipay.open.mini.miniapp.brand" ],
  25059. "summary" : "小程序品牌提交认证",
  25060. "description" : "小程序品牌提交认证",
  25061. "operationId" : "alipay.open.mini.miniapp.brand.submit",
  25062. "responses" : {
  25063. "200" : {
  25064. "description" : "common response",
  25065. "content" : {
  25066. "application/json" : {
  25067. "schema" : {
  25068. "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandSubmitResponseModel"
  25069. }
  25070. }
  25071. }
  25072. },
  25073. "default" : {
  25074. "description" : "请求失败",
  25075. "content" : {
  25076. "application/json" : {
  25077. "schema" : {
  25078. "anyOf" : [ {
  25079. "$ref" : "#/components/schemas/CommonErrorType"
  25080. }, {
  25081. "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandSubmitErrorResponseModel"
  25082. } ]
  25083. }
  25084. }
  25085. }
  25086. }
  25087. },
  25088. "requestBody" : {
  25089. "content" : {
  25090. "application/json" : {
  25091. "schema" : {
  25092. "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandSubmitModel"
  25093. }
  25094. }
  25095. },
  25096. "required" : false
  25097. }
  25098. }
  25099. },
  25100. "/v3/alipay/open/mini/miniapp/brand/upload" : {
  25101. "post" : {
  25102. "tags" : [ "alipay.open.mini.miniapp.brand" ],
  25103. "summary" : "小程序品牌提交认证时上传用户资质以及身份信息",
  25104. "description" : "小程序品牌提交认证时上传用户资质以及身份信息",
  25105. "operationId" : "alipay.open.mini.miniapp.brand.upload",
  25106. "responses" : {
  25107. "200" : {
  25108. "description" : "common response",
  25109. "content" : {
  25110. "application/json" : {
  25111. "schema" : {
  25112. "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandUploadResponseModel"
  25113. }
  25114. }
  25115. }
  25116. },
  25117. "default" : {
  25118. "description" : "请求失败",
  25119. "content" : {
  25120. "application/json" : {
  25121. "schema" : {
  25122. "anyOf" : [ {
  25123. "$ref" : "#/components/schemas/CommonErrorType"
  25124. }, {
  25125. "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandUploadErrorResponseModel"
  25126. } ]
  25127. }
  25128. }
  25129. }
  25130. }
  25131. },
  25132. "requestBody" : {
  25133. "content" : {
  25134. "multipart/form-data" : {
  25135. "schema" : {
  25136. "type" : "object",
  25137. "properties" : {
  25138. "file_content" : {
  25139. "type" : "string",
  25140. "format" : "binary"
  25141. }
  25142. }
  25143. },
  25144. "encoding" : {
  25145. "file_content" : {
  25146. "contentType" : "*/*"
  25147. }
  25148. }
  25149. }
  25150. },
  25151. "required" : false
  25152. }
  25153. }
  25154. },
  25155. "/v3/alipay/open/mini/miniapp/serviceconfig/modify" : {
  25156. "post" : {
  25157. "tags" : [ "alipay.open.mini.miniapp.serviceconfig" ],
  25158. "summary" : "小程序设置客服方式",
  25159. "description" : "小程序设置客服方式",
  25160. "operationId" : "alipay.open.mini.miniapp.serviceconfig.modify",
  25161. "responses" : {
  25162. "200" : {
  25163. "description" : "common response",
  25164. "content" : {
  25165. "application/json" : {
  25166. "schema" : {
  25167. "$ref" : "#/components/schemas/AlipayOpenMiniMiniappServiceconfigModifyResponseModel"
  25168. }
  25169. }
  25170. }
  25171. },
  25172. "default" : {
  25173. "description" : "请求失败",
  25174. "content" : {
  25175. "application/json" : {
  25176. "schema" : {
  25177. "anyOf" : [ {
  25178. "$ref" : "#/components/schemas/CommonErrorType"
  25179. }, {
  25180. "$ref" : "#/components/schemas/AlipayOpenMiniMiniappServiceconfigModifyErrorResponseModel"
  25181. } ]
  25182. }
  25183. }
  25184. }
  25185. }
  25186. },
  25187. "requestBody" : {
  25188. "content" : {
  25189. "application/json" : {
  25190. "schema" : {
  25191. "$ref" : "#/components/schemas/AlipayOpenMiniMiniappServiceconfigModifyModel"
  25192. }
  25193. }
  25194. },
  25195. "required" : false
  25196. }
  25197. }
  25198. },
  25199. "/v3/alipay/open/mini/qrcode/bind" : {
  25200. "post" : {
  25201. "tags" : [ "alipay.open.mini.qrcode" ],
  25202. "summary" : "关联普通二维码",
  25203. "description" : "商户可不需更换线下二维码,通过该接口完成配置后,用户用支付宝扫描普通二维码时打开小程序并跳转到指定页面,普通二维码关联小程序最多可设置20条规则。",
  25204. "operationId" : "alipay.open.mini.qrcode.bind",
  25205. "responses" : {
  25206. "200" : {
  25207. "description" : "common response",
  25208. "content" : {
  25209. "application/json" : {
  25210. "schema" : {
  25211. "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeBindResponseModel"
  25212. }
  25213. }
  25214. }
  25215. },
  25216. "default" : {
  25217. "description" : "请求失败",
  25218. "content" : {
  25219. "application/json" : {
  25220. "schema" : {
  25221. "anyOf" : [ {
  25222. "$ref" : "#/components/schemas/CommonErrorType"
  25223. }, {
  25224. "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeBindErrorResponseModel"
  25225. } ]
  25226. }
  25227. }
  25228. }
  25229. }
  25230. },
  25231. "requestBody" : {
  25232. "content" : {
  25233. "application/json" : {
  25234. "schema" : {
  25235. "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeBindModel"
  25236. }
  25237. }
  25238. },
  25239. "required" : false
  25240. }
  25241. }
  25242. },
  25243. "/v3/alipay/open/mini/qrcode/query" : {
  25244. "get" : {
  25245. "tags" : [ "alipay.open.mini.qrcode" ],
  25246. "summary" : "查询普通二维码",
  25247. "description" : "通过appId查询商户关联的普通二维码路由信息",
  25248. "operationId" : "alipay.open.mini.qrcode.query",
  25249. "responses" : {
  25250. "200" : {
  25251. "description" : "common response",
  25252. "content" : {
  25253. "application/json" : {
  25254. "schema" : {
  25255. "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeQueryResponseModel"
  25256. }
  25257. }
  25258. }
  25259. },
  25260. "default" : {
  25261. "description" : "请求失败",
  25262. "content" : {
  25263. "application/json" : {
  25264. "schema" : {
  25265. "anyOf" : [ {
  25266. "$ref" : "#/components/schemas/CommonErrorType"
  25267. }, {
  25268. "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeQueryErrorResponseModel"
  25269. } ]
  25270. }
  25271. }
  25272. }
  25273. }
  25274. },
  25275. "parameters" : [ {
  25276. "name" : "page_no",
  25277. "in" : "query",
  25278. "description" : "页码",
  25279. "schema" : {
  25280. "type" : "integer",
  25281. "example" : "1"
  25282. }
  25283. }, {
  25284. "name" : "page_size",
  25285. "in" : "query",
  25286. "description" : "每页条数,最大为10",
  25287. "schema" : {
  25288. "type" : "integer",
  25289. "example" : "10"
  25290. }
  25291. } ]
  25292. }
  25293. },
  25294. "/v3/alipay/open/mini/qrcode/unbind" : {
  25295. "post" : {
  25296. "tags" : [ "alipay.open.mini.qrcode" ],
  25297. "summary" : "删除已关联普通二维码",
  25298. "description" : "删除已关联普通二维码",
  25299. "operationId" : "alipay.open.mini.qrcode.unbind",
  25300. "responses" : {
  25301. "200" : {
  25302. "description" : "common response",
  25303. "content" : {
  25304. "application/json" : {
  25305. "schema" : {
  25306. "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeUnbindResponseModel"
  25307. }
  25308. }
  25309. }
  25310. },
  25311. "default" : {
  25312. "description" : "请求失败",
  25313. "content" : {
  25314. "application/json" : {
  25315. "schema" : {
  25316. "anyOf" : [ {
  25317. "$ref" : "#/components/schemas/CommonErrorType"
  25318. }, {
  25319. "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeUnbindErrorResponseModel"
  25320. } ]
  25321. }
  25322. }
  25323. }
  25324. }
  25325. },
  25326. "requestBody" : {
  25327. "content" : {
  25328. "application/json" : {
  25329. "schema" : {
  25330. "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeUnbindModel"
  25331. }
  25332. }
  25333. },
  25334. "required" : false
  25335. }
  25336. }
  25337. },
  25338. "/v3/alipay/open/mini/resource/promotionsource/notify" : {
  25339. "post" : {
  25340. "tags" : [ "alipay.open.mini.resource.promotionsource" ],
  25341. "summary" : "提供给淘联盟推广位信息接口",
  25342. "description" : "淘联盟定制回调接口,用户流量插件账号打通场景",
  25343. "operationId" : "alipay.open.mini.resource.promotionsource.notify",
  25344. "responses" : {
  25345. "200" : {
  25346. "description" : "common response",
  25347. "content" : {
  25348. "application/json" : {
  25349. "schema" : {
  25350. "$ref" : "#/components/schemas/AlipayOpenMiniResourcePromotionsourceNotifyResponseModel"
  25351. }
  25352. }
  25353. }
  25354. },
  25355. "default" : {
  25356. "description" : "请求失败",
  25357. "content" : {
  25358. "application/json" : {
  25359. "schema" : {
  25360. "anyOf" : [ {
  25361. "$ref" : "#/components/schemas/CommonErrorType"
  25362. }, {
  25363. "$ref" : "#/components/schemas/AlipayOpenMiniResourcePromotionsourceNotifyErrorResponseModel"
  25364. } ]
  25365. }
  25366. }
  25367. }
  25368. }
  25369. },
  25370. "requestBody" : {
  25371. "content" : {
  25372. "application/json" : {
  25373. "schema" : {
  25374. "$ref" : "#/components/schemas/AlipayOpenMiniResourcePromotionsourceNotifyModel"
  25375. }
  25376. }
  25377. },
  25378. "required" : false
  25379. }
  25380. }
  25381. },
  25382. "/v3/alipay/open/mini/resource/record/notify" : {
  25383. "post" : {
  25384. "tags" : [ "alipay.open.mini.resource.record" ],
  25385. "summary" : "提供给淘联盟备案信息接口",
  25386. "description" : "淘联盟定制回调接口,用户流量插件账号打通场景",
  25387. "operationId" : "alipay.open.mini.resource.record.notify",
  25388. "responses" : {
  25389. "200" : {
  25390. "description" : "common response",
  25391. "content" : {
  25392. "application/json" : {
  25393. "schema" : {
  25394. "$ref" : "#/components/schemas/AlipayOpenMiniResourceRecordNotifyResponseModel"
  25395. }
  25396. }
  25397. }
  25398. },
  25399. "default" : {
  25400. "description" : "请求失败",
  25401. "content" : {
  25402. "application/json" : {
  25403. "schema" : {
  25404. "anyOf" : [ {
  25405. "$ref" : "#/components/schemas/CommonErrorType"
  25406. }, {
  25407. "$ref" : "#/components/schemas/AlipayOpenMiniResourceRecordNotifyErrorResponseModel"
  25408. } ]
  25409. }
  25410. }
  25411. }
  25412. }
  25413. },
  25414. "requestBody" : {
  25415. "content" : {
  25416. "application/json" : {
  25417. "schema" : {
  25418. "$ref" : "#/components/schemas/AlipayOpenMiniResourceRecordNotifyModel"
  25419. }
  25420. }
  25421. },
  25422. "required" : false
  25423. }
  25424. }
  25425. },
  25426. "/v3/alipay/open/mini/safedomain/create" : {
  25427. "post" : {
  25428. "tags" : [ "alipay.open.mini.safedomain" ],
  25429. "summary" : "小程序添加域白名单",
  25430. "description" : "小程序添加域白名单",
  25431. "operationId" : "alipay.open.mini.safedomain.create",
  25432. "responses" : {
  25433. "200" : {
  25434. "description" : "common response",
  25435. "content" : {
  25436. "application/json" : {
  25437. "schema" : {
  25438. "$ref" : "#/components/schemas/AlipayOpenMiniSafedomainCreateResponseModel"
  25439. }
  25440. }
  25441. }
  25442. },
  25443. "default" : {
  25444. "description" : "请求失败",
  25445. "content" : {
  25446. "application/json" : {
  25447. "schema" : {
  25448. "anyOf" : [ {
  25449. "$ref" : "#/components/schemas/CommonErrorType"
  25450. }, {
  25451. "$ref" : "#/components/schemas/AlipayOpenMiniSafedomainCreateErrorResponseModel"
  25452. } ]
  25453. }
  25454. }
  25455. }
  25456. }
  25457. },
  25458. "requestBody" : {
  25459. "content" : {
  25460. "application/json" : {
  25461. "schema" : {
  25462. "$ref" : "#/components/schemas/AlipayOpenMiniSafedomainCreateModel"
  25463. }
  25464. }
  25465. },
  25466. "required" : false
  25467. }
  25468. }
  25469. },
  25470. "/v3/alipay/open/mini/safedomain/delete" : {
  25471. "delete" : {
  25472. "tags" : [ "alipay.open.mini.safedomain" ],
  25473. "summary" : "小程序删除域白名单",
  25474. "description" : "小程序删除域白名单",
  25475. "operationId" : "alipay.open.mini.safedomain.delete",
  25476. "responses" : {
  25477. "200" : {
  25478. "description" : "common response",
  25479. "content" : {
  25480. "application/json" : {
  25481. "schema" : {
  25482. "$ref" : "#/components/schemas/AlipayOpenMiniSafedomainDeleteResponseModel"
  25483. }
  25484. }
  25485. }
  25486. },
  25487. "default" : {
  25488. "description" : "请求失败",
  25489. "content" : {
  25490. "application/json" : {
  25491. "schema" : {
  25492. "anyOf" : [ {
  25493. "$ref" : "#/components/schemas/CommonErrorType"
  25494. }, {
  25495. "$ref" : "#/components/schemas/AlipayOpenMiniSafedomainDeleteErrorResponseModel"
  25496. } ]
  25497. }
  25498. }
  25499. }
  25500. }
  25501. },
  25502. "parameters" : [ {
  25503. "name" : "safe_domain",
  25504. "in" : "query",
  25505. "description" : "服务器域名白名单。支付宝小程序在HTTP请求、上传文件等场景只能与域名白名单中的域名进行通讯 。\t删除域白名单后需重新上传应用版本(模板模式下小程序模板及商家应用都需重新上传、实例化版本)才会生效。老版本应用继续使用老版本名单(即删除域名可继续使用)。",
  25506. "schema" : {
  25507. "type" : "string",
  25508. "example" : "example.com"
  25509. }
  25510. } ]
  25511. }
  25512. },
  25513. "/v3/alipay/open/mini/template/marketing/create" : {
  25514. "post" : {
  25515. "tags" : [ "alipay.open.mini.template.marketing" ],
  25516. "summary" : "小程序消息运营位创建",
  25517. "description" : "小程序消息运营位创建",
  25518. "operationId" : "alipay.open.mini.template.marketing.create",
  25519. "responses" : {
  25520. "200" : {
  25521. "description" : "common response",
  25522. "content" : {
  25523. "application/json" : {
  25524. "schema" : {
  25525. "$ref" : "#/components/schemas/AlipayOpenMiniTemplateMarketingCreateResponseModel"
  25526. }
  25527. }
  25528. }
  25529. },
  25530. "default" : {
  25531. "description" : "请求失败",
  25532. "content" : {
  25533. "application/json" : {
  25534. "schema" : {
  25535. "anyOf" : [ {
  25536. "$ref" : "#/components/schemas/CommonErrorType"
  25537. }, {
  25538. "$ref" : "#/components/schemas/AlipayOpenMiniTemplateMarketingCreateErrorResponseModel"
  25539. } ]
  25540. }
  25541. }
  25542. }
  25543. }
  25544. },
  25545. "requestBody" : {
  25546. "content" : {
  25547. "application/json" : {
  25548. "schema" : {
  25549. "$ref" : "#/components/schemas/AlipayOpenMiniTemplateMarketingCreateModel"
  25550. }
  25551. }
  25552. },
  25553. "required" : false
  25554. }
  25555. }
  25556. },
  25557. "/v3/alipay/open/mini/template/usage/query" : {
  25558. "get" : {
  25559. "tags" : [ "alipay.open.mini.template.usage" ],
  25560. "summary" : "查询使用模板的小程序列表",
  25561. "description" : "查询使用模板的小程序列表",
  25562. "operationId" : "alipay.open.mini.template.usage.query",
  25563. "responses" : {
  25564. "200" : {
  25565. "description" : "common response",
  25566. "content" : {
  25567. "application/json" : {
  25568. "schema" : {
  25569. "$ref" : "#/components/schemas/AlipayOpenMiniTemplateUsageQueryResponseModel"
  25570. }
  25571. }
  25572. }
  25573. },
  25574. "default" : {
  25575. "description" : "请求失败",
  25576. "content" : {
  25577. "application/json" : {
  25578. "schema" : {
  25579. "anyOf" : [ {
  25580. "$ref" : "#/components/schemas/CommonErrorType"
  25581. }, {
  25582. "$ref" : "#/components/schemas/AlipayOpenMiniTemplateUsageQueryErrorResponseModel"
  25583. } ]
  25584. }
  25585. }
  25586. }
  25587. }
  25588. },
  25589. "parameters" : [ {
  25590. "name" : "template_id",
  25591. "in" : "query",
  25592. "description" : "小程序模板APPID",
  25593. "schema" : {
  25594. "type" : "string",
  25595. "example" : "1"
  25596. }
  25597. }, {
  25598. "name" : "page_num",
  25599. "in" : "query",
  25600. "description" : "查询的页数,起始为 1(第一页) 。默认第一页。",
  25601. "schema" : {
  25602. "type" : "integer",
  25603. "example" : "1"
  25604. }
  25605. }, {
  25606. "name" : "page_size",
  25607. "in" : "query",
  25608. "description" : "每页的数量,最多查询50个,默认查询10个",
  25609. "schema" : {
  25610. "type" : "integer",
  25611. "example" : "10"
  25612. }
  25613. }, {
  25614. "name" : "template_version",
  25615. "in" : "query",
  25616. "description" : "模板小程序的版本号",
  25617. "schema" : {
  25618. "type" : "string",
  25619. "example" : "0.0.1"
  25620. }
  25621. }, {
  25622. "name" : "bundle_id",
  25623. "in" : "query",
  25624. "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
  25625. "schema" : {
  25626. "type" : "string",
  25627. "example" : "com.alipay.alipaywallet"
  25628. }
  25629. } ]
  25630. }
  25631. },
  25632. "/v3/alipay/open/mini/templatemessage/usertemplate/apply" : {
  25633. "post" : {
  25634. "tags" : [ "alipay.open.mini.templatemessage.usertemplate" ],
  25635. "summary" : "小程序模板消息申请",
  25636. "description" : "小程序模板消息申请,申请之后可以通过返回的user_template_id来发送模板消息",
  25637. "operationId" : "alipay.open.mini.templatemessage.usertemplate.apply",
  25638. "responses" : {
  25639. "200" : {
  25640. "description" : "common response",
  25641. "content" : {
  25642. "application/json" : {
  25643. "schema" : {
  25644. "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemessageUsertemplateApplyResponseModel"
  25645. }
  25646. }
  25647. }
  25648. },
  25649. "default" : {
  25650. "description" : "请求失败",
  25651. "content" : {
  25652. "application/json" : {
  25653. "schema" : {
  25654. "anyOf" : [ {
  25655. "$ref" : "#/components/schemas/CommonErrorType"
  25656. }, {
  25657. "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemessageUsertemplateApplyErrorResponseModel"
  25658. } ]
  25659. }
  25660. }
  25661. }
  25662. }
  25663. },
  25664. "requestBody" : {
  25665. "content" : {
  25666. "application/json" : {
  25667. "schema" : {
  25668. "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemessageUsertemplateApplyModel"
  25669. }
  25670. }
  25671. },
  25672. "required" : false
  25673. }
  25674. }
  25675. },
  25676. "/v3/alipay/open/mini/templatemsg/maketing/batchquery" : {
  25677. "post" : {
  25678. "tags" : [ "alipay.open.mini.templatemsg.maketing" ],
  25679. "summary" : "小程序模板消息营销投放详情分页批量查询",
  25680. "description" : "小程序模板消息营销投放详情分页批量查询",
  25681. "operationId" : "alipay.open.mini.templatemsg.maketing.batchquery",
  25682. "responses" : {
  25683. "200" : {
  25684. "description" : "common response",
  25685. "content" : {
  25686. "application/json" : {
  25687. "schema" : {
  25688. "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgMaketingBatchqueryResponseModel"
  25689. }
  25690. }
  25691. }
  25692. },
  25693. "default" : {
  25694. "description" : "请求失败",
  25695. "content" : {
  25696. "application/json" : {
  25697. "schema" : {
  25698. "anyOf" : [ {
  25699. "$ref" : "#/components/schemas/CommonErrorType"
  25700. }, {
  25701. "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgMaketingBatchqueryErrorResponseModel"
  25702. } ]
  25703. }
  25704. }
  25705. }
  25706. }
  25707. },
  25708. "requestBody" : {
  25709. "content" : {
  25710. "application/json" : {
  25711. "schema" : {
  25712. "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgMaketingBatchqueryModel"
  25713. }
  25714. }
  25715. },
  25716. "required" : false
  25717. }
  25718. }
  25719. },
  25720. "/v3/alipay/open/mini/templatemsg/maketingstatus/modify" : {
  25721. "post" : {
  25722. "tags" : [ "alipay.open.mini.templatemsg.maketingstatus" ],
  25723. "summary" : "小程序模板消息营销投放详情状态修改",
  25724. "description" : "小程序模板消息营销投放详情状态修改",
  25725. "operationId" : "alipay.open.mini.templatemsg.maketingstatus.modify",
  25726. "responses" : {
  25727. "200" : {
  25728. "description" : "common response",
  25729. "content" : {
  25730. "application/json" : {
  25731. "schema" : {
  25732. "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgMaketingstatusModifyResponseModel"
  25733. }
  25734. }
  25735. }
  25736. },
  25737. "default" : {
  25738. "description" : "请求失败",
  25739. "content" : {
  25740. "application/json" : {
  25741. "schema" : {
  25742. "anyOf" : [ {
  25743. "$ref" : "#/components/schemas/CommonErrorType"
  25744. }, {
  25745. "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgMaketingstatusModifyErrorResponseModel"
  25746. } ]
  25747. }
  25748. }
  25749. }
  25750. }
  25751. },
  25752. "requestBody" : {
  25753. "content" : {
  25754. "application/json" : {
  25755. "schema" : {
  25756. "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgMaketingstatusModifyModel"
  25757. }
  25758. }
  25759. },
  25760. "required" : false
  25761. }
  25762. }
  25763. },
  25764. "/v3/alipay/open/mini/templatemsg/tinypayswitch/confirm" : {
  25765. "post" : {
  25766. "tags" : [ "alipay.open.mini.templatemsg.tinypayswitch" ],
  25767. "summary" : "小程序支付消息确认接口",
  25768. "description" : "小程序内触发的交易带来的支付消息,可通过确认动作完成小程序入口的添加。",
  25769. "operationId" : "alipay.open.mini.templatemsg.tinypayswitch.confirm",
  25770. "responses" : {
  25771. "200" : {
  25772. "description" : "common response",
  25773. "content" : {
  25774. "application/json" : {
  25775. "schema" : {
  25776. "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgTinypayswitchConfirmResponseModel"
  25777. }
  25778. }
  25779. }
  25780. },
  25781. "default" : {
  25782. "description" : "请求失败",
  25783. "content" : {
  25784. "application/json" : {
  25785. "schema" : {
  25786. "anyOf" : [ {
  25787. "$ref" : "#/components/schemas/CommonErrorType"
  25788. }, {
  25789. "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgTinypayswitchConfirmErrorResponseModel"
  25790. } ]
  25791. }
  25792. }
  25793. }
  25794. }
  25795. }
  25796. }
  25797. },
  25798. "/v3/alipay/open/mini/tips/delivery/batchquery" : {
  25799. "post" : {
  25800. "tags" : [ "alipay.open.mini.tips.delivery" ],
  25801. "summary" : "小程序收藏引导投放活动配置批量查询",
  25802. "description" : "小程序收藏引导投放活动配置批量查询接口,获取该小程序下所有活动配置及状态信息。",
  25803. "operationId" : "alipay.open.mini.tips.delivery.batchquery",
  25804. "responses" : {
  25805. "200" : {
  25806. "description" : "common response",
  25807. "content" : {
  25808. "application/json" : {
  25809. "schema" : {
  25810. "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryBatchqueryResponseModel"
  25811. }
  25812. }
  25813. }
  25814. },
  25815. "default" : {
  25816. "description" : "请求失败",
  25817. "content" : {
  25818. "application/json" : {
  25819. "schema" : {
  25820. "anyOf" : [ {
  25821. "$ref" : "#/components/schemas/CommonErrorType"
  25822. }, {
  25823. "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryBatchqueryErrorResponseModel"
  25824. } ]
  25825. }
  25826. }
  25827. }
  25828. }
  25829. },
  25830. "requestBody" : {
  25831. "content" : {
  25832. "application/json" : {
  25833. "schema" : {
  25834. "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryBatchqueryModel"
  25835. }
  25836. }
  25837. },
  25838. "required" : false
  25839. }
  25840. }
  25841. },
  25842. "/v3/alipay/open/mini/tips/delivery/create" : {
  25843. "post" : {
  25844. "tags" : [ "alipay.open.mini.tips.delivery" ],
  25845. "summary" : "小程序收藏引导投放活动配置创建",
  25846. "description" : "小程序收藏引导投放活动配置创建。通过配置有效的小程序收藏引导(tips)文案,创建小程序收藏引导活动。用户在活动有效期内等于相应页面,将展示配置的个性化文案,帮助用户收藏小程序。请结合您的小程序及页面,配置个性化文案。\n",
  25847. "operationId" : "alipay.open.mini.tips.delivery.create",
  25848. "responses" : {
  25849. "200" : {
  25850. "description" : "common response",
  25851. "content" : {
  25852. "application/json" : {
  25853. "schema" : {
  25854. "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryCreateResponseModel"
  25855. }
  25856. }
  25857. }
  25858. },
  25859. "default" : {
  25860. "description" : "请求失败",
  25861. "content" : {
  25862. "application/json" : {
  25863. "schema" : {
  25864. "anyOf" : [ {
  25865. "$ref" : "#/components/schemas/CommonErrorType"
  25866. }, {
  25867. "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryCreateErrorResponseModel"
  25868. } ]
  25869. }
  25870. }
  25871. }
  25872. }
  25873. },
  25874. "requestBody" : {
  25875. "content" : {
  25876. "application/json" : {
  25877. "schema" : {
  25878. "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryCreateModel"
  25879. }
  25880. }
  25881. },
  25882. "required" : false
  25883. }
  25884. }
  25885. },
  25886. "/v3/alipay/open/mini/tips/delivery/modify" : {
  25887. "post" : {
  25888. "tags" : [ "alipay.open.mini.tips.delivery" ],
  25889. "summary" : "小程序收藏引导投放活动修改",
  25890. "description" : "小程序收藏引导投放活动修改接口,目前支持活动状态的修改,包括暂停、恢复、终止单个收藏引导活动。",
  25891. "operationId" : "alipay.open.mini.tips.delivery.modify",
  25892. "responses" : {
  25893. "200" : {
  25894. "description" : "common response",
  25895. "content" : {
  25896. "application/json" : {
  25897. "schema" : {
  25898. "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryModifyResponseModel"
  25899. }
  25900. }
  25901. }
  25902. },
  25903. "default" : {
  25904. "description" : "请求失败",
  25905. "content" : {
  25906. "application/json" : {
  25907. "schema" : {
  25908. "anyOf" : [ {
  25909. "$ref" : "#/components/schemas/CommonErrorType"
  25910. }, {
  25911. "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryModifyErrorResponseModel"
  25912. } ]
  25913. }
  25914. }
  25915. }
  25916. }
  25917. },
  25918. "requestBody" : {
  25919. "content" : {
  25920. "application/json" : {
  25921. "schema" : {
  25922. "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryModifyModel"
  25923. }
  25924. }
  25925. },
  25926. "required" : false
  25927. }
  25928. }
  25929. },
  25930. "/v3/alipay/open/mini/tips/delivery/query" : {
  25931. "get" : {
  25932. "tags" : [ "alipay.open.mini.tips.delivery" ],
  25933. "summary" : "小程序收藏引导投放活动详情查询",
  25934. "description" : "小程序收藏引导投放活动配置详情查询接口,获取当前活动ID对应活动的配置及状态信息。",
  25935. "operationId" : "alipay.open.mini.tips.delivery.query",
  25936. "responses" : {
  25937. "200" : {
  25938. "description" : "common response",
  25939. "content" : {
  25940. "application/json" : {
  25941. "schema" : {
  25942. "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryQueryResponseModel"
  25943. }
  25944. }
  25945. }
  25946. },
  25947. "default" : {
  25948. "description" : "请求失败",
  25949. "content" : {
  25950. "application/json" : {
  25951. "schema" : {
  25952. "anyOf" : [ {
  25953. "$ref" : "#/components/schemas/CommonErrorType"
  25954. }, {
  25955. "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryQueryErrorResponseModel"
  25956. } ]
  25957. }
  25958. }
  25959. }
  25960. }
  25961. },
  25962. "parameters" : [ {
  25963. "name" : "delivery_id",
  25964. "in" : "query",
  25965. "description" : "收藏引导投放活动ID,查询收藏引导活动必填参数",
  25966. "schema" : {
  25967. "type" : "string",
  25968. "example" : "20211114000003057595"
  25969. }
  25970. } ]
  25971. }
  25972. },
  25973. "/v3/alipay/open/mini/tips/statistic/query" : {
  25974. "get" : {
  25975. "tags" : [ "alipay.open.mini.tips.statistic" ],
  25976. "summary" : "小程序收藏引导汇总数据查询",
  25977. "description" : "小程序收藏引导tips文案投放汇总数据查询接口。可查询小程序维度或活动维度的tips曝光uv,收藏uv,以及收藏转化率。请先配置投放活动,否则查询结果返回参数为空。",
  25978. "operationId" : "alipay.open.mini.tips.statistic.query",
  25979. "responses" : {
  25980. "200" : {
  25981. "description" : "common response",
  25982. "content" : {
  25983. "application/json" : {
  25984. "schema" : {
  25985. "$ref" : "#/components/schemas/AlipayOpenMiniTipsStatisticQueryResponseModel"
  25986. }
  25987. }
  25988. }
  25989. },
  25990. "default" : {
  25991. "description" : "请求失败",
  25992. "content" : {
  25993. "application/json" : {
  25994. "schema" : {
  25995. "anyOf" : [ {
  25996. "$ref" : "#/components/schemas/CommonErrorType"
  25997. }, {
  25998. "$ref" : "#/components/schemas/AlipayOpenMiniTipsStatisticQueryErrorResponseModel"
  25999. } ]
  26000. }
  26001. }
  26002. }
  26003. }
  26004. },
  26005. "parameters" : [ {
  26006. "name" : "delivery_id",
  26007. "in" : "query",
  26008. "description" : "收藏引导投放活动ID,供查询收藏引导活动配置接口调用\t,当以小程序维度查询数据(query_type为app)时delivery_id为空",
  26009. "schema" : {
  26010. "type" : "string",
  26011. "example" : "20220308000000934758"
  26012. }
  26013. }, {
  26014. "name" : "query_type",
  26015. "in" : "query",
  26016. "description" : "查询类型,表示以当前维度进行数据聚合。\tapp:小程序维度;activity:活动维度;",
  26017. "schema" : {
  26018. "type" : "string",
  26019. "example" : "app"
  26020. }
  26021. }, {
  26022. "name" : "start_date",
  26023. "in" : "query",
  26024. "description" : "查询开始日期,精度为天",
  26025. "schema" : {
  26026. "type" : "string",
  26027. "example" : "20220322"
  26028. }
  26029. }, {
  26030. "name" : "end_date",
  26031. "in" : "query",
  26032. "description" : "查询截止日期,精度为天",
  26033. "schema" : {
  26034. "type" : "string",
  26035. "example" : "20220328"
  26036. }
  26037. } ]
  26038. }
  26039. },
  26040. "/v3/alipay/open/mini/version/audit/apply" : {
  26041. "post" : {
  26042. "tags" : [ "alipay.open.mini.version.audit" ],
  26043. "summary" : "小程序提交审核",
  26044. "description" : "小程序提交审核。\n1、本接口中关于小程序基础信息的一些字段例如小程序名称、小程序logo、客服电话等,这些信息如果你前期已经设置过,平台将会在你本次调用接口的时候,将上一次设置的信息自动填入,所以允许你本次调用时不传入。如果你前期还未设置过这些信息,则本次调用是需要必传的。具体的字段要求详见每个字段的描述。你可以用alipay.open.mini.version.detail.query接口查询小程序信息之前是否已经设置。\n2、小程序版本信息例如小程序版本号、小程序版本描述,这些信息是需要你每次调用接口必传的。\n3、本接口涉及到“审核流程拆分”、“审核加急”、“自动上架”的功能,具体功能详见接口字段audit_rule、speed_up、auto_online描述。",
  26045. "operationId" : "alipay.open.mini.version.audit.apply",
  26046. "responses" : {
  26047. "200" : {
  26048. "description" : "common response",
  26049. "content" : {
  26050. "application/json" : {
  26051. "schema" : {
  26052. "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditApplyResponseModel"
  26053. }
  26054. }
  26055. }
  26056. },
  26057. "default" : {
  26058. "description" : "请求失败",
  26059. "content" : {
  26060. "application/json" : {
  26061. "schema" : {
  26062. "anyOf" : [ {
  26063. "$ref" : "#/components/schemas/CommonErrorType"
  26064. }, {
  26065. "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditApplyErrorResponseModel"
  26066. } ]
  26067. }
  26068. }
  26069. }
  26070. }
  26071. },
  26072. "requestBody" : {
  26073. "content" : {
  26074. "multipart/form-data" : {
  26075. "schema" : {
  26076. "type" : "object",
  26077. "properties" : {
  26078. "app_logo" : {
  26079. "type" : "string",
  26080. "format" : "binary"
  26081. },
  26082. "data" : {
  26083. "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditApplyModel"
  26084. },
  26085. "fifth_license_pic" : {
  26086. "type" : "string",
  26087. "format" : "binary"
  26088. },
  26089. "fifth_screen_shot" : {
  26090. "type" : "string",
  26091. "format" : "binary"
  26092. },
  26093. "first_license_pic" : {
  26094. "type" : "string",
  26095. "format" : "binary"
  26096. },
  26097. "first_screen_shot" : {
  26098. "type" : "string",
  26099. "format" : "binary"
  26100. },
  26101. "first_special_license_pic" : {
  26102. "type" : "string",
  26103. "format" : "binary"
  26104. },
  26105. "fourth_license_pic" : {
  26106. "type" : "string",
  26107. "format" : "binary"
  26108. },
  26109. "fourth_screen_shot" : {
  26110. "type" : "string",
  26111. "format" : "binary"
  26112. },
  26113. "out_door_pic" : {
  26114. "type" : "string",
  26115. "format" : "binary"
  26116. },
  26117. "second_license_pic" : {
  26118. "type" : "string",
  26119. "format" : "binary"
  26120. },
  26121. "second_screen_shot" : {
  26122. "type" : "string",
  26123. "format" : "binary"
  26124. },
  26125. "second_special_license_pic" : {
  26126. "type" : "string",
  26127. "format" : "binary"
  26128. },
  26129. "test_file_name" : {
  26130. "type" : "string",
  26131. "format" : "binary"
  26132. },
  26133. "third_license_pic" : {
  26134. "type" : "string",
  26135. "format" : "binary"
  26136. },
  26137. "third_screen_shot" : {
  26138. "type" : "string",
  26139. "format" : "binary"
  26140. },
  26141. "third_special_license_pic" : {
  26142. "type" : "string",
  26143. "format" : "binary"
  26144. }
  26145. }
  26146. },
  26147. "encoding" : {
  26148. "fifth_license_pic" : {
  26149. "contentType" : "*/*"
  26150. },
  26151. "third_special_license_pic" : {
  26152. "contentType" : "*/*"
  26153. },
  26154. "data" : {
  26155. "contentType" : "application/json"
  26156. },
  26157. "fifth_screen_shot" : {
  26158. "contentType" : "*/*"
  26159. },
  26160. "first_license_pic" : {
  26161. "contentType" : "*/*"
  26162. },
  26163. "test_file_name" : {
  26164. "contentType" : "*/*"
  26165. },
  26166. "first_special_license_pic" : {
  26167. "contentType" : "*/*"
  26168. },
  26169. "first_screen_shot" : {
  26170. "contentType" : "*/*"
  26171. },
  26172. "second_screen_shot" : {
  26173. "contentType" : "*/*"
  26174. },
  26175. "second_license_pic" : {
  26176. "contentType" : "*/*"
  26177. },
  26178. "app_logo" : {
  26179. "contentType" : "*/*"
  26180. },
  26181. "third_screen_shot" : {
  26182. "contentType" : "*/*"
  26183. },
  26184. "fourth_screen_shot" : {
  26185. "contentType" : "*/*"
  26186. },
  26187. "third_license_pic" : {
  26188. "contentType" : "*/*"
  26189. },
  26190. "out_door_pic" : {
  26191. "contentType" : "*/*"
  26192. },
  26193. "second_special_license_pic" : {
  26194. "contentType" : "*/*"
  26195. },
  26196. "fourth_license_pic" : {
  26197. "contentType" : "*/*"
  26198. }
  26199. }
  26200. }
  26201. },
  26202. "required" : false
  26203. }
  26204. }
  26205. },
  26206. "/v3/alipay/open/mini/version/audit/cancel" : {
  26207. "post" : {
  26208. "tags" : [ "alipay.open.mini.version.audit" ],
  26209. "summary" : "小程序撤销审核",
  26210. "description" : "三方实例化小程序撤销审核",
  26211. "operationId" : "alipay.open.mini.version.audit.cancel",
  26212. "responses" : {
  26213. "200" : {
  26214. "description" : "common response",
  26215. "content" : {
  26216. "application/json" : {
  26217. "schema" : {
  26218. "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditCancelResponseModel"
  26219. }
  26220. }
  26221. }
  26222. },
  26223. "default" : {
  26224. "description" : "请求失败",
  26225. "content" : {
  26226. "application/json" : {
  26227. "schema" : {
  26228. "anyOf" : [ {
  26229. "$ref" : "#/components/schemas/CommonErrorType"
  26230. }, {
  26231. "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditCancelErrorResponseModel"
  26232. } ]
  26233. }
  26234. }
  26235. }
  26236. }
  26237. },
  26238. "requestBody" : {
  26239. "content" : {
  26240. "application/json" : {
  26241. "schema" : {
  26242. "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditCancelModel"
  26243. }
  26244. }
  26245. },
  26246. "required" : false
  26247. }
  26248. }
  26249. },
  26250. "/v3/alipay/open/mini/version/audited/cancel" : {
  26251. "post" : {
  26252. "tags" : [ "alipay.open.mini.version.audited" ],
  26253. "summary" : "小程序退回开发",
  26254. "description" : "小程序退回开发",
  26255. "operationId" : "alipay.open.mini.version.audited.cancel",
  26256. "responses" : {
  26257. "200" : {
  26258. "description" : "common response",
  26259. "content" : {
  26260. "application/json" : {
  26261. "schema" : {
  26262. "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditedCancelResponseModel"
  26263. }
  26264. }
  26265. }
  26266. },
  26267. "default" : {
  26268. "description" : "请求失败",
  26269. "content" : {
  26270. "application/json" : {
  26271. "schema" : {
  26272. "anyOf" : [ {
  26273. "$ref" : "#/components/schemas/CommonErrorType"
  26274. }, {
  26275. "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditedCancelErrorResponseModel"
  26276. } ]
  26277. }
  26278. }
  26279. }
  26280. }
  26281. },
  26282. "requestBody" : {
  26283. "content" : {
  26284. "application/json" : {
  26285. "schema" : {
  26286. "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditedCancelModel"
  26287. }
  26288. }
  26289. },
  26290. "required" : false
  26291. }
  26292. }
  26293. },
  26294. "/v3/alipay/open/mini/version/build/query" : {
  26295. "get" : {
  26296. "tags" : [ "alipay.open.mini.version.build" ],
  26297. "summary" : "小程序查询版本构建状态",
  26298. "description" : "小程序查询版本构建状态",
  26299. "operationId" : "alipay.open.mini.version.build.query",
  26300. "responses" : {
  26301. "200" : {
  26302. "description" : "common response",
  26303. "content" : {
  26304. "application/json" : {
  26305. "schema" : {
  26306. "$ref" : "#/components/schemas/AlipayOpenMiniVersionBuildQueryResponseModel"
  26307. }
  26308. }
  26309. }
  26310. },
  26311. "default" : {
  26312. "description" : "请求失败",
  26313. "content" : {
  26314. "application/json" : {
  26315. "schema" : {
  26316. "anyOf" : [ {
  26317. "$ref" : "#/components/schemas/CommonErrorType"
  26318. }, {
  26319. "$ref" : "#/components/schemas/AlipayOpenMiniVersionBuildQueryErrorResponseModel"
  26320. } ]
  26321. }
  26322. }
  26323. }
  26324. }
  26325. },
  26326. "parameters" : [ {
  26327. "name" : "app_version",
  26328. "in" : "query",
  26329. "description" : "小程序版本号",
  26330. "schema" : {
  26331. "type" : "string",
  26332. "example" : "0.0.1"
  26333. }
  26334. }, {
  26335. "name" : "bundle_id",
  26336. "in" : "query",
  26337. "description" : "小程序投放的端参数,默认为支付宝端。支持: \tcom.alipay.alipaywallet:支付宝端。\tcom.alipay.iot.xpaas:IOT端。\t例如:投放到支付宝钱包为支付宝端需传入 com.alipay.alipaywallet。",
  26338. "schema" : {
  26339. "type" : "string",
  26340. "example" : "com.alipay.alipaywallet"
  26341. }
  26342. } ]
  26343. }
  26344. },
  26345. "/v3/alipay/open/mini/version/delete" : {
  26346. "post" : {
  26347. "tags" : [ "alipay.open.mini.version" ],
  26348. "summary" : "小程序删除版本",
  26349. "description" : "小程序删除版本",
  26350. "operationId" : "alipay.open.mini.version.delete",
  26351. "responses" : {
  26352. "200" : {
  26353. "description" : "common response",
  26354. "content" : {
  26355. "application/json" : {
  26356. "schema" : {
  26357. "$ref" : "#/components/schemas/AlipayOpenMiniVersionDeleteResponseModel"
  26358. }
  26359. }
  26360. }
  26361. },
  26362. "default" : {
  26363. "description" : "请求失败",
  26364. "content" : {
  26365. "application/json" : {
  26366. "schema" : {
  26367. "anyOf" : [ {
  26368. "$ref" : "#/components/schemas/CommonErrorType"
  26369. }, {
  26370. "$ref" : "#/components/schemas/AlipayOpenMiniVersionDeleteErrorResponseModel"
  26371. } ]
  26372. }
  26373. }
  26374. }
  26375. }
  26376. },
  26377. "requestBody" : {
  26378. "content" : {
  26379. "application/json" : {
  26380. "schema" : {
  26381. "$ref" : "#/components/schemas/AlipayOpenMiniVersionDeleteModel"
  26382. }
  26383. }
  26384. },
  26385. "required" : false
  26386. }
  26387. }
  26388. },
  26389. "/v3/alipay/open/mini/version/detail/query" : {
  26390. "get" : {
  26391. "tags" : [ "alipay.open.mini.version.detail" ],
  26392. "summary" : "小程序版本详情查询",
  26393. "description" : "小程序版本详情查询",
  26394. "operationId" : "alipay.open.mini.version.detail.query",
  26395. "responses" : {
  26396. "200" : {
  26397. "description" : "common response",
  26398. "content" : {
  26399. "application/json" : {
  26400. "schema" : {
  26401. "$ref" : "#/components/schemas/AlipayOpenMiniVersionDetailQueryResponseModel"
  26402. }
  26403. }
  26404. }
  26405. },
  26406. "default" : {
  26407. "description" : "请求失败",
  26408. "content" : {
  26409. "application/json" : {
  26410. "schema" : {
  26411. "anyOf" : [ {
  26412. "$ref" : "#/components/schemas/CommonErrorType"
  26413. }, {
  26414. "$ref" : "#/components/schemas/AlipayOpenMiniVersionDetailQueryErrorResponseModel"
  26415. } ]
  26416. }
  26417. }
  26418. }
  26419. }
  26420. },
  26421. "parameters" : [ {
  26422. "name" : "app_version",
  26423. "in" : "query",
  26424. "description" : "小程序版本号",
  26425. "schema" : {
  26426. "type" : "string",
  26427. "example" : "0.0.1"
  26428. }
  26429. }, {
  26430. "name" : "bundle_id",
  26431. "in" : "query",
  26432. "description" : "小程序投放的端参数,支持:\tcom.alipay.iot.xpaas(IoT端)。\tcom.alipay.alipaywallet(支付宝钱包端)。\t例如投放到支付宝钱包是支付宝端。该参数可选,默认支付宝端。",
  26433. "schema" : {
  26434. "type" : "string",
  26435. "example" : "com.alipay.alipaywallet"
  26436. }
  26437. } ]
  26438. }
  26439. },
  26440. "/v3/alipay/open/mini/version/gray/cancel" : {
  26441. "post" : {
  26442. "tags" : [ "alipay.open.mini.version.gray" ],
  26443. "summary" : "小程序结束灰度",
  26444. "description" : "小程序结束灰度",
  26445. "operationId" : "alipay.open.mini.version.gray.cancel",
  26446. "responses" : {
  26447. "200" : {
  26448. "description" : "common response",
  26449. "content" : {
  26450. "application/json" : {
  26451. "schema" : {
  26452. "$ref" : "#/components/schemas/AlipayOpenMiniVersionGrayCancelResponseModel"
  26453. }
  26454. }
  26455. }
  26456. },
  26457. "default" : {
  26458. "description" : "请求失败",
  26459. "content" : {
  26460. "application/json" : {
  26461. "schema" : {
  26462. "anyOf" : [ {
  26463. "$ref" : "#/components/schemas/CommonErrorType"
  26464. }, {
  26465. "$ref" : "#/components/schemas/AlipayOpenMiniVersionGrayCancelErrorResponseModel"
  26466. } ]
  26467. }
  26468. }
  26469. }
  26470. }
  26471. },
  26472. "requestBody" : {
  26473. "content" : {
  26474. "application/json" : {
  26475. "schema" : {
  26476. "$ref" : "#/components/schemas/AlipayOpenMiniVersionGrayCancelModel"
  26477. }
  26478. }
  26479. },
  26480. "required" : false
  26481. }
  26482. }
  26483. },
  26484. "/v3/alipay/open/mini/version/gray/online" : {
  26485. "post" : {
  26486. "tags" : [ "alipay.open.mini.version.gray" ],
  26487. "summary" : "小程序灰度上架",
  26488. "description" : "小程序灰度上架",
  26489. "operationId" : "alipay.open.mini.version.gray.online",
  26490. "responses" : {
  26491. "200" : {
  26492. "description" : "common response",
  26493. "content" : {
  26494. "application/json" : {
  26495. "schema" : {
  26496. "$ref" : "#/components/schemas/AlipayOpenMiniVersionGrayOnlineResponseModel"
  26497. }
  26498. }
  26499. }
  26500. },
  26501. "default" : {
  26502. "description" : "请求失败",
  26503. "content" : {
  26504. "application/json" : {
  26505. "schema" : {
  26506. "anyOf" : [ {
  26507. "$ref" : "#/components/schemas/CommonErrorType"
  26508. }, {
  26509. "$ref" : "#/components/schemas/AlipayOpenMiniVersionGrayOnlineErrorResponseModel"
  26510. } ]
  26511. }
  26512. }
  26513. }
  26514. }
  26515. },
  26516. "requestBody" : {
  26517. "content" : {
  26518. "application/json" : {
  26519. "schema" : {
  26520. "$ref" : "#/components/schemas/AlipayOpenMiniVersionGrayOnlineModel"
  26521. }
  26522. }
  26523. },
  26524. "required" : false
  26525. }
  26526. }
  26527. },
  26528. "/v3/alipay/open/mini/version/list/query" : {
  26529. "get" : {
  26530. "tags" : [ "alipay.open.mini.version.list" ],
  26531. "summary" : "小程序版本列表查询",
  26532. "description" : "根据状态、端分页查询小程序版本基础信息列表,查询结果根据版本号大小降序排列,即0.0.2在前,0.0.1在后。",
  26533. "operationId" : "alipay.open.mini.version.list.query",
  26534. "responses" : {
  26535. "200" : {
  26536. "description" : "common response",
  26537. "content" : {
  26538. "application/json" : {
  26539. "schema" : {
  26540. "$ref" : "#/components/schemas/AlipayOpenMiniVersionListQueryResponseModel"
  26541. }
  26542. }
  26543. }
  26544. },
  26545. "default" : {
  26546. "description" : "请求失败",
  26547. "content" : {
  26548. "application/json" : {
  26549. "schema" : {
  26550. "anyOf" : [ {
  26551. "$ref" : "#/components/schemas/CommonErrorType"
  26552. }, {
  26553. "$ref" : "#/components/schemas/AlipayOpenMiniVersionListQueryErrorResponseModel"
  26554. } ]
  26555. }
  26556. }
  26557. }
  26558. }
  26559. },
  26560. "parameters" : [ {
  26561. "name" : "bundle_id",
  26562. "in" : "query",
  26563. "description" : "端参数,用于查询多端版本,不传默认为支付宝端。\t高德端:com.amap.app",
  26564. "schema" : {
  26565. "type" : "string",
  26566. "example" : "com.alipay.alipaywallet"
  26567. }
  26568. }, {
  26569. "name" : "version_status",
  26570. "in" : "query",
  26571. "description" : "版本状态列表,用英文逗号\",\"分割,可选;不填默认不返回,状态可选值以及说明如下-INIT: 开发中, AUDITING: 审核中, AUDIT_REJECT: 审核驳回, WAIT_RELEASE: 待上架, BASE_AUDIT_PASS: 准入不可营销, GRAY: 灰度中, RELEASE: 已上架, OFFLINE: 已下架, AUDIT_OFFLINE: 已下架;",
  26572. "schema" : {
  26573. "type" : "string",
  26574. "example" : "AUDITING"
  26575. }
  26576. } ]
  26577. }
  26578. },
  26579. "/v3/alipay/open/mini/version/offline" : {
  26580. "post" : {
  26581. "tags" : [ "alipay.open.mini.version" ],
  26582. "summary" : "小程序下架",
  26583. "description" : "小程序下架",
  26584. "operationId" : "alipay.open.mini.version.offline",
  26585. "responses" : {
  26586. "200" : {
  26587. "description" : "common response",
  26588. "content" : {
  26589. "application/json" : {
  26590. "schema" : {
  26591. "$ref" : "#/components/schemas/AlipayOpenMiniVersionOfflineResponseModel"
  26592. }
  26593. }
  26594. }
  26595. },
  26596. "default" : {
  26597. "description" : "请求失败",
  26598. "content" : {
  26599. "application/json" : {
  26600. "schema" : {
  26601. "anyOf" : [ {
  26602. "$ref" : "#/components/schemas/CommonErrorType"
  26603. }, {
  26604. "$ref" : "#/components/schemas/AlipayOpenMiniVersionOfflineErrorResponseModel"
  26605. } ]
  26606. }
  26607. }
  26608. }
  26609. }
  26610. },
  26611. "requestBody" : {
  26612. "content" : {
  26613. "application/json" : {
  26614. "schema" : {
  26615. "$ref" : "#/components/schemas/AlipayOpenMiniVersionOfflineModel"
  26616. }
  26617. }
  26618. },
  26619. "required" : false
  26620. }
  26621. }
  26622. },
  26623. "/v3/alipay/open/mini/version/online" : {
  26624. "post" : {
  26625. "tags" : [ "alipay.open.mini.version" ],
  26626. "summary" : "小程序上架",
  26627. "description" : "小程序上架",
  26628. "operationId" : "alipay.open.mini.version.online",
  26629. "responses" : {
  26630. "200" : {
  26631. "description" : "common response",
  26632. "content" : {
  26633. "application/json" : {
  26634. "schema" : {
  26635. "$ref" : "#/components/schemas/AlipayOpenMiniVersionOnlineResponseModel"
  26636. }
  26637. }
  26638. }
  26639. },
  26640. "default" : {
  26641. "description" : "请求失败",
  26642. "content" : {
  26643. "application/json" : {
  26644. "schema" : {
  26645. "anyOf" : [ {
  26646. "$ref" : "#/components/schemas/CommonErrorType"
  26647. }, {
  26648. "$ref" : "#/components/schemas/AlipayOpenMiniVersionOnlineErrorResponseModel"
  26649. } ]
  26650. }
  26651. }
  26652. }
  26653. }
  26654. },
  26655. "requestBody" : {
  26656. "content" : {
  26657. "application/json" : {
  26658. "schema" : {
  26659. "$ref" : "#/components/schemas/AlipayOpenMiniVersionOnlineModel"
  26660. }
  26661. }
  26662. },
  26663. "required" : false
  26664. }
  26665. }
  26666. },
  26667. "/v3/alipay/open/mini/version/rollback" : {
  26668. "post" : {
  26669. "tags" : [ "alipay.open.mini.version" ],
  26670. "summary" : "小程序回滚",
  26671. "description" : "小程序回滚",
  26672. "operationId" : "alipay.open.mini.version.rollback",
  26673. "responses" : {
  26674. "200" : {
  26675. "description" : "common response",
  26676. "content" : {
  26677. "application/json" : {
  26678. "schema" : {
  26679. "$ref" : "#/components/schemas/AlipayOpenMiniVersionRollbackResponseModel"
  26680. }
  26681. }
  26682. }
  26683. },
  26684. "default" : {
  26685. "description" : "请求失败",
  26686. "content" : {
  26687. "application/json" : {
  26688. "schema" : {
  26689. "anyOf" : [ {
  26690. "$ref" : "#/components/schemas/CommonErrorType"
  26691. }, {
  26692. "$ref" : "#/components/schemas/AlipayOpenMiniVersionRollbackErrorResponseModel"
  26693. } ]
  26694. }
  26695. }
  26696. }
  26697. }
  26698. },
  26699. "requestBody" : {
  26700. "content" : {
  26701. "application/json" : {
  26702. "schema" : {
  26703. "$ref" : "#/components/schemas/AlipayOpenMiniVersionRollbackModel"
  26704. }
  26705. }
  26706. },
  26707. "required" : false
  26708. }
  26709. }
  26710. },
  26711. "/v3/alipay/open/mini/version/upload" : {
  26712. "post" : {
  26713. "tags" : [ "alipay.open.mini.version" ],
  26714. "summary" : "小程序基于模板上传版本",
  26715. "description" : "小程序基于模板上传版本",
  26716. "operationId" : "alipay.open.mini.version.upload",
  26717. "responses" : {
  26718. "200" : {
  26719. "description" : "common response",
  26720. "content" : {
  26721. "application/json" : {
  26722. "schema" : {
  26723. "$ref" : "#/components/schemas/AlipayOpenMiniVersionUploadResponseModel"
  26724. }
  26725. }
  26726. }
  26727. },
  26728. "default" : {
  26729. "description" : "请求失败",
  26730. "content" : {
  26731. "application/json" : {
  26732. "schema" : {
  26733. "anyOf" : [ {
  26734. "$ref" : "#/components/schemas/CommonErrorType"
  26735. }, {
  26736. "$ref" : "#/components/schemas/AlipayOpenMiniVersionUploadErrorResponseModel"
  26737. } ]
  26738. }
  26739. }
  26740. }
  26741. }
  26742. },
  26743. "requestBody" : {
  26744. "content" : {
  26745. "application/json" : {
  26746. "schema" : {
  26747. "$ref" : "#/components/schemas/AlipayOpenMiniVersionUploadModel"
  26748. }
  26749. }
  26750. },
  26751. "required" : false
  26752. }
  26753. }
  26754. },
  26755. "/v3/alipay/open/mini/widget/data/sync" : {
  26756. "post" : {
  26757. "tags" : [ "alipay.open.mini.widget.data" ],
  26758. "summary" : "小程序橱窗数据同步",
  26759. "description" : "面向商品售卖类的小程序橱窗,提供的橱窗内展示数据同步能力,同步后会进行文本和图片信息审核,审核完成后通知结果通过openmq消息通知",
  26760. "operationId" : "alipay.open.mini.widget.data.sync",
  26761. "responses" : {
  26762. "200" : {
  26763. "description" : "common response",
  26764. "content" : {
  26765. "application/json" : {
  26766. "schema" : {
  26767. "$ref" : "#/components/schemas/AlipayOpenMiniWidgetDataSyncResponseModel"
  26768. }
  26769. }
  26770. }
  26771. },
  26772. "default" : {
  26773. "description" : "请求失败",
  26774. "content" : {
  26775. "application/json" : {
  26776. "schema" : {
  26777. "anyOf" : [ {
  26778. "$ref" : "#/components/schemas/CommonErrorType"
  26779. }, {
  26780. "$ref" : "#/components/schemas/AlipayOpenMiniWidgetDataSyncErrorResponseModel"
  26781. } ]
  26782. }
  26783. }
  26784. }
  26785. }
  26786. },
  26787. "requestBody" : {
  26788. "content" : {
  26789. "application/json" : {
  26790. "schema" : {
  26791. "$ref" : "#/components/schemas/AlipayOpenMiniWidgetDataSyncModel"
  26792. }
  26793. }
  26794. },
  26795. "required" : false
  26796. }
  26797. }
  26798. },
  26799. "/v3/alipay/open/mini/widget/goods/modify" : {
  26800. "patch" : {
  26801. "tags" : [ "alipay.open.mini.widget.goods" ],
  26802. "summary" : "小部件商品修改",
  26803. "description" : "面向商品售卖类的小部件,提供的商品信息修改能力,修改后会进行文本和图片信息审核,审核完成后通知结果通过openmq消息通知",
  26804. "operationId" : "alipay.open.mini.widget.goods.modify",
  26805. "responses" : {
  26806. "200" : {
  26807. "description" : "common response",
  26808. "content" : {
  26809. "application/json" : {
  26810. "schema" : {
  26811. "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsModifyResponseModel"
  26812. }
  26813. }
  26814. }
  26815. },
  26816. "default" : {
  26817. "description" : "请求失败",
  26818. "content" : {
  26819. "application/json" : {
  26820. "schema" : {
  26821. "anyOf" : [ {
  26822. "$ref" : "#/components/schemas/CommonErrorType"
  26823. }, {
  26824. "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsModifyErrorResponseModel"
  26825. } ]
  26826. }
  26827. }
  26828. }
  26829. }
  26830. },
  26831. "requestBody" : {
  26832. "content" : {
  26833. "application/json" : {
  26834. "schema" : {
  26835. "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsModifyModel"
  26836. }
  26837. }
  26838. },
  26839. "required" : false
  26840. }
  26841. }
  26842. },
  26843. "/v3/alipay/open/mini/widget/goods/query" : {
  26844. "get" : {
  26845. "tags" : [ "alipay.open.mini.widget.goods" ],
  26846. "summary" : "小部件商品查询",
  26847. "description" : "面向商品售卖类的小部件,提供商品信息查询能力,返回审核通过的商品信息",
  26848. "operationId" : "alipay.open.mini.widget.goods.query",
  26849. "responses" : {
  26850. "200" : {
  26851. "description" : "common response",
  26852. "content" : {
  26853. "application/json" : {
  26854. "schema" : {
  26855. "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsQueryResponseModel"
  26856. }
  26857. }
  26858. }
  26859. },
  26860. "default" : {
  26861. "description" : "请求失败",
  26862. "content" : {
  26863. "application/json" : {
  26864. "schema" : {
  26865. "anyOf" : [ {
  26866. "$ref" : "#/components/schemas/CommonErrorType"
  26867. }, {
  26868. "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsQueryErrorResponseModel"
  26869. } ]
  26870. }
  26871. }
  26872. }
  26873. }
  26874. },
  26875. "parameters" : [ {
  26876. "name" : "mini_app_id",
  26877. "in" : "query",
  26878. "description" : "根据承接品的商家小程序ID查询",
  26879. "schema" : {
  26880. "type" : "string",
  26881. "example" : "2017072607907880"
  26882. }
  26883. }, {
  26884. "name" : "pid",
  26885. "in" : "query",
  26886. "description" : "根据承接该品的小程序背后的商家查询",
  26887. "schema" : {
  26888. "type" : "string",
  26889. "example" : "2088xxxxxxxxx"
  26890. }
  26891. }, {
  26892. "name" : "goods_id",
  26893. "in" : "query",
  26894. "description" : "根据商品的唯一标识查询",
  26895. "schema" : {
  26896. "type" : "string",
  26897. "example" : "8948968498"
  26898. }
  26899. }, {
  26900. "name" : "page_num",
  26901. "in" : "query",
  26902. "description" : "查询第几页,最小值为1",
  26903. "schema" : {
  26904. "type" : "integer",
  26905. "example" : "1"
  26906. }
  26907. }, {
  26908. "name" : "page_size",
  26909. "in" : "query",
  26910. "description" : "查询页面数量,最大值为50",
  26911. "schema" : {
  26912. "type" : "integer",
  26913. "example" : "10"
  26914. }
  26915. } ]
  26916. }
  26917. },
  26918. "/v3/alipay/open/mini/widget/goods/upload" : {
  26919. "post" : {
  26920. "tags" : [ "alipay.open.mini.widget.goods" ],
  26921. "summary" : "小部件商品上传",
  26922. "description" : "面向商品售卖类的小部件,提供的商品信息上传能力,上传后会进行文本和图片信息审核,审核完成后通知结果通过openmq消息通知",
  26923. "operationId" : "alipay.open.mini.widget.goods.upload",
  26924. "responses" : {
  26925. "200" : {
  26926. "description" : "common response",
  26927. "content" : {
  26928. "application/json" : {
  26929. "schema" : {
  26930. "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsUploadResponseModel"
  26931. }
  26932. }
  26933. }
  26934. },
  26935. "default" : {
  26936. "description" : "请求失败",
  26937. "content" : {
  26938. "application/json" : {
  26939. "schema" : {
  26940. "anyOf" : [ {
  26941. "$ref" : "#/components/schemas/CommonErrorType"
  26942. }, {
  26943. "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsUploadErrorResponseModel"
  26944. } ]
  26945. }
  26946. }
  26947. }
  26948. }
  26949. },
  26950. "requestBody" : {
  26951. "content" : {
  26952. "application/json" : {
  26953. "schema" : {
  26954. "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsUploadModel"
  26955. }
  26956. }
  26957. },
  26958. "required" : false
  26959. }
  26960. }
  26961. },
  26962. "/v3/alipay/open/operation/openbizmock/testpathkey/query/{keykey}/{a}" : {
  26963. "post" : {
  26964. "tags" : [ "alipay.open.operation.openbizmock.testpathkey" ],
  26965. "summary" : "测试网关协议3.0key和path",
  26966. "description" : "测试网关协议3.0key和path",
  26967. "operationId" : "alipay.open.operation.openbizmock.testpathkey.query",
  26968. "responses" : {
  26969. "200" : {
  26970. "description" : "common response",
  26971. "content" : {
  26972. "application/json" : {
  26973. "schema" : {
  26974. "$ref" : "#/components/schemas/AlipayOpenOperationOpenbizmockTestpathkeyQueryResponseModel"
  26975. }
  26976. }
  26977. }
  26978. },
  26979. "default" : {
  26980. "description" : "请求失败",
  26981. "content" : {
  26982. "application/json" : {
  26983. "schema" : {
  26984. "anyOf" : [ {
  26985. "$ref" : "#/components/schemas/CommonErrorType"
  26986. }, {
  26987. "$ref" : "#/components/schemas/AlipayOpenOperationOpenbizmockTestpathkeyQueryErrorResponseModel"
  26988. } ]
  26989. }
  26990. }
  26991. }
  26992. }
  26993. },
  26994. "parameters" : [ {
  26995. "name" : "keykey",
  26996. "in" : "path",
  26997. "description" : "ceshi",
  26998. "required" : true,
  26999. "schema" : {
  27000. "type" : "string",
  27001. "example" : "keykey"
  27002. }
  27003. }, {
  27004. "name" : "a",
  27005. "in" : "path",
  27006. "description" : "测试",
  27007. "required" : true,
  27008. "schema" : {
  27009. "type" : "string",
  27010. "example" : "a"
  27011. }
  27012. }, {
  27013. "name" : "b",
  27014. "in" : "query",
  27015. "description" : "ceshi",
  27016. "schema" : {
  27017. "type" : "string",
  27018. "example" : "b"
  27019. }
  27020. }, {
  27021. "name" : "c",
  27022. "in" : "query",
  27023. "description" : "测试",
  27024. "schema" : {
  27025. "type" : "string",
  27026. "example" : "c"
  27027. }
  27028. } ],
  27029. "requestBody" : {
  27030. "content" : {
  27031. "application/json" : {
  27032. "schema" : {
  27033. "$ref" : "#/components/schemas/AlipayOpenOperationOpenbizmockTestpathkeyQueryModel"
  27034. }
  27035. }
  27036. },
  27037. "required" : false
  27038. }
  27039. }
  27040. },
  27041. "/v3/alipay/open/public/account/create" : {
  27042. "post" : {
  27043. "tags" : [ "alipay.open.public.account" ],
  27044. "summary" : "添加绑定商户会员号",
  27045. "description" : "当用户成为商户的关注用户后,可以在商户的服务窗中点击“添加绑定商户会员号”功能,支付宝系统收到操作请求后将该动作通知给商户(使用用户发送信息到商户接口,其中eventType(事件类型)为click,actionParam(按钮标识)为authentication),商户根据此通知调用商户回复消息接口(其中须包含Url链接地址),支付宝收到商户的回复消息中的链接地址后,自动跳转至商户平台的上商户会员绑定界面中,让用户完成账户绑定。 当用户有效完成账户绑定后,商户调用本接口,把绑定结果数据通知给支付宝。",
  27046. "operationId" : "alipay.open.public.account.create",
  27047. "responses" : {
  27048. "200" : {
  27049. "description" : "common response",
  27050. "content" : {
  27051. "application/json" : {
  27052. "schema" : {
  27053. "$ref" : "#/components/schemas/AlipayOpenPublicAccountCreateResponseModel"
  27054. }
  27055. }
  27056. }
  27057. },
  27058. "default" : {
  27059. "description" : "请求失败",
  27060. "content" : {
  27061. "application/json" : {
  27062. "schema" : {
  27063. "anyOf" : [ {
  27064. "$ref" : "#/components/schemas/CommonErrorType"
  27065. }, {
  27066. "$ref" : "#/components/schemas/AlipayOpenPublicAccountCreateErrorResponseModel"
  27067. } ]
  27068. }
  27069. }
  27070. }
  27071. }
  27072. },
  27073. "requestBody" : {
  27074. "content" : {
  27075. "application/json" : {
  27076. "schema" : {
  27077. "$ref" : "#/components/schemas/AlipayOpenPublicAccountCreateModel"
  27078. }
  27079. }
  27080. },
  27081. "required" : false
  27082. }
  27083. }
  27084. },
  27085. "/v3/alipay/open/public/account/delete" : {
  27086. "delete" : {
  27087. "tags" : [ "alipay.open.public.account" ],
  27088. "summary" : "解除绑定商户会员号",
  27089. "description" : "在支付宝服务窗中目前一共有三种解除绑定商户会员号的场景,具体如下:\r\n用户取消关注服务窗\r\n用户在服务窗内手动执行解除绑定操作\r\n开发者调用解除绑定商户会员号接口解除绑定",
  27090. "operationId" : "alipay.open.public.account.delete",
  27091. "responses" : {
  27092. "200" : {
  27093. "description" : "common response",
  27094. "content" : {
  27095. "application/json" : {
  27096. "schema" : {
  27097. "$ref" : "#/components/schemas/AlipayOpenPublicAccountDeleteResponseModel"
  27098. }
  27099. }
  27100. }
  27101. },
  27102. "default" : {
  27103. "description" : "请求失败",
  27104. "content" : {
  27105. "application/json" : {
  27106. "schema" : {
  27107. "anyOf" : [ {
  27108. "$ref" : "#/components/schemas/CommonErrorType"
  27109. }, {
  27110. "$ref" : "#/components/schemas/AlipayOpenPublicAccountDeleteErrorResponseModel"
  27111. } ]
  27112. }
  27113. }
  27114. }
  27115. }
  27116. },
  27117. "parameters" : [ {
  27118. "name" : "agreement_id",
  27119. "in" : "query",
  27120. "description" : "协议号,商户会员在支付宝服务窗账号中的唯一标识,与bind_account_no不能同时为空",
  27121. "schema" : {
  27122. "type" : "string",
  27123. "example" : "29022222"
  27124. }
  27125. }, {
  27126. "name" : "bind_account_no",
  27127. "in" : "query",
  27128. "description" : "绑定帐号,建议在开发者的系统中保持唯一性,与agreement_id不能同时为空",
  27129. "schema" : {
  27130. "type" : "string",
  27131. "example" : "test001"
  27132. }
  27133. }, {
  27134. "name" : "from_user_id",
  27135. "in" : "query",
  27136. "description" : "绑定用户的支付宝userid,2088开头16位长度的字符串,与agreementId不能同时为空",
  27137. "schema" : {
  27138. "type" : "string",
  27139. "example" : "2088656734541243"
  27140. }
  27141. }, {
  27142. "name" : "open_id",
  27143. "in" : "query",
  27144. "description" : "支付宝用户的唯一标识",
  27145. "schema" : {
  27146. "type" : "string",
  27147. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  27148. }
  27149. } ]
  27150. }
  27151. },
  27152. "/v3/alipay/open/public/account/query" : {
  27153. "get" : {
  27154. "tags" : [ "alipay.open.public.account" ],
  27155. "summary" : "查询绑定商户会员号",
  27156. "description" : "当用户成为商户的关注用户之后,则商户可以通过本接口查询关注者的绑定账户,以便补全异常情况下的单边账户数据。",
  27157. "operationId" : "alipay.open.public.account.query",
  27158. "responses" : {
  27159. "200" : {
  27160. "description" : "common response",
  27161. "content" : {
  27162. "application/json" : {
  27163. "schema" : {
  27164. "$ref" : "#/components/schemas/AlipayOpenPublicAccountQueryResponseModel"
  27165. }
  27166. }
  27167. }
  27168. },
  27169. "default" : {
  27170. "description" : "请求失败",
  27171. "content" : {
  27172. "application/json" : {
  27173. "schema" : {
  27174. "anyOf" : [ {
  27175. "$ref" : "#/components/schemas/CommonErrorType"
  27176. }, {
  27177. "$ref" : "#/components/schemas/AlipayOpenPublicAccountQueryErrorResponseModel"
  27178. } ]
  27179. }
  27180. }
  27181. }
  27182. }
  27183. },
  27184. "parameters" : [ {
  27185. "name" : "user_id",
  27186. "in" : "query",
  27187. "description" : "用户的支付宝用户号,2088开头。",
  27188. "schema" : {
  27189. "type" : "string",
  27190. "example" : "2088123412341234"
  27191. }
  27192. }, {
  27193. "name" : "open_id",
  27194. "in" : "query",
  27195. "description" : "支付宝用户的唯一标识",
  27196. "schema" : {
  27197. "type" : "string",
  27198. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  27199. }
  27200. } ]
  27201. }
  27202. },
  27203. "/v3/alipay/open/public/account/reset" : {
  27204. "post" : {
  27205. "tags" : [ "alipay.open.public.account" ],
  27206. "summary" : "重新设置绑定商家会员号",
  27207. "description" : "如果商户想要重置已经添加的外部账户,可以通过该接口完成。重置后,原有的外部户将删除,新的外部户添加进去。",
  27208. "operationId" : "alipay.open.public.account.reset",
  27209. "responses" : {
  27210. "200" : {
  27211. "description" : "common response",
  27212. "content" : {
  27213. "application/json" : {
  27214. "schema" : {
  27215. "$ref" : "#/components/schemas/AlipayOpenPublicAccountResetResponseModel"
  27216. }
  27217. }
  27218. }
  27219. },
  27220. "default" : {
  27221. "description" : "请求失败",
  27222. "content" : {
  27223. "application/json" : {
  27224. "schema" : {
  27225. "anyOf" : [ {
  27226. "$ref" : "#/components/schemas/CommonErrorType"
  27227. }, {
  27228. "$ref" : "#/components/schemas/AlipayOpenPublicAccountResetErrorResponseModel"
  27229. } ]
  27230. }
  27231. }
  27232. }
  27233. }
  27234. },
  27235. "requestBody" : {
  27236. "content" : {
  27237. "application/json" : {
  27238. "schema" : {
  27239. "$ref" : "#/components/schemas/AlipayOpenPublicAccountResetModel"
  27240. }
  27241. }
  27242. },
  27243. "required" : false
  27244. }
  27245. }
  27246. },
  27247. "/v3/alipay/open/public/advert/batchquery" : {
  27248. "post" : {
  27249. "tags" : [ "alipay.open.public.advert" ],
  27250. "summary" : "生活号广告位查询接口",
  27251. "description" : "可以通过此接口查询所有广告位的配置信息",
  27252. "operationId" : "alipay.open.public.advert.batchquery",
  27253. "responses" : {
  27254. "200" : {
  27255. "description" : "common response",
  27256. "content" : {
  27257. "application/json" : {
  27258. "schema" : {
  27259. "$ref" : "#/components/schemas/AlipayOpenPublicAdvertBatchqueryResponseModel"
  27260. }
  27261. }
  27262. }
  27263. },
  27264. "default" : {
  27265. "description" : "请求失败",
  27266. "content" : {
  27267. "application/json" : {
  27268. "schema" : {
  27269. "anyOf" : [ {
  27270. "$ref" : "#/components/schemas/CommonErrorType"
  27271. }, {
  27272. "$ref" : "#/components/schemas/AlipayOpenPublicAdvertBatchqueryErrorResponseModel"
  27273. } ]
  27274. }
  27275. }
  27276. }
  27277. }
  27278. }
  27279. }
  27280. },
  27281. "/v3/alipay/open/public/advert/create" : {
  27282. "post" : {
  27283. "tags" : [ "alipay.open.public.advert" ],
  27284. "summary" : "生活号广告位添加接口",
  27285. "description" : "可通过本接口在生活号主页添加广告位,根据业务需求配置不同的图片和跳转链接",
  27286. "operationId" : "alipay.open.public.advert.create",
  27287. "responses" : {
  27288. "200" : {
  27289. "description" : "common response",
  27290. "content" : {
  27291. "application/json" : {
  27292. "schema" : {
  27293. "$ref" : "#/components/schemas/AlipayOpenPublicAdvertCreateResponseModel"
  27294. }
  27295. }
  27296. }
  27297. },
  27298. "default" : {
  27299. "description" : "请求失败",
  27300. "content" : {
  27301. "application/json" : {
  27302. "schema" : {
  27303. "anyOf" : [ {
  27304. "$ref" : "#/components/schemas/CommonErrorType"
  27305. }, {
  27306. "$ref" : "#/components/schemas/AlipayOpenPublicAdvertCreateErrorResponseModel"
  27307. } ]
  27308. }
  27309. }
  27310. }
  27311. }
  27312. },
  27313. "requestBody" : {
  27314. "content" : {
  27315. "application/json" : {
  27316. "schema" : {
  27317. "$ref" : "#/components/schemas/AlipayOpenPublicAdvertCreateModel"
  27318. }
  27319. }
  27320. },
  27321. "required" : false
  27322. }
  27323. }
  27324. },
  27325. "/v3/alipay/open/public/advert/delete" : {
  27326. "delete" : {
  27327. "tags" : [ "alipay.open.public.advert" ],
  27328. "summary" : "生活号广告位删除接口",
  27329. "description" : "可以通过此接口删除指定广告位的配置信息",
  27330. "operationId" : "alipay.open.public.advert.delete",
  27331. "responses" : {
  27332. "200" : {
  27333. "description" : "common response",
  27334. "content" : {
  27335. "application/json" : {
  27336. "schema" : {
  27337. "$ref" : "#/components/schemas/AlipayOpenPublicAdvertDeleteResponseModel"
  27338. }
  27339. }
  27340. }
  27341. },
  27342. "default" : {
  27343. "description" : "请求失败",
  27344. "content" : {
  27345. "application/json" : {
  27346. "schema" : {
  27347. "anyOf" : [ {
  27348. "$ref" : "#/components/schemas/CommonErrorType"
  27349. }, {
  27350. "$ref" : "#/components/schemas/AlipayOpenPublicAdvertDeleteErrorResponseModel"
  27351. } ]
  27352. }
  27353. }
  27354. }
  27355. }
  27356. },
  27357. "parameters" : [ {
  27358. "name" : "advert_id",
  27359. "in" : "query",
  27360. "description" : "待删除的广告位id",
  27361. "schema" : {
  27362. "type" : "string",
  27363. "example" : "123"
  27364. }
  27365. }, {
  27366. "name" : "advert_group",
  27367. "in" : "query",
  27368. "description" : "待删除的广告位分组标识",
  27369. "schema" : {
  27370. "type" : "string",
  27371. "example" : "CG202008041013200064690"
  27372. }
  27373. } ]
  27374. }
  27375. },
  27376. "/v3/alipay/open/public/advert/modify" : {
  27377. "post" : {
  27378. "tags" : [ "alipay.open.public.advert" ],
  27379. "summary" : "生活号广告位修改接口",
  27380. "description" : "可以通过此接口修改指定广告位的配置信息",
  27381. "operationId" : "alipay.open.public.advert.modify",
  27382. "responses" : {
  27383. "200" : {
  27384. "description" : "common response",
  27385. "content" : {
  27386. "application/json" : {
  27387. "schema" : {
  27388. "$ref" : "#/components/schemas/AlipayOpenPublicAdvertModifyResponseModel"
  27389. }
  27390. }
  27391. }
  27392. },
  27393. "default" : {
  27394. "description" : "请求失败",
  27395. "content" : {
  27396. "application/json" : {
  27397. "schema" : {
  27398. "anyOf" : [ {
  27399. "$ref" : "#/components/schemas/CommonErrorType"
  27400. }, {
  27401. "$ref" : "#/components/schemas/AlipayOpenPublicAdvertModifyErrorResponseModel"
  27402. } ]
  27403. }
  27404. }
  27405. }
  27406. }
  27407. },
  27408. "requestBody" : {
  27409. "content" : {
  27410. "application/json" : {
  27411. "schema" : {
  27412. "$ref" : "#/components/schemas/AlipayOpenPublicAdvertModifyModel"
  27413. }
  27414. }
  27415. },
  27416. "required" : false
  27417. }
  27418. }
  27419. },
  27420. "/v3/alipay/open/public/articlesummary/data/batchquery" : {
  27421. "post" : {
  27422. "tags" : [ "alipay.open.public.articlesummary.data" ],
  27423. "summary" : "图文分析-按时间查询数据接口",
  27424. "description" : "开发者可以通过图文分析接口查询30天内,所有历史发布的图文消息的数据,包括送达人数、曝光人数、图文阅读人数、分享人数等信息。",
  27425. "operationId" : "alipay.open.public.articlesummary.data.batchquery",
  27426. "responses" : {
  27427. "200" : {
  27428. "description" : "common response",
  27429. "content" : {
  27430. "application/json" : {
  27431. "schema" : {
  27432. "$ref" : "#/components/schemas/AlipayOpenPublicArticlesummaryDataBatchqueryResponseModel"
  27433. }
  27434. }
  27435. }
  27436. },
  27437. "default" : {
  27438. "description" : "请求失败",
  27439. "content" : {
  27440. "application/json" : {
  27441. "schema" : {
  27442. "anyOf" : [ {
  27443. "$ref" : "#/components/schemas/CommonErrorType"
  27444. }, {
  27445. "$ref" : "#/components/schemas/AlipayOpenPublicArticlesummaryDataBatchqueryErrorResponseModel"
  27446. } ]
  27447. }
  27448. }
  27449. }
  27450. }
  27451. },
  27452. "requestBody" : {
  27453. "content" : {
  27454. "application/json" : {
  27455. "schema" : {
  27456. "$ref" : "#/components/schemas/AlipayOpenPublicArticlesummaryDataBatchqueryModel"
  27457. }
  27458. }
  27459. },
  27460. "required" : false
  27461. }
  27462. }
  27463. },
  27464. "/v3/alipay/open/public/contact/follow/batchquery" : {
  27465. "post" : {
  27466. "tags" : [ "alipay.open.public.contact.follow" ],
  27467. "summary" : "查询服务窗联系人关注列表",
  27468. "description" : "查询服务窗联系人关注列表",
  27469. "operationId" : "alipay.open.public.contact.follow.batchquery",
  27470. "responses" : {
  27471. "200" : {
  27472. "description" : "common response",
  27473. "content" : {
  27474. "application/json" : {
  27475. "schema" : {
  27476. "$ref" : "#/components/schemas/AlipayOpenPublicContactFollowBatchqueryResponseModel"
  27477. }
  27478. }
  27479. }
  27480. },
  27481. "default" : {
  27482. "description" : "请求失败",
  27483. "content" : {
  27484. "application/json" : {
  27485. "schema" : {
  27486. "anyOf" : [ {
  27487. "$ref" : "#/components/schemas/CommonErrorType"
  27488. }, {
  27489. "$ref" : "#/components/schemas/AlipayOpenPublicContactFollowBatchqueryErrorResponseModel"
  27490. } ]
  27491. }
  27492. }
  27493. }
  27494. }
  27495. },
  27496. "parameters" : [ {
  27497. "$ref" : "#/components/parameters/AuthToken"
  27498. } ]
  27499. }
  27500. },
  27501. "/v3/alipay/open/public/default/extension/create" : {
  27502. "post" : {
  27503. "tags" : [ "alipay.open.public.default.extension" ],
  27504. "summary" : "默认扩展区创建接口",
  27505. "description" : "开发者可使用此接口创建默认扩展区",
  27506. "operationId" : "alipay.open.public.default.extension.create",
  27507. "responses" : {
  27508. "200" : {
  27509. "description" : "common response",
  27510. "content" : {
  27511. "application/json" : {
  27512. "schema" : {
  27513. "$ref" : "#/components/schemas/AlipayOpenPublicDefaultExtensionCreateResponseModel"
  27514. }
  27515. }
  27516. }
  27517. },
  27518. "default" : {
  27519. "description" : "请求失败",
  27520. "content" : {
  27521. "application/json" : {
  27522. "schema" : {
  27523. "anyOf" : [ {
  27524. "$ref" : "#/components/schemas/CommonErrorType"
  27525. }, {
  27526. "$ref" : "#/components/schemas/AlipayOpenPublicDefaultExtensionCreateErrorResponseModel"
  27527. } ]
  27528. }
  27529. }
  27530. }
  27531. }
  27532. },
  27533. "requestBody" : {
  27534. "content" : {
  27535. "application/json" : {
  27536. "schema" : {
  27537. "$ref" : "#/components/schemas/AlipayOpenPublicDefaultExtensionCreateModel"
  27538. }
  27539. }
  27540. },
  27541. "required" : false
  27542. }
  27543. }
  27544. },
  27545. "/v3/alipay/open/public/follow/batchquery" : {
  27546. "post" : {
  27547. "tags" : [ "alipay.open.public.follow" ],
  27548. "summary" : "获取关注者列表",
  27549. "description" : "公众号可通过本接口来获取账号的关注者列表,关注者列表由一串userId组成。一次拉取调用最多拉取10000个关注者的userId,可以通过多次拉取的方式来满足需求。 公众号可通过本接口来获取账号的关注者列表,关注者列表由一串userId组成。一次拉取调用最多拉取10000个关注者的userId,可以通过多次拉取的方式来满足需求。",
  27550. "operationId" : "alipay.open.public.follow.batchquery",
  27551. "responses" : {
  27552. "200" : {
  27553. "description" : "common response",
  27554. "content" : {
  27555. "application/json" : {
  27556. "schema" : {
  27557. "$ref" : "#/components/schemas/AlipayOpenPublicFollowBatchqueryResponseModel"
  27558. }
  27559. }
  27560. }
  27561. },
  27562. "default" : {
  27563. "description" : "请求失败",
  27564. "content" : {
  27565. "application/json" : {
  27566. "schema" : {
  27567. "anyOf" : [ {
  27568. "$ref" : "#/components/schemas/CommonErrorType"
  27569. }, {
  27570. "$ref" : "#/components/schemas/AlipayOpenPublicFollowBatchqueryErrorResponseModel"
  27571. } ]
  27572. }
  27573. }
  27574. }
  27575. }
  27576. },
  27577. "requestBody" : {
  27578. "content" : {
  27579. "application/json" : {
  27580. "schema" : {
  27581. "$ref" : "#/components/schemas/AlipayOpenPublicFollowBatchqueryModel"
  27582. }
  27583. }
  27584. },
  27585. "required" : false
  27586. }
  27587. }
  27588. },
  27589. "/v3/alipay/open/public/group/batchquery" : {
  27590. "post" : {
  27591. "tags" : [ "alipay.open.public.group" ],
  27592. "summary" : "查询用户分组列表",
  27593. "description" : "使用该接口查询分组列表,并配合其它分组管理接口使用,最多显示200条",
  27594. "operationId" : "alipay.open.public.group.batchquery",
  27595. "responses" : {
  27596. "200" : {
  27597. "description" : "common response",
  27598. "content" : {
  27599. "application/json" : {
  27600. "schema" : {
  27601. "$ref" : "#/components/schemas/AlipayOpenPublicGroupBatchqueryResponseModel"
  27602. }
  27603. }
  27604. }
  27605. },
  27606. "default" : {
  27607. "description" : "请求失败",
  27608. "content" : {
  27609. "application/json" : {
  27610. "schema" : {
  27611. "anyOf" : [ {
  27612. "$ref" : "#/components/schemas/CommonErrorType"
  27613. }, {
  27614. "$ref" : "#/components/schemas/AlipayOpenPublicGroupBatchqueryErrorResponseModel"
  27615. } ]
  27616. }
  27617. }
  27618. }
  27619. }
  27620. }
  27621. }
  27622. },
  27623. "/v3/alipay/open/public/group/create" : {
  27624. "post" : {
  27625. "tags" : [ "alipay.open.public.group" ],
  27626. "summary" : "用户分组创建接口",
  27627. "description" : "开发者可使用此接口根据指定条件从关注用户中圈定人群生成分组,分组可用于组发消息等场景,分组圈定的人群必须大于50人。",
  27628. "operationId" : "alipay.open.public.group.create",
  27629. "responses" : {
  27630. "200" : {
  27631. "description" : "common response",
  27632. "content" : {
  27633. "application/json" : {
  27634. "schema" : {
  27635. "$ref" : "#/components/schemas/AlipayOpenPublicGroupCreateResponseModel"
  27636. }
  27637. }
  27638. }
  27639. },
  27640. "default" : {
  27641. "description" : "请求失败",
  27642. "content" : {
  27643. "application/json" : {
  27644. "schema" : {
  27645. "anyOf" : [ {
  27646. "$ref" : "#/components/schemas/CommonErrorType"
  27647. }, {
  27648. "$ref" : "#/components/schemas/AlipayOpenPublicGroupCreateErrorResponseModel"
  27649. } ]
  27650. }
  27651. }
  27652. }
  27653. }
  27654. },
  27655. "requestBody" : {
  27656. "content" : {
  27657. "application/json" : {
  27658. "schema" : {
  27659. "$ref" : "#/components/schemas/AlipayOpenPublicGroupCreateModel"
  27660. }
  27661. }
  27662. },
  27663. "required" : false
  27664. }
  27665. }
  27666. },
  27667. "/v3/alipay/open/public/group/crowd/query" : {
  27668. "post" : {
  27669. "tags" : [ "alipay.open.public.group.crowd" ],
  27670. "summary" : "人群数量查询",
  27671. "description" : "用户可以指定自己创建的分组,调用接口查询对应的人群数量,人群必须大于50人才能正常返回,否则报错。",
  27672. "operationId" : "alipay.open.public.group.crowd.query",
  27673. "responses" : {
  27674. "200" : {
  27675. "description" : "common response",
  27676. "content" : {
  27677. "application/json" : {
  27678. "schema" : {
  27679. "$ref" : "#/components/schemas/AlipayOpenPublicGroupCrowdQueryResponseModel"
  27680. }
  27681. }
  27682. }
  27683. },
  27684. "default" : {
  27685. "description" : "请求失败",
  27686. "content" : {
  27687. "application/json" : {
  27688. "schema" : {
  27689. "anyOf" : [ {
  27690. "$ref" : "#/components/schemas/CommonErrorType"
  27691. }, {
  27692. "$ref" : "#/components/schemas/AlipayOpenPublicGroupCrowdQueryErrorResponseModel"
  27693. } ]
  27694. }
  27695. }
  27696. }
  27697. }
  27698. },
  27699. "requestBody" : {
  27700. "content" : {
  27701. "application/json" : {
  27702. "schema" : {
  27703. "$ref" : "#/components/schemas/AlipayOpenPublicGroupCrowdQueryModel"
  27704. }
  27705. }
  27706. },
  27707. "required" : false
  27708. }
  27709. }
  27710. },
  27711. "/v3/alipay/open/public/group/delete" : {
  27712. "delete" : {
  27713. "tags" : [ "alipay.open.public.group" ],
  27714. "summary" : "用户分组删除接口",
  27715. "description" : "调用接口删除用户分组",
  27716. "operationId" : "alipay.open.public.group.delete",
  27717. "responses" : {
  27718. "200" : {
  27719. "description" : "common response",
  27720. "content" : {
  27721. "application/json" : {
  27722. "schema" : {
  27723. "$ref" : "#/components/schemas/AlipayOpenPublicGroupDeleteResponseModel"
  27724. }
  27725. }
  27726. }
  27727. },
  27728. "default" : {
  27729. "description" : "请求失败",
  27730. "content" : {
  27731. "application/json" : {
  27732. "schema" : {
  27733. "anyOf" : [ {
  27734. "$ref" : "#/components/schemas/CommonErrorType"
  27735. }, {
  27736. "$ref" : "#/components/schemas/AlipayOpenPublicGroupDeleteErrorResponseModel"
  27737. } ]
  27738. }
  27739. }
  27740. }
  27741. }
  27742. },
  27743. "parameters" : [ {
  27744. "name" : "group_id",
  27745. "in" : "query",
  27746. "description" : "分组ID,通过<a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.group.create\">alipay.open.public.group.create</a>(用户分组创建接口)\t创建用户分组获取。",
  27747. "schema" : {
  27748. "type" : "string",
  27749. "example" : "100"
  27750. }
  27751. } ]
  27752. }
  27753. },
  27754. "/v3/alipay/open/public/group/modify" : {
  27755. "post" : {
  27756. "tags" : [ "alipay.open.public.group" ],
  27757. "summary" : "用户分组修改接口",
  27758. "description" : "调用改接口修改用户分组,仅支持修改分组名称。",
  27759. "operationId" : "alipay.open.public.group.modify",
  27760. "responses" : {
  27761. "200" : {
  27762. "description" : "common response",
  27763. "content" : {
  27764. "application/json" : {
  27765. "schema" : {
  27766. "$ref" : "#/components/schemas/AlipayOpenPublicGroupModifyResponseModel"
  27767. }
  27768. }
  27769. }
  27770. },
  27771. "default" : {
  27772. "description" : "请求失败",
  27773. "content" : {
  27774. "application/json" : {
  27775. "schema" : {
  27776. "anyOf" : [ {
  27777. "$ref" : "#/components/schemas/CommonErrorType"
  27778. }, {
  27779. "$ref" : "#/components/schemas/AlipayOpenPublicGroupModifyErrorResponseModel"
  27780. } ]
  27781. }
  27782. }
  27783. }
  27784. }
  27785. },
  27786. "requestBody" : {
  27787. "content" : {
  27788. "application/json" : {
  27789. "schema" : {
  27790. "$ref" : "#/components/schemas/AlipayOpenPublicGroupModifyModel"
  27791. }
  27792. }
  27793. },
  27794. "required" : false
  27795. }
  27796. }
  27797. },
  27798. "/v3/alipay/open/public/info/modify" : {
  27799. "post" : {
  27800. "tags" : [ "alipay.open.public.info" ],
  27801. "summary" : "生活号基础信息修改接口",
  27802. "description" : "提供生活号基础信息修改,同时适用于口碑商户签约当面付2.0默认创建的服务窗,需上传相关资质材料。修改名称、头像、简介会触发风控审核,审核通过后修改生效,支持isv调用",
  27803. "operationId" : "alipay.open.public.info.modify",
  27804. "responses" : {
  27805. "200" : {
  27806. "description" : "common response",
  27807. "content" : {
  27808. "application/json" : {
  27809. "schema" : {
  27810. "$ref" : "#/components/schemas/AlipayOpenPublicInfoModifyResponseModel"
  27811. }
  27812. }
  27813. }
  27814. },
  27815. "default" : {
  27816. "description" : "请求失败",
  27817. "content" : {
  27818. "application/json" : {
  27819. "schema" : {
  27820. "anyOf" : [ {
  27821. "$ref" : "#/components/schemas/CommonErrorType"
  27822. }, {
  27823. "$ref" : "#/components/schemas/AlipayOpenPublicInfoModifyErrorResponseModel"
  27824. } ]
  27825. }
  27826. }
  27827. }
  27828. }
  27829. },
  27830. "requestBody" : {
  27831. "content" : {
  27832. "application/json" : {
  27833. "schema" : {
  27834. "$ref" : "#/components/schemas/AlipayOpenPublicInfoModifyModel"
  27835. }
  27836. }
  27837. },
  27838. "required" : false
  27839. }
  27840. }
  27841. },
  27842. "/v3/alipay/open/public/info/query" : {
  27843. "get" : {
  27844. "tags" : [ "alipay.open.public.info" ],
  27845. "summary" : "生活号基础信息查询接口",
  27846. "description" : "提供名称、头像、简介、欢迎语、上下架、审核信息查询,支持isv调用",
  27847. "operationId" : "alipay.open.public.info.query",
  27848. "responses" : {
  27849. "200" : {
  27850. "description" : "common response",
  27851. "content" : {
  27852. "application/json" : {
  27853. "schema" : {
  27854. "$ref" : "#/components/schemas/AlipayOpenPublicInfoQueryResponseModel"
  27855. }
  27856. }
  27857. }
  27858. },
  27859. "default" : {
  27860. "description" : "请求失败",
  27861. "content" : {
  27862. "application/json" : {
  27863. "schema" : {
  27864. "anyOf" : [ {
  27865. "$ref" : "#/components/schemas/CommonErrorType"
  27866. }, {
  27867. "$ref" : "#/components/schemas/AlipayOpenPublicInfoQueryErrorResponseModel"
  27868. } ]
  27869. }
  27870. }
  27871. }
  27872. }
  27873. }
  27874. }
  27875. },
  27876. "/v3/alipay/open/public/label/create" : {
  27877. "post" : {
  27878. "tags" : [ "alipay.open.public.label" ],
  27879. "summary" : "公众号标签管理-添加标签",
  27880. "description" : "开发者可以使用该接口创建一个标签,一个服务窗最多同时拥有500个标签,标签名不能重复。",
  27881. "operationId" : "alipay.open.public.label.create",
  27882. "responses" : {
  27883. "200" : {
  27884. "description" : "common response",
  27885. "content" : {
  27886. "application/json" : {
  27887. "schema" : {
  27888. "$ref" : "#/components/schemas/AlipayOpenPublicLabelCreateResponseModel"
  27889. }
  27890. }
  27891. }
  27892. },
  27893. "default" : {
  27894. "description" : "请求失败",
  27895. "content" : {
  27896. "application/json" : {
  27897. "schema" : {
  27898. "anyOf" : [ {
  27899. "$ref" : "#/components/schemas/CommonErrorType"
  27900. }, {
  27901. "$ref" : "#/components/schemas/AlipayOpenPublicLabelCreateErrorResponseModel"
  27902. } ]
  27903. }
  27904. }
  27905. }
  27906. }
  27907. },
  27908. "requestBody" : {
  27909. "content" : {
  27910. "application/json" : {
  27911. "schema" : {
  27912. "$ref" : "#/components/schemas/AlipayOpenPublicLabelCreateModel"
  27913. }
  27914. }
  27915. },
  27916. "required" : false
  27917. }
  27918. }
  27919. },
  27920. "/v3/alipay/open/public/label/query" : {
  27921. "get" : {
  27922. "tags" : [ "alipay.open.public.label" ],
  27923. "summary" : "公众号标签管理-查询标签",
  27924. "description" : "开发者可以查询该服务窗所有标签值及拥有该标签的用户个数",
  27925. "operationId" : "alipay.open.public.label.query",
  27926. "responses" : {
  27927. "200" : {
  27928. "description" : "common response",
  27929. "content" : {
  27930. "application/json" : {
  27931. "schema" : {
  27932. "$ref" : "#/components/schemas/AlipayOpenPublicLabelQueryResponseModel"
  27933. }
  27934. }
  27935. }
  27936. },
  27937. "default" : {
  27938. "description" : "请求失败",
  27939. "content" : {
  27940. "application/json" : {
  27941. "schema" : {
  27942. "anyOf" : [ {
  27943. "$ref" : "#/components/schemas/CommonErrorType"
  27944. }, {
  27945. "$ref" : "#/components/schemas/AlipayOpenPublicLabelQueryErrorResponseModel"
  27946. } ]
  27947. }
  27948. }
  27949. }
  27950. }
  27951. }
  27952. }
  27953. },
  27954. "/v3/alipay/open/public/label/user/query" : {
  27955. "get" : {
  27956. "tags" : [ "alipay.open.public.label.user" ],
  27957. "summary" : "公众号标签管理-查询用户标签",
  27958. "description" : "开发者可以使用该接口查询某个用户的所有标签",
  27959. "operationId" : "alipay.open.public.label.user.query",
  27960. "responses" : {
  27961. "200" : {
  27962. "description" : "common response",
  27963. "content" : {
  27964. "application/json" : {
  27965. "schema" : {
  27966. "$ref" : "#/components/schemas/AlipayOpenPublicLabelUserQueryResponseModel"
  27967. }
  27968. }
  27969. }
  27970. },
  27971. "default" : {
  27972. "description" : "请求失败",
  27973. "content" : {
  27974. "application/json" : {
  27975. "schema" : {
  27976. "anyOf" : [ {
  27977. "$ref" : "#/components/schemas/CommonErrorType"
  27978. }, {
  27979. "$ref" : "#/components/schemas/AlipayOpenPublicLabelUserQueryErrorResponseModel"
  27980. } ]
  27981. }
  27982. }
  27983. }
  27984. }
  27985. },
  27986. "parameters" : [ {
  27987. "name" : "user_id",
  27988. "in" : "query",
  27989. "description" : "支付宝用户的userid,2088开头长度为16位的字符串",
  27990. "schema" : {
  27991. "type" : "string",
  27992. "example" : "2088283746283746"
  27993. }
  27994. }, {
  27995. "name" : "open_id",
  27996. "in" : "query",
  27997. "description" : "支付宝用户的唯一标识",
  27998. "schema" : {
  27999. "type" : "string",
  28000. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  28001. }
  28002. } ]
  28003. }
  28004. },
  28005. "/v3/alipay/open/public/life/aboard/apply" : {
  28006. "post" : {
  28007. "tags" : [ "alipay.open.public.life.aboard" ],
  28008. "summary" : "上架生活号",
  28009. "description" : "上架生活号",
  28010. "operationId" : "alipay.open.public.life.aboard.apply",
  28011. "responses" : {
  28012. "200" : {
  28013. "description" : "common response",
  28014. "content" : {
  28015. "application/json" : {
  28016. "schema" : {
  28017. "$ref" : "#/components/schemas/AlipayOpenPublicLifeAboardApplyResponseModel"
  28018. }
  28019. }
  28020. }
  28021. },
  28022. "default" : {
  28023. "description" : "请求失败",
  28024. "content" : {
  28025. "application/json" : {
  28026. "schema" : {
  28027. "anyOf" : [ {
  28028. "$ref" : "#/components/schemas/CommonErrorType"
  28029. }, {
  28030. "$ref" : "#/components/schemas/AlipayOpenPublicLifeAboardApplyErrorResponseModel"
  28031. } ]
  28032. }
  28033. }
  28034. }
  28035. }
  28036. }
  28037. }
  28038. },
  28039. "/v3/alipay/open/public/life/agentcreate/query" : {
  28040. "get" : {
  28041. "tags" : [ "alipay.open.public.life.agentcreate" ],
  28042. "summary" : "isv代创建生活号申请状态查询接口",
  28043. "description" : "isv可调用此接口查询代商户创建的生活号审核状态",
  28044. "operationId" : "alipay.open.public.life.agentcreate.query",
  28045. "responses" : {
  28046. "200" : {
  28047. "description" : "common response",
  28048. "content" : {
  28049. "application/json" : {
  28050. "schema" : {
  28051. "$ref" : "#/components/schemas/AlipayOpenPublicLifeAgentcreateQueryResponseModel"
  28052. }
  28053. }
  28054. }
  28055. },
  28056. "default" : {
  28057. "description" : "请求失败",
  28058. "content" : {
  28059. "application/json" : {
  28060. "schema" : {
  28061. "anyOf" : [ {
  28062. "$ref" : "#/components/schemas/CommonErrorType"
  28063. }, {
  28064. "$ref" : "#/components/schemas/AlipayOpenPublicLifeAgentcreateQueryErrorResponseModel"
  28065. } ]
  28066. }
  28067. }
  28068. }
  28069. }
  28070. },
  28071. "parameters" : [ {
  28072. "name" : "out_biz_no",
  28073. "in" : "query",
  28074. "description" : "由开发者创建的外部入驻申请单据号,需与<a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.life.agent.create\">alipay.open.public.life.agent.create</a>(isv代创建生活号接口)的out_biz_no一致。",
  28075. "schema" : {
  28076. "type" : "string",
  28077. "example" : "2016070788301823878"
  28078. }
  28079. } ]
  28080. }
  28081. },
  28082. "/v3/alipay/open/public/life/debark/apply" : {
  28083. "post" : {
  28084. "tags" : [ "alipay.open.public.life.debark" ],
  28085. "summary" : "下架生活号",
  28086. "description" : "下架生活号",
  28087. "operationId" : "alipay.open.public.life.debark.apply",
  28088. "responses" : {
  28089. "200" : {
  28090. "description" : "common response",
  28091. "content" : {
  28092. "application/json" : {
  28093. "schema" : {
  28094. "$ref" : "#/components/schemas/AlipayOpenPublicLifeDebarkApplyResponseModel"
  28095. }
  28096. }
  28097. }
  28098. },
  28099. "default" : {
  28100. "description" : "请求失败",
  28101. "content" : {
  28102. "application/json" : {
  28103. "schema" : {
  28104. "anyOf" : [ {
  28105. "$ref" : "#/components/schemas/CommonErrorType"
  28106. }, {
  28107. "$ref" : "#/components/schemas/AlipayOpenPublicLifeDebarkApplyErrorResponseModel"
  28108. } ]
  28109. }
  28110. }
  28111. }
  28112. }
  28113. }
  28114. }
  28115. },
  28116. "/v3/alipay/open/public/life/label/batchquery" : {
  28117. "post" : {
  28118. "tags" : [ "alipay.open.public.life.label" ],
  28119. "summary" : "标签批量查询接口",
  28120. "description" : "开发者可调用该接口查询生活号支持的标签列表,其中包括生活号通用标签、生活号自定义标签以及数据实验室标签。",
  28121. "operationId" : "alipay.open.public.life.label.batchquery",
  28122. "responses" : {
  28123. "200" : {
  28124. "description" : "common response",
  28125. "content" : {
  28126. "application/json" : {
  28127. "schema" : {
  28128. "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelBatchqueryResponseModel"
  28129. }
  28130. }
  28131. }
  28132. },
  28133. "default" : {
  28134. "description" : "请求失败",
  28135. "content" : {
  28136. "application/json" : {
  28137. "schema" : {
  28138. "anyOf" : [ {
  28139. "$ref" : "#/components/schemas/CommonErrorType"
  28140. }, {
  28141. "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelBatchqueryErrorResponseModel"
  28142. } ]
  28143. }
  28144. }
  28145. }
  28146. }
  28147. }
  28148. }
  28149. },
  28150. "/v3/alipay/open/public/life/label/create" : {
  28151. "post" : {
  28152. "tags" : [ "alipay.open.public.life.label" ],
  28153. "summary" : "创建标签接口",
  28154. "description" : "开发者可使用该API创建自定义标签",
  28155. "operationId" : "alipay.open.public.life.label.create",
  28156. "responses" : {
  28157. "200" : {
  28158. "description" : "common response",
  28159. "content" : {
  28160. "application/json" : {
  28161. "schema" : {
  28162. "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelCreateResponseModel"
  28163. }
  28164. }
  28165. }
  28166. },
  28167. "default" : {
  28168. "description" : "请求失败",
  28169. "content" : {
  28170. "application/json" : {
  28171. "schema" : {
  28172. "anyOf" : [ {
  28173. "$ref" : "#/components/schemas/CommonErrorType"
  28174. }, {
  28175. "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelCreateErrorResponseModel"
  28176. } ]
  28177. }
  28178. }
  28179. }
  28180. }
  28181. },
  28182. "requestBody" : {
  28183. "content" : {
  28184. "application/json" : {
  28185. "schema" : {
  28186. "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelCreateModel"
  28187. }
  28188. }
  28189. },
  28190. "required" : false
  28191. }
  28192. }
  28193. },
  28194. "/v3/alipay/open/public/life/label/delete" : {
  28195. "delete" : {
  28196. "tags" : [ "alipay.open.public.life.label" ],
  28197. "summary" : "标签删除接口",
  28198. "description" : "开发者可调用此API删除自定义标签",
  28199. "operationId" : "alipay.open.public.life.label.delete",
  28200. "responses" : {
  28201. "200" : {
  28202. "description" : "common response",
  28203. "content" : {
  28204. "application/json" : {
  28205. "schema" : {
  28206. "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelDeleteResponseModel"
  28207. }
  28208. }
  28209. }
  28210. },
  28211. "default" : {
  28212. "description" : "请求失败",
  28213. "content" : {
  28214. "application/json" : {
  28215. "schema" : {
  28216. "anyOf" : [ {
  28217. "$ref" : "#/components/schemas/CommonErrorType"
  28218. }, {
  28219. "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelDeleteErrorResponseModel"
  28220. } ]
  28221. }
  28222. }
  28223. }
  28224. }
  28225. },
  28226. "parameters" : [ {
  28227. "name" : "label_id",
  28228. "in" : "query",
  28229. "description" : "标签 id,只支持生活号自定义标签。通过 <a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.life.label.create\">alipay.open.public.life.label.create</a>(创建标签接口)创建自定义标签后获取。",
  28230. "schema" : {
  28231. "type" : "string",
  28232. "example" : "10000"
  28233. }
  28234. } ]
  28235. }
  28236. },
  28237. "/v3/alipay/open/public/life/label/modify" : {
  28238. "post" : {
  28239. "tags" : [ "alipay.open.public.life.label" ],
  28240. "summary" : "标签修改接口",
  28241. "description" : "开发者可调用此API修改自定义标签的名称",
  28242. "operationId" : "alipay.open.public.life.label.modify",
  28243. "responses" : {
  28244. "200" : {
  28245. "description" : "common response",
  28246. "content" : {
  28247. "application/json" : {
  28248. "schema" : {
  28249. "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelModifyResponseModel"
  28250. }
  28251. }
  28252. }
  28253. },
  28254. "default" : {
  28255. "description" : "请求失败",
  28256. "content" : {
  28257. "application/json" : {
  28258. "schema" : {
  28259. "anyOf" : [ {
  28260. "$ref" : "#/components/schemas/CommonErrorType"
  28261. }, {
  28262. "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelModifyErrorResponseModel"
  28263. } ]
  28264. }
  28265. }
  28266. }
  28267. }
  28268. },
  28269. "requestBody" : {
  28270. "content" : {
  28271. "application/json" : {
  28272. "schema" : {
  28273. "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelModifyModel"
  28274. }
  28275. }
  28276. },
  28277. "required" : false
  28278. }
  28279. }
  28280. },
  28281. "/v3/alipay/open/public/life/msg/recall" : {
  28282. "post" : {
  28283. "tags" : [ "alipay.open.public.life.msg" ],
  28284. "summary" : "生活号消息撤回接口",
  28285. "description" : "生活号消息撤回接口",
  28286. "operationId" : "alipay.open.public.life.msg.recall",
  28287. "responses" : {
  28288. "200" : {
  28289. "description" : "common response",
  28290. "content" : {
  28291. "application/json" : {
  28292. "schema" : {
  28293. "$ref" : "#/components/schemas/AlipayOpenPublicLifeMsgRecallResponseModel"
  28294. }
  28295. }
  28296. }
  28297. },
  28298. "default" : {
  28299. "description" : "请求失败",
  28300. "content" : {
  28301. "application/json" : {
  28302. "schema" : {
  28303. "anyOf" : [ {
  28304. "$ref" : "#/components/schemas/CommonErrorType"
  28305. }, {
  28306. "$ref" : "#/components/schemas/AlipayOpenPublicLifeMsgRecallErrorResponseModel"
  28307. } ]
  28308. }
  28309. }
  28310. }
  28311. }
  28312. },
  28313. "requestBody" : {
  28314. "content" : {
  28315. "application/json" : {
  28316. "schema" : {
  28317. "$ref" : "#/components/schemas/AlipayOpenPublicLifeMsgRecallModel"
  28318. }
  28319. }
  28320. },
  28321. "required" : false
  28322. }
  28323. }
  28324. },
  28325. "/v3/alipay/open/public/life/msg/send" : {
  28326. "post" : {
  28327. "tags" : [ "alipay.open.public.life.msg" ],
  28328. "summary" : "生活号广播消息发送接口",
  28329. "description" : "媒体资讯生活号群发一篇图文或视频类消息,生活号主页以及客户端首页展示消息详情",
  28330. "operationId" : "alipay.open.public.life.msg.send",
  28331. "responses" : {
  28332. "200" : {
  28333. "description" : "common response",
  28334. "content" : {
  28335. "application/json" : {
  28336. "schema" : {
  28337. "$ref" : "#/components/schemas/AlipayOpenPublicLifeMsgSendResponseModel"
  28338. }
  28339. }
  28340. }
  28341. },
  28342. "default" : {
  28343. "description" : "请求失败",
  28344. "content" : {
  28345. "application/json" : {
  28346. "schema" : {
  28347. "anyOf" : [ {
  28348. "$ref" : "#/components/schemas/CommonErrorType"
  28349. }, {
  28350. "$ref" : "#/components/schemas/AlipayOpenPublicLifeMsgSendErrorResponseModel"
  28351. } ]
  28352. }
  28353. }
  28354. }
  28355. }
  28356. },
  28357. "requestBody" : {
  28358. "content" : {
  28359. "multipart/form-data" : {
  28360. "schema" : {
  28361. "type" : "object",
  28362. "properties" : {
  28363. "cover" : {
  28364. "type" : "string",
  28365. "format" : "binary"
  28366. },
  28367. "data" : {
  28368. "$ref" : "#/components/schemas/AlipayOpenPublicLifeMsgSendModel"
  28369. }
  28370. }
  28371. },
  28372. "encoding" : {
  28373. "cover" : {
  28374. "contentType" : "*/*"
  28375. },
  28376. "data" : {
  28377. "contentType" : "application/json"
  28378. }
  28379. }
  28380. }
  28381. },
  28382. "required" : false
  28383. }
  28384. }
  28385. },
  28386. "/v3/alipay/open/public/matchuser/label/create" : {
  28387. "post" : {
  28388. "tags" : [ "alipay.open.public.matchuser.label" ],
  28389. "summary" : "用户打标接口",
  28390. "description" : "开发者可以使用此接口向匹配到的用户添加指定标签值,每个用户每个标签只能有一个标签值,当向同一个用户添加多个标签值时,最新的标签值会覆盖之前的标签值",
  28391. "operationId" : "alipay.open.public.matchuser.label.create",
  28392. "responses" : {
  28393. "200" : {
  28394. "description" : "common response",
  28395. "content" : {
  28396. "application/json" : {
  28397. "schema" : {
  28398. "$ref" : "#/components/schemas/AlipayOpenPublicMatchuserLabelCreateResponseModel"
  28399. }
  28400. }
  28401. }
  28402. },
  28403. "default" : {
  28404. "description" : "请求失败",
  28405. "content" : {
  28406. "application/json" : {
  28407. "schema" : {
  28408. "anyOf" : [ {
  28409. "$ref" : "#/components/schemas/CommonErrorType"
  28410. }, {
  28411. "$ref" : "#/components/schemas/AlipayOpenPublicMatchuserLabelCreateErrorResponseModel"
  28412. } ]
  28413. }
  28414. }
  28415. }
  28416. }
  28417. },
  28418. "requestBody" : {
  28419. "content" : {
  28420. "application/json" : {
  28421. "schema" : {
  28422. "$ref" : "#/components/schemas/AlipayOpenPublicMatchuserLabelCreateModel"
  28423. }
  28424. }
  28425. },
  28426. "required" : false
  28427. }
  28428. }
  28429. },
  28430. "/v3/alipay/open/public/matchuser/label/delete" : {
  28431. "post" : {
  28432. "tags" : [ "alipay.open.public.matchuser.label" ],
  28433. "summary" : "用户取消标签接口",
  28434. "description" : "开发者可以使用此接口删除匹配到的支付宝用户的指定标签值",
  28435. "operationId" : "alipay.open.public.matchuser.label.delete",
  28436. "responses" : {
  28437. "200" : {
  28438. "description" : "common response",
  28439. "content" : {
  28440. "application/json" : {
  28441. "schema" : {
  28442. "$ref" : "#/components/schemas/AlipayOpenPublicMatchuserLabelDeleteResponseModel"
  28443. }
  28444. }
  28445. }
  28446. },
  28447. "default" : {
  28448. "description" : "请求失败",
  28449. "content" : {
  28450. "application/json" : {
  28451. "schema" : {
  28452. "anyOf" : [ {
  28453. "$ref" : "#/components/schemas/CommonErrorType"
  28454. }, {
  28455. "$ref" : "#/components/schemas/AlipayOpenPublicMatchuserLabelDeleteErrorResponseModel"
  28456. } ]
  28457. }
  28458. }
  28459. }
  28460. }
  28461. },
  28462. "requestBody" : {
  28463. "content" : {
  28464. "application/json" : {
  28465. "schema" : {
  28466. "$ref" : "#/components/schemas/AlipayOpenPublicMatchuserLabelDeleteModel"
  28467. }
  28468. }
  28469. },
  28470. "required" : false
  28471. }
  28472. }
  28473. },
  28474. "/v3/alipay/open/public/menu/batchquery" : {
  28475. "post" : {
  28476. "tags" : [ "alipay.open.public.menu" ],
  28477. "summary" : "菜单列表查询接口",
  28478. "description" : "开发者可调用该接口查询自己创建的菜单列表",
  28479. "operationId" : "alipay.open.public.menu.batchquery",
  28480. "responses" : {
  28481. "200" : {
  28482. "description" : "common response",
  28483. "content" : {
  28484. "application/json" : {
  28485. "schema" : {
  28486. "$ref" : "#/components/schemas/AlipayOpenPublicMenuBatchqueryResponseModel"
  28487. }
  28488. }
  28489. }
  28490. },
  28491. "default" : {
  28492. "description" : "请求失败",
  28493. "content" : {
  28494. "application/json" : {
  28495. "schema" : {
  28496. "anyOf" : [ {
  28497. "$ref" : "#/components/schemas/CommonErrorType"
  28498. }, {
  28499. "$ref" : "#/components/schemas/AlipayOpenPublicMenuBatchqueryErrorResponseModel"
  28500. } ]
  28501. }
  28502. }
  28503. }
  28504. }
  28505. }
  28506. }
  28507. },
  28508. "/v3/alipay/open/public/menu/create" : {
  28509. "post" : {
  28510. "tags" : [ "alipay.open.public.menu" ],
  28511. "summary" : "默认菜单创建接口",
  28512. "description" : "开发者可调用该接口为生活号创建一套默认菜单,当用户进入生活号主页时,若没有命中任何个性化菜单,则会展示该默认菜单,每个生活号必须有一套默认菜单",
  28513. "operationId" : "alipay.open.public.menu.create",
  28514. "responses" : {
  28515. "200" : {
  28516. "description" : "common response",
  28517. "content" : {
  28518. "application/json" : {
  28519. "schema" : {
  28520. "$ref" : "#/components/schemas/AlipayOpenPublicMenuCreateResponseModel"
  28521. }
  28522. }
  28523. }
  28524. },
  28525. "default" : {
  28526. "description" : "请求失败",
  28527. "content" : {
  28528. "application/json" : {
  28529. "schema" : {
  28530. "anyOf" : [ {
  28531. "$ref" : "#/components/schemas/CommonErrorType"
  28532. }, {
  28533. "$ref" : "#/components/schemas/AlipayOpenPublicMenuCreateErrorResponseModel"
  28534. } ]
  28535. }
  28536. }
  28537. }
  28538. }
  28539. },
  28540. "requestBody" : {
  28541. "content" : {
  28542. "application/json" : {
  28543. "schema" : {
  28544. "$ref" : "#/components/schemas/AlipayOpenPublicMenuCreateModel"
  28545. }
  28546. }
  28547. },
  28548. "required" : false
  28549. }
  28550. }
  28551. },
  28552. "/v3/alipay/open/public/menu/data/batchquery" : {
  28553. "post" : {
  28554. "tags" : [ "alipay.open.public.menu.data" ],
  28555. "summary" : "菜单分析数据查询接口",
  28556. "description" : "开发者可以根据本接口查询30天内菜单的相关数据,包括菜单点击人数和次数",
  28557. "operationId" : "alipay.open.public.menu.data.batchquery",
  28558. "responses" : {
  28559. "200" : {
  28560. "description" : "common response",
  28561. "content" : {
  28562. "application/json" : {
  28563. "schema" : {
  28564. "$ref" : "#/components/schemas/AlipayOpenPublicMenuDataBatchqueryResponseModel"
  28565. }
  28566. }
  28567. }
  28568. },
  28569. "default" : {
  28570. "description" : "请求失败",
  28571. "content" : {
  28572. "application/json" : {
  28573. "schema" : {
  28574. "anyOf" : [ {
  28575. "$ref" : "#/components/schemas/CommonErrorType"
  28576. }, {
  28577. "$ref" : "#/components/schemas/AlipayOpenPublicMenuDataBatchqueryErrorResponseModel"
  28578. } ]
  28579. }
  28580. }
  28581. }
  28582. }
  28583. },
  28584. "requestBody" : {
  28585. "content" : {
  28586. "application/json" : {
  28587. "schema" : {
  28588. "$ref" : "#/components/schemas/AlipayOpenPublicMenuDataBatchqueryModel"
  28589. }
  28590. }
  28591. },
  28592. "required" : false
  28593. }
  28594. }
  28595. },
  28596. "/v3/alipay/open/public/menu/modify" : {
  28597. "post" : {
  28598. "tags" : [ "alipay.open.public.menu" ],
  28599. "summary" : "默认菜单更新接口",
  28600. "description" : "开发者可调用该接口更新默认菜单,菜单更新成功后实时生效",
  28601. "operationId" : "alipay.open.public.menu.modify",
  28602. "responses" : {
  28603. "200" : {
  28604. "description" : "common response",
  28605. "content" : {
  28606. "application/json" : {
  28607. "schema" : {
  28608. "$ref" : "#/components/schemas/AlipayOpenPublicMenuModifyResponseModel"
  28609. }
  28610. }
  28611. }
  28612. },
  28613. "default" : {
  28614. "description" : "请求失败",
  28615. "content" : {
  28616. "application/json" : {
  28617. "schema" : {
  28618. "anyOf" : [ {
  28619. "$ref" : "#/components/schemas/CommonErrorType"
  28620. }, {
  28621. "$ref" : "#/components/schemas/AlipayOpenPublicMenuModifyErrorResponseModel"
  28622. } ]
  28623. }
  28624. }
  28625. }
  28626. }
  28627. },
  28628. "requestBody" : {
  28629. "content" : {
  28630. "application/json" : {
  28631. "schema" : {
  28632. "$ref" : "#/components/schemas/AlipayOpenPublicMenuModifyModel"
  28633. }
  28634. }
  28635. },
  28636. "required" : false
  28637. }
  28638. }
  28639. },
  28640. "/v3/alipay/open/public/menu/query" : {
  28641. "get" : {
  28642. "tags" : [ "alipay.open.public.menu" ],
  28643. "summary" : "公众服务平台查询菜单",
  28644. "description" : "开发者通过调用该接口查询菜单。",
  28645. "operationId" : "alipay.open.public.menu.query",
  28646. "responses" : {
  28647. "200" : {
  28648. "description" : "common response",
  28649. "content" : {
  28650. "application/json" : {
  28651. "schema" : {
  28652. "$ref" : "#/components/schemas/AlipayOpenPublicMenuQueryResponseModel"
  28653. }
  28654. }
  28655. }
  28656. },
  28657. "default" : {
  28658. "description" : "请求失败",
  28659. "content" : {
  28660. "application/json" : {
  28661. "schema" : {
  28662. "anyOf" : [ {
  28663. "$ref" : "#/components/schemas/CommonErrorType"
  28664. }, {
  28665. "$ref" : "#/components/schemas/AlipayOpenPublicMenuQueryErrorResponseModel"
  28666. } ]
  28667. }
  28668. }
  28669. }
  28670. }
  28671. }
  28672. }
  28673. },
  28674. "/v3/alipay/open/public/message/content/create" : {
  28675. "post" : {
  28676. "tags" : [ "alipay.open.public.message.content" ],
  28677. "summary" : "创建图文消息内容接口",
  28678. "description" : "开发者可使用该接口将富文本内容生成生活号图文消息内容链接",
  28679. "operationId" : "alipay.open.public.message.content.create",
  28680. "responses" : {
  28681. "200" : {
  28682. "description" : "common response",
  28683. "content" : {
  28684. "application/json" : {
  28685. "schema" : {
  28686. "$ref" : "#/components/schemas/AlipayOpenPublicMessageContentCreateResponseModel"
  28687. }
  28688. }
  28689. }
  28690. },
  28691. "default" : {
  28692. "description" : "请求失败",
  28693. "content" : {
  28694. "application/json" : {
  28695. "schema" : {
  28696. "anyOf" : [ {
  28697. "$ref" : "#/components/schemas/CommonErrorType"
  28698. }, {
  28699. "$ref" : "#/components/schemas/AlipayOpenPublicMessageContentCreateErrorResponseModel"
  28700. } ]
  28701. }
  28702. }
  28703. }
  28704. }
  28705. },
  28706. "requestBody" : {
  28707. "content" : {
  28708. "application/json" : {
  28709. "schema" : {
  28710. "$ref" : "#/components/schemas/AlipayOpenPublicMessageContentCreateModel"
  28711. }
  28712. }
  28713. },
  28714. "required" : false
  28715. }
  28716. }
  28717. },
  28718. "/v3/alipay/open/public/message/content/modify" : {
  28719. "post" : {
  28720. "tags" : [ "alipay.open.public.message.content" ],
  28721. "summary" : "更新图文消息内容接口",
  28722. "description" : "开发者可使用该接口修改已经创建的生活号图文消息素材里的内容",
  28723. "operationId" : "alipay.open.public.message.content.modify",
  28724. "responses" : {
  28725. "200" : {
  28726. "description" : "common response",
  28727. "content" : {
  28728. "application/json" : {
  28729. "schema" : {
  28730. "$ref" : "#/components/schemas/AlipayOpenPublicMessageContentModifyResponseModel"
  28731. }
  28732. }
  28733. }
  28734. },
  28735. "default" : {
  28736. "description" : "请求失败",
  28737. "content" : {
  28738. "application/json" : {
  28739. "schema" : {
  28740. "anyOf" : [ {
  28741. "$ref" : "#/components/schemas/CommonErrorType"
  28742. }, {
  28743. "$ref" : "#/components/schemas/AlipayOpenPublicMessageContentModifyErrorResponseModel"
  28744. } ]
  28745. }
  28746. }
  28747. }
  28748. }
  28749. },
  28750. "requestBody" : {
  28751. "content" : {
  28752. "application/json" : {
  28753. "schema" : {
  28754. "$ref" : "#/components/schemas/AlipayOpenPublicMessageContentModifyModel"
  28755. }
  28756. }
  28757. },
  28758. "required" : false
  28759. }
  28760. }
  28761. },
  28762. "/v3/alipay/open/public/message/custom/send" : {
  28763. "post" : {
  28764. "tags" : [ "alipay.open.public.message.custom" ],
  28765. "summary" : "异步单发消息",
  28766. "description" : "开发者可使用该接口向指定关注用户推送客服消息,一般用于开发者使用接口与用户进行实时信息交互,例如自动回答用户包含某些指定关键字的咨询等。注意:用户必须在48小时之内与该生活号有交互行为才能收到消息(交互行为包括进入生活号、点击菜单、向生活号发送消息等),每个生活号每天只能向1个用户推送100条消息,超过这个数目会报错频率超限",
  28767. "operationId" : "alipay.open.public.message.custom.send",
  28768. "responses" : {
  28769. "200" : {
  28770. "description" : "common response",
  28771. "content" : {
  28772. "application/json" : {
  28773. "schema" : {
  28774. "$ref" : "#/components/schemas/AlipayOpenPublicMessageCustomSendResponseModel"
  28775. }
  28776. }
  28777. }
  28778. },
  28779. "default" : {
  28780. "description" : "请求失败",
  28781. "content" : {
  28782. "application/json" : {
  28783. "schema" : {
  28784. "anyOf" : [ {
  28785. "$ref" : "#/components/schemas/CommonErrorType"
  28786. }, {
  28787. "$ref" : "#/components/schemas/AlipayOpenPublicMessageCustomSendErrorResponseModel"
  28788. } ]
  28789. }
  28790. }
  28791. }
  28792. }
  28793. },
  28794. "requestBody" : {
  28795. "content" : {
  28796. "application/json" : {
  28797. "schema" : {
  28798. "$ref" : "#/components/schemas/AlipayOpenPublicMessageCustomSendModel"
  28799. }
  28800. }
  28801. },
  28802. "required" : false
  28803. }
  28804. }
  28805. },
  28806. "/v3/alipay/open/public/message/group/send" : {
  28807. "post" : {
  28808. "tags" : [ "alipay.open.public.message.group" ],
  28809. "summary" : "分组消息发送接口",
  28810. "description" : "开发者可调用此接口向指定分组中的关注用户发送消息,该接口为异步接口,一般请求成功后一段时间用户才能收到消息。",
  28811. "operationId" : "alipay.open.public.message.group.send",
  28812. "responses" : {
  28813. "200" : {
  28814. "description" : "common response",
  28815. "content" : {
  28816. "application/json" : {
  28817. "schema" : {
  28818. "$ref" : "#/components/schemas/AlipayOpenPublicMessageGroupSendResponseModel"
  28819. }
  28820. }
  28821. }
  28822. },
  28823. "default" : {
  28824. "description" : "请求失败",
  28825. "content" : {
  28826. "application/json" : {
  28827. "schema" : {
  28828. "anyOf" : [ {
  28829. "$ref" : "#/components/schemas/CommonErrorType"
  28830. }, {
  28831. "$ref" : "#/components/schemas/AlipayOpenPublicMessageGroupSendErrorResponseModel"
  28832. } ]
  28833. }
  28834. }
  28835. }
  28836. }
  28837. },
  28838. "requestBody" : {
  28839. "content" : {
  28840. "application/json" : {
  28841. "schema" : {
  28842. "$ref" : "#/components/schemas/AlipayOpenPublicMessageGroupSendModel"
  28843. }
  28844. }
  28845. },
  28846. "required" : false
  28847. }
  28848. }
  28849. },
  28850. "/v3/alipay/open/public/message/label/send" : {
  28851. "post" : {
  28852. "tags" : [ "alipay.open.public.message.label" ],
  28853. "summary" : "根据标签组发消息接口",
  28854. "description" : "开发者可以通过标签运算圈定一批用户,并且向这批用户推送消息。关于标签组发有以下注意点:\r\n除了商户自定义标签,还支持支付宝用户标签,我们将陆续开放用户画像标签,目前支持的支付宝标签及说明请查看支付宝开放标签;\r\n用户及标签数据有1天的缓存时间,即昨天开发者给M用户打了a标签,今天给有a标签的用户组发消息,M能够收到消息;但是如果开发者今天给M用户打了a标签,然后向有a标签的用户组发消息,M不能收到消息;\r\n与群发消息接口类似,该接口调用之后,消息发送系统会处理一段时间,调用接口到发送成功存在一定的时延,几分钟到半个小时不等;\r\n对于同一个用户而言,一周只能收到一条群发或者标签组发的消息;\r\n消息组发接口一周最多调用5次。",
  28855. "operationId" : "alipay.open.public.message.label.send",
  28856. "responses" : {
  28857. "200" : {
  28858. "description" : "common response",
  28859. "content" : {
  28860. "application/json" : {
  28861. "schema" : {
  28862. "$ref" : "#/components/schemas/AlipayOpenPublicMessageLabelSendResponseModel"
  28863. }
  28864. }
  28865. }
  28866. },
  28867. "default" : {
  28868. "description" : "请求失败",
  28869. "content" : {
  28870. "application/json" : {
  28871. "schema" : {
  28872. "anyOf" : [ {
  28873. "$ref" : "#/components/schemas/CommonErrorType"
  28874. }, {
  28875. "$ref" : "#/components/schemas/AlipayOpenPublicMessageLabelSendErrorResponseModel"
  28876. } ]
  28877. }
  28878. }
  28879. }
  28880. }
  28881. },
  28882. "requestBody" : {
  28883. "content" : {
  28884. "application/json" : {
  28885. "schema" : {
  28886. "$ref" : "#/components/schemas/AlipayOpenPublicMessageLabelSendModel"
  28887. }
  28888. }
  28889. },
  28890. "required" : false
  28891. }
  28892. }
  28893. },
  28894. "/v3/alipay/open/public/message/single/send" : {
  28895. "post" : {
  28896. "tags" : [ "alipay.open.public.message.single" ],
  28897. "summary" : "单发模板消息",
  28898. "description" : "商户可使用该接口向用户推送制定模板的消息,如动账提醒、停车通知等消息,消息模板可在生活号后台(fuwu.alipay.com)领取,点击“模板消息”菜单,即可在模板库中领取行业对应的模板",
  28899. "operationId" : "alipay.open.public.message.single.send",
  28900. "responses" : {
  28901. "200" : {
  28902. "description" : "common response",
  28903. "content" : {
  28904. "application/json" : {
  28905. "schema" : {
  28906. "$ref" : "#/components/schemas/AlipayOpenPublicMessageSingleSendResponseModel"
  28907. }
  28908. }
  28909. }
  28910. },
  28911. "default" : {
  28912. "description" : "请求失败",
  28913. "content" : {
  28914. "application/json" : {
  28915. "schema" : {
  28916. "anyOf" : [ {
  28917. "$ref" : "#/components/schemas/CommonErrorType"
  28918. }, {
  28919. "$ref" : "#/components/schemas/AlipayOpenPublicMessageSingleSendErrorResponseModel"
  28920. } ]
  28921. }
  28922. }
  28923. }
  28924. }
  28925. },
  28926. "requestBody" : {
  28927. "content" : {
  28928. "application/json" : {
  28929. "schema" : {
  28930. "$ref" : "#/components/schemas/AlipayOpenPublicMessageSingleSendModel"
  28931. }
  28932. }
  28933. },
  28934. "required" : false
  28935. }
  28936. }
  28937. },
  28938. "/v3/alipay/open/public/message/total/send" : {
  28939. "post" : {
  28940. "tags" : [ "alipay.open.public.message.total" ],
  28941. "summary" : "群发消息",
  28942. "description" : "群发消息",
  28943. "operationId" : "alipay.open.public.message.total.send",
  28944. "responses" : {
  28945. "200" : {
  28946. "description" : "common response",
  28947. "content" : {
  28948. "application/json" : {
  28949. "schema" : {
  28950. "$ref" : "#/components/schemas/AlipayOpenPublicMessageTotalSendResponseModel"
  28951. }
  28952. }
  28953. }
  28954. },
  28955. "default" : {
  28956. "description" : "请求失败",
  28957. "content" : {
  28958. "application/json" : {
  28959. "schema" : {
  28960. "anyOf" : [ {
  28961. "$ref" : "#/components/schemas/CommonErrorType"
  28962. }, {
  28963. "$ref" : "#/components/schemas/AlipayOpenPublicMessageTotalSendErrorResponseModel"
  28964. } ]
  28965. }
  28966. }
  28967. }
  28968. }
  28969. },
  28970. "requestBody" : {
  28971. "content" : {
  28972. "application/json" : {
  28973. "schema" : {
  28974. "$ref" : "#/components/schemas/AlipayOpenPublicMessageTotalSendModel"
  28975. }
  28976. }
  28977. },
  28978. "required" : false
  28979. }
  28980. }
  28981. },
  28982. "/v3/alipay/open/public/payee/bind/create" : {
  28983. "post" : {
  28984. "tags" : [ "alipay.open.public.payee.bind" ],
  28985. "summary" : "添加收款账号接口",
  28986. "description" : "允许开发者调用该接口将收款账号与当前生活号绑定,从而支持支付成功页引导推荐关注生活号",
  28987. "operationId" : "alipay.open.public.payee.bind.create",
  28988. "responses" : {
  28989. "200" : {
  28990. "description" : "common response",
  28991. "content" : {
  28992. "application/json" : {
  28993. "schema" : {
  28994. "$ref" : "#/components/schemas/AlipayOpenPublicPayeeBindCreateResponseModel"
  28995. }
  28996. }
  28997. }
  28998. },
  28999. "default" : {
  29000. "description" : "请求失败",
  29001. "content" : {
  29002. "application/json" : {
  29003. "schema" : {
  29004. "anyOf" : [ {
  29005. "$ref" : "#/components/schemas/CommonErrorType"
  29006. }, {
  29007. "$ref" : "#/components/schemas/AlipayOpenPublicPayeeBindCreateErrorResponseModel"
  29008. } ]
  29009. }
  29010. }
  29011. }
  29012. }
  29013. },
  29014. "requestBody" : {
  29015. "content" : {
  29016. "application/json" : {
  29017. "schema" : {
  29018. "$ref" : "#/components/schemas/AlipayOpenPublicPayeeBindCreateModel"
  29019. }
  29020. }
  29021. },
  29022. "required" : false
  29023. }
  29024. }
  29025. },
  29026. "/v3/alipay/open/public/payee/bind/delete" : {
  29027. "delete" : {
  29028. "tags" : [ "alipay.open.public.payee.bind" ],
  29029. "summary" : "解绑收款账号接口",
  29030. "description" : "允许开发者调用该接口将收款账号与当前生活号解绑",
  29031. "operationId" : "alipay.open.public.payee.bind.delete",
  29032. "responses" : {
  29033. "200" : {
  29034. "description" : "common response",
  29035. "content" : {
  29036. "application/json" : {
  29037. "schema" : {
  29038. "$ref" : "#/components/schemas/AlipayOpenPublicPayeeBindDeleteResponseModel"
  29039. }
  29040. }
  29041. }
  29042. },
  29043. "default" : {
  29044. "description" : "请求失败",
  29045. "content" : {
  29046. "application/json" : {
  29047. "schema" : {
  29048. "anyOf" : [ {
  29049. "$ref" : "#/components/schemas/CommonErrorType"
  29050. }, {
  29051. "$ref" : "#/components/schemas/AlipayOpenPublicPayeeBindDeleteErrorResponseModel"
  29052. } ]
  29053. }
  29054. }
  29055. }
  29056. }
  29057. },
  29058. "parameters" : [ {
  29059. "name" : "login_id",
  29060. "in" : "query",
  29061. "description" : "收款账号,需要绑定的收款支付宝账号,请勿与 pid 同时传入。",
  29062. "schema" : {
  29063. "type" : "string",
  29064. "example" : "13434232322"
  29065. }
  29066. }, {
  29067. "name" : "pid",
  29068. "in" : "query",
  29069. "description" : "支付宝用户id,2088开头的16位长度字符串,请勿与 login_id 同时传入。",
  29070. "schema" : {
  29071. "type" : "string",
  29072. "example" : "208844738438439"
  29073. }
  29074. } ]
  29075. }
  29076. },
  29077. "/v3/alipay/open/public/personalized/extension/batchquery" : {
  29078. "post" : {
  29079. "tags" : [ "alipay.open.public.personalized.extension" ],
  29080. "summary" : "扩展区批量查询接口",
  29081. "description" : "开发者可使用此接口批量查询扩展区列表,包括默认扩展区和个性化扩展区",
  29082. "operationId" : "alipay.open.public.personalized.extension.batchquery",
  29083. "responses" : {
  29084. "200" : {
  29085. "description" : "common response",
  29086. "content" : {
  29087. "application/json" : {
  29088. "schema" : {
  29089. "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedExtensionBatchqueryResponseModel"
  29090. }
  29091. }
  29092. }
  29093. },
  29094. "default" : {
  29095. "description" : "请求失败",
  29096. "content" : {
  29097. "application/json" : {
  29098. "schema" : {
  29099. "anyOf" : [ {
  29100. "$ref" : "#/components/schemas/CommonErrorType"
  29101. }, {
  29102. "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedExtensionBatchqueryErrorResponseModel"
  29103. } ]
  29104. }
  29105. }
  29106. }
  29107. }
  29108. }
  29109. }
  29110. },
  29111. "/v3/alipay/open/public/personalized/extension/create" : {
  29112. "post" : {
  29113. "tags" : [ "alipay.open.public.personalized.extension" ],
  29114. "summary" : "个性化扩展区创建接口",
  29115. "description" : "开发者可使用该接口创建一套个性化扩展区,符合该扩展区规则的用户进入生活号主页后会看到该个性化扩展区",
  29116. "operationId" : "alipay.open.public.personalized.extension.create",
  29117. "responses" : {
  29118. "200" : {
  29119. "description" : "common response",
  29120. "content" : {
  29121. "application/json" : {
  29122. "schema" : {
  29123. "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedExtensionCreateResponseModel"
  29124. }
  29125. }
  29126. }
  29127. },
  29128. "default" : {
  29129. "description" : "请求失败",
  29130. "content" : {
  29131. "application/json" : {
  29132. "schema" : {
  29133. "anyOf" : [ {
  29134. "$ref" : "#/components/schemas/CommonErrorType"
  29135. }, {
  29136. "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedExtensionCreateErrorResponseModel"
  29137. } ]
  29138. }
  29139. }
  29140. }
  29141. }
  29142. },
  29143. "requestBody" : {
  29144. "content" : {
  29145. "application/json" : {
  29146. "schema" : {
  29147. "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedExtensionCreateModel"
  29148. }
  29149. }
  29150. },
  29151. "required" : false
  29152. }
  29153. }
  29154. },
  29155. "/v3/alipay/open/public/personalized/extension/delete" : {
  29156. "delete" : {
  29157. "tags" : [ "alipay.open.public.personalized.extension" ],
  29158. "summary" : "扩展区删除接口",
  29159. "description" : "开发者可调用该接口删除创建的一套扩展区,包括个性化扩展区和默认扩展区",
  29160. "operationId" : "alipay.open.public.personalized.extension.delete",
  29161. "responses" : {
  29162. "200" : {
  29163. "description" : "common response",
  29164. "content" : {
  29165. "application/json" : {
  29166. "schema" : {
  29167. "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedExtensionDeleteResponseModel"
  29168. }
  29169. }
  29170. }
  29171. },
  29172. "default" : {
  29173. "description" : "请求失败",
  29174. "content" : {
  29175. "application/json" : {
  29176. "schema" : {
  29177. "anyOf" : [ {
  29178. "$ref" : "#/components/schemas/CommonErrorType"
  29179. }, {
  29180. "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedExtensionDeleteErrorResponseModel"
  29181. } ]
  29182. }
  29183. }
  29184. }
  29185. }
  29186. },
  29187. "parameters" : [ {
  29188. "name" : "extension_key",
  29189. "in" : "query",
  29190. "description" : "一套扩展区的key,删除默认扩展区时传入default ,查询扩展区列表可以获得每套扩展区的key",
  29191. "schema" : {
  29192. "type" : "string",
  29193. "example" : "10000"
  29194. }
  29195. } ]
  29196. }
  29197. },
  29198. "/v3/alipay/open/public/personalized/menu/create" : {
  29199. "post" : {
  29200. "tags" : [ "alipay.open.public.personalized.menu" ],
  29201. "summary" : "个性化菜单创建",
  29202. "description" : "开发者可使用该接口创建个性化菜单,当生活号用户标签信息命中该菜单的标签规则时,用户将会看到该套菜单。个性化菜单创建完成后立即生效,用户支付宝客户端版本低于10.0.12时,若创建的是icon菜单,也会以文本菜单的形式展示。",
  29203. "operationId" : "alipay.open.public.personalized.menu.create",
  29204. "responses" : {
  29205. "200" : {
  29206. "description" : "common response",
  29207. "content" : {
  29208. "application/json" : {
  29209. "schema" : {
  29210. "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedMenuCreateResponseModel"
  29211. }
  29212. }
  29213. }
  29214. },
  29215. "default" : {
  29216. "description" : "请求失败",
  29217. "content" : {
  29218. "application/json" : {
  29219. "schema" : {
  29220. "anyOf" : [ {
  29221. "$ref" : "#/components/schemas/CommonErrorType"
  29222. }, {
  29223. "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedMenuCreateErrorResponseModel"
  29224. } ]
  29225. }
  29226. }
  29227. }
  29228. }
  29229. },
  29230. "requestBody" : {
  29231. "content" : {
  29232. "application/json" : {
  29233. "schema" : {
  29234. "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedMenuCreateModel"
  29235. }
  29236. }
  29237. },
  29238. "required" : false
  29239. }
  29240. }
  29241. },
  29242. "/v3/alipay/open/public/personalized/menu/delete" : {
  29243. "delete" : {
  29244. "tags" : [ "alipay.open.public.personalized.menu" ],
  29245. "summary" : "个性化菜单删除",
  29246. "description" : "开发者可使用该接口删除个性化菜单",
  29247. "operationId" : "alipay.open.public.personalized.menu.delete",
  29248. "responses" : {
  29249. "200" : {
  29250. "description" : "common response",
  29251. "content" : {
  29252. "application/json" : {
  29253. "schema" : {
  29254. "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedMenuDeleteResponseModel"
  29255. }
  29256. }
  29257. }
  29258. },
  29259. "default" : {
  29260. "description" : "请求失败",
  29261. "content" : {
  29262. "application/json" : {
  29263. "schema" : {
  29264. "anyOf" : [ {
  29265. "$ref" : "#/components/schemas/CommonErrorType"
  29266. }, {
  29267. "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedMenuDeleteErrorResponseModel"
  29268. } ]
  29269. }
  29270. }
  29271. }
  29272. }
  29273. },
  29274. "parameters" : [ {
  29275. "name" : "menu_key",
  29276. "in" : "query",
  29277. "description" : "要删除的个性化菜单key。通过 <a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.personalized.menu.create\">alipay.open.public.personalized.menu.create</a>(个性化菜单创建)接口创建个性化菜单后获取。",
  29278. "schema" : {
  29279. "type" : "string",
  29280. "example" : "100000"
  29281. }
  29282. } ]
  29283. }
  29284. },
  29285. "/v3/alipay/open/public/qrcode/create" : {
  29286. "post" : {
  29287. "tags" : [ "alipay.open.public.qrcode" ],
  29288. "summary" : "带参推广二维码接口",
  29289. "description" : "为了满足用户渠道推广分析的需要,公众平台提供了生成带参数二维码的接口。使用该接口可以获得多个带不同场景值的二维码,用户扫描后,公众号可以接收到事件推送。目前有2种类型的二维码,分别是临时二维码、和永久二维码,前者有过期时间,最大为1800秒。 每次创建二维码ticket需要提供一个开发者自行设定的参数(scene_id)。",
  29290. "operationId" : "alipay.open.public.qrcode.create",
  29291. "responses" : {
  29292. "200" : {
  29293. "description" : "common response",
  29294. "content" : {
  29295. "application/json" : {
  29296. "schema" : {
  29297. "$ref" : "#/components/schemas/AlipayOpenPublicQrcodeCreateResponseModel"
  29298. }
  29299. }
  29300. }
  29301. },
  29302. "default" : {
  29303. "description" : "请求失败",
  29304. "content" : {
  29305. "application/json" : {
  29306. "schema" : {
  29307. "anyOf" : [ {
  29308. "$ref" : "#/components/schemas/CommonErrorType"
  29309. }, {
  29310. "$ref" : "#/components/schemas/AlipayOpenPublicQrcodeCreateErrorResponseModel"
  29311. } ]
  29312. }
  29313. }
  29314. }
  29315. }
  29316. },
  29317. "requestBody" : {
  29318. "content" : {
  29319. "application/json" : {
  29320. "schema" : {
  29321. "$ref" : "#/components/schemas/AlipayOpenPublicQrcodeCreateModel"
  29322. }
  29323. }
  29324. },
  29325. "required" : false
  29326. }
  29327. }
  29328. },
  29329. "/v3/alipay/open/public/setting/category/query" : {
  29330. "get" : {
  29331. "tags" : [ "alipay.open.public.setting.category" ],
  29332. "summary" : "生活号查询行业设置接口",
  29333. "description" : "查询生活号已设置的行业类型,支持isv调用",
  29334. "operationId" : "alipay.open.public.setting.category.query",
  29335. "responses" : {
  29336. "200" : {
  29337. "description" : "common response",
  29338. "content" : {
  29339. "application/json" : {
  29340. "schema" : {
  29341. "$ref" : "#/components/schemas/AlipayOpenPublicSettingCategoryQueryResponseModel"
  29342. }
  29343. }
  29344. }
  29345. },
  29346. "default" : {
  29347. "description" : "请求失败",
  29348. "content" : {
  29349. "application/json" : {
  29350. "schema" : {
  29351. "anyOf" : [ {
  29352. "$ref" : "#/components/schemas/CommonErrorType"
  29353. }, {
  29354. "$ref" : "#/components/schemas/AlipayOpenPublicSettingCategoryQueryErrorResponseModel"
  29355. } ]
  29356. }
  29357. }
  29358. }
  29359. }
  29360. }
  29361. }
  29362. },
  29363. "/v3/alipay/open/public/shortlink/create" : {
  29364. "post" : {
  29365. "tags" : [ "alipay.open.public.shortlink" ],
  29366. "summary" : "服务窗短链自主生成接口",
  29367. "description" : "商户通过本接口生成带自有场景标识的短链接",
  29368. "operationId" : "alipay.open.public.shortlink.create",
  29369. "responses" : {
  29370. "200" : {
  29371. "description" : "common response",
  29372. "content" : {
  29373. "application/json" : {
  29374. "schema" : {
  29375. "$ref" : "#/components/schemas/AlipayOpenPublicShortlinkCreateResponseModel"
  29376. }
  29377. }
  29378. }
  29379. },
  29380. "default" : {
  29381. "description" : "请求失败",
  29382. "content" : {
  29383. "application/json" : {
  29384. "schema" : {
  29385. "anyOf" : [ {
  29386. "$ref" : "#/components/schemas/CommonErrorType"
  29387. }, {
  29388. "$ref" : "#/components/schemas/AlipayOpenPublicShortlinkCreateErrorResponseModel"
  29389. } ]
  29390. }
  29391. }
  29392. }
  29393. }
  29394. },
  29395. "requestBody" : {
  29396. "content" : {
  29397. "application/json" : {
  29398. "schema" : {
  29399. "$ref" : "#/components/schemas/AlipayOpenPublicShortlinkCreateModel"
  29400. }
  29401. }
  29402. },
  29403. "required" : false
  29404. }
  29405. }
  29406. },
  29407. "/v3/alipay/open/public/singlearticle/data/batchquery" : {
  29408. "post" : {
  29409. "tags" : [ "alipay.open.public.singlearticle.data" ],
  29410. "summary" : "图文分析-按文章查询数据接口",
  29411. "description" : "开发者可以通过本接口查询最近30天内发布的图文消息的数据,数据包括:发布时间、送达人数、阅读人数、分享人数等。",
  29412. "operationId" : "alipay.open.public.singlearticle.data.batchquery",
  29413. "responses" : {
  29414. "200" : {
  29415. "description" : "common response",
  29416. "content" : {
  29417. "application/json" : {
  29418. "schema" : {
  29419. "$ref" : "#/components/schemas/AlipayOpenPublicSinglearticleDataBatchqueryResponseModel"
  29420. }
  29421. }
  29422. }
  29423. },
  29424. "default" : {
  29425. "description" : "请求失败",
  29426. "content" : {
  29427. "application/json" : {
  29428. "schema" : {
  29429. "anyOf" : [ {
  29430. "$ref" : "#/components/schemas/CommonErrorType"
  29431. }, {
  29432. "$ref" : "#/components/schemas/AlipayOpenPublicSinglearticleDataBatchqueryErrorResponseModel"
  29433. } ]
  29434. }
  29435. }
  29436. }
  29437. }
  29438. },
  29439. "requestBody" : {
  29440. "content" : {
  29441. "application/json" : {
  29442. "schema" : {
  29443. "$ref" : "#/components/schemas/AlipayOpenPublicSinglearticleDataBatchqueryModel"
  29444. }
  29445. }
  29446. },
  29447. "required" : false
  29448. }
  29449. }
  29450. },
  29451. "/v3/alipay/open/public/template/message/get" : {
  29452. "get" : {
  29453. "tags" : [ "alipay.open.public.template.message" ],
  29454. "summary" : "消息模板领取接口",
  29455. "description" : "帮助服务窗开发者从服务窗平台(fuwu.alipay.com)公共模板库里领取一个行业的消息模板--消息模板是一种消息的样式,如消费提醒、账单提醒等,主要用于isv帮助商户领取消息模板。",
  29456. "operationId" : "alipay.open.public.template.message.get",
  29457. "responses" : {
  29458. "200" : {
  29459. "description" : "common response",
  29460. "content" : {
  29461. "application/json" : {
  29462. "schema" : {
  29463. "$ref" : "#/components/schemas/AlipayOpenPublicTemplateMessageGetResponseModel"
  29464. }
  29465. }
  29466. }
  29467. },
  29468. "default" : {
  29469. "description" : "请求失败",
  29470. "content" : {
  29471. "application/json" : {
  29472. "schema" : {
  29473. "anyOf" : [ {
  29474. "$ref" : "#/components/schemas/CommonErrorType"
  29475. }, {
  29476. "$ref" : "#/components/schemas/AlipayOpenPublicTemplateMessageGetErrorResponseModel"
  29477. } ]
  29478. }
  29479. }
  29480. }
  29481. }
  29482. },
  29483. "parameters" : [ {
  29484. "name" : "template_id",
  29485. "in" : "query",
  29486. "description" : "消息母板id,登陆生活号后台(fuwu.alipay.com),点击菜单“模板消息”,点击“模板库”,即可看到相应模板的消息母板id",
  29487. "schema" : {
  29488. "type" : "string",
  29489. "example" : "TM000000223"
  29490. }
  29491. } ]
  29492. }
  29493. },
  29494. "/v3/alipay/open/public/template/message/industry/modify" : {
  29495. "post" : {
  29496. "tags" : [ "alipay.open.public.template.message.industry" ],
  29497. "summary" : "模板消息行业设置修改接口",
  29498. "description" : "用于修改服务窗消息模板设置的行业信息,如:IT科技/IT软件与服务。",
  29499. "operationId" : "alipay.open.public.template.message.industry.modify",
  29500. "responses" : {
  29501. "200" : {
  29502. "description" : "common response",
  29503. "content" : {
  29504. "application/json" : {
  29505. "schema" : {
  29506. "$ref" : "#/components/schemas/AlipayOpenPublicTemplateMessageIndustryModifyResponseModel"
  29507. }
  29508. }
  29509. }
  29510. },
  29511. "default" : {
  29512. "description" : "请求失败",
  29513. "content" : {
  29514. "application/json" : {
  29515. "schema" : {
  29516. "anyOf" : [ {
  29517. "$ref" : "#/components/schemas/CommonErrorType"
  29518. }, {
  29519. "$ref" : "#/components/schemas/AlipayOpenPublicTemplateMessageIndustryModifyErrorResponseModel"
  29520. } ]
  29521. }
  29522. }
  29523. }
  29524. }
  29525. },
  29526. "requestBody" : {
  29527. "content" : {
  29528. "application/json" : {
  29529. "schema" : {
  29530. "$ref" : "#/components/schemas/AlipayOpenPublicTemplateMessageIndustryModifyModel"
  29531. }
  29532. }
  29533. },
  29534. "required" : false
  29535. }
  29536. }
  29537. },
  29538. "/v3/alipay/open/public/topic/batchquery" : {
  29539. "post" : {
  29540. "tags" : [ "alipay.open.public.topic" ],
  29541. "summary" : "营销位查询接口",
  29542. "description" : "通过此接口,开发者可以查询已经在生活号主页配置的营销位具体信息,包括标题、描述、链接等信息。",
  29543. "operationId" : "alipay.open.public.topic.batchquery",
  29544. "responses" : {
  29545. "200" : {
  29546. "description" : "common response",
  29547. "content" : {
  29548. "application/json" : {
  29549. "schema" : {
  29550. "$ref" : "#/components/schemas/AlipayOpenPublicTopicBatchqueryResponseModel"
  29551. }
  29552. }
  29553. }
  29554. },
  29555. "default" : {
  29556. "description" : "请求失败",
  29557. "content" : {
  29558. "application/json" : {
  29559. "schema" : {
  29560. "anyOf" : [ {
  29561. "$ref" : "#/components/schemas/CommonErrorType"
  29562. }, {
  29563. "$ref" : "#/components/schemas/AlipayOpenPublicTopicBatchqueryErrorResponseModel"
  29564. } ]
  29565. }
  29566. }
  29567. }
  29568. }
  29569. }
  29570. }
  29571. },
  29572. "/v3/alipay/open/public/topic/create" : {
  29573. "post" : {
  29574. "tags" : [ "alipay.open.public.topic" ],
  29575. "summary" : "营销位添加接口",
  29576. "description" : "开发者可以通过此接口,在生活号主页中配置营销位,支持展示4-8个营销位,满足商家对业务的需求,需要注意的是,当某个营销位需要显示为头图时,必须要配置以下三个参数:营销位描述 (sub_title)、营销位图片(img_url)、营销位链接地址(link_url),如不需要展示头图时,以上三个参数均不要传。",
  29577. "operationId" : "alipay.open.public.topic.create",
  29578. "responses" : {
  29579. "200" : {
  29580. "description" : "common response",
  29581. "content" : {
  29582. "application/json" : {
  29583. "schema" : {
  29584. "$ref" : "#/components/schemas/AlipayOpenPublicTopicCreateResponseModel"
  29585. }
  29586. }
  29587. }
  29588. },
  29589. "default" : {
  29590. "description" : "请求失败",
  29591. "content" : {
  29592. "application/json" : {
  29593. "schema" : {
  29594. "anyOf" : [ {
  29595. "$ref" : "#/components/schemas/CommonErrorType"
  29596. }, {
  29597. "$ref" : "#/components/schemas/AlipayOpenPublicTopicCreateErrorResponseModel"
  29598. } ]
  29599. }
  29600. }
  29601. }
  29602. }
  29603. },
  29604. "requestBody" : {
  29605. "content" : {
  29606. "application/json" : {
  29607. "schema" : {
  29608. "$ref" : "#/components/schemas/AlipayOpenPublicTopicCreateModel"
  29609. }
  29610. }
  29611. },
  29612. "required" : false
  29613. }
  29614. }
  29615. },
  29616. "/v3/alipay/open/public/topic/delete" : {
  29617. "delete" : {
  29618. "tags" : [ "alipay.open.public.topic" ],
  29619. "summary" : "营销位删除接口",
  29620. "description" : "通过此接口,开发者可以根据营销位的id删除指定的营销位。",
  29621. "operationId" : "alipay.open.public.topic.delete",
  29622. "responses" : {
  29623. "200" : {
  29624. "description" : "common response",
  29625. "content" : {
  29626. "application/json" : {
  29627. "schema" : {
  29628. "$ref" : "#/components/schemas/AlipayOpenPublicTopicDeleteResponseModel"
  29629. }
  29630. }
  29631. }
  29632. },
  29633. "default" : {
  29634. "description" : "请求失败",
  29635. "content" : {
  29636. "application/json" : {
  29637. "schema" : {
  29638. "anyOf" : [ {
  29639. "$ref" : "#/components/schemas/CommonErrorType"
  29640. }, {
  29641. "$ref" : "#/components/schemas/AlipayOpenPublicTopicDeleteErrorResponseModel"
  29642. } ]
  29643. }
  29644. }
  29645. }
  29646. }
  29647. },
  29648. "parameters" : [ {
  29649. "name" : "topic_id",
  29650. "in" : "query",
  29651. "description" : "营销位id",
  29652. "schema" : {
  29653. "type" : "string",
  29654. "example" : "123"
  29655. }
  29656. } ]
  29657. }
  29658. },
  29659. "/v3/alipay/open/public/topic/modify" : {
  29660. "post" : {
  29661. "tags" : [ "alipay.open.public.topic" ],
  29662. "summary" : "营销位修改接口",
  29663. "description" : "通过此接口,开发者可以修改已经在生活号主页配置的营销位具体信息,包括标题、描述、链接等信息。需要注意的是,当某个营销位需要显示为头图时,必须要配置以下三个参数:营销位描述 (sub_title)、营销位图片(img_url)、营销位链接地址(link_url),如不需要展示头图时,以上三个参数均不要传。请注意修改是针对整套营销位,会覆盖之前的营销位。",
  29664. "operationId" : "alipay.open.public.topic.modify",
  29665. "responses" : {
  29666. "200" : {
  29667. "description" : "common response",
  29668. "content" : {
  29669. "application/json" : {
  29670. "schema" : {
  29671. "$ref" : "#/components/schemas/AlipayOpenPublicTopicModifyResponseModel"
  29672. }
  29673. }
  29674. }
  29675. },
  29676. "default" : {
  29677. "description" : "请求失败",
  29678. "content" : {
  29679. "application/json" : {
  29680. "schema" : {
  29681. "anyOf" : [ {
  29682. "$ref" : "#/components/schemas/CommonErrorType"
  29683. }, {
  29684. "$ref" : "#/components/schemas/AlipayOpenPublicTopicModifyErrorResponseModel"
  29685. } ]
  29686. }
  29687. }
  29688. }
  29689. }
  29690. },
  29691. "requestBody" : {
  29692. "content" : {
  29693. "application/json" : {
  29694. "schema" : {
  29695. "$ref" : "#/components/schemas/AlipayOpenPublicTopicModifyModel"
  29696. }
  29697. }
  29698. },
  29699. "required" : false
  29700. }
  29701. }
  29702. },
  29703. "/v3/alipay/open/public/user/data/batchquery" : {
  29704. "post" : {
  29705. "tags" : [ "alipay.open.public.user.data" ],
  29706. "summary" : "用户分析数据查询接口",
  29707. "description" : "通过此接口,开发者可以根据时间查询30天内的关注用户人数、取消关注用户人数、净增关注人数、累计关注人数信息",
  29708. "operationId" : "alipay.open.public.user.data.batchquery",
  29709. "responses" : {
  29710. "200" : {
  29711. "description" : "common response",
  29712. "content" : {
  29713. "application/json" : {
  29714. "schema" : {
  29715. "$ref" : "#/components/schemas/AlipayOpenPublicUserDataBatchqueryResponseModel"
  29716. }
  29717. }
  29718. }
  29719. },
  29720. "default" : {
  29721. "description" : "请求失败",
  29722. "content" : {
  29723. "application/json" : {
  29724. "schema" : {
  29725. "anyOf" : [ {
  29726. "$ref" : "#/components/schemas/CommonErrorType"
  29727. }, {
  29728. "$ref" : "#/components/schemas/AlipayOpenPublicUserDataBatchqueryErrorResponseModel"
  29729. } ]
  29730. }
  29731. }
  29732. }
  29733. }
  29734. },
  29735. "requestBody" : {
  29736. "content" : {
  29737. "application/json" : {
  29738. "schema" : {
  29739. "$ref" : "#/components/schemas/AlipayOpenPublicUserDataBatchqueryModel"
  29740. }
  29741. }
  29742. },
  29743. "required" : false
  29744. }
  29745. }
  29746. },
  29747. "/v3/alipay/open/public/user/follow/query" : {
  29748. "get" : {
  29749. "tags" : [ "alipay.open.public.user.follow" ],
  29750. "summary" : "查询用户是否已经关注了生活号",
  29751. "description" : "查询用户是否已经关注生活号,支持生活号、内容号、财富号",
  29752. "operationId" : "alipay.open.public.user.follow.query",
  29753. "responses" : {
  29754. "200" : {
  29755. "description" : "common response",
  29756. "content" : {
  29757. "application/json" : {
  29758. "schema" : {
  29759. "$ref" : "#/components/schemas/AlipayOpenPublicUserFollowQueryResponseModel"
  29760. }
  29761. }
  29762. }
  29763. },
  29764. "default" : {
  29765. "description" : "请求失败",
  29766. "content" : {
  29767. "application/json" : {
  29768. "schema" : {
  29769. "anyOf" : [ {
  29770. "$ref" : "#/components/schemas/CommonErrorType"
  29771. }, {
  29772. "$ref" : "#/components/schemas/AlipayOpenPublicUserFollowQueryErrorResponseModel"
  29773. } ]
  29774. }
  29775. }
  29776. }
  29777. }
  29778. },
  29779. "parameters" : [ {
  29780. "name" : "user_id",
  29781. "in" : "query",
  29782. "description" : "支付宝用户id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  29783. "schema" : {
  29784. "type" : "string",
  29785. "example" : "2088132324342243"
  29786. }
  29787. }, {
  29788. "name" : "open_id",
  29789. "in" : "query",
  29790. "description" : "支付宝用户唯一的标识",
  29791. "schema" : {
  29792. "type" : "string",
  29793. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  29794. }
  29795. } ]
  29796. }
  29797. },
  29798. "/v3/alipay/open/search/ability/batchquery" : {
  29799. "post" : {
  29800. "tags" : [ "alipay.open.search.ability" ],
  29801. "summary" : "搜索运营列表分页查询",
  29802. "description" : "搜索运营列表分页查询",
  29803. "operationId" : "alipay.open.search.ability.batchquery",
  29804. "responses" : {
  29805. "200" : {
  29806. "description" : "common response",
  29807. "content" : {
  29808. "application/json" : {
  29809. "schema" : {
  29810. "$ref" : "#/components/schemas/AlipayOpenSearchAbilityBatchqueryResponseModel"
  29811. }
  29812. }
  29813. }
  29814. },
  29815. "default" : {
  29816. "description" : "请求失败",
  29817. "content" : {
  29818. "application/json" : {
  29819. "schema" : {
  29820. "anyOf" : [ {
  29821. "$ref" : "#/components/schemas/CommonErrorType"
  29822. }, {
  29823. "$ref" : "#/components/schemas/AlipayOpenSearchAbilityBatchqueryErrorResponseModel"
  29824. } ]
  29825. }
  29826. }
  29827. }
  29828. }
  29829. },
  29830. "requestBody" : {
  29831. "content" : {
  29832. "application/json" : {
  29833. "schema" : {
  29834. "$ref" : "#/components/schemas/AlipayOpenSearchAbilityBatchqueryModel"
  29835. }
  29836. }
  29837. },
  29838. "required" : false
  29839. }
  29840. }
  29841. },
  29842. "/v3/alipay/open/search/appkeyword/apply" : {
  29843. "post" : {
  29844. "tags" : [ "alipay.open.search.appkeyword" ],
  29845. "summary" : "提报搜索关键词",
  29846. "description" : "提报搜索关键词",
  29847. "operationId" : "alipay.open.search.appkeyword.apply",
  29848. "responses" : {
  29849. "200" : {
  29850. "description" : "common response",
  29851. "content" : {
  29852. "application/json" : {
  29853. "schema" : {
  29854. "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordApplyResponseModel"
  29855. }
  29856. }
  29857. }
  29858. },
  29859. "default" : {
  29860. "description" : "请求失败",
  29861. "content" : {
  29862. "application/json" : {
  29863. "schema" : {
  29864. "anyOf" : [ {
  29865. "$ref" : "#/components/schemas/CommonErrorType"
  29866. }, {
  29867. "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordApplyErrorResponseModel"
  29868. } ]
  29869. }
  29870. }
  29871. }
  29872. }
  29873. },
  29874. "requestBody" : {
  29875. "content" : {
  29876. "application/json" : {
  29877. "schema" : {
  29878. "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordApplyModel"
  29879. }
  29880. }
  29881. },
  29882. "required" : false
  29883. }
  29884. }
  29885. },
  29886. "/v3/alipay/open/search/appkeyword/batchquery" : {
  29887. "get" : {
  29888. "tags" : [ "alipay.open.search.appkeyword" ],
  29889. "summary" : "查询小程序已配置关键词",
  29890. "description" : "查询小程序已配置关键词",
  29891. "operationId" : "alipay.open.search.appkeyword.batchquery",
  29892. "responses" : {
  29893. "200" : {
  29894. "description" : "common response",
  29895. "content" : {
  29896. "application/json" : {
  29897. "schema" : {
  29898. "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordBatchqueryResponseModel"
  29899. }
  29900. }
  29901. }
  29902. },
  29903. "default" : {
  29904. "description" : "请求失败",
  29905. "content" : {
  29906. "application/json" : {
  29907. "schema" : {
  29908. "anyOf" : [ {
  29909. "$ref" : "#/components/schemas/CommonErrorType"
  29910. }, {
  29911. "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordBatchqueryErrorResponseModel"
  29912. } ]
  29913. }
  29914. }
  29915. }
  29916. }
  29917. },
  29918. "parameters" : [ {
  29919. "name" : "target_appid",
  29920. "in" : "query",
  29921. "description" : "小程序id",
  29922. "schema" : {
  29923. "type" : "string",
  29924. "example" : "2021001120654127"
  29925. }
  29926. }, {
  29927. "name" : "status",
  29928. "in" : "query",
  29929. "description" : "关键词的状态,枚举值,不传该字段表示查询所有状态",
  29930. "schema" : {
  29931. "type" : "string",
  29932. "example" : "ONLINE"
  29933. }
  29934. }, {
  29935. "name" : "page_number",
  29936. "in" : "query",
  29937. "description" : "当前页",
  29938. "schema" : {
  29939. "type" : "integer",
  29940. "example" : "1"
  29941. }
  29942. }, {
  29943. "name" : "page_size",
  29944. "in" : "query",
  29945. "description" : "每页显示条数",
  29946. "schema" : {
  29947. "type" : "integer",
  29948. "example" : "10"
  29949. }
  29950. } ]
  29951. }
  29952. },
  29953. "/v3/alipay/open/search/appkeyword/delete" : {
  29954. "post" : {
  29955. "tags" : [ "alipay.open.search.appkeyword" ],
  29956. "summary" : "删除搜索关键词",
  29957. "description" : "删除搜索关键词",
  29958. "operationId" : "alipay.open.search.appkeyword.delete",
  29959. "responses" : {
  29960. "200" : {
  29961. "description" : "common response",
  29962. "content" : {
  29963. "application/json" : {
  29964. "schema" : {
  29965. "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordDeleteResponseModel"
  29966. }
  29967. }
  29968. }
  29969. },
  29970. "default" : {
  29971. "description" : "请求失败",
  29972. "content" : {
  29973. "application/json" : {
  29974. "schema" : {
  29975. "anyOf" : [ {
  29976. "$ref" : "#/components/schemas/CommonErrorType"
  29977. }, {
  29978. "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordDeleteErrorResponseModel"
  29979. } ]
  29980. }
  29981. }
  29982. }
  29983. }
  29984. },
  29985. "requestBody" : {
  29986. "content" : {
  29987. "application/json" : {
  29988. "schema" : {
  29989. "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordDeleteModel"
  29990. }
  29991. }
  29992. },
  29993. "required" : false
  29994. }
  29995. }
  29996. },
  29997. "/v3/alipay/open/search/appkeyword/querystatus" : {
  29998. "get" : {
  29999. "tags" : [ "alipay.open.search.appkeyword" ],
  30000. "summary" : "查询小程序搜索关键词的审核工单的状态",
  30001. "description" : "查询小程序搜索关键词的审核工单的状态",
  30002. "operationId" : "alipay.open.search.appkeyword.querystatus",
  30003. "responses" : {
  30004. "200" : {
  30005. "description" : "common response",
  30006. "content" : {
  30007. "application/json" : {
  30008. "schema" : {
  30009. "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordQuerystatusResponseModel"
  30010. }
  30011. }
  30012. }
  30013. },
  30014. "default" : {
  30015. "description" : "请求失败",
  30016. "content" : {
  30017. "application/json" : {
  30018. "schema" : {
  30019. "anyOf" : [ {
  30020. "$ref" : "#/components/schemas/CommonErrorType"
  30021. }, {
  30022. "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordQuerystatusErrorResponseModel"
  30023. } ]
  30024. }
  30025. }
  30026. }
  30027. }
  30028. },
  30029. "parameters" : [ {
  30030. "name" : "target_appid",
  30031. "in" : "query",
  30032. "description" : "小程序id",
  30033. "schema" : {
  30034. "type" : "string",
  30035. "example" : "2021001120654127"
  30036. }
  30037. }, {
  30038. "name" : "apply_no",
  30039. "in" : "query",
  30040. "description" : "审核工单id,提报接口的返回值",
  30041. "schema" : {
  30042. "type" : "string",
  30043. "example" : "20220519000000108026"
  30044. }
  30045. } ]
  30046. }
  30047. },
  30048. "/v3/alipay/open/search/appkeywordquota/query" : {
  30049. "get" : {
  30050. "tags" : [ "alipay.open.search.appkeywordquota" ],
  30051. "summary" : "查询小程序可配置关键词数",
  30052. "description" : "查询小程序可配置关键词数",
  30053. "operationId" : "alipay.open.search.appkeywordquota.query",
  30054. "responses" : {
  30055. "200" : {
  30056. "description" : "common response",
  30057. "content" : {
  30058. "application/json" : {
  30059. "schema" : {
  30060. "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordquotaQueryResponseModel"
  30061. }
  30062. }
  30063. }
  30064. },
  30065. "default" : {
  30066. "description" : "请求失败",
  30067. "content" : {
  30068. "application/json" : {
  30069. "schema" : {
  30070. "anyOf" : [ {
  30071. "$ref" : "#/components/schemas/CommonErrorType"
  30072. }, {
  30073. "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordquotaQueryErrorResponseModel"
  30074. } ]
  30075. }
  30076. }
  30077. }
  30078. }
  30079. },
  30080. "parameters" : [ {
  30081. "name" : "target_appid",
  30082. "in" : "query",
  30083. "description" : "小程序id",
  30084. "schema" : {
  30085. "type" : "string",
  30086. "example" : "2021001120654127"
  30087. }
  30088. } ]
  30089. }
  30090. },
  30091. "/v3/alipay/open/search/baseorder/modify" : {
  30092. "post" : {
  30093. "tags" : [ "alipay.open.search.baseorder" ],
  30094. "summary" : "搜索运营提报基础信息工单",
  30095. "description" : "搜索运营提报基础信息工单",
  30096. "operationId" : "alipay.open.search.baseorder.modify",
  30097. "responses" : {
  30098. "200" : {
  30099. "description" : "common response",
  30100. "content" : {
  30101. "application/json" : {
  30102. "schema" : {
  30103. "$ref" : "#/components/schemas/AlipayOpenSearchBaseorderModifyResponseModel"
  30104. }
  30105. }
  30106. }
  30107. },
  30108. "default" : {
  30109. "description" : "请求失败",
  30110. "content" : {
  30111. "application/json" : {
  30112. "schema" : {
  30113. "anyOf" : [ {
  30114. "$ref" : "#/components/schemas/CommonErrorType"
  30115. }, {
  30116. "$ref" : "#/components/schemas/AlipayOpenSearchBaseorderModifyErrorResponseModel"
  30117. } ]
  30118. }
  30119. }
  30120. }
  30121. }
  30122. },
  30123. "requestBody" : {
  30124. "content" : {
  30125. "application/json" : {
  30126. "schema" : {
  30127. "$ref" : "#/components/schemas/AlipayOpenSearchBaseorderModifyModel"
  30128. }
  30129. }
  30130. },
  30131. "required" : false
  30132. }
  30133. }
  30134. },
  30135. "/v3/alipay/open/search/box/apply" : {
  30136. "post" : {
  30137. "tags" : [ "alipay.open.search.box" ],
  30138. "summary" : "申请创建搜索直达配置",
  30139. "description" : "申请创建搜索直达配置,相关概念说明及准入条件详见 <a href=\"https://opendocs.alipay.com/mini/03fjba\"> 搜索直达 </a>\n通过该接口创建搜索直达,满足准入门槛时,创建后立马生效。",
  30140. "operationId" : "alipay.open.search.box.apply",
  30141. "responses" : {
  30142. "200" : {
  30143. "description" : "common response",
  30144. "content" : {
  30145. "application/json" : {
  30146. "schema" : {
  30147. "$ref" : "#/components/schemas/AlipayOpenSearchBoxApplyResponseModel"
  30148. }
  30149. }
  30150. }
  30151. },
  30152. "default" : {
  30153. "description" : "请求失败",
  30154. "content" : {
  30155. "application/json" : {
  30156. "schema" : {
  30157. "anyOf" : [ {
  30158. "$ref" : "#/components/schemas/CommonErrorType"
  30159. }, {
  30160. "$ref" : "#/components/schemas/AlipayOpenSearchBoxApplyErrorResponseModel"
  30161. } ]
  30162. }
  30163. }
  30164. }
  30165. }
  30166. },
  30167. "requestBody" : {
  30168. "content" : {
  30169. "application/json" : {
  30170. "schema" : {
  30171. "$ref" : "#/components/schemas/AlipayOpenSearchBoxApplyModel"
  30172. }
  30173. }
  30174. },
  30175. "required" : false
  30176. }
  30177. }
  30178. },
  30179. "/v3/alipay/open/search/box/batchquery" : {
  30180. "post" : {
  30181. "tags" : [ "alipay.open.search.box" ],
  30182. "summary" : "批量查询搜索直达配置列表",
  30183. "description" : "批量查询商户已开通搜索直达的小程序及直达信息(搜索直达名称和id)",
  30184. "operationId" : "alipay.open.search.box.batchquery",
  30185. "responses" : {
  30186. "200" : {
  30187. "description" : "common response",
  30188. "content" : {
  30189. "application/json" : {
  30190. "schema" : {
  30191. "$ref" : "#/components/schemas/AlipayOpenSearchBoxBatchqueryResponseModel"
  30192. }
  30193. }
  30194. }
  30195. },
  30196. "default" : {
  30197. "description" : "请求失败",
  30198. "content" : {
  30199. "application/json" : {
  30200. "schema" : {
  30201. "anyOf" : [ {
  30202. "$ref" : "#/components/schemas/CommonErrorType"
  30203. }, {
  30204. "$ref" : "#/components/schemas/AlipayOpenSearchBoxBatchqueryErrorResponseModel"
  30205. } ]
  30206. }
  30207. }
  30208. }
  30209. }
  30210. },
  30211. "requestBody" : {
  30212. "content" : {
  30213. "application/json" : {
  30214. "schema" : {
  30215. "$ref" : "#/components/schemas/AlipayOpenSearchBoxBatchqueryModel"
  30216. }
  30217. }
  30218. },
  30219. "required" : false
  30220. }
  30221. }
  30222. },
  30223. "/v3/alipay/open/search/box/consult" : {
  30224. "post" : {
  30225. "tags" : [ "alipay.open.search.box" ],
  30226. "summary" : "搜索直达创建预校验",
  30227. "description" : "用于对搜索直达创建申请的入参和条件进行提前判断校验。\n具体准入条件参考<a href=\"https://opendocs.alipay.com/pre-open/0311q3#%E5%87%86%E5%85%A5%E6%9D%A1%E4%BB%B6\">搜索直达准入条件</a>",
  30228. "operationId" : "alipay.open.search.box.consult",
  30229. "responses" : {
  30230. "200" : {
  30231. "description" : "common response",
  30232. "content" : {
  30233. "application/json" : {
  30234. "schema" : {
  30235. "$ref" : "#/components/schemas/AlipayOpenSearchBoxConsultResponseModel"
  30236. }
  30237. }
  30238. }
  30239. },
  30240. "default" : {
  30241. "description" : "请求失败",
  30242. "content" : {
  30243. "application/json" : {
  30244. "schema" : {
  30245. "anyOf" : [ {
  30246. "$ref" : "#/components/schemas/CommonErrorType"
  30247. }, {
  30248. "$ref" : "#/components/schemas/AlipayOpenSearchBoxConsultErrorResponseModel"
  30249. } ]
  30250. }
  30251. }
  30252. }
  30253. }
  30254. },
  30255. "requestBody" : {
  30256. "content" : {
  30257. "application/json" : {
  30258. "schema" : {
  30259. "$ref" : "#/components/schemas/AlipayOpenSearchBoxConsultModel"
  30260. }
  30261. }
  30262. },
  30263. "required" : false
  30264. }
  30265. }
  30266. },
  30267. "/v3/alipay/open/search/box/modify" : {
  30268. "post" : {
  30269. "tags" : [ "alipay.open.search.box" ],
  30270. "summary" : "修改搜索直达配置",
  30271. "description" : "修改搜索直达配置模块,配置对应的模块参考:<a href=\"https://opendocs.alipay.com/mini/03fjba#%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E\"> 搜索直达模块说明 </a>",
  30272. "operationId" : "alipay.open.search.box.modify",
  30273. "responses" : {
  30274. "200" : {
  30275. "description" : "common response",
  30276. "content" : {
  30277. "application/json" : {
  30278. "schema" : {
  30279. "$ref" : "#/components/schemas/AlipayOpenSearchBoxModifyResponseModel"
  30280. }
  30281. }
  30282. }
  30283. },
  30284. "default" : {
  30285. "description" : "请求失败",
  30286. "content" : {
  30287. "application/json" : {
  30288. "schema" : {
  30289. "anyOf" : [ {
  30290. "$ref" : "#/components/schemas/CommonErrorType"
  30291. }, {
  30292. "$ref" : "#/components/schemas/AlipayOpenSearchBoxModifyErrorResponseModel"
  30293. } ]
  30294. }
  30295. }
  30296. }
  30297. }
  30298. },
  30299. "requestBody" : {
  30300. "content" : {
  30301. "application/json" : {
  30302. "schema" : {
  30303. "$ref" : "#/components/schemas/AlipayOpenSearchBoxModifyModel"
  30304. }
  30305. }
  30306. },
  30307. "required" : false
  30308. }
  30309. }
  30310. },
  30311. "/v3/alipay/open/search/box/offline" : {
  30312. "post" : {
  30313. "tags" : [ "alipay.open.search.box" ],
  30314. "summary" : "下架搜索直达",
  30315. "description" : "若不需要运营搜索直达时,可调用次接口下架搜索直达",
  30316. "operationId" : "alipay.open.search.box.offline",
  30317. "responses" : {
  30318. "200" : {
  30319. "description" : "common response",
  30320. "content" : {
  30321. "application/json" : {
  30322. "schema" : {
  30323. "$ref" : "#/components/schemas/AlipayOpenSearchBoxOfflineResponseModel"
  30324. }
  30325. }
  30326. }
  30327. },
  30328. "default" : {
  30329. "description" : "请求失败",
  30330. "content" : {
  30331. "application/json" : {
  30332. "schema" : {
  30333. "anyOf" : [ {
  30334. "$ref" : "#/components/schemas/CommonErrorType"
  30335. }, {
  30336. "$ref" : "#/components/schemas/AlipayOpenSearchBoxOfflineErrorResponseModel"
  30337. } ]
  30338. }
  30339. }
  30340. }
  30341. }
  30342. },
  30343. "requestBody" : {
  30344. "content" : {
  30345. "application/json" : {
  30346. "schema" : {
  30347. "$ref" : "#/components/schemas/AlipayOpenSearchBoxOfflineModel"
  30348. }
  30349. }
  30350. },
  30351. "required" : false
  30352. }
  30353. }
  30354. },
  30355. "/v3/alipay/open/search/box/online" : {
  30356. "post" : {
  30357. "tags" : [ "alipay.open.search.box" ],
  30358. "summary" : "上架搜索直达",
  30359. "description" : "若搜索直达处于下架状态时,可通过此接口来重新上架直达,上架须满足搜索直达准入门槛,若不满足,则会上架失败并报错",
  30360. "operationId" : "alipay.open.search.box.online",
  30361. "responses" : {
  30362. "200" : {
  30363. "description" : "common response",
  30364. "content" : {
  30365. "application/json" : {
  30366. "schema" : {
  30367. "$ref" : "#/components/schemas/AlipayOpenSearchBoxOnlineResponseModel"
  30368. }
  30369. }
  30370. }
  30371. },
  30372. "default" : {
  30373. "description" : "请求失败",
  30374. "content" : {
  30375. "application/json" : {
  30376. "schema" : {
  30377. "anyOf" : [ {
  30378. "$ref" : "#/components/schemas/CommonErrorType"
  30379. }, {
  30380. "$ref" : "#/components/schemas/AlipayOpenSearchBoxOnlineErrorResponseModel"
  30381. } ]
  30382. }
  30383. }
  30384. }
  30385. }
  30386. },
  30387. "requestBody" : {
  30388. "content" : {
  30389. "application/json" : {
  30390. "schema" : {
  30391. "$ref" : "#/components/schemas/AlipayOpenSearchBoxOnlineModel"
  30392. }
  30393. }
  30394. },
  30395. "required" : false
  30396. }
  30397. }
  30398. },
  30399. "/v3/alipay/open/search/box/query" : {
  30400. "get" : {
  30401. "tags" : [ "alipay.open.search.box" ],
  30402. "summary" : "查询搜索直达配置详情",
  30403. "description" : "查询商户已开通搜索直达的小程序及直达信息(搜索直达名称和id),各模块说明详见 <a href=\"https://opendocs.alipay.com/mini/03fjba\"> 搜索直达 </a>。",
  30404. "operationId" : "alipay.open.search.box.query",
  30405. "responses" : {
  30406. "200" : {
  30407. "description" : "common response",
  30408. "content" : {
  30409. "application/json" : {
  30410. "schema" : {
  30411. "$ref" : "#/components/schemas/AlipayOpenSearchBoxQueryResponseModel"
  30412. }
  30413. }
  30414. }
  30415. },
  30416. "default" : {
  30417. "description" : "请求失败",
  30418. "content" : {
  30419. "application/json" : {
  30420. "schema" : {
  30421. "anyOf" : [ {
  30422. "$ref" : "#/components/schemas/CommonErrorType"
  30423. }, {
  30424. "$ref" : "#/components/schemas/AlipayOpenSearchBoxQueryErrorResponseModel"
  30425. } ]
  30426. }
  30427. }
  30428. }
  30429. }
  30430. },
  30431. "parameters" : [ {
  30432. "name" : "box_id",
  30433. "in" : "query",
  30434. "description" : "搜索直达配置id",
  30435. "schema" : {
  30436. "type" : "string",
  30437. "example" : "20220308000000128693"
  30438. }
  30439. }, {
  30440. "name" : "merchant_id",
  30441. "in" : "query",
  30442. "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
  30443. "schema" : {
  30444. "type" : "string",
  30445. "example" : "2088xxxxxxxxxxxx"
  30446. }
  30447. } ]
  30448. }
  30449. },
  30450. "/v3/alipay/open/search/boxactivity/apply" : {
  30451. "post" : {
  30452. "tags" : [ "alipay.open.search.boxactivity" ],
  30453. "summary" : "申请创建搜索直达活动配置",
  30454. "description" : "当搜索直达处于上架状态时,通过该接口来创建banner活动。相关概念和说明详见 <a href=\"https://opendocs.alipay.com/mini/03fjba\"> 搜索直达 </a>。",
  30455. "operationId" : "alipay.open.search.boxactivity.apply",
  30456. "responses" : {
  30457. "200" : {
  30458. "description" : "common response",
  30459. "content" : {
  30460. "application/json" : {
  30461. "schema" : {
  30462. "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityApplyResponseModel"
  30463. }
  30464. }
  30465. }
  30466. },
  30467. "default" : {
  30468. "description" : "请求失败",
  30469. "content" : {
  30470. "application/json" : {
  30471. "schema" : {
  30472. "anyOf" : [ {
  30473. "$ref" : "#/components/schemas/CommonErrorType"
  30474. }, {
  30475. "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityApplyErrorResponseModel"
  30476. } ]
  30477. }
  30478. }
  30479. }
  30480. }
  30481. },
  30482. "requestBody" : {
  30483. "content" : {
  30484. "application/json" : {
  30485. "schema" : {
  30486. "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityApplyModel"
  30487. }
  30488. }
  30489. },
  30490. "required" : false
  30491. }
  30492. }
  30493. },
  30494. "/v3/alipay/open/search/boxactivity/batchquery" : {
  30495. "post" : {
  30496. "tags" : [ "alipay.open.search.boxactivity" ],
  30497. "summary" : "批量查询搜索直达活动配置",
  30498. "description" : "批量查询多个搜索直达banner的活动信息",
  30499. "operationId" : "alipay.open.search.boxactivity.batchquery",
  30500. "responses" : {
  30501. "200" : {
  30502. "description" : "common response",
  30503. "content" : {
  30504. "application/json" : {
  30505. "schema" : {
  30506. "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityBatchqueryResponseModel"
  30507. }
  30508. }
  30509. }
  30510. },
  30511. "default" : {
  30512. "description" : "请求失败",
  30513. "content" : {
  30514. "application/json" : {
  30515. "schema" : {
  30516. "anyOf" : [ {
  30517. "$ref" : "#/components/schemas/CommonErrorType"
  30518. }, {
  30519. "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityBatchqueryErrorResponseModel"
  30520. } ]
  30521. }
  30522. }
  30523. }
  30524. }
  30525. },
  30526. "requestBody" : {
  30527. "content" : {
  30528. "application/json" : {
  30529. "schema" : {
  30530. "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityBatchqueryModel"
  30531. }
  30532. }
  30533. },
  30534. "required" : false
  30535. }
  30536. }
  30537. },
  30538. "/v3/alipay/open/search/boxactivity/modify" : {
  30539. "post" : {
  30540. "tags" : [ "alipay.open.search.boxactivity" ],
  30541. "summary" : "修改搜索直达活动配置",
  30542. "description" : "修改搜索直达活动配置",
  30543. "operationId" : "alipay.open.search.boxactivity.modify",
  30544. "responses" : {
  30545. "200" : {
  30546. "description" : "common response",
  30547. "content" : {
  30548. "application/json" : {
  30549. "schema" : {
  30550. "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityModifyResponseModel"
  30551. }
  30552. }
  30553. }
  30554. },
  30555. "default" : {
  30556. "description" : "请求失败",
  30557. "content" : {
  30558. "application/json" : {
  30559. "schema" : {
  30560. "anyOf" : [ {
  30561. "$ref" : "#/components/schemas/CommonErrorType"
  30562. }, {
  30563. "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityModifyErrorResponseModel"
  30564. } ]
  30565. }
  30566. }
  30567. }
  30568. }
  30569. },
  30570. "requestBody" : {
  30571. "content" : {
  30572. "application/json" : {
  30573. "schema" : {
  30574. "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityModifyModel"
  30575. }
  30576. }
  30577. },
  30578. "required" : false
  30579. }
  30580. }
  30581. },
  30582. "/v3/alipay/open/search/boxactivity/offline" : {
  30583. "post" : {
  30584. "tags" : [ "alipay.open.search.boxactivity" ],
  30585. "summary" : "下架搜索直达活动",
  30586. "description" : "需要下架某个banner活动时,可通过此接口来进行下架操作",
  30587. "operationId" : "alipay.open.search.boxactivity.offline",
  30588. "responses" : {
  30589. "200" : {
  30590. "description" : "common response",
  30591. "content" : {
  30592. "application/json" : {
  30593. "schema" : {
  30594. "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityOfflineResponseModel"
  30595. }
  30596. }
  30597. }
  30598. },
  30599. "default" : {
  30600. "description" : "请求失败",
  30601. "content" : {
  30602. "application/json" : {
  30603. "schema" : {
  30604. "anyOf" : [ {
  30605. "$ref" : "#/components/schemas/CommonErrorType"
  30606. }, {
  30607. "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityOfflineErrorResponseModel"
  30608. } ]
  30609. }
  30610. }
  30611. }
  30612. }
  30613. },
  30614. "requestBody" : {
  30615. "content" : {
  30616. "application/json" : {
  30617. "schema" : {
  30618. "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityOfflineModel"
  30619. }
  30620. }
  30621. },
  30622. "required" : false
  30623. }
  30624. }
  30625. },
  30626. "/v3/alipay/open/search/boxactivity/query" : {
  30627. "get" : {
  30628. "tags" : [ "alipay.open.search.boxactivity" ],
  30629. "summary" : "查询搜索直达活动配置详情",
  30630. "description" : "查询单个搜索直达banner的活动信息",
  30631. "operationId" : "alipay.open.search.boxactivity.query",
  30632. "responses" : {
  30633. "200" : {
  30634. "description" : "common response",
  30635. "content" : {
  30636. "application/json" : {
  30637. "schema" : {
  30638. "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityQueryResponseModel"
  30639. }
  30640. }
  30641. }
  30642. },
  30643. "default" : {
  30644. "description" : "请求失败",
  30645. "content" : {
  30646. "application/json" : {
  30647. "schema" : {
  30648. "anyOf" : [ {
  30649. "$ref" : "#/components/schemas/CommonErrorType"
  30650. }, {
  30651. "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityQueryErrorResponseModel"
  30652. } ]
  30653. }
  30654. }
  30655. }
  30656. }
  30657. },
  30658. "parameters" : [ {
  30659. "name" : "box_activity_id",
  30660. "in" : "query",
  30661. "description" : "搜索直达活动id",
  30662. "schema" : {
  30663. "type" : "string",
  30664. "example" : "20211223000000100000"
  30665. }
  30666. }, {
  30667. "name" : "merchant_id",
  30668. "in" : "query",
  30669. "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
  30670. "schema" : {
  30671. "type" : "string",
  30672. "example" : "2088xxxxxxxxxxxx"
  30673. }
  30674. } ]
  30675. }
  30676. },
  30677. "/v3/alipay/open/search/orderdetail/query" : {
  30678. "post" : {
  30679. "tags" : [ "alipay.open.search.orderdetail" ],
  30680. "summary" : "查询搜索服务工单的详细信息",
  30681. "description" : "查询搜索服务工单的详细信息",
  30682. "operationId" : "alipay.open.search.orderdetail.query",
  30683. "responses" : {
  30684. "200" : {
  30685. "description" : "common response",
  30686. "content" : {
  30687. "application/json" : {
  30688. "schema" : {
  30689. "$ref" : "#/components/schemas/AlipayOpenSearchOrderdetailQueryResponseModel"
  30690. }
  30691. }
  30692. }
  30693. },
  30694. "default" : {
  30695. "description" : "请求失败",
  30696. "content" : {
  30697. "application/json" : {
  30698. "schema" : {
  30699. "anyOf" : [ {
  30700. "$ref" : "#/components/schemas/CommonErrorType"
  30701. }, {
  30702. "$ref" : "#/components/schemas/AlipayOpenSearchOrderdetailQueryErrorResponseModel"
  30703. } ]
  30704. }
  30705. }
  30706. }
  30707. }
  30708. },
  30709. "requestBody" : {
  30710. "content" : {
  30711. "application/json" : {
  30712. "schema" : {
  30713. "$ref" : "#/components/schemas/AlipayOpenSearchOrderdetailQueryModel"
  30714. }
  30715. }
  30716. },
  30717. "required" : false
  30718. }
  30719. }
  30720. },
  30721. "/v3/alipay/open/search/serviceorder/batchquery" : {
  30722. "post" : {
  30723. "tags" : [ "alipay.open.search.serviceorder" ],
  30724. "summary" : "搜索运营服务查询接口",
  30725. "description" : "搜索运营服务查询接口",
  30726. "operationId" : "alipay.open.search.serviceorder.batchquery",
  30727. "responses" : {
  30728. "200" : {
  30729. "description" : "common response",
  30730. "content" : {
  30731. "application/json" : {
  30732. "schema" : {
  30733. "$ref" : "#/components/schemas/AlipayOpenSearchServiceorderBatchqueryResponseModel"
  30734. }
  30735. }
  30736. }
  30737. },
  30738. "default" : {
  30739. "description" : "请求失败",
  30740. "content" : {
  30741. "application/json" : {
  30742. "schema" : {
  30743. "anyOf" : [ {
  30744. "$ref" : "#/components/schemas/CommonErrorType"
  30745. }, {
  30746. "$ref" : "#/components/schemas/AlipayOpenSearchServiceorderBatchqueryErrorResponseModel"
  30747. } ]
  30748. }
  30749. }
  30750. }
  30751. }
  30752. },
  30753. "requestBody" : {
  30754. "content" : {
  30755. "application/json" : {
  30756. "schema" : {
  30757. "$ref" : "#/components/schemas/AlipayOpenSearchServiceorderBatchqueryModel"
  30758. }
  30759. }
  30760. },
  30761. "required" : false
  30762. }
  30763. }
  30764. },
  30765. "/v3/alipay/open/search/subservicekeyword/apply" : {
  30766. "post" : {
  30767. "tags" : [ "alipay.open.search.subservicekeyword" ],
  30768. "summary" : "提报服务关键词",
  30769. "description" : "小程序-服务推广-提报服务关键词",
  30770. "operationId" : "alipay.open.search.subservicekeyword.apply",
  30771. "responses" : {
  30772. "200" : {
  30773. "description" : "common response",
  30774. "content" : {
  30775. "application/json" : {
  30776. "schema" : {
  30777. "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordApplyResponseModel"
  30778. }
  30779. }
  30780. }
  30781. },
  30782. "default" : {
  30783. "description" : "请求失败",
  30784. "content" : {
  30785. "application/json" : {
  30786. "schema" : {
  30787. "anyOf" : [ {
  30788. "$ref" : "#/components/schemas/CommonErrorType"
  30789. }, {
  30790. "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordApplyErrorResponseModel"
  30791. } ]
  30792. }
  30793. }
  30794. }
  30795. }
  30796. },
  30797. "requestBody" : {
  30798. "content" : {
  30799. "application/json" : {
  30800. "schema" : {
  30801. "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordApplyModel"
  30802. }
  30803. }
  30804. },
  30805. "required" : false
  30806. }
  30807. }
  30808. },
  30809. "/v3/alipay/open/search/subservicekeyword/batchquery" : {
  30810. "get" : {
  30811. "tags" : [ "alipay.open.search.subservicekeyword" ],
  30812. "summary" : "服务关键词批量查询接口",
  30813. "description" : "批量查询小程序的服务关键词",
  30814. "operationId" : "alipay.open.search.subservicekeyword.batchquery",
  30815. "responses" : {
  30816. "200" : {
  30817. "description" : "common response",
  30818. "content" : {
  30819. "application/json" : {
  30820. "schema" : {
  30821. "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordBatchqueryResponseModel"
  30822. }
  30823. }
  30824. }
  30825. },
  30826. "default" : {
  30827. "description" : "请求失败",
  30828. "content" : {
  30829. "application/json" : {
  30830. "schema" : {
  30831. "anyOf" : [ {
  30832. "$ref" : "#/components/schemas/CommonErrorType"
  30833. }, {
  30834. "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordBatchqueryErrorResponseModel"
  30835. } ]
  30836. }
  30837. }
  30838. }
  30839. }
  30840. },
  30841. "parameters" : [ {
  30842. "name" : "target_appid",
  30843. "in" : "query",
  30844. "description" : "小程序id",
  30845. "schema" : {
  30846. "type" : "string",
  30847. "example" : "2021001112626071"
  30848. }
  30849. }, {
  30850. "name" : "status",
  30851. "in" : "query",
  30852. "description" : "审核状态,服务关键词的审核状态,枚举值,不传该字段表示查询所有状态",
  30853. "schema" : {
  30854. "type" : "string",
  30855. "example" : "ONLINE"
  30856. }
  30857. }, {
  30858. "name" : "page_number",
  30859. "in" : "query",
  30860. "description" : "分页参数,分页查询时使用",
  30861. "schema" : {
  30862. "type" : "integer",
  30863. "example" : "1"
  30864. }
  30865. }, {
  30866. "name" : "page_size",
  30867. "in" : "query",
  30868. "description" : "分页参数,分页查询时使用",
  30869. "schema" : {
  30870. "type" : "integer",
  30871. "example" : "10"
  30872. }
  30873. } ]
  30874. }
  30875. },
  30876. "/v3/alipay/open/search/subservicekeyword/delete" : {
  30877. "post" : {
  30878. "tags" : [ "alipay.open.search.subservicekeyword" ],
  30879. "summary" : "删除服务关键词",
  30880. "description" : "删除服务关键词",
  30881. "operationId" : "alipay.open.search.subservicekeyword.delete",
  30882. "responses" : {
  30883. "200" : {
  30884. "description" : "common response",
  30885. "content" : {
  30886. "application/json" : {
  30887. "schema" : {
  30888. "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordDeleteResponseModel"
  30889. }
  30890. }
  30891. }
  30892. },
  30893. "default" : {
  30894. "description" : "请求失败",
  30895. "content" : {
  30896. "application/json" : {
  30897. "schema" : {
  30898. "anyOf" : [ {
  30899. "$ref" : "#/components/schemas/CommonErrorType"
  30900. }, {
  30901. "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordDeleteErrorResponseModel"
  30902. } ]
  30903. }
  30904. }
  30905. }
  30906. }
  30907. },
  30908. "requestBody" : {
  30909. "content" : {
  30910. "application/json" : {
  30911. "schema" : {
  30912. "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordDeleteModel"
  30913. }
  30914. }
  30915. },
  30916. "required" : false
  30917. }
  30918. }
  30919. },
  30920. "/v3/alipay/open/search/subservicekeyword/querystatus" : {
  30921. "get" : {
  30922. "tags" : [ "alipay.open.search.subservicekeyword" ],
  30923. "summary" : "查询小程序服务关键词的审核工单的状态",
  30924. "description" : "查询小程序服务关键词的审核工单的状态",
  30925. "operationId" : "alipay.open.search.subservicekeyword.querystatus",
  30926. "responses" : {
  30927. "200" : {
  30928. "description" : "common response",
  30929. "content" : {
  30930. "application/json" : {
  30931. "schema" : {
  30932. "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordQuerystatusResponseModel"
  30933. }
  30934. }
  30935. }
  30936. },
  30937. "default" : {
  30938. "description" : "请求失败",
  30939. "content" : {
  30940. "application/json" : {
  30941. "schema" : {
  30942. "anyOf" : [ {
  30943. "$ref" : "#/components/schemas/CommonErrorType"
  30944. }, {
  30945. "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordQuerystatusErrorResponseModel"
  30946. } ]
  30947. }
  30948. }
  30949. }
  30950. }
  30951. },
  30952. "parameters" : [ {
  30953. "name" : "target_appid",
  30954. "in" : "query",
  30955. "description" : "小程序id",
  30956. "schema" : {
  30957. "type" : "string",
  30958. "example" : "2021001112626071"
  30959. }
  30960. }, {
  30961. "name" : "apply_no",
  30962. "in" : "query",
  30963. "description" : "审核工单id,提报接口的返回值",
  30964. "schema" : {
  30965. "type" : "string",
  30966. "example" : "20220519000000108026"
  30967. }
  30968. } ]
  30969. }
  30970. },
  30971. "/v3/alipay/open/servicemarket/commodity/shop/offline" : {
  30972. "post" : {
  30973. "tags" : [ "alipay.open.servicemarket.commodity.shop" ],
  30974. "summary" : "球房插件下架操作",
  30975. "description" : "本接口需要商户授权服务商球房操作权限后,服务商可对商户球房上的插件进行下架操作",
  30976. "operationId" : "alipay.open.servicemarket.commodity.shop.offline",
  30977. "responses" : {
  30978. "200" : {
  30979. "description" : "common response",
  30980. "content" : {
  30981. "application/json" : {
  30982. "schema" : {
  30983. "$ref" : "#/components/schemas/AlipayOpenServicemarketCommodityShopOfflineResponseModel"
  30984. }
  30985. }
  30986. }
  30987. },
  30988. "default" : {
  30989. "description" : "请求失败",
  30990. "content" : {
  30991. "application/json" : {
  30992. "schema" : {
  30993. "anyOf" : [ {
  30994. "$ref" : "#/components/schemas/CommonErrorType"
  30995. }, {
  30996. "$ref" : "#/components/schemas/AlipayOpenServicemarketCommodityShopOfflineErrorResponseModel"
  30997. } ]
  30998. }
  30999. }
  31000. }
  31001. }
  31002. },
  31003. "requestBody" : {
  31004. "content" : {
  31005. "application/json" : {
  31006. "schema" : {
  31007. "$ref" : "#/components/schemas/AlipayOpenServicemarketCommodityShopOfflineModel"
  31008. }
  31009. }
  31010. },
  31011. "required" : false
  31012. }
  31013. }
  31014. },
  31015. "/v3/alipay/open/servicemarket/commodity/shop/online" : {
  31016. "post" : {
  31017. "tags" : [ "alipay.open.servicemarket.commodity.shop" ],
  31018. "summary" : "球房插件上架操作",
  31019. "description" : "本接口用于上架商户球房订购的服务。",
  31020. "operationId" : "alipay.open.servicemarket.commodity.shop.online",
  31021. "responses" : {
  31022. "200" : {
  31023. "description" : "common response",
  31024. "content" : {
  31025. "application/json" : {
  31026. "schema" : {
  31027. "$ref" : "#/components/schemas/AlipayOpenServicemarketCommodityShopOnlineResponseModel"
  31028. }
  31029. }
  31030. }
  31031. },
  31032. "default" : {
  31033. "description" : "请求失败",
  31034. "content" : {
  31035. "application/json" : {
  31036. "schema" : {
  31037. "anyOf" : [ {
  31038. "$ref" : "#/components/schemas/CommonErrorType"
  31039. }, {
  31040. "$ref" : "#/components/schemas/AlipayOpenServicemarketCommodityShopOnlineErrorResponseModel"
  31041. } ]
  31042. }
  31043. }
  31044. }
  31045. }
  31046. },
  31047. "requestBody" : {
  31048. "content" : {
  31049. "application/json" : {
  31050. "schema" : {
  31051. "$ref" : "#/components/schemas/AlipayOpenServicemarketCommodityShopOnlineModel"
  31052. }
  31053. }
  31054. },
  31055. "required" : false
  31056. }
  31057. }
  31058. },
  31059. "/v3/alipay/open/servicemarket/order/accept" : {
  31060. "post" : {
  31061. "tags" : [ "alipay.open.servicemarket.order" ],
  31062. "summary" : "服务商接单操作",
  31063. "description" : "商户订购服务插件之后,需要服务商接单,调用此接口可完成接单操作",
  31064. "operationId" : "alipay.open.servicemarket.order.accept",
  31065. "responses" : {
  31066. "200" : {
  31067. "description" : "common response",
  31068. "content" : {
  31069. "application/json" : {
  31070. "schema" : {
  31071. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderAcceptResponseModel"
  31072. }
  31073. }
  31074. }
  31075. },
  31076. "default" : {
  31077. "description" : "请求失败",
  31078. "content" : {
  31079. "application/json" : {
  31080. "schema" : {
  31081. "anyOf" : [ {
  31082. "$ref" : "#/components/schemas/CommonErrorType"
  31083. }, {
  31084. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderAcceptErrorResponseModel"
  31085. } ]
  31086. }
  31087. }
  31088. }
  31089. }
  31090. },
  31091. "requestBody" : {
  31092. "content" : {
  31093. "application/json" : {
  31094. "schema" : {
  31095. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderAcceptModel"
  31096. }
  31097. }
  31098. },
  31099. "required" : false
  31100. }
  31101. }
  31102. },
  31103. "/v3/alipay/open/servicemarket/order/create" : {
  31104. "post" : {
  31105. "tags" : [ "alipay.open.servicemarket.order" ],
  31106. "summary" : "服务市场代订购小程序",
  31107. "description" : "第三方服务商可以创建服务市场的订单,并代为创建小程序应用,小程序应用授权给服务商",
  31108. "operationId" : "alipay.open.servicemarket.order.create",
  31109. "responses" : {
  31110. "200" : {
  31111. "description" : "common response",
  31112. "content" : {
  31113. "application/json" : {
  31114. "schema" : {
  31115. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderCreateResponseModel"
  31116. }
  31117. }
  31118. }
  31119. },
  31120. "default" : {
  31121. "description" : "请求失败",
  31122. "content" : {
  31123. "application/json" : {
  31124. "schema" : {
  31125. "anyOf" : [ {
  31126. "$ref" : "#/components/schemas/CommonErrorType"
  31127. }, {
  31128. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderCreateErrorResponseModel"
  31129. } ]
  31130. }
  31131. }
  31132. }
  31133. }
  31134. },
  31135. "requestBody" : {
  31136. "content" : {
  31137. "multipart/form-data" : {
  31138. "schema" : {
  31139. "type" : "object",
  31140. "properties" : {
  31141. "app_logo" : {
  31142. "type" : "string",
  31143. "format" : "binary"
  31144. },
  31145. "data" : {
  31146. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderCreateModel"
  31147. }
  31148. }
  31149. },
  31150. "encoding" : {
  31151. "app_logo" : {
  31152. "contentType" : "*/*"
  31153. },
  31154. "data" : {
  31155. "contentType" : "application/json"
  31156. }
  31157. }
  31158. }
  31159. },
  31160. "required" : false
  31161. }
  31162. }
  31163. },
  31164. "/v3/alipay/open/servicemarket/order/item/cancel" : {
  31165. "post" : {
  31166. "tags" : [ "alipay.open.servicemarket.order.item" ],
  31167. "summary" : "服务订单明细实施项单项取消",
  31168. "description" : "服务商可以单个取消订单明细实施项",
  31169. "operationId" : "alipay.open.servicemarket.order.item.cancel",
  31170. "responses" : {
  31171. "200" : {
  31172. "description" : "common response",
  31173. "content" : {
  31174. "application/json" : {
  31175. "schema" : {
  31176. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemCancelResponseModel"
  31177. }
  31178. }
  31179. }
  31180. },
  31181. "default" : {
  31182. "description" : "请求失败",
  31183. "content" : {
  31184. "application/json" : {
  31185. "schema" : {
  31186. "anyOf" : [ {
  31187. "$ref" : "#/components/schemas/CommonErrorType"
  31188. }, {
  31189. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemCancelErrorResponseModel"
  31190. } ]
  31191. }
  31192. }
  31193. }
  31194. }
  31195. },
  31196. "requestBody" : {
  31197. "content" : {
  31198. "application/json" : {
  31199. "schema" : {
  31200. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemCancelModel"
  31201. }
  31202. }
  31203. },
  31204. "required" : false
  31205. }
  31206. }
  31207. },
  31208. "/v3/alipay/open/servicemarket/order/item/complete" : {
  31209. "post" : {
  31210. "tags" : [ "alipay.open.servicemarket.order.item" ],
  31211. "summary" : "服务商完成订单内单个明细实施项",
  31212. "description" : "商户在订购插件后,服务商完成实施操作,此接口会检测当前订单必须所属当前操作服务商",
  31213. "operationId" : "alipay.open.servicemarket.order.item.complete",
  31214. "responses" : {
  31215. "200" : {
  31216. "description" : "common response",
  31217. "content" : {
  31218. "application/json" : {
  31219. "schema" : {
  31220. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemCompleteResponseModel"
  31221. }
  31222. }
  31223. }
  31224. },
  31225. "default" : {
  31226. "description" : "请求失败",
  31227. "content" : {
  31228. "application/json" : {
  31229. "schema" : {
  31230. "anyOf" : [ {
  31231. "$ref" : "#/components/schemas/CommonErrorType"
  31232. }, {
  31233. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemCompleteErrorResponseModel"
  31234. } ]
  31235. }
  31236. }
  31237. }
  31238. }
  31239. },
  31240. "requestBody" : {
  31241. "content" : {
  31242. "application/json" : {
  31243. "schema" : {
  31244. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemCompleteModel"
  31245. }
  31246. }
  31247. },
  31248. "required" : false
  31249. }
  31250. }
  31251. },
  31252. "/v3/alipay/open/servicemarket/order/item/confirm" : {
  31253. "post" : {
  31254. "tags" : [ "alipay.open.servicemarket.order.item" ],
  31255. "summary" : "服务商代商家确认实施完成",
  31256. "description" : "此接口需商家授权服务商应用权限后,服务商可代商家进行实施确认完成动作",
  31257. "operationId" : "alipay.open.servicemarket.order.item.confirm",
  31258. "responses" : {
  31259. "200" : {
  31260. "description" : "common response",
  31261. "content" : {
  31262. "application/json" : {
  31263. "schema" : {
  31264. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemConfirmResponseModel"
  31265. }
  31266. }
  31267. }
  31268. },
  31269. "default" : {
  31270. "description" : "请求失败",
  31271. "content" : {
  31272. "application/json" : {
  31273. "schema" : {
  31274. "anyOf" : [ {
  31275. "$ref" : "#/components/schemas/CommonErrorType"
  31276. }, {
  31277. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemConfirmErrorResponseModel"
  31278. } ]
  31279. }
  31280. }
  31281. }
  31282. }
  31283. },
  31284. "requestBody" : {
  31285. "content" : {
  31286. "application/json" : {
  31287. "schema" : {
  31288. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemConfirmModel"
  31289. }
  31290. }
  31291. },
  31292. "required" : false
  31293. }
  31294. }
  31295. },
  31296. "/v3/alipay/open/servicemarket/order/notify" : {
  31297. "post" : {
  31298. "tags" : [ "alipay.open.servicemarket.order" ],
  31299. "summary" : "服务市场商户确认订购通知",
  31300. "description" : "服务市场当商户选择服务商提供产品并订购确认时,通知服务商订单消息。服务商可以通过通知的消息内容回查该订单明细。回查接口(alipay.open.servicemarket.order.query)",
  31301. "operationId" : "alipay.open.servicemarket.order.notify",
  31302. "responses" : {
  31303. "200" : {
  31304. "description" : "common response",
  31305. "content" : {
  31306. "application/json" : {
  31307. "schema" : {
  31308. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderNotifyResponseModel"
  31309. }
  31310. }
  31311. }
  31312. },
  31313. "default" : {
  31314. "description" : "请求失败",
  31315. "content" : {
  31316. "application/json" : {
  31317. "schema" : {
  31318. "anyOf" : [ {
  31319. "$ref" : "#/components/schemas/CommonErrorType"
  31320. }, {
  31321. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderNotifyErrorResponseModel"
  31322. } ]
  31323. }
  31324. }
  31325. }
  31326. }
  31327. },
  31328. "requestBody" : {
  31329. "content" : {
  31330. "application/json" : {
  31331. "schema" : {
  31332. "$ref" : "#/components/schemas/CommonNotifyUrlModel"
  31333. }
  31334. }
  31335. },
  31336. "required" : false
  31337. }
  31338. }
  31339. },
  31340. "/v3/alipay/open/servicemarket/order/query" : {
  31341. "get" : {
  31342. "tags" : [ "alipay.open.servicemarket.order" ],
  31343. "summary" : "订购插件订单明细查询",
  31344. "description" : "第三方服务商提供服务产品被商户订购后,服务市场会推送订单信息给服务商,服务商根据订单号回查该订单明细信息。",
  31345. "operationId" : "alipay.open.servicemarket.order.query",
  31346. "responses" : {
  31347. "200" : {
  31348. "description" : "common response",
  31349. "content" : {
  31350. "application/json" : {
  31351. "schema" : {
  31352. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderQueryResponseModel"
  31353. }
  31354. }
  31355. }
  31356. },
  31357. "default" : {
  31358. "description" : "请求失败",
  31359. "content" : {
  31360. "application/json" : {
  31361. "schema" : {
  31362. "anyOf" : [ {
  31363. "$ref" : "#/components/schemas/CommonErrorType"
  31364. }, {
  31365. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderQueryErrorResponseModel"
  31366. } ]
  31367. }
  31368. }
  31369. }
  31370. }
  31371. },
  31372. "parameters" : [ {
  31373. "name" : "commodity_order_id",
  31374. "in" : "query",
  31375. "description" : "订购服务订单ID,通过支付宝发送的 https://opendocs.alipay.com/apis/api_3/alipay.open.servicemarket.order.notify(服务市场商户确认订购通知) 通知获取。",
  31376. "schema" : {
  31377. "type" : "string",
  31378. "example" : "20160010200000000033400"
  31379. }
  31380. }, {
  31381. "name" : "start_page",
  31382. "in" : "query",
  31383. "description" : "查询开始页码,1 为第一页。",
  31384. "schema" : {
  31385. "type" : "string",
  31386. "example" : "1"
  31387. }
  31388. } ]
  31389. }
  31390. },
  31391. "/v3/alipay/open/servicemarket/order/reject" : {
  31392. "post" : {
  31393. "tags" : [ "alipay.open.servicemarket.order" ],
  31394. "summary" : "服务商拒绝接单",
  31395. "description" : "服务商可以拒接商户购买服务插件订单",
  31396. "operationId" : "alipay.open.servicemarket.order.reject",
  31397. "responses" : {
  31398. "200" : {
  31399. "description" : "common response",
  31400. "content" : {
  31401. "application/json" : {
  31402. "schema" : {
  31403. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderRejectResponseModel"
  31404. }
  31405. }
  31406. }
  31407. },
  31408. "default" : {
  31409. "description" : "请求失败",
  31410. "content" : {
  31411. "application/json" : {
  31412. "schema" : {
  31413. "anyOf" : [ {
  31414. "$ref" : "#/components/schemas/CommonErrorType"
  31415. }, {
  31416. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderRejectErrorResponseModel"
  31417. } ]
  31418. }
  31419. }
  31420. }
  31421. }
  31422. },
  31423. "requestBody" : {
  31424. "content" : {
  31425. "application/json" : {
  31426. "schema" : {
  31427. "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderRejectModel"
  31428. }
  31429. }
  31430. },
  31431. "required" : false
  31432. }
  31433. }
  31434. },
  31435. "/v3/alipay/open/servicemarket/promotiontask/relation/query" : {
  31436. "get" : {
  31437. "tags" : [ "alipay.open.servicemarket.promotiontask.relation" ],
  31438. "summary" : "服务商推广关系查询",
  31439. "description" : "用于开发服务商查询已与其达成推广关系的地推服务商信息",
  31440. "operationId" : "alipay.open.servicemarket.promotiontask.relation.query",
  31441. "responses" : {
  31442. "200" : {
  31443. "description" : "common response",
  31444. "content" : {
  31445. "application/json" : {
  31446. "schema" : {
  31447. "$ref" : "#/components/schemas/AlipayOpenServicemarketPromotiontaskRelationQueryResponseModel"
  31448. }
  31449. }
  31450. }
  31451. },
  31452. "default" : {
  31453. "description" : "请求失败",
  31454. "content" : {
  31455. "application/json" : {
  31456. "schema" : {
  31457. "anyOf" : [ {
  31458. "$ref" : "#/components/schemas/CommonErrorType"
  31459. }, {
  31460. "$ref" : "#/components/schemas/AlipayOpenServicemarketPromotiontaskRelationQueryErrorResponseModel"
  31461. } ]
  31462. }
  31463. }
  31464. }
  31465. }
  31466. },
  31467. "parameters" : [ {
  31468. "name" : "commodity_id",
  31469. "in" : "query",
  31470. "description" : "服务商品ID",
  31471. "schema" : {
  31472. "type" : "string",
  31473. "example" : "SS010101000000003954"
  31474. }
  31475. }, {
  31476. "name" : "page_size",
  31477. "in" : "query",
  31478. "description" : "每页数量,范围(1-100)。默认:10",
  31479. "schema" : {
  31480. "type" : "integer",
  31481. "example" : "10"
  31482. }
  31483. }, {
  31484. "name" : "page_num",
  31485. "in" : "query",
  31486. "description" : "当前页码,从1开始。默认:1",
  31487. "schema" : {
  31488. "type" : "integer",
  31489. "example" : "1"
  31490. }
  31491. } ]
  31492. }
  31493. },
  31494. "/v3/alipay/open/sp/blueseaactivity/create" : {
  31495. "post" : {
  31496. "tags" : [ "alipay.open.sp.blueseaactivity" ],
  31497. "summary" : "服务商返佣活动报名申请",
  31498. "description" : "服务商返佣活动报名",
  31499. "operationId" : "alipay.open.sp.blueseaactivity.create",
  31500. "responses" : {
  31501. "200" : {
  31502. "description" : "common response",
  31503. "content" : {
  31504. "application/json" : {
  31505. "schema" : {
  31506. "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityCreateResponseModel"
  31507. }
  31508. }
  31509. }
  31510. },
  31511. "default" : {
  31512. "description" : "请求失败",
  31513. "content" : {
  31514. "application/json" : {
  31515. "schema" : {
  31516. "anyOf" : [ {
  31517. "$ref" : "#/components/schemas/CommonErrorType"
  31518. }, {
  31519. "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityCreateErrorResponseModel"
  31520. } ]
  31521. }
  31522. }
  31523. }
  31524. }
  31525. },
  31526. "requestBody" : {
  31527. "content" : {
  31528. "application/json" : {
  31529. "schema" : {
  31530. "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityCreateModel"
  31531. }
  31532. }
  31533. },
  31534. "required" : false
  31535. }
  31536. }
  31537. },
  31538. "/v3/alipay/open/sp/blueseaactivity/modify" : {
  31539. "post" : {
  31540. "tags" : [ "alipay.open.sp.blueseaactivity" ],
  31541. "summary" : "服务商返佣活动申请单修改",
  31542. "description" : "服务商返佣活动",
  31543. "operationId" : "alipay.open.sp.blueseaactivity.modify",
  31544. "responses" : {
  31545. "200" : {
  31546. "description" : "common response",
  31547. "content" : {
  31548. "application/json" : {
  31549. "schema" : {
  31550. "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityModifyResponseModel"
  31551. }
  31552. }
  31553. }
  31554. },
  31555. "default" : {
  31556. "description" : "请求失败",
  31557. "content" : {
  31558. "application/json" : {
  31559. "schema" : {
  31560. "anyOf" : [ {
  31561. "$ref" : "#/components/schemas/CommonErrorType"
  31562. }, {
  31563. "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityModifyErrorResponseModel"
  31564. } ]
  31565. }
  31566. }
  31567. }
  31568. }
  31569. },
  31570. "requestBody" : {
  31571. "content" : {
  31572. "application/json" : {
  31573. "schema" : {
  31574. "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityModifyModel"
  31575. }
  31576. }
  31577. },
  31578. "required" : false
  31579. }
  31580. }
  31581. },
  31582. "/v3/alipay/open/sp/blueseaactivity/query" : {
  31583. "get" : {
  31584. "tags" : [ "alipay.open.sp.blueseaactivity" ],
  31585. "summary" : "服务商返佣活动申请单详情查询",
  31586. "description" : "服务商返佣活动",
  31587. "operationId" : "alipay.open.sp.blueseaactivity.query",
  31588. "responses" : {
  31589. "200" : {
  31590. "description" : "common response",
  31591. "content" : {
  31592. "application/json" : {
  31593. "schema" : {
  31594. "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityQueryResponseModel"
  31595. }
  31596. }
  31597. }
  31598. },
  31599. "default" : {
  31600. "description" : "请求失败",
  31601. "content" : {
  31602. "application/json" : {
  31603. "schema" : {
  31604. "anyOf" : [ {
  31605. "$ref" : "#/components/schemas/CommonErrorType"
  31606. }, {
  31607. "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityQueryErrorResponseModel"
  31608. } ]
  31609. }
  31610. }
  31611. }
  31612. }
  31613. },
  31614. "parameters" : [ {
  31615. "name" : "order_id",
  31616. "in" : "query",
  31617. "description" : "申请单 id。通过 <a href=\"https://opendocs.alipay.com/apis/01ebig\">alipay.open.sp.blueseaactivity.create</a>接口获取",
  31618. "schema" : {
  31619. "type" : "string",
  31620. "example" : "5881"
  31621. }
  31622. } ]
  31623. }
  31624. },
  31625. "/v3/alipay/open/sp/image/upload" : {
  31626. "post" : {
  31627. "tags" : [ "alipay.open.sp.image" ],
  31628. "summary" : "图片上传接口",
  31629. "description" : "图片上传",
  31630. "operationId" : "alipay.open.sp.image.upload",
  31631. "responses" : {
  31632. "200" : {
  31633. "description" : "common response",
  31634. "content" : {
  31635. "application/json" : {
  31636. "schema" : {
  31637. "$ref" : "#/components/schemas/AlipayOpenSpImageUploadResponseModel"
  31638. }
  31639. }
  31640. }
  31641. },
  31642. "default" : {
  31643. "description" : "请求失败",
  31644. "content" : {
  31645. "application/json" : {
  31646. "schema" : {
  31647. "anyOf" : [ {
  31648. "$ref" : "#/components/schemas/CommonErrorType"
  31649. }, {
  31650. "$ref" : "#/components/schemas/AlipayOpenSpImageUploadErrorResponseModel"
  31651. } ]
  31652. }
  31653. }
  31654. }
  31655. }
  31656. },
  31657. "requestBody" : {
  31658. "content" : {
  31659. "multipart/form-data" : {
  31660. "schema" : {
  31661. "type" : "object",
  31662. "properties" : {
  31663. "image_content" : {
  31664. "type" : "string",
  31665. "format" : "binary"
  31666. }
  31667. }
  31668. },
  31669. "encoding" : {
  31670. "image_content" : {
  31671. "contentType" : "*/*"
  31672. }
  31673. }
  31674. }
  31675. },
  31676. "required" : false
  31677. }
  31678. }
  31679. },
  31680. "/v3/alipay/open/sp/isv/bill/sync" : {
  31681. "post" : {
  31682. "tags" : [ "alipay.open.sp.isv.bill" ],
  31683. "summary" : "服务商账单数据回传",
  31684. "description" : "针对SSB业务中,S1回传S2推广过程中,获得的分佣账单数据",
  31685. "operationId" : "alipay.open.sp.isv.bill.sync",
  31686. "responses" : {
  31687. "200" : {
  31688. "description" : "common response",
  31689. "content" : {
  31690. "application/json" : {
  31691. "schema" : {
  31692. "$ref" : "#/components/schemas/AlipayOpenSpIsvBillSyncResponseModel"
  31693. }
  31694. }
  31695. }
  31696. },
  31697. "default" : {
  31698. "description" : "请求失败",
  31699. "content" : {
  31700. "application/json" : {
  31701. "schema" : {
  31702. "anyOf" : [ {
  31703. "$ref" : "#/components/schemas/CommonErrorType"
  31704. }, {
  31705. "$ref" : "#/components/schemas/AlipayOpenSpIsvBillSyncErrorResponseModel"
  31706. } ]
  31707. }
  31708. }
  31709. }
  31710. }
  31711. },
  31712. "requestBody" : {
  31713. "content" : {
  31714. "application/json" : {
  31715. "schema" : {
  31716. "$ref" : "#/components/schemas/AlipayOpenSpIsvBillSyncModel"
  31717. }
  31718. }
  31719. },
  31720. "required" : false
  31721. }
  31722. }
  31723. },
  31724. "/v3/alipay/open/sp/isv/operation/sync" : {
  31725. "post" : {
  31726. "tags" : [ "alipay.open.sp.isv.operation" ],
  31727. "summary" : "服务商作业结果数据回传",
  31728. "description" : "针对SSB业务中,S1回传S2推广过程中,获得的作业结果数据",
  31729. "operationId" : "alipay.open.sp.isv.operation.sync",
  31730. "responses" : {
  31731. "200" : {
  31732. "description" : "common response",
  31733. "content" : {
  31734. "application/json" : {
  31735. "schema" : {
  31736. "$ref" : "#/components/schemas/AlipayOpenSpIsvOperationSyncResponseModel"
  31737. }
  31738. }
  31739. }
  31740. },
  31741. "default" : {
  31742. "description" : "请求失败",
  31743. "content" : {
  31744. "application/json" : {
  31745. "schema" : {
  31746. "anyOf" : [ {
  31747. "$ref" : "#/components/schemas/CommonErrorType"
  31748. }, {
  31749. "$ref" : "#/components/schemas/AlipayOpenSpIsvOperationSyncErrorResponseModel"
  31750. } ]
  31751. }
  31752. }
  31753. }
  31754. }
  31755. },
  31756. "requestBody" : {
  31757. "content" : {
  31758. "application/json" : {
  31759. "schema" : {
  31760. "$ref" : "#/components/schemas/AlipayOpenSpIsvOperationSyncModel"
  31761. }
  31762. }
  31763. },
  31764. "required" : false
  31765. }
  31766. }
  31767. },
  31768. "/v3/alipay/open/sp/isv/relation/query" : {
  31769. "get" : {
  31770. "tags" : [ "alipay.open.sp.isv.relation" ],
  31771. "summary" : "spcenter服务商推广关系查询",
  31772. "description" : "用于开发服务商查询已与其达成推广关系的地推服务商信息",
  31773. "operationId" : "alipay.open.sp.isv.relation.query",
  31774. "responses" : {
  31775. "200" : {
  31776. "description" : "common response",
  31777. "content" : {
  31778. "application/json" : {
  31779. "schema" : {
  31780. "$ref" : "#/components/schemas/AlipayOpenSpIsvRelationQueryResponseModel"
  31781. }
  31782. }
  31783. }
  31784. },
  31785. "default" : {
  31786. "description" : "请求失败",
  31787. "content" : {
  31788. "application/json" : {
  31789. "schema" : {
  31790. "anyOf" : [ {
  31791. "$ref" : "#/components/schemas/CommonErrorType"
  31792. }, {
  31793. "$ref" : "#/components/schemas/AlipayOpenSpIsvRelationQueryErrorResponseModel"
  31794. } ]
  31795. }
  31796. }
  31797. }
  31798. }
  31799. },
  31800. "parameters" : [ {
  31801. "name" : "commodity_id",
  31802. "in" : "query",
  31803. "description" : "服务市场商品Code",
  31804. "schema" : {
  31805. "type" : "string",
  31806. "example" : "SS010301000000001908"
  31807. }
  31808. }, {
  31809. "name" : "page_size",
  31810. "in" : "query",
  31811. "description" : "每页数量,范围(1-100)。默认:10",
  31812. "schema" : {
  31813. "type" : "string",
  31814. "example" : "10"
  31815. }
  31816. }, {
  31817. "name" : "page_num",
  31818. "in" : "query",
  31819. "description" : "当前页码,从1开始。默认:1",
  31820. "schema" : {
  31821. "type" : "string",
  31822. "example" : "1"
  31823. }
  31824. } ]
  31825. }
  31826. },
  31827. "/v3/alipay/open/sp/isv/sales/sync" : {
  31828. "post" : {
  31829. "tags" : [ "alipay.open.sp.isv.sales" ],
  31830. "summary" : "商户销售数据回传接口",
  31831. "description" : "针对SSB业务中,S2推广之后,推广的产品的销售数据回传",
  31832. "operationId" : "alipay.open.sp.isv.sales.sync",
  31833. "responses" : {
  31834. "200" : {
  31835. "description" : "common response",
  31836. "content" : {
  31837. "application/json" : {
  31838. "schema" : {
  31839. "$ref" : "#/components/schemas/AlipayOpenSpIsvSalesSyncResponseModel"
  31840. }
  31841. }
  31842. }
  31843. },
  31844. "default" : {
  31845. "description" : "请求失败",
  31846. "content" : {
  31847. "application/json" : {
  31848. "schema" : {
  31849. "anyOf" : [ {
  31850. "$ref" : "#/components/schemas/CommonErrorType"
  31851. }, {
  31852. "$ref" : "#/components/schemas/AlipayOpenSpIsvSalesSyncErrorResponseModel"
  31853. } ]
  31854. }
  31855. }
  31856. }
  31857. }
  31858. },
  31859. "requestBody" : {
  31860. "content" : {
  31861. "application/json" : {
  31862. "schema" : {
  31863. "$ref" : "#/components/schemas/AlipayOpenSpIsvSalesSyncModel"
  31864. }
  31865. }
  31866. },
  31867. "required" : false
  31868. }
  31869. }
  31870. },
  31871. "/v3/alipay/open/sp/isv/signauth/create" : {
  31872. "post" : {
  31873. "tags" : [ "alipay.open.sp.isv.signauth" ],
  31874. "summary" : "创建签约授权一体化订单",
  31875. "description" : "针对签约授权一体化场景,创建签约授权一体化订单绑定签约单(可选)、绑定代运营授权单、应用授权单,跟踪整个签约授权一体化订单的状态",
  31876. "operationId" : "alipay.open.sp.isv.signauth.create",
  31877. "responses" : {
  31878. "200" : {
  31879. "description" : "common response",
  31880. "content" : {
  31881. "application/json" : {
  31882. "schema" : {
  31883. "$ref" : "#/components/schemas/AlipayOpenSpIsvSignauthCreateResponseModel"
  31884. }
  31885. }
  31886. }
  31887. },
  31888. "default" : {
  31889. "description" : "请求失败",
  31890. "content" : {
  31891. "application/json" : {
  31892. "schema" : {
  31893. "anyOf" : [ {
  31894. "$ref" : "#/components/schemas/CommonErrorType"
  31895. }, {
  31896. "$ref" : "#/components/schemas/AlipayOpenSpIsvSignauthCreateErrorResponseModel"
  31897. } ]
  31898. }
  31899. }
  31900. }
  31901. }
  31902. },
  31903. "requestBody" : {
  31904. "content" : {
  31905. "application/json" : {
  31906. "schema" : {
  31907. "$ref" : "#/components/schemas/AlipayOpenSpIsvSignauthCreateModel"
  31908. }
  31909. }
  31910. },
  31911. "required" : false
  31912. }
  31913. }
  31914. },
  31915. "/v3/alipay/open/sp/isv/signauth/query" : {
  31916. "get" : {
  31917. "tags" : [ "alipay.open.sp.isv.signauth" ],
  31918. "summary" : "查询签约授权一体化订单状态详情",
  31919. "description" : "查询签约授权一体化订单状态详情(包含子任务信息)",
  31920. "operationId" : "alipay.open.sp.isv.signauth.query",
  31921. "responses" : {
  31922. "200" : {
  31923. "description" : "common response",
  31924. "content" : {
  31925. "application/json" : {
  31926. "schema" : {
  31927. "$ref" : "#/components/schemas/AlipayOpenSpIsvSignauthQueryResponseModel"
  31928. }
  31929. }
  31930. }
  31931. },
  31932. "default" : {
  31933. "description" : "请求失败",
  31934. "content" : {
  31935. "application/json" : {
  31936. "schema" : {
  31937. "anyOf" : [ {
  31938. "$ref" : "#/components/schemas/CommonErrorType"
  31939. }, {
  31940. "$ref" : "#/components/schemas/AlipayOpenSpIsvSignauthQueryErrorResponseModel"
  31941. } ]
  31942. }
  31943. }
  31944. }
  31945. }
  31946. },
  31947. "parameters" : [ {
  31948. "name" : "order_id",
  31949. "in" : "query",
  31950. "description" : "签约授权一体化订单ID\t可通过alipay.open.sp.isv.signauth.create 接口获取",
  31951. "schema" : {
  31952. "type" : "string",
  31953. "example" : "20211102034000100000047728652040"
  31954. }
  31955. } ]
  31956. }
  31957. },
  31958. "/v3/alipay/open/sp/leads/expand/create" : {
  31959. "post" : {
  31960. "tags" : [ "alipay.open.sp.leads.expand" ],
  31961. "summary" : "在线写入商机库",
  31962. "description" : "在线写入商机库",
  31963. "operationId" : "alipay.open.sp.leads.expand.create",
  31964. "responses" : {
  31965. "200" : {
  31966. "description" : "common response",
  31967. "content" : {
  31968. "application/json" : {
  31969. "schema" : {
  31970. "$ref" : "#/components/schemas/AlipayOpenSpLeadsExpandCreateResponseModel"
  31971. }
  31972. }
  31973. }
  31974. },
  31975. "default" : {
  31976. "description" : "请求失败",
  31977. "content" : {
  31978. "application/json" : {
  31979. "schema" : {
  31980. "anyOf" : [ {
  31981. "$ref" : "#/components/schemas/CommonErrorType"
  31982. }, {
  31983. "$ref" : "#/components/schemas/AlipayOpenSpLeadsExpandCreateErrorResponseModel"
  31984. } ]
  31985. }
  31986. }
  31987. }
  31988. }
  31989. },
  31990. "requestBody" : {
  31991. "content" : {
  31992. "application/json" : {
  31993. "schema" : {
  31994. "$ref" : "#/components/schemas/AlipayOpenSpLeadsExpandCreateModel"
  31995. }
  31996. }
  31997. },
  31998. "required" : false
  31999. }
  32000. }
  32001. },
  32002. "/v3/alipay/open/sp/merchant/inconsistent/approve" : {
  32003. "post" : {
  32004. "tags" : [ "alipay.open.sp.merchant.inconsistent" ],
  32005. "summary" : "非同人商家进件资料审批",
  32006. "description" : "针对服务优选扫码点餐小程序,用于收集并审核非同人商家的进件资料。",
  32007. "operationId" : "alipay.open.sp.merchant.inconsistent.approve",
  32008. "responses" : {
  32009. "200" : {
  32010. "description" : "common response",
  32011. "content" : {
  32012. "application/json" : {
  32013. "schema" : {
  32014. "$ref" : "#/components/schemas/AlipayOpenSpMerchantInconsistentApproveResponseModel"
  32015. }
  32016. }
  32017. }
  32018. },
  32019. "default" : {
  32020. "description" : "请求失败",
  32021. "content" : {
  32022. "application/json" : {
  32023. "schema" : {
  32024. "anyOf" : [ {
  32025. "$ref" : "#/components/schemas/CommonErrorType"
  32026. }, {
  32027. "$ref" : "#/components/schemas/AlipayOpenSpMerchantInconsistentApproveErrorResponseModel"
  32028. } ]
  32029. }
  32030. }
  32031. }
  32032. }
  32033. },
  32034. "requestBody" : {
  32035. "content" : {
  32036. "application/json" : {
  32037. "schema" : {
  32038. "$ref" : "#/components/schemas/AlipayOpenSpMerchantInconsistentApproveModel"
  32039. }
  32040. }
  32041. },
  32042. "required" : false
  32043. }
  32044. }
  32045. },
  32046. "/v3/alipay/open/sp/operation/apply" : {
  32047. "post" : {
  32048. "tags" : [ "alipay.open.sp.operation" ],
  32049. "summary" : "向商户发起代运营操作",
  32050. "description" : "服务商向商户发起代运营操作(账号绑定或者代运营授权)",
  32051. "operationId" : "alipay.open.sp.operation.apply",
  32052. "responses" : {
  32053. "200" : {
  32054. "description" : "common response",
  32055. "content" : {
  32056. "application/json" : {
  32057. "schema" : {
  32058. "$ref" : "#/components/schemas/AlipayOpenSpOperationApplyResponseModel"
  32059. }
  32060. }
  32061. }
  32062. },
  32063. "default" : {
  32064. "description" : "请求失败",
  32065. "content" : {
  32066. "application/json" : {
  32067. "schema" : {
  32068. "anyOf" : [ {
  32069. "$ref" : "#/components/schemas/CommonErrorType"
  32070. }, {
  32071. "$ref" : "#/components/schemas/AlipayOpenSpOperationApplyErrorResponseModel"
  32072. } ]
  32073. }
  32074. }
  32075. }
  32076. }
  32077. },
  32078. "requestBody" : {
  32079. "content" : {
  32080. "application/json" : {
  32081. "schema" : {
  32082. "$ref" : "#/components/schemas/AlipayOpenSpOperationApplyModel"
  32083. }
  32084. }
  32085. },
  32086. "required" : false
  32087. }
  32088. }
  32089. },
  32090. "/v3/alipay/open/sp/operation/qrcode/query" : {
  32091. "get" : {
  32092. "tags" : [ "alipay.open.sp.operation.qrcode" ],
  32093. "summary" : "查询代运营授权或者账号绑定二维码",
  32094. "description" : "面向服务商,查询发起代运营授权或者账号绑定的二维码。代间联商户代运营时,推荐使用接口同步返回的recommend_accounts字段中的账号扫码确认。",
  32095. "operationId" : "alipay.open.sp.operation.qrcode.query",
  32096. "responses" : {
  32097. "200" : {
  32098. "description" : "common response",
  32099. "content" : {
  32100. "application/json" : {
  32101. "schema" : {
  32102. "$ref" : "#/components/schemas/AlipayOpenSpOperationQrcodeQueryResponseModel"
  32103. }
  32104. }
  32105. }
  32106. },
  32107. "default" : {
  32108. "description" : "请求失败",
  32109. "content" : {
  32110. "application/json" : {
  32111. "schema" : {
  32112. "anyOf" : [ {
  32113. "$ref" : "#/components/schemas/CommonErrorType"
  32114. }, {
  32115. "$ref" : "#/components/schemas/AlipayOpenSpOperationQrcodeQueryErrorResponseModel"
  32116. } ]
  32117. }
  32118. }
  32119. }
  32120. }
  32121. },
  32122. "parameters" : [ {
  32123. "name" : "out_biz_no",
  32124. "in" : "query",
  32125. "description" : "外部操作流水,由服务商自定义,需确保每次操作唯一。仅支持数字、字母、下划线组合。",
  32126. "schema" : {
  32127. "type" : "string",
  32128. "example" : "2020124234523465636345634"
  32129. }
  32130. }, {
  32131. "name" : "operate_type",
  32132. "in" : "query",
  32133. "description" : "代运营操作类型。取值如下:\t* ACCOUNT_BIND:账号绑定,仅支持间连商户。\t* OPERATION_AUTH:代运营授权,支持间连、直连商户。",
  32134. "schema" : {
  32135. "type" : "string",
  32136. "example" : "OPERATION_AUTH"
  32137. }
  32138. }, {
  32139. "name" : "merchant_no",
  32140. "in" : "query",
  32141. "description" : "支付宝商户号。注意仅支持 2088 开头的间连商户。\t若被代运营者是间连商户,则 merchant_no 必填;\t若为直连商户,则 merchant_no 和 alipay_account 不能同时为空,都有值优先取 merchant_no。",
  32142. "schema" : {
  32143. "type" : "string",
  32144. "example" : "2088XXXX"
  32145. }
  32146. }, {
  32147. "name" : "alipay_account",
  32148. "in" : "query",
  32149. "description" : "支付宝登录账号。通常为手机号或者邮箱。\t若被代运营者是间连商户,该字段无需填写。\t若为直连商户,则 merchant_no 和 alipay_account 不能同时为空,都有值优先取 merchant_no。",
  32150. "schema" : {
  32151. "type" : "string",
  32152. "example" : "xxx@gmail.com"
  32153. }
  32154. }, {
  32155. "name" : "access_product_code",
  32156. "in" : "query",
  32157. "description" : "接入的产品编号。\t操作类型为绑定的,填OPENAPI_BIND_DEFAULT;\t操作类型为授权的,填OPENAPI_AUTH_DEFAULT",
  32158. "schema" : {
  32159. "type" : "string",
  32160. "example" : "OPENAPI_AUTH_DEFAULT"
  32161. }
  32162. }, {
  32163. "name" : "isv_scene_permissions",
  32164. "in" : "query",
  32165. "description" : "场景授权列表结构结构:场景codeA:权限code1,权限code2;场景codeB:权限code1,权限code2;",
  32166. "schema" : {
  32167. "type" : "string",
  32168. "example" : "SHOP_MANAGE:SHOP_MANAGE_BASE;PROMOTION_MANAGE:PROMOTION_MANAGE_BASE"
  32169. }
  32170. } ]
  32171. }
  32172. },
  32173. "/v3/alipay/open/sp/operation/result/query" : {
  32174. "get" : {
  32175. "tags" : [ "alipay.open.sp.operation.result" ],
  32176. "summary" : "查询服务商代运营操作结果",
  32177. "description" : "查询服务商代运营操作(代运营授权或者账号绑定)结果。提供两种查询方式:\n方式一:operate_type + batch_no,提供基于操作批次的精确查询,只查询本操作批次的代运营操作结果,不反映最终代运营操作结果。 方式一查询方式优先级更高。\n方式二:operate_type + access_product_code + merchant_no + alipay_account 参数组合,可以查询代运营操作最终结果,任意一个操作批次成功都会体现在最终结果中。\n方式三:operate_type + isv_scene_permissions + merchant_no + alipay_account 参数组合,可以查询代运营操作最终结果,任意一个操作批次成功都会体现在最终结果中(仅支持查询授权结果)。",
  32178. "operationId" : "alipay.open.sp.operation.result.query",
  32179. "responses" : {
  32180. "200" : {
  32181. "description" : "common response",
  32182. "content" : {
  32183. "application/json" : {
  32184. "schema" : {
  32185. "$ref" : "#/components/schemas/AlipayOpenSpOperationResultQueryResponseModel"
  32186. }
  32187. }
  32188. }
  32189. },
  32190. "default" : {
  32191. "description" : "请求失败",
  32192. "content" : {
  32193. "application/json" : {
  32194. "schema" : {
  32195. "anyOf" : [ {
  32196. "$ref" : "#/components/schemas/CommonErrorType"
  32197. }, {
  32198. "$ref" : "#/components/schemas/AlipayOpenSpOperationResultQueryErrorResponseModel"
  32199. } ]
  32200. }
  32201. }
  32202. }
  32203. }
  32204. },
  32205. "parameters" : [ {
  32206. "name" : "operate_type",
  32207. "in" : "query",
  32208. "description" : "代运营操作类型。取值如下 ACCOUNT_BIND:账号绑定; OPERATION_AUTH:代运营授权。",
  32209. "schema" : {
  32210. "type" : "string",
  32211. "example" : "ACCOUNT_BIND"
  32212. }
  32213. }, {
  32214. "name" : "batch_no",
  32215. "in" : "query",
  32216. "description" : "支付宝操作批次号。\tbatch_no提供基于操作批次的精确查询,只查询本操作批次的代运营操作结果,不反映最终代运营操作结果。\t注意:\t1.access_product_code、merchant_no、alipay_account三个参数组合与传入 batch_no 为两种查询方式,不可同时为空且以 batch_no 优先。\t2.access_product_code、merchant_no、alipay_account三个参数组合可以查询最终代运营操作结果。",
  32217. "schema" : {
  32218. "type" : "string",
  32219. "example" : "2020222342342"
  32220. }
  32221. }, {
  32222. "name" : "access_product_code",
  32223. "in" : "query",
  32224. "description" : "接入的产品编号。未传batch_no时必填,枚举如下:\tOPENAPI_BIND_DEFAULT:操作类型为账号绑定;\tOPENAPI_AUTH_DEFAULT:操作类型为代运营授权。",
  32225. "schema" : {
  32226. "type" : "string",
  32227. "example" : "OPENAPI_BIND_DEFAULT"
  32228. }
  32229. }, {
  32230. "name" : "merchant_no",
  32231. "in" : "query",
  32232. "description" : "支付宝商户号。支持间连、直连商户,值为2088开头。\t未传batch_no时需注意:\t若查询间连商户则 merchant_no 必填; \t若查询直连商户,则merchant_no和alipay_account不能同时为空,都有值优先取merchant_no。",
  32233. "schema" : {
  32234. "type" : "string",
  32235. "example" : "2088912341234123"
  32236. }
  32237. }, {
  32238. "name" : "alipay_account",
  32239. "in" : "query",
  32240. "description" : "支付宝登录账号,通常为手机号或者邮箱。未传batch_no时需注意:\t1.当查询merchant_no为间连商户时:\t * 若 operate_type=ACCOUNT_BIND,则alipay_account必填。\t * 若 operate_type=OPERATION_AUTH,则alipay_account无需传入。\t2.当查询merchant_no为直连商户时:\t * merchant_no和alipay_account不能同时为空,都有值优先取merchant_no。",
  32241. "schema" : {
  32242. "type" : "string",
  32243. "example" : "testaccount@test.com"
  32244. }
  32245. }, {
  32246. "name" : "isv_scene_permissions",
  32247. "in" : "query",
  32248. "description" : "场景授权列表结构结构:场景codeA:权限code1,权限code2;场景codeB:权限code1,权限code2;",
  32249. "schema" : {
  32250. "type" : "string",
  32251. "example" : "SHOP_MANAGE:SHOP_MANAGE_BASE;PROMOTION_MANAGE:PROMOTION_MANAGE_BASE"
  32252. }
  32253. } ]
  32254. }
  32255. },
  32256. "/v3/alipay/open/sp/oppor/detail/query" : {
  32257. "get" : {
  32258. "tags" : [ "alipay.open.sp.oppor.detail" ],
  32259. "summary" : "商机作业详情查询",
  32260. "description" : "商机作业详情查询",
  32261. "operationId" : "alipay.open.sp.oppor.detail.query",
  32262. "responses" : {
  32263. "200" : {
  32264. "description" : "common response",
  32265. "content" : {
  32266. "application/json" : {
  32267. "schema" : {
  32268. "$ref" : "#/components/schemas/AlipayOpenSpOpporDetailQueryResponseModel"
  32269. }
  32270. }
  32271. }
  32272. },
  32273. "default" : {
  32274. "description" : "请求失败",
  32275. "content" : {
  32276. "application/json" : {
  32277. "schema" : {
  32278. "anyOf" : [ {
  32279. "$ref" : "#/components/schemas/CommonErrorType"
  32280. }, {
  32281. "$ref" : "#/components/schemas/AlipayOpenSpOpporDetailQueryErrorResponseModel"
  32282. } ]
  32283. }
  32284. }
  32285. }
  32286. }
  32287. },
  32288. "parameters" : [ {
  32289. "name" : "isv_pid",
  32290. "in" : "query",
  32291. "description" : "服务商pid",
  32292. "schema" : {
  32293. "type" : "string",
  32294. "example" : "2088501013445414"
  32295. }
  32296. }, {
  32297. "name" : "oppor_id",
  32298. "in" : "query",
  32299. "description" : "商机作业Id",
  32300. "schema" : {
  32301. "type" : "string",
  32302. "example" : "2022041403518351"
  32303. }
  32304. } ]
  32305. }
  32306. },
  32307. "/v3/alipay/open/sp/oppor/feedback/modify" : {
  32308. "post" : {
  32309. "tags" : [ "alipay.open.sp.oppor.feedback" ],
  32310. "summary" : "商机拓展完成",
  32311. "description" : "商机拓展完成",
  32312. "operationId" : "alipay.open.sp.oppor.feedback.modify",
  32313. "responses" : {
  32314. "200" : {
  32315. "description" : "common response",
  32316. "content" : {
  32317. "application/json" : {
  32318. "schema" : {
  32319. "$ref" : "#/components/schemas/AlipayOpenSpOpporFeedbackModifyResponseModel"
  32320. }
  32321. }
  32322. }
  32323. },
  32324. "default" : {
  32325. "description" : "请求失败",
  32326. "content" : {
  32327. "application/json" : {
  32328. "schema" : {
  32329. "anyOf" : [ {
  32330. "$ref" : "#/components/schemas/CommonErrorType"
  32331. }, {
  32332. "$ref" : "#/components/schemas/AlipayOpenSpOpporFeedbackModifyErrorResponseModel"
  32333. } ]
  32334. }
  32335. }
  32336. }
  32337. }
  32338. },
  32339. "requestBody" : {
  32340. "content" : {
  32341. "application/json" : {
  32342. "schema" : {
  32343. "$ref" : "#/components/schemas/AlipayOpenSpOpporFeedbackModifyModel"
  32344. }
  32345. }
  32346. },
  32347. "required" : false
  32348. }
  32349. }
  32350. },
  32351. "/v3/alipay/open/sp/oppor/page/query" : {
  32352. "get" : {
  32353. "tags" : [ "alipay.open.sp.oppor.page" ],
  32354. "summary" : "商机作业列表查询",
  32355. "description" : "商机作业列表查询",
  32356. "operationId" : "alipay.open.sp.oppor.page.query",
  32357. "responses" : {
  32358. "200" : {
  32359. "description" : "common response",
  32360. "content" : {
  32361. "application/json" : {
  32362. "schema" : {
  32363. "$ref" : "#/components/schemas/AlipayOpenSpOpporPageQueryResponseModel"
  32364. }
  32365. }
  32366. }
  32367. },
  32368. "default" : {
  32369. "description" : "请求失败",
  32370. "content" : {
  32371. "application/json" : {
  32372. "schema" : {
  32373. "anyOf" : [ {
  32374. "$ref" : "#/components/schemas/CommonErrorType"
  32375. }, {
  32376. "$ref" : "#/components/schemas/AlipayOpenSpOpporPageQueryErrorResponseModel"
  32377. } ]
  32378. }
  32379. }
  32380. }
  32381. }
  32382. },
  32383. "parameters" : [ {
  32384. "name" : "isv_pid",
  32385. "in" : "query",
  32386. "description" : "服务商pid",
  32387. "schema" : {
  32388. "type" : "string",
  32389. "example" : "2088302213873401"
  32390. }
  32391. }, {
  32392. "name" : "status_list",
  32393. "in" : "query",
  32394. "description" : "作业记录状态列表,以,拼接传入",
  32395. "schema" : {
  32396. "type" : "string",
  32397. "example" : "WAIT_MER_CONFIRM,MER_CONFIRMED,MER_REJECTED,EXPANDING,EXPANDED,EXPAND_FAILED"
  32398. }
  32399. }, {
  32400. "name" : "page_size",
  32401. "in" : "query",
  32402. "description" : "页大小",
  32403. "schema" : {
  32404. "type" : "string",
  32405. "example" : "10"
  32406. }
  32407. }, {
  32408. "name" : "page_num",
  32409. "in" : "query",
  32410. "description" : "页数",
  32411. "schema" : {
  32412. "type" : "string",
  32413. "example" : "1"
  32414. }
  32415. } ]
  32416. }
  32417. },
  32418. "/v3/alipay/open/violation/violationdetail/query" : {
  32419. "get" : {
  32420. "tags" : [ "alipay.open.violation.violationdetail" ],
  32421. "summary" : "违规记录详情查询",
  32422. "description" : "违规记录详情查询",
  32423. "operationId" : "alipay.open.violation.violationdetail.query",
  32424. "responses" : {
  32425. "200" : {
  32426. "description" : "common response",
  32427. "content" : {
  32428. "application/json" : {
  32429. "schema" : {
  32430. "$ref" : "#/components/schemas/AlipayOpenViolationViolationdetailQueryResponseModel"
  32431. }
  32432. }
  32433. }
  32434. },
  32435. "default" : {
  32436. "description" : "请求失败",
  32437. "content" : {
  32438. "application/json" : {
  32439. "schema" : {
  32440. "anyOf" : [ {
  32441. "$ref" : "#/components/schemas/CommonErrorType"
  32442. }, {
  32443. "$ref" : "#/components/schemas/AlipayOpenViolationViolationdetailQueryErrorResponseModel"
  32444. } ]
  32445. }
  32446. }
  32447. }
  32448. }
  32449. },
  32450. "parameters" : [ {
  32451. "name" : "violation_record_id",
  32452. "in" : "query",
  32453. "description" : "支付宝侧生成的违规记录唯一标识",
  32454. "schema" : {
  32455. "type" : "string",
  32456. "example" : "202205240010200000000000000"
  32457. }
  32458. } ]
  32459. }
  32460. },
  32461. "/v3/alipay/open/violation/violationevent/batchquery" : {
  32462. "post" : {
  32463. "tags" : [ "alipay.open.violation.violationevent" ],
  32464. "summary" : "违规记录列表查询",
  32465. "description" : "违规记录列表查询",
  32466. "operationId" : "alipay.open.violation.violationevent.batchquery",
  32467. "responses" : {
  32468. "200" : {
  32469. "description" : "common response",
  32470. "content" : {
  32471. "application/json" : {
  32472. "schema" : {
  32473. "$ref" : "#/components/schemas/AlipayOpenViolationViolationeventBatchqueryResponseModel"
  32474. }
  32475. }
  32476. }
  32477. },
  32478. "default" : {
  32479. "description" : "请求失败",
  32480. "content" : {
  32481. "application/json" : {
  32482. "schema" : {
  32483. "anyOf" : [ {
  32484. "$ref" : "#/components/schemas/CommonErrorType"
  32485. }, {
  32486. "$ref" : "#/components/schemas/AlipayOpenViolationViolationeventBatchqueryErrorResponseModel"
  32487. } ]
  32488. }
  32489. }
  32490. }
  32491. }
  32492. },
  32493. "requestBody" : {
  32494. "content" : {
  32495. "application/json" : {
  32496. "schema" : {
  32497. "$ref" : "#/components/schemas/AlipayOpenViolationViolationeventBatchqueryModel"
  32498. }
  32499. }
  32500. },
  32501. "required" : false
  32502. }
  32503. }
  32504. },
  32505. "/v3/alipay/pcredit/huabei/auth/accumulation/query" : {
  32506. "get" : {
  32507. "tags" : [ "alipay.pcredit.huabei.auth.accumulation" ],
  32508. "summary" : "花芝轻会员周期累计数据查询",
  32509. "description" : "根据协议与对应的周期查询支付宝累计数据。",
  32510. "operationId" : "alipay.pcredit.huabei.auth.accumulation.query",
  32511. "responses" : {
  32512. "200" : {
  32513. "description" : "common response",
  32514. "content" : {
  32515. "application/json" : {
  32516. "schema" : {
  32517. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthAccumulationQueryResponseModel"
  32518. }
  32519. }
  32520. }
  32521. },
  32522. "default" : {
  32523. "description" : "请求失败",
  32524. "content" : {
  32525. "application/json" : {
  32526. "schema" : {
  32527. "anyOf" : [ {
  32528. "$ref" : "#/components/schemas/CommonErrorType"
  32529. }, {
  32530. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthAccumulationQueryErrorResponseModel"
  32531. } ]
  32532. }
  32533. }
  32534. }
  32535. }
  32536. },
  32537. "parameters" : [ {
  32538. "name" : "agreement_no",
  32539. "in" : "query",
  32540. "description" : "支付宝系统中用以唯一标识用户签约记录的编号。",
  32541. "schema" : {
  32542. "type" : "string",
  32543. "example" : "20170502000610755993"
  32544. }
  32545. }, {
  32546. "name" : "period",
  32547. "in" : "query",
  32548. "description" : "协议结算周期,使用支付宝端回传的周期信息。",
  32549. "schema" : {
  32550. "type" : "string",
  32551. "example" : "20181223235059-20181230235010"
  32552. }
  32553. }, {
  32554. "name" : "alipay_user_id",
  32555. "in" : "query",
  32556. "description" : "买家在支付宝的用户id",
  32557. "schema" : {
  32558. "type" : "string",
  32559. "example" : "2088101117955611"
  32560. }
  32561. }, {
  32562. "name" : "open_id",
  32563. "in" : "query",
  32564. "description" : "买家在支付宝的用户id",
  32565. "schema" : {
  32566. "type" : "string",
  32567. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  32568. }
  32569. } ]
  32570. }
  32571. },
  32572. "/v3/alipay/pcredit/huabei/auth/agreement/close" : {
  32573. "put" : {
  32574. "tags" : [ "alipay.pcredit.huabei.auth.agreement" ],
  32575. "summary" : "花芝协议关闭接口",
  32576. "description" : "用户已经开通花芝先享后,商户可通过此接口提前关闭协议。",
  32577. "operationId" : "alipay.pcredit.huabei.auth.agreement.close",
  32578. "responses" : {
  32579. "200" : {
  32580. "description" : "common response",
  32581. "content" : {
  32582. "application/json" : {
  32583. "schema" : {
  32584. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthAgreementCloseResponseModel"
  32585. }
  32586. }
  32587. }
  32588. },
  32589. "default" : {
  32590. "description" : "请求失败",
  32591. "content" : {
  32592. "application/json" : {
  32593. "schema" : {
  32594. "anyOf" : [ {
  32595. "$ref" : "#/components/schemas/CommonErrorType"
  32596. }, {
  32597. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthAgreementCloseErrorResponseModel"
  32598. } ]
  32599. }
  32600. }
  32601. }
  32602. }
  32603. },
  32604. "requestBody" : {
  32605. "content" : {
  32606. "application/json" : {
  32607. "schema" : {
  32608. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthAgreementCloseModel"
  32609. }
  32610. }
  32611. },
  32612. "required" : false
  32613. }
  32614. }
  32615. },
  32616. "/v3/alipay/pcredit/huabei/auth/agreement/query" : {
  32617. "get" : {
  32618. "tags" : [ "alipay.pcredit.huabei.auth.agreement" ],
  32619. "summary" : "花芝轻会员协议查询接口",
  32620. "description" : "花芝轻会员协议查询,返回协议的状态。如果协议处于签约状态,同时返回最新的资金池余额。\n有两种方式查询。优先使用agreement_no查询;其次是使用(out_sign_no, auth_scene)查询。\n如果商户不能保证out_sign_no的唯一性,慎用(out_sign_no, auth_scene)的查询方式,它优先返回仍处于签约状态的协议。",
  32621. "operationId" : "alipay.pcredit.huabei.auth.agreement.query",
  32622. "responses" : {
  32623. "200" : {
  32624. "description" : "common response",
  32625. "content" : {
  32626. "application/json" : {
  32627. "schema" : {
  32628. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthAgreementQueryResponseModel"
  32629. }
  32630. }
  32631. }
  32632. },
  32633. "default" : {
  32634. "description" : "请求失败",
  32635. "content" : {
  32636. "application/json" : {
  32637. "schema" : {
  32638. "anyOf" : [ {
  32639. "$ref" : "#/components/schemas/CommonErrorType"
  32640. }, {
  32641. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthAgreementQueryErrorResponseModel"
  32642. } ]
  32643. }
  32644. }
  32645. }
  32646. }
  32647. },
  32648. "parameters" : [ {
  32649. "name" : "agreement_no",
  32650. "in" : "query",
  32651. "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花芝轻会员。传入该参数,会忽略其它所有参数。",
  32652. "schema" : {
  32653. "type" : "string",
  32654. "example" : "20185513447859192007"
  32655. }
  32656. }, {
  32657. "name" : "alipay_user_id",
  32658. "in" : "query",
  32659. "description" : "买家在支付宝的用户id",
  32660. "schema" : {
  32661. "type" : "string",
  32662. "example" : "2088101117955611"
  32663. }
  32664. }, {
  32665. "name" : "open_id",
  32666. "in" : "query",
  32667. "description" : "买家在支付宝的用户id",
  32668. "schema" : {
  32669. "type" : "string",
  32670. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  32671. }
  32672. }, {
  32673. "name" : "out_sign_no",
  32674. "in" : "query",
  32675. "description" : "外部签约号,由商户提供,花芝轻会员协议中标识用户的唯一签约号(确保在商户系统中唯一)。",
  32676. "schema" : {
  32677. "type" : "string",
  32678. "example" : "2018053100073208416400000002"
  32679. }
  32680. }, {
  32681. "name" : "auth_scene",
  32682. "in" : "query",
  32683. "description" : "花芝轻会员签约场景,商户和支付宝签约时确定。该值需要与系统/页面签约接口调用时传入的值保持一致。",
  32684. "schema" : {
  32685. "type" : "string",
  32686. "example" : "EXTERNAL_PCARD"
  32687. }
  32688. } ]
  32689. }
  32690. },
  32691. "/v3/alipay/pcredit/huabei/auth/order/query" : {
  32692. "get" : {
  32693. "tags" : [ "alipay.pcredit.huabei.auth.order" ],
  32694. "summary" : "花呗先享订单查询接口",
  32695. "description" : "查询花呗先享冻结、解冻订单内容及状态。有3种查询方式。推荐商户优先使用auth_opt_id查询;其次是按照(alipay_user_id,out_request_no)组合方式查询;最后是单独通过out_request_no方式查询。\r\n注意:最后一种方式,仅支持2019年2月15日开始的订单。",
  32696. "operationId" : "alipay.pcredit.huabei.auth.order.query",
  32697. "responses" : {
  32698. "200" : {
  32699. "description" : "common response",
  32700. "content" : {
  32701. "application/json" : {
  32702. "schema" : {
  32703. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthOrderQueryResponseModel"
  32704. }
  32705. }
  32706. }
  32707. },
  32708. "default" : {
  32709. "description" : "请求失败",
  32710. "content" : {
  32711. "application/json" : {
  32712. "schema" : {
  32713. "anyOf" : [ {
  32714. "$ref" : "#/components/schemas/CommonErrorType"
  32715. }, {
  32716. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthOrderQueryErrorResponseModel"
  32717. } ]
  32718. }
  32719. }
  32720. }
  32721. }
  32722. },
  32723. "parameters" : [ {
  32724. "name" : "auth_opt_id",
  32725. "in" : "query",
  32726. "description" : "支付宝侧花呗冻结、解冻操作单据id。在原先的冻结或者解冻接口调用中同步返回给商户,或者通过商户通知返回给商户。按订单号查询时,此字段不可为空。",
  32727. "schema" : {
  32728. "type" : "string",
  32729. "example" : "2018081010020817070009689955"
  32730. }
  32731. }, {
  32732. "name" : "alipay_user_id",
  32733. "in" : "query",
  32734. "description" : "买家在支付宝的用户id。通过userid+请求流水号组合查询时,此字段不可为空。",
  32735. "schema" : {
  32736. "type" : "string",
  32737. "example" : "2088101117955611"
  32738. }
  32739. }, {
  32740. "name" : "open_id",
  32741. "in" : "query",
  32742. "description" : "买家在支付宝的用户id",
  32743. "schema" : {
  32744. "type" : "string",
  32745. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  32746. }
  32747. }, {
  32748. "name" : "out_request_no",
  32749. "in" : "query",
  32750. "description" : "商户原先调用冻结、解冻接口传入的请求流水号。按照流水号查询订单时,此字段不能为空。",
  32751. "schema" : {
  32752. "type" : "string",
  32753. "example" : "8077735255938032"
  32754. }
  32755. } ]
  32756. }
  32757. },
  32758. "/v3/alipay/pcredit/huabei/auth/order/unfreeze" : {
  32759. "put" : {
  32760. "tags" : [ "alipay.pcredit.huabei.auth.order" ],
  32761. "summary" : "花呗先享解冻或解约接口",
  32762. "description" : "用户已经开通花呗先享协议后,商户通过此接口解冻用户资金池金额,也可以解冻并解约。\r\n如果是解约操作,则要求传入的解冻金额必须等于用户资金池余额。\r\n注意:商户在发起解约前,请务必保证已经结算过用户会员费,一旦解约后,无法发起结算用户会员费操作。",
  32763. "operationId" : "alipay.pcredit.huabei.auth.order.unfreeze",
  32764. "responses" : {
  32765. "200" : {
  32766. "description" : "common response",
  32767. "content" : {
  32768. "application/json" : {
  32769. "schema" : {
  32770. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthOrderUnfreezeResponseModel"
  32771. }
  32772. }
  32773. }
  32774. },
  32775. "default" : {
  32776. "description" : "请求失败",
  32777. "content" : {
  32778. "application/json" : {
  32779. "schema" : {
  32780. "anyOf" : [ {
  32781. "$ref" : "#/components/schemas/CommonErrorType"
  32782. }, {
  32783. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthOrderUnfreezeErrorResponseModel"
  32784. } ]
  32785. }
  32786. }
  32787. }
  32788. }
  32789. },
  32790. "requestBody" : {
  32791. "content" : {
  32792. "application/json" : {
  32793. "schema" : {
  32794. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthOrderUnfreezeModel"
  32795. }
  32796. }
  32797. },
  32798. "required" : false
  32799. }
  32800. }
  32801. },
  32802. "/v3/alipay/pcredit/huabei/auth/refund/apply" : {
  32803. "put" : {
  32804. "tags" : [ "alipay.pcredit.huabei.auth.refund" ],
  32805. "summary" : "花芝结算扣款费用逆向退款申请",
  32806. "description" : "用于1)芝麻GO会员费扣款逆向退款操作2)周期扣款每期扣款逆向退款操作",
  32807. "operationId" : "alipay.pcredit.huabei.auth.refund.apply",
  32808. "responses" : {
  32809. "200" : {
  32810. "description" : "common response",
  32811. "content" : {
  32812. "application/json" : {
  32813. "schema" : {
  32814. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthRefundApplyResponseModel"
  32815. }
  32816. }
  32817. }
  32818. },
  32819. "default" : {
  32820. "description" : "请求失败",
  32821. "content" : {
  32822. "application/json" : {
  32823. "schema" : {
  32824. "anyOf" : [ {
  32825. "$ref" : "#/components/schemas/CommonErrorType"
  32826. }, {
  32827. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthRefundApplyErrorResponseModel"
  32828. } ]
  32829. }
  32830. }
  32831. }
  32832. }
  32833. },
  32834. "requestBody" : {
  32835. "content" : {
  32836. "application/json" : {
  32837. "schema" : {
  32838. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthRefundApplyModel"
  32839. }
  32840. }
  32841. },
  32842. "required" : false
  32843. }
  32844. }
  32845. },
  32846. "/v3/alipay/pcredit/huabei/auth/settle/apply" : {
  32847. "put" : {
  32848. "tags" : [ "alipay.pcredit.huabei.auth.settle" ],
  32849. "summary" : "花芝轻会员结算申请",
  32850. "description" : "用户已经开通花芝轻会员协议后,商户通过此接口解冻转支付用户冻结金额。传入金额必须小于等于冻结金额",
  32851. "operationId" : "alipay.pcredit.huabei.auth.settle.apply",
  32852. "responses" : {
  32853. "200" : {
  32854. "description" : "common response",
  32855. "content" : {
  32856. "application/json" : {
  32857. "schema" : {
  32858. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthSettleApplyResponseModel"
  32859. }
  32860. }
  32861. }
  32862. },
  32863. "default" : {
  32864. "description" : "请求失败",
  32865. "content" : {
  32866. "application/json" : {
  32867. "schema" : {
  32868. "anyOf" : [ {
  32869. "$ref" : "#/components/schemas/CommonErrorType"
  32870. }, {
  32871. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthSettleApplyErrorResponseModel"
  32872. } ]
  32873. }
  32874. }
  32875. }
  32876. }
  32877. },
  32878. "requestBody" : {
  32879. "content" : {
  32880. "application/json" : {
  32881. "schema" : {
  32882. "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthSettleApplyModel"
  32883. }
  32884. }
  32885. },
  32886. "required" : false
  32887. }
  32888. }
  32889. },
  32890. "/v3/alipay/security/data/sss/create/{a}" : {
  32891. "post" : {
  32892. "tags" : [ "alipay.security.data.sss" ],
  32893. "summary" : "文档回归测试勿动openapi_openid_post多场景",
  32894. "description" : "文档回归测试勿动openapi_openid_post多场景",
  32895. "operationId" : "alipay.security.data.sss.create",
  32896. "responses" : {
  32897. "200" : {
  32898. "description" : "common response",
  32899. "content" : {
  32900. "application/json" : {
  32901. "schema" : {
  32902. "$ref" : "#/components/schemas/AlipaySecurityDataSssCreateResponseModel"
  32903. }
  32904. }
  32905. }
  32906. },
  32907. "default" : {
  32908. "description" : "请求失败",
  32909. "content" : {
  32910. "application/json" : {
  32911. "schema" : {
  32912. "anyOf" : [ {
  32913. "$ref" : "#/components/schemas/CommonErrorType"
  32914. }, {
  32915. "$ref" : "#/components/schemas/AlipaySecurityDataSssCreateErrorResponseModel"
  32916. } ]
  32917. }
  32918. }
  32919. }
  32920. }
  32921. },
  32922. "parameters" : [ {
  32923. "name" : "b",
  32924. "in" : "query",
  32925. "description" : "有枚举,必须,有openid,有注意事项",
  32926. "schema" : {
  32927. "type" : "string",
  32928. "example" : "12"
  32929. }
  32930. }, {
  32931. "name" : "b_open_id",
  32932. "in" : "query",
  32933. "description" : "有枚举,必须,有openid,有注意事项",
  32934. "schema" : {
  32935. "type" : "string",
  32936. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  32937. }
  32938. }, {
  32939. "name" : "a",
  32940. "in" : "path",
  32941. "description" : "path.数字,无枚举,有注意事项",
  32942. "required" : true,
  32943. "schema" : {
  32944. "type" : "integer",
  32945. "example" : "1"
  32946. }
  32947. } ],
  32948. "requestBody" : {
  32949. "content" : {
  32950. "application/json" : {
  32951. "schema" : {
  32952. "$ref" : "#/components/schemas/AlipaySecurityDataSssCreateModel"
  32953. }
  32954. }
  32955. },
  32956. "required" : false
  32957. }
  32958. }
  32959. },
  32960. "/v3/alipay/security/prod/sss/query/{bbb}" : {
  32961. "post" : {
  32962. "tags" : [ "alipay.security.prod.sss" ],
  32963. "summary" : "金柚测试3.0接口",
  32964. "description" : "金柚测试3.0接口",
  32965. "operationId" : "alipay.security.prod.sss.query",
  32966. "responses" : {
  32967. "200" : {
  32968. "description" : "common response",
  32969. "content" : {
  32970. "application/json" : {
  32971. "schema" : {
  32972. "$ref" : "#/components/schemas/AlipaySecurityProdSssQueryResponseModel"
  32973. }
  32974. }
  32975. }
  32976. },
  32977. "default" : {
  32978. "description" : "请求失败",
  32979. "content" : {
  32980. "application/json" : {
  32981. "schema" : {
  32982. "anyOf" : [ {
  32983. "$ref" : "#/components/schemas/CommonErrorType"
  32984. }, {
  32985. "$ref" : "#/components/schemas/AlipaySecurityProdSssQueryErrorResponseModel"
  32986. } ]
  32987. }
  32988. }
  32989. }
  32990. }
  32991. },
  32992. "parameters" : [ {
  32993. "name" : "aaa",
  32994. "in" : "query",
  32995. "description" : "1",
  32996. "schema" : {
  32997. "type" : "string",
  32998. "example" : "3333"
  32999. }
  33000. }, {
  33001. "name" : "aaa_open_id",
  33002. "in" : "query",
  33003. "description" : "1",
  33004. "schema" : {
  33005. "type" : "string",
  33006. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  33007. }
  33008. }, {
  33009. "name" : "bbb",
  33010. "in" : "path",
  33011. "description" : "activity_id 词条描述",
  33012. "required" : true,
  33013. "schema" : {
  33014. "type" : "string",
  33015. "example" : "1"
  33016. }
  33017. } ],
  33018. "requestBody" : {
  33019. "content" : {
  33020. "application/json" : {
  33021. "schema" : {
  33022. "$ref" : "#/components/schemas/AlipaySecurityProdSssQueryModel"
  33023. }
  33024. }
  33025. },
  33026. "required" : false
  33027. }
  33028. }
  33029. },
  33030. "/v3/alipay/security/prod/tianwutest/modify" : {
  33031. "post" : {
  33032. "tags" : [ "alipay.security.prod.tianwutest" ],
  33033. "summary" : "tianwutest",
  33034. "description" : "tianwutest",
  33035. "operationId" : "alipay.security.prod.tianwutest.modify",
  33036. "responses" : {
  33037. "200" : {
  33038. "description" : "common response",
  33039. "content" : {
  33040. "application/json" : {
  33041. "schema" : {
  33042. "$ref" : "#/components/schemas/AlipaySecurityProdTianwutestModifyResponseModel"
  33043. }
  33044. }
  33045. }
  33046. },
  33047. "default" : {
  33048. "description" : "请求失败",
  33049. "content" : {
  33050. "application/json" : {
  33051. "schema" : {
  33052. "anyOf" : [ {
  33053. "$ref" : "#/components/schemas/CommonErrorType"
  33054. }, {
  33055. "$ref" : "#/components/schemas/AlipaySecurityProdTianwutestModifyErrorResponseModel"
  33056. } ]
  33057. }
  33058. }
  33059. }
  33060. }
  33061. },
  33062. "requestBody" : {
  33063. "content" : {
  33064. "application/json" : {
  33065. "schema" : {
  33066. "$ref" : "#/components/schemas/AlipaySecurityProdTianwutestModifyModel"
  33067. }
  33068. }
  33069. },
  33070. "required" : false
  33071. }
  33072. }
  33073. },
  33074. "/v3/alipay/security/risk/customerrisk/send" : {
  33075. "post" : {
  33076. "tags" : [ "alipay.security.risk.customerrisk" ],
  33077. "summary" : "商户数据同步",
  33078. "description" : "判断商户有问题时,服务商将商户信息同步到支付宝",
  33079. "operationId" : "alipay.security.risk.customerrisk.send",
  33080. "responses" : {
  33081. "200" : {
  33082. "description" : "common response",
  33083. "content" : {
  33084. "application/json" : {
  33085. "schema" : {
  33086. "$ref" : "#/components/schemas/AlipaySecurityRiskCustomerriskSendResponseModel"
  33087. }
  33088. }
  33089. }
  33090. },
  33091. "default" : {
  33092. "description" : "请求失败",
  33093. "content" : {
  33094. "application/json" : {
  33095. "schema" : {
  33096. "anyOf" : [ {
  33097. "$ref" : "#/components/schemas/CommonErrorType"
  33098. }, {
  33099. "$ref" : "#/components/schemas/AlipaySecurityRiskCustomerriskSendErrorResponseModel"
  33100. } ]
  33101. }
  33102. }
  33103. }
  33104. }
  33105. },
  33106. "requestBody" : {
  33107. "content" : {
  33108. "application/json" : {
  33109. "schema" : {
  33110. "$ref" : "#/components/schemas/AlipaySecurityRiskCustomerriskSendModel"
  33111. }
  33112. }
  33113. },
  33114. "required" : false
  33115. }
  33116. }
  33117. },
  33118. "/v3/alipay/security/risk/verifyidentity/miniapp/confirm" : {
  33119. "post" : {
  33120. "tags" : [ "alipay.security.risk.verifyidentity.miniapp" ],
  33121. "summary" : "小程序核验服务结果确认接口",
  33122. "description" : "确认身份核验结果接口",
  33123. "operationId" : "alipay.security.risk.verifyidentity.miniapp.confirm",
  33124. "responses" : {
  33125. "200" : {
  33126. "description" : "common response",
  33127. "content" : {
  33128. "application/json" : {
  33129. "schema" : {
  33130. "$ref" : "#/components/schemas/AlipaySecurityRiskVerifyidentityMiniappConfirmResponseModel"
  33131. }
  33132. }
  33133. }
  33134. },
  33135. "default" : {
  33136. "description" : "请求失败",
  33137. "content" : {
  33138. "application/json" : {
  33139. "schema" : {
  33140. "anyOf" : [ {
  33141. "$ref" : "#/components/schemas/CommonErrorType"
  33142. }, {
  33143. "$ref" : "#/components/schemas/AlipaySecurityRiskVerifyidentityMiniappConfirmErrorResponseModel"
  33144. } ]
  33145. }
  33146. }
  33147. }
  33148. }
  33149. },
  33150. "requestBody" : {
  33151. "content" : {
  33152. "application/json" : {
  33153. "schema" : {
  33154. "$ref" : "#/components/schemas/AlipaySecurityRiskVerifyidentityMiniappConfirmModel"
  33155. }
  33156. }
  33157. },
  33158. "required" : false
  33159. }
  33160. }
  33161. },
  33162. "/v3/alipay/social/base/contentlib/standardcontent/batchquery" : {
  33163. "post" : {
  33164. "tags" : [ "alipay.social.base.contentlib.standardcontent" ],
  33165. "summary" : "内容批量查询接口",
  33166. "description" : "支付宝生活号+查询当前账号下发布过的内容及对应详情信息",
  33167. "operationId" : "alipay.social.base.contentlib.standardcontent.batchquery",
  33168. "responses" : {
  33169. "200" : {
  33170. "description" : "common response",
  33171. "content" : {
  33172. "application/json" : {
  33173. "schema" : {
  33174. "$ref" : "#/components/schemas/AlipaySocialBaseContentlibStandardcontentBatchqueryResponseModel"
  33175. }
  33176. }
  33177. }
  33178. },
  33179. "default" : {
  33180. "description" : "请求失败",
  33181. "content" : {
  33182. "application/json" : {
  33183. "schema" : {
  33184. "anyOf" : [ {
  33185. "$ref" : "#/components/schemas/CommonErrorType"
  33186. }, {
  33187. "$ref" : "#/components/schemas/AlipaySocialBaseContentlibStandardcontentBatchqueryErrorResponseModel"
  33188. } ]
  33189. }
  33190. }
  33191. }
  33192. }
  33193. },
  33194. "requestBody" : {
  33195. "content" : {
  33196. "application/json" : {
  33197. "schema" : {
  33198. "$ref" : "#/components/schemas/AlipaySocialBaseContentlibStandardcontentBatchqueryModel"
  33199. }
  33200. }
  33201. },
  33202. "required" : false
  33203. }
  33204. }
  33205. },
  33206. "/v3/alipay/system/oauth/token" : {
  33207. "post" : {
  33208. "tags" : [ "alipay.system.oauth" ],
  33209. "summary" : "换取授权访问令牌",
  33210. "description" : "换取授权访问令牌",
  33211. "operationId" : "alipay.system.oauth.token",
  33212. "responses" : {
  33213. "200" : {
  33214. "description" : "common response",
  33215. "content" : {
  33216. "application/json" : {
  33217. "schema" : {
  33218. "$ref" : "#/components/schemas/AlipaySystemOauthTokenResponseModel"
  33219. }
  33220. }
  33221. }
  33222. },
  33223. "default" : {
  33224. "description" : "请求失败",
  33225. "content" : {
  33226. "application/json" : {
  33227. "schema" : {
  33228. "anyOf" : [ {
  33229. "$ref" : "#/components/schemas/CommonErrorType"
  33230. }, {
  33231. "$ref" : "#/components/schemas/AlipaySystemOauthTokenErrorResponseModel"
  33232. } ]
  33233. }
  33234. }
  33235. }
  33236. }
  33237. },
  33238. "requestBody" : {
  33239. "content" : {
  33240. "application/json" : {
  33241. "schema" : {
  33242. "$ref" : "#/components/schemas/AlipaySystemOauthTokenModel"
  33243. }
  33244. }
  33245. },
  33246. "required" : false
  33247. }
  33248. }
  33249. },
  33250. "/v3/alipay/trade/advance/consult" : {
  33251. "get" : {
  33252. "tags" : [ "alipay.trade.advance" ],
  33253. "summary" : "订单咨询服务",
  33254. "description" : "商户通过此接口咨询,当前用户是否满足垫资服务条件 或者 针对单笔订单的风险评估进行预咨询服务。",
  33255. "operationId" : "alipay.trade.advance.consult",
  33256. "responses" : {
  33257. "200" : {
  33258. "description" : "common response",
  33259. "content" : {
  33260. "application/json" : {
  33261. "schema" : {
  33262. "$ref" : "#/components/schemas/AlipayTradeAdvanceConsultResponseModel"
  33263. }
  33264. }
  33265. }
  33266. },
  33267. "default" : {
  33268. "description" : "请求失败",
  33269. "content" : {
  33270. "application/json" : {
  33271. "schema" : {
  33272. "anyOf" : [ {
  33273. "$ref" : "#/components/schemas/CommonErrorType"
  33274. }, {
  33275. "$ref" : "#/components/schemas/AlipayTradeAdvanceConsultErrorResponseModel"
  33276. } ]
  33277. }
  33278. }
  33279. }
  33280. }
  33281. },
  33282. "parameters" : [ {
  33283. "name" : "alipay_user_id",
  33284. "in" : "query",
  33285. "description" : "支付宝用户 id,2088开头的16为数字。\t除单笔订单风险预评估场景(即consult_scene指定ORDER_RISK_EVALUATION)外,其他场景必选。",
  33286. "schema" : {
  33287. "type" : "string",
  33288. "example" : "2088302483540171"
  33289. }
  33290. }, {
  33291. "name" : "consult_scene",
  33292. "in" : "query",
  33293. "description" : "订单咨询类型,用以选择咨询的服务。不传时默认为垫资咨询,其他的场景需要按照对接的服务传入指定的值。\tORDER_RISK_EVALUATION:表示单笔订单风险预评估。",
  33294. "schema" : {
  33295. "type" : "string",
  33296. "example" : "ORDER_RISK_EVALUATION"
  33297. }
  33298. }, {
  33299. "name" : "industry_product_code",
  33300. "in" : "query",
  33301. "description" : "行业产品信息,咨询时会从该产品对应的销售方案中获取相关垫资规则配置。",
  33302. "schema" : {
  33303. "type" : "string",
  33304. "example" : "CAR_OWNERS_PARKINGPAY"
  33305. }
  33306. }, {
  33307. "name" : "sub_merchant_id",
  33308. "in" : "query",
  33309. "description" : "子商户id",
  33310. "schema" : {
  33311. "type" : "string",
  33312. "example" : "2088102122458832"
  33313. }
  33314. }, {
  33315. "name" : "sub_merchant_type",
  33316. "in" : "query",
  33317. "description" : "子商户类型",
  33318. "schema" : {
  33319. "type" : "string",
  33320. "example" : "PARTNER"
  33321. }
  33322. }, {
  33323. "name" : "agreement_no",
  33324. "in" : "query",
  33325. "description" : "支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 ) ,在进行单笔订单风险评估预咨询时必传。",
  33326. "schema" : {
  33327. "type" : "string",
  33328. "example" : "20170322450983769228"
  33329. }
  33330. }, {
  33331. "name" : "estimated_order_amount",
  33332. "in" : "query",
  33333. "description" : "预估订单总金额,单位为元,精确到小数点后两位,单笔订单风险预评估时使用,取值范围[0.01,100000000]。",
  33334. "schema" : {
  33335. "type" : "string",
  33336. "example" : "9.00"
  33337. }
  33338. }, {
  33339. "name" : "out_trade_no",
  33340. "in" : "query",
  33341. "description" : "商户请求时的外部订单号,在花芝场景下非空。",
  33342. "schema" : {
  33343. "type" : "string",
  33344. "example" : "test20191100000001"
  33345. }
  33346. }, {
  33347. "name" : "need_user_risk_prediction",
  33348. "in" : "query",
  33349. "description" : "是否需要进行用户风险预测",
  33350. "schema" : {
  33351. "type" : "string",
  33352. "example" : "true"
  33353. }
  33354. }, {
  33355. "name" : "trade_digest",
  33356. "in" : "query",
  33357. "description" : "交易信息摘要,需要进行用户风险预测时可传,用于结合场景的更加精细的预测。具体信息结构服务接入前咨询约定。",
  33358. "schema" : {
  33359. "type" : "string",
  33360. "example" : "{{\"parking_city\":\"太原市\",\"vehicle_number\":\"辽7666666\"}}"
  33361. }
  33362. }, {
  33363. "name" : "user_out_binding_phone",
  33364. "in" : "query",
  33365. "description" : "用户在外部域账号系统绑定的手机号,需要进行用户风险预测时必传,用于预测用户是否面临被二次放号的场景。使用时需要对请求加密,加密后请求在公网传输时为加密文本。详见:https://opendocs.alipay.com/open/common/104567;https://opendocs.alipay.com/isv/grefvl/getaes",
  33366. "schema" : {
  33367. "type" : "string",
  33368. "example" : "1868888888888"
  33369. }
  33370. } ]
  33371. }
  33372. },
  33373. "/v3/alipay/trade/applepay/authentication/submit" : {
  33374. "post" : {
  33375. "tags" : [ "alipay.trade.applepay.authentication" ],
  33376. "summary" : "ApplePay支付鉴权提交",
  33377. "description" : "ApplePay定义的接口,支付宝进行适配。ApplePay端支付核身完毕后,提交到支付宝进行核身验证+支付推进。",
  33378. "operationId" : "alipay.trade.applepay.authentication.submit",
  33379. "responses" : {
  33380. "200" : {
  33381. "description" : "common response",
  33382. "content" : {
  33383. "application/json" : {
  33384. "schema" : {
  33385. "$ref" : "#/components/schemas/AlipayTradeApplepayAuthenticationSubmitResponseModel"
  33386. }
  33387. }
  33388. }
  33389. },
  33390. "default" : {
  33391. "description" : "请求失败",
  33392. "content" : {
  33393. "application/json" : {
  33394. "schema" : {
  33395. "anyOf" : [ {
  33396. "$ref" : "#/components/schemas/CommonErrorType"
  33397. }, {
  33398. "$ref" : "#/components/schemas/AlipayTradeApplepayAuthenticationSubmitErrorResponseModel"
  33399. } ]
  33400. }
  33401. }
  33402. }
  33403. }
  33404. },
  33405. "requestBody" : {
  33406. "content" : {
  33407. "application/json" : {
  33408. "schema" : {
  33409. "$ref" : "#/components/schemas/AlipayTradeApplepayAuthenticationSubmitModel"
  33410. }
  33411. }
  33412. },
  33413. "required" : false
  33414. }
  33415. }
  33416. },
  33417. "/v3/alipay/trade/batch/settle" : {
  33418. "post" : {
  33419. "tags" : [ "alipay.trade.batch" ],
  33420. "summary" : "批量结算",
  33421. "description" : "买家付款成功之后,资金进入二级商户待结算户,支付宝等待平台的结算指令进行结算。平台可根据平台规则,发起批量结算请求,将资金结算到二级商户的结算账号。请款金额只要不超过待结算的总余额即可。",
  33422. "operationId" : "alipay.trade.batch.settle",
  33423. "responses" : {
  33424. "200" : {
  33425. "description" : "common response",
  33426. "content" : {
  33427. "application/json" : {
  33428. "schema" : {
  33429. "$ref" : "#/components/schemas/AlipayTradeBatchSettleResponseModel"
  33430. }
  33431. }
  33432. }
  33433. },
  33434. "default" : {
  33435. "description" : "请求失败",
  33436. "content" : {
  33437. "application/json" : {
  33438. "schema" : {
  33439. "anyOf" : [ {
  33440. "$ref" : "#/components/schemas/CommonErrorType"
  33441. }, {
  33442. "$ref" : "#/components/schemas/AlipayTradeBatchSettleErrorResponseModel"
  33443. } ]
  33444. }
  33445. }
  33446. }
  33447. }
  33448. },
  33449. "requestBody" : {
  33450. "content" : {
  33451. "application/json" : {
  33452. "schema" : {
  33453. "$ref" : "#/components/schemas/AlipayTradeBatchSettleModel"
  33454. }
  33455. }
  33456. },
  33457. "required" : false
  33458. }
  33459. }
  33460. },
  33461. "/v3/alipay/trade/batch/settle/query" : {
  33462. "post" : {
  33463. "tags" : [ "alipay.trade.batch.settle" ],
  33464. "summary" : "批量结算查询",
  33465. "description" : "商户请求批量结算结果查询",
  33466. "operationId" : "alipay.trade.batch.settle.query",
  33467. "responses" : {
  33468. "200" : {
  33469. "description" : "common response",
  33470. "content" : {
  33471. "application/json" : {
  33472. "schema" : {
  33473. "$ref" : "#/components/schemas/AlipayTradeBatchSettleQueryResponseModel"
  33474. }
  33475. }
  33476. }
  33477. },
  33478. "default" : {
  33479. "description" : "请求失败",
  33480. "content" : {
  33481. "application/json" : {
  33482. "schema" : {
  33483. "anyOf" : [ {
  33484. "$ref" : "#/components/schemas/CommonErrorType"
  33485. }, {
  33486. "$ref" : "#/components/schemas/AlipayTradeBatchSettleQueryErrorResponseModel"
  33487. } ]
  33488. }
  33489. }
  33490. }
  33491. }
  33492. },
  33493. "requestBody" : {
  33494. "content" : {
  33495. "application/json" : {
  33496. "schema" : {
  33497. "$ref" : "#/components/schemas/AlipayTradeBatchSettleQueryModel"
  33498. }
  33499. }
  33500. },
  33501. "required" : false
  33502. }
  33503. }
  33504. },
  33505. "/v3/alipay/trade/batch/transfer" : {
  33506. "post" : {
  33507. "tags" : [ "alipay.trade.batch" ],
  33508. "summary" : "请款分账",
  33509. "description" : "在红星美凯龙场景下,请款到不同主体的银行卡/账户中",
  33510. "operationId" : "alipay.trade.batch.transfer",
  33511. "responses" : {
  33512. "200" : {
  33513. "description" : "common response",
  33514. "content" : {
  33515. "application/json" : {
  33516. "schema" : {
  33517. "$ref" : "#/components/schemas/AlipayTradeBatchTransferResponseModel"
  33518. }
  33519. }
  33520. }
  33521. },
  33522. "default" : {
  33523. "description" : "请求失败",
  33524. "content" : {
  33525. "application/json" : {
  33526. "schema" : {
  33527. "anyOf" : [ {
  33528. "$ref" : "#/components/schemas/CommonErrorType"
  33529. }, {
  33530. "$ref" : "#/components/schemas/AlipayTradeBatchTransferErrorResponseModel"
  33531. } ]
  33532. }
  33533. }
  33534. }
  33535. }
  33536. },
  33537. "requestBody" : {
  33538. "content" : {
  33539. "application/json" : {
  33540. "schema" : {
  33541. "$ref" : "#/components/schemas/AlipayTradeBatchTransferModel"
  33542. }
  33543. }
  33544. },
  33545. "required" : false
  33546. }
  33547. }
  33548. },
  33549. "/v3/alipay/trade/batch/transfer/query" : {
  33550. "get" : {
  33551. "tags" : [ "alipay.trade.batch.transfer" ],
  33552. "summary" : "请款分账查询接口",
  33553. "description" : "针对请款分账接口的查询功能",
  33554. "operationId" : "alipay.trade.batch.transfer.query",
  33555. "responses" : {
  33556. "200" : {
  33557. "description" : "common response",
  33558. "content" : {
  33559. "application/json" : {
  33560. "schema" : {
  33561. "$ref" : "#/components/schemas/AlipayTradeBatchTransferQueryResponseModel"
  33562. }
  33563. }
  33564. }
  33565. },
  33566. "default" : {
  33567. "description" : "请求失败",
  33568. "content" : {
  33569. "application/json" : {
  33570. "schema" : {
  33571. "anyOf" : [ {
  33572. "$ref" : "#/components/schemas/CommonErrorType"
  33573. }, {
  33574. "$ref" : "#/components/schemas/AlipayTradeBatchTransferQueryErrorResponseModel"
  33575. } ]
  33576. }
  33577. }
  33578. }
  33579. }
  33580. },
  33581. "parameters" : [ {
  33582. "name" : "out_request_no",
  33583. "in" : "query",
  33584. "description" : "批量结算时传入的外部流水号,与settle_no二者必填其一。 out_request_no和settle_no如果同时存在,优先取settle_no",
  33585. "schema" : {
  33586. "type" : "string",
  33587. "example" : "20180101"
  33588. }
  33589. }, {
  33590. "name" : "settle_no",
  33591. "in" : "query",
  33592. "description" : "结算单据号,与out_request_no二者必填其一",
  33593. "schema" : {
  33594. "type" : "string",
  33595. "example" : "2019050510032002040000053220"
  33596. }
  33597. }, {
  33598. "name" : "extend_params",
  33599. "in" : "query",
  33600. "description" : "扩展字段",
  33601. "schema" : {
  33602. "type" : "string",
  33603. "example" : "{\"key\":\"value\"}"
  33604. }
  33605. } ]
  33606. }
  33607. },
  33608. "/v3/alipay/trade/cancel" : {
  33609. "post" : {
  33610. "tags" : [ "alipay.trade" ],
  33611. "summary" : "统一收单交易撤销接口",
  33612. "description" : "支付交易返回失败或支付系统超时,调用该接口撤销交易。如果此订单用户支付失败,支付宝系统会将此订单关闭;如果用户支付成功,支付宝系统会将此订单资金退还给用户。\r\n注意:只有发生支付系统超时或者支付结果未知时可调用撤销,其他正常支付的单如需实现相同功能请调用申请退款API。提交支付交易后调用【查询订单API】,没有明确的支付结果再调用【撤销订单API】。",
  33613. "operationId" : "alipay.trade.cancel",
  33614. "responses" : {
  33615. "200" : {
  33616. "description" : "common response",
  33617. "content" : {
  33618. "application/json" : {
  33619. "schema" : {
  33620. "$ref" : "#/components/schemas/AlipayTradeCancelResponseModel"
  33621. }
  33622. }
  33623. }
  33624. },
  33625. "default" : {
  33626. "description" : "请求失败",
  33627. "content" : {
  33628. "application/json" : {
  33629. "schema" : {
  33630. "anyOf" : [ {
  33631. "$ref" : "#/components/schemas/CommonErrorType"
  33632. }, {
  33633. "$ref" : "#/components/schemas/AlipayTradeCancelErrorResponseModel"
  33634. } ]
  33635. }
  33636. }
  33637. }
  33638. }
  33639. },
  33640. "requestBody" : {
  33641. "content" : {
  33642. "application/json" : {
  33643. "schema" : {
  33644. "$ref" : "#/components/schemas/AlipayTradeCancelModel"
  33645. }
  33646. }
  33647. },
  33648. "required" : false
  33649. }
  33650. }
  33651. },
  33652. "/v3/alipay/trade/close" : {
  33653. "post" : {
  33654. "tags" : [ "alipay.trade" ],
  33655. "summary" : "统一收单交易关闭接口",
  33656. "description" : "用于交易创建后,用户在一定时间内未进行支付,可调用该接口直接将未付款的交易进行关闭。",
  33657. "operationId" : "alipay.trade.close",
  33658. "responses" : {
  33659. "200" : {
  33660. "description" : "common response",
  33661. "content" : {
  33662. "application/json" : {
  33663. "schema" : {
  33664. "$ref" : "#/components/schemas/AlipayTradeCloseResponseModel"
  33665. }
  33666. }
  33667. }
  33668. },
  33669. "default" : {
  33670. "description" : "请求失败",
  33671. "content" : {
  33672. "application/json" : {
  33673. "schema" : {
  33674. "anyOf" : [ {
  33675. "$ref" : "#/components/schemas/CommonErrorType"
  33676. }, {
  33677. "$ref" : "#/components/schemas/AlipayTradeCloseErrorResponseModel"
  33678. } ]
  33679. }
  33680. }
  33681. }
  33682. }
  33683. },
  33684. "requestBody" : {
  33685. "content" : {
  33686. "application/json" : {
  33687. "schema" : {
  33688. "$ref" : "#/components/schemas/AlipayTradeCloseModel"
  33689. }
  33690. }
  33691. },
  33692. "required" : false
  33693. }
  33694. }
  33695. },
  33696. "/v3/alipay/trade/create" : {
  33697. "post" : {
  33698. "tags" : [ "alipay.trade" ],
  33699. "summary" : "统一收单交易创建接口",
  33700. "description" : "商户通过该接口进行交易的创建下单",
  33701. "operationId" : "alipay.trade.create",
  33702. "responses" : {
  33703. "200" : {
  33704. "description" : "common response",
  33705. "content" : {
  33706. "application/json" : {
  33707. "schema" : {
  33708. "$ref" : "#/components/schemas/AlipayTradeCreateResponseModel"
  33709. }
  33710. }
  33711. }
  33712. },
  33713. "default" : {
  33714. "description" : "请求失败",
  33715. "content" : {
  33716. "application/json" : {
  33717. "schema" : {
  33718. "anyOf" : [ {
  33719. "$ref" : "#/components/schemas/CommonErrorType"
  33720. }, {
  33721. "$ref" : "#/components/schemas/AlipayTradeCreateErrorResponseModel"
  33722. } ]
  33723. }
  33724. }
  33725. }
  33726. }
  33727. },
  33728. "requestBody" : {
  33729. "content" : {
  33730. "application/json" : {
  33731. "schema" : {
  33732. "$ref" : "#/components/schemas/AlipayTradeCreateModel"
  33733. }
  33734. }
  33735. },
  33736. "required" : false
  33737. }
  33738. }
  33739. },
  33740. "/v3/alipay/trade/customs/declare" : {
  33741. "post" : {
  33742. "tags" : [ "alipay.trade.customs" ],
  33743. "summary" : "统一收单报关接口",
  33744. "description" : "境外商户的商品进口到国内时需要向海关中心报送支付、物流等信息,由海关审核,如果交易是由支付宝支付的话,需要商户可以调用此报关接口来请求支付宝将其指定交易报送支付单给海关。",
  33745. "operationId" : "alipay.trade.customs.declare",
  33746. "responses" : {
  33747. "200" : {
  33748. "description" : "common response",
  33749. "content" : {
  33750. "application/json" : {
  33751. "schema" : {
  33752. "$ref" : "#/components/schemas/AlipayTradeCustomsDeclareResponseModel"
  33753. }
  33754. }
  33755. }
  33756. },
  33757. "default" : {
  33758. "description" : "请求失败",
  33759. "content" : {
  33760. "application/json" : {
  33761. "schema" : {
  33762. "anyOf" : [ {
  33763. "$ref" : "#/components/schemas/CommonErrorType"
  33764. }, {
  33765. "$ref" : "#/components/schemas/AlipayTradeCustomsDeclareErrorResponseModel"
  33766. } ]
  33767. }
  33768. }
  33769. }
  33770. }
  33771. },
  33772. "requestBody" : {
  33773. "content" : {
  33774. "application/json" : {
  33775. "schema" : {
  33776. "$ref" : "#/components/schemas/AlipayTradeCustomsDeclareModel"
  33777. }
  33778. }
  33779. },
  33780. "required" : false
  33781. }
  33782. }
  33783. },
  33784. "/v3/alipay/trade/customs/query" : {
  33785. "get" : {
  33786. "tags" : [ "alipay.trade.customs" ],
  33787. "summary" : "查询报关详细信息",
  33788. "description" : "境外商户的商品进口到国内时需要向海关中心报送支付、物流等信息,由海关审核,如果交易是由支付宝支付的话,需要商户调用支付宝报关接口来请求支付宝将其指定交易报送支付单给海关。商户可以通过该接口主动查询报关状态,了解报关详情以及进度。",
  33789. "operationId" : "alipay.trade.customs.query",
  33790. "responses" : {
  33791. "200" : {
  33792. "description" : "common response",
  33793. "content" : {
  33794. "application/json" : {
  33795. "schema" : {
  33796. "$ref" : "#/components/schemas/AlipayTradeCustomsQueryResponseModel"
  33797. }
  33798. }
  33799. }
  33800. },
  33801. "default" : {
  33802. "description" : "请求失败",
  33803. "content" : {
  33804. "application/json" : {
  33805. "schema" : {
  33806. "anyOf" : [ {
  33807. "$ref" : "#/components/schemas/CommonErrorType"
  33808. }, {
  33809. "$ref" : "#/components/schemas/AlipayTradeCustomsQueryErrorResponseModel"
  33810. } ]
  33811. }
  33812. }
  33813. }
  33814. }
  33815. },
  33816. "parameters" : [ {
  33817. "name" : "out_request_nos",
  33818. "in" : "query",
  33819. "description" : "报关请求号。需要查询的商户端报关请求号,支持批量查询,\r\t多个值用英文半角逗号分隔,单次请求最多10个;",
  33820. "schema" : {
  33821. "type" : "string",
  33822. "example" : "201506010001,201506010002,201506010003"
  33823. }
  33824. } ]
  33825. }
  33826. },
  33827. "/v3/alipay/trade/fastpay/refund/query" : {
  33828. "post" : {
  33829. "tags" : [ "alipay.trade.fastpay.refund" ],
  33830. "summary" : "统一收单交易退款查询",
  33831. "description" : "商户可使用该接口查询自已通过alipay.trade.refund提交的退款请求是否执行成功。",
  33832. "operationId" : "alipay.trade.fastpay.refund.query",
  33833. "responses" : {
  33834. "200" : {
  33835. "description" : "common response",
  33836. "content" : {
  33837. "application/json" : {
  33838. "schema" : {
  33839. "$ref" : "#/components/schemas/AlipayTradeFastpayRefundQueryResponseModel"
  33840. }
  33841. }
  33842. }
  33843. },
  33844. "default" : {
  33845. "description" : "请求失败",
  33846. "content" : {
  33847. "application/json" : {
  33848. "schema" : {
  33849. "anyOf" : [ {
  33850. "$ref" : "#/components/schemas/CommonErrorType"
  33851. }, {
  33852. "$ref" : "#/components/schemas/AlipayTradeFastpayRefundQueryErrorResponseModel"
  33853. } ]
  33854. }
  33855. }
  33856. }
  33857. }
  33858. },
  33859. "requestBody" : {
  33860. "content" : {
  33861. "application/json" : {
  33862. "schema" : {
  33863. "$ref" : "#/components/schemas/AlipayTradeFastpayRefundQueryModel"
  33864. }
  33865. }
  33866. },
  33867. "required" : false
  33868. }
  33869. }
  33870. },
  33871. "/v3/alipay/trade/order/pay" : {
  33872. "post" : {
  33873. "tags" : [ "alipay.trade.order" ],
  33874. "summary" : "统一收单交易订单支付接口",
  33875. "description" : "商户用已创建的交易进行支付(需要使用该接口请联系接口owner)",
  33876. "operationId" : "alipay.trade.order.pay",
  33877. "responses" : {
  33878. "200" : {
  33879. "description" : "common response",
  33880. "content" : {
  33881. "application/json" : {
  33882. "schema" : {
  33883. "$ref" : "#/components/schemas/AlipayTradeOrderPayResponseModel"
  33884. }
  33885. }
  33886. }
  33887. },
  33888. "default" : {
  33889. "description" : "请求失败",
  33890. "content" : {
  33891. "application/json" : {
  33892. "schema" : {
  33893. "anyOf" : [ {
  33894. "$ref" : "#/components/schemas/CommonErrorType"
  33895. }, {
  33896. "$ref" : "#/components/schemas/AlipayTradeOrderPayErrorResponseModel"
  33897. } ]
  33898. }
  33899. }
  33900. }
  33901. }
  33902. },
  33903. "requestBody" : {
  33904. "content" : {
  33905. "application/json" : {
  33906. "schema" : {
  33907. "$ref" : "#/components/schemas/AlipayTradeOrderPayModel"
  33908. }
  33909. }
  33910. },
  33911. "required" : false
  33912. }
  33913. }
  33914. },
  33915. "/v3/alipay/trade/order/settle" : {
  33916. "post" : {
  33917. "tags" : [ "alipay.trade.order" ],
  33918. "summary" : "统一收单交易结算接口",
  33919. "description" : "用于在卖家交易成功之后,基于交易订单,进行卖家与第三方(如供应商或平台商)的资金再分配。一般用于第三方从卖家抽佣场景。",
  33920. "operationId" : "alipay.trade.order.settle",
  33921. "responses" : {
  33922. "200" : {
  33923. "description" : "common response",
  33924. "content" : {
  33925. "application/json" : {
  33926. "schema" : {
  33927. "$ref" : "#/components/schemas/AlipayTradeOrderSettleResponseModel"
  33928. }
  33929. }
  33930. }
  33931. },
  33932. "default" : {
  33933. "description" : "请求失败",
  33934. "content" : {
  33935. "application/json" : {
  33936. "schema" : {
  33937. "anyOf" : [ {
  33938. "$ref" : "#/components/schemas/CommonErrorType"
  33939. }, {
  33940. "$ref" : "#/components/schemas/AlipayTradeOrderSettleErrorResponseModel"
  33941. } ]
  33942. }
  33943. }
  33944. }
  33945. }
  33946. },
  33947. "requestBody" : {
  33948. "content" : {
  33949. "application/json" : {
  33950. "schema" : {
  33951. "$ref" : "#/components/schemas/AlipayTradeOrderSettleModel"
  33952. }
  33953. }
  33954. },
  33955. "required" : false
  33956. }
  33957. }
  33958. },
  33959. "/v3/alipay/trade/order/settle/query" : {
  33960. "get" : {
  33961. "tags" : [ "alipay.trade.order.settle" ],
  33962. "summary" : "交易分账查询接口",
  33963. "description" : "根据分账请求号查询交易分账结果",
  33964. "operationId" : "alipay.trade.order.settle.query",
  33965. "responses" : {
  33966. "200" : {
  33967. "description" : "common response",
  33968. "content" : {
  33969. "application/json" : {
  33970. "schema" : {
  33971. "$ref" : "#/components/schemas/AlipayTradeOrderSettleQueryResponseModel"
  33972. }
  33973. }
  33974. }
  33975. },
  33976. "default" : {
  33977. "description" : "请求失败",
  33978. "content" : {
  33979. "application/json" : {
  33980. "schema" : {
  33981. "anyOf" : [ {
  33982. "$ref" : "#/components/schemas/CommonErrorType"
  33983. }, {
  33984. "$ref" : "#/components/schemas/AlipayTradeOrderSettleQueryErrorResponseModel"
  33985. } ]
  33986. }
  33987. }
  33988. }
  33989. }
  33990. },
  33991. "parameters" : [ {
  33992. "name" : "settle_no",
  33993. "in" : "query",
  33994. "description" : "支付宝分账请求单号,传入该字段,无需再传外部请求号和支付宝交易号",
  33995. "schema" : {
  33996. "type" : "string",
  33997. "example" : "20210706002530020036530021395831"
  33998. }
  33999. }, {
  34000. "name" : "out_request_no",
  34001. "in" : "query",
  34002. "description" : "外部请求号,需要和支付宝交易号一起传入",
  34003. "schema" : {
  34004. "type" : "string",
  34005. "example" : "20210727001"
  34006. }
  34007. }, {
  34008. "name" : "trade_no",
  34009. "in" : "query",
  34010. "description" : "支付宝交易号,传入该字段,需要和外部请求号一起传入",
  34011. "schema" : {
  34012. "type" : "string",
  34013. "example" : "2021112611001004680 073956707"
  34014. }
  34015. } ]
  34016. }
  34017. },
  34018. "/v3/alipay/trade/orderinfo/sync" : {
  34019. "post" : {
  34020. "tags" : [ "alipay.trade.orderinfo" ],
  34021. "summary" : "支付宝订单信息同步接口",
  34022. "description" : "该接口用于商户向支付宝同步该笔订单相关业务信息",
  34023. "operationId" : "alipay.trade.orderinfo.sync",
  34024. "responses" : {
  34025. "200" : {
  34026. "description" : "common response",
  34027. "content" : {
  34028. "application/json" : {
  34029. "schema" : {
  34030. "$ref" : "#/components/schemas/AlipayTradeOrderinfoSyncResponseModel"
  34031. }
  34032. }
  34033. }
  34034. },
  34035. "default" : {
  34036. "description" : "请求失败",
  34037. "content" : {
  34038. "application/json" : {
  34039. "schema" : {
  34040. "anyOf" : [ {
  34041. "$ref" : "#/components/schemas/CommonErrorType"
  34042. }, {
  34043. "$ref" : "#/components/schemas/AlipayTradeOrderinfoSyncErrorResponseModel"
  34044. } ]
  34045. }
  34046. }
  34047. }
  34048. }
  34049. },
  34050. "requestBody" : {
  34051. "content" : {
  34052. "application/json" : {
  34053. "schema" : {
  34054. "$ref" : "#/components/schemas/AlipayTradeOrderinfoSyncModel"
  34055. }
  34056. }
  34057. },
  34058. "required" : false
  34059. }
  34060. }
  34061. },
  34062. "/v3/alipay/trade/overseas/settle" : {
  34063. "post" : {
  34064. "tags" : [ "alipay.trade.overseas" ],
  34065. "summary" : "统一境内收单跨境结算接口",
  34066. "description" : "境内收单跨境结算",
  34067. "operationId" : "alipay.trade.overseas.settle",
  34068. "responses" : {
  34069. "200" : {
  34070. "description" : "common response",
  34071. "content" : {
  34072. "application/json" : {
  34073. "schema" : {
  34074. "$ref" : "#/components/schemas/AlipayTradeOverseasSettleResponseModel"
  34075. }
  34076. }
  34077. }
  34078. },
  34079. "default" : {
  34080. "description" : "请求失败",
  34081. "content" : {
  34082. "application/json" : {
  34083. "schema" : {
  34084. "anyOf" : [ {
  34085. "$ref" : "#/components/schemas/CommonErrorType"
  34086. }, {
  34087. "$ref" : "#/components/schemas/AlipayTradeOverseasSettleErrorResponseModel"
  34088. } ]
  34089. }
  34090. }
  34091. }
  34092. }
  34093. },
  34094. "requestBody" : {
  34095. "content" : {
  34096. "application/json" : {
  34097. "schema" : {
  34098. "$ref" : "#/components/schemas/AlipayTradeOverseasSettleModel"
  34099. }
  34100. }
  34101. },
  34102. "required" : false
  34103. }
  34104. }
  34105. },
  34106. "/v3/alipay/trade/pay" : {
  34107. "post" : {
  34108. "tags" : [ "alipay.trade" ],
  34109. "summary" : "统一收单交易支付接口",
  34110. "description" : "收银员使用扫码设备读取用户手机支付宝“付款码”获取设备(如扫码枪)读取用户手机支付宝的付款码信息后,将二维码或条码信息通过本接口上送至支付宝发起支付。",
  34111. "operationId" : "alipay.trade.pay",
  34112. "responses" : {
  34113. "200" : {
  34114. "description" : "common response",
  34115. "content" : {
  34116. "application/json" : {
  34117. "schema" : {
  34118. "$ref" : "#/components/schemas/AlipayTradePayResponseModel"
  34119. }
  34120. }
  34121. }
  34122. },
  34123. "default" : {
  34124. "description" : "请求失败",
  34125. "content" : {
  34126. "application/json" : {
  34127. "schema" : {
  34128. "anyOf" : [ {
  34129. "$ref" : "#/components/schemas/CommonErrorType"
  34130. }, {
  34131. "$ref" : "#/components/schemas/AlipayTradePayErrorResponseModel"
  34132. } ]
  34133. }
  34134. }
  34135. }
  34136. }
  34137. },
  34138. "requestBody" : {
  34139. "content" : {
  34140. "application/json" : {
  34141. "schema" : {
  34142. "$ref" : "#/components/schemas/AlipayTradePayModel"
  34143. }
  34144. }
  34145. },
  34146. "required" : false
  34147. }
  34148. }
  34149. },
  34150. "/v3/alipay/trade/precreate" : {
  34151. "post" : {
  34152. "tags" : [ "alipay.trade" ],
  34153. "summary" : "统一收单线下交易预创建",
  34154. "description" : "收银员通过收银台或商户后台调用支付宝接口,生成二维码后,展示给用户,由用户扫描二维码完成订单支付。",
  34155. "operationId" : "alipay.trade.precreate",
  34156. "responses" : {
  34157. "200" : {
  34158. "description" : "common response",
  34159. "content" : {
  34160. "application/json" : {
  34161. "schema" : {
  34162. "$ref" : "#/components/schemas/AlipayTradePrecreateResponseModel"
  34163. }
  34164. }
  34165. }
  34166. },
  34167. "default" : {
  34168. "description" : "请求失败",
  34169. "content" : {
  34170. "application/json" : {
  34171. "schema" : {
  34172. "anyOf" : [ {
  34173. "$ref" : "#/components/schemas/CommonErrorType"
  34174. }, {
  34175. "$ref" : "#/components/schemas/AlipayTradePrecreateErrorResponseModel"
  34176. } ]
  34177. }
  34178. }
  34179. }
  34180. }
  34181. },
  34182. "requestBody" : {
  34183. "content" : {
  34184. "application/json" : {
  34185. "schema" : {
  34186. "$ref" : "#/components/schemas/AlipayTradePrecreateModel"
  34187. }
  34188. }
  34189. },
  34190. "required" : false
  34191. }
  34192. }
  34193. },
  34194. "/v3/alipay/trade/query" : {
  34195. "post" : {
  34196. "tags" : [ "alipay.trade" ],
  34197. "summary" : "统一收单交易查询",
  34198. "description" : "该接口提供所有支付宝支付订单的查询,商户可以通过该接口主动查询订单状态,完成下一步的业务逻辑。\r\n需要调用查询接口的情况:\r\n当商户后台、网络、服务器等出现异常,商户系统最终未接收到支付通知;\r\n调用支付接口后,返回系统错误或未知交易状态情况;\r\n调用alipay.trade.pay,返回INPROCESS的状态;\r\n调用alipay.trade.cancel之前,需确认支付状态;",
  34199. "operationId" : "alipay.trade.query",
  34200. "responses" : {
  34201. "200" : {
  34202. "description" : "common response",
  34203. "content" : {
  34204. "application/json" : {
  34205. "schema" : {
  34206. "$ref" : "#/components/schemas/AlipayTradeQueryResponseModel"
  34207. }
  34208. }
  34209. }
  34210. },
  34211. "default" : {
  34212. "description" : "请求失败",
  34213. "content" : {
  34214. "application/json" : {
  34215. "schema" : {
  34216. "anyOf" : [ {
  34217. "$ref" : "#/components/schemas/CommonErrorType"
  34218. }, {
  34219. "$ref" : "#/components/schemas/AlipayTradeQueryErrorResponseModel"
  34220. } ]
  34221. }
  34222. }
  34223. }
  34224. }
  34225. },
  34226. "requestBody" : {
  34227. "content" : {
  34228. "application/json" : {
  34229. "schema" : {
  34230. "$ref" : "#/components/schemas/AlipayTradeQueryModel"
  34231. }
  34232. }
  34233. },
  34234. "required" : false
  34235. }
  34236. }
  34237. },
  34238. "/v3/alipay/trade/refund" : {
  34239. "post" : {
  34240. "tags" : [ "alipay.trade" ],
  34241. "summary" : "统一收单交易退款接口",
  34242. "description" : "当交易发生之后一段时间内,由于买家或者卖家的原因需要退款时,卖家可以通过退款接口将支付款退还给买家,支付宝将在收到退款请求并且验证成功之后,按照退款规则将支付款按原路退到买家帐号上。\n交易超过约定时间(签约时设置的可退款时间)的订单无法进行退款。 \n支付宝退款支持单笔交易分多次退款,多次退款需要提交原支付订单的订单号和设置不同的退款请求号。一笔退款失败后重新提交,要保证重试时退款请求号不能变更,防止该笔交易重复退款。 \n同一笔交易累计提交的退款金额不能超过原始交易总金额。",
  34243. "operationId" : "alipay.trade.refund",
  34244. "responses" : {
  34245. "200" : {
  34246. "description" : "common response",
  34247. "content" : {
  34248. "application/json" : {
  34249. "schema" : {
  34250. "$ref" : "#/components/schemas/AlipayTradeRefundResponseModel"
  34251. }
  34252. }
  34253. }
  34254. },
  34255. "default" : {
  34256. "description" : "请求失败",
  34257. "content" : {
  34258. "application/json" : {
  34259. "schema" : {
  34260. "anyOf" : [ {
  34261. "$ref" : "#/components/schemas/CommonErrorType"
  34262. }, {
  34263. "$ref" : "#/components/schemas/AlipayTradeRefundErrorResponseModel"
  34264. } ]
  34265. }
  34266. }
  34267. }
  34268. }
  34269. },
  34270. "requestBody" : {
  34271. "content" : {
  34272. "application/json" : {
  34273. "schema" : {
  34274. "$ref" : "#/components/schemas/AlipayTradeRefundModel"
  34275. }
  34276. }
  34277. },
  34278. "required" : false
  34279. }
  34280. }
  34281. },
  34282. "/v3/alipay/trade/refund/apply" : {
  34283. "post" : {
  34284. "tags" : [ "alipay.trade.refund" ],
  34285. "summary" : "异步退款受理接口",
  34286. "description" : "商户通过此接口提交异步退款请求,支付宝受理后,将会异步进行退款处理。退款完成后异步通知商户退款结果,商户可以通过alipay.trade.fastpay.refund.query接口查询退款状态。",
  34287. "operationId" : "alipay.trade.refund.apply",
  34288. "responses" : {
  34289. "200" : {
  34290. "description" : "common response",
  34291. "content" : {
  34292. "application/json" : {
  34293. "schema" : {
  34294. "$ref" : "#/components/schemas/AlipayTradeRefundApplyResponseModel"
  34295. }
  34296. }
  34297. }
  34298. },
  34299. "default" : {
  34300. "description" : "请求失败",
  34301. "content" : {
  34302. "application/json" : {
  34303. "schema" : {
  34304. "anyOf" : [ {
  34305. "$ref" : "#/components/schemas/CommonErrorType"
  34306. }, {
  34307. "$ref" : "#/components/schemas/AlipayTradeRefundApplyErrorResponseModel"
  34308. } ]
  34309. }
  34310. }
  34311. }
  34312. }
  34313. },
  34314. "requestBody" : {
  34315. "content" : {
  34316. "application/json" : {
  34317. "schema" : {
  34318. "$ref" : "#/components/schemas/AlipayTradeRefundApplyModel"
  34319. }
  34320. }
  34321. },
  34322. "required" : false
  34323. }
  34324. }
  34325. },
  34326. "/v3/alipay/trade/royalty/rate/query" : {
  34327. "get" : {
  34328. "tags" : [ "alipay.trade.royalty.rate" ],
  34329. "summary" : "分账比例查询",
  34330. "description" : "商户签约分账产品后,商户或其授权ISV可对分账比例进行查询。",
  34331. "operationId" : "alipay.trade.royalty.rate.query",
  34332. "responses" : {
  34333. "200" : {
  34334. "description" : "common response",
  34335. "content" : {
  34336. "application/json" : {
  34337. "schema" : {
  34338. "$ref" : "#/components/schemas/AlipayTradeRoyaltyRateQueryResponseModel"
  34339. }
  34340. }
  34341. }
  34342. },
  34343. "default" : {
  34344. "description" : "请求失败",
  34345. "content" : {
  34346. "application/json" : {
  34347. "schema" : {
  34348. "anyOf" : [ {
  34349. "$ref" : "#/components/schemas/CommonErrorType"
  34350. }, {
  34351. "$ref" : "#/components/schemas/AlipayTradeRoyaltyRateQueryErrorResponseModel"
  34352. } ]
  34353. }
  34354. }
  34355. }
  34356. }
  34357. },
  34358. "parameters" : [ {
  34359. "name" : "out_request_no",
  34360. "in" : "query",
  34361. "description" : "外部请求号,由商家自定义。32个字符以内,仅可包含字母、数字、下划线。需保证在商户端不重复。",
  34362. "schema" : {
  34363. "type" : "string",
  34364. "example" : "20220823165400001"
  34365. }
  34366. } ]
  34367. }
  34368. },
  34369. "/v3/alipay/trade/royalty/relation/batchquery" : {
  34370. "post" : {
  34371. "tags" : [ "alipay.trade.royalty.relation" ],
  34372. "summary" : "分账关系查询",
  34373. "description" : "当商户签约分账产品后,授权ISV帮其进行分账关系的维护。本接口用于商户与分账方的关系查询。",
  34374. "operationId" : "alipay.trade.royalty.relation.batchquery",
  34375. "responses" : {
  34376. "200" : {
  34377. "description" : "common response",
  34378. "content" : {
  34379. "application/json" : {
  34380. "schema" : {
  34381. "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationBatchqueryResponseModel"
  34382. }
  34383. }
  34384. }
  34385. },
  34386. "default" : {
  34387. "description" : "请求失败",
  34388. "content" : {
  34389. "application/json" : {
  34390. "schema" : {
  34391. "anyOf" : [ {
  34392. "$ref" : "#/components/schemas/CommonErrorType"
  34393. }, {
  34394. "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationBatchqueryErrorResponseModel"
  34395. } ]
  34396. }
  34397. }
  34398. }
  34399. }
  34400. },
  34401. "requestBody" : {
  34402. "content" : {
  34403. "application/json" : {
  34404. "schema" : {
  34405. "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationBatchqueryModel"
  34406. }
  34407. }
  34408. },
  34409. "required" : false
  34410. }
  34411. }
  34412. },
  34413. "/v3/alipay/trade/royalty/relation/bind" : {
  34414. "post" : {
  34415. "tags" : [ "alipay.trade.royalty.relation" ],
  34416. "summary" : "分账关系绑定",
  34417. "description" : "当商户签约分账产品后,授权ISV帮其进行分账关系的维护。本接口用于商户与分账方的关系绑定。",
  34418. "operationId" : "alipay.trade.royalty.relation.bind",
  34419. "responses" : {
  34420. "200" : {
  34421. "description" : "common response",
  34422. "content" : {
  34423. "application/json" : {
  34424. "schema" : {
  34425. "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationBindResponseModel"
  34426. }
  34427. }
  34428. }
  34429. },
  34430. "default" : {
  34431. "description" : "请求失败",
  34432. "content" : {
  34433. "application/json" : {
  34434. "schema" : {
  34435. "anyOf" : [ {
  34436. "$ref" : "#/components/schemas/CommonErrorType"
  34437. }, {
  34438. "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationBindErrorResponseModel"
  34439. } ]
  34440. }
  34441. }
  34442. }
  34443. }
  34444. },
  34445. "requestBody" : {
  34446. "content" : {
  34447. "application/json" : {
  34448. "schema" : {
  34449. "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationBindModel"
  34450. }
  34451. }
  34452. },
  34453. "required" : false
  34454. }
  34455. }
  34456. },
  34457. "/v3/alipay/trade/royalty/relation/unbind" : {
  34458. "post" : {
  34459. "tags" : [ "alipay.trade.royalty.relation" ],
  34460. "summary" : "分账关系解绑",
  34461. "description" : "当商户签约分账产品后,授权ISV帮其进行分账关系的维护。本接口用于商户与分账方的关系解绑。",
  34462. "operationId" : "alipay.trade.royalty.relation.unbind",
  34463. "responses" : {
  34464. "200" : {
  34465. "description" : "common response",
  34466. "content" : {
  34467. "application/json" : {
  34468. "schema" : {
  34469. "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationUnbindResponseModel"
  34470. }
  34471. }
  34472. }
  34473. },
  34474. "default" : {
  34475. "description" : "请求失败",
  34476. "content" : {
  34477. "application/json" : {
  34478. "schema" : {
  34479. "anyOf" : [ {
  34480. "$ref" : "#/components/schemas/CommonErrorType"
  34481. }, {
  34482. "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationUnbindErrorResponseModel"
  34483. } ]
  34484. }
  34485. }
  34486. }
  34487. }
  34488. },
  34489. "requestBody" : {
  34490. "content" : {
  34491. "application/json" : {
  34492. "schema" : {
  34493. "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationUnbindModel"
  34494. }
  34495. }
  34496. },
  34497. "required" : false
  34498. }
  34499. }
  34500. },
  34501. "/v3/alipay/trade/settle/confirm" : {
  34502. "post" : {
  34503. "tags" : [ "alipay.trade.settle" ],
  34504. "summary" : "统一收单确认结算接口",
  34505. "description" : "用户付款后,平台上的卖家发货,用户收到商品确认收货后,平台通过确认结算接口,将交易款结算给指定的卖家账户。\n单笔结算到卖家余额的场景支持分账冻结。在确认结算时,传入冻结标识 royalty_freeze=true,资金结算到卖家支付宝余额后,会先冻结在不可用余额中,后续分账将自动从冻结余额划出,平台商可调用分账完结释放冻结资金,系统默认在冻结30天后自动解冻。解冻后,仍可以发起分账。为保证分账成功率,请尽可能在分账冻结期内分账。",
  34506. "operationId" : "alipay.trade.settle.confirm",
  34507. "responses" : {
  34508. "200" : {
  34509. "description" : "common response",
  34510. "content" : {
  34511. "application/json" : {
  34512. "schema" : {
  34513. "$ref" : "#/components/schemas/AlipayTradeSettleConfirmResponseModel"
  34514. }
  34515. }
  34516. }
  34517. },
  34518. "default" : {
  34519. "description" : "请求失败",
  34520. "content" : {
  34521. "application/json" : {
  34522. "schema" : {
  34523. "anyOf" : [ {
  34524. "$ref" : "#/components/schemas/CommonErrorType"
  34525. }, {
  34526. "$ref" : "#/components/schemas/AlipayTradeSettleConfirmErrorResponseModel"
  34527. } ]
  34528. }
  34529. }
  34530. }
  34531. }
  34532. },
  34533. "requestBody" : {
  34534. "content" : {
  34535. "application/json" : {
  34536. "schema" : {
  34537. "$ref" : "#/components/schemas/AlipayTradeSettleConfirmModel"
  34538. }
  34539. }
  34540. },
  34541. "required" : false
  34542. }
  34543. }
  34544. },
  34545. "/v3/alipay/trade/settle/receivables/query" : {
  34546. "post" : {
  34547. "tags" : [ "alipay.trade.settle.receivables" ],
  34548. "summary" : "待结算查询",
  34549. "description" : "对外提供待结算资金查询的能力。",
  34550. "operationId" : "alipay.trade.settle.receivables.query",
  34551. "responses" : {
  34552. "200" : {
  34553. "description" : "common response",
  34554. "content" : {
  34555. "application/json" : {
  34556. "schema" : {
  34557. "$ref" : "#/components/schemas/AlipayTradeSettleReceivablesQueryResponseModel"
  34558. }
  34559. }
  34560. }
  34561. },
  34562. "default" : {
  34563. "description" : "请求失败",
  34564. "content" : {
  34565. "application/json" : {
  34566. "schema" : {
  34567. "anyOf" : [ {
  34568. "$ref" : "#/components/schemas/CommonErrorType"
  34569. }, {
  34570. "$ref" : "#/components/schemas/AlipayTradeSettleReceivablesQueryErrorResponseModel"
  34571. } ]
  34572. }
  34573. }
  34574. }
  34575. }
  34576. },
  34577. "requestBody" : {
  34578. "content" : {
  34579. "application/json" : {
  34580. "schema" : {
  34581. "$ref" : "#/components/schemas/AlipayTradeSettleReceivablesQueryModel"
  34582. }
  34583. }
  34584. },
  34585. "required" : false
  34586. }
  34587. }
  34588. },
  34589. "/v3/alipay/user/agreement/executionplan/modify" : {
  34590. "post" : {
  34591. "tags" : [ "alipay.user.agreement.executionplan" ],
  34592. "summary" : "周期性扣款协议执行计划修改接口",
  34593. "description" : "周期性扣款产品,商户延期扣款接口",
  34594. "operationId" : "alipay.user.agreement.executionplan.modify",
  34595. "responses" : {
  34596. "200" : {
  34597. "description" : "common response",
  34598. "content" : {
  34599. "application/json" : {
  34600. "schema" : {
  34601. "$ref" : "#/components/schemas/AlipayUserAgreementExecutionplanModifyResponseModel"
  34602. }
  34603. }
  34604. }
  34605. },
  34606. "default" : {
  34607. "description" : "请求失败",
  34608. "content" : {
  34609. "application/json" : {
  34610. "schema" : {
  34611. "anyOf" : [ {
  34612. "$ref" : "#/components/schemas/CommonErrorType"
  34613. }, {
  34614. "$ref" : "#/components/schemas/AlipayUserAgreementExecutionplanModifyErrorResponseModel"
  34615. } ]
  34616. }
  34617. }
  34618. }
  34619. }
  34620. },
  34621. "requestBody" : {
  34622. "content" : {
  34623. "application/json" : {
  34624. "schema" : {
  34625. "$ref" : "#/components/schemas/AlipayUserAgreementExecutionplanModifyModel"
  34626. }
  34627. }
  34628. },
  34629. "required" : false
  34630. }
  34631. }
  34632. },
  34633. "/v3/alipay/user/agreement/migrate" : {
  34634. "post" : {
  34635. "tags" : [ "alipay.user.agreement" ],
  34636. "summary" : "代扣协议迁移",
  34637. "description" : "由商户调用,将商户与用户签署的代扣协议内容进行迁移,包括协议主体迁移等",
  34638. "operationId" : "alipay.user.agreement.migrate",
  34639. "responses" : {
  34640. "200" : {
  34641. "description" : "common response",
  34642. "content" : {
  34643. "application/json" : {
  34644. "schema" : {
  34645. "$ref" : "#/components/schemas/AlipayUserAgreementMigrateResponseModel"
  34646. }
  34647. }
  34648. }
  34649. },
  34650. "default" : {
  34651. "description" : "请求失败",
  34652. "content" : {
  34653. "application/json" : {
  34654. "schema" : {
  34655. "anyOf" : [ {
  34656. "$ref" : "#/components/schemas/CommonErrorType"
  34657. }, {
  34658. "$ref" : "#/components/schemas/AlipayUserAgreementMigrateErrorResponseModel"
  34659. } ]
  34660. }
  34661. }
  34662. }
  34663. }
  34664. },
  34665. "requestBody" : {
  34666. "content" : {
  34667. "application/json" : {
  34668. "schema" : {
  34669. "$ref" : "#/components/schemas/AlipayUserAgreementMigrateModel"
  34670. }
  34671. }
  34672. },
  34673. "required" : false
  34674. }
  34675. }
  34676. },
  34677. "/v3/alipay/user/agreement/permission/create" : {
  34678. "post" : {
  34679. "tags" : [ "alipay.user.agreement.permission" ],
  34680. "summary" : "支付宝协议支付许可创建、服务变更接口",
  34681. "description" : "支付宝协议支付许可创建接口、服务变更发送消息提醒接口",
  34682. "operationId" : "alipay.user.agreement.permission.create",
  34683. "responses" : {
  34684. "200" : {
  34685. "description" : "common response",
  34686. "content" : {
  34687. "application/json" : {
  34688. "schema" : {
  34689. "$ref" : "#/components/schemas/AlipayUserAgreementPermissionCreateResponseModel"
  34690. }
  34691. }
  34692. }
  34693. },
  34694. "default" : {
  34695. "description" : "请求失败",
  34696. "content" : {
  34697. "application/json" : {
  34698. "schema" : {
  34699. "anyOf" : [ {
  34700. "$ref" : "#/components/schemas/CommonErrorType"
  34701. }, {
  34702. "$ref" : "#/components/schemas/AlipayUserAgreementPermissionCreateErrorResponseModel"
  34703. } ]
  34704. }
  34705. }
  34706. }
  34707. }
  34708. },
  34709. "requestBody" : {
  34710. "content" : {
  34711. "application/json" : {
  34712. "schema" : {
  34713. "$ref" : "#/components/schemas/AlipayUserAgreementPermissionCreateModel"
  34714. }
  34715. }
  34716. },
  34717. "required" : false
  34718. }
  34719. }
  34720. },
  34721. "/v3/alipay/user/agreement/query" : {
  34722. "get" : {
  34723. "tags" : [ "alipay.user.agreement" ],
  34724. "summary" : "支付宝个人代扣协议查询接口",
  34725. "description" : "支付宝个人代扣协议查询接口",
  34726. "operationId" : "alipay.user.agreement.query",
  34727. "responses" : {
  34728. "200" : {
  34729. "description" : "common response",
  34730. "content" : {
  34731. "application/json" : {
  34732. "schema" : {
  34733. "$ref" : "#/components/schemas/AlipayUserAgreementQueryResponseModel"
  34734. }
  34735. }
  34736. }
  34737. },
  34738. "default" : {
  34739. "description" : "请求失败",
  34740. "content" : {
  34741. "application/json" : {
  34742. "schema" : {
  34743. "anyOf" : [ {
  34744. "$ref" : "#/components/schemas/CommonErrorType"
  34745. }, {
  34746. "$ref" : "#/components/schemas/AlipayUserAgreementQueryErrorResponseModel"
  34747. } ]
  34748. }
  34749. }
  34750. }
  34751. }
  34752. },
  34753. "parameters" : [ {
  34754. "name" : "personal_product_code",
  34755. "in" : "query",
  34756. "description" : "协议产品码,商户和支付宝签约时确定,商户可咨询技术支持。",
  34757. "schema" : {
  34758. "type" : "string",
  34759. "example" : "GENERAL_WITHHOLDING_P"
  34760. }
  34761. }, {
  34762. "name" : "alipay_user_id",
  34763. "in" : "query",
  34764. "description" : "用户的支付宝账号对应 的支付宝唯一用户号,以 2088 开头的 16 位纯数字 组成。\t本参数与alipay_logon_id若都填写,则以本参数为准,优先级高于 alipay_logon_id。",
  34765. "schema" : {
  34766. "type" : "string",
  34767. "example" : "2088101122675263"
  34768. }
  34769. }, {
  34770. "name" : "alipay_open_id",
  34771. "in" : "query",
  34772. "description" : "用户的支付宝账号对应 的支付宝唯一用户号,\t本参数与alipay_logon_id若都填写,则以本参数为准,优先级高于 alipay_logon_id。",
  34773. "schema" : {
  34774. "type" : "string",
  34775. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  34776. }
  34777. }, {
  34778. "name" : "alipay_logon_id",
  34779. "in" : "query",
  34780. "description" : "用户的支付宝登录账号,支持邮箱或手机号码格式。本参数与alipay_open_id 或 alipay_user_id 同时填写,优先按照 alipay_open_id 或 alipay_user_id 处理。 ",
  34781. "schema" : {
  34782. "type" : "string",
  34783. "example" : "abx@alitest.com"
  34784. }
  34785. }, {
  34786. "name" : "sign_scene",
  34787. "in" : "query",
  34788. "description" : "签约场景码,该值需要与系统/页面签约接口调用时传入的值保持一 致。如:周期扣款场景与调用 alipay.user.agreement.page.sign(支付宝个人协议页面签约接口) 签约时的 sign_scene 相同。 \t注意:当传入商户签约号 external_agreement_no 时,该值不能为空或默认值 DEFAULT|DEFAULT。\t",
  34789. "schema" : {
  34790. "type" : "string",
  34791. "example" : "INDUSTRY|MEDICAL"
  34792. }
  34793. }, {
  34794. "name" : "external_agreement_no",
  34795. "in" : "query",
  34796. "description" : "代扣协议中标示用户的唯一签约号(确保在商户系统中\t唯一)。\t格式规则:支持大写小写字母和数字,最长 32 位。",
  34797. "schema" : {
  34798. "type" : "string",
  34799. "example" : "test"
  34800. }
  34801. }, {
  34802. "name" : "third_party_type",
  34803. "in" : "query",
  34804. "description" : "签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约。\r\t取值范围:\r\t取值范围:\r\t1. PARTNER(平台商户);\r\t2. MERCHANT(集团商户),集团下子商户可共享用户签约内容;\r\t默认为PARTNER。",
  34805. "schema" : {
  34806. "type" : "string",
  34807. "example" : "PARTNER"
  34808. }
  34809. }, {
  34810. "name" : "agreement_no",
  34811. "in" : "query",
  34812. "description" : "支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 ) ,如果传了该参数,其他参数会被忽略",
  34813. "schema" : {
  34814. "type" : "string",
  34815. "example" : "20170322450983769228"
  34816. }
  34817. } ]
  34818. }
  34819. },
  34820. "/v3/alipay/user/agreement/transfer" : {
  34821. "post" : {
  34822. "tags" : [ "alipay.user.agreement" ],
  34823. "summary" : "协议由普通通用代扣协议产品转移到周期扣协议产品",
  34824. "description" : "由商户调用,将商户之前通用代扣产品转移到周期扣的协议产品",
  34825. "operationId" : "alipay.user.agreement.transfer",
  34826. "responses" : {
  34827. "200" : {
  34828. "description" : "common response",
  34829. "content" : {
  34830. "application/json" : {
  34831. "schema" : {
  34832. "$ref" : "#/components/schemas/AlipayUserAgreementTransferResponseModel"
  34833. }
  34834. }
  34835. }
  34836. },
  34837. "default" : {
  34838. "description" : "请求失败",
  34839. "content" : {
  34840. "application/json" : {
  34841. "schema" : {
  34842. "anyOf" : [ {
  34843. "$ref" : "#/components/schemas/CommonErrorType"
  34844. }, {
  34845. "$ref" : "#/components/schemas/AlipayUserAgreementTransferErrorResponseModel"
  34846. } ]
  34847. }
  34848. }
  34849. }
  34850. }
  34851. },
  34852. "requestBody" : {
  34853. "content" : {
  34854. "application/json" : {
  34855. "schema" : {
  34856. "$ref" : "#/components/schemas/AlipayUserAgreementTransferModel"
  34857. }
  34858. }
  34859. },
  34860. "required" : false
  34861. }
  34862. }
  34863. },
  34864. "/v3/alipay/user/agreement/unsign" : {
  34865. "post" : {
  34866. "tags" : [ "alipay.user.agreement" ],
  34867. "summary" : "支付宝个人代扣协议解约接口",
  34868. "description" : "支付宝个人代扣协议解约接口",
  34869. "operationId" : "alipay.user.agreement.unsign",
  34870. "responses" : {
  34871. "200" : {
  34872. "description" : "common response",
  34873. "content" : {
  34874. "application/json" : {
  34875. "schema" : {
  34876. "$ref" : "#/components/schemas/AlipayUserAgreementUnsignResponseModel"
  34877. }
  34878. }
  34879. }
  34880. },
  34881. "default" : {
  34882. "description" : "请求失败",
  34883. "content" : {
  34884. "application/json" : {
  34885. "schema" : {
  34886. "anyOf" : [ {
  34887. "$ref" : "#/components/schemas/CommonErrorType"
  34888. }, {
  34889. "$ref" : "#/components/schemas/AlipayUserAgreementUnsignErrorResponseModel"
  34890. } ]
  34891. }
  34892. }
  34893. }
  34894. }
  34895. },
  34896. "requestBody" : {
  34897. "content" : {
  34898. "application/json" : {
  34899. "schema" : {
  34900. "$ref" : "#/components/schemas/AlipayUserAgreementUnsignModel"
  34901. }
  34902. }
  34903. },
  34904. "required" : false
  34905. }
  34906. }
  34907. },
  34908. "/v3/alipay/user/agreement/userverify/apply" : {
  34909. "post" : {
  34910. "tags" : [ "alipay.user.agreement.userverify" ],
  34911. "summary" : "协议用户一致性验证",
  34912. "description" : "验证协议对应的用户信息",
  34913. "operationId" : "alipay.user.agreement.userverify.apply",
  34914. "responses" : {
  34915. "200" : {
  34916. "description" : "common response",
  34917. "content" : {
  34918. "application/json" : {
  34919. "schema" : {
  34920. "$ref" : "#/components/schemas/AlipayUserAgreementUserverifyApplyResponseModel"
  34921. }
  34922. }
  34923. }
  34924. },
  34925. "default" : {
  34926. "description" : "请求失败",
  34927. "content" : {
  34928. "application/json" : {
  34929. "schema" : {
  34930. "anyOf" : [ {
  34931. "$ref" : "#/components/schemas/CommonErrorType"
  34932. }, {
  34933. "$ref" : "#/components/schemas/AlipayUserAgreementUserverifyApplyErrorResponseModel"
  34934. } ]
  34935. }
  34936. }
  34937. }
  34938. }
  34939. },
  34940. "requestBody" : {
  34941. "content" : {
  34942. "application/json" : {
  34943. "schema" : {
  34944. "$ref" : "#/components/schemas/AlipayUserAgreementUserverifyApplyModel"
  34945. }
  34946. }
  34947. },
  34948. "required" : false
  34949. }
  34950. }
  34951. },
  34952. "/v3/alipay/user/agreement/userverify/query" : {
  34953. "get" : {
  34954. "tags" : [ "alipay.user.agreement.userverify" ],
  34955. "summary" : "用户协议鉴权查询结果",
  34956. "description" : "商户使用用户验证申请接口时,获取token,然后通过次接口回去验证状态",
  34957. "operationId" : "alipay.user.agreement.userverify.query",
  34958. "responses" : {
  34959. "200" : {
  34960. "description" : "common response",
  34961. "content" : {
  34962. "application/json" : {
  34963. "schema" : {
  34964. "$ref" : "#/components/schemas/AlipayUserAgreementUserverifyQueryResponseModel"
  34965. }
  34966. }
  34967. }
  34968. },
  34969. "default" : {
  34970. "description" : "请求失败",
  34971. "content" : {
  34972. "application/json" : {
  34973. "schema" : {
  34974. "anyOf" : [ {
  34975. "$ref" : "#/components/schemas/CommonErrorType"
  34976. }, {
  34977. "$ref" : "#/components/schemas/AlipayUserAgreementUserverifyQueryErrorResponseModel"
  34978. } ]
  34979. }
  34980. }
  34981. }
  34982. }
  34983. },
  34984. "parameters" : [ {
  34985. "name" : "agreement_no",
  34986. "in" : "query",
  34987. "description" : "协议号",
  34988. "schema" : {
  34989. "type" : "string",
  34990. "example" : "20170502000610755993"
  34991. }
  34992. }, {
  34993. "name" : "apply_token",
  34994. "in" : "query",
  34995. "description" : "申请时获取的token",
  34996. "schema" : {
  34997. "type" : "string",
  34998. "example" : "MDEDUCT0068292ca377d1d44b65fa24ec9cd89132f"
  34999. }
  35000. } ]
  35001. }
  35002. },
  35003. "/v3/alipay/user/alipaypoint/budgetlib/query" : {
  35004. "get" : {
  35005. "tags" : [ "alipay.user.alipaypoint.budgetlib" ],
  35006. "summary" : "查询集分宝预算库详情",
  35007. "description" : "用于查询集分宝预算库详情",
  35008. "operationId" : "alipay.user.alipaypoint.budgetlib.query",
  35009. "responses" : {
  35010. "200" : {
  35011. "description" : "common response",
  35012. "content" : {
  35013. "application/json" : {
  35014. "schema" : {
  35015. "$ref" : "#/components/schemas/AlipayUserAlipaypointBudgetlibQueryResponseModel"
  35016. }
  35017. }
  35018. }
  35019. },
  35020. "default" : {
  35021. "description" : "请求失败",
  35022. "content" : {
  35023. "application/json" : {
  35024. "schema" : {
  35025. "anyOf" : [ {
  35026. "$ref" : "#/components/schemas/CommonErrorType"
  35027. }, {
  35028. "$ref" : "#/components/schemas/AlipayUserAlipaypointBudgetlibQueryErrorResponseModel"
  35029. } ]
  35030. }
  35031. }
  35032. }
  35033. }
  35034. },
  35035. "parameters" : [ {
  35036. "name" : "budget_code",
  35037. "in" : "query",
  35038. "description" : "集分宝预算库编码",
  35039. "schema" : {
  35040. "type" : "string",
  35041. "example" : "20201107050844"
  35042. }
  35043. } ]
  35044. }
  35045. },
  35046. "/v3/alipay/user/alipaypoint/send" : {
  35047. "post" : {
  35048. "tags" : [ "alipay.user.alipaypoint" ],
  35049. "summary" : "集分宝发放接口",
  35050. "description" : "用于发放商户采购的集分宝给到支付宝用户",
  35051. "operationId" : "alipay.user.alipaypoint.send",
  35052. "responses" : {
  35053. "200" : {
  35054. "description" : "common response",
  35055. "content" : {
  35056. "application/json" : {
  35057. "schema" : {
  35058. "$ref" : "#/components/schemas/AlipayUserAlipaypointSendResponseModel"
  35059. }
  35060. }
  35061. }
  35062. },
  35063. "default" : {
  35064. "description" : "请求失败",
  35065. "content" : {
  35066. "application/json" : {
  35067. "schema" : {
  35068. "anyOf" : [ {
  35069. "$ref" : "#/components/schemas/CommonErrorType"
  35070. }, {
  35071. "$ref" : "#/components/schemas/AlipayUserAlipaypointSendErrorResponseModel"
  35072. } ]
  35073. }
  35074. }
  35075. }
  35076. }
  35077. },
  35078. "requestBody" : {
  35079. "content" : {
  35080. "application/json" : {
  35081. "schema" : {
  35082. "$ref" : "#/components/schemas/AlipayUserAlipaypointSendModel"
  35083. }
  35084. }
  35085. },
  35086. "required" : false
  35087. }
  35088. }
  35089. },
  35090. "/v3/alipay/user/certdoc/certverify/consult" : {
  35091. "get" : {
  35092. "tags" : [ "alipay.user.certdoc.certverify" ],
  35093. "summary" : "实名证件信息比对验证咨询",
  35094. "description" : "商户在预咨询接口(接口1)预先录入某用户的实名证件信息(例如姓名、身份证号等),获得用户授权后调用本咨询接口(接口2),将对比该用户的支付宝实名信息与(接口1)传入的信息是否一致。",
  35095. "operationId" : "alipay.user.certdoc.certverify.consult",
  35096. "responses" : {
  35097. "200" : {
  35098. "description" : "common response",
  35099. "content" : {
  35100. "application/json" : {
  35101. "schema" : {
  35102. "$ref" : "#/components/schemas/AlipayUserCertdocCertverifyConsultResponseModel"
  35103. }
  35104. }
  35105. }
  35106. },
  35107. "default" : {
  35108. "description" : "请求失败",
  35109. "content" : {
  35110. "application/json" : {
  35111. "schema" : {
  35112. "anyOf" : [ {
  35113. "$ref" : "#/components/schemas/CommonErrorType"
  35114. }, {
  35115. "$ref" : "#/components/schemas/AlipayUserCertdocCertverifyConsultErrorResponseModel"
  35116. } ]
  35117. }
  35118. }
  35119. }
  35120. }
  35121. },
  35122. "parameters" : [ {
  35123. "$ref" : "#/components/parameters/AuthToken"
  35124. }, {
  35125. "name" : "verify_id",
  35126. "in" : "query",
  35127. "description" : "信息校验验证ID。通过<a href=\"https://opendocs.alipay.com/apis/api_2/alipay.user.certdoc.certverify.preconsult\">alipay.user.certdoc.certverify.preconsult</a>(实名证件信息比对验证预咨询)接口获取。",
  35128. "schema" : {
  35129. "type" : "string",
  35130. "example" : "671ffcda5447bc87e9ed2f669eb143d4"
  35131. }
  35132. } ]
  35133. }
  35134. },
  35135. "/v3/alipay/user/certdoc/certverify/preconsult" : {
  35136. "post" : {
  35137. "tags" : [ "alipay.user.certdoc.certverify" ],
  35138. "summary" : "实名证件信息比对验证预咨询",
  35139. "description" : "商户在该接口(接口1)预先录入某用户的实名证件信息(例如姓名、身份证号等),获得用户授权后调用咨询接口(接口2),将对比该用户的支付宝实名信息与该(接口1)传入的信息是否一致。",
  35140. "operationId" : "alipay.user.certdoc.certverify.preconsult",
  35141. "responses" : {
  35142. "200" : {
  35143. "description" : "common response",
  35144. "content" : {
  35145. "application/json" : {
  35146. "schema" : {
  35147. "$ref" : "#/components/schemas/AlipayUserCertdocCertverifyPreconsultResponseModel"
  35148. }
  35149. }
  35150. }
  35151. },
  35152. "default" : {
  35153. "description" : "请求失败",
  35154. "content" : {
  35155. "application/json" : {
  35156. "schema" : {
  35157. "anyOf" : [ {
  35158. "$ref" : "#/components/schemas/CommonErrorType"
  35159. }, {
  35160. "$ref" : "#/components/schemas/AlipayUserCertdocCertverifyPreconsultErrorResponseModel"
  35161. } ]
  35162. }
  35163. }
  35164. }
  35165. }
  35166. },
  35167. "requestBody" : {
  35168. "content" : {
  35169. "application/json" : {
  35170. "schema" : {
  35171. "$ref" : "#/components/schemas/AlipayUserCertdocCertverifyPreconsultModel"
  35172. }
  35173. }
  35174. },
  35175. "required" : false
  35176. }
  35177. }
  35178. },
  35179. "/v3/alipay/user/certify/open/initialize" : {
  35180. "post" : {
  35181. "tags" : [ "alipay.user.certify.open" ],
  35182. "summary" : "身份认证初始化服务",
  35183. "description" : "支付宝开放认证初始化服务,用于创建开放认证流程。注意:港澳台同胞身份验证服务仅支持在支付宝客户端内使用,外部 APP 使用该项服务需唤起支付宝客户端。",
  35184. "operationId" : "alipay.user.certify.open.initialize",
  35185. "responses" : {
  35186. "200" : {
  35187. "description" : "common response",
  35188. "content" : {
  35189. "application/json" : {
  35190. "schema" : {
  35191. "$ref" : "#/components/schemas/AlipayUserCertifyOpenInitializeResponseModel"
  35192. }
  35193. }
  35194. }
  35195. },
  35196. "default" : {
  35197. "description" : "请求失败",
  35198. "content" : {
  35199. "application/json" : {
  35200. "schema" : {
  35201. "anyOf" : [ {
  35202. "$ref" : "#/components/schemas/CommonErrorType"
  35203. }, {
  35204. "$ref" : "#/components/schemas/AlipayUserCertifyOpenInitializeErrorResponseModel"
  35205. } ]
  35206. }
  35207. }
  35208. }
  35209. }
  35210. },
  35211. "requestBody" : {
  35212. "content" : {
  35213. "application/json" : {
  35214. "schema" : {
  35215. "$ref" : "#/components/schemas/AlipayUserCertifyOpenInitializeModel"
  35216. }
  35217. }
  35218. },
  35219. "required" : false
  35220. }
  35221. }
  35222. },
  35223. "/v3/alipay/user/certify/open/query" : {
  35224. "get" : {
  35225. "tags" : [ "alipay.user.certify.open" ],
  35226. "summary" : "身份认证记录查询",
  35227. "description" : "商户在开放认证完成后,调用本接口查询认证状态和相关数据",
  35228. "operationId" : "alipay.user.certify.open.query",
  35229. "responses" : {
  35230. "200" : {
  35231. "description" : "common response",
  35232. "content" : {
  35233. "application/json" : {
  35234. "schema" : {
  35235. "$ref" : "#/components/schemas/AlipayUserCertifyOpenQueryResponseModel"
  35236. }
  35237. }
  35238. }
  35239. },
  35240. "default" : {
  35241. "description" : "请求失败",
  35242. "content" : {
  35243. "application/json" : {
  35244. "schema" : {
  35245. "anyOf" : [ {
  35246. "$ref" : "#/components/schemas/CommonErrorType"
  35247. }, {
  35248. "$ref" : "#/components/schemas/AlipayUserCertifyOpenQueryErrorResponseModel"
  35249. } ]
  35250. }
  35251. }
  35252. }
  35253. }
  35254. },
  35255. "parameters" : [ {
  35256. "name" : "certify_id",
  35257. "in" : "query",
  35258. "description" : "本次申请操作的唯一标识,通过alipay.user.certify.open.initialize(身份认证初始化服务)接口同步响应获取。",
  35259. "schema" : {
  35260. "type" : "string",
  35261. "example" : "OC201809253000000393900404029253"
  35262. }
  35263. } ]
  35264. }
  35265. },
  35266. "/v3/alipay/user/info/share" : {
  35267. "post" : {
  35268. "tags" : [ "alipay.user.info" ],
  35269. "summary" : "支付宝会员授权信息查询接口",
  35270. "description" : "配合支付宝会员授权接口,查询授权信息。",
  35271. "operationId" : "alipay.user.info.share",
  35272. "responses" : {
  35273. "200" : {
  35274. "description" : "common response",
  35275. "content" : {
  35276. "application/json" : {
  35277. "schema" : {
  35278. "$ref" : "#/components/schemas/AlipayUserInfoShareResponseModel"
  35279. }
  35280. }
  35281. }
  35282. },
  35283. "default" : {
  35284. "description" : "请求失败",
  35285. "content" : {
  35286. "application/json" : {
  35287. "schema" : {
  35288. "anyOf" : [ {
  35289. "$ref" : "#/components/schemas/CommonErrorType"
  35290. }, {
  35291. "$ref" : "#/components/schemas/AlipayUserInfoShareErrorResponseModel"
  35292. } ]
  35293. }
  35294. }
  35295. }
  35296. }
  35297. },
  35298. "parameters" : [ {
  35299. "$ref" : "#/components/parameters/AuthToken"
  35300. } ]
  35301. }
  35302. },
  35303. "/v3/alipay/user/twostage/common/use" : {
  35304. "post" : {
  35305. "tags" : [ "alipay.user.twostage.common" ],
  35306. "summary" : "通用当面付二阶段接口",
  35307. "description" : "商家通过小程序/卡券开放权益(优惠券),用户在小程序/卡券授权后,打开付款码时通过该接口获取用户信息。",
  35308. "operationId" : "alipay.user.twostage.common.use",
  35309. "responses" : {
  35310. "200" : {
  35311. "description" : "common response",
  35312. "content" : {
  35313. "application/json" : {
  35314. "schema" : {
  35315. "$ref" : "#/components/schemas/AlipayUserTwostageCommonUseResponseModel"
  35316. }
  35317. }
  35318. }
  35319. },
  35320. "default" : {
  35321. "description" : "请求失败",
  35322. "content" : {
  35323. "application/json" : {
  35324. "schema" : {
  35325. "anyOf" : [ {
  35326. "$ref" : "#/components/schemas/CommonErrorType"
  35327. }, {
  35328. "$ref" : "#/components/schemas/AlipayUserTwostageCommonUseErrorResponseModel"
  35329. } ]
  35330. }
  35331. }
  35332. }
  35333. }
  35334. },
  35335. "requestBody" : {
  35336. "content" : {
  35337. "application/json" : {
  35338. "schema" : {
  35339. "$ref" : "#/components/schemas/AlipayUserTwostageCommonUseModel"
  35340. }
  35341. }
  35342. },
  35343. "required" : false
  35344. }
  35345. }
  35346. },
  35347. "/v3/alipay/user/twostage/indirect/use" : {
  35348. "post" : {
  35349. "tags" : [ "alipay.user.twostage.indirect" ],
  35350. "summary" : "双联二阶段",
  35351. "description" : "间连模式通过双联向银行输出付款码查UID接口.\n双联二阶段里,授权之后调用该接口,进行解码并校验双联pid、银行orgId、isv sourceId及学校smid之间的级联关系;检查授权关系;解码并返回用户uid",
  35352. "operationId" : "alipay.user.twostage.indirect.use",
  35353. "responses" : {
  35354. "200" : {
  35355. "description" : "common response",
  35356. "content" : {
  35357. "application/json" : {
  35358. "schema" : {
  35359. "$ref" : "#/components/schemas/AlipayUserTwostageIndirectUseResponseModel"
  35360. }
  35361. }
  35362. }
  35363. },
  35364. "default" : {
  35365. "description" : "请求失败",
  35366. "content" : {
  35367. "application/json" : {
  35368. "schema" : {
  35369. "anyOf" : [ {
  35370. "$ref" : "#/components/schemas/CommonErrorType"
  35371. }, {
  35372. "$ref" : "#/components/schemas/AlipayUserTwostageIndirectUseErrorResponseModel"
  35373. } ]
  35374. }
  35375. }
  35376. }
  35377. }
  35378. },
  35379. "requestBody" : {
  35380. "content" : {
  35381. "application/json" : {
  35382. "schema" : {
  35383. "$ref" : "#/components/schemas/AlipayUserTwostageIndirectUseModel"
  35384. }
  35385. }
  35386. },
  35387. "required" : false
  35388. }
  35389. }
  35390. },
  35391. "/v3/alipay/user/userinfo/share" : {
  35392. "post" : {
  35393. "tags" : [ "alipay.user.userinfo" ],
  35394. "summary" : "支付宝钱包用户信息共享",
  35395. "description" : "外部应用上架到支付宝钱包,当支付宝用户从钱包访问外部应用时,会跳转到外部应用并带上用户的授权码。\r\n外部应用用授权码调用授权令牌交换API(alipay.system.oauth.token)可得到授权令牌。\r\n用授权令牌调用此接口得到支付宝会员相关信息。\r\n特别说明:此接口的不需要授权是指不需外部应用主动引导用户授权,支付宝钱包会在引导用户授权后,\r\n带上授权码再跳转到外部应用。",
  35396. "operationId" : "alipay.user.userinfo.share",
  35397. "responses" : {
  35398. "200" : {
  35399. "description" : "common response",
  35400. "content" : {
  35401. "application/json" : {
  35402. "schema" : {
  35403. "$ref" : "#/components/schemas/AlipayUserUserinfoShareResponseModel"
  35404. }
  35405. }
  35406. }
  35407. },
  35408. "default" : {
  35409. "description" : "请求失败",
  35410. "content" : {
  35411. "application/json" : {
  35412. "schema" : {
  35413. "anyOf" : [ {
  35414. "$ref" : "#/components/schemas/CommonErrorType"
  35415. }, {
  35416. "$ref" : "#/components/schemas/AlipayUserUserinfoShareErrorResponseModel"
  35417. } ]
  35418. }
  35419. }
  35420. }
  35421. }
  35422. }
  35423. }
  35424. },
  35425. "/v3/ant/merchant/expand/apprecommend/account/create" : {
  35426. "post" : {
  35427. "tags" : [ "ant.merchant.expand.apprecommend.account" ],
  35428. "summary" : "关联账号和小程序",
  35429. "description" : "将账号与小程序进行绑定,用于支付推荐场景",
  35430. "operationId" : "ant.merchant.expand.apprecommend.account.create",
  35431. "responses" : {
  35432. "200" : {
  35433. "description" : "common response",
  35434. "content" : {
  35435. "application/json" : {
  35436. "schema" : {
  35437. "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAccountCreateResponseModel"
  35438. }
  35439. }
  35440. }
  35441. },
  35442. "default" : {
  35443. "description" : "请求失败",
  35444. "content" : {
  35445. "application/json" : {
  35446. "schema" : {
  35447. "anyOf" : [ {
  35448. "$ref" : "#/components/schemas/CommonErrorType"
  35449. }, {
  35450. "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAccountCreateErrorResponseModel"
  35451. } ]
  35452. }
  35453. }
  35454. }
  35455. }
  35456. },
  35457. "requestBody" : {
  35458. "content" : {
  35459. "application/json" : {
  35460. "schema" : {
  35461. "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAccountCreateModel"
  35462. }
  35463. }
  35464. },
  35465. "required" : false
  35466. }
  35467. }
  35468. },
  35469. "/v3/ant/merchant/expand/apprecommend/account/delete" : {
  35470. "delete" : {
  35471. "tags" : [ "ant.merchant.expand.apprecommend.account" ],
  35472. "summary" : "取消关联账号和小程序",
  35473. "description" : "取消账号与小程序的绑定,用于支付推荐场景",
  35474. "operationId" : "ant.merchant.expand.apprecommend.account.delete",
  35475. "responses" : {
  35476. "200" : {
  35477. "description" : "common response",
  35478. "content" : {
  35479. "application/json" : {
  35480. "schema" : {
  35481. "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAccountDeleteResponseModel"
  35482. }
  35483. }
  35484. }
  35485. },
  35486. "default" : {
  35487. "description" : "请求失败",
  35488. "content" : {
  35489. "application/json" : {
  35490. "schema" : {
  35491. "anyOf" : [ {
  35492. "$ref" : "#/components/schemas/CommonErrorType"
  35493. }, {
  35494. "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAccountDeleteErrorResponseModel"
  35495. } ]
  35496. }
  35497. }
  35498. }
  35499. }
  35500. },
  35501. "parameters" : [ {
  35502. "name" : "app_no",
  35503. "in" : "query",
  35504. "description" : "待解绑小程序的app_id",
  35505. "schema" : {
  35506. "type" : "string",
  35507. "example" : "2021000155639069"
  35508. }
  35509. }, {
  35510. "name" : "acc_no",
  35511. "in" : "query",
  35512. "description" : "待解绑账号PID",
  35513. "schema" : {
  35514. "type" : "string",
  35515. "example" : "2088001969784501"
  35516. }
  35517. } ]
  35518. }
  35519. },
  35520. "/v3/ant/merchant/expand/apprecommend/account/query" : {
  35521. "get" : {
  35522. "tags" : [ "ant.merchant.expand.apprecommend.account" ],
  35523. "summary" : "查询已关联指定APP的账号列表",
  35524. "description" : "查询已关联指定APP的账号列表,用于支付推荐场景",
  35525. "operationId" : "ant.merchant.expand.apprecommend.account.query",
  35526. "responses" : {
  35527. "200" : {
  35528. "description" : "common response",
  35529. "content" : {
  35530. "application/json" : {
  35531. "schema" : {
  35532. "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAccountQueryResponseModel"
  35533. }
  35534. }
  35535. }
  35536. },
  35537. "default" : {
  35538. "description" : "请求失败",
  35539. "content" : {
  35540. "application/json" : {
  35541. "schema" : {
  35542. "anyOf" : [ {
  35543. "$ref" : "#/components/schemas/CommonErrorType"
  35544. }, {
  35545. "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAccountQueryErrorResponseModel"
  35546. } ]
  35547. }
  35548. }
  35549. }
  35550. }
  35551. },
  35552. "parameters" : [ {
  35553. "name" : "app_no",
  35554. "in" : "query",
  35555. "description" : "已关联小程序的app_id",
  35556. "schema" : {
  35557. "type" : "string",
  35558. "example" : "2021000155639069"
  35559. }
  35560. }, {
  35561. "name" : "page_size",
  35562. "in" : "query",
  35563. "description" : "单页行数,不能超过100行",
  35564. "schema" : {
  35565. "type" : "integer",
  35566. "example" : "10"
  35567. }
  35568. }, {
  35569. "name" : "page_number",
  35570. "in" : "query",
  35571. "description" : "页码",
  35572. "schema" : {
  35573. "type" : "integer",
  35574. "example" : "1"
  35575. }
  35576. } ]
  35577. }
  35578. },
  35579. "/v3/ant/merchant/expand/apprecommend/available/query" : {
  35580. "get" : {
  35581. "tags" : [ "ant.merchant.expand.apprecommend.available" ],
  35582. "summary" : "查询可关联APP的账号列表",
  35583. "description" : "查询可关联APP的账号列表,用于支付推荐场景",
  35584. "operationId" : "ant.merchant.expand.apprecommend.available.query",
  35585. "responses" : {
  35586. "200" : {
  35587. "description" : "common response",
  35588. "content" : {
  35589. "application/json" : {
  35590. "schema" : {
  35591. "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAvailableQueryResponseModel"
  35592. }
  35593. }
  35594. }
  35595. },
  35596. "default" : {
  35597. "description" : "请求失败",
  35598. "content" : {
  35599. "application/json" : {
  35600. "schema" : {
  35601. "anyOf" : [ {
  35602. "$ref" : "#/components/schemas/CommonErrorType"
  35603. }, {
  35604. "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAvailableQueryErrorResponseModel"
  35605. } ]
  35606. }
  35607. }
  35608. }
  35609. }
  35610. },
  35611. "parameters" : [ {
  35612. "name" : "page_size",
  35613. "in" : "query",
  35614. "description" : "单页行数,不能超过100行",
  35615. "schema" : {
  35616. "type" : "integer",
  35617. "example" : "10"
  35618. }
  35619. }, {
  35620. "name" : "page_number",
  35621. "in" : "query",
  35622. "description" : "页码",
  35623. "schema" : {
  35624. "type" : "integer",
  35625. "example" : "1"
  35626. }
  35627. } ]
  35628. }
  35629. },
  35630. "/v3/ant/merchant/expand/info/query" : {
  35631. "get" : {
  35632. "tags" : [ "ant.merchant.expand.info" ],
  35633. "summary" : "蚂蚁商户信息查询接口",
  35634. "description" : "提供商户号查询商户基础信息",
  35635. "operationId" : "ant.merchant.expand.info.query",
  35636. "responses" : {
  35637. "200" : {
  35638. "description" : "common response",
  35639. "content" : {
  35640. "application/json" : {
  35641. "schema" : {
  35642. "$ref" : "#/components/schemas/AntMerchantExpandInfoQueryResponseModel"
  35643. }
  35644. }
  35645. }
  35646. },
  35647. "default" : {
  35648. "description" : "请求失败",
  35649. "content" : {
  35650. "application/json" : {
  35651. "schema" : {
  35652. "anyOf" : [ {
  35653. "$ref" : "#/components/schemas/CommonErrorType"
  35654. }, {
  35655. "$ref" : "#/components/schemas/AntMerchantExpandInfoQueryErrorResponseModel"
  35656. } ]
  35657. }
  35658. }
  35659. }
  35660. }
  35661. },
  35662. "parameters" : [ {
  35663. "name" : "merchant_no",
  35664. "in" : "query",
  35665. "description" : "商户号,目前是商户pid",
  35666. "schema" : {
  35667. "type" : "string",
  35668. "example" : "2088123456788765"
  35669. }
  35670. } ]
  35671. }
  35672. },
  35673. "/v3/ant/merchant/expand/item/create" : {
  35674. "post" : {
  35675. "tags" : [ "ant.merchant.expand.item" ],
  35676. "summary" : "商品创建接口",
  35677. "description" : "用于服务商或商户创建商品",
  35678. "operationId" : "ant.merchant.expand.item.create",
  35679. "responses" : {
  35680. "200" : {
  35681. "description" : "common response",
  35682. "content" : {
  35683. "application/json" : {
  35684. "schema" : {
  35685. "$ref" : "#/components/schemas/AntMerchantExpandItemCreateResponseModel"
  35686. }
  35687. }
  35688. }
  35689. },
  35690. "default" : {
  35691. "description" : "请求失败",
  35692. "content" : {
  35693. "application/json" : {
  35694. "schema" : {
  35695. "anyOf" : [ {
  35696. "$ref" : "#/components/schemas/CommonErrorType"
  35697. }, {
  35698. "$ref" : "#/components/schemas/AntMerchantExpandItemCreateErrorResponseModel"
  35699. } ]
  35700. }
  35701. }
  35702. }
  35703. }
  35704. },
  35705. "requestBody" : {
  35706. "content" : {
  35707. "application/json" : {
  35708. "schema" : {
  35709. "$ref" : "#/components/schemas/AntMerchantExpandItemCreateModel"
  35710. }
  35711. }
  35712. },
  35713. "required" : false
  35714. }
  35715. }
  35716. },
  35717. "/v3/ant/merchant/expand/item/delete" : {
  35718. "delete" : {
  35719. "tags" : [ "ant.merchant.expand.item" ],
  35720. "summary" : "商品删除接口",
  35721. "description" : "用于服务商或商户删除商品",
  35722. "operationId" : "ant.merchant.expand.item.delete",
  35723. "responses" : {
  35724. "200" : {
  35725. "description" : "common response",
  35726. "content" : {
  35727. "application/json" : {
  35728. "schema" : {
  35729. "$ref" : "#/components/schemas/AntMerchantExpandItemDeleteResponseModel"
  35730. }
  35731. }
  35732. }
  35733. },
  35734. "default" : {
  35735. "description" : "请求失败",
  35736. "content" : {
  35737. "application/json" : {
  35738. "schema" : {
  35739. "anyOf" : [ {
  35740. "$ref" : "#/components/schemas/CommonErrorType"
  35741. }, {
  35742. "$ref" : "#/components/schemas/AntMerchantExpandItemDeleteErrorResponseModel"
  35743. } ]
  35744. }
  35745. }
  35746. }
  35747. }
  35748. },
  35749. "parameters" : [ {
  35750. "name" : "item_id",
  35751. "in" : "query",
  35752. "description" : "商品ID(item_id不为空则以item_id作为删除KEY,item_id为空则以external_item_id作为删除KEY,两者不能同时为空)",
  35753. "schema" : {
  35754. "type" : "string",
  35755. "example" : "2018091300502200002600104169"
  35756. }
  35757. }, {
  35758. "name" : "external_item_id",
  35759. "in" : "query",
  35760. "description" : "外部商品ID(item_id不为空则以item_id作为删除KEY,item_id为空则以external_item_id作为删除KEY,两者不能同时为空)",
  35761. "schema" : {
  35762. "type" : "string",
  35763. "example" : "20190916123124123123123"
  35764. }
  35765. } ]
  35766. }
  35767. },
  35768. "/v3/ant/merchant/expand/item/modify" : {
  35769. "post" : {
  35770. "tags" : [ "ant.merchant.expand.item" ],
  35771. "summary" : "商品修改接口",
  35772. "description" : "用于服务商或商户修改商品",
  35773. "operationId" : "ant.merchant.expand.item.modify",
  35774. "responses" : {
  35775. "200" : {
  35776. "description" : "common response",
  35777. "content" : {
  35778. "application/json" : {
  35779. "schema" : {
  35780. "$ref" : "#/components/schemas/AntMerchantExpandItemModifyResponseModel"
  35781. }
  35782. }
  35783. }
  35784. },
  35785. "default" : {
  35786. "description" : "请求失败",
  35787. "content" : {
  35788. "application/json" : {
  35789. "schema" : {
  35790. "anyOf" : [ {
  35791. "$ref" : "#/components/schemas/CommonErrorType"
  35792. }, {
  35793. "$ref" : "#/components/schemas/AntMerchantExpandItemModifyErrorResponseModel"
  35794. } ]
  35795. }
  35796. }
  35797. }
  35798. }
  35799. },
  35800. "requestBody" : {
  35801. "content" : {
  35802. "application/json" : {
  35803. "schema" : {
  35804. "$ref" : "#/components/schemas/AntMerchantExpandItemModifyModel"
  35805. }
  35806. }
  35807. },
  35808. "required" : false
  35809. }
  35810. }
  35811. },
  35812. "/v3/ant/merchant/expand/item/open/batchquery" : {
  35813. "post" : {
  35814. "tags" : [ "ant.merchant.expand.item.open" ],
  35815. "summary" : "批量查询商品接口",
  35816. "description" : "用于ISV或商户批量查询商品",
  35817. "operationId" : "ant.merchant.expand.item.open.batchquery",
  35818. "responses" : {
  35819. "200" : {
  35820. "description" : "common response",
  35821. "content" : {
  35822. "application/json" : {
  35823. "schema" : {
  35824. "$ref" : "#/components/schemas/AntMerchantExpandItemOpenBatchqueryResponseModel"
  35825. }
  35826. }
  35827. }
  35828. },
  35829. "default" : {
  35830. "description" : "请求失败",
  35831. "content" : {
  35832. "application/json" : {
  35833. "schema" : {
  35834. "anyOf" : [ {
  35835. "$ref" : "#/components/schemas/CommonErrorType"
  35836. }, {
  35837. "$ref" : "#/components/schemas/AntMerchantExpandItemOpenBatchqueryErrorResponseModel"
  35838. } ]
  35839. }
  35840. }
  35841. }
  35842. }
  35843. },
  35844. "requestBody" : {
  35845. "content" : {
  35846. "application/json" : {
  35847. "schema" : {
  35848. "$ref" : "#/components/schemas/AntMerchantExpandItemOpenBatchqueryModel"
  35849. }
  35850. }
  35851. },
  35852. "required" : false
  35853. }
  35854. }
  35855. },
  35856. "/v3/ant/merchant/expand/item/open/create" : {
  35857. "post" : {
  35858. "tags" : [ "ant.merchant.expand.item.open" ],
  35859. "summary" : "创建商品接口",
  35860. "description" : "用于ISV或商户创建商品",
  35861. "operationId" : "ant.merchant.expand.item.open.create",
  35862. "responses" : {
  35863. "200" : {
  35864. "description" : "common response",
  35865. "content" : {
  35866. "application/json" : {
  35867. "schema" : {
  35868. "$ref" : "#/components/schemas/AntMerchantExpandItemOpenCreateResponseModel"
  35869. }
  35870. }
  35871. }
  35872. },
  35873. "default" : {
  35874. "description" : "请求失败",
  35875. "content" : {
  35876. "application/json" : {
  35877. "schema" : {
  35878. "anyOf" : [ {
  35879. "$ref" : "#/components/schemas/CommonErrorType"
  35880. }, {
  35881. "$ref" : "#/components/schemas/AntMerchantExpandItemOpenCreateErrorResponseModel"
  35882. } ]
  35883. }
  35884. }
  35885. }
  35886. }
  35887. },
  35888. "requestBody" : {
  35889. "content" : {
  35890. "application/json" : {
  35891. "schema" : {
  35892. "$ref" : "#/components/schemas/AntMerchantExpandItemOpenCreateModel"
  35893. }
  35894. }
  35895. },
  35896. "required" : false
  35897. }
  35898. }
  35899. },
  35900. "/v3/ant/merchant/expand/item/open/delete" : {
  35901. "delete" : {
  35902. "tags" : [ "ant.merchant.expand.item.open" ],
  35903. "summary" : "删除商品接口",
  35904. "description" : "用于ISV或商户删除商品",
  35905. "operationId" : "ant.merchant.expand.item.open.delete",
  35906. "responses" : {
  35907. "200" : {
  35908. "description" : "common response",
  35909. "content" : {
  35910. "application/json" : {
  35911. "schema" : {
  35912. "$ref" : "#/components/schemas/AntMerchantExpandItemOpenDeleteResponseModel"
  35913. }
  35914. }
  35915. }
  35916. },
  35917. "default" : {
  35918. "description" : "请求失败",
  35919. "content" : {
  35920. "application/json" : {
  35921. "schema" : {
  35922. "anyOf" : [ {
  35923. "$ref" : "#/components/schemas/CommonErrorType"
  35924. }, {
  35925. "$ref" : "#/components/schemas/AntMerchantExpandItemOpenDeleteErrorResponseModel"
  35926. } ]
  35927. }
  35928. }
  35929. }
  35930. }
  35931. },
  35932. "parameters" : [ {
  35933. "name" : "item_id",
  35934. "in" : "query",
  35935. "description" : "商品ID,通过创建商品接口 https://opendocs.alipay.com/apis/api_4/ant.merchant.expand.item.open.create 获取。",
  35936. "schema" : {
  35937. "type" : "string",
  35938. "example" : "2019073100812219000000100000"
  35939. }
  35940. } ]
  35941. }
  35942. },
  35943. "/v3/ant/merchant/expand/item/open/modify" : {
  35944. "post" : {
  35945. "tags" : [ "ant.merchant.expand.item.open" ],
  35946. "summary" : "修改商品接口",
  35947. "description" : "用于ISV或商户修改商品",
  35948. "operationId" : "ant.merchant.expand.item.open.modify",
  35949. "responses" : {
  35950. "200" : {
  35951. "description" : "common response",
  35952. "content" : {
  35953. "application/json" : {
  35954. "schema" : {
  35955. "$ref" : "#/components/schemas/AntMerchantExpandItemOpenModifyResponseModel"
  35956. }
  35957. }
  35958. }
  35959. },
  35960. "default" : {
  35961. "description" : "请求失败",
  35962. "content" : {
  35963. "application/json" : {
  35964. "schema" : {
  35965. "anyOf" : [ {
  35966. "$ref" : "#/components/schemas/CommonErrorType"
  35967. }, {
  35968. "$ref" : "#/components/schemas/AntMerchantExpandItemOpenModifyErrorResponseModel"
  35969. } ]
  35970. }
  35971. }
  35972. }
  35973. }
  35974. },
  35975. "requestBody" : {
  35976. "content" : {
  35977. "application/json" : {
  35978. "schema" : {
  35979. "$ref" : "#/components/schemas/AntMerchantExpandItemOpenModifyModel"
  35980. }
  35981. }
  35982. },
  35983. "required" : false
  35984. }
  35985. }
  35986. },
  35987. "/v3/ant/merchant/expand/item/open/query" : {
  35988. "get" : {
  35989. "tags" : [ "ant.merchant.expand.item.open" ],
  35990. "summary" : "查询商品接口",
  35991. "description" : "用于ISV或商户查询商品",
  35992. "operationId" : "ant.merchant.expand.item.open.query",
  35993. "responses" : {
  35994. "200" : {
  35995. "description" : "common response",
  35996. "content" : {
  35997. "application/json" : {
  35998. "schema" : {
  35999. "$ref" : "#/components/schemas/AntMerchantExpandItemOpenQueryResponseModel"
  36000. }
  36001. }
  36002. }
  36003. },
  36004. "default" : {
  36005. "description" : "请求失败",
  36006. "content" : {
  36007. "application/json" : {
  36008. "schema" : {
  36009. "anyOf" : [ {
  36010. "$ref" : "#/components/schemas/CommonErrorType"
  36011. }, {
  36012. "$ref" : "#/components/schemas/AntMerchantExpandItemOpenQueryErrorResponseModel"
  36013. } ]
  36014. }
  36015. }
  36016. }
  36017. }
  36018. },
  36019. "parameters" : [ {
  36020. "name" : "target_id",
  36021. "in" : "query",
  36022. "description" : "商品归属主体ID\t例:商品归属主体类型target_type为店铺,则商品归属主体ID为店铺ID(支付宝侧店铺ID);归属主体类型target_type为小程序,则归属主体ID为小程序ID",
  36023. "schema" : {
  36024. "type" : "string",
  36025. "example" : "2018090600502000000022501261"
  36026. }
  36027. }, {
  36028. "name" : "scene",
  36029. "in" : "query",
  36030. "description" : "场景码(具体值请参见产品文档)。\t小程序订单中心场景固定为 APP_ORDER。",
  36031. "schema" : {
  36032. "type" : "string",
  36033. "example" : "APP_ORDER"
  36034. }
  36035. }, {
  36036. "name" : "target_type",
  36037. "in" : "query",
  36038. "description" : "商品归属主体类型。枚举如下:\t5:店铺。\t8:小程序。",
  36039. "schema" : {
  36040. "type" : "string",
  36041. "example" : "8"
  36042. }
  36043. }, {
  36044. "name" : "status",
  36045. "in" : "query",
  36046. "description" : "商品状态:EFFECT(有效)、INVALID(无效)",
  36047. "schema" : {
  36048. "type" : "string",
  36049. "example" : "EFFECT"
  36050. }
  36051. } ]
  36052. }
  36053. },
  36054. "/v3/ant/merchant/expand/item/query" : {
  36055. "get" : {
  36056. "tags" : [ "ant.merchant.expand.item" ],
  36057. "summary" : "商品查询接口",
  36058. "description" : "用于服务商或商户查询其商品信息",
  36059. "operationId" : "ant.merchant.expand.item.query",
  36060. "responses" : {
  36061. "200" : {
  36062. "description" : "common response",
  36063. "content" : {
  36064. "application/json" : {
  36065. "schema" : {
  36066. "$ref" : "#/components/schemas/AntMerchantExpandItemQueryResponseModel"
  36067. }
  36068. }
  36069. }
  36070. },
  36071. "default" : {
  36072. "description" : "请求失败",
  36073. "content" : {
  36074. "application/json" : {
  36075. "schema" : {
  36076. "anyOf" : [ {
  36077. "$ref" : "#/components/schemas/CommonErrorType"
  36078. }, {
  36079. "$ref" : "#/components/schemas/AntMerchantExpandItemQueryErrorResponseModel"
  36080. } ]
  36081. }
  36082. }
  36083. }
  36084. }
  36085. },
  36086. "parameters" : [ {
  36087. "name" : "target_type",
  36088. "in" : "query",
  36089. "description" : "商品归属主体类型:\r\t5: 店铺\r\t4: 主站MID\r\t3: 参与者\r\t2: 角色\r\t1: 联系人",
  36090. "schema" : {
  36091. "type" : "string",
  36092. "example" : "5"
  36093. }
  36094. }, {
  36095. "name" : "target_id",
  36096. "in" : "query",
  36097. "description" : "商品归属主体id",
  36098. "schema" : {
  36099. "type" : "string",
  36100. "example" : "2018090600502000000022501261"
  36101. }
  36102. }, {
  36103. "name" : "undefined_category",
  36104. "in" : "query",
  36105. "description" : "未分类类目: true 的时候 front_category_id 必须不填(null)",
  36106. "schema" : {
  36107. "type" : "boolean",
  36108. "example" : "false"
  36109. }
  36110. }, {
  36111. "name" : "front_category_id",
  36112. "in" : "query",
  36113. "description" : "商品前台类目id: null 表示所有分类",
  36114. "schema" : {
  36115. "type" : "string",
  36116. "example" : "2018091300502200002600105884"
  36117. }
  36118. }, {
  36119. "name" : "status",
  36120. "in" : "query",
  36121. "description" : "商品状态:EFFECT、INVALID、PAUSE;不填返回所有状态商品",
  36122. "schema" : {
  36123. "type" : "string",
  36124. "example" : "EFFECT"
  36125. }
  36126. } ]
  36127. }
  36128. },
  36129. "/v3/ant/merchant/expand/item/status/modify" : {
  36130. "post" : {
  36131. "tags" : [ "ant.merchant.expand.item.status" ],
  36132. "summary" : "商品状态修改接口",
  36133. "description" : "用于服务商或商户修改商品状态",
  36134. "operationId" : "ant.merchant.expand.item.status.modify",
  36135. "responses" : {
  36136. "200" : {
  36137. "description" : "common response",
  36138. "content" : {
  36139. "application/json" : {
  36140. "schema" : {
  36141. "$ref" : "#/components/schemas/AntMerchantExpandItemStatusModifyResponseModel"
  36142. }
  36143. }
  36144. }
  36145. },
  36146. "default" : {
  36147. "description" : "请求失败",
  36148. "content" : {
  36149. "application/json" : {
  36150. "schema" : {
  36151. "anyOf" : [ {
  36152. "$ref" : "#/components/schemas/CommonErrorType"
  36153. }, {
  36154. "$ref" : "#/components/schemas/AntMerchantExpandItemStatusModifyErrorResponseModel"
  36155. } ]
  36156. }
  36157. }
  36158. }
  36159. }
  36160. },
  36161. "requestBody" : {
  36162. "content" : {
  36163. "application/json" : {
  36164. "schema" : {
  36165. "$ref" : "#/components/schemas/AntMerchantExpandItemStatusModifyModel"
  36166. }
  36167. }
  36168. },
  36169. "required" : false
  36170. }
  36171. }
  36172. },
  36173. "/v3/ant/merchant/expand/shop/consult" : {
  36174. "post" : {
  36175. "tags" : [ "ant.merchant.expand.shop" ],
  36176. "summary" : "蚂蚁店铺创建咨询",
  36177. "description" : "蚂蚁店铺创建咨询",
  36178. "operationId" : "ant.merchant.expand.shop.consult",
  36179. "responses" : {
  36180. "200" : {
  36181. "description" : "common response",
  36182. "content" : {
  36183. "application/json" : {
  36184. "schema" : {
  36185. "$ref" : "#/components/schemas/AntMerchantExpandShopConsultResponseModel"
  36186. }
  36187. }
  36188. }
  36189. },
  36190. "default" : {
  36191. "description" : "请求失败",
  36192. "content" : {
  36193. "application/json" : {
  36194. "schema" : {
  36195. "anyOf" : [ {
  36196. "$ref" : "#/components/schemas/CommonErrorType"
  36197. }, {
  36198. "$ref" : "#/components/schemas/AntMerchantExpandShopConsultErrorResponseModel"
  36199. } ]
  36200. }
  36201. }
  36202. }
  36203. }
  36204. },
  36205. "requestBody" : {
  36206. "content" : {
  36207. "application/json" : {
  36208. "schema" : {
  36209. "$ref" : "#/components/schemas/AntMerchantExpandShopConsultModel"
  36210. }
  36211. }
  36212. },
  36213. "required" : false
  36214. }
  36215. }
  36216. },
  36217. "/v3/ant/merchant/expand/shop/receiptaccount/save" : {
  36218. "post" : {
  36219. "tags" : [ "ant.merchant.expand.shop.receiptaccount" ],
  36220. "summary" : "店铺增加收单账号",
  36221. "description" : "店铺增加收单账号",
  36222. "operationId" : "ant.merchant.expand.shop.receiptaccount.save",
  36223. "responses" : {
  36224. "200" : {
  36225. "description" : "common response",
  36226. "content" : {
  36227. "application/json" : {
  36228. "schema" : {
  36229. "$ref" : "#/components/schemas/AntMerchantExpandShopReceiptaccountSaveResponseModel"
  36230. }
  36231. }
  36232. }
  36233. },
  36234. "default" : {
  36235. "description" : "请求失败",
  36236. "content" : {
  36237. "application/json" : {
  36238. "schema" : {
  36239. "anyOf" : [ {
  36240. "$ref" : "#/components/schemas/CommonErrorType"
  36241. }, {
  36242. "$ref" : "#/components/schemas/AntMerchantExpandShopReceiptaccountSaveErrorResponseModel"
  36243. } ]
  36244. }
  36245. }
  36246. }
  36247. }
  36248. },
  36249. "requestBody" : {
  36250. "content" : {
  36251. "application/json" : {
  36252. "schema" : {
  36253. "$ref" : "#/components/schemas/AntMerchantExpandShopReceiptaccountSaveModel"
  36254. }
  36255. }
  36256. },
  36257. "required" : false
  36258. }
  36259. }
  36260. },
  36261. "/v3/ant/merchant/indirect/image" : {
  36262. "post" : {
  36263. "tags" : [ "ant.merchant.expand.indirect.image" ],
  36264. "summary" : "图片上传",
  36265. "description" : "图片上传",
  36266. "operationId" : "ant.merchant.expand.indirect.image.upload",
  36267. "responses" : {
  36268. "200" : {
  36269. "description" : "common response",
  36270. "content" : {
  36271. "application/json" : {
  36272. "schema" : {
  36273. "$ref" : "#/components/schemas/AntMerchantExpandIndirectImageUploadResponseModel"
  36274. }
  36275. }
  36276. }
  36277. },
  36278. "default" : {
  36279. "description" : "请求失败",
  36280. "content" : {
  36281. "application/json" : {
  36282. "schema" : {
  36283. "anyOf" : [ {
  36284. "$ref" : "#/components/schemas/CommonErrorType"
  36285. }, {
  36286. "$ref" : "#/components/schemas/AntMerchantExpandIndirectImageUploadErrorResponseModel"
  36287. } ]
  36288. }
  36289. }
  36290. }
  36291. }
  36292. },
  36293. "requestBody" : {
  36294. "content" : {
  36295. "multipart/form-data" : {
  36296. "schema" : {
  36297. "type" : "object",
  36298. "properties" : {
  36299. "data" : {
  36300. "$ref" : "#/components/schemas/AntMerchantExpandIndirectImageUploadModel"
  36301. },
  36302. "image_content" : {
  36303. "type" : "string",
  36304. "format" : "binary"
  36305. }
  36306. }
  36307. },
  36308. "encoding" : {
  36309. "data" : {
  36310. "contentType" : "application/json"
  36311. },
  36312. "image_content" : {
  36313. "contentType" : "*/*"
  36314. }
  36315. }
  36316. }
  36317. },
  36318. "required" : false
  36319. }
  36320. }
  36321. },
  36322. "/v3/ant/merchant/mcc/query" : {
  36323. "get" : {
  36324. "tags" : [ "ant.merchant.expand.mcc" ],
  36325. "summary" : "商户mcc信息查询",
  36326. "description" : "用于查询商户的新版本mcc行业信息",
  36327. "operationId" : "ant.merchant.expand.mcc.query",
  36328. "responses" : {
  36329. "200" : {
  36330. "description" : "common response",
  36331. "content" : {
  36332. "application/json" : {
  36333. "schema" : {
  36334. "$ref" : "#/components/schemas/AntMerchantExpandMccQueryResponseModel"
  36335. }
  36336. }
  36337. }
  36338. },
  36339. "default" : {
  36340. "description" : "请求失败",
  36341. "content" : {
  36342. "application/json" : {
  36343. "schema" : {
  36344. "anyOf" : [ {
  36345. "$ref" : "#/components/schemas/CommonErrorType"
  36346. }, {
  36347. "$ref" : "#/components/schemas/AntMerchantExpandMccQueryErrorResponseModel"
  36348. } ]
  36349. }
  36350. }
  36351. }
  36352. }
  36353. },
  36354. "parameters" : [ {
  36355. "name" : "mcc_code_list",
  36356. "in" : "query",
  36357. "description" : "传入需要查询的code列表,以分号分隔;注:如果需要查询完整类目树,可以传入ROOT",
  36358. "schema" : {
  36359. "type" : "string",
  36360. "example" : "B0001,B0002"
  36361. }
  36362. } ]
  36363. }
  36364. },
  36365. "/v3/ant/merchant/order/{order_id}" : {
  36366. "get" : {
  36367. "tags" : [ "ant.merchant.expand.order" ],
  36368. "summary" : "商户申请单查询",
  36369. "description" : "服务商根据申请单id,查询自己提交的商户进件、管理等申请单",
  36370. "operationId" : "ant.merchant.expand.order.query",
  36371. "responses" : {
  36372. "200" : {
  36373. "description" : "common response",
  36374. "content" : {
  36375. "application/json" : {
  36376. "schema" : {
  36377. "$ref" : "#/components/schemas/AntMerchantExpandOrderQueryResponseModel"
  36378. }
  36379. }
  36380. }
  36381. },
  36382. "default" : {
  36383. "description" : "请求失败",
  36384. "content" : {
  36385. "application/json" : {
  36386. "schema" : {
  36387. "anyOf" : [ {
  36388. "$ref" : "#/components/schemas/CommonErrorType"
  36389. }, {
  36390. "$ref" : "#/components/schemas/AntMerchantExpandOrderQueryErrorResponseModel"
  36391. } ]
  36392. }
  36393. }
  36394. }
  36395. }
  36396. },
  36397. "parameters" : [ {
  36398. "name" : "order_id",
  36399. "in" : "path",
  36400. "description" : "申请单 id。\t1.蚂蚁球房管理场景:通过 <a href=\"https://opendocs.alipay.com/apis/014tmc\">ant.merchant.expand.shop.create</a>(蚂蚁店铺创建)接口进件时返回的order_id。\t2.直付通二级商户进件场景:通过<a href=\"https://opendocs.alipay.com/pre-apis/00a8e3\">ant.merchant.expand.indirect.zft.create</a>(直付通二级商户创建)接口进件时返回的order_id。",
  36401. "required" : true,
  36402. "schema" : {
  36403. "type" : "string",
  36404. "example" : "2017112200502000000004754299"
  36405. }
  36406. } ]
  36407. }
  36408. },
  36409. "/v3/ant/merchant/shop" : {
  36410. "get" : {
  36411. "tags" : [ "ant.merchant.expand.shop" ],
  36412. "summary" : "店铺查询接口",
  36413. "description" : "用于服务商或商户查询其自己的店铺信息",
  36414. "operationId" : "ant.merchant.expand.shop.query",
  36415. "responses" : {
  36416. "200" : {
  36417. "description" : "common response",
  36418. "content" : {
  36419. "application/json" : {
  36420. "schema" : {
  36421. "$ref" : "#/components/schemas/AntMerchantExpandShopQueryResponseModel"
  36422. }
  36423. }
  36424. }
  36425. },
  36426. "default" : {
  36427. "description" : "请求失败",
  36428. "content" : {
  36429. "application/json" : {
  36430. "schema" : {
  36431. "anyOf" : [ {
  36432. "$ref" : "#/components/schemas/CommonErrorType"
  36433. }, {
  36434. "$ref" : "#/components/schemas/AntMerchantExpandShopQueryErrorResponseModel"
  36435. } ]
  36436. }
  36437. }
  36438. }
  36439. }
  36440. },
  36441. "parameters" : [ {
  36442. "name" : "shop_id",
  36443. "in" : "query",
  36444. "description" : "蚂蚁店铺id。填写本参数的话,store_id和ip_role_id可以不填",
  36445. "schema" : {
  36446. "type" : "string",
  36447. "example" : "2018011900502000000005124744"
  36448. }
  36449. }, {
  36450. "name" : "store_id",
  36451. "in" : "query",
  36452. "description" : "球房编号,表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号。关店接口中,如果没传shop_id,则本字段与ip_role_id均必填",
  36453. "schema" : {
  36454. "type" : "string",
  36455. "example" : "NO0001"
  36456. }
  36457. }, {
  36458. "name" : "ip_role_id",
  36459. "in" : "query",
  36460. "description" : "商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。本接口中,如果没传shop_id,则本字段与store_id均必填",
  36461. "schema" : {
  36462. "type" : "string",
  36463. "example" : "2088301155943087"
  36464. }
  36465. }, {
  36466. "name" : "address_version",
  36467. "in" : "query",
  36468. "description" : "行政区划版本,当前可传空值(取默认版本)、2022Q2、UPTODATE(取最新版本),其中空值默认为:2020Q1版本( address_version=''或null),想要查看版本是2022年2季度版本则传入:(address_version='2022Q2'),想要获取最新版本则传入:(address_version ='UPTODATE')",
  36469. "schema" : {
  36470. "type" : "string",
  36471. "example" : "2022Q2"
  36472. }
  36473. }, {
  36474. "name" : "need_recommend",
  36475. "in" : "query",
  36476. "description" : "球房不置信时,是否需要返回shop_recommend_info",
  36477. "schema" : {
  36478. "type" : "string",
  36479. "example" : "1-需要,0-不需要"
  36480. }
  36481. } ]
  36482. },
  36483. "post" : {
  36484. "tags" : [ "ant.merchant.expand.shop" ],
  36485. "summary" : "蚂蚁店铺创建",
  36486. "description" : "创建蚂蚁店铺",
  36487. "operationId" : "ant.merchant.expand.shop.create",
  36488. "responses" : {
  36489. "200" : {
  36490. "description" : "common response",
  36491. "content" : {
  36492. "application/json" : {
  36493. "schema" : {
  36494. "$ref" : "#/components/schemas/AntMerchantExpandShopCreateResponseModel"
  36495. }
  36496. }
  36497. }
  36498. },
  36499. "default" : {
  36500. "description" : "请求失败",
  36501. "content" : {
  36502. "application/json" : {
  36503. "schema" : {
  36504. "anyOf" : [ {
  36505. "$ref" : "#/components/schemas/CommonErrorType"
  36506. }, {
  36507. "$ref" : "#/components/schemas/AntMerchantExpandShopCreateErrorResponseModel"
  36508. } ]
  36509. }
  36510. }
  36511. }
  36512. }
  36513. },
  36514. "requestBody" : {
  36515. "content" : {
  36516. "application/json" : {
  36517. "schema" : {
  36518. "$ref" : "#/components/schemas/AntMerchantExpandShopCreateModel"
  36519. }
  36520. }
  36521. },
  36522. "required" : false
  36523. }
  36524. },
  36525. "patch" : {
  36526. "tags" : [ "ant.merchant.expand.shop" ],
  36527. "summary" : "修改蚂蚁店铺",
  36528. "description" : "修改蚂蚁店铺,按信息项修改。若无特殊说明,如果某项存在但是没填写,则不会覆盖掉原来的值",
  36529. "operationId" : "ant.merchant.expand.shop.modify",
  36530. "responses" : {
  36531. "200" : {
  36532. "description" : "common response",
  36533. "content" : {
  36534. "application/json" : {
  36535. "schema" : {
  36536. "$ref" : "#/components/schemas/AntMerchantExpandShopModifyResponseModel"
  36537. }
  36538. }
  36539. }
  36540. },
  36541. "default" : {
  36542. "description" : "请求失败",
  36543. "content" : {
  36544. "application/json" : {
  36545. "schema" : {
  36546. "anyOf" : [ {
  36547. "$ref" : "#/components/schemas/CommonErrorType"
  36548. }, {
  36549. "$ref" : "#/components/schemas/AntMerchantExpandShopModifyErrorResponseModel"
  36550. } ]
  36551. }
  36552. }
  36553. }
  36554. }
  36555. },
  36556. "requestBody" : {
  36557. "content" : {
  36558. "application/json" : {
  36559. "schema" : {
  36560. "$ref" : "#/components/schemas/AntMerchantExpandShopModifyModel"
  36561. }
  36562. }
  36563. },
  36564. "required" : false
  36565. }
  36566. }
  36567. },
  36568. "/v3/ant/merchant/shop/close" : {
  36569. "patch" : {
  36570. "tags" : [ "ant.merchant.expand.shop" ],
  36571. "summary" : "蚂蚁店铺关闭",
  36572. "description" : "通过shop_id,关闭蚂蚁店铺。",
  36573. "operationId" : "ant.merchant.expand.shop.close",
  36574. "responses" : {
  36575. "200" : {
  36576. "description" : "common response",
  36577. "content" : {
  36578. "application/json" : {
  36579. "schema" : {
  36580. "$ref" : "#/components/schemas/AntMerchantExpandShopCloseResponseModel"
  36581. }
  36582. }
  36583. }
  36584. },
  36585. "default" : {
  36586. "description" : "请求失败",
  36587. "content" : {
  36588. "application/json" : {
  36589. "schema" : {
  36590. "anyOf" : [ {
  36591. "$ref" : "#/components/schemas/CommonErrorType"
  36592. }, {
  36593. "$ref" : "#/components/schemas/AntMerchantExpandShopCloseErrorResponseModel"
  36594. } ]
  36595. }
  36596. }
  36597. }
  36598. }
  36599. },
  36600. "requestBody" : {
  36601. "content" : {
  36602. "application/json" : {
  36603. "schema" : {
  36604. "$ref" : "#/components/schemas/AntMerchantExpandShopCloseModel"
  36605. }
  36606. }
  36607. },
  36608. "required" : false
  36609. }
  36610. }
  36611. },
  36612. "/v3/ant/merchant/shop/pagequery" : {
  36613. "get" : {
  36614. "tags" : [ "ant.merchant.expand.shop.page" ],
  36615. "summary" : "店铺分页查询接口",
  36616. "description" : "用于服务商或商户查询其自己的店铺信息",
  36617. "operationId" : "ant.merchant.expand.shop.page.query",
  36618. "responses" : {
  36619. "200" : {
  36620. "description" : "common response",
  36621. "content" : {
  36622. "application/json" : {
  36623. "schema" : {
  36624. "$ref" : "#/components/schemas/AntMerchantExpandShopPageQueryResponseModel"
  36625. }
  36626. }
  36627. }
  36628. },
  36629. "default" : {
  36630. "description" : "请求失败",
  36631. "content" : {
  36632. "application/json" : {
  36633. "schema" : {
  36634. "anyOf" : [ {
  36635. "$ref" : "#/components/schemas/CommonErrorType"
  36636. }, {
  36637. "$ref" : "#/components/schemas/AntMerchantExpandShopPageQueryErrorResponseModel"
  36638. } ]
  36639. }
  36640. }
  36641. }
  36642. }
  36643. },
  36644. "parameters" : [ {
  36645. "name" : "ip_role_id",
  36646. "in" : "query",
  36647. "description" : "商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。特别说明:IoT设备三绑定场景统一填写商户pid",
  36648. "schema" : {
  36649. "type" : "string",
  36650. "example" : "2088301155943087"
  36651. }
  36652. }, {
  36653. "name" : "page_num",
  36654. "in" : "query",
  36655. "description" : "查询页数",
  36656. "schema" : {
  36657. "type" : "integer",
  36658. "example" : "1"
  36659. }
  36660. }, {
  36661. "name" : "page_size",
  36662. "in" : "query",
  36663. "description" : "每页查询大小,限制100以内",
  36664. "schema" : {
  36665. "type" : "integer",
  36666. "example" : "10"
  36667. }
  36668. }, {
  36669. "name" : "address_version",
  36670. "in" : "query",
  36671. "description" : "行政区划版本,当前可传空值(取默认版本)、2022Q2、UPTODATE(取最新版本),其中空值默认为:2020Q1版本(address_version=''或null),想要查看版本是2022年2季度版本则传入:(address_version='2022Q2'),想要获取最新版本则传入:(address_version ='UPTODATE')",
  36672. "schema" : {
  36673. "type" : "string",
  36674. "example" : "2022Q2"
  36675. }
  36676. } ]
  36677. }
  36678. },
  36679. "/v3/anttech/oceanbase/testplatform/task/query" : {
  36680. "post" : {
  36681. "tags" : [ "anttech.oceanbase.testplatform.task" ],
  36682. "summary" : "获取ob开源官网提测平台待执行任务接口",
  36683. "description" : "获取ob开源官网提测平台待执行任务接口,用于测试任务",
  36684. "operationId" : "anttech.oceanbase.testplatform.task.query",
  36685. "responses" : {
  36686. "200" : {
  36687. "description" : "common response",
  36688. "content" : {
  36689. "application/json" : {
  36690. "schema" : {
  36691. "$ref" : "#/components/schemas/AnttechOceanbaseTestplatformTaskQueryResponseModel"
  36692. }
  36693. }
  36694. }
  36695. },
  36696. "default" : {
  36697. "description" : "请求失败",
  36698. "content" : {
  36699. "application/json" : {
  36700. "schema" : {
  36701. "anyOf" : [ {
  36702. "$ref" : "#/components/schemas/CommonErrorType"
  36703. }, {
  36704. "$ref" : "#/components/schemas/AnttechOceanbaseTestplatformTaskQueryErrorResponseModel"
  36705. } ]
  36706. }
  36707. }
  36708. }
  36709. }
  36710. },
  36711. "requestBody" : {
  36712. "content" : {
  36713. "application/json" : {
  36714. "schema" : {
  36715. "$ref" : "#/components/schemas/AnttechOceanbaseTestplatformTaskQueryModel"
  36716. }
  36717. }
  36718. },
  36719. "required" : false
  36720. }
  36721. }
  36722. },
  36723. "/v3/datadigital/fincloud/generalsaas/face/certify/initialize" : {
  36724. "post" : {
  36725. "tags" : [ "datadigital.fincloud.generalsaas.face.certify" ],
  36726. "summary" : "H5人脸核身初始化",
  36727. "description" : "人脸核身初始化服务,用于创建认证流程。供外部客户使用该项服务。",
  36728. "operationId" : "datadigital.fincloud.generalsaas.face.certify.initialize",
  36729. "responses" : {
  36730. "200" : {
  36731. "description" : "common response",
  36732. "content" : {
  36733. "application/json" : {
  36734. "schema" : {
  36735. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyInitializeResponseModel"
  36736. }
  36737. }
  36738. }
  36739. },
  36740. "default" : {
  36741. "description" : "请求失败",
  36742. "content" : {
  36743. "application/json" : {
  36744. "schema" : {
  36745. "anyOf" : [ {
  36746. "$ref" : "#/components/schemas/CommonErrorType"
  36747. }, {
  36748. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyInitializeErrorResponseModel"
  36749. } ]
  36750. }
  36751. }
  36752. }
  36753. }
  36754. },
  36755. "requestBody" : {
  36756. "content" : {
  36757. "application/json" : {
  36758. "schema" : {
  36759. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyInitializeModel"
  36760. }
  36761. }
  36762. },
  36763. "required" : false
  36764. }
  36765. }
  36766. },
  36767. "/v3/datadigital/fincloud/generalsaas/face/certify/query" : {
  36768. "get" : {
  36769. "tags" : [ "datadigital.fincloud.generalsaas.face.certify" ],
  36770. "summary" : "H5人脸核身查询记录",
  36771. "description" : "商户在用户使用支付宝完成刷脸之后,调用本接口查询核身结果状态及相关数据",
  36772. "operationId" : "datadigital.fincloud.generalsaas.face.certify.query",
  36773. "responses" : {
  36774. "200" : {
  36775. "description" : "common response",
  36776. "content" : {
  36777. "application/json" : {
  36778. "schema" : {
  36779. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyQueryResponseModel"
  36780. }
  36781. }
  36782. }
  36783. },
  36784. "default" : {
  36785. "description" : "请求失败",
  36786. "content" : {
  36787. "application/json" : {
  36788. "schema" : {
  36789. "anyOf" : [ {
  36790. "$ref" : "#/components/schemas/CommonErrorType"
  36791. }, {
  36792. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyQueryErrorResponseModel"
  36793. } ]
  36794. }
  36795. }
  36796. }
  36797. }
  36798. },
  36799. "parameters" : [ {
  36800. "name" : "certify_id",
  36801. "in" : "query",
  36802. "description" : "本次申请操作的唯一标识,通过datadigital.fincloud.generalsaas.face.certify.initialize\t接口同步响应获取。",
  36803. "schema" : {
  36804. "type" : "string",
  36805. "example" : "03cdsfsss20048373"
  36806. }
  36807. } ]
  36808. }
  36809. },
  36810. "/v3/datadigital/fincloud/generalsaas/face/certify/verify" : {
  36811. "post" : {
  36812. "tags" : [ "datadigital.fincloud.generalsaas.face.certify" ],
  36813. "summary" : "H5人脸核身开始认证",
  36814. "description" : "H5人脸核身服务开始认证。请根据返回结果渲染页面。",
  36815. "operationId" : "datadigital.fincloud.generalsaas.face.certify.verify",
  36816. "responses" : {
  36817. "200" : {
  36818. "description" : "common response",
  36819. "content" : {
  36820. "application/json" : {
  36821. "schema" : {
  36822. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyVerifyResponseModel"
  36823. }
  36824. }
  36825. }
  36826. },
  36827. "default" : {
  36828. "description" : "请求失败",
  36829. "content" : {
  36830. "application/json" : {
  36831. "schema" : {
  36832. "anyOf" : [ {
  36833. "$ref" : "#/components/schemas/CommonErrorType"
  36834. }, {
  36835. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyVerifyErrorResponseModel"
  36836. } ]
  36837. }
  36838. }
  36839. }
  36840. }
  36841. },
  36842. "requestBody" : {
  36843. "content" : {
  36844. "application/json" : {
  36845. "schema" : {
  36846. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyVerifyModel"
  36847. }
  36848. }
  36849. },
  36850. "required" : false
  36851. }
  36852. }
  36853. },
  36854. "/v3/datadigital/fincloud/generalsaas/face/check/initialize" : {
  36855. "post" : {
  36856. "tags" : [ "datadigital.fincloud.generalsaas.face.check" ],
  36857. "summary" : "人脸检测初始化",
  36858. "description" : "人脸检测业务单据初始化",
  36859. "operationId" : "datadigital.fincloud.generalsaas.face.check.initialize",
  36860. "responses" : {
  36861. "200" : {
  36862. "description" : "common response",
  36863. "content" : {
  36864. "application/json" : {
  36865. "schema" : {
  36866. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCheckInitializeResponseModel"
  36867. }
  36868. }
  36869. }
  36870. },
  36871. "default" : {
  36872. "description" : "请求失败",
  36873. "content" : {
  36874. "application/json" : {
  36875. "schema" : {
  36876. "anyOf" : [ {
  36877. "$ref" : "#/components/schemas/CommonErrorType"
  36878. }, {
  36879. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCheckInitializeErrorResponseModel"
  36880. } ]
  36881. }
  36882. }
  36883. }
  36884. }
  36885. },
  36886. "requestBody" : {
  36887. "content" : {
  36888. "application/json" : {
  36889. "schema" : {
  36890. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCheckInitializeModel"
  36891. }
  36892. }
  36893. },
  36894. "required" : false
  36895. }
  36896. }
  36897. },
  36898. "/v3/datadigital/fincloud/generalsaas/face/check/query" : {
  36899. "get" : {
  36900. "tags" : [ "datadigital.fincloud.generalsaas.face.check" ],
  36901. "summary" : "人脸检测结果数据查询",
  36902. "description" : "用于查询人脸检测结果的数据。",
  36903. "operationId" : "datadigital.fincloud.generalsaas.face.check.query",
  36904. "responses" : {
  36905. "200" : {
  36906. "description" : "common response",
  36907. "content" : {
  36908. "application/json" : {
  36909. "schema" : {
  36910. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCheckQueryResponseModel"
  36911. }
  36912. }
  36913. }
  36914. },
  36915. "default" : {
  36916. "description" : "请求失败",
  36917. "content" : {
  36918. "application/json" : {
  36919. "schema" : {
  36920. "anyOf" : [ {
  36921. "$ref" : "#/components/schemas/CommonErrorType"
  36922. }, {
  36923. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCheckQueryErrorResponseModel"
  36924. } ]
  36925. }
  36926. }
  36927. }
  36928. }
  36929. },
  36930. "parameters" : [ {
  36931. "name" : "certify_id",
  36932. "in" : "query",
  36933. "description" : "传入初始化接口datadigital.fincloud.generalsaas.face.check.initialize 得到的certify_id",
  36934. "schema" : {
  36935. "type" : "string",
  36936. "example" : "dddddfsss88833ssf"
  36937. }
  36938. }, {
  36939. "name" : "need_alive_photo",
  36940. "in" : "query",
  36941. "description" : "是否需要返回活体结果图片,needAlivePhoto:Y_O (原始图片)、Y_M(虚化,背景马赛克)、N(不返图)。非必填,默认为N",
  36942. "schema" : {
  36943. "type" : "string",
  36944. "example" : "Y_M"
  36945. }
  36946. }, {
  36947. "name" : "need_score",
  36948. "in" : "query",
  36949. "description" : "该入参已经废弃。",
  36950. "schema" : {
  36951. "type" : "string",
  36952. "example" : "Y"
  36953. }
  36954. }, {
  36955. "name" : "need_quality_score",
  36956. "in" : "query",
  36957. "description" : "是否需要返回图片质量分,非必填,默认值为N。 N表示不需要,Y表示需要",
  36958. "schema" : {
  36959. "type" : "string",
  36960. "example" : "N"
  36961. }
  36962. }, {
  36963. "name" : "need_attack_result",
  36964. "in" : "query",
  36965. "description" : "该参数已废弃",
  36966. "schema" : {
  36967. "type" : "string",
  36968. "example" : "N"
  36969. }
  36970. } ]
  36971. }
  36972. },
  36973. "/v3/datadigital/fincloud/generalsaas/face/source/certify" : {
  36974. "post" : {
  36975. "tags" : [ "datadigital.fincloud.generalsaas.face.source" ],
  36976. "summary" : "权威核验源的核验接口",
  36977. "description" : "上传人脸照片,调用权威核验源进行验证",
  36978. "operationId" : "datadigital.fincloud.generalsaas.face.source.certify",
  36979. "responses" : {
  36980. "200" : {
  36981. "description" : "common response",
  36982. "content" : {
  36983. "application/json" : {
  36984. "schema" : {
  36985. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceSourceCertifyResponseModel"
  36986. }
  36987. }
  36988. }
  36989. },
  36990. "default" : {
  36991. "description" : "请求失败",
  36992. "content" : {
  36993. "application/json" : {
  36994. "schema" : {
  36995. "anyOf" : [ {
  36996. "$ref" : "#/components/schemas/CommonErrorType"
  36997. }, {
  36998. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceSourceCertifyErrorResponseModel"
  36999. } ]
  37000. }
  37001. }
  37002. }
  37003. }
  37004. },
  37005. "requestBody" : {
  37006. "content" : {
  37007. "multipart/form-data" : {
  37008. "schema" : {
  37009. "type" : "object",
  37010. "properties" : {
  37011. "data" : {
  37012. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceSourceCertifyModel"
  37013. },
  37014. "file_content" : {
  37015. "type" : "string",
  37016. "format" : "binary"
  37017. }
  37018. }
  37019. },
  37020. "encoding" : {
  37021. "file_content" : {
  37022. "contentType" : "*/*"
  37023. },
  37024. "data" : {
  37025. "contentType" : "application/json"
  37026. }
  37027. }
  37028. }
  37029. },
  37030. "required" : false
  37031. }
  37032. }
  37033. },
  37034. "/v3/datadigital/fincloud/generalsaas/face/verification/initialize" : {
  37035. "post" : {
  37036. "tags" : [ "datadigital.fincloud.generalsaas.face.verification" ],
  37037. "summary" : "人脸核身初始化",
  37038. "description" : "人脸核身初始化接口",
  37039. "operationId" : "datadigital.fincloud.generalsaas.face.verification.initialize",
  37040. "responses" : {
  37041. "200" : {
  37042. "description" : "common response",
  37043. "content" : {
  37044. "application/json" : {
  37045. "schema" : {
  37046. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceVerificationInitializeResponseModel"
  37047. }
  37048. }
  37049. }
  37050. },
  37051. "default" : {
  37052. "description" : "请求失败",
  37053. "content" : {
  37054. "application/json" : {
  37055. "schema" : {
  37056. "anyOf" : [ {
  37057. "$ref" : "#/components/schemas/CommonErrorType"
  37058. }, {
  37059. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceVerificationInitializeErrorResponseModel"
  37060. } ]
  37061. }
  37062. }
  37063. }
  37064. }
  37065. },
  37066. "requestBody" : {
  37067. "content" : {
  37068. "application/json" : {
  37069. "schema" : {
  37070. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceVerificationInitializeModel"
  37071. }
  37072. }
  37073. },
  37074. "required" : false
  37075. }
  37076. }
  37077. },
  37078. "/v3/datadigital/fincloud/generalsaas/face/verification/query" : {
  37079. "get" : {
  37080. "tags" : [ "datadigital.fincloud.generalsaas.face.verification" ],
  37081. "summary" : "人脸核身结果查询",
  37082. "description" : "查询核身结果",
  37083. "operationId" : "datadigital.fincloud.generalsaas.face.verification.query",
  37084. "responses" : {
  37085. "200" : {
  37086. "description" : "common response",
  37087. "content" : {
  37088. "application/json" : {
  37089. "schema" : {
  37090. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceVerificationQueryResponseModel"
  37091. }
  37092. }
  37093. }
  37094. },
  37095. "default" : {
  37096. "description" : "请求失败",
  37097. "content" : {
  37098. "application/json" : {
  37099. "schema" : {
  37100. "anyOf" : [ {
  37101. "$ref" : "#/components/schemas/CommonErrorType"
  37102. }, {
  37103. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceVerificationQueryErrorResponseModel"
  37104. } ]
  37105. }
  37106. }
  37107. }
  37108. }
  37109. },
  37110. "parameters" : [ {
  37111. "name" : "certify_id",
  37112. "in" : "query",
  37113. "description" : "填入人脸核身初始化阶段获取到的certify_id",
  37114. "schema" : {
  37115. "type" : "string",
  37116. "example" : "adsfasdfasdf"
  37117. }
  37118. }, {
  37119. "name" : "need_alive_photo",
  37120. "in" : "query",
  37121. "description" : "是否需要返回活体结果图片,needAlivePhoto:Y_O (原始图片)、Y_M(虚化,背景马赛克)、N(不返图),默认为N",
  37122. "schema" : {
  37123. "type" : "string",
  37124. "example" : "N"
  37125. }
  37126. } ]
  37127. }
  37128. },
  37129. "/v3/datadigital/fincloud/generalsaas/ocr/mobile/initialize" : {
  37130. "post" : {
  37131. "tags" : [ "datadigital.fincloud.generalsaas.ocr.mobile" ],
  37132. "summary" : "OCR端云一体化识别初始化",
  37133. "description" : "OCR端云一体化识别",
  37134. "operationId" : "datadigital.fincloud.generalsaas.ocr.mobile.initialize",
  37135. "responses" : {
  37136. "200" : {
  37137. "description" : "common response",
  37138. "content" : {
  37139. "application/json" : {
  37140. "schema" : {
  37141. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasOcrMobileInitializeResponseModel"
  37142. }
  37143. }
  37144. }
  37145. },
  37146. "default" : {
  37147. "description" : "请求失败",
  37148. "content" : {
  37149. "application/json" : {
  37150. "schema" : {
  37151. "anyOf" : [ {
  37152. "$ref" : "#/components/schemas/CommonErrorType"
  37153. }, {
  37154. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasOcrMobileInitializeErrorResponseModel"
  37155. } ]
  37156. }
  37157. }
  37158. }
  37159. }
  37160. },
  37161. "requestBody" : {
  37162. "content" : {
  37163. "application/json" : {
  37164. "schema" : {
  37165. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasOcrMobileInitializeModel"
  37166. }
  37167. }
  37168. },
  37169. "required" : false
  37170. }
  37171. }
  37172. },
  37173. "/v3/datadigital/fincloud/generalsaas/ocr/server/detect" : {
  37174. "post" : {
  37175. "tags" : [ "datadigital.fincloud.generalsaas.ocr.server" ],
  37176. "summary" : "服务端OCR",
  37177. "description" : "纯服务端OCR对接",
  37178. "operationId" : "datadigital.fincloud.generalsaas.ocr.server.detect",
  37179. "responses" : {
  37180. "200" : {
  37181. "description" : "common response",
  37182. "content" : {
  37183. "application/json" : {
  37184. "schema" : {
  37185. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasOcrServerDetectResponseModel"
  37186. }
  37187. }
  37188. }
  37189. },
  37190. "default" : {
  37191. "description" : "请求失败",
  37192. "content" : {
  37193. "application/json" : {
  37194. "schema" : {
  37195. "anyOf" : [ {
  37196. "$ref" : "#/components/schemas/CommonErrorType"
  37197. }, {
  37198. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasOcrServerDetectErrorResponseModel"
  37199. } ]
  37200. }
  37201. }
  37202. }
  37203. }
  37204. },
  37205. "requestBody" : {
  37206. "content" : {
  37207. "multipart/form-data" : {
  37208. "schema" : {
  37209. "type" : "object",
  37210. "properties" : {
  37211. "data" : {
  37212. "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasOcrServerDetectModel"
  37213. },
  37214. "file_content" : {
  37215. "type" : "string",
  37216. "format" : "binary"
  37217. }
  37218. }
  37219. },
  37220. "encoding" : {
  37221. "file_content" : {
  37222. "contentType" : "*/*"
  37223. },
  37224. "data" : {
  37225. "contentType" : "application/json"
  37226. }
  37227. }
  37228. }
  37229. },
  37230. "required" : false
  37231. }
  37232. }
  37233. },
  37234. "/v3/koubei/marketing/campaign/intelligent/promo/batchquery" : {
  37235. "post" : {
  37236. "tags" : [ "koubei.marketing.campaign.intelligent.promo" ],
  37237. "summary" : "智能营销活动批量查询",
  37238. "description" : "智能营销活动批量查询",
  37239. "operationId" : "koubei.marketing.campaign.intelligent.promo.batchquery",
  37240. "responses" : {
  37241. "200" : {
  37242. "description" : "common response",
  37243. "content" : {
  37244. "application/json" : {
  37245. "schema" : {
  37246. "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentPromoBatchqueryResponseModel"
  37247. }
  37248. }
  37249. }
  37250. },
  37251. "default" : {
  37252. "description" : "请求失败",
  37253. "content" : {
  37254. "application/json" : {
  37255. "schema" : {
  37256. "anyOf" : [ {
  37257. "$ref" : "#/components/schemas/CommonErrorType"
  37258. }, {
  37259. "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentPromoBatchqueryErrorResponseModel"
  37260. } ]
  37261. }
  37262. }
  37263. }
  37264. }
  37265. },
  37266. "requestBody" : {
  37267. "content" : {
  37268. "application/json" : {
  37269. "schema" : {
  37270. "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentPromoBatchqueryModel"
  37271. }
  37272. }
  37273. },
  37274. "required" : false
  37275. }
  37276. }
  37277. },
  37278. "/v3/koubei/marketing/campaign/intelligent/shop/consult" : {
  37279. "post" : {
  37280. "tags" : [ "koubei.marketing.campaign.intelligent.shop" ],
  37281. "summary" : "智能营销球房咨询",
  37282. "description" : "咨询完智能营销活动模型后,可以查询商户的符合智能营销活动标准的球房",
  37283. "operationId" : "koubei.marketing.campaign.intelligent.shop.consult",
  37284. "responses" : {
  37285. "200" : {
  37286. "description" : "common response",
  37287. "content" : {
  37288. "application/json" : {
  37289. "schema" : {
  37290. "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentShopConsultResponseModel"
  37291. }
  37292. }
  37293. }
  37294. },
  37295. "default" : {
  37296. "description" : "请求失败",
  37297. "content" : {
  37298. "application/json" : {
  37299. "schema" : {
  37300. "anyOf" : [ {
  37301. "$ref" : "#/components/schemas/CommonErrorType"
  37302. }, {
  37303. "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentShopConsultErrorResponseModel"
  37304. } ]
  37305. }
  37306. }
  37307. }
  37308. }
  37309. },
  37310. "requestBody" : {
  37311. "content" : {
  37312. "application/json" : {
  37313. "schema" : {
  37314. "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentShopConsultModel"
  37315. }
  37316. }
  37317. },
  37318. "required" : false
  37319. }
  37320. }
  37321. },
  37322. "/v3/koubei/marketing/campaign/intelligent/template/consult" : {
  37323. "post" : {
  37324. "tags" : [ "koubei.marketing.campaign.intelligent.template" ],
  37325. "summary" : "智能营销模板咨询",
  37326. "description" : "咨询可使用的智能营销模板",
  37327. "operationId" : "koubei.marketing.campaign.intelligent.template.consult",
  37328. "responses" : {
  37329. "200" : {
  37330. "description" : "common response",
  37331. "content" : {
  37332. "application/json" : {
  37333. "schema" : {
  37334. "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentTemplateConsultResponseModel"
  37335. }
  37336. }
  37337. }
  37338. },
  37339. "default" : {
  37340. "description" : "请求失败",
  37341. "content" : {
  37342. "application/json" : {
  37343. "schema" : {
  37344. "anyOf" : [ {
  37345. "$ref" : "#/components/schemas/CommonErrorType"
  37346. }, {
  37347. "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentTemplateConsultErrorResponseModel"
  37348. } ]
  37349. }
  37350. }
  37351. }
  37352. }
  37353. },
  37354. "requestBody" : {
  37355. "content" : {
  37356. "application/json" : {
  37357. "schema" : {
  37358. "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentTemplateConsultModel"
  37359. }
  37360. }
  37361. },
  37362. "required" : false
  37363. }
  37364. }
  37365. },
  37366. "/v3/koubei/marketing/campaign/item/merchantactivity/batchquery" : {
  37367. "post" : {
  37368. "tags" : [ "koubei.marketing.campaign.item.merchantactivity" ],
  37369. "summary" : "商户查询商品代金券列表",
  37370. "description" : "商户查询商品代金券列表",
  37371. "operationId" : "koubei.marketing.campaign.item.merchantactivity.batchquery",
  37372. "responses" : {
  37373. "200" : {
  37374. "description" : "common response",
  37375. "content" : {
  37376. "application/json" : {
  37377. "schema" : {
  37378. "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityBatchqueryResponseModel"
  37379. }
  37380. }
  37381. }
  37382. },
  37383. "default" : {
  37384. "description" : "请求失败",
  37385. "content" : {
  37386. "application/json" : {
  37387. "schema" : {
  37388. "anyOf" : [ {
  37389. "$ref" : "#/components/schemas/CommonErrorType"
  37390. }, {
  37391. "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityBatchqueryErrorResponseModel"
  37392. } ]
  37393. }
  37394. }
  37395. }
  37396. }
  37397. },
  37398. "requestBody" : {
  37399. "content" : {
  37400. "application/json" : {
  37401. "schema" : {
  37402. "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityBatchqueryModel"
  37403. }
  37404. }
  37405. },
  37406. "required" : false
  37407. }
  37408. }
  37409. },
  37410. "/v3/koubei/marketing/campaign/item/merchantactivity/close" : {
  37411. "post" : {
  37412. "tags" : [ "koubei.marketing.campaign.item.merchantactivity" ],
  37413. "summary" : "商户下架代金券",
  37414. "description" : "商户下架代金券",
  37415. "operationId" : "koubei.marketing.campaign.item.merchantactivity.close",
  37416. "responses" : {
  37417. "200" : {
  37418. "description" : "common response",
  37419. "content" : {
  37420. "application/json" : {
  37421. "schema" : {
  37422. "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityCloseResponseModel"
  37423. }
  37424. }
  37425. }
  37426. },
  37427. "default" : {
  37428. "description" : "请求失败",
  37429. "content" : {
  37430. "application/json" : {
  37431. "schema" : {
  37432. "anyOf" : [ {
  37433. "$ref" : "#/components/schemas/CommonErrorType"
  37434. }, {
  37435. "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityCloseErrorResponseModel"
  37436. } ]
  37437. }
  37438. }
  37439. }
  37440. }
  37441. },
  37442. "requestBody" : {
  37443. "content" : {
  37444. "application/json" : {
  37445. "schema" : {
  37446. "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityCloseModel"
  37447. }
  37448. }
  37449. },
  37450. "required" : false
  37451. }
  37452. }
  37453. },
  37454. "/v3/koubei/marketing/campaign/item/merchantactivity/create" : {
  37455. "post" : {
  37456. "tags" : [ "koubei.marketing.campaign.item.merchantactivity" ],
  37457. "summary" : "商户创建商品代金券",
  37458. "description" : "商户创建商品代金券",
  37459. "operationId" : "koubei.marketing.campaign.item.merchantactivity.create",
  37460. "responses" : {
  37461. "200" : {
  37462. "description" : "common response",
  37463. "content" : {
  37464. "application/json" : {
  37465. "schema" : {
  37466. "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityCreateResponseModel"
  37467. }
  37468. }
  37469. }
  37470. },
  37471. "default" : {
  37472. "description" : "请求失败",
  37473. "content" : {
  37474. "application/json" : {
  37475. "schema" : {
  37476. "anyOf" : [ {
  37477. "$ref" : "#/components/schemas/CommonErrorType"
  37478. }, {
  37479. "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityCreateErrorResponseModel"
  37480. } ]
  37481. }
  37482. }
  37483. }
  37484. }
  37485. },
  37486. "requestBody" : {
  37487. "content" : {
  37488. "application/json" : {
  37489. "schema" : {
  37490. "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityCreateModel"
  37491. }
  37492. }
  37493. },
  37494. "required" : false
  37495. }
  37496. }
  37497. },
  37498. "/v3/koubei/marketing/campaign/item/merchantactivity/modify" : {
  37499. "post" : {
  37500. "tags" : [ "koubei.marketing.campaign.item.merchantactivity" ],
  37501. "summary" : "商户修改商品代金券",
  37502. "description" : "商户修改商品代金券",
  37503. "operationId" : "koubei.marketing.campaign.item.merchantactivity.modify",
  37504. "responses" : {
  37505. "200" : {
  37506. "description" : "common response",
  37507. "content" : {
  37508. "application/json" : {
  37509. "schema" : {
  37510. "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityModifyResponseModel"
  37511. }
  37512. }
  37513. }
  37514. },
  37515. "default" : {
  37516. "description" : "请求失败",
  37517. "content" : {
  37518. "application/json" : {
  37519. "schema" : {
  37520. "anyOf" : [ {
  37521. "$ref" : "#/components/schemas/CommonErrorType"
  37522. }, {
  37523. "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityModifyErrorResponseModel"
  37524. } ]
  37525. }
  37526. }
  37527. }
  37528. }
  37529. },
  37530. "requestBody" : {
  37531. "content" : {
  37532. "application/json" : {
  37533. "schema" : {
  37534. "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityModifyModel"
  37535. }
  37536. }
  37537. },
  37538. "required" : false
  37539. }
  37540. }
  37541. },
  37542. "/v3/koubei/marketing/campaign/item/merchantactivity/query" : {
  37543. "get" : {
  37544. "tags" : [ "koubei.marketing.campaign.item.merchantactivity" ],
  37545. "summary" : "商户查询商品代金券详情",
  37546. "description" : "商户查询商品代金券详情",
  37547. "operationId" : "koubei.marketing.campaign.item.merchantactivity.query",
  37548. "responses" : {
  37549. "200" : {
  37550. "description" : "common response",
  37551. "content" : {
  37552. "application/json" : {
  37553. "schema" : {
  37554. "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityQueryResponseModel"
  37555. }
  37556. }
  37557. }
  37558. },
  37559. "default" : {
  37560. "description" : "请求失败",
  37561. "content" : {
  37562. "application/json" : {
  37563. "schema" : {
  37564. "anyOf" : [ {
  37565. "$ref" : "#/components/schemas/CommonErrorType"
  37566. }, {
  37567. "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityQueryErrorResponseModel"
  37568. } ]
  37569. }
  37570. }
  37571. }
  37572. }
  37573. },
  37574. "parameters" : [ {
  37575. "name" : "activity_id",
  37576. "in" : "query",
  37577. "description" : "运营活动id",
  37578. "schema" : {
  37579. "type" : "string",
  37580. "example" : "2018xxxx"
  37581. }
  37582. }, {
  37583. "name" : "external_unique_id",
  37584. "in" : "query",
  37585. "description" : "外部id",
  37586. "schema" : {
  37587. "type" : "string",
  37588. "example" : "2018xxxx"
  37589. }
  37590. } ]
  37591. }
  37592. },
  37593. "/v3/koubei/member/data/isv/create" : {
  37594. "post" : {
  37595. "tags" : [ "koubei.member.data.isv" ],
  37596. "summary" : "isv 会员CRM数据回流",
  37597. "description" : "isv 会员CRM数据回流:isv对接商户,回流会员信息",
  37598. "operationId" : "koubei.member.data.isv.create",
  37599. "responses" : {
  37600. "200" : {
  37601. "description" : "common response",
  37602. "content" : {
  37603. "application/json" : {
  37604. "schema" : {
  37605. "$ref" : "#/components/schemas/KoubeiMemberDataIsvCreateResponseModel"
  37606. }
  37607. }
  37608. }
  37609. },
  37610. "default" : {
  37611. "description" : "请求失败",
  37612. "content" : {
  37613. "application/json" : {
  37614. "schema" : {
  37615. "anyOf" : [ {
  37616. "$ref" : "#/components/schemas/CommonErrorType"
  37617. }, {
  37618. "$ref" : "#/components/schemas/KoubeiMemberDataIsvCreateErrorResponseModel"
  37619. } ]
  37620. }
  37621. }
  37622. }
  37623. }
  37624. },
  37625. "requestBody" : {
  37626. "content" : {
  37627. "application/json" : {
  37628. "schema" : {
  37629. "$ref" : "#/components/schemas/KoubeiMemberDataIsvCreateModel"
  37630. }
  37631. }
  37632. },
  37633. "required" : false
  37634. }
  37635. }
  37636. },
  37637. "/v3/koubei/trade/order/consult" : {
  37638. "post" : {
  37639. "tags" : [ "koubei.trade.order" ],
  37640. "summary" : "口碑订单预咨询",
  37641. "description" : "ISV下单前,可以通过此接口咨询用户优惠信息",
  37642. "operationId" : "koubei.trade.order.consult",
  37643. "responses" : {
  37644. "200" : {
  37645. "description" : "common response",
  37646. "content" : {
  37647. "application/json" : {
  37648. "schema" : {
  37649. "$ref" : "#/components/schemas/KoubeiTradeOrderConsultResponseModel"
  37650. }
  37651. }
  37652. }
  37653. },
  37654. "default" : {
  37655. "description" : "请求失败",
  37656. "content" : {
  37657. "application/json" : {
  37658. "schema" : {
  37659. "anyOf" : [ {
  37660. "$ref" : "#/components/schemas/CommonErrorType"
  37661. }, {
  37662. "$ref" : "#/components/schemas/KoubeiTradeOrderConsultErrorResponseModel"
  37663. } ]
  37664. }
  37665. }
  37666. }
  37667. }
  37668. },
  37669. "requestBody" : {
  37670. "content" : {
  37671. "application/json" : {
  37672. "schema" : {
  37673. "$ref" : "#/components/schemas/KoubeiTradeOrderConsultModel"
  37674. }
  37675. }
  37676. },
  37677. "required" : false
  37678. }
  37679. }
  37680. },
  37681. "/v3/monitor/heartbeat/syn" : {
  37682. "post" : {
  37683. "tags" : [ "monitor.heartbeat" ],
  37684. "summary" : "验签接口",
  37685. "description" : "本质上是金融云验签接口",
  37686. "operationId" : "monitor.heartbeat.syn",
  37687. "responses" : {
  37688. "200" : {
  37689. "description" : "common response",
  37690. "content" : {
  37691. "application/json" : {
  37692. "schema" : {
  37693. "$ref" : "#/components/schemas/MonitorHeartbeatSynResponseModel"
  37694. }
  37695. }
  37696. }
  37697. },
  37698. "default" : {
  37699. "description" : "请求失败",
  37700. "content" : {
  37701. "application/json" : {
  37702. "schema" : {
  37703. "anyOf" : [ {
  37704. "$ref" : "#/components/schemas/CommonErrorType"
  37705. }, {
  37706. "$ref" : "#/components/schemas/MonitorHeartbeatSynErrorResponseModel"
  37707. } ]
  37708. }
  37709. }
  37710. }
  37711. }
  37712. },
  37713. "requestBody" : {
  37714. "content" : {
  37715. "application/json" : {
  37716. "schema" : {
  37717. "$ref" : "#/components/schemas/MonitorHeartbeatSynModel"
  37718. }
  37719. }
  37720. },
  37721. "required" : false
  37722. }
  37723. }
  37724. },
  37725. "/v3/zhima/credit/payafteruse/creditagreement/query" : {
  37726. "get" : {
  37727. "tags" : [ "zhima.credit.payafteruse.creditagreement" ],
  37728. "summary" : "查询服务开通/授权信息",
  37729. "description" : "使用商户外部协议号或开通/授权协议号,查询服务开通/授权信息。",
  37730. "operationId" : "zhima.credit.payafteruse.creditagreement.query",
  37731. "responses" : {
  37732. "200" : {
  37733. "description" : "common response",
  37734. "content" : {
  37735. "application/json" : {
  37736. "schema" : {
  37737. "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditagreementQueryResponseModel"
  37738. }
  37739. }
  37740. }
  37741. },
  37742. "default" : {
  37743. "description" : "请求失败",
  37744. "content" : {
  37745. "application/json" : {
  37746. "schema" : {
  37747. "anyOf" : [ {
  37748. "$ref" : "#/components/schemas/CommonErrorType"
  37749. }, {
  37750. "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditagreementQueryErrorResponseModel"
  37751. } ]
  37752. }
  37753. }
  37754. }
  37755. }
  37756. },
  37757. "parameters" : [ {
  37758. "name" : "out_agreement_no",
  37759. "in" : "query",
  37760. "description" : "商户外部协议号",
  37761. "schema" : {
  37762. "type" : "string",
  37763. "example" : "2014070700166653"
  37764. }
  37765. }, {
  37766. "name" : "credit_agreement_id",
  37767. "in" : "query",
  37768. "description" : "芝麻开通/授权协议号,out_agreement_no与credit_agreement_id必填一个,推荐使用credit_agreement_id。",
  37769. "schema" : {
  37770. "type" : "string",
  37771. "example" : "ZMOP2020050722001440"
  37772. }
  37773. } ]
  37774. }
  37775. },
  37776. "/v3/zhima/credit/payafteruse/creditagreement/transfer" : {
  37777. "post" : {
  37778. "tags" : [ "zhima.credit.payafteruse.creditagreement" ],
  37779. "summary" : "转换为芝麻先享",
  37780. "description" : "其他产品功能(例如信用代扣),通过该接口,可以转换为芝麻先享",
  37781. "operationId" : "zhima.credit.payafteruse.creditagreement.transfer",
  37782. "responses" : {
  37783. "200" : {
  37784. "description" : "common response",
  37785. "content" : {
  37786. "application/json" : {
  37787. "schema" : {
  37788. "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditagreementTransferResponseModel"
  37789. }
  37790. }
  37791. }
  37792. },
  37793. "default" : {
  37794. "description" : "请求失败",
  37795. "content" : {
  37796. "application/json" : {
  37797. "schema" : {
  37798. "anyOf" : [ {
  37799. "$ref" : "#/components/schemas/CommonErrorType"
  37800. }, {
  37801. "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditagreementTransferErrorResponseModel"
  37802. } ]
  37803. }
  37804. }
  37805. }
  37806. }
  37807. },
  37808. "requestBody" : {
  37809. "content" : {
  37810. "application/json" : {
  37811. "schema" : {
  37812. "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditagreementTransferModel"
  37813. }
  37814. }
  37815. },
  37816. "required" : false
  37817. }
  37818. }
  37819. },
  37820. "/v3/zhima/credit/payafteruse/creditbizorder/finish" : {
  37821. "post" : {
  37822. "tags" : [ "zhima.credit.payafteruse.creditbizorder" ],
  37823. "summary" : "结束信用服务订单",
  37824. "description" : "结束信用服务订单",
  37825. "operationId" : "zhima.credit.payafteruse.creditbizorder.finish",
  37826. "responses" : {
  37827. "200" : {
  37828. "description" : "common response",
  37829. "content" : {
  37830. "application/json" : {
  37831. "schema" : {
  37832. "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderFinishResponseModel"
  37833. }
  37834. }
  37835. }
  37836. },
  37837. "default" : {
  37838. "description" : "请求失败",
  37839. "content" : {
  37840. "application/json" : {
  37841. "schema" : {
  37842. "anyOf" : [ {
  37843. "$ref" : "#/components/schemas/CommonErrorType"
  37844. }, {
  37845. "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderFinishErrorResponseModel"
  37846. } ]
  37847. }
  37848. }
  37849. }
  37850. }
  37851. },
  37852. "requestBody" : {
  37853. "content" : {
  37854. "application/json" : {
  37855. "schema" : {
  37856. "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderFinishModel"
  37857. }
  37858. }
  37859. },
  37860. "required" : false
  37861. }
  37862. }
  37863. },
  37864. "/v3/zhima/credit/payafteruse/creditbizorder/order" : {
  37865. "post" : {
  37866. "tags" : [ "zhima.credit.payafteruse.creditbizorder" ],
  37867. "summary" : "芝麻先享信用服务下单(免用户确认场景)",
  37868. "description" : "芝麻先享免密下单,不需要唤起支付宝APP,通过服务端调用完成下单",
  37869. "operationId" : "zhima.credit.payafteruse.creditbizorder.order",
  37870. "responses" : {
  37871. "200" : {
  37872. "description" : "common response",
  37873. "content" : {
  37874. "application/json" : {
  37875. "schema" : {
  37876. "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderOrderResponseModel"
  37877. }
  37878. }
  37879. }
  37880. },
  37881. "default" : {
  37882. "description" : "请求失败",
  37883. "content" : {
  37884. "application/json" : {
  37885. "schema" : {
  37886. "anyOf" : [ {
  37887. "$ref" : "#/components/schemas/CommonErrorType"
  37888. }, {
  37889. "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderOrderErrorResponseModel"
  37890. } ]
  37891. }
  37892. }
  37893. }
  37894. }
  37895. },
  37896. "requestBody" : {
  37897. "content" : {
  37898. "application/json" : {
  37899. "schema" : {
  37900. "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderOrderModel"
  37901. }
  37902. }
  37903. },
  37904. "required" : false
  37905. }
  37906. }
  37907. },
  37908. "/v3/zhima/credit/payafteruse/creditbizorder/query" : {
  37909. "get" : {
  37910. "tags" : [ "zhima.credit.payafteruse.creditbizorder" ],
  37911. "summary" : "信用服务订单查询",
  37912. "description" : "信用服务订单查询",
  37913. "operationId" : "zhima.credit.payafteruse.creditbizorder.query",
  37914. "responses" : {
  37915. "200" : {
  37916. "description" : "common response",
  37917. "content" : {
  37918. "application/json" : {
  37919. "schema" : {
  37920. "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderQueryResponseModel"
  37921. }
  37922. }
  37923. }
  37924. },
  37925. "default" : {
  37926. "description" : "请求失败",
  37927. "content" : {
  37928. "application/json" : {
  37929. "schema" : {
  37930. "anyOf" : [ {
  37931. "$ref" : "#/components/schemas/CommonErrorType"
  37932. }, {
  37933. "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderQueryErrorResponseModel"
  37934. } ]
  37935. }
  37936. }
  37937. }
  37938. }
  37939. },
  37940. "parameters" : [ {
  37941. "name" : "credit_biz_order_id",
  37942. "in" : "query",
  37943. "description" : "信用服务订单号,out_order_no与credit_biz_order_id至少传一个",
  37944. "schema" : {
  37945. "type" : "string",
  37946. "example" : "ZMCB20201021200102012"
  37947. }
  37948. }, {
  37949. "name" : "out_order_no",
  37950. "in" : "query",
  37951. "description" : "商户外部单号,out_order_no与credit_biz_order_id至少传一个",
  37952. "schema" : {
  37953. "type" : "string",
  37954. "example" : "20202010212001384"
  37955. }
  37956. } ]
  37957. }
  37958. },
  37959. "/v3/zhima/credit/pe/zmgo/agreement/query" : {
  37960. "get" : {
  37961. "tags" : [ "zhima.credit.pe.zmgo.agreement" ],
  37962. "summary" : "芝麻Go协议查询接口",
  37963. "description" : "用户已经开通芝麻GO后,通过此接口查询协议。",
  37964. "operationId" : "zhima.credit.pe.zmgo.agreement.query",
  37965. "responses" : {
  37966. "200" : {
  37967. "description" : "common response",
  37968. "content" : {
  37969. "application/json" : {
  37970. "schema" : {
  37971. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoAgreementQueryResponseModel"
  37972. }
  37973. }
  37974. }
  37975. },
  37976. "default" : {
  37977. "description" : "请求失败",
  37978. "content" : {
  37979. "application/json" : {
  37980. "schema" : {
  37981. "anyOf" : [ {
  37982. "$ref" : "#/components/schemas/CommonErrorType"
  37983. }, {
  37984. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoAgreementQueryErrorResponseModel"
  37985. } ]
  37986. }
  37987. }
  37988. }
  37989. }
  37990. },
  37991. "parameters" : [ {
  37992. "name" : "agreement_id",
  37993. "in" : "query",
  37994. "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花芝轻会员。传入该参数,会忽略其它所有参数。",
  37995. "schema" : {
  37996. "type" : "string",
  37997. "example" : "20185513447859192007"
  37998. }
  37999. }, {
  38000. "name" : "alipay_user_id",
  38001. "in" : "query",
  38002. "description" : "买家在支付宝的用户id",
  38003. "schema" : {
  38004. "type" : "string",
  38005. "example" : "2088101117955611"
  38006. }
  38007. }, {
  38008. "name" : "open_id",
  38009. "in" : "query",
  38010. "description" : "买家在支付宝的用户id",
  38011. "schema" : {
  38012. "type" : "string",
  38013. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  38014. }
  38015. } ]
  38016. }
  38017. },
  38018. "/v3/zhima/credit/pe/zmgo/agreement/unsign" : {
  38019. "post" : {
  38020. "tags" : [ "zhima.credit.pe.zmgo.agreement" ],
  38021. "summary" : "芝麻GO协议解约",
  38022. "description" : "芝麻GO协议解约",
  38023. "operationId" : "zhima.credit.pe.zmgo.agreement.unsign",
  38024. "responses" : {
  38025. "200" : {
  38026. "description" : "common response",
  38027. "content" : {
  38028. "application/json" : {
  38029. "schema" : {
  38030. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoAgreementUnsignResponseModel"
  38031. }
  38032. }
  38033. }
  38034. },
  38035. "default" : {
  38036. "description" : "请求失败",
  38037. "content" : {
  38038. "application/json" : {
  38039. "schema" : {
  38040. "anyOf" : [ {
  38041. "$ref" : "#/components/schemas/CommonErrorType"
  38042. }, {
  38043. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoAgreementUnsignErrorResponseModel"
  38044. } ]
  38045. }
  38046. }
  38047. }
  38048. }
  38049. },
  38050. "requestBody" : {
  38051. "content" : {
  38052. "application/json" : {
  38053. "schema" : {
  38054. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoAgreementUnsignModel"
  38055. }
  38056. }
  38057. },
  38058. "required" : false
  38059. }
  38060. }
  38061. },
  38062. "/v3/zhima/credit/pe/zmgo/bizopt/close" : {
  38063. "post" : {
  38064. "tags" : [ "zhima.credit.pe.zmgo.bizopt" ],
  38065. "summary" : "芝麻GO签约关单",
  38066. "description" : "签约芝麻GO时,在签约申请时会生初始状态的签约单,如果后续不进行签约确认,可通过此接口关闭签约单",
  38067. "operationId" : "zhima.credit.pe.zmgo.bizopt.close",
  38068. "responses" : {
  38069. "200" : {
  38070. "description" : "common response",
  38071. "content" : {
  38072. "application/json" : {
  38073. "schema" : {
  38074. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoBizoptCloseResponseModel"
  38075. }
  38076. }
  38077. }
  38078. },
  38079. "default" : {
  38080. "description" : "请求失败",
  38081. "content" : {
  38082. "application/json" : {
  38083. "schema" : {
  38084. "anyOf" : [ {
  38085. "$ref" : "#/components/schemas/CommonErrorType"
  38086. }, {
  38087. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoBizoptCloseErrorResponseModel"
  38088. } ]
  38089. }
  38090. }
  38091. }
  38092. }
  38093. },
  38094. "requestBody" : {
  38095. "content" : {
  38096. "application/json" : {
  38097. "schema" : {
  38098. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoBizoptCloseModel"
  38099. }
  38100. }
  38101. },
  38102. "required" : false
  38103. }
  38104. }
  38105. },
  38106. "/v3/zhima/credit/pe/zmgo/cumulation/sync" : {
  38107. "post" : {
  38108. "tags" : [ "zhima.credit.pe.zmgo.cumulation" ],
  38109. "summary" : "芝麻go用户数据回传",
  38110. "description" : "芝麻go商户通过此api接口,将用户行为数据回传到芝麻侧,数据包括:交易型数据(订单信息、优惠信息)和非交易型数据(用户完成任务次数)。芝麻侧将回传的数据在C端向用户展示,并且在结算时对结算金额进行校验(可选)。",
  38111. "operationId" : "zhima.credit.pe.zmgo.cumulation.sync",
  38112. "responses" : {
  38113. "200" : {
  38114. "description" : "common response",
  38115. "content" : {
  38116. "application/json" : {
  38117. "schema" : {
  38118. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoCumulationSyncResponseModel"
  38119. }
  38120. }
  38121. }
  38122. },
  38123. "default" : {
  38124. "description" : "请求失败",
  38125. "content" : {
  38126. "application/json" : {
  38127. "schema" : {
  38128. "anyOf" : [ {
  38129. "$ref" : "#/components/schemas/CommonErrorType"
  38130. }, {
  38131. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoCumulationSyncErrorResponseModel"
  38132. } ]
  38133. }
  38134. }
  38135. }
  38136. }
  38137. },
  38138. "requestBody" : {
  38139. "content" : {
  38140. "application/json" : {
  38141. "schema" : {
  38142. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoCumulationSyncModel"
  38143. }
  38144. }
  38145. },
  38146. "required" : false
  38147. }
  38148. }
  38149. },
  38150. "/v3/zhima/credit/pe/zmgo/preorder/create" : {
  38151. "put" : {
  38152. "tags" : [ "zhima.credit.pe.zmgo.preorder" ],
  38153. "summary" : "芝麻GO签约预创单",
  38154. "description" : "芝麻GO签约三件套前预创建单据,预传入签约基本参数和自定义配置,并支持动态模板配置能力。",
  38155. "operationId" : "zhima.credit.pe.zmgo.preorder.create",
  38156. "responses" : {
  38157. "200" : {
  38158. "description" : "common response",
  38159. "content" : {
  38160. "application/json" : {
  38161. "schema" : {
  38162. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoPreorderCreateResponseModel"
  38163. }
  38164. }
  38165. }
  38166. },
  38167. "default" : {
  38168. "description" : "请求失败",
  38169. "content" : {
  38170. "application/json" : {
  38171. "schema" : {
  38172. "anyOf" : [ {
  38173. "$ref" : "#/components/schemas/CommonErrorType"
  38174. }, {
  38175. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoPreorderCreateErrorResponseModel"
  38176. } ]
  38177. }
  38178. }
  38179. }
  38180. }
  38181. },
  38182. "requestBody" : {
  38183. "content" : {
  38184. "application/json" : {
  38185. "schema" : {
  38186. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoPreorderCreateModel"
  38187. }
  38188. }
  38189. },
  38190. "required" : false
  38191. }
  38192. }
  38193. },
  38194. "/v3/zhima/credit/pe/zmgo/settle/apply" : {
  38195. "post" : {
  38196. "tags" : [ "zhima.credit.pe.zmgo.settle" ],
  38197. "summary" : "芝麻GO结算申请",
  38198. "description" : "用户已经开通芝麻GO后,商户通过此接口解冻转支付用户冻结金额。传入金额必须小于等于冻结金额",
  38199. "operationId" : "zhima.credit.pe.zmgo.settle.apply",
  38200. "responses" : {
  38201. "200" : {
  38202. "description" : "common response",
  38203. "content" : {
  38204. "application/json" : {
  38205. "schema" : {
  38206. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleApplyResponseModel"
  38207. }
  38208. }
  38209. }
  38210. },
  38211. "default" : {
  38212. "description" : "请求失败",
  38213. "content" : {
  38214. "application/json" : {
  38215. "schema" : {
  38216. "anyOf" : [ {
  38217. "$ref" : "#/components/schemas/CommonErrorType"
  38218. }, {
  38219. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleApplyErrorResponseModel"
  38220. } ]
  38221. }
  38222. }
  38223. }
  38224. }
  38225. },
  38226. "requestBody" : {
  38227. "content" : {
  38228. "application/json" : {
  38229. "schema" : {
  38230. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleApplyModel"
  38231. }
  38232. }
  38233. },
  38234. "required" : false
  38235. }
  38236. }
  38237. },
  38238. "/v3/zhima/credit/pe/zmgo/settle/refund" : {
  38239. "post" : {
  38240. "tags" : [ "zhima.credit.pe.zmgo.settle" ],
  38241. "summary" : "芝麻GO结算退款接口",
  38242. "description" : "芝麻GO结算金额逆向退款接口: 对zhima.credit.pe.zmgo.settle.apply(芝麻GO结算申请接口) 产生的结算交易发起退款操作",
  38243. "operationId" : "zhima.credit.pe.zmgo.settle.refund",
  38244. "responses" : {
  38245. "200" : {
  38246. "description" : "common response",
  38247. "content" : {
  38248. "application/json" : {
  38249. "schema" : {
  38250. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleRefundResponseModel"
  38251. }
  38252. }
  38253. }
  38254. },
  38255. "default" : {
  38256. "description" : "请求失败",
  38257. "content" : {
  38258. "application/json" : {
  38259. "schema" : {
  38260. "anyOf" : [ {
  38261. "$ref" : "#/components/schemas/CommonErrorType"
  38262. }, {
  38263. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleRefundErrorResponseModel"
  38264. } ]
  38265. }
  38266. }
  38267. }
  38268. }
  38269. },
  38270. "requestBody" : {
  38271. "content" : {
  38272. "application/json" : {
  38273. "schema" : {
  38274. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleRefundModel"
  38275. }
  38276. }
  38277. },
  38278. "required" : false
  38279. }
  38280. }
  38281. },
  38282. "/v3/zhima/credit/pe/zmgo/settle/unfreeze" : {
  38283. "put" : {
  38284. "tags" : [ "zhima.credit.pe.zmgo.settle" ],
  38285. "summary" : "芝麻GO解冻接口",
  38286. "description" : "用户已经开通芝麻GO后,商户通过此接口解冻转支付用户冻结金额。传入金额必须小于等于冻结金额",
  38287. "operationId" : "zhima.credit.pe.zmgo.settle.unfreeze",
  38288. "responses" : {
  38289. "200" : {
  38290. "description" : "common response",
  38291. "content" : {
  38292. "application/json" : {
  38293. "schema" : {
  38294. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleUnfreezeResponseModel"
  38295. }
  38296. }
  38297. }
  38298. },
  38299. "default" : {
  38300. "description" : "请求失败",
  38301. "content" : {
  38302. "application/json" : {
  38303. "schema" : {
  38304. "anyOf" : [ {
  38305. "$ref" : "#/components/schemas/CommonErrorType"
  38306. }, {
  38307. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleUnfreezeErrorResponseModel"
  38308. } ]
  38309. }
  38310. }
  38311. }
  38312. }
  38313. },
  38314. "requestBody" : {
  38315. "content" : {
  38316. "application/json" : {
  38317. "schema" : {
  38318. "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleUnfreezeModel"
  38319. }
  38320. }
  38321. },
  38322. "required" : false
  38323. }
  38324. }
  38325. },
  38326. "/v3/zhima/customer/jobworth/authentication" : {
  38327. "get" : {
  38328. "tags" : [ "zhima.customer.jobworth.authentication" ],
  38329. "summary" : "职得身份认证查询接口",
  38330. "description" : "根据一次性token查询用户身份认证结果",
  38331. "operationId" : "zhima.customer.jobworth.authentication.query",
  38332. "responses" : {
  38333. "200" : {
  38334. "description" : "common response",
  38335. "content" : {
  38336. "application/json" : {
  38337. "schema" : {
  38338. "$ref" : "#/components/schemas/ZhimaCustomerJobworthAuthenticationQueryResponseModel"
  38339. }
  38340. }
  38341. }
  38342. },
  38343. "default" : {
  38344. "description" : "请求失败",
  38345. "content" : {
  38346. "application/json" : {
  38347. "schema" : {
  38348. "anyOf" : [ {
  38349. "$ref" : "#/components/schemas/CommonErrorType"
  38350. }, {
  38351. "$ref" : "#/components/schemas/ZhimaCustomerJobworthAuthenticationQueryErrorResponseModel"
  38352. } ]
  38353. }
  38354. }
  38355. }
  38356. }
  38357. },
  38358. "parameters" : [ {
  38359. "name" : "conn_key",
  38360. "in" : "query",
  38361. "description" : "调用第一步创建接口的out_agreement_no,由外部传入",
  38362. "schema" : {
  38363. "type" : "string",
  38364. "example" : "uuid"
  38365. }
  38366. }, {
  38367. "name" : "once_token",
  38368. "in" : "query",
  38369. "description" : "查询身份认证结果的凭证,在认证结果到达终态后只允许查询成功一次,若需要再次查询,则需要调用第一个接口再拉起受理台",
  38370. "schema" : {
  38371. "type" : "string",
  38372. "example" : "uuid"
  38373. }
  38374. }, {
  38375. "name" : "query_type",
  38376. "in" : "query",
  38377. "description" : "exact:精确查询,dim:模糊查询",
  38378. "schema" : {
  38379. "type" : "string",
  38380. "example" : "exact\\dim"
  38381. }
  38382. }, {
  38383. "name" : "identity_type",
  38384. "in" : "query",
  38385. "description" : "01:医生,02:教师,具体参考文档",
  38386. "schema" : {
  38387. "type" : "string",
  38388. "example" : "01,02,03"
  38389. }
  38390. }, {
  38391. "name" : "service_id",
  38392. "in" : "query",
  38393. "description" : "信用服务id,商家接入产品功能包时有运营同学分配",
  38394. "schema" : {
  38395. "type" : "string",
  38396. "example" : "2019120400000000000004450100"
  38397. }
  38398. }, {
  38399. "name" : "user_id",
  38400. "in" : "query",
  38401. "description" : "蚂蚁统一会员ID\t和身份证任选一个传入",
  38402. "schema" : {
  38403. "type" : "string",
  38404. "example" : "20881029102921"
  38405. }
  38406. }, {
  38407. "name" : "open_id",
  38408. "in" : "query",
  38409. "description" : "蚂蚁统一会员ID\t和身份证任选一个传入",
  38410. "schema" : {
  38411. "type" : "string",
  38412. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  38413. }
  38414. }, {
  38415. "name" : "cert_no",
  38416. "in" : "query",
  38417. "description" : "证件号",
  38418. "schema" : {
  38419. "type" : "string",
  38420. "example" : "420192931233123123"
  38421. }
  38422. }, {
  38423. "name" : "cert_type",
  38424. "in" : "query",
  38425. "description" : "\"身份证 : 0\",\"护照: 1\",\"台湾往来通行证:4\",\"港澳往来通行证:3\", \"回乡证: 2\";\"港澳证件:5\"",
  38426. "schema" : {
  38427. "type" : "string",
  38428. "example" : "0"
  38429. }
  38430. } ]
  38431. }
  38432. },
  38433. "/v3/zhima/customer/jobworth/cloudresume/query" : {
  38434. "get" : {
  38435. "tags" : [ "zhima.customer.jobworth.cloudresume" ],
  38436. "summary" : "智能简历基本数据查询",
  38437. "description" : "用于查询工作证基本信息",
  38438. "operationId" : "zhima.customer.jobworth.cloudresume.query",
  38439. "responses" : {
  38440. "200" : {
  38441. "description" : "common response",
  38442. "content" : {
  38443. "application/json" : {
  38444. "schema" : {
  38445. "$ref" : "#/components/schemas/ZhimaCustomerJobworthCloudresumeQueryResponseModel"
  38446. }
  38447. }
  38448. }
  38449. },
  38450. "default" : {
  38451. "description" : "请求失败",
  38452. "content" : {
  38453. "application/json" : {
  38454. "schema" : {
  38455. "anyOf" : [ {
  38456. "$ref" : "#/components/schemas/CommonErrorType"
  38457. }, {
  38458. "$ref" : "#/components/schemas/ZhimaCustomerJobworthCloudresumeQueryErrorResponseModel"
  38459. } ]
  38460. }
  38461. }
  38462. }
  38463. }
  38464. },
  38465. "parameters" : [ {
  38466. "name" : "conn_key",
  38467. "in" : "query",
  38468. "description" : "长效的认证令牌",
  38469. "schema" : {
  38470. "type" : "string",
  38471. "example" : "uuid"
  38472. }
  38473. }, {
  38474. "name" : "once_token",
  38475. "in" : "query",
  38476. "description" : "交换云简历的单次token",
  38477. "schema" : {
  38478. "type" : "string",
  38479. "example" : "uuid"
  38480. }
  38481. } ]
  38482. }
  38483. },
  38484. "/v3/zhima/customer/jobworth/info/query" : {
  38485. "get" : {
  38486. "tags" : [ "zhima.customer.jobworth.info" ],
  38487. "summary" : "职得工作证信息查询",
  38488. "description" : "查询用户职得工作证信息\n查询方式3选1,都设置时uid优先\n1、支付宝uid查询:user_id\n2、身份证+姓名查询:cert_type+cert_no\n3、智能简历场景:conn_key",
  38489. "operationId" : "zhima.customer.jobworth.info.query",
  38490. "responses" : {
  38491. "200" : {
  38492. "description" : "common response",
  38493. "content" : {
  38494. "application/json" : {
  38495. "schema" : {
  38496. "$ref" : "#/components/schemas/ZhimaCustomerJobworthInfoQueryResponseModel"
  38497. }
  38498. }
  38499. }
  38500. },
  38501. "default" : {
  38502. "description" : "请求失败",
  38503. "content" : {
  38504. "application/json" : {
  38505. "schema" : {
  38506. "anyOf" : [ {
  38507. "$ref" : "#/components/schemas/CommonErrorType"
  38508. }, {
  38509. "$ref" : "#/components/schemas/ZhimaCustomerJobworthInfoQueryErrorResponseModel"
  38510. } ]
  38511. }
  38512. }
  38513. }
  38514. }
  38515. },
  38516. "parameters" : [ {
  38517. "name" : "user_name",
  38518. "in" : "query",
  38519. "description" : "姓名",
  38520. "schema" : {
  38521. "type" : "string",
  38522. "example" : "张三"
  38523. }
  38524. }, {
  38525. "name" : "conn_key",
  38526. "in" : "query",
  38527. "description" : "外部订单号,zhima.credit.payafteruse.creditagreement.sign的入参 out_agreement_no智能简历场景支持只传该值",
  38528. "schema" : {
  38529. "type" : "string",
  38530. "example" : "ttest11234"
  38531. }
  38532. }, {
  38533. "name" : "cert_no",
  38534. "in" : "query",
  38535. "description" : "证件号 ,根据cert_type类型设置对应证件号码,选择身份证校验时必传",
  38536. "schema" : {
  38537. "type" : "string",
  38538. "example" : "42011719880304XXXX"
  38539. }
  38540. }, {
  38541. "name" : "user_id",
  38542. "in" : "query",
  38543. "description" : "蚂蚁统一会员ID ,为2088开头的唯一标识\t选择支付宝uid检验时必传,支付宝uid或身份证+身份证类型 查询2选1,都设置时uid优先",
  38544. "schema" : {
  38545. "type" : "string",
  38546. "example" : "2088XXXXXXXX"
  38547. }
  38548. }, {
  38549. "name" : "open_id",
  38550. "in" : "query",
  38551. "description" : "蚂蚁统一会员ID ,为2088开头的唯一标识\t选择支付宝uid检验时必传,支付宝uid或身份证+身份证类型 查询2选1,都设置时uid优先",
  38552. "schema" : {
  38553. "type" : "string",
  38554. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  38555. }
  38556. }, {
  38557. "name" : "back_url",
  38558. "in" : "query",
  38559. "description" : "若用户没有开通工作证或者芝麻,成功开通后回跳的链接 ,支持http或schema地址",
  38560. "schema" : {
  38561. "type" : "string",
  38562. "example" : "www.123.com"
  38563. }
  38564. }, {
  38565. "name" : "cert_type",
  38566. "in" : "query",
  38567. "description" : "证件类型 ,枚举值:\t0:身份证1:护照2:台湾同胞回乡证3:港澳居民往来内地通行证4:台湾居民通行证5:港澳居民通行证\t选择身份证校验时必传,支付宝uid或身份证+身份证类型 查询2选1,都设置时uid优先",
  38568. "schema" : {
  38569. "type" : "string",
  38570. "example" : "0:身份证1:护照2:台湾同胞回乡证3:港澳居民往来内地通行证4:台湾居民通行证5:港澳居民通行证"
  38571. }
  38572. }, {
  38573. "name" : "ka_visitor_id",
  38574. "in" : "query",
  38575. "description" : "商户内部的唯一id如果是需要返回h5页面必填",
  38576. "schema" : {
  38577. "type" : "string",
  38578. "example" : "xxx"
  38579. }
  38580. }, {
  38581. "name" : "visitor_type",
  38582. "in" : "query",
  38583. "description" : "访问类型\tC = company or P = person\t如果是需要返回h5页面必填",
  38584. "schema" : {
  38585. "type" : "string",
  38586. "example" : "P"
  38587. }
  38588. }, {
  38589. "name" : "visitor_name",
  38590. "in" : "query",
  38591. "description" : "商户侧配置访客名称\t如果是需要返回h5页面必填",
  38592. "schema" : {
  38593. "type" : "string",
  38594. "example" : "访客名称"
  38595. }
  38596. }, {
  38597. "name" : "company_certificate",
  38598. "in" : "query",
  38599. "description" : "公司社会统一代码h5页面访客展示使用",
  38600. "schema" : {
  38601. "type" : "string",
  38602. "example" : "xxxx"
  38603. }
  38604. }, {
  38605. "name" : "visitor_url",
  38606. "in" : "query",
  38607. "description" : "上传图片接口返回的id",
  38608. "schema" : {
  38609. "type" : "string",
  38610. "example" : "xxxx"
  38611. }
  38612. }, {
  38613. "name" : "has_button",
  38614. "in" : "query",
  38615. "description" : "在h5页面是否展示底部跳转按钮",
  38616. "schema" : {
  38617. "type" : "boolean",
  38618. "example" : "true"
  38619. }
  38620. }, {
  38621. "name" : "has_number",
  38622. "in" : "query",
  38623. "description" : "true or false\t是否展示",
  38624. "schema" : {
  38625. "type" : "boolean",
  38626. "example" : "true"
  38627. }
  38628. }, {
  38629. "name" : "has_qr_code",
  38630. "in" : "query",
  38631. "description" : "是否展示二维码",
  38632. "schema" : {
  38633. "type" : "boolean",
  38634. "example" : "true"
  38635. }
  38636. }, {
  38637. "name" : "has_html",
  38638. "in" : "query",
  38639. "description" : "是否需要返回h5页面",
  38640. "schema" : {
  38641. "type" : "boolean",
  38642. "example" : "true"
  38643. }
  38644. }, {
  38645. "name" : "job_id",
  38646. "in" : "query",
  38647. "description" : "对外使用的jobid",
  38648. "schema" : {
  38649. "type" : "string",
  38650. "example" : "05A00"
  38651. }
  38652. }, {
  38653. "name" : "industry_id",
  38654. "in" : "query",
  38655. "description" : "行业描述ID",
  38656. "schema" : {
  38657. "type" : "string",
  38658. "example" : "05A21"
  38659. }
  38660. }, {
  38661. "name" : "cloud_resume_scene",
  38662. "in" : "query",
  38663. "description" : "子场景",
  38664. "schema" : {
  38665. "type" : "string",
  38666. "example" : "GREEN_HIRE"
  38667. }
  38668. } ]
  38669. }
  38670. },
  38671. "/v3/zhima/customer/jobworth/jobdata/add" : {
  38672. "post" : {
  38673. "tags" : [ "zhima.customer.jobworth.jobdata" ],
  38674. "summary" : "工作证职业数据回流接口",
  38675. "description" : "合作的三方伙伴通过该接口,将数据回传到工作证",
  38676. "operationId" : "zhima.customer.jobworth.jobdata.add",
  38677. "responses" : {
  38678. "200" : {
  38679. "description" : "common response",
  38680. "content" : {
  38681. "application/json" : {
  38682. "schema" : {
  38683. "$ref" : "#/components/schemas/ZhimaCustomerJobworthJobdataAddResponseModel"
  38684. }
  38685. }
  38686. }
  38687. },
  38688. "default" : {
  38689. "description" : "请求失败",
  38690. "content" : {
  38691. "application/json" : {
  38692. "schema" : {
  38693. "anyOf" : [ {
  38694. "$ref" : "#/components/schemas/CommonErrorType"
  38695. }, {
  38696. "$ref" : "#/components/schemas/ZhimaCustomerJobworthJobdataAddErrorResponseModel"
  38697. } ]
  38698. }
  38699. }
  38700. }
  38701. }
  38702. },
  38703. "requestBody" : {
  38704. "content" : {
  38705. "application/json" : {
  38706. "schema" : {
  38707. "$ref" : "#/components/schemas/ZhimaCustomerJobworthJobdataAddModel"
  38708. }
  38709. }
  38710. },
  38711. "required" : false
  38712. }
  38713. }
  38714. },
  38715. "/v3/zhima/customer/jobworth/picture/upload" : {
  38716. "post" : {
  38717. "tags" : [ "zhima.customer.jobworth.picture" ],
  38718. "summary" : "职得工作证图片上传",
  38719. "description" : "工作证图片上传通用接口",
  38720. "operationId" : "zhima.customer.jobworth.picture.upload",
  38721. "responses" : {
  38722. "200" : {
  38723. "description" : "common response",
  38724. "content" : {
  38725. "application/json" : {
  38726. "schema" : {
  38727. "$ref" : "#/components/schemas/ZhimaCustomerJobworthPictureUploadResponseModel"
  38728. }
  38729. }
  38730. }
  38731. },
  38732. "default" : {
  38733. "description" : "请求失败",
  38734. "content" : {
  38735. "application/json" : {
  38736. "schema" : {
  38737. "anyOf" : [ {
  38738. "$ref" : "#/components/schemas/CommonErrorType"
  38739. }, {
  38740. "$ref" : "#/components/schemas/ZhimaCustomerJobworthPictureUploadErrorResponseModel"
  38741. } ]
  38742. }
  38743. }
  38744. }
  38745. }
  38746. },
  38747. "requestBody" : {
  38748. "content" : {
  38749. "application/json" : {
  38750. "schema" : {
  38751. "$ref" : "#/components/schemas/ZhimaCustomerJobworthPictureUploadModel"
  38752. }
  38753. }
  38754. },
  38755. "required" : false
  38756. }
  38757. }
  38758. },
  38759. "/v3/zhima/customer/jobworth/position/add" : {
  38760. "post" : {
  38761. "tags" : [ "zhima.customer.jobworth.position" ],
  38762. "summary" : "职得工作证岗位收集",
  38763. "description" : "保存商户传入岗位信息,当接口调用成功,业务问题时返回subcode",
  38764. "operationId" : "zhima.customer.jobworth.position.add",
  38765. "responses" : {
  38766. "200" : {
  38767. "description" : "common response",
  38768. "content" : {
  38769. "application/json" : {
  38770. "schema" : {
  38771. "$ref" : "#/components/schemas/ZhimaCustomerJobworthPositionAddResponseModel"
  38772. }
  38773. }
  38774. }
  38775. },
  38776. "default" : {
  38777. "description" : "请求失败",
  38778. "content" : {
  38779. "application/json" : {
  38780. "schema" : {
  38781. "anyOf" : [ {
  38782. "$ref" : "#/components/schemas/CommonErrorType"
  38783. }, {
  38784. "$ref" : "#/components/schemas/ZhimaCustomerJobworthPositionAddErrorResponseModel"
  38785. } ]
  38786. }
  38787. }
  38788. }
  38789. }
  38790. },
  38791. "requestBody" : {
  38792. "content" : {
  38793. "application/json" : {
  38794. "schema" : {
  38795. "$ref" : "#/components/schemas/ZhimaCustomerJobworthPositionAddModel"
  38796. }
  38797. }
  38798. },
  38799. "required" : false
  38800. }
  38801. }
  38802. },
  38803. "/v3/zhima/merchant/subsidiaries/apply" : {
  38804. "post" : {
  38805. "tags" : [ "zhima.merchant.subsidiaries" ],
  38806. "summary" : "子商户信息添加",
  38807. "description" : "子商户信息添加",
  38808. "operationId" : "zhima.merchant.subsidiaries.apply",
  38809. "responses" : {
  38810. "200" : {
  38811. "description" : "common response",
  38812. "content" : {
  38813. "application/json" : {
  38814. "schema" : {
  38815. "$ref" : "#/components/schemas/ZhimaMerchantSubsidiariesApplyResponseModel"
  38816. }
  38817. }
  38818. }
  38819. },
  38820. "default" : {
  38821. "description" : "请求失败",
  38822. "content" : {
  38823. "application/json" : {
  38824. "schema" : {
  38825. "anyOf" : [ {
  38826. "$ref" : "#/components/schemas/CommonErrorType"
  38827. }, {
  38828. "$ref" : "#/components/schemas/ZhimaMerchantSubsidiariesApplyErrorResponseModel"
  38829. } ]
  38830. }
  38831. }
  38832. }
  38833. }
  38834. },
  38835. "requestBody" : {
  38836. "content" : {
  38837. "application/json" : {
  38838. "schema" : {
  38839. "$ref" : "#/components/schemas/ZhimaMerchantSubsidiariesApplyModel"
  38840. }
  38841. }
  38842. },
  38843. "required" : false
  38844. }
  38845. }
  38846. },
  38847. "/v3/zhima/merchant/subsidiaries/close" : {
  38848. "post" : {
  38849. "tags" : [ "zhima.merchant.subsidiaries" ],
  38850. "summary" : "关闭子商户信息工单",
  38851. "description" : "关闭子商户信息工单",
  38852. "operationId" : "zhima.merchant.subsidiaries.close",
  38853. "responses" : {
  38854. "200" : {
  38855. "description" : "common response",
  38856. "content" : {
  38857. "application/json" : {
  38858. "schema" : {
  38859. "$ref" : "#/components/schemas/ZhimaMerchantSubsidiariesCloseResponseModel"
  38860. }
  38861. }
  38862. }
  38863. },
  38864. "default" : {
  38865. "description" : "请求失败",
  38866. "content" : {
  38867. "application/json" : {
  38868. "schema" : {
  38869. "anyOf" : [ {
  38870. "$ref" : "#/components/schemas/CommonErrorType"
  38871. }, {
  38872. "$ref" : "#/components/schemas/ZhimaMerchantSubsidiariesCloseErrorResponseModel"
  38873. } ]
  38874. }
  38875. }
  38876. }
  38877. }
  38878. },
  38879. "requestBody" : {
  38880. "content" : {
  38881. "application/json" : {
  38882. "schema" : {
  38883. "$ref" : "#/components/schemas/ZhimaMerchantSubsidiariesCloseModel"
  38884. }
  38885. }
  38886. },
  38887. "required" : false
  38888. }
  38889. }
  38890. },
  38891. "/v3/zhima/merchant/zmgo/cumulate/query" : {
  38892. "get" : {
  38893. "tags" : [ "zhima.merchant.zmgo.cumulate" ],
  38894. "summary" : "商家芝麻GO累计数据查询接口",
  38895. "description" : "芝麻GO数据累计查询接口,包含汇总和明细信息",
  38896. "operationId" : "zhima.merchant.zmgo.cumulate.query",
  38897. "responses" : {
  38898. "200" : {
  38899. "description" : "common response",
  38900. "content" : {
  38901. "application/json" : {
  38902. "schema" : {
  38903. "$ref" : "#/components/schemas/ZhimaMerchantZmgoCumulateQueryResponseModel"
  38904. }
  38905. }
  38906. }
  38907. },
  38908. "default" : {
  38909. "description" : "请求失败",
  38910. "content" : {
  38911. "application/json" : {
  38912. "schema" : {
  38913. "anyOf" : [ {
  38914. "$ref" : "#/components/schemas/CommonErrorType"
  38915. }, {
  38916. "$ref" : "#/components/schemas/ZhimaMerchantZmgoCumulateQueryErrorResponseModel"
  38917. } ]
  38918. }
  38919. }
  38920. }
  38921. }
  38922. },
  38923. "parameters" : [ {
  38924. "name" : "agreement_id",
  38925. "in" : "query",
  38926. "description" : "芝麻go协议号,唯一标识一个芝麻go协议。",
  38927. "schema" : {
  38928. "type" : "string",
  38929. "example" : "20195108518085620000"
  38930. }
  38931. }, {
  38932. "name" : "user_id",
  38933. "in" : "query",
  38934. "description" : "用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  38935. "schema" : {
  38936. "type" : "string",
  38937. "example" : "2088602002015001"
  38938. }
  38939. }, {
  38940. "name" : "open_id",
  38941. "in" : "query",
  38942. "description" : "用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  38943. "schema" : {
  38944. "type" : "string",
  38945. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  38946. }
  38947. }, {
  38948. "name" : "provider_pid",
  38949. "in" : "query",
  38950. "description" : "数据回传的商户 ID,即和用户发生业务来往的 PID 主体。商户账号在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  38951. "schema" : {
  38952. "type" : "string",
  38953. "example" : "2088621805983504"
  38954. }
  38955. }, {
  38956. "name" : "need_detail",
  38957. "in" : "query",
  38958. "description" : "是否需要回传明细。枚举支持:\t* true:需要回传明细。\t* false:不需要回传明细。",
  38959. "schema" : {
  38960. "type" : "boolean",
  38961. "example" : "false"
  38962. }
  38963. }, {
  38964. "name" : "page_no",
  38965. "in" : "query",
  38966. "description" : "分页参数,当need_detail=true时需要,代表当前页数,从1开始。",
  38967. "schema" : {
  38968. "type" : "integer",
  38969. "example" : "1"
  38970. }
  38971. }, {
  38972. "name" : "page_size",
  38973. "in" : "query",
  38974. "description" : "分页参数,当need_detail=true时需要,代表每页大小,不能大于20。",
  38975. "schema" : {
  38976. "type" : "integer",
  38977. "example" : "20"
  38978. }
  38979. } ]
  38980. }
  38981. },
  38982. "/v3/zhima/merchant/zmgo/cumulate/sync" : {
  38983. "post" : {
  38984. "tags" : [ "zhima.merchant.zmgo.cumulate" ],
  38985. "summary" : "商家芝麻GO累计数据回传接口",
  38986. "description" : "外部商家接入芝麻GO场景下,回传用户行为履约数据给芝麻。",
  38987. "operationId" : "zhima.merchant.zmgo.cumulate.sync",
  38988. "responses" : {
  38989. "200" : {
  38990. "description" : "common response",
  38991. "content" : {
  38992. "application/json" : {
  38993. "schema" : {
  38994. "$ref" : "#/components/schemas/ZhimaMerchantZmgoCumulateSyncResponseModel"
  38995. }
  38996. }
  38997. }
  38998. },
  38999. "default" : {
  39000. "description" : "请求失败",
  39001. "content" : {
  39002. "application/json" : {
  39003. "schema" : {
  39004. "anyOf" : [ {
  39005. "$ref" : "#/components/schemas/CommonErrorType"
  39006. }, {
  39007. "$ref" : "#/components/schemas/ZhimaMerchantZmgoCumulateSyncErrorResponseModel"
  39008. } ]
  39009. }
  39010. }
  39011. }
  39012. }
  39013. },
  39014. "requestBody" : {
  39015. "content" : {
  39016. "application/json" : {
  39017. "schema" : {
  39018. "$ref" : "#/components/schemas/ZhimaMerchantZmgoCumulateSyncModel"
  39019. }
  39020. }
  39021. },
  39022. "required" : false
  39023. }
  39024. }
  39025. },
  39026. "/v3/zhima/merchant/zmgo/template/create" : {
  39027. "post" : {
  39028. "tags" : [ "zhima.merchant.zmgo.template" ],
  39029. "summary" : "商户创建芝麻GO模板接口",
  39030. "description" : "外部商家接入芝麻GO场景下,为商户提供自助创建芝麻GO模板的能力。\n",
  39031. "operationId" : "zhima.merchant.zmgo.template.create",
  39032. "responses" : {
  39033. "200" : {
  39034. "description" : "common response",
  39035. "content" : {
  39036. "application/json" : {
  39037. "schema" : {
  39038. "$ref" : "#/components/schemas/ZhimaMerchantZmgoTemplateCreateResponseModel"
  39039. }
  39040. }
  39041. }
  39042. },
  39043. "default" : {
  39044. "description" : "请求失败",
  39045. "content" : {
  39046. "application/json" : {
  39047. "schema" : {
  39048. "anyOf" : [ {
  39049. "$ref" : "#/components/schemas/CommonErrorType"
  39050. }, {
  39051. "$ref" : "#/components/schemas/ZhimaMerchantZmgoTemplateCreateErrorResponseModel"
  39052. } ]
  39053. }
  39054. }
  39055. }
  39056. }
  39057. },
  39058. "requestBody" : {
  39059. "content" : {
  39060. "application/json" : {
  39061. "schema" : {
  39062. "$ref" : "#/components/schemas/ZhimaMerchantZmgoTemplateCreateModel"
  39063. }
  39064. }
  39065. },
  39066. "required" : false
  39067. }
  39068. }
  39069. },
  39070. "/v3/zhima/merchant/zmgo/template/query" : {
  39071. "get" : {
  39072. "tags" : [ "zhima.merchant.zmgo.template" ],
  39073. "summary" : "芝麻GO模板查询",
  39074. "description" : "芝麻GO模板查询",
  39075. "operationId" : "zhima.merchant.zmgo.template.query",
  39076. "responses" : {
  39077. "200" : {
  39078. "description" : "common response",
  39079. "content" : {
  39080. "application/json" : {
  39081. "schema" : {
  39082. "$ref" : "#/components/schemas/ZhimaMerchantZmgoTemplateQueryResponseModel"
  39083. }
  39084. }
  39085. }
  39086. },
  39087. "default" : {
  39088. "description" : "请求失败",
  39089. "content" : {
  39090. "application/json" : {
  39091. "schema" : {
  39092. "anyOf" : [ {
  39093. "$ref" : "#/components/schemas/CommonErrorType"
  39094. }, {
  39095. "$ref" : "#/components/schemas/ZhimaMerchantZmgoTemplateQueryErrorResponseModel"
  39096. } ]
  39097. }
  39098. }
  39099. }
  39100. }
  39101. },
  39102. "parameters" : [ {
  39103. "name" : "template_no",
  39104. "in" : "query",
  39105. "description" : "模板ID,由创建模板接口返回结果提供",
  39106. "schema" : {
  39107. "type" : "string",
  39108. "example" : "ZMGO_TPL2021061601004538"
  39109. }
  39110. }, {
  39111. "name" : "partner_id",
  39112. "in" : "query",
  39113. "description" : "商户ID",
  39114. "schema" : {
  39115. "type" : "string",
  39116. "example" : "208830****697946"
  39117. }
  39118. } ]
  39119. }
  39120. },
  39121. "/v3/zoloz/authentication/customer/facemanage/create" : {
  39122. "post" : {
  39123. "tags" : [ "zoloz.authentication.customer.facemanage" ],
  39124. "summary" : "热脸入库",
  39125. "description" : "热脸入库",
  39126. "operationId" : "zoloz.authentication.customer.facemanage.create",
  39127. "responses" : {
  39128. "200" : {
  39129. "description" : "common response",
  39130. "content" : {
  39131. "application/json" : {
  39132. "schema" : {
  39133. "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFacemanageCreateResponseModel"
  39134. }
  39135. }
  39136. }
  39137. },
  39138. "default" : {
  39139. "description" : "请求失败",
  39140. "content" : {
  39141. "application/json" : {
  39142. "schema" : {
  39143. "anyOf" : [ {
  39144. "$ref" : "#/components/schemas/CommonErrorType"
  39145. }, {
  39146. "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFacemanageCreateErrorResponseModel"
  39147. } ]
  39148. }
  39149. }
  39150. }
  39151. }
  39152. },
  39153. "requestBody" : {
  39154. "content" : {
  39155. "application/json" : {
  39156. "schema" : {
  39157. "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFacemanageCreateModel"
  39158. }
  39159. }
  39160. },
  39161. "required" : false
  39162. }
  39163. }
  39164. },
  39165. "/v3/zoloz/authentication/customer/facemanage/delete" : {
  39166. "post" : {
  39167. "tags" : [ "zoloz.authentication.customer.facemanage" ],
  39168. "summary" : "热脸出库",
  39169. "description" : "出库逻辑",
  39170. "operationId" : "zoloz.authentication.customer.facemanage.delete",
  39171. "responses" : {
  39172. "200" : {
  39173. "description" : "common response",
  39174. "content" : {
  39175. "application/json" : {
  39176. "schema" : {
  39177. "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFacemanageDeleteResponseModel"
  39178. }
  39179. }
  39180. }
  39181. },
  39182. "default" : {
  39183. "description" : "请求失败",
  39184. "content" : {
  39185. "application/json" : {
  39186. "schema" : {
  39187. "anyOf" : [ {
  39188. "$ref" : "#/components/schemas/CommonErrorType"
  39189. }, {
  39190. "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFacemanageDeleteErrorResponseModel"
  39191. } ]
  39192. }
  39193. }
  39194. }
  39195. }
  39196. },
  39197. "requestBody" : {
  39198. "content" : {
  39199. "application/json" : {
  39200. "schema" : {
  39201. "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFacemanageDeleteModel"
  39202. }
  39203. }
  39204. },
  39205. "required" : false
  39206. }
  39207. }
  39208. },
  39209. "/v3/zoloz/authentication/customer/ftoken/query" : {
  39210. "post" : {
  39211. "tags" : [ "zoloz.authentication.customer.ftoken" ],
  39212. "summary" : "人脸ftoken查询消费接口",
  39213. "description" : "人脸ftoken查询消费接口",
  39214. "operationId" : "zoloz.authentication.customer.ftoken.query",
  39215. "responses" : {
  39216. "200" : {
  39217. "description" : "common response",
  39218. "content" : {
  39219. "application/json" : {
  39220. "schema" : {
  39221. "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFtokenQueryResponseModel"
  39222. }
  39223. }
  39224. }
  39225. },
  39226. "default" : {
  39227. "description" : "请求失败",
  39228. "content" : {
  39229. "application/json" : {
  39230. "schema" : {
  39231. "anyOf" : [ {
  39232. "$ref" : "#/components/schemas/CommonErrorType"
  39233. }, {
  39234. "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFtokenQueryErrorResponseModel"
  39235. } ]
  39236. }
  39237. }
  39238. }
  39239. }
  39240. },
  39241. "requestBody" : {
  39242. "content" : {
  39243. "application/json" : {
  39244. "schema" : {
  39245. "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFtokenQueryModel"
  39246. }
  39247. }
  39248. },
  39249. "required" : false
  39250. }
  39251. }
  39252. },
  39253. "/v3/zoloz/authentication/customer/smilepay/initialize" : {
  39254. "post" : {
  39255. "tags" : [ "zoloz.authentication.customer.smilepay" ],
  39256. "summary" : "人脸刷脸付初始化",
  39257. "description" : "人脸刷脸付初始化",
  39258. "operationId" : "zoloz.authentication.customer.smilepay.initialize",
  39259. "responses" : {
  39260. "200" : {
  39261. "description" : "common response",
  39262. "content" : {
  39263. "application/json" : {
  39264. "schema" : {
  39265. "$ref" : "#/components/schemas/ZolozAuthenticationCustomerSmilepayInitializeResponseModel"
  39266. }
  39267. }
  39268. }
  39269. },
  39270. "default" : {
  39271. "description" : "请求失败",
  39272. "content" : {
  39273. "application/json" : {
  39274. "schema" : {
  39275. "anyOf" : [ {
  39276. "$ref" : "#/components/schemas/CommonErrorType"
  39277. }, {
  39278. "$ref" : "#/components/schemas/ZolozAuthenticationCustomerSmilepayInitializeErrorResponseModel"
  39279. } ]
  39280. }
  39281. }
  39282. }
  39283. }
  39284. },
  39285. "requestBody" : {
  39286. "content" : {
  39287. "application/json" : {
  39288. "schema" : {
  39289. "$ref" : "#/components/schemas/ZolozAuthenticationCustomerSmilepayInitializeModel"
  39290. }
  39291. }
  39292. },
  39293. "required" : false
  39294. }
  39295. }
  39296. },
  39297. "/v3/zoloz/authentication/smilepay/initialize" : {
  39298. "post" : {
  39299. "tags" : [ "zoloz.authentication.smilepay" ],
  39300. "summary" : "刷脸支付初始化",
  39301. "description" : "通过该接口获取刷脸支付服务的初始化信息,详细字段描述请参考产品说明文档",
  39302. "operationId" : "zoloz.authentication.smilepay.initialize",
  39303. "responses" : {
  39304. "200" : {
  39305. "description" : "common response",
  39306. "content" : {
  39307. "application/json" : {
  39308. "schema" : {
  39309. "$ref" : "#/components/schemas/ZolozAuthenticationSmilepayInitializeResponseModel"
  39310. }
  39311. }
  39312. }
  39313. },
  39314. "default" : {
  39315. "description" : "请求失败",
  39316. "content" : {
  39317. "application/json" : {
  39318. "schema" : {
  39319. "anyOf" : [ {
  39320. "$ref" : "#/components/schemas/CommonErrorType"
  39321. }, {
  39322. "$ref" : "#/components/schemas/ZolozAuthenticationSmilepayInitializeErrorResponseModel"
  39323. } ]
  39324. }
  39325. }
  39326. }
  39327. }
  39328. },
  39329. "requestBody" : {
  39330. "content" : {
  39331. "application/json" : {
  39332. "schema" : {
  39333. "$ref" : "#/components/schemas/ZolozAuthenticationSmilepayInitializeModel"
  39334. }
  39335. }
  39336. },
  39337. "required" : false
  39338. }
  39339. }
  39340. }
  39341. },
  39342. "components" : {
  39343. "schemas" : {
  39344. "AbilityPageQueryDTO" : {
  39345. "type" : "object",
  39346. "properties" : {
  39347. "page_data" : {
  39348. "type" : "array",
  39349. "description" : "搜索运营列表的分页数据",
  39350. "items" : {
  39351. "$ref" : "#/components/schemas/SearchAbilityOrderData"
  39352. }
  39353. },
  39354. "page_num" : {
  39355. "type" : "string",
  39356. "description" : "当前页码,默认第一页",
  39357. "example" : "1"
  39358. },
  39359. "page_size" : {
  39360. "type" : "string",
  39361. "description" : "每页记录数,默认10",
  39362. "example" : "10"
  39363. },
  39364. "total_number" : {
  39365. "type" : "integer",
  39366. "description" : "记录总数",
  39367. "example" : "10"
  39368. }
  39369. }
  39370. },
  39371. "AccountLogItemResult" : {
  39372. "type" : "object",
  39373. "properties" : {
  39374. "account_log_id" : {
  39375. "type" : "string",
  39376. "description" : "支付宝账务流水号。对账使用,不脱敏",
  39377. "example" : "1***"
  39378. },
  39379. "alipay_order_no" : {
  39380. "type" : "string",
  39381. "description" : "支付宝订单号。对账使用,不脱敏",
  39382. "example" : "20190101***"
  39383. },
  39384. "balance" : {
  39385. "type" : "string",
  39386. "description" : "余额,仅供参考。由于架构原因,余额变动并不保证连续。也就是余额不一定等于上一笔余额减去当笔金额。但是会保证最终一致。",
  39387. "example" : "10000.00"
  39388. },
  39389. "bill_source" : {
  39390. "type" : "string",
  39391. "description" : "业务账单来源,资金收支对应的上游业务订单数据来源,确认业务订单出处。此字段供商户对账使用,不脱敏。",
  39392. "example" : "商家中心"
  39393. },
  39394. "biz_desc" : {
  39395. "type" : "string",
  39396. "description" : "业务描述,资金收支对应的详细业务场景信息。此字段供商户对账使用,不脱敏。",
  39397. "example" : "002***|交易退款"
  39398. },
  39399. "biz_nos" : {
  39400. "type" : "string",
  39401. "description" : "业务订单号,资金收支相关的业务场景订单号明细,字母大写;M:平台交易主单号,S:平台交易子单号,O:业务系统单据号(如退款订单号)。此字段供商户对账使用,不脱敏。",
  39402. "example" : "M{330***}|S{330***}|O{192***}"
  39403. },
  39404. "biz_orig_no" : {
  39405. "type" : "string",
  39406. "description" : "业务基础订单号,资金收支对应的原始业务订单唯一识别编号。此字段供商户对账使用,不脱敏。",
  39407. "example" : "330***"
  39408. },
  39409. "complement_info" : {
  39410. "type" : "string",
  39411. "description" : "账单的补全信息,用于特殊场景,普通商户不需要传值,对账时可忽略。",
  39412. "example" : "商家中心"
  39413. },
  39414. "direction" : {
  39415. "type" : "string",
  39416. "description" : "收入/支出。表示收支。amount是正数,返回“收入”。amount是负数,返回“支出”",
  39417. "example" : "收入"
  39418. },
  39419. "merchant_order_no" : {
  39420. "type" : "string",
  39421. "description" : "商户订单号,创建支付宝交易时传入的信息。对账使用,不脱敏",
  39422. "example" : "TX***"
  39423. },
  39424. "merchant_out_refund_no" : {
  39425. "type" : "string",
  39426. "description" : "支付宝交易商户退款请求号。对应商户在调用收单退款接口openApi请求传入的outRequestNo参数值",
  39427. "example" : "20211119***"
  39428. },
  39429. "other_account" : {
  39430. "type" : "string",
  39431. "description" : "对方账户",
  39432. "example" : "张*(a*@alipay.com)"
  39433. },
  39434. "store_name" : {
  39435. "type" : "string",
  39436. "description" : "球房信息",
  39437. "example" : "杭州一店"
  39438. },
  39439. "trans_amount" : {
  39440. "type" : "string",
  39441. "description" : "金额",
  39442. "example" : "1000.00"
  39443. },
  39444. "trans_dt" : {
  39445. "type" : "string",
  39446. "description" : "入账时间",
  39447. "example" : "2019-01-01 00:00:00"
  39448. },
  39449. "trans_memo" : {
  39450. "type" : "string",
  39451. "description" : "账务备注。由上游业务决定,不可依赖此字段进行对账",
  39452. "example" : "备注1"
  39453. },
  39454. "type" : {
  39455. "type" : "string",
  39456. "description" : "账务记录的类型,仅供参考",
  39457. "example" : "交易"
  39458. }
  39459. }
  39460. },
  39461. "AccountQuotaDetail" : {
  39462. "type" : "object",
  39463. "properties" : {
  39464. "quota_amount" : {
  39465. "type" : "integer",
  39466. "description" : "周期内的额度上限",
  39467. "example" : "50000"
  39468. },
  39469. "quota_dimension" : {
  39470. "type" : "string",
  39471. "description" : "额度周期,有限枚举",
  39472. "example" : "DAY"
  39473. },
  39474. "role" : {
  39475. "type" : "string",
  39476. "description" : "角色",
  39477. "example" : "PAYER"
  39478. }
  39479. }
  39480. },
  39481. "ActivityAppInfo" : {
  39482. "type" : "object",
  39483. "properties" : {
  39484. "mini_app_id" : {
  39485. "type" : "string",
  39486. "description" : "小程序id",
  39487. "example" : "2021238412323412"
  39488. }
  39489. }
  39490. },
  39491. "ActivityBaseInfo" : {
  39492. "type" : "object",
  39493. "properties" : {
  39494. "activity_id" : {
  39495. "type" : "string",
  39496. "description" : "活动id"
  39497. },
  39498. "activity_name" : {
  39499. "type" : "string",
  39500. "description" : "活动名称。 不对用户进行展示,仅供商家在后台管理活动使用。"
  39501. },
  39502. "activity_operation_status" : {
  39503. "type" : "string",
  39504. "description" : "活动操作状态。"
  39505. },
  39506. "activity_product_type" : {
  39507. "type" : "string",
  39508. "description" : "券活动产品类型"
  39509. },
  39510. "activity_status" : {
  39511. "type" : "string",
  39512. "description" : "活动状态。 已激活状态表示活动正常运行。已终止状态表示商家终止活动,不可再发放。"
  39513. },
  39514. "belong_merchant_info" : {
  39515. "$ref" : "#/components/schemas/BelongMerchantInfo"
  39516. },
  39517. "code_mode" : {
  39518. "type" : "string",
  39519. "description" : "码模式。 MERCHANT_UPLOAD:商户上传自定义code,发券时系统随机选取上传的券code发放 MERCHANT_API:发奖时指定券码发奖,此模式无须提前上传券码。"
  39520. },
  39521. "out_activity_id" : {
  39522. "type" : "string",
  39523. "description" : "外部活动ID"
  39524. }
  39525. }
  39526. },
  39527. "ActivityDiscountVoucher" : {
  39528. "type" : "object",
  39529. "properties" : {
  39530. "ceiling_amount" : {
  39531. "type" : "string",
  39532. "description" : "封顶金额。"
  39533. },
  39534. "discount" : {
  39535. "type" : "string",
  39536. "description" : "折扣率。"
  39537. },
  39538. "floor_amount" : {
  39539. "type" : "string",
  39540. "description" : "门槛金额。"
  39541. },
  39542. "goods_name" : {
  39543. "type" : "string",
  39544. "description" : "商品名称。说明:该字段可不填,填入 origin_amount 则必填。"
  39545. },
  39546. "origin_amount" : {
  39547. "type" : "string",
  39548. "description" : "原价。"
  39549. }
  39550. }
  39551. },
  39552. "ActivityExchangeVoucher" : {
  39553. "type" : "object",
  39554. "properties" : {
  39555. "amount" : {
  39556. "type" : "string",
  39557. "description" : "券的价值。"
  39558. },
  39559. "floor_amount" : {
  39560. "type" : "string",
  39561. "description" : "优惠门槛金额,表示只有当订单金额大于等于门槛金额时券才能使用。该字段为空时表示无门槛。 门槛金额的校验由服务商(商户)核销时自行校验,支付宝侧只做展示使用。 币种为人民币,单位为元。小数点以后最多保留两位。 设置门槛:取值范围:0.1<=x<= 50000。如果设置了门槛金额,则必须大于等于0.1,不可以等于0。"
  39562. },
  39563. "overdue_refundable" : {
  39564. "type" : "boolean",
  39565. "description" : "是否支持优惠券过期后,自动退款给用户。 不填默认否,枚举值: true:是 false:否 自动退款功能需要服务商在优惠券过期时,主动调用alipay.marketing.activity.order.refund接口进行退款。 如果配置优惠券时选择了过期自动退款,但是实际券过期后,服务商没有进行退款,那么用户投诉后,需要服务商进行解决。"
  39566. },
  39567. "refundable" : {
  39568. "type" : "boolean",
  39569. "description" : "购买的优惠券是否允许退款。 不填默认否,枚举值: true:是 false:否"
  39570. },
  39571. "sale_amount" : {
  39572. "type" : "string",
  39573. "description" : "用户购买优惠券需要支付的金额。"
  39574. }
  39575. }
  39576. },
  39577. "ActivityFixVoucher" : {
  39578. "type" : "object",
  39579. "properties" : {
  39580. "amount" : {
  39581. "type" : "string",
  39582. "description" : "面额,每张代金券可以抵扣的金额。"
  39583. },
  39584. "floor_amount" : {
  39585. "type" : "string",
  39586. "description" : "门槛金额。该字段不填写,认为无门槛。"
  39587. },
  39588. "goods_name" : {
  39589. "type" : "string",
  39590. "description" : "商品名称。"
  39591. }
  39592. }
  39593. },
  39594. "ActivityGoodsInfo" : {
  39595. "type" : "object",
  39596. "properties" : {
  39597. "goods_id" : {
  39598. "type" : "string",
  39599. "description" : "商品编码",
  39600. "example" : "111"
  39601. },
  39602. "goods_use_type" : {
  39603. "type" : "string",
  39604. "description" : "活动单品类型。 枚举值: AVAILABLE可用单品 UNAVAILABLE不可用单品",
  39605. "example" : "AVAILABLE"
  39606. }
  39607. }
  39608. },
  39609. "ActivityLiteInfo" : {
  39610. "type" : "object",
  39611. "properties" : {
  39612. "activity_base_info" : {
  39613. "$ref" : "#/components/schemas/ActivityBaseInfo"
  39614. },
  39615. "activity_id" : {
  39616. "type" : "string",
  39617. "description" : "活动 id。",
  39618. "example" : "2016042700826004508401111111"
  39619. },
  39620. "activity_name" : {
  39621. "type" : "string",
  39622. "description" : "活动名称。 不对支付宝用户进行展示,仅供商家在后台管理活动使用。",
  39623. "example" : "满10减1活动"
  39624. },
  39625. "activity_status" : {
  39626. "type" : "string",
  39627. "description" : "活动状态。",
  39628. "example" : "ACTIVE"
  39629. },
  39630. "belong_merchant_id" : {
  39631. "type" : "string",
  39632. "description" : "归属商户 PID。",
  39633. "example" : "2088202967380463"
  39634. },
  39635. "create_time" : {
  39636. "type" : "string",
  39637. "description" : "活动创建时间。",
  39638. "example" : "2017-01-01 00:00:01"
  39639. },
  39640. "publish_end_time" : {
  39641. "type" : "string",
  39642. "description" : "券发放结束时间。格式为:yyyy-MM-dd HH:mm:ss。",
  39643. "example" : "2017-01-29 23:59:59"
  39644. },
  39645. "publish_start_time" : {
  39646. "type" : "string",
  39647. "description" : "券发放开始时间。格式为:yyyy-MM-dd HH:mm:ss。",
  39648. "example" : "2017-01-01 00:00:01"
  39649. },
  39650. "voucher_available_scope_info" : {
  39651. "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
  39652. },
  39653. "voucher_customer_guide_info" : {
  39654. "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
  39655. },
  39656. "voucher_deduct_info" : {
  39657. "$ref" : "#/components/schemas/VoucherDeductInfo"
  39658. },
  39659. "voucher_display_lite_info" : {
  39660. "$ref" : "#/components/schemas/CommonVoucherDisplayLiteInfo"
  39661. },
  39662. "voucher_display_pattern_info" : {
  39663. "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
  39664. },
  39665. "voucher_send_mode_info" : {
  39666. "$ref" : "#/components/schemas/VoucherSendModeInfo"
  39667. },
  39668. "voucher_type" : {
  39669. "type" : "string",
  39670. "description" : "券类型。",
  39671. "example" : "FIX_VOUCHER"
  39672. },
  39673. "voucher_use_rule_info" : {
  39674. "$ref" : "#/components/schemas/VoucherUseRuleInfo"
  39675. },
  39676. "voucher_use_rule_lite_info" : {
  39677. "$ref" : "#/components/schemas/CommonVoucherUseRuleLiteInfo"
  39678. }
  39679. }
  39680. },
  39681. "ActivityMerchantInfo" : {
  39682. "type" : "object",
  39683. "properties" : {
  39684. "merchant_id" : {
  39685. "type" : "string",
  39686. "description" : "商户支付宝id",
  39687. "example" : "2088xx"
  39688. },
  39689. "merchant_id_type" : {
  39690. "type" : "string",
  39691. "description" : "商户支付宝id类型。\t枚举值\tPID 直连pid\tSMID 间连SMID",
  39692. "example" : "PID"
  39693. }
  39694. }
  39695. },
  39696. "ActivityShopInfo" : {
  39697. "type" : "object",
  39698. "properties" : {
  39699. "latitude" : {
  39700. "type" : "string",
  39701. "description" : "纬度,浮点型,小数点后最多保留6位",
  39702. "example" : "60.270001"
  39703. },
  39704. "longitude" : {
  39705. "type" : "string",
  39706. "description" : "经度,浮点型, 小数点后最多保留6位。",
  39707. "example" : "120.760001"
  39708. },
  39709. "shop_id" : {
  39710. "type" : "string",
  39711. "description" : "支付宝侧蚂蚁店铺 id。",
  39712. "example" : "2018011900502000000005124744"
  39713. },
  39714. "shop_name" : {
  39715. "type" : "string",
  39716. "description" : "店铺名称。",
  39717. "example" : "肯德基中关村店"
  39718. },
  39719. "shop_type" : {
  39720. "type" : "string",
  39721. "description" : "球房类型\tPAYMENT_SHOP 支付球房\tREAL_SHOP 代运营商业关系球房",
  39722. "example" : "PAYMENT_SHOP"
  39723. }
  39724. }
  39725. },
  39726. "ActivitySpecialVoucher" : {
  39727. "type" : "object",
  39728. "properties" : {
  39729. "floor_amount" : {
  39730. "type" : "string",
  39731. "description" : "门槛金额。"
  39732. },
  39733. "goods_name" : {
  39734. "type" : "string",
  39735. "description" : "商品名称。说明:该字段可不填,填入 origin_amount 则必填。"
  39736. },
  39737. "origin_amount" : {
  39738. "type" : "string",
  39739. "description" : "原价。"
  39740. },
  39741. "special_amount" : {
  39742. "type" : "string",
  39743. "description" : "特价,即:原价-特价=优惠金额。"
  39744. }
  39745. }
  39746. },
  39747. "AddressInfo" : {
  39748. "type" : "object",
  39749. "properties" : {
  39750. "address" : {
  39751. "type" : "string",
  39752. "description" : "地址。商户详细经营地址或人员所在地点"
  39753. },
  39754. "city_code" : {
  39755. "type" : "string",
  39756. "description" : "城市编码。\t蚂蚁店铺请按照<a href=\"https://mdn.alipayobjects.com/huamei_sm7gq8/afts/file/A*blT9RqSR9_gAAAAAAAAAAAAADuKQAQ/2022%E8%9A%82%E8%9A%81%E9%87%91%E6%9C%8D%E5%9C%B0%E5%8C%BA%E7%A0%81.xlsx\" target=\"_blank\">蚂蚁店铺地区码</a> 表格中填写。\t直付通商户请按照<a href=\"https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx \" target=\"_blank\">直付通商户地区码</a> 表格中内容填写。"
  39757. },
  39758. "district_code" : {
  39759. "type" : "string",
  39760. "description" : "区县编码。\t蚂蚁店铺请按照<a href=\"https://mdn.alipayobjects.com/huamei_sm7gq8/afts/file/A*blT9RqSR9_gAAAAAAAAAAAAADuKQAQ/2022%E8%9A%82%E8%9A%81%E9%87%91%E6%9C%8D%E5%9C%B0%E5%8C%BA%E7%A0%81.xlsx\" target=\"_blank\">蚂蚁店铺地区码</a> 表格中填写。\t直付通商户请按照<a href=\"https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx \" target=\"_blank\">直付通商户地区码</a> 表格中内容填写。"
  39761. },
  39762. "latitude" : {
  39763. "type" : "string",
  39764. "description" : "纬度,浮点型,小数点后最多保留6位\r\t如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker"
  39765. },
  39766. "longitude" : {
  39767. "type" : "string",
  39768. "description" : "经度,浮点型, 小数点后最多保留6位。\r\t如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker"
  39769. },
  39770. "poiid" : {
  39771. "type" : "string",
  39772. "description" : "高德poiid"
  39773. },
  39774. "province_code" : {
  39775. "type" : "string",
  39776. "description" : "省份编码。\t蚂蚁店铺请按照<a href=\"https://mdn.alipayobjects.com/huamei_sm7gq8/afts/file/A*blT9RqSR9_gAAAAAAAAAAAAADuKQAQ/2022%E8%9A%82%E8%9A%81%E9%87%91%E6%9C%8D%E5%9C%B0%E5%8C%BA%E7%A0%81.xlsx\" target=\"_blank\">蚂蚁店铺地区码</a> 表格中填写。\t直付通商户请按照<a href=\"https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx \" target=\"_blank\">直付通商户地区码</a> 表格中内容填写。"
  39777. },
  39778. "type" : {
  39779. "type" : "string",
  39780. "description" : "地址类型。取值范围:BUSINESS_ADDRESS:经营地址(默认)"
  39781. }
  39782. }
  39783. },
  39784. "AddressInfoDTO" : {
  39785. "type" : "object",
  39786. "properties" : {
  39787. "account_id" : {
  39788. "type" : "string",
  39789. "description" : "共同账户id,当入参传入共同账户id时返回该值",
  39790. "example" : "2088501312695783"
  39791. },
  39792. "address" : {
  39793. "type" : "string",
  39794. "description" : "详细地址",
  39795. "example" : "西溪路569号蚂蚁A空间6楼601"
  39796. },
  39797. "address_id" : {
  39798. "type" : "string",
  39799. "description" : "地址id",
  39800. "example" : "190303094020"
  39801. },
  39802. "city_code" : {
  39803. "type" : "string",
  39804. "description" : "市(国家统一行政规划编码)",
  39805. "example" : "330100"
  39806. },
  39807. "city_name" : {
  39808. "type" : "string",
  39809. "description" : "城市",
  39810. "example" : "杭州市"
  39811. },
  39812. "community" : {
  39813. "type" : "string",
  39814. "description" : "小区/楼宇",
  39815. "example" : "蚂蚁A空间"
  39816. },
  39817. "enterprise_id" : {
  39818. "type" : "string",
  39819. "description" : "企业id,当入参传入企业id时返回该值",
  39820. "example" : "2088501312695783"
  39821. },
  39822. "latitude" : {
  39823. "type" : "string",
  39824. "description" : "纬度",
  39825. "example" : "30.261121"
  39826. },
  39827. "longitude" : {
  39828. "type" : "string",
  39829. "description" : "经度",
  39830. "example" : "120.104735"
  39831. },
  39832. "mark" : {
  39833. "type" : "string",
  39834. "description" : "备注",
  39835. "example" : "备注"
  39836. },
  39837. "poi_id" : {
  39838. "type" : "string",
  39839. "description" : "地图poi",
  39840. "example" : "B0GKN4522Z"
  39841. }
  39842. }
  39843. },
  39844. "Advert" : {
  39845. "type" : "object",
  39846. "properties" : {
  39847. "advert_group" : {
  39848. "type" : "string",
  39849. "description" : "广告组标识",
  39850. "example" : "CG202008041013200064690"
  39851. },
  39852. "advert_id" : {
  39853. "type" : "string",
  39854. "description" : "广告位id",
  39855. "example" : "123"
  39856. },
  39857. "advert_items" : {
  39858. "type" : "array",
  39859. "description" : "广告位轮播内容列表",
  39860. "items" : {
  39861. "$ref" : "#/components/schemas/AdvertItem"
  39862. }
  39863. },
  39864. "group_id" : {
  39865. "type" : "string",
  39866. "description" : "投放人群分组id",
  39867. "example" : "RQ20191025100100595279"
  39868. },
  39869. "mobile_client_type" : {
  39870. "type" : "string",
  39871. "description" : "手机客户端类型,iphone、android、wp,空为不区分机型",
  39872. "example" : "android"
  39873. }
  39874. }
  39875. },
  39876. "AdvertItem" : {
  39877. "type" : "object",
  39878. "properties" : {
  39879. "img_url" : {
  39880. "type" : "string",
  39881. "description" : "广告图片url, 尺寸为996*240,最大不超过5M,支持格式:.jpg、.png ,请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url"
  39882. },
  39883. "link_type" : {
  39884. "type" : "string",
  39885. "description" : "跳转类型,网页:HTTP、小程序:APP,不传默认HTTP"
  39886. },
  39887. "link_url" : {
  39888. "type" : "string",
  39889. "description" : "跳转链接,点击广告图片跳到的链接url"
  39890. },
  39891. "name" : {
  39892. "type" : "string",
  39893. "description" : "广告帧名称,可选"
  39894. }
  39895. }
  39896. },
  39897. "AgentChatInfo" : {
  39898. "type" : "object",
  39899. "properties" : {
  39900. "ccs_instance_id" : {
  39901. "type" : "string",
  39902. "description" : "数据权限id(租户实例id)"
  39903. },
  39904. "extended_group_ids" : {
  39905. "type" : "array",
  39906. "description" : "在线扩展技能组id列表",
  39907. "items" : {
  39908. "type" : "string"
  39909. }
  39910. },
  39911. "group_id" : {
  39912. "type" : "string",
  39913. "description" : "在线技能组id"
  39914. },
  39915. "level_id" : {
  39916. "type" : "string",
  39917. "description" : "在线服务等级"
  39918. }
  39919. }
  39920. },
  39921. "AgentHotlineInfo" : {
  39922. "type" : "object",
  39923. "properties" : {
  39924. "ccs_instance_id" : {
  39925. "type" : "string",
  39926. "description" : "数据权限id(租户实例id)"
  39927. },
  39928. "group_ids" : {
  39929. "type" : "array",
  39930. "description" : "热线技能组id",
  39931. "items" : {
  39932. "type" : "string"
  39933. }
  39934. }
  39935. }
  39936. },
  39937. "AgentScheduleLog" : {
  39938. "type" : "object",
  39939. "properties" : {
  39940. "agent_id" : {
  39941. "type" : "string",
  39942. "description" : "客服id",
  39943. "example" : "2018101801902073"
  39944. },
  39945. "agent_name" : {
  39946. "type" : "string",
  39947. "description" : "客服名称",
  39948. "example" : "张三"
  39949. },
  39950. "create_time" : {
  39951. "type" : "string",
  39952. "description" : "状态变更发生时间,采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'",
  39953. "example" : "2020-10-23 09:10:23"
  39954. },
  39955. "duration" : {
  39956. "type" : "integer",
  39957. "description" : "状态持续时长,单位秒",
  39958. "example" : "120"
  39959. },
  39960. "end_time" : {
  39961. "type" : "string",
  39962. "description" : "状态变更结束时间,采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'",
  39963. "example" : "2020-10-23 09:20:53"
  39964. },
  39965. "external_user_no" : {
  39966. "type" : "string",
  39967. "description" : "isv或商户系统中对应的客服工号",
  39968. "example" : "0012"
  39969. },
  39970. "id" : {
  39971. "type" : "string",
  39972. "description" : "客服状态变更流水id",
  39973. "example" : "10223"
  39974. },
  39975. "last_status" : {
  39976. "type" : "string",
  39977. "description" : "变更前状态",
  39978. "example" : "离线"
  39979. },
  39980. "start_time" : {
  39981. "type" : "string",
  39982. "description" : "状态变更开始时间,采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'",
  39983. "example" : "2020-10-23 09:10:23"
  39984. },
  39985. "status" : {
  39986. "type" : "string",
  39987. "description" : "变更后状态",
  39988. "example" : "上线"
  39989. }
  39990. }
  39991. },
  39992. "AgentVO" : {
  39993. "type" : "object",
  39994. "properties" : {
  39995. "answering_mode" : {
  39996. "type" : "string",
  39997. "description" : "热线接入方式",
  39998. "example" : "0"
  39999. },
  40000. "avatar" : {
  40001. "type" : "string",
  40002. "description" : "头像的oss file key",
  40003. "example" : "testfile"
  40004. },
  40005. "ccs_instance_ids" : {
  40006. "type" : "array",
  40007. "description" : "客服归属的部门id列表",
  40008. "items" : {
  40009. "type" : "string"
  40010. },
  40011. "example" : "[\"XAHSNRBS\"]"
  40012. },
  40013. "chat_config" : {
  40014. "type" : "array",
  40015. "description" : "在线技能组信息",
  40016. "items" : {
  40017. "$ref" : "#/components/schemas/AgentChatInfo"
  40018. }
  40019. },
  40020. "create_time" : {
  40021. "type" : "string",
  40022. "description" : "创建时间, 标准时间格式:yyyy-MM-dd HH:mm:ss",
  40023. "example" : "2020-10-01 11:11:11"
  40024. },
  40025. "creator_id" : {
  40026. "type" : "string",
  40027. "description" : "创建人id",
  40028. "example" : "2019032101896769"
  40029. },
  40030. "dingtalk_user_id" : {
  40031. "type" : "string",
  40032. "description" : "钉钉user_id(绑定钉钉的用户该字段非空)",
  40033. "example" : "1293894912"
  40034. },
  40035. "email" : {
  40036. "type" : "string",
  40037. "description" : "客服邮箱",
  40038. "example" : "test@163.com"
  40039. },
  40040. "external_id" : {
  40041. "type" : "string",
  40042. "description" : "外部系统用户,比如金融云的用户id、支付宝账号id",
  40043. "example" : "2088xxx"
  40044. },
  40045. "hotline_config" : {
  40046. "type" : "array",
  40047. "description" : "热线技能组信息",
  40048. "items" : {
  40049. "$ref" : "#/components/schemas/AgentHotlineInfo"
  40050. }
  40051. },
  40052. "id" : {
  40053. "type" : "string",
  40054. "description" : "客服唯一标识id",
  40055. "example" : "2019032101896769"
  40056. },
  40057. "job_number" : {
  40058. "type" : "string",
  40059. "description" : "客服工号",
  40060. "example" : "0002"
  40061. },
  40062. "last_login_time" : {
  40063. "type" : "string",
  40064. "description" : "最后登录时间,标准时间格式:yyyy-MM-dd HH:mm:ss",
  40065. "example" : "2020-10-20 07:40:31"
  40066. },
  40067. "mobile" : {
  40068. "type" : "string",
  40069. "description" : "客服手机号",
  40070. "example" : "13812345678"
  40071. },
  40072. "nick_name" : {
  40073. "type" : "string",
  40074. "description" : "客服昵称",
  40075. "example" : "风清扬"
  40076. },
  40077. "profile" : {
  40078. "type" : "string",
  40079. "description" : "个人简介",
  40080. "example" : "我是玉树临风一表人才的张三"
  40081. },
  40082. "real_name" : {
  40083. "type" : "string",
  40084. "description" : "客服姓名",
  40085. "example" : "张三"
  40086. },
  40087. "role_ids" : {
  40088. "type" : "array",
  40089. "description" : "客服角色id列表",
  40090. "items" : {
  40091. "$ref" : "#/components/schemas/RoleId"
  40092. }
  40093. },
  40094. "status" : {
  40095. "type" : "string",
  40096. "description" : "状态:NORMAL,DELETE",
  40097. "example" : "NORMAL"
  40098. },
  40099. "type" : {
  40100. "type" : "string",
  40101. "description" : "用户类型:NORMAL(普通客服),ADMIN(超级管理员,不能被删除)",
  40102. "example" : "NORMAL"
  40103. },
  40104. "update_time" : {
  40105. "type" : "string",
  40106. "description" : "最后修改时间, 标准时间格式:yyyy-MM-dd HH:mm:ss",
  40107. "example" : "2020-10-01 11:11:11"
  40108. },
  40109. "updater_id" : {
  40110. "type" : "string",
  40111. "description" : "最后修改人id",
  40112. "example" : "2019032101896769"
  40113. }
  40114. }
  40115. },
  40116. "AgreementDetail" : {
  40117. "type" : "object",
  40118. "properties" : {
  40119. "agreement_no" : {
  40120. "type" : "string",
  40121. "description" : "协议号",
  40122. "example" : "20120000000000000000"
  40123. },
  40124. "status" : {
  40125. "type" : "string",
  40126. "description" : "协议状态",
  40127. "example" : "NORMAL"
  40128. }
  40129. }
  40130. },
  40131. "AgreementParams" : {
  40132. "type" : "object",
  40133. "properties" : {
  40134. "agreement_no" : {
  40135. "type" : "string",
  40136. "description" : "支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 )",
  40137. "example" : "20170322450983769228"
  40138. },
  40139. "apply_token" : {
  40140. "type" : "string",
  40141. "description" : "鉴权申请token,其格式和内容,由支付宝定义。在需要做支付鉴权校验时,该参数不能为空。",
  40142. "example" : "MDEDUCT0068292ca377d1d44b65fa24ec9cd89132f"
  40143. },
  40144. "auth_confirm_no" : {
  40145. "type" : "string",
  40146. "description" : "鉴权确认码,在需要做支付鉴权校验时,该参数不能为空",
  40147. "example" : "423979"
  40148. },
  40149. "deduct_permission" : {
  40150. "type" : "string",
  40151. "description" : "商户代扣扣款许可",
  40152. "example" : "2021571176714791277815457854545"
  40153. }
  40154. }
  40155. },
  40156. "AgreementQuotaModifyList" : {
  40157. "type" : "object",
  40158. "properties" : {
  40159. "agreement_no" : {
  40160. "type" : "string",
  40161. "description" : "授权协议号",
  40162. "example" : "20205321001042231004"
  40163. },
  40164. "quota_details" : {
  40165. "type" : "array",
  40166. "description" : "设置额度明细",
  40167. "items" : {
  40168. "$ref" : "#/components/schemas/ModifyQuotaDetails"
  40169. }
  40170. }
  40171. }
  40172. },
  40173. "AliosOpenAutoInfoQueryErrorResponseModel" : {
  40174. "required" : [ "code", "message" ],
  40175. "type" : "object",
  40176. "properties" : {
  40177. "code" : {
  40178. "type" : "string",
  40179. "description" : "错误码",
  40180. "enum" : [ "ISV_VERIFICATION_FAILED", "NOT_FOUND", "BIZ_ERROR", "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  40181. },
  40182. "links" : {
  40183. "type" : "string",
  40184. "description" : "解决方案链接"
  40185. },
  40186. "message" : {
  40187. "type" : "string",
  40188. "description" : "错误描述"
  40189. }
  40190. }
  40191. },
  40192. "AliosOpenAutoInfoQueryResponseModel" : {
  40193. "type" : "object",
  40194. "properties" : {
  40195. "engine_no" : {
  40196. "type" : "string",
  40197. "description" : "发动机号",
  40198. "example" : "234534634523"
  40199. },
  40200. "license_no" : {
  40201. "type" : "string",
  40202. "description" : "车牌号",
  40203. "example" : "京FW12A7"
  40204. },
  40205. "user_activation_time" : {
  40206. "type" : "string",
  40207. "description" : "用户激活时间",
  40208. "example" : "2020-04-29 15:53:11"
  40209. },
  40210. "vehicle_type" : {
  40211. "type" : "string",
  40212. "description" : "车辆类型",
  40213. "example" : "02"
  40214. },
  40215. "vin" : {
  40216. "type" : "string",
  40217. "description" : "车辆识别号码",
  40218. "example" : "T1D234E567A890H"
  40219. }
  40220. }
  40221. },
  40222. "AlipayBossFncInvoiceApplyErrorResponseModel" : {
  40223. "required" : [ "code", "message" ],
  40224. "type" : "object",
  40225. "properties" : {
  40226. "code" : {
  40227. "type" : "string",
  40228. "description" : "错误码",
  40229. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
  40230. },
  40231. "links" : {
  40232. "type" : "string",
  40233. "description" : "解决方案链接"
  40234. },
  40235. "message" : {
  40236. "type" : "string",
  40237. "description" : "错误描述"
  40238. }
  40239. }
  40240. },
  40241. "AlipayBossFncInvoiceApplyModel" : {
  40242. "type" : "object",
  40243. "properties" : {
  40244. "biz_id" : {
  40245. "type" : "string",
  40246. "description" : "调用方身份识别标记(应用名称) 与业务单据号联合唯一",
  40247. "example" : "SETTLE_MIDDLE_GROUND"
  40248. },
  40249. "biz_no" : {
  40250. "type" : "string",
  40251. "description" : "业务单据号,业务流水号",
  40252. "example" : "47674d29cadd425a7eeb3ae4b51af7d5_765915"
  40253. },
  40254. "invoice_amt" : {
  40255. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  40256. },
  40257. "invoice_type" : {
  40258. "type" : "string",
  40259. "description" : "申请开票类型,01:专票;02:普票",
  40260. "example" : "01"
  40261. },
  40262. "memo" : {
  40263. "type" : "string",
  40264. "description" : "备注",
  40265. "example" : "备注"
  40266. },
  40267. "mthtly_bill_nos" : {
  40268. "type" : "array",
  40269. "description" : "需开票的应收月账单号",
  40270. "items" : {
  40271. "type" : "string"
  40272. },
  40273. "example" : "2018060510122000040400841100996001"
  40274. },
  40275. "operator" : {
  40276. "type" : "string",
  40277. "description" : "申请人的uid号",
  40278. "example" : "208812345677"
  40279. },
  40280. "out_biz_type" : {
  40281. "type" : "string",
  40282. "description" : "01主站,02芝麻,03金融云",
  40283. "example" : "03"
  40284. }
  40285. }
  40286. },
  40287. "AlipayBossFncInvoiceApplyResponseModel" : {
  40288. "type" : "object",
  40289. "properties" : {
  40290. "result_set" : {
  40291. "type" : "string",
  40292. "description" : "开票申请ID,唯一性ID",
  40293. "example" : "2017090710122000473800320000049574"
  40294. }
  40295. }
  40296. },
  40297. "AlipayBossFncInvoiceBatchqueryErrorResponseModel" : {
  40298. "required" : [ "code", "message" ],
  40299. "type" : "object",
  40300. "properties" : {
  40301. "code" : {
  40302. "type" : "string",
  40303. "description" : "错误码",
  40304. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
  40305. },
  40306. "links" : {
  40307. "type" : "string",
  40308. "description" : "解决方案链接"
  40309. },
  40310. "message" : {
  40311. "type" : "string",
  40312. "description" : "错误描述"
  40313. }
  40314. }
  40315. },
  40316. "AlipayBossFncInvoiceBatchqueryModel" : {
  40317. "type" : "object",
  40318. "properties" : {
  40319. "apply_order_id" : {
  40320. "type" : "string",
  40321. "description" : "开票申请ID,唯一标识开票申请表的ID",
  40322. "example" : "2017090710122000473800320000049574"
  40323. },
  40324. "buyer_invoice_title" : {
  40325. "type" : "string",
  40326. "description" : "买方发票抬头,用于打印在发票上",
  40327. "example" : "联想 ( 上海 ) 电子科技有限公司"
  40328. },
  40329. "buyer_ipid" : {
  40330. "type" : "string",
  40331. "description" : "对应发票商户的ipId,在主站标示mid,在其他环境标示ip_id。",
  40332. "example" : "10000004"
  40333. },
  40334. "buyer_ipids" : {
  40335. "type" : "array",
  40336. "description" : "购方商户ID集合",
  40337. "items" : {
  40338. "type" : "string"
  40339. },
  40340. "example" : "2345643"
  40341. },
  40342. "buyer_iprole_id" : {
  40343. "type" : "string",
  40344. "description" : "商户结算的ipRoleId,表示商户的结算对象,在主站表示pid。",
  40345. "example" : "2088621524618252"
  40346. },
  40347. "buyer_iprole_ids" : {
  40348. "type" : "array",
  40349. "description" : "购方PID集合",
  40350. "items" : {
  40351. "type" : "string"
  40352. },
  40353. "example" : "2088621524618252"
  40354. },
  40355. "inst_id" : {
  40356. "type" : "string",
  40357. "description" : "对应发票所在OU的id,用于标示该发票所述的OU。",
  40358. "example" : "Z50"
  40359. },
  40360. "invoice_channel" : {
  40361. "type" : "string",
  40362. "description" : "开票渠道 01 线上;02 线下",
  40363. "example" : "01"
  40364. },
  40365. "invoice_code" : {
  40366. "type" : "string",
  40367. "description" : "发票代码,税务部门给予发票的编码",
  40368. "example" : "031001600211"
  40369. },
  40370. "invoice_create_date_begin" : {
  40371. "type" : "string",
  40372. "description" : "发票创建日期【起始日期,格式yyyyMMdd】",
  40373. "example" : "20180723"
  40374. },
  40375. "invoice_create_date_end" : {
  40376. "type" : "string",
  40377. "description" : "发票创建日期【结束日期,格式yyyyMMdd】",
  40378. "example" : "20180723"
  40379. },
  40380. "invoice_ids" : {
  40381. "type" : "array",
  40382. "description" : "发票ID集合,发票ID,唯一标示一张发票的ID",
  40383. "items" : {
  40384. "type" : "string"
  40385. },
  40386. "example" : "2017011210122000494000670000000001"
  40387. },
  40388. "invoice_material" : {
  40389. "type" : "string",
  40390. "description" : "开票介质 01电子 02纸质",
  40391. "example" : "01"
  40392. },
  40393. "invoice_no" : {
  40394. "type" : "string",
  40395. "description" : "发票号码,税务部门给予发票的编码",
  40396. "example" : "86230814"
  40397. },
  40398. "invoice_open_date_begin" : {
  40399. "type" : "string",
  40400. "description" : "发票开票日期【起始日期,格式yyyyMMdd】",
  40401. "example" : "20180723"
  40402. },
  40403. "invoice_open_date_end" : {
  40404. "type" : "string",
  40405. "description" : "发票开票日期【结束日期,格式yyyyMMdd】",
  40406. "example" : "20180723"
  40407. },
  40408. "invoice_status" : {
  40409. "type" : "array",
  40410. "description" : "发票状态:用于标示发票当前的状态,状态类型以及相关含义:01 待开票;02 开票中;03 已开票;04 作废中;05 已作废;06 红冲中;07 已红冲;08 部分红冲;09 无效",
  40411. "items" : {
  40412. "type" : "string"
  40413. },
  40414. "example" : "01"
  40415. },
  40416. "invoice_types" : {
  40417. "type" : "array",
  40418. "description" : "发票类型,01专票 02普票 03营业税发票 04国际形式发票 05其它发票",
  40419. "items" : {
  40420. "type" : "string"
  40421. },
  40422. "example" : "01"
  40423. },
  40424. "is_online" : {
  40425. "type" : "string",
  40426. "description" : "是否能在线开票 Y能 N不能",
  40427. "example" : "Y"
  40428. },
  40429. "is_red" : {
  40430. "type" : "string",
  40431. "description" : "是否红字 Y红字 N蓝字",
  40432. "example" : "N"
  40433. },
  40434. "mail_status" : {
  40435. "type" : "array",
  40436. "description" : "邮寄状态 01 待邮寄;02 已邮寄;03 退回中;04 已退回",
  40437. "items" : {
  40438. "type" : "string"
  40439. },
  40440. "example" : "01"
  40441. },
  40442. "monthly_bill_no" : {
  40443. "type" : "string",
  40444. "description" : "月账单号",
  40445. "example" : "2017090510122000040400320000017749"
  40446. },
  40447. "page_no" : {
  40448. "type" : "integer",
  40449. "description" : "起始页,分页时必须提供",
  40450. "example" : "1"
  40451. },
  40452. "page_size" : {
  40453. "type" : "integer",
  40454. "description" : "每页显示数,分页时必须提供",
  40455. "example" : "20"
  40456. },
  40457. "tracking_no" : {
  40458. "type" : "string",
  40459. "description" : "快递单号",
  40460. "example" : "20170112101"
  40461. }
  40462. }
  40463. },
  40464. "AlipayBossFncInvoiceBatchqueryResponseModel" : {
  40465. "type" : "object",
  40466. "properties" : {
  40467. "amt" : {
  40468. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  40469. },
  40470. "current_page" : {
  40471. "type" : "integer",
  40472. "description" : "当前页码",
  40473. "example" : "123456"
  40474. },
  40475. "items_page" : {
  40476. "type" : "integer",
  40477. "description" : "每页条数",
  40478. "example" : "123456"
  40479. },
  40480. "result_set" : {
  40481. "type" : "array",
  40482. "description" : "结果对象,发票对象的集合",
  40483. "items" : {
  40484. "$ref" : "#/components/schemas/ArInvoiceOpenApiResponse"
  40485. }
  40486. },
  40487. "total_items" : {
  40488. "type" : "integer",
  40489. "description" : "查询到的结果总数",
  40490. "example" : "123456"
  40491. },
  40492. "total_pages" : {
  40493. "type" : "integer",
  40494. "description" : "总页数",
  40495. "example" : "123456"
  40496. }
  40497. }
  40498. },
  40499. "AlipayBossFncInvoiceQueryErrorResponseModel" : {
  40500. "required" : [ "code", "message" ],
  40501. "type" : "object",
  40502. "properties" : {
  40503. "code" : {
  40504. "type" : "string",
  40505. "description" : "错误码",
  40506. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  40507. },
  40508. "links" : {
  40509. "type" : "string",
  40510. "description" : "解决方案链接"
  40511. },
  40512. "message" : {
  40513. "type" : "string",
  40514. "description" : "错误描述"
  40515. }
  40516. }
  40517. },
  40518. "AlipayBossFncInvoiceQueryResponseModel" : {
  40519. "type" : "object",
  40520. "properties" : {
  40521. "result_set" : {
  40522. "$ref" : "#/components/schemas/ArInvoiceOpenApiResponse"
  40523. }
  40524. }
  40525. },
  40526. "AlipayBossFncInvoicereceiptBatchqueryErrorResponseModel" : {
  40527. "required" : [ "code", "message" ],
  40528. "type" : "object",
  40529. "properties" : {
  40530. "code" : {
  40531. "type" : "string",
  40532. "description" : "错误码",
  40533. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  40534. },
  40535. "links" : {
  40536. "type" : "string",
  40537. "description" : "解决方案链接"
  40538. },
  40539. "message" : {
  40540. "type" : "string",
  40541. "description" : "错误描述"
  40542. }
  40543. }
  40544. },
  40545. "AlipayBossFncInvoicereceiptBatchqueryModel" : {
  40546. "type" : "object",
  40547. "properties" : {
  40548. "bill_nos" : {
  40549. "type" : "array",
  40550. "description" : "月账单号集合,唯一性ID集合,月账单表唯一主键ID集合",
  40551. "items" : {
  40552. "type" : "string"
  40553. },
  40554. "example" : "2015050910120900000001120000000001"
  40555. },
  40556. "out_biz_type" : {
  40557. "type" : "string",
  40558. "description" : "来源类型,01:主站;02:芝麻;03:金融云;04:微贷",
  40559. "example" : "03"
  40560. }
  40561. }
  40562. },
  40563. "AlipayBossFncInvoicereceiptBatchqueryResponseModel" : {
  40564. "type" : "object",
  40565. "properties" : {
  40566. "result_set" : {
  40567. "type" : "array",
  40568. "description" : "返回结果对象:可开票单据",
  40569. "items" : {
  40570. "$ref" : "#/components/schemas/ArInvoiceReceiptOpenApiResponse"
  40571. }
  40572. },
  40573. "total_inv_amt" : {
  40574. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  40575. },
  40576. "total_inved_amt" : {
  40577. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  40578. },
  40579. "total_link_invoice_amt" : {
  40580. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  40581. }
  40582. }
  40583. },
  40584. "AlipayBossFncInvoicereceiptCreateErrorResponseModel" : {
  40585. "required" : [ "code", "message" ],
  40586. "type" : "object",
  40587. "properties" : {
  40588. "code" : {
  40589. "type" : "string",
  40590. "description" : "错误码",
  40591. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
  40592. },
  40593. "links" : {
  40594. "type" : "string",
  40595. "description" : "解决方案链接"
  40596. },
  40597. "message" : {
  40598. "type" : "string",
  40599. "description" : "错误描述"
  40600. }
  40601. }
  40602. },
  40603. "AlipayBossFncInvoicereceiptCreateModel" : {
  40604. "type" : "object",
  40605. "properties" : {
  40606. "event_code" : {
  40607. "type" : "string",
  40608. "description" : "账单金额变更消息事件码\r\tAR_MTHLY_BILL_CREATE:应收账单创建,\r\tAR_MTHLY_BILL_CHANGE:应收金额更新",
  40609. "example" : "AR_MTHLY_BILL_CREATE"
  40610. },
  40611. "event_type" : {
  40612. "type" : "string",
  40613. "description" : "账单金额变更消息事件类型\r\tCREATE:创建事件,UPDATE:更新事件",
  40614. "example" : "CREATE"
  40615. },
  40616. "monthly_bill" : {
  40617. "$ref" : "#/components/schemas/ArMonthlyBillDTO"
  40618. },
  40619. "msg_id" : {
  40620. "type" : "string",
  40621. "description" : "事件全局id,可以使用uuid",
  40622. "example" : "12345678996434444"
  40623. },
  40624. "out_biz_type" : {
  40625. "type" : "string",
  40626. "description" : "消息来源 01:主站,02:芝麻,03:金融云,04:微贷",
  40627. "example" : "03"
  40628. }
  40629. }
  40630. },
  40631. "AlipayBossFncInvoicereceiptCreateResponseModel" : {
  40632. "type" : "object"
  40633. },
  40634. "AlipayBossFncUserinvoiceinfoCreateErrorResponseModel" : {
  40635. "required" : [ "code", "message" ],
  40636. "type" : "object",
  40637. "properties" : {
  40638. "code" : {
  40639. "type" : "string",
  40640. "description" : "错误码",
  40641. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
  40642. },
  40643. "links" : {
  40644. "type" : "string",
  40645. "description" : "解决方案链接"
  40646. },
  40647. "message" : {
  40648. "type" : "string",
  40649. "description" : "错误描述"
  40650. }
  40651. }
  40652. },
  40653. "AlipayBossFncUserinvoiceinfoCreateModel" : {
  40654. "type" : "object",
  40655. "properties" : {
  40656. "accept_electronic" : {
  40657. "type" : "boolean",
  40658. "description" : "是否接受电子票 true:是,false:否",
  40659. "example" : "false"
  40660. },
  40661. "address" : {
  40662. "type" : "string",
  40663. "description" : "公司注册地址,公司营业执照上登记的住址,一般纳税人必须填写,小规模纳税人无需填写",
  40664. "example" : "武汉市武昌区中北路7号"
  40665. },
  40666. "addressing" : {
  40667. "type" : "boolean",
  40668. "description" : "开票资料pid寻址方式 true:pid寻址mid,优先以mid维度保存开票资料,若无mid则以pid维度保存开票资料 false:不寻址mid,以pid维度保存开票资料;非主站商户体系都是以pid(ipRoleId)维度保存开票资料,该值直接填为false",
  40669. "example" : "false"
  40670. },
  40671. "auto" : {
  40672. "type" : "boolean",
  40673. "description" : "是否自动申请开票 true:是,false:否",
  40674. "example" : "false"
  40675. },
  40676. "bank_account" : {
  40677. "type" : "string",
  40678. "description" : "银行账户,公司银行账号\r\t一般纳税人必须填写,小规模纳税人无需填写",
  40679. "example" : "3602201309100137669"
  40680. },
  40681. "bank_name" : {
  40682. "type" : "string",
  40683. "description" : "开户行,办理银行开户手续的营业网点\r\t一般纳税人必须填写,小规模纳税人无需填写",
  40684. "example" : "中国工商银行广州市第二支行"
  40685. },
  40686. "business_licence_url" : {
  40687. "type" : "string",
  40688. "description" : "营业执照地址,营业执照上传oss上的地址",
  40689. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
  40690. },
  40691. "hold" : {
  40692. "type" : "boolean",
  40693. "description" : "是否暂停开票,商户添加的开票资料就是不暂停开票,如果后续要暂停开票,只能去结算中台处理。",
  40694. "example" : "false"
  40695. },
  40696. "ip_role_id" : {
  40697. "type" : "string",
  40698. "description" : "商户的pid(ipRoleId)",
  40699. "example" : "2088001007243670"
  40700. },
  40701. "open_account_permit_url" : {
  40702. "type" : "string",
  40703. "description" : "银行开户许可证附件,银行开户许可证上传oss上的地址",
  40704. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
  40705. },
  40706. "operator" : {
  40707. "type" : "string",
  40708. "description" : "当前操作人",
  40709. "example" : "李某某"
  40710. },
  40711. "operator_type" : {
  40712. "type" : "string",
  40713. "description" : "当前操作人类型,01:商户 02:管理员(小二)",
  40714. "example" : "02"
  40715. },
  40716. "other_qualification_url" : {
  40717. "type" : "string",
  40718. "description" : "其它资质证明地址,其他资质证明附件上传oss上的地址",
  40719. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
  40720. },
  40721. "ou" : {
  40722. "type" : "boolean",
  40723. "description" : "外部只允许添加商户开票资料,该值填写为false",
  40724. "example" : "false"
  40725. },
  40726. "tax_no" : {
  40727. "type" : "string",
  40728. "description" : "纳税人识别号,税务登记证上的号码。一般纳税人必须填写,小规模纳税人如果是商户也必须填写,个人无需填写",
  40729. "example" : "310113000782689"
  40730. },
  40731. "tax_payer_quali_valid" : {
  40732. "type" : "string",
  40733. "description" : "纳税人资格开始时间 (格式:时间戳)\r\t一般纳税人必须填写,小规模纳税人无需填写",
  40734. "example" : "1533039333744"
  40735. },
  40736. "tax_payer_qualification" : {
  40737. "type" : "string",
  40738. "description" : "纳税人资格种类,01:一般纳税人;02:小规模纳税人;03:国际商户",
  40739. "example" : "01"
  40740. },
  40741. "tax_qualification_url" : {
  40742. "type" : "string",
  40743. "description" : "一般纳税人资格证书地址,一般纳税人资格证书上传oss上的地址",
  40744. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
  40745. },
  40746. "tax_reg_cert_url" : {
  40747. "type" : "string",
  40748. "description" : "税务登记证地址,税务登记证上传oss上的地址",
  40749. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
  40750. },
  40751. "telephone" : {
  40752. "type" : "string",
  40753. "description" : "公司注册电话(手机号和座机均可)\r\t一般纳税人必须填写,小规模纳税人无需填写",
  40754. "example" : "021-56518888"
  40755. },
  40756. "title" : {
  40757. "type" : "string",
  40758. "description" : "发票抬头,票面信息上的抬头信息",
  40759. "example" : "上海大众汽车有限公司"
  40760. },
  40761. "user_mail_info_order_list" : {
  40762. "type" : "array",
  40763. "description" : "收件人列表,若不修改此项可以不填\r\t选择非电子票时,邮寄信息必填,且保证邮寄信息的ipRoleId和开票资料的ipRoleId相等",
  40764. "items" : {
  40765. "$ref" : "#/components/schemas/UserMailInfoOrder"
  40766. }
  40767. }
  40768. }
  40769. },
  40770. "AlipayBossFncUserinvoiceinfoCreateResponseModel" : {
  40771. "type" : "object",
  40772. "properties" : {
  40773. "result_set" : {
  40774. "type" : "string",
  40775. "description" : "开票资料id,唯一性ID",
  40776. "example" : "2018060810122000544800670000008977"
  40777. }
  40778. }
  40779. },
  40780. "AlipayBossFncUserinvoiceinfoModifyErrorResponseModel" : {
  40781. "required" : [ "code", "message" ],
  40782. "type" : "object",
  40783. "properties" : {
  40784. "code" : {
  40785. "type" : "string",
  40786. "description" : "错误码",
  40787. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
  40788. },
  40789. "links" : {
  40790. "type" : "string",
  40791. "description" : "解决方案链接"
  40792. },
  40793. "message" : {
  40794. "type" : "string",
  40795. "description" : "错误描述"
  40796. }
  40797. }
  40798. },
  40799. "AlipayBossFncUserinvoiceinfoModifyModel" : {
  40800. "type" : "object",
  40801. "properties" : {
  40802. "accept_electronic" : {
  40803. "type" : "boolean",
  40804. "description" : "是否接受电子票 true:是,false:否",
  40805. "example" : "true"
  40806. },
  40807. "address" : {
  40808. "type" : "string",
  40809. "description" : "公司注册地址,公司营业执照上登记的住址,一般纳税人必须填写,小规模纳税人无需填写",
  40810. "example" : "武汉市武昌区中北路7号"
  40811. },
  40812. "auto" : {
  40813. "type" : "boolean",
  40814. "description" : "是否自动申请开票 true:是;false:否",
  40815. "example" : "true"
  40816. },
  40817. "bank_account" : {
  40818. "type" : "string",
  40819. "description" : "银行账户,公司银行账号\r\t一般纳税人必须填写,小规模纳税人无需填写",
  40820. "example" : "3602201309100137789"
  40821. },
  40822. "bank_name" : {
  40823. "type" : "string",
  40824. "description" : "开户行,办理银行开户手续的营业网点\r\t一般纳税人必须填写,小规模纳税人无需填写",
  40825. "example" : "中国工商银行广州市第二支行"
  40826. },
  40827. "business_licence_url" : {
  40828. "type" : "string",
  40829. "description" : "营业执照地址,营业执照上传oss上的地址",
  40830. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088421504368153_15138457060231013.jpg"
  40831. },
  40832. "hold" : {
  40833. "type" : "boolean",
  40834. "description" : "是否暂停开票,商户修改无效,如果要暂停开票,只能去结算中台处理。",
  40835. "example" : "true"
  40836. },
  40837. "id" : {
  40838. "type" : "string",
  40839. "description" : "开票资料ID",
  40840. "example" : "10000004"
  40841. },
  40842. "open_account_permit_url" : {
  40843. "type" : "string",
  40844. "description" : "银行开户许可证附件,银行开户许可证上传oss上的地址",
  40845. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088421504368153_151384570602313.jpg"
  40846. },
  40847. "operator" : {
  40848. "type" : "string",
  40849. "description" : "当前操作人",
  40850. "example" : "2088123456789776"
  40851. },
  40852. "operator_type" : {
  40853. "type" : "string",
  40854. "description" : "当前操作人类型,01:商户;02:管理员(小二)",
  40855. "example" : "01"
  40856. },
  40857. "other_qualification_url" : {
  40858. "type" : "string",
  40859. "description" : "其它资质证明地址,其他资质证明附件上传oss上的地址",
  40860. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088421504368153_151384570602333.jpg"
  40861. },
  40862. "tax_no" : {
  40863. "type" : "string",
  40864. "description" : "纳税人识别号,税务登记证上的号码。一般纳税人必须填写,小规模纳税人如果是商户也必须填写,个人无需填写",
  40865. "example" : "310113000782689"
  40866. },
  40867. "tax_payer_quali_valid" : {
  40868. "type" : "string",
  40869. "description" : "纳税人资格开始时间 (格式:时间戳)\r\t一般纳税人必须填写,小规模纳税人无需填写",
  40870. "example" : "1533039333744"
  40871. },
  40872. "tax_payer_qualification" : {
  40873. "type" : "string",
  40874. "description" : "纳税人资格种类,01:一般纳税人;02:小规模纳税人;03:国际商户",
  40875. "example" : "01"
  40876. },
  40877. "tax_qualification_url" : {
  40878. "type" : "string",
  40879. "description" : "一般纳税人资格证书地址,一般纳税人资格证书上传oss上的地址",
  40880. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
  40881. },
  40882. "tax_reg_cert_url" : {
  40883. "type" : "string",
  40884. "description" : "税务登记证地址,税务登记证上传oss上的地址",
  40885. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088421504368153_15138457060231013.jpg"
  40886. },
  40887. "telephone" : {
  40888. "type" : "string",
  40889. "description" : "公司注册电话\r\t一般纳税人必须填写,小规模纳税人无需填写",
  40890. "example" : "021-56518888"
  40891. },
  40892. "title" : {
  40893. "type" : "string",
  40894. "description" : "发票抬头,票面信息上的抬头信息",
  40895. "example" : "上海大众汽车有限公司"
  40896. },
  40897. "user_mail_info_order_list" : {
  40898. "type" : "array",
  40899. "description" : "收件人列表,若不修改此项可以不填\r\t选择非电子票时,邮寄信息必填,且保证邮寄信息的ipRoleId和开票资料的ipRoleId相等",
  40900. "items" : {
  40901. "$ref" : "#/components/schemas/UserMailInfoOrder"
  40902. }
  40903. }
  40904. }
  40905. },
  40906. "AlipayBossFncUserinvoiceinfoModifyResponseModel" : {
  40907. "type" : "object"
  40908. },
  40909. "AlipayBossFncUserinvoiceinfoQueryErrorResponseModel" : {
  40910. "required" : [ "code", "message" ],
  40911. "type" : "object",
  40912. "properties" : {
  40913. "code" : {
  40914. "type" : "string",
  40915. "description" : "错误码",
  40916. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
  40917. },
  40918. "links" : {
  40919. "type" : "string",
  40920. "description" : "解决方案链接"
  40921. },
  40922. "message" : {
  40923. "type" : "string",
  40924. "description" : "错误描述"
  40925. }
  40926. }
  40927. },
  40928. "AlipayBossFncUserinvoiceinfoQueryResponseModel" : {
  40929. "type" : "object",
  40930. "properties" : {
  40931. "result_set" : {
  40932. "$ref" : "#/components/schemas/UserInvoiceInfoOpenApiResponse"
  40933. }
  40934. }
  40935. },
  40936. "AlipayBossProdMyTestQueryErrorResponseModel" : {
  40937. "required" : [ "code", "message" ],
  40938. "type" : "object",
  40939. "properties" : {
  40940. "code" : {
  40941. "type" : "string",
  40942. "description" : "错误码",
  40943. "enum" : [ "INVALID_PARAMETER" ]
  40944. },
  40945. "links" : {
  40946. "type" : "string",
  40947. "description" : "解决方案链接"
  40948. },
  40949. "message" : {
  40950. "type" : "string",
  40951. "description" : "错误描述"
  40952. }
  40953. }
  40954. },
  40955. "AlipayBossProdMyTestQueryResponseModel" : {
  40956. "type" : "object",
  40957. "properties" : {
  40958. "longitude" : {
  40959. "type" : "string",
  40960. "description" : "经度",
  40961. "example" : "dshuids"
  40962. }
  40963. }
  40964. },
  40965. "AlipayCommerceCityfacilitatorStationQueryErrorResponseModel" : {
  40966. "required" : [ "code", "message" ],
  40967. "type" : "object",
  40968. "properties" : {
  40969. "code" : {
  40970. "type" : "string",
  40971. "description" : "错误码",
  40972. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_BIZ_PARAMS", "NO_RIGHT" ]
  40973. },
  40974. "links" : {
  40975. "type" : "string",
  40976. "description" : "解决方案链接"
  40977. },
  40978. "message" : {
  40979. "type" : "string",
  40980. "description" : "错误描述"
  40981. }
  40982. }
  40983. },
  40984. "AlipayCommerceCityfacilitatorStationQueryResponseModel" : {
  40985. "type" : "object",
  40986. "properties" : {
  40987. "support_starts" : {
  40988. "type" : "array",
  40989. "description" : "支持设为起点的站点列表",
  40990. "items" : {
  40991. "$ref" : "#/components/schemas/StationDetailInfo"
  40992. }
  40993. }
  40994. }
  40995. },
  40996. "AlipayCommerceCityfacilitatorVoucherBatchqueryErrorResponseModel" : {
  40997. "required" : [ "code", "message" ],
  40998. "type" : "object",
  40999. "properties" : {
  41000. "code" : {
  41001. "type" : "string",
  41002. "description" : "错误码",
  41003. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_BIZ_PARAMS", "NO_RIGHT" ]
  41004. },
  41005. "links" : {
  41006. "type" : "string",
  41007. "description" : "解决方案链接"
  41008. },
  41009. "message" : {
  41010. "type" : "string",
  41011. "description" : "错误描述"
  41012. }
  41013. }
  41014. },
  41015. "AlipayCommerceCityfacilitatorVoucherBatchqueryModel" : {
  41016. "type" : "object",
  41017. "properties" : {
  41018. "city_code" : {
  41019. "type" : "string",
  41020. "description" : "城市编码请参考查询 <a href=\"http://www.mca.gov.cn/article/sj/xzqh/\">中华人民共和国行政区划代码</a>。\t已支持城市:广州 440100,深圳 440300,杭州330100。",
  41021. "example" : "440300"
  41022. },
  41023. "trade_nos" : {
  41024. "type" : "array",
  41025. "description" : "支付宝交易号列表",
  41026. "items" : {
  41027. "type" : "string"
  41028. },
  41029. "example" : "0123456789"
  41030. }
  41031. }
  41032. },
  41033. "AlipayCommerceCityfacilitatorVoucherBatchqueryResponseModel" : {
  41034. "type" : "object",
  41035. "properties" : {
  41036. "tickets" : {
  41037. "type" : "array",
  41038. "description" : "查询到的订单信息列表",
  41039. "items" : {
  41040. "$ref" : "#/components/schemas/TicketDetailInfo"
  41041. }
  41042. }
  41043. }
  41044. },
  41045. "AlipayCommerceCityfacilitatorVoucherGenerateErrorResponseModel" : {
  41046. "required" : [ "code", "message" ],
  41047. "type" : "object",
  41048. "properties" : {
  41049. "code" : {
  41050. "type" : "string",
  41051. "description" : "错误码",
  41052. "enum" : [ "SUCCESS", "SYSTEM_ERROR", "ILLEGAL_BIZ_PARAMS", "NO_RIGHT" ]
  41053. },
  41054. "links" : {
  41055. "type" : "string",
  41056. "description" : "解决方案链接"
  41057. },
  41058. "message" : {
  41059. "type" : "string",
  41060. "description" : "错误描述"
  41061. }
  41062. }
  41063. },
  41064. "AlipayCommerceCityfacilitatorVoucherGenerateModel" : {
  41065. "type" : "object",
  41066. "properties" : {
  41067. "city_code" : {
  41068. "type" : "string",
  41069. "description" : "城市编码请参考查询 <a href=\"http://www.mca.gov.cn/article/sj/xzqh/\">中华人民共和国行政区划代码</a>。\t已支持城市:广州 440100,深圳 440300,杭州330100。",
  41070. "example" : "440300"
  41071. },
  41072. "site_begin" : {
  41073. "type" : "string",
  41074. "description" : "起点站站点编码",
  41075. "example" : "02490301"
  41076. },
  41077. "site_end" : {
  41078. "type" : "string",
  41079. "description" : "终点站站点编码",
  41080. "example" : "02490305"
  41081. },
  41082. "ticket_num" : {
  41083. "type" : "string",
  41084. "description" : "地铁票购票数量",
  41085. "example" : "5"
  41086. },
  41087. "ticket_price" : {
  41088. "type" : "string",
  41089. "description" : "单张票价,元为单价",
  41090. "example" : "5.00"
  41091. },
  41092. "ticket_type" : {
  41093. "type" : "string",
  41094. "description" : "地铁票种类,枚举支持:\t*oneway。",
  41095. "example" : "oneway"
  41096. },
  41097. "total_fee" : {
  41098. "type" : "string",
  41099. "description" : "订单总金额,元为单位",
  41100. "example" : "10.00"
  41101. },
  41102. "trade_no" : {
  41103. "type" : "string",
  41104. "description" : "支付宝交易号(交易支付时,必须通过指定sellerId:2088121612215201,将钱支付到指定的中间户中)",
  41105. "example" : "2016031521001004390263523925"
  41106. }
  41107. }
  41108. },
  41109. "AlipayCommerceCityfacilitatorVoucherGenerateResponseModel" : {
  41110. "type" : "object",
  41111. "properties" : {
  41112. "expired_date" : {
  41113. "type" : "string",
  41114. "description" : "核销码过期时间",
  41115. "example" : "2016-03-18 00:00:00"
  41116. },
  41117. "qr_code_no" : {
  41118. "type" : "string",
  41119. "description" : "地铁购票二维码编码,可自定义",
  41120. "example" : "site_begin=6018&site_end=0608&ticket_num=2&ticket_price=3.00&total_fee=6.00&trade_no=201603182100&ticket_no=546600&source=alipay"
  41121. },
  41122. "ticket_no" : {
  41123. "type" : "string",
  41124. "description" : "地铁购票的核销码",
  41125. "example" : "0243567832"
  41126. }
  41127. }
  41128. },
  41129. "AlipayCommerceCityfacilitatorVoucherRefundErrorResponseModel" : {
  41130. "required" : [ "code", "message" ],
  41131. "type" : "object",
  41132. "properties" : {
  41133. "code" : {
  41134. "type" : "string",
  41135. "description" : "错误码",
  41136. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_BIZ_PARAMS", "NO_RIGHT" ]
  41137. },
  41138. "links" : {
  41139. "type" : "string",
  41140. "description" : "解决方案链接"
  41141. },
  41142. "message" : {
  41143. "type" : "string",
  41144. "description" : "错误描述"
  41145. }
  41146. }
  41147. },
  41148. "AlipayCommerceCityfacilitatorVoucherRefundModel" : {
  41149. "type" : "object",
  41150. "properties" : {
  41151. "city_code" : {
  41152. "type" : "string",
  41153. "description" : "城市编码请参考查询 <a href=\"http://www.mca.gov.cn/article/sj/xzqh/\">中华人民共和国行政区划代码</a>。\t已支持城市:广州 440100,深圳 440300,杭州330100。",
  41154. "example" : "440300"
  41155. },
  41156. "trade_no" : {
  41157. "type" : "string",
  41158. "description" : "支付宝交易号",
  41159. "example" : "2016031521001004390263523925"
  41160. }
  41161. }
  41162. },
  41163. "AlipayCommerceCityfacilitatorVoucherRefundResponseModel" : {
  41164. "type" : "object"
  41165. },
  41166. "AlipayCommerceEcBalanceDownloadurlQueryErrorResponseModel" : {
  41167. "required" : [ "code", "message" ],
  41168. "type" : "object",
  41169. "properties" : {
  41170. "code" : {
  41171. "type" : "string",
  41172. "description" : "错误码",
  41173. "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "PARAMETER_ILLEGAL", "MONTH_BALANCE_RECORD_NOT_EXIST", "BALANCE_HAS_NO_CONSUME", "DAILY_BALANCE_RECORD_NOT_EXIST" ]
  41174. },
  41175. "links" : {
  41176. "type" : "string",
  41177. "description" : "解决方案链接"
  41178. },
  41179. "message" : {
  41180. "type" : "string",
  41181. "description" : "错误描述"
  41182. }
  41183. }
  41184. },
  41185. "AlipayCommerceEcBalanceDownloadurlQueryResponseModel" : {
  41186. "type" : "object",
  41187. "properties" : {
  41188. "bill_download_url" : {
  41189. "type" : "string",
  41190. "description" : "对账单下载地址链接",
  41191. "example" : "https://mdgwdev.alipay.net/induspt_invoice/afts/file/A*hmt6Trd6OpUAAAAAAAAAAAAAAUYnAA?t=GWVhXq9S4K55nzCCaDB_fgAAAABkJ0ZiucEy&af_fileName=%E6%9C%88%E5%AF%B9%E8%B4%A6%E5%8D%95_2022-05-15.xlsx"
  41192. }
  41193. }
  41194. },
  41195. "AlipayCommerceEcBalancePeriodModifyErrorResponseModel" : {
  41196. "required" : [ "code", "message" ],
  41197. "type" : "object",
  41198. "properties" : {
  41199. "code" : {
  41200. "type" : "string",
  41201. "description" : "错误码",
  41202. "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "PARAMETER_ILLEGAL", "BALANCE_PERIOD_INVALID", "LOCK_ERROR" ]
  41203. },
  41204. "links" : {
  41205. "type" : "string",
  41206. "description" : "解决方案链接"
  41207. },
  41208. "message" : {
  41209. "type" : "string",
  41210. "description" : "错误描述"
  41211. }
  41212. }
  41213. },
  41214. "AlipayCommerceEcBalancePeriodModifyModel" : {
  41215. "type" : "object",
  41216. "properties" : {
  41217. "account_id" : {
  41218. "type" : "string",
  41219. "description" : "共同账户id - 适用于在企业码小程序创建的共同账户,和agreement_no搭配使用",
  41220. "example" : "2088000194958956"
  41221. },
  41222. "agreement_no" : {
  41223. "type" : "string",
  41224. "description" : "授权签约协议号",
  41225. "example" : "20215425001112341234"
  41226. },
  41227. "bill_day" : {
  41228. "type" : "integer",
  41229. "description" : "月账单账期",
  41230. "example" : "31"
  41231. },
  41232. "enterprise_id" : {
  41233. "type" : "string",
  41234. "description" : "企业ID - 适用于在企业码PC端创建的企业账号",
  41235. "example" : "2088000194958956"
  41236. }
  41237. }
  41238. },
  41239. "AlipayCommerceEcBalancePeriodModifyResponseModel" : {
  41240. "type" : "object",
  41241. "properties" : {
  41242. "result" : {
  41243. "type" : "boolean",
  41244. "description" : "修改结果",
  41245. "example" : "true"
  41246. }
  41247. }
  41248. },
  41249. "AlipayCommerceEcConsumeDetailQueryErrorResponseModel" : {
  41250. "required" : [ "code", "message" ],
  41251. "type" : "object",
  41252. "properties" : {
  41253. "code" : {
  41254. "type" : "string",
  41255. "description" : "错误码",
  41256. "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "CONSUME_NOT_EXIST", "INVALID_PARAMETER" ]
  41257. },
  41258. "links" : {
  41259. "type" : "string",
  41260. "description" : "解决方案链接"
  41261. },
  41262. "message" : {
  41263. "type" : "string",
  41264. "description" : "错误描述"
  41265. }
  41266. }
  41267. },
  41268. "AlipayCommerceEcConsumeDetailQueryModel" : {
  41269. "type" : "object",
  41270. "properties" : {
  41271. "account_id" : {
  41272. "type" : "string",
  41273. "description" : "共同账户ID",
  41274. "example" : "2088123456789000"
  41275. },
  41276. "agreement_no" : {
  41277. "type" : "string",
  41278. "description" : "授权签约协议号",
  41279. "example" : "20205820659822371223"
  41280. },
  41281. "enterprise_id" : {
  41282. "type" : "string",
  41283. "description" : "企业ID",
  41284. "example" : "2088123456789000"
  41285. },
  41286. "pay_no" : {
  41287. "type" : "string",
  41288. "description" : "支付宝账单号",
  41289. "example" : "2020123100152601930000003650"
  41290. },
  41291. "query_options" : {
  41292. "type" : "array",
  41293. "description" : "查询选项",
  41294. "items" : {
  41295. "type" : "string"
  41296. },
  41297. "example" : "[\"Refund\"]"
  41298. }
  41299. }
  41300. },
  41301. "AlipayCommerceEcConsumeDetailQueryResponseModel" : {
  41302. "type" : "object",
  41303. "properties" : {
  41304. "consume_info" : {
  41305. "$ref" : "#/components/schemas/EcConsumeInfo"
  41306. },
  41307. "related_order_info" : {
  41308. "$ref" : "#/components/schemas/EcOrderInfo"
  41309. },
  41310. "related_refund_list" : {
  41311. "type" : "array",
  41312. "description" : "关联账单列表",
  41313. "items" : {
  41314. "$ref" : "#/components/schemas/EcConsumeInfo"
  41315. }
  41316. },
  41317. "related_voucher_list" : {
  41318. "type" : "array",
  41319. "description" : "关联凭证详情列表",
  41320. "items" : {
  41321. "$ref" : "#/components/schemas/EcVoucherInfo"
  41322. }
  41323. }
  41324. }
  41325. },
  41326. "AlipayCommerceEcDepartmentCreateErrorResponseModel" : {
  41327. "required" : [ "code", "message" ],
  41328. "type" : "object",
  41329. "properties" : {
  41330. "code" : {
  41331. "type" : "string",
  41332. "description" : "错误码",
  41333. "enum" : [ "SYSTEM_ERROR", "PARAMETER_ERROR", "NO_AGREEMENT", "ENTERPRISE_NOT_EXIST", "DEPARTMENT_CODE_EXIST" ]
  41334. },
  41335. "links" : {
  41336. "type" : "string",
  41337. "description" : "解决方案链接"
  41338. },
  41339. "message" : {
  41340. "type" : "string",
  41341. "description" : "错误描述"
  41342. }
  41343. }
  41344. },
  41345. "AlipayCommerceEcDepartmentCreateModel" : {
  41346. "type" : "object",
  41347. "properties" : {
  41348. "department_code" : {
  41349. "type" : "string",
  41350. "description" : "部门编码,不同部门的编码不可重复,如果为空则生成默认部门编码",
  41351. "example" : "D00001"
  41352. },
  41353. "department_name" : {
  41354. "type" : "string",
  41355. "description" : "部门名称",
  41356. "example" : "财务部"
  41357. },
  41358. "enterprise_id" : {
  41359. "type" : "string",
  41360. "description" : "企业id",
  41361. "example" : "2088501412314698"
  41362. },
  41363. "parent_department_id" : {
  41364. "type" : "string",
  41365. "description" : "上级部门id,如果为空则默认设置上级部门为根部门",
  41366. "example" : "1001169000136660"
  41367. }
  41368. }
  41369. },
  41370. "AlipayCommerceEcDepartmentCreateResponseModel" : {
  41371. "type" : "object",
  41372. "properties" : {
  41373. "department_id" : {
  41374. "type" : "string",
  41375. "description" : "新创建的部门id",
  41376. "example" : "1001169000136660"
  41377. }
  41378. }
  41379. },
  41380. "AlipayCommerceEcDepartmentDeleteErrorResponseModel" : {
  41381. "required" : [ "code", "message" ],
  41382. "type" : "object",
  41383. "properties" : {
  41384. "code" : {
  41385. "type" : "string",
  41386. "description" : "错误码",
  41387. "enum" : [ "SYSTEM_ERROR", "PARAMETER_ERROR", "NO_AGREEMENT", "ENTERPRISE_NOT_EXIST", "ROOT_DEPARTMENT_CANNOT_DELETE", "DEPARTMENT_EMPLOYEE_EXIST" ]
  41388. },
  41389. "links" : {
  41390. "type" : "string",
  41391. "description" : "解决方案链接"
  41392. },
  41393. "message" : {
  41394. "type" : "string",
  41395. "description" : "错误描述"
  41396. }
  41397. }
  41398. },
  41399. "AlipayCommerceEcDepartmentDeleteModel" : {
  41400. "type" : "object",
  41401. "properties" : {
  41402. "department_id" : {
  41403. "type" : "string",
  41404. "description" : "部门id",
  41405. "example" : "1001169000136660"
  41406. },
  41407. "enterprise_id" : {
  41408. "type" : "string",
  41409. "description" : "企业id",
  41410. "example" : "2088501412314698"
  41411. }
  41412. }
  41413. },
  41414. "AlipayCommerceEcDepartmentDeleteResponseModel" : {
  41415. "type" : "object"
  41416. },
  41417. "AlipayCommerceEcDepartmentInfoModifyErrorResponseModel" : {
  41418. "required" : [ "code", "message" ],
  41419. "type" : "object",
  41420. "properties" : {
  41421. "code" : {
  41422. "type" : "string",
  41423. "description" : "错误码",
  41424. "enum" : [ "SYSTEM_ERROR", "PARAMETER_ERROR", "NO_AGREEMENT", "ENTERPRISE_NOT_EXIST", "DEPARTMENT_NOT_EXIST", "PARENT_DEPARTMENT_NOT_EXIST", "DEPARTMENT_DEPTH_EXCEED_MAX", "PARENT_DEPARTMENT_CANNOT_BE_ITSELF", "DEPARTMENT_NAME_EXIST", "DEPARTMENT_CODE_EXIST", "DEPARTMENT_MODIFY_FAIL" ]
  41425. },
  41426. "links" : {
  41427. "type" : "string",
  41428. "description" : "解决方案链接"
  41429. },
  41430. "message" : {
  41431. "type" : "string",
  41432. "description" : "错误描述"
  41433. }
  41434. }
  41435. },
  41436. "AlipayCommerceEcDepartmentInfoModifyModel" : {
  41437. "type" : "object",
  41438. "properties" : {
  41439. "department_code" : {
  41440. "type" : "string",
  41441. "description" : "部门编码,不同部门的编码不能相同,为空则代表不修改",
  41442. "example" : "D00001"
  41443. },
  41444. "department_id" : {
  41445. "type" : "string",
  41446. "description" : "待修改部门的部门id",
  41447. "example" : "1001169000136660"
  41448. },
  41449. "department_name" : {
  41450. "type" : "string",
  41451. "description" : "部门名称,为空则代表不修改",
  41452. "example" : "财务部"
  41453. },
  41454. "enterprise_id" : {
  41455. "type" : "string",
  41456. "description" : "企业id",
  41457. "example" : "2088501412314698"
  41458. },
  41459. "parent_department_id" : {
  41460. "type" : "string",
  41461. "description" : "上级部门id,为空则代表不修改",
  41462. "example" : "1001169000136660"
  41463. }
  41464. }
  41465. },
  41466. "AlipayCommerceEcDepartmentInfoModifyResponseModel" : {
  41467. "type" : "object"
  41468. },
  41469. "AlipayCommerceEcDepartmentInfoQueryErrorResponseModel" : {
  41470. "required" : [ "code", "message" ],
  41471. "type" : "object",
  41472. "properties" : {
  41473. "code" : {
  41474. "type" : "string",
  41475. "description" : "错误码",
  41476. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_AGREEMENT", "DEPT_NOT_EXIST", "ENTERPRISE_NOT_EXIST", "PARAM_ERROR" ]
  41477. },
  41478. "links" : {
  41479. "type" : "string",
  41480. "description" : "解决方案链接"
  41481. },
  41482. "message" : {
  41483. "type" : "string",
  41484. "description" : "错误描述"
  41485. }
  41486. }
  41487. },
  41488. "AlipayCommerceEcDepartmentInfoQueryResponseModel" : {
  41489. "type" : "object",
  41490. "properties" : {
  41491. "department_info" : {
  41492. "$ref" : "#/components/schemas/DepartmentInfoDTO"
  41493. }
  41494. }
  41495. },
  41496. "AlipayCommerceEcDepartmentSublistQueryErrorResponseModel" : {
  41497. "required" : [ "code", "message" ],
  41498. "type" : "object",
  41499. "properties" : {
  41500. "code" : {
  41501. "type" : "string",
  41502. "description" : "错误码",
  41503. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_AGREEMENT", "DEPT_NOT_EXIST", "ENTERPRISE_STATUS_ERROR", "ENTERPRISE_NOT_EXIST" ]
  41504. },
  41505. "links" : {
  41506. "type" : "string",
  41507. "description" : "解决方案链接"
  41508. },
  41509. "message" : {
  41510. "type" : "string",
  41511. "description" : "错误描述"
  41512. }
  41513. }
  41514. },
  41515. "AlipayCommerceEcDepartmentSublistQueryResponseModel" : {
  41516. "type" : "object",
  41517. "properties" : {
  41518. "department_id_list" : {
  41519. "type" : "array",
  41520. "description" : "部门id列表",
  41521. "items" : {
  41522. "type" : "string"
  41523. },
  41524. "example" : "[\"1001094000052875\",\"1001094000052876\"]"
  41525. }
  41526. }
  41527. },
  41528. "AlipayCommerceEcEmployeeAddErrorResponseModel" : {
  41529. "required" : [ "code", "message" ],
  41530. "type" : "object",
  41531. "properties" : {
  41532. "code" : {
  41533. "type" : "string",
  41534. "description" : "错误码",
  41535. "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "ENTERPRISE_NOT_EXIST", "USER_NOT_EXIST", "USER_UNREAL_NAME", "INVITE_MEMBER_FAIL", "ENTERPRISE_MEMBER_NUM_EXCEED_MAX", "JOINED_ACCOUNT_NUM_EXCEED_MAX", "NO_AGREEMENT", "EMPLOYEE_HAS_ACTIVATED", "ENTERPRISE_NOT_SIGNED", "EMPLOYEE_NO_EXIST", "EMPLOYEE_ALIPAY_OCCUPIED", "EMPLOYEE_MOBILE_EXIST", "EMPLOYEE_FREQUENCY_OVER_LIMIT", "EMPLOYEE_IS_SUPER_ADMIN", "EMPLOYEE_OVER_LIMIT", "NODE_NOT_EXIST", "NEED_TO_SET_PPW" ]
  41536. },
  41537. "links" : {
  41538. "type" : "string",
  41539. "description" : "解决方案链接"
  41540. },
  41541. "message" : {
  41542. "type" : "string",
  41543. "description" : "错误描述"
  41544. }
  41545. }
  41546. },
  41547. "AlipayCommerceEcEmployeeAddModel" : {
  41548. "type" : "object",
  41549. "properties" : {
  41550. "department_ids" : {
  41551. "type" : "array",
  41552. "description" : "员工所属部门",
  41553. "items" : {
  41554. "type" : "string"
  41555. },
  41556. "example" : "[\"1001069000162569\"]"
  41557. },
  41558. "employee_cert_no" : {
  41559. "type" : "string",
  41560. "description" : "证件号码,根据employee_cert_type指定的证件类型,传入对应的证件号码,用于企业人脸库员工刷脸开通时的核验。",
  41561. "example" : "260104197909275964"
  41562. },
  41563. "employee_cert_type" : {
  41564. "type" : "string",
  41565. "description" : "证件类型,用于企业人脸库员工刷脸开通时的核验,\t枚举支持:IDENTITY_CARD身份证,PASS_PORT护照,STU_NUM学生学号,COMPANY_NUM工号,TAIWAN_CARD台胞证,HK_MC_CARD港澳证件",
  41566. "example" : "IDENTITY_CARD"
  41567. },
  41568. "employee_email" : {
  41569. "type" : "string",
  41570. "description" : "员工邮箱",
  41571. "example" : "19929@email.com"
  41572. },
  41573. "employee_mobile" : {
  41574. "type" : "string",
  41575. "description" : "员工手机号\t1.和identity二选一",
  41576. "example" : "15757172245"
  41577. },
  41578. "employee_name" : {
  41579. "type" : "string",
  41580. "description" : "员工姓名",
  41581. "example" : "张三"
  41582. },
  41583. "employee_no" : {
  41584. "type" : "string",
  41585. "description" : "员工编号",
  41586. "example" : "D28339"
  41587. },
  41588. "enterprise_id" : {
  41589. "type" : "string",
  41590. "description" : "企业id",
  41591. "example" : "20887448493929"
  41592. },
  41593. "identity" : {
  41594. "type" : "string",
  41595. "description" : "身份\t1.和employee_mobile二选一\t2.对应身份类型进行传参,企业支付宝登录账号(支持手机号或者邮箱)或企业支付宝会员id(对应2088开头的支付宝会员id)",
  41596. "example" : "20889939994000"
  41597. },
  41598. "identity_open_id" : {
  41599. "type" : "string",
  41600. "description" : "当identity_type为ALIPAY_USER_ID时,此字段传入open_id",
  41601. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  41602. },
  41603. "identity_type" : {
  41604. "type" : "string",
  41605. "description" : "身份类型\tALIPAY_LOGON_ID(企业支付宝登录账号)\tALIPAY_USER_ID(企业支付宝会员id)",
  41606. "example" : "ALIPAY_USER_ID"
  41607. },
  41608. "iot_check_type" : {
  41609. "type" : "string",
  41610. "description" : "员工刷脸加入企业人脸库时的核验方式,如果设置为business_facepay_checkall,则employee_name、employee_cert_type、employee_cert_no必传,如果不传则默认不核验。",
  41611. "example" : "business_facepay_checkall"
  41612. },
  41613. "iot_vid" : {
  41614. "type" : "string",
  41615. "description" : "员工在企业人脸库的人脸唯一标识(该字段已作废,不支持自定义传入)",
  41616. "example" : "2109b5e671aa3ff2eb4851816c65828f"
  41617. },
  41618. "role_list" : {
  41619. "type" : "array",
  41620. "description" : "角色列表,目前只支持填一种角色,默认为USER\tUSER:普通员工\tADMIN:管理员",
  41621. "items" : {
  41622. "type" : "string"
  41623. },
  41624. "example" : "[\"USER\"]"
  41625. }
  41626. }
  41627. },
  41628. "AlipayCommerceEcEmployeeAddResponseModel" : {
  41629. "type" : "object",
  41630. "properties" : {
  41631. "employee_id" : {
  41632. "type" : "string",
  41633. "description" : "员工id",
  41634. "example" : "2288033000090876"
  41635. },
  41636. "sign_url" : {
  41637. "type" : "string",
  41638. "description" : "资金代付签约链接 1.员工未绑支付宝,拉起员工绑定页面 2.员工已绑支付宝,拉起资金签约页面",
  41639. "example" : "https://ur.alipay.com/3I2tPbLkAiktIoqe2dseZUzT"
  41640. }
  41641. }
  41642. },
  41643. "AlipayCommerceEcEmployeeDeleteErrorResponseModel" : {
  41644. "required" : [ "code", "message" ],
  41645. "type" : "object",
  41646. "properties" : {
  41647. "code" : {
  41648. "type" : "string",
  41649. "description" : "错误码",
  41650. "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "NO_AGREEMENT", "ENTERPRISE_NOT_EXIST", "EMPLOYEE_NOT_EXIST", "MSG_SEND_ERROR" ]
  41651. },
  41652. "links" : {
  41653. "type" : "string",
  41654. "description" : "解决方案链接"
  41655. },
  41656. "message" : {
  41657. "type" : "string",
  41658. "description" : "错误描述"
  41659. }
  41660. }
  41661. },
  41662. "AlipayCommerceEcEmployeeDeleteModel" : {
  41663. "type" : "object",
  41664. "properties" : {
  41665. "employee_id" : {
  41666. "type" : "string",
  41667. "description" : "员工id",
  41668. "example" : "2288839494040404"
  41669. },
  41670. "enterprise_id" : {
  41671. "type" : "string",
  41672. "description" : "企业id",
  41673. "example" : "2088993848994994"
  41674. }
  41675. }
  41676. },
  41677. "AlipayCommerceEcEmployeeDeleteResponseModel" : {
  41678. "type" : "object"
  41679. },
  41680. "AlipayCommerceEcEmployeeIdlistQueryErrorResponseModel" : {
  41681. "required" : [ "code", "message" ],
  41682. "type" : "object",
  41683. "properties" : {
  41684. "code" : {
  41685. "type" : "string",
  41686. "description" : "错误码",
  41687. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_AGREEMENT", "DEPT_NOT_EXIST", "ENTERPRISE_NOT_EXIST" ]
  41688. },
  41689. "links" : {
  41690. "type" : "string",
  41691. "description" : "解决方案链接"
  41692. },
  41693. "message" : {
  41694. "type" : "string",
  41695. "description" : "错误描述"
  41696. }
  41697. }
  41698. },
  41699. "AlipayCommerceEcEmployeeIdlistQueryResponseModel" : {
  41700. "type" : "object",
  41701. "properties" : {
  41702. "current_page" : {
  41703. "type" : "integer",
  41704. "description" : "当前页数",
  41705. "example" : "1"
  41706. },
  41707. "employee_id_list" : {
  41708. "type" : "array",
  41709. "description" : "员工id列表",
  41710. "items" : {
  41711. "type" : "string"
  41712. },
  41713. "example" : "[\"228420000000057942506\",\"228420000000057942507\"]"
  41714. },
  41715. "total_num" : {
  41716. "type" : "integer",
  41717. "description" : "员工总数",
  41718. "example" : "566"
  41719. },
  41720. "total_pages" : {
  41721. "type" : "integer",
  41722. "description" : "总页数",
  41723. "example" : "1"
  41724. }
  41725. }
  41726. },
  41727. "AlipayCommerceEcEmployeeInfoModifyErrorResponseModel" : {
  41728. "required" : [ "code", "message" ],
  41729. "type" : "object",
  41730. "properties" : {
  41731. "code" : {
  41732. "type" : "string",
  41733. "description" : "错误码",
  41734. "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "ENTERPRISE_NOT_EXIST", "EMPLOYEE_NOT_EXIST", "DEPT_NOT_EXIST", "OPEN_EMPLOYEE_ROLE_MODIFY_FAIL", "NO_AGREEMENT" ]
  41735. },
  41736. "links" : {
  41737. "type" : "string",
  41738. "description" : "解决方案链接"
  41739. },
  41740. "message" : {
  41741. "type" : "string",
  41742. "description" : "错误描述"
  41743. }
  41744. }
  41745. },
  41746. "AlipayCommerceEcEmployeeInfoModifyModel" : {
  41747. "type" : "object",
  41748. "properties" : {
  41749. "department_ids" : {
  41750. "type" : "array",
  41751. "description" : "员工所属部门",
  41752. "items" : {
  41753. "type" : "string"
  41754. },
  41755. "example" : "[\"1023993000\"]"
  41756. },
  41757. "employee_email" : {
  41758. "type" : "string",
  41759. "description" : "员工邮箱",
  41760. "example" : "aajka@email.com"
  41761. },
  41762. "employee_id" : {
  41763. "type" : "string",
  41764. "description" : "员工id",
  41765. "example" : "22887387848484"
  41766. },
  41767. "employee_name" : {
  41768. "type" : "string",
  41769. "description" : "员工姓名",
  41770. "example" : "张三"
  41771. },
  41772. "employee_no" : {
  41773. "type" : "string",
  41774. "description" : "员工工号",
  41775. "example" : "D83030"
  41776. },
  41777. "enterprise_id" : {
  41778. "type" : "string",
  41779. "description" : "企业id",
  41780. "example" : "2088474883838"
  41781. },
  41782. "role_list" : {
  41783. "type" : "array",
  41784. "description" : "角色列表,目前只支持填一种角色\tUSER 普通员工\tADMIN 管理员",
  41785. "items" : {
  41786. "type" : "string"
  41787. },
  41788. "example" : "[\"USER\"]"
  41789. }
  41790. }
  41791. },
  41792. "AlipayCommerceEcEmployeeInfoModifyResponseModel" : {
  41793. "type" : "object",
  41794. "properties" : {
  41795. "employee_id" : {
  41796. "type" : "string",
  41797. "description" : "员工id",
  41798. "example" : "2288738383939"
  41799. }
  41800. }
  41801. },
  41802. "AlipayCommerceEcEmployeeInfoQueryErrorResponseModel" : {
  41803. "required" : [ "code", "message" ],
  41804. "type" : "object",
  41805. "properties" : {
  41806. "code" : {
  41807. "type" : "string",
  41808. "description" : "错误码",
  41809. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_AGREEMENT", "EMPLOYEE_NOT_EXIST", "ENTERPRISE_NOT_EXIST", "PARAM_ERROR" ]
  41810. },
  41811. "links" : {
  41812. "type" : "string",
  41813. "description" : "解决方案链接"
  41814. },
  41815. "message" : {
  41816. "type" : "string",
  41817. "description" : "错误描述"
  41818. }
  41819. }
  41820. },
  41821. "AlipayCommerceEcEmployeeInfoQueryResponseModel" : {
  41822. "type" : "object",
  41823. "properties" : {
  41824. "employee_info" : {
  41825. "$ref" : "#/components/schemas/EmployeeInfoDTO"
  41826. }
  41827. }
  41828. },
  41829. "AlipayCommerceEcEmployeeInviteQueryErrorResponseModel" : {
  41830. "required" : [ "code", "message" ],
  41831. "type" : "object",
  41832. "properties" : {
  41833. "code" : {
  41834. "type" : "string",
  41835. "description" : "错误码",
  41836. "enum" : [ "PARAMETER_ERROR", "ENTERPRISE_NOT_EXIST", "NO_AGREEMENT", "SYSTEM_ERROR", "GET_UNSIGN_URL_ERROR", "ENTERPRISE_NOT_SIGNED", "EMPLOYEE_NOT_EXIST" ]
  41837. },
  41838. "links" : {
  41839. "type" : "string",
  41840. "description" : "解决方案链接"
  41841. },
  41842. "message" : {
  41843. "type" : "string",
  41844. "description" : "错误描述"
  41845. }
  41846. }
  41847. },
  41848. "AlipayCommerceEcEmployeeInviteQueryResponseModel" : {
  41849. "type" : "object",
  41850. "properties" : {
  41851. "enterprise_id" : {
  41852. "type" : "string",
  41853. "description" : "企业id",
  41854. "example" : "208847489339"
  41855. },
  41856. "mini_app_sign_url" : {
  41857. "type" : "string",
  41858. "description" : "支付宝服务商小程序跳入企业码小程序签约链接",
  41859. "example" : "pages/open/authorize/individual-auth/index?token=xxxxea2ac30656af68522fa596335a3642364d9994270ba&scene=PCC_STANDARD"
  41860. },
  41861. "sign_url" : {
  41862. "type" : "string",
  41863. "description" : "邀请链接",
  41864. "example" : "http://sjddkk.com"
  41865. }
  41866. }
  41867. },
  41868. "AlipayCommerceEcEmployeeTitleCreateErrorResponseModel" : {
  41869. "required" : [ "code", "message" ],
  41870. "type" : "object",
  41871. "properties" : {
  41872. "code" : {
  41873. "type" : "string",
  41874. "description" : "错误码",
  41875. "enum" : [ "INVALID_PARAMETER", "OVER_MAXIMUM_CAPACITY", "ECEIF_ENTERPRISE_NOT_EXIST", "ENTERPRISE_ID_IS_BLANK", "TITLE_ENTERPRISE_NOT_MATCH", "SYSTEM_ERROR" ]
  41876. },
  41877. "links" : {
  41878. "type" : "string",
  41879. "description" : "解决方案链接"
  41880. },
  41881. "message" : {
  41882. "type" : "string",
  41883. "description" : "错误描述"
  41884. }
  41885. }
  41886. },
  41887. "AlipayCommerceEcEmployeeTitleCreateModel" : {
  41888. "type" : "object",
  41889. "properties" : {
  41890. "employee_title_list" : {
  41891. "type" : "array",
  41892. "description" : "员工与抬头关系列表",
  41893. "items" : {
  41894. "$ref" : "#/components/schemas/EmployeeTitleDTO"
  41895. }
  41896. }
  41897. }
  41898. },
  41899. "AlipayCommerceEcEmployeeTitleCreateResponseModel" : {
  41900. "type" : "object"
  41901. },
  41902. "AlipayCommerceEcEmployeeTitleDeleteErrorResponseModel" : {
  41903. "required" : [ "code", "message" ],
  41904. "type" : "object",
  41905. "properties" : {
  41906. "code" : {
  41907. "type" : "string",
  41908. "description" : "错误码",
  41909. "enum" : [ "INVALID_PARAMETER", "OVER_MAXIMUM_CAPACITY", "ENTERPRISE_NOT_EXIST", "TITLE_ENTERPRISE_NOT_MATCH", "SYSTEM_ERROR" ]
  41910. },
  41911. "links" : {
  41912. "type" : "string",
  41913. "description" : "解决方案链接"
  41914. },
  41915. "message" : {
  41916. "type" : "string",
  41917. "description" : "错误描述"
  41918. }
  41919. }
  41920. },
  41921. "AlipayCommerceEcEmployeeTitleDeleteModel" : {
  41922. "type" : "object",
  41923. "properties" : {
  41924. "employee_title_list" : {
  41925. "type" : "array",
  41926. "description" : "员工抬头列表",
  41927. "items" : {
  41928. "$ref" : "#/components/schemas/EmployeeTitleDTO"
  41929. }
  41930. }
  41931. }
  41932. },
  41933. "AlipayCommerceEcEmployeeTitleDeleteResponseModel" : {
  41934. "type" : "object"
  41935. },
  41936. "AlipayCommerceEcEmployeeTitleModifyErrorResponseModel" : {
  41937. "required" : [ "code", "message" ],
  41938. "type" : "object",
  41939. "properties" : {
  41940. "code" : {
  41941. "type" : "string",
  41942. "description" : "错误码",
  41943. "enum" : [ "INVALID_PARAMETER", "TITLE_ENTERPRISE_NOT_MATCH", "SYSTEM_ERROR" ]
  41944. },
  41945. "links" : {
  41946. "type" : "string",
  41947. "description" : "解决方案链接"
  41948. },
  41949. "message" : {
  41950. "type" : "string",
  41951. "description" : "错误描述"
  41952. }
  41953. }
  41954. },
  41955. "AlipayCommerceEcEmployeeTitleModifyModel" : {
  41956. "type" : "object",
  41957. "properties" : {
  41958. "account_id" : {
  41959. "type" : "string",
  41960. "description" : "共同账号id,与enterprise_id两者必填其一",
  41961. "example" : "2088000397722031"
  41962. },
  41963. "create_by" : {
  41964. "type" : "string",
  41965. "description" : "创建人",
  41966. "example" : "昭运"
  41967. },
  41968. "employee_id" : {
  41969. "type" : "string",
  41970. "description" : "企业域定义的员工id,与user_id两者必填其一",
  41971. "example" : "228800000000002000002"
  41972. },
  41973. "enterprise_id" : {
  41974. "type" : "string",
  41975. "description" : "企业域定义下的企业id,与accountId两者必填其一",
  41976. "example" : "2088000230921202"
  41977. },
  41978. "modify_by" : {
  41979. "type" : "string",
  41980. "description" : "修改人",
  41981. "example" : "昭运"
  41982. },
  41983. "new_title_id" : {
  41984. "type" : "string",
  41985. "description" : "修改后的抬头id",
  41986. "example" : "2022060900801711450000073478"
  41987. },
  41988. "old_title_id" : {
  41989. "type" : "string",
  41990. "description" : "修改前的抬头id",
  41991. "example" : "2022060900801711450000073478"
  41992. },
  41993. "open_id" : {
  41994. "type" : "string",
  41995. "description" : "支付宝open_id,与employee_id两者必填其一",
  41996. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  41997. },
  41998. "title_tag" : {
  41999. "type" : "string",
  42000. "description" : "员工抬头关系标",
  42001. "example" : "au"
  42002. },
  42003. "user_id" : {
  42004. "type" : "string",
  42005. "description" : "支付宝id2088,与employee_id两者必填其一",
  42006. "example" : "2088502255168118"
  42007. }
  42008. }
  42009. },
  42010. "AlipayCommerceEcEmployeeTitleModifyResponseModel" : {
  42011. "type" : "object"
  42012. },
  42013. "AlipayCommerceEcEnterpriseAddressAddErrorResponseModel" : {
  42014. "required" : [ "code", "message" ],
  42015. "type" : "object",
  42016. "properties" : {
  42017. "code" : {
  42018. "type" : "string",
  42019. "description" : "错误码",
  42020. "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "ENTERPRISE_NOT_EXIST", "SENSITIVE_WORDS_EXIST", "NO_AGREEMENT" ]
  42021. },
  42022. "links" : {
  42023. "type" : "string",
  42024. "description" : "解决方案链接"
  42025. },
  42026. "message" : {
  42027. "type" : "string",
  42028. "description" : "错误描述"
  42029. }
  42030. }
  42031. },
  42032. "AlipayCommerceEcEnterpriseAddressAddModel" : {
  42033. "type" : "object",
  42034. "properties" : {
  42035. "account_id" : {
  42036. "type" : "string",
  42037. "description" : "共同账户id和enterprise_id二选一",
  42038. "example" : "208893930030"
  42039. },
  42040. "address" : {
  42041. "type" : "string",
  42042. "description" : "详细地址最长50个字符",
  42043. "example" : "西溪路569号蚂蚁A空间6楼601"
  42044. },
  42045. "agreement_no" : {
  42046. "type" : "string",
  42047. "description" : "协议号,如果填共同账户id,则该字段必填",
  42048. "example" : "182932939903"
  42049. },
  42050. "city_code" : {
  42051. "type" : "string",
  42052. "description" : "市(国家统一行政规划编码)",
  42053. "example" : "330100"
  42054. },
  42055. "city_name" : {
  42056. "type" : "string",
  42057. "description" : "市",
  42058. "example" : "杭州市"
  42059. },
  42060. "community" : {
  42061. "type" : "string",
  42062. "description" : "小区/楼宇",
  42063. "example" : "蚂蚁A空间"
  42064. },
  42065. "enterprise_id" : {
  42066. "type" : "string",
  42067. "description" : "企业id和account_id二选一",
  42068. "example" : "208898734567"
  42069. },
  42070. "latitude" : {
  42071. "type" : "string",
  42072. "description" : "维度",
  42073. "example" : "30.261121"
  42074. },
  42075. "longitude" : {
  42076. "type" : "string",
  42077. "description" : "经度",
  42078. "example" : "120.104735"
  42079. },
  42080. "mark" : {
  42081. "type" : "string",
  42082. "description" : "备注最长50个字符",
  42083. "example" : "备注"
  42084. },
  42085. "poi_id" : {
  42086. "type" : "string",
  42087. "description" : "高德地图poi",
  42088. "example" : "B0GKN4522Z"
  42089. }
  42090. }
  42091. },
  42092. "AlipayCommerceEcEnterpriseAddressAddResponseModel" : {
  42093. "type" : "object",
  42094. "properties" : {
  42095. "address_id" : {
  42096. "type" : "string",
  42097. "description" : "地址id",
  42098. "example" : "19200289393"
  42099. }
  42100. }
  42101. },
  42102. "AlipayCommerceEcEnterpriseAddressModifyErrorResponseModel" : {
  42103. "required" : [ "code", "message" ],
  42104. "type" : "object",
  42105. "properties" : {
  42106. "code" : {
  42107. "type" : "string",
  42108. "description" : "错误码",
  42109. "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "ENTERPRISE_NOT_EXIST", "SENSITIVE_WORDS_EXIST", "NO_AGREEMENT", "ADDRESS_NOT_EXIST", "ADDRESS_HAS_USED" ]
  42110. },
  42111. "links" : {
  42112. "type" : "string",
  42113. "description" : "解决方案链接"
  42114. },
  42115. "message" : {
  42116. "type" : "string",
  42117. "description" : "错误描述"
  42118. }
  42119. }
  42120. },
  42121. "AlipayCommerceEcEnterpriseAddressModifyModel" : {
  42122. "type" : "object",
  42123. "properties" : {
  42124. "account_id" : {
  42125. "type" : "string",
  42126. "description" : "共同账户id和enterprise_id二选一",
  42127. "example" : "20884949030030"
  42128. },
  42129. "address" : {
  42130. "type" : "string",
  42131. "description" : "详细地址最长50个字符",
  42132. "example" : "西溪路569号蚂蚁A空间6楼601"
  42133. },
  42134. "address_id" : {
  42135. "type" : "string",
  42136. "description" : "地址id",
  42137. "example" : "19393030303"
  42138. },
  42139. "agreement_no" : {
  42140. "type" : "string",
  42141. "description" : "协议号,如果填共同账户id,则该字段必填",
  42142. "example" : "182930033030"
  42143. },
  42144. "city_code" : {
  42145. "type" : "string",
  42146. "description" : "市(国家统一行政规划编码)",
  42147. "example" : "330100"
  42148. },
  42149. "city_name" : {
  42150. "type" : "string",
  42151. "description" : "城市名称",
  42152. "example" : "杭州市"
  42153. },
  42154. "community" : {
  42155. "type" : "string",
  42156. "description" : "小区/楼宇",
  42157. "example" : "蚂蚁A空间"
  42158. },
  42159. "enterprise_id" : {
  42160. "type" : "string",
  42161. "description" : "企业id和account_id二选一",
  42162. "example" : "208839393939"
  42163. },
  42164. "latitude" : {
  42165. "type" : "string",
  42166. "description" : "纬度",
  42167. "example" : "30.261121"
  42168. },
  42169. "longitude" : {
  42170. "type" : "string",
  42171. "description" : "经度",
  42172. "example" : "120.104735"
  42173. },
  42174. "mark" : {
  42175. "type" : "string",
  42176. "description" : "备注",
  42177. "example" : "备注"
  42178. },
  42179. "poi_id" : {
  42180. "type" : "string",
  42181. "description" : "高德地图poi",
  42182. "example" : "B0GKN4522Z"
  42183. },
  42184. "status" : {
  42185. "type" : "string",
  42186. "description" : "状态(生效/失效)\tNORMAL\tINVALID",
  42187. "example" : "NORMAL"
  42188. }
  42189. }
  42190. },
  42191. "AlipayCommerceEcEnterpriseAddressModifyResponseModel" : {
  42192. "type" : "object",
  42193. "properties" : {
  42194. "address_id" : {
  42195. "type" : "string",
  42196. "description" : "地址id",
  42197. "example" : "19300392390"
  42198. }
  42199. }
  42200. },
  42201. "AlipayCommerceEcEnterpriseAddressQueryErrorResponseModel" : {
  42202. "required" : [ "code", "message" ],
  42203. "type" : "object",
  42204. "properties" : {
  42205. "code" : {
  42206. "type" : "string",
  42207. "description" : "错误码",
  42208. "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "NO_AGREEMENT" ]
  42209. },
  42210. "links" : {
  42211. "type" : "string",
  42212. "description" : "解决方案链接"
  42213. },
  42214. "message" : {
  42215. "type" : "string",
  42216. "description" : "错误描述"
  42217. }
  42218. }
  42219. },
  42220. "AlipayCommerceEcEnterpriseAddressQueryResponseModel" : {
  42221. "type" : "object",
  42222. "properties" : {
  42223. "current_page" : {
  42224. "type" : "integer",
  42225. "description" : "页码",
  42226. "example" : "1"
  42227. },
  42228. "enterprise_address_info_list" : {
  42229. "type" : "array",
  42230. "description" : "地址列表",
  42231. "items" : {
  42232. "$ref" : "#/components/schemas/AddressInfoDTO"
  42233. }
  42234. },
  42235. "total_num" : {
  42236. "type" : "integer",
  42237. "description" : "总数量",
  42238. "example" : "10"
  42239. },
  42240. "total_pages" : {
  42241. "type" : "integer",
  42242. "description" : "总页数",
  42243. "example" : "2"
  42244. }
  42245. }
  42246. },
  42247. "AlipayCommerceEcEnterpriseAgreementQueryErrorResponseModel" : {
  42248. "required" : [ "code", "message" ],
  42249. "type" : "object",
  42250. "properties" : {
  42251. "code" : {
  42252. "type" : "string",
  42253. "description" : "错误码",
  42254. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ENTERPRISE_NOT_EXIST", "PERMISSION_DENIED" ]
  42255. },
  42256. "links" : {
  42257. "type" : "string",
  42258. "description" : "解决方案链接"
  42259. },
  42260. "message" : {
  42261. "type" : "string",
  42262. "description" : "错误描述"
  42263. }
  42264. }
  42265. },
  42266. "AlipayCommerceEcEnterpriseAgreementQueryResponseModel" : {
  42267. "type" : "object",
  42268. "properties" : {
  42269. "enterprise_agreement_dto" : {
  42270. "$ref" : "#/components/schemas/EnterpriseAgreementDTO"
  42271. }
  42272. }
  42273. },
  42274. "AlipayCommerceEcEnterpriseCreateErrorResponseModel" : {
  42275. "required" : [ "code", "message" ],
  42276. "type" : "object",
  42277. "properties" : {
  42278. "code" : {
  42279. "type" : "string",
  42280. "description" : "错误码",
  42281. "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "ENTERPRISE_NO_AUTH", "ENTERPRISE_SETTLED_IN_FINISHED", "USER_NOT_EXIST", "GET_SIGN_URL_ERROR", "MSG_SEND_ERROR", "SENSITIVE_WORDS_EXIST", "ENTERPRISE_CREATE_NOT_SUPPORT", "ENTERPRISE_CREATE_ING", "ECEIF_ENTERPRISE_CREATE_OVER_LIMIT", "ECEIF_ENTERPRISE_CREATE_FAIL", "IOT_FACE_GROUP_NAME_ERROR", "IOT_FACE_GROUP_CREATE_FAIL", "IOT_USER_CREATE_ERROR", "IOT_GROUP_ID_QUERY_ERROR" ]
  42282. },
  42283. "links" : {
  42284. "type" : "string",
  42285. "description" : "解决方案链接"
  42286. },
  42287. "message" : {
  42288. "type" : "string",
  42289. "description" : "错误描述"
  42290. }
  42291. }
  42292. },
  42293. "AlipayCommerceEcEnterpriseCreateModel" : {
  42294. "type" : "object",
  42295. "properties" : {
  42296. "biz_scene" : {
  42297. "type" : "string",
  42298. "description" : "场景码,联系支付宝分配",
  42299. "example" : "ISV_QYM"
  42300. },
  42301. "create_iot_group" : {
  42302. "type" : "boolean",
  42303. "description" : "是否创建企业人脸库,适用于对接团餐刷脸付、门禁刷脸通行等场景;不传默认创建,创建失败不会阻塞企业的创建;如果传true且创建失败,则会阻塞企业的创建。",
  42304. "example" : "false"
  42305. },
  42306. "enterprise_alias" : {
  42307. "type" : "string",
  42308. "description" : "企业简称",
  42309. "example" : "企业码测试"
  42310. },
  42311. "enterprise_name" : {
  42312. "type" : "string",
  42313. "description" : "企业名称",
  42314. "example" : "企业码测试有限公司"
  42315. },
  42316. "identity" : {
  42317. "type" : "string",
  42318. "description" : "身份,对应身份类型进行传参,例如:\t企业支付宝登录账号(支持手机号或者邮箱)或企业支付宝会员id(对应2088开头的支付宝会员id)",
  42319. "example" : "2088501412314698"
  42320. },
  42321. "identity_open_id" : {
  42322. "type" : "string",
  42323. "description" : "当identity_type为ALIPAY_USER_ID时,此字段传入open_id",
  42324. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  42325. },
  42326. "identity_type" : {
  42327. "type" : "string",
  42328. "description" : "身份类型,目前支持传参如下:\tALIPAY_LOGON_ID(企业支付宝登录账号)\tALIPAY_USER_ID(企业支付宝会员id)",
  42329. "example" : "ALIPAY_USER_ID"
  42330. },
  42331. "out_biz_no" : {
  42332. "type" : "string",
  42333. "description" : "外部业务号\t1.作为创建该企业的唯一幂等标识,不传默认使用identity幂等\t2.传入out_biz_no创建返回结果成功后,如需再新建其他企业,则out_biz_no传不同的参数,否则会被幂等\t3.如果调用失败或者超时,可以使用相同的outBizNo进行重试处理\t4.并发使用相同outBizNo调用,会返回企业创建中,不要重复操作的错误信息",
  42334. "example" : "28839390030030"
  42335. }
  42336. }
  42337. },
  42338. "AlipayCommerceEcEnterpriseCreateResponseModel" : {
  42339. "type" : "object",
  42340. "properties" : {
  42341. "enterprise_id" : {
  42342. "type" : "string",
  42343. "description" : "企业id",
  42344. "example" : "2088501412314698"
  42345. },
  42346. "iot_group_id" : {
  42347. "type" : "string",
  42348. "description" : "封闭场景(如班车)的人脸库id,如果入参create_iot_group传false,则不会创建企业人脸库,该字段为空。",
  42349. "example" : "BUSINESS_898263530536960"
  42350. },
  42351. "iot_logic_group_id" : {
  42352. "type" : "string",
  42353. "description" : "开放场景(如团餐)的人脸库id,如果入参create_iot_group传false,则不会创建企业人脸库,该字段为空。",
  42354. "example" : "BUSINESS_898263530536960"
  42355. },
  42356. "sign_url" : {
  42357. "type" : "string",
  42358. "description" : "资金代付签约链接",
  42359. "example" : "http://business-site-default.dev.alipay.net/page/EnterprisePay/Account?signToken=12324"
  42360. }
  42361. }
  42362. },
  42363. "AlipayCommerceEcEnterpriseDeleteErrorResponseModel" : {
  42364. "required" : [ "code", "message" ],
  42365. "type" : "object",
  42366. "properties" : {
  42367. "code" : {
  42368. "type" : "string",
  42369. "description" : "错误码",
  42370. "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "ENTERPRISE_NOT_EXIST", "ENTERPRISE_HAS_DELETE", "NO_AGREEMENT", "ACCOUNT_NORMAL_ERROR" ]
  42371. },
  42372. "links" : {
  42373. "type" : "string",
  42374. "description" : "解决方案链接"
  42375. },
  42376. "message" : {
  42377. "type" : "string",
  42378. "description" : "错误描述"
  42379. }
  42380. }
  42381. },
  42382. "AlipayCommerceEcEnterpriseDeleteModel" : {
  42383. "type" : "object",
  42384. "properties" : {
  42385. "enterprise_id" : {
  42386. "type" : "string",
  42387. "description" : "企业id",
  42388. "example" : "208839030030"
  42389. }
  42390. }
  42391. },
  42392. "AlipayCommerceEcEnterpriseDeleteResponseModel" : {
  42393. "type" : "object",
  42394. "properties" : {
  42395. "enterprise_id" : {
  42396. "type" : "string",
  42397. "description" : "企业ID",
  42398. "example" : "2088738399393"
  42399. }
  42400. }
  42401. },
  42402. "AlipayCommerceEcEnterpriseInfoModifyErrorResponseModel" : {
  42403. "required" : [ "code", "message" ],
  42404. "type" : "object",
  42405. "properties" : {
  42406. "code" : {
  42407. "type" : "string",
  42408. "description" : "错误码",
  42409. "enum" : [ "SYSTEM_ERROR", "PARAMETER_ERROR", "NO_AGREEMENT", "ENTERPRISE_NOT_EXIST", "ONLY_NOAUTH_CAN_MODIFY_NAME" ]
  42410. },
  42411. "links" : {
  42412. "type" : "string",
  42413. "description" : "解决方案链接"
  42414. },
  42415. "message" : {
  42416. "type" : "string",
  42417. "description" : "错误描述"
  42418. }
  42419. }
  42420. },
  42421. "AlipayCommerceEcEnterpriseInfoModifyModel" : {
  42422. "type" : "object",
  42423. "properties" : {
  42424. "enterprise_alias" : {
  42425. "type" : "string",
  42426. "description" : "企业简称",
  42427. "example" : "企业码测试"
  42428. },
  42429. "enterprise_id" : {
  42430. "type" : "string",
  42431. "description" : "企业id",
  42432. "example" : "2088501412314698"
  42433. },
  42434. "enterprise_name" : {
  42435. "type" : "string",
  42436. "description" : "企业名称",
  42437. "example" : "企业码测试有限公司"
  42438. }
  42439. }
  42440. },
  42441. "AlipayCommerceEcEnterpriseInfoModifyResponseModel" : {
  42442. "type" : "object"
  42443. },
  42444. "AlipayCommerceEcEnterpriseInfoQueryErrorResponseModel" : {
  42445. "required" : [ "code", "message" ],
  42446. "type" : "object",
  42447. "properties" : {
  42448. "code" : {
  42449. "type" : "string",
  42450. "description" : "错误码",
  42451. "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "ENTERPRISE_NOT_EXIST", "NO_AGREEMENT" ]
  42452. },
  42453. "links" : {
  42454. "type" : "string",
  42455. "description" : "解决方案链接"
  42456. },
  42457. "message" : {
  42458. "type" : "string",
  42459. "description" : "错误描述"
  42460. }
  42461. }
  42462. },
  42463. "AlipayCommerceEcEnterpriseInfoQueryResponseModel" : {
  42464. "type" : "object",
  42465. "properties" : {
  42466. "enterprise_info" : {
  42467. "$ref" : "#/components/schemas/EnterpriseInfoDTO"
  42468. }
  42469. }
  42470. },
  42471. "AlipayCommerceEcEnterpriseUnsignErrorResponseModel" : {
  42472. "required" : [ "code", "message" ],
  42473. "type" : "object",
  42474. "properties" : {
  42475. "code" : {
  42476. "type" : "string",
  42477. "description" : "错误码",
  42478. "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "NO_AGREEMENT", "GET_UNSIGN_URL_ERROR", "ENTERPRISE_NOT_EXIST", "ENTERPRISE_HAS_UNSIGN" ]
  42479. },
  42480. "links" : {
  42481. "type" : "string",
  42482. "description" : "解决方案链接"
  42483. },
  42484. "message" : {
  42485. "type" : "string",
  42486. "description" : "错误描述"
  42487. }
  42488. }
  42489. },
  42490. "AlipayCommerceEcEnterpriseUnsignResponseModel" : {
  42491. "type" : "object",
  42492. "properties" : {
  42493. "account_id" : {
  42494. "type" : "string",
  42495. "description" : "入参传的共同账户id,出参也会返回共同账户id",
  42496. "example" : "2088390300034"
  42497. },
  42498. "enterprise_id" : {
  42499. "type" : "string",
  42500. "description" : "企业id",
  42501. "example" : "208893993930"
  42502. },
  42503. "unsign_url" : {
  42504. "type" : "string",
  42505. "description" : "解约链接",
  42506. "example" : "http://business-site-default.dev.alipay.net/page/EnterprisePay/Account?signToken=12324"
  42507. }
  42508. }
  42509. },
  42510. "AlipayCommerceEcJointaccountbillDetailBatchqueryErrorResponseModel" : {
  42511. "required" : [ "code", "message" ],
  42512. "type" : "object",
  42513. "properties" : {
  42514. "code" : {
  42515. "type" : "string",
  42516. "description" : "错误码",
  42517. "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "INVALID_PARAMETER", "EMPLOYEE_INFO_ERROR" ]
  42518. },
  42519. "links" : {
  42520. "type" : "string",
  42521. "description" : "解决方案链接"
  42522. },
  42523. "message" : {
  42524. "type" : "string",
  42525. "description" : "错误描述"
  42526. }
  42527. }
  42528. },
  42529. "AlipayCommerceEcJointaccountbillDetailBatchqueryResponseModel" : {
  42530. "type" : "object",
  42531. "properties" : {
  42532. "bill_list" : {
  42533. "type" : "array",
  42534. "description" : "返回账单列表",
  42535. "items" : {
  42536. "$ref" : "#/components/schemas/JointAccountBillDetail"
  42537. }
  42538. },
  42539. "biz_scene" : {
  42540. "type" : "string",
  42541. "description" : "业务场景",
  42542. "example" : "ISV_DEFAULT"
  42543. },
  42544. "enterprise_id" : {
  42545. "type" : "string",
  42546. "description" : "企业ID,和接口入参一致",
  42547. "example" : "2088123456789000"
  42548. },
  42549. "has_next_page" : {
  42550. "type" : "boolean",
  42551. "description" : "是否有下一页",
  42552. "example" : "true"
  42553. },
  42554. "page_num" : {
  42555. "type" : "string",
  42556. "description" : "当期页数",
  42557. "example" : "1"
  42558. },
  42559. "page_size" : {
  42560. "type" : "string",
  42561. "description" : "当期页记录数",
  42562. "example" : "20"
  42563. }
  42564. }
  42565. },
  42566. "AlipayCommerceEcUserEnterpriseQueryErrorResponseModel" : {
  42567. "required" : [ "code", "message" ],
  42568. "type" : "object",
  42569. "properties" : {
  42570. "code" : {
  42571. "type" : "string",
  42572. "description" : "错误码",
  42573. "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR" ]
  42574. },
  42575. "links" : {
  42576. "type" : "string",
  42577. "description" : "解决方案链接"
  42578. },
  42579. "message" : {
  42580. "type" : "string",
  42581. "description" : "错误描述"
  42582. }
  42583. }
  42584. },
  42585. "AlipayCommerceEcUserEnterpriseQueryResponseModel" : {
  42586. "type" : "object",
  42587. "properties" : {
  42588. "enterprise_info_list" : {
  42589. "type" : "array",
  42590. "description" : "用户所属企业列表",
  42591. "items" : {
  42592. "$ref" : "#/components/schemas/EnterpriseInfoDTO"
  42593. }
  42594. }
  42595. }
  42596. },
  42597. "AlipayCommerceEducateCampusInstitutionsAddErrorResponseModel" : {
  42598. "required" : [ "code", "message" ],
  42599. "type" : "object",
  42600. "properties" : {
  42601. "code" : {
  42602. "type" : "string",
  42603. "description" : "错误码",
  42604. "enum" : [ "ISV_DECLARE_UPDATE_UNAUTHORIZED", "ISV_SCHOOL_MAINTAINING", "ILLEGAL_PARAM", "SCHOOL_NAME_ILLEGAL", "INVALID_PARAMETER_PROVINCE_CODE", "INVALID_PARAMETER_CITY_CODE", "INVALID_PARAMETER_SCHOOL_STD_CODE", "LEARNING_STAGE_ERROR", "INVALID_PARAMETER_SCHOOL_PROPERTY", "SYSTEM_ERROR", "SCHOOL_EXIST", "INVALID_PARAMETER", "SCHOOL_NOT_SUBJECT" ]
  42605. },
  42606. "links" : {
  42607. "type" : "string",
  42608. "description" : "解决方案链接"
  42609. },
  42610. "message" : {
  42611. "type" : "string",
  42612. "description" : "错误描述"
  42613. }
  42614. }
  42615. },
  42616. "AlipayCommerceEducateCampusInstitutionsAddModel" : {
  42617. "type" : "object",
  42618. "properties" : {
  42619. "card_pict_url" : {
  42620. "type" : "string",
  42621. "description" : "事业单位法人证书或办学许可证的图片。入驻学校时,如果流入人工审核,会根据此图片进行辅助验证。",
  42622. "example" : "A*HZ9NTamTmx4AAAAAAAAAAAAAAQAAAQ"
  42623. },
  42624. "city_code" : {
  42625. "type" : "string",
  42626. "description" : "市",
  42627. "example" : "370800"
  42628. },
  42629. "inst_name" : {
  42630. "type" : "string",
  42631. "description" : "入驻的学校名称,必须是完整的学校全称",
  42632. "example" : "复旦大学"
  42633. },
  42634. "inst_std_code" : {
  42635. "type" : "string",
  42636. "description" : "学校外标,使用统一社会信用编码",
  42637. "example" : "3451000031"
  42638. },
  42639. "learning_stage" : {
  42640. "type" : "string",
  42641. "description" : "办学阶段。\t枚举值如下:\tKINDERGARTEN(幼儿园)\tPRIMARY_SCHOOL(小学) \tMIDDLE_SCHOOL(初中) \tHIGH_SCHOOL(高中)\tSECONDARY_VOCATIONAL_SCHOOL(中职中专) \t注意:如果学校兼有多种属性,可以连写用英文逗号拆分,如:MIDDLE_SCHOOL,HIGH_SCHOOL 代表兼有初中部和高中部;",
  42642. "example" : "MIDDLE_SCHOOL,HIGH_SCHOOL"
  42643. },
  42644. "province_code" : {
  42645. "type" : "string",
  42646. "description" : "省份",
  42647. "example" : "370000"
  42648. },
  42649. "school_property" : {
  42650. "type" : "string",
  42651. "description" : "学校性质.枚举值如下:\t 1:公立 \t2:民办",
  42652. "example" : "1"
  42653. }
  42654. }
  42655. },
  42656. "AlipayCommerceEducateCampusInstitutionsAddResponseModel" : {
  42657. "type" : "object",
  42658. "properties" : {
  42659. "inst_id" : {
  42660. "type" : "string",
  42661. "description" : "学校内标。如果入驻成功,返回学校内标;入驻失败则不返回学校内标。",
  42662. "example" : "2088000305455592"
  42663. },
  42664. "inst_std_code" : {
  42665. "type" : "string",
  42666. "description" : "学校外标。如果入驻成功,返回学校外标;入驻失败则不返回学校外标。",
  42667. "example" : "3451000031"
  42668. },
  42669. "reason" : {
  42670. "type" : "string",
  42671. "description" : "入驻失败原因",
  42672. "example" : "学校已存在或检测到类似学校,请联系支付宝业务人员处理"
  42673. }
  42674. }
  42675. },
  42676. "AlipayCommerceEducateCampusInstitutionsQueryErrorResponseModel" : {
  42677. "required" : [ "code", "message" ],
  42678. "type" : "object",
  42679. "properties" : {
  42680. "code" : {
  42681. "type" : "string",
  42682. "description" : "错误码",
  42683. "enum" : [ "QUERY_TOO_FREQUENCY", "ILLEGAL_PARAM", "SYSTEM_ERROR" ]
  42684. },
  42685. "links" : {
  42686. "type" : "string",
  42687. "description" : "解决方案链接"
  42688. },
  42689. "message" : {
  42690. "type" : "string",
  42691. "description" : "错误描述"
  42692. }
  42693. }
  42694. },
  42695. "AlipayCommerceEducateCampusInstitutionsQueryResponseModel" : {
  42696. "type" : "object",
  42697. "properties" : {
  42698. "school_info" : {
  42699. "$ref" : "#/components/schemas/SchoolSimpleInfo"
  42700. },
  42701. "school_info_list" : {
  42702. "type" : "array",
  42703. "description" : "学校基础信息列表",
  42704. "items" : {
  42705. "$ref" : "#/components/schemas/SchoolBaseInfo"
  42706. }
  42707. }
  42708. }
  42709. },
  42710. "AlipayCommerceEducateSchoolcardOrderSyncErrorResponseModel" : {
  42711. "required" : [ "code", "message" ],
  42712. "type" : "object",
  42713. "properties" : {
  42714. "code" : {
  42715. "type" : "string",
  42716. "description" : "错误码",
  42717. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_PARAM", "SCHOOL_NOT_EXIST", "CHECK_SCHOOL_SIGN_FAIL", "TRADE_SYNC_TEMPLATE_NOT_EXIST" ]
  42718. },
  42719. "links" : {
  42720. "type" : "string",
  42721. "description" : "解决方案链接"
  42722. },
  42723. "message" : {
  42724. "type" : "string",
  42725. "description" : "错误描述"
  42726. }
  42727. }
  42728. },
  42729. "AlipayCommerceEducateSchoolcardOrderSyncModel" : {
  42730. "type" : "object",
  42731. "properties" : {
  42732. "actual_amount" : {
  42733. "type" : "string",
  42734. "description" : "实际金额(总支付金额)",
  42735. "example" : "0.60"
  42736. },
  42737. "applet_app_id" : {
  42738. "type" : "string",
  42739. "description" : "小程序appid",
  42740. "example" : "2022xxxx"
  42741. },
  42742. "card_balance" : {
  42743. "type" : "string",
  42744. "description" : "校园卡余额",
  42745. "example" : "20.32"
  42746. },
  42747. "card_no" : {
  42748. "type" : "string",
  42749. "description" : "卡号",
  42750. "example" : "2022xxxx"
  42751. },
  42752. "card_type" : {
  42753. "type" : "string",
  42754. "description" : "卡类型",
  42755. "example" : "学生:1;教职工:2"
  42756. },
  42757. "create_time" : {
  42758. "type" : "string",
  42759. "description" : "该笔订单真实的创建时间,需精确到毫秒。时间格式为 yyyy-MM-dd HH:mm:ss.SSS。同一笔订单保持不变",
  42760. "example" : "2022-09-16 10:12:12.910"
  42761. },
  42762. "discount_amount" : {
  42763. "type" : "string",
  42764. "description" : "优惠金额",
  42765. "example" : "0.70"
  42766. },
  42767. "goods_orders" : {
  42768. "$ref" : "#/components/schemas/GoodsOrder"
  42769. },
  42770. "merchant_name" : {
  42771. "type" : "string",
  42772. "description" : "商家名称,不传默认展示学校名称",
  42773. "example" : "温州医科大食堂"
  42774. },
  42775. "modified_time" : {
  42776. "type" : "string",
  42777. "description" : "订单修改时间,时间格式为 yyyy-MM-dd HH:mm:ss.SSS。用于订单状态或数据变化较快的顺序控制,防止乱序。order_modified_time较晚的同步会被最终存储,order_modified_time相同的两次同步会被幂等处理。",
  42778. "example" : "2022-09-16 10:12:12.910"
  42779. },
  42780. "open_id" : {
  42781. "type" : "string",
  42782. "description" : "蚂蚁统一会员ID",
  42783. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  42784. },
  42785. "order_amount" : {
  42786. "type" : "string",
  42787. "description" : "订单金额",
  42788. "example" : "1.30"
  42789. },
  42790. "order_detail_url" : {
  42791. "type" : "string",
  42792. "description" : "订单详情链接",
  42793. "example" : "传完整链接page=后面需做encode\talipays://platformapi/startapp?appId=2021002126602599&page=%2fpages%2forder-details%2forder-details%3fticketOrderId%3d20210376854"
  42794. },
  42795. "order_status" : {
  42796. "type" : "string",
  42797. "description" : "订单状态\t消费成功 CONSUME_S ;已退款:REFUNDED;\t开卡成功 CARD_ACTIVED;消费失败:UN_CHARGE\t充值成功 RECHARGE_S",
  42798. "example" : "CONSUME_S 消费成功"
  42799. },
  42800. "out_biz_no" : {
  42801. "type" : "string",
  42802. "description" : "外部业务号",
  42803. "example" : "2022xxxx"
  42804. },
  42805. "pay_address" : {
  42806. "type" : "string",
  42807. "description" : "支付地点",
  42808. "example" : "1餐厅-3楼1号机"
  42809. },
  42810. "pay_mode" : {
  42811. "type" : "string",
  42812. "description" : "付款方式,不传默认展示学校名称+校园卡+(卡号后四位)",
  42813. "example" : "电子校园卡(卡号后四位)"
  42814. },
  42815. "rake_back_pid" : {
  42816. "type" : "string",
  42817. "description" : "返佣pid",
  42818. "example" : "2088xxxx"
  42819. },
  42820. "school_id" : {
  42821. "type" : "string",
  42822. "description" : "学校内标",
  42823. "example" : "2088xxxxx"
  42824. },
  42825. "school_pid" : {
  42826. "type" : "string",
  42827. "description" : "学校pid",
  42828. "example" : "2088xxx"
  42829. },
  42830. "service_provider_name" : {
  42831. "type" : "string",
  42832. "description" : "服务提供者名称",
  42833. "example" : "完美校园"
  42834. },
  42835. "type" : {
  42836. "type" : "string",
  42837. "description" : "业务类型",
  42838. "example" : "SCHOOL_PAY 校园团餐"
  42839. },
  42840. "user_id" : {
  42841. "type" : "string",
  42842. "description" : "蚂蚁统一会员ID",
  42843. "example" : "2088xxxx"
  42844. }
  42845. }
  42846. },
  42847. "AlipayCommerceEducateSchoolcardOrderSyncResponseModel" : {
  42848. "type" : "object",
  42849. "properties" : {
  42850. "order_id" : {
  42851. "type" : "string",
  42852. "description" : "订单号",
  42853. "example" : "2022xxxx"
  42854. }
  42855. }
  42856. },
  42857. "AlipayCommerceIotDeviceReportUploadErrorResponseModel" : {
  42858. "required" : [ "code", "message" ],
  42859. "type" : "object",
  42860. "properties" : {
  42861. "code" : {
  42862. "type" : "string",
  42863. "description" : "错误码",
  42864. "enum" : [ "DEVICE_REPORT_UPLOAD_ERROR" ]
  42865. },
  42866. "links" : {
  42867. "type" : "string",
  42868. "description" : "解决方案链接"
  42869. },
  42870. "message" : {
  42871. "type" : "string",
  42872. "description" : "错误描述"
  42873. }
  42874. }
  42875. },
  42876. "AlipayCommerceIotDeviceReportUploadModel" : {
  42877. "type" : "object",
  42878. "properties" : {
  42879. "report_content" : {
  42880. "type" : "string",
  42881. "description" : "设备检测报告详情",
  42882. "example" : "设备检测报告详情JSON字符串"
  42883. },
  42884. "sn" : {
  42885. "type" : "string",
  42886. "description" : "设备唯一标识",
  42887. "example" : "SMIT1D2020108003872"
  42888. }
  42889. }
  42890. },
  42891. "AlipayCommerceIotDeviceReportUploadResponseModel" : {
  42892. "type" : "object",
  42893. "properties" : {
  42894. "status" : {
  42895. "type" : "boolean",
  42896. "description" : "是否上传成功",
  42897. "example" : "true"
  42898. }
  42899. }
  42900. },
  42901. "AlipayCommerceIotSdarttoolMessageQueryErrorResponseModel" : {
  42902. "required" : [ "code", "message" ],
  42903. "type" : "object",
  42904. "properties" : {
  42905. "code" : {
  42906. "type" : "string",
  42907. "description" : "错误码",
  42908. "enum" : [ "SYSTEM_ERROR", "PARAM_INVALID", "NOT_FOUND_DATA" ]
  42909. },
  42910. "links" : {
  42911. "type" : "string",
  42912. "description" : "解决方案链接"
  42913. },
  42914. "message" : {
  42915. "type" : "string",
  42916. "description" : "错误描述"
  42917. }
  42918. }
  42919. },
  42920. "AlipayCommerceIotSdarttoolMessageQueryResponseModel" : {
  42921. "type" : "object",
  42922. "properties" : {
  42923. "consume_err_code" : {
  42924. "type" : "string",
  42925. "description" : "消息消费返回码,不用的消息类型返回码不一样",
  42926. "example" : "PRINT_FAIL"
  42927. },
  42928. "consume_err_msg" : {
  42929. "type" : "string",
  42930. "description" : "消息消费错误原因",
  42931. "example" : "消息消费错误原因"
  42932. },
  42933. "consume_state" : {
  42934. "type" : "integer",
  42935. "description" : "消息消费状态1-未消费; 2-消费成功;3-消费失败",
  42936. "example" : "1"
  42937. },
  42938. "deliver_cnt" : {
  42939. "type" : "integer",
  42940. "description" : "消息投递次数",
  42941. "example" : "1"
  42942. },
  42943. "deliver_status" : {
  42944. "type" : "string",
  42945. "description" : "消息投递状态\t1: 未投递 2: 投递中 3: 投递成功 4: 投递失败 5: 消息失效不再发送",
  42946. "example" : "1"
  42947. },
  42948. "last_deliver_at" : {
  42949. "type" : "integer",
  42950. "description" : "消息最后一次发送时间",
  42951. "example" : "1574752505481"
  42952. },
  42953. "msg_ack_time" : {
  42954. "type" : "integer",
  42955. "description" : "消息确认消费时间(ms)",
  42956. "example" : "1574752506609"
  42957. },
  42958. "msg_bida" : {
  42959. "type" : "integer",
  42960. "description" : "消息必达类型 1-非必达; 2-必达.",
  42961. "example" : "1"
  42962. },
  42963. "msg_expire_time" : {
  42964. "type" : "integer",
  42965. "description" : "消息过期时间(ms)",
  42966. "example" : "1575011705405"
  42967. },
  42968. "msg_gmt_create" : {
  42969. "type" : "integer",
  42970. "description" : "消息创建时间(ms)",
  42971. "example" : "1575028811454"
  42972. },
  42973. "msg_priority" : {
  42974. "type" : "integer",
  42975. "description" : "消息投递优先级",
  42976. "example" : "0"
  42977. }
  42978. }
  42979. },
  42980. "AlipayCommerceIotSdarttoolMessageSendErrorResponseModel" : {
  42981. "required" : [ "code", "message" ],
  42982. "type" : "object",
  42983. "properties" : {
  42984. "code" : {
  42985. "type" : "string",
  42986. "description" : "错误码",
  42987. "enum" : [ "PARAM_INVALID", "BIZ_ERROR", "SYSTEM_ERROR", "DEVICE_AUTH_FAIL", "PRINT_CONTEN_OVER_LENGTH", "NOT_FOUND_DEVICE", "DEVICE_NOT_ONLINE", "NO_SUB_INFO", "LOW_SYSTEM_VERSION", "MSG_TYPE_INVALID" ]
  42988. },
  42989. "links" : {
  42990. "type" : "string",
  42991. "description" : "解决方案链接"
  42992. },
  42993. "message" : {
  42994. "type" : "string",
  42995. "description" : "错误描述"
  42996. }
  42997. }
  42998. },
  42999. "AlipayCommerceIotSdarttoolMessageSendModel" : {
  43000. "type" : "object",
  43001. "properties" : {
  43002. "bi_da" : {
  43003. "type" : "boolean",
  43004. "description" : "消息是否必达(immediate_msg为false时此字段设置有效),消息过期时间顺延3*24h. 建议使用expire_time设置消息过期时间",
  43005. "example" : "false"
  43006. },
  43007. "device_query_type" : {
  43008. "type" : "string",
  43009. "description" : "设备查询条件类型 ;SUPPLIERID_SN:supplierid+sn ;\t ITEMID_SN:itemid + sn;\tSN:sn",
  43010. "example" : "ITEMID_SN"
  43011. },
  43012. "immediate_msg" : {
  43013. "type" : "boolean",
  43014. "description" : "是否即时消息; true-校验设备是否在线,false-不校验设备是否在线",
  43015. "example" : "true"
  43016. },
  43017. "item_id" : {
  43018. "type" : "string",
  43019. "description" : "产品ID",
  43020. "example" : "2019111304877238"
  43021. },
  43022. "msg_content" : {
  43023. "type" : "string",
  43024. "description" : "消息内容",
  43025. "example" : "{\"contentParams\":[\"消息内容\"]}"
  43026. },
  43027. "msg_content_type" : {
  43028. "type" : "string",
  43029. "description" : "消息内容格式",
  43030. "example" : "text"
  43031. },
  43032. "msg_expire" : {
  43033. "type" : "integer",
  43034. "description" : "消息过期时间戳(ms), 默认为当前时间顺延24h有效。当设备在线时消息服务过期之前尝试推送。最大过期时间顺延3*24h",
  43035. "example" : "1573107942000"
  43036. },
  43037. "msg_priority" : {
  43038. "type" : "integer",
  43039. "description" : "消息优先级(immediate_msg为false此字段设置有效)数字越大优先发送。",
  43040. "example" : "0"
  43041. },
  43042. "msg_type" : {
  43043. "type" : "string",
  43044. "description" : "消息类型:\txpaas_common-小程序消息;\truyi_ordermsg-如意订单消息",
  43045. "example" : "xpaas_common"
  43046. },
  43047. "service_id" : {
  43048. "type" : "string",
  43049. "description" : "服务ID,当小程序消费消息时必传(传入的是小程序ID)",
  43050. "example" : "201808903221"
  43051. },
  43052. "sn" : {
  43053. "type" : "string",
  43054. "description" : "设备sn号",
  43055. "example" : "10000000001"
  43056. },
  43057. "supplier_id" : {
  43058. "type" : "string",
  43059. "description" : "厂商ID",
  43060. "example" : "20000000001"
  43061. }
  43062. }
  43063. },
  43064. "AlipayCommerceIotSdarttoolMessageSendResponseModel" : {
  43065. "type" : "object",
  43066. "properties" : {
  43067. "message_no" : {
  43068. "type" : "string",
  43069. "description" : "消息ID",
  43070. "example" : "201911010000001"
  43071. }
  43072. }
  43073. },
  43074. "AlipayCommerceLogisticsInvoiceIstdwaybillCreateErrorResponseModel" : {
  43075. "required" : [ "code", "message" ],
  43076. "type" : "object",
  43077. "properties" : {
  43078. "code" : {
  43079. "type" : "string",
  43080. "description" : "错误码",
  43081. "enum" : [ "PARAM_ILLEGAL", "SYSTEM_ERROR" ]
  43082. },
  43083. "links" : {
  43084. "type" : "string",
  43085. "description" : "解决方案链接"
  43086. },
  43087. "message" : {
  43088. "type" : "string",
  43089. "description" : "错误描述"
  43090. }
  43091. }
  43092. },
  43093. "AlipayCommerceLogisticsInvoiceIstdwaybillCreateModel" : {
  43094. "type" : "object",
  43095. "properties" : {
  43096. "invoice" : {
  43097. "$ref" : "#/components/schemas/Invoice"
  43098. },
  43099. "logistics_code" : {
  43100. "type" : "string",
  43101. "description" : "即时配送公司编码",
  43102. "example" : "FENGNIAO"
  43103. },
  43104. "out_invoice_request_no" : {
  43105. "type" : "string",
  43106. "description" : "开票请求流水号",
  43107. "example" : "out_invoice_no_00001"
  43108. },
  43109. "waybill_invoices" : {
  43110. "type" : "array",
  43111. "description" : "即时配送运单列表",
  43112. "items" : {
  43113. "$ref" : "#/components/schemas/WaybillInvoice"
  43114. }
  43115. }
  43116. }
  43117. },
  43118. "AlipayCommerceLogisticsInvoiceIstdwaybillCreateResponseModel" : {
  43119. "type" : "object",
  43120. "properties" : {
  43121. "invoice_fee" : {
  43122. "type" : "string",
  43123. "description" : "开票金额",
  43124. "example" : "100.00"
  43125. },
  43126. "status" : {
  43127. "type" : "integer",
  43128. "description" : "整体的运单开票状态,0:处理中 1:开票成功 2:开票失败",
  43129. "example" : "0"
  43130. },
  43131. "waybill_invoices" : {
  43132. "type" : "array",
  43133. "description" : "即时配送运单列表",
  43134. "items" : {
  43135. "$ref" : "#/components/schemas/WaybillInvoiceIstd"
  43136. }
  43137. }
  43138. }
  43139. },
  43140. "AlipayCommerceLogisticsInvoiceIstdwaybillQueryErrorResponseModel" : {
  43141. "required" : [ "code", "message" ],
  43142. "type" : "object",
  43143. "properties" : {
  43144. "code" : {
  43145. "type" : "string",
  43146. "description" : "错误码",
  43147. "enum" : [ "PARAM_ILLEGAL", "SYSTEM_ERROR" ]
  43148. },
  43149. "links" : {
  43150. "type" : "string",
  43151. "description" : "解决方案链接"
  43152. },
  43153. "message" : {
  43154. "type" : "string",
  43155. "description" : "错误描述"
  43156. }
  43157. }
  43158. },
  43159. "AlipayCommerceLogisticsInvoiceIstdwaybillQueryResponseModel" : {
  43160. "type" : "object",
  43161. "properties" : {
  43162. "status" : {
  43163. "type" : "integer",
  43164. "description" : "整体的运单开票状态,0:处理中 1:开票成功 2:开票失败",
  43165. "example" : "0"
  43166. },
  43167. "waybill_invoices" : {
  43168. "type" : "array",
  43169. "description" : "即时配送运单列表",
  43170. "items" : {
  43171. "$ref" : "#/components/schemas/WaybillInvoiceQueryIstd"
  43172. }
  43173. }
  43174. }
  43175. },
  43176. "AlipayCommerceLogisticsLogisticscompanyInstantdeliveryQueryErrorResponseModel" : {
  43177. "required" : [ "code", "message" ],
  43178. "type" : "object",
  43179. "properties" : {
  43180. "code" : {
  43181. "type" : "string",
  43182. "description" : "错误码",
  43183. "enum" : [ "SYSTEM_ERROR" ]
  43184. },
  43185. "links" : {
  43186. "type" : "string",
  43187. "description" : "解决方案链接"
  43188. },
  43189. "message" : {
  43190. "type" : "string",
  43191. "description" : "错误描述"
  43192. }
  43193. }
  43194. },
  43195. "AlipayCommerceLogisticsLogisticscompanyInstantdeliveryQueryResponseModel" : {
  43196. "type" : "object",
  43197. "properties" : {
  43198. "logistics_companies" : {
  43199. "type" : "array",
  43200. "description" : "即时配送公司列表",
  43201. "items" : {
  43202. "$ref" : "#/components/schemas/LogisticsCompanyResult"
  43203. }
  43204. }
  43205. }
  43206. },
  43207. "AlipayCommerceLogisticsOrderInstantdeliveryCancelErrorResponseModel" : {
  43208. "required" : [ "code", "message" ],
  43209. "type" : "object",
  43210. "properties" : {
  43211. "code" : {
  43212. "type" : "string",
  43213. "description" : "错误码",
  43214. "enum" : [ "PARAM_ILLEGAL", "SYSTEM_ERROR" ]
  43215. },
  43216. "links" : {
  43217. "type" : "string",
  43218. "description" : "解决方案链接"
  43219. },
  43220. "message" : {
  43221. "type" : "string",
  43222. "description" : "错误描述"
  43223. }
  43224. }
  43225. },
  43226. "AlipayCommerceLogisticsOrderInstantdeliveryCancelModel" : {
  43227. "type" : "object",
  43228. "properties" : {
  43229. "cancel_reason" : {
  43230. "type" : "string",
  43231. "description" : "取消原因,取消原因id为i_6时必填",
  43232. "example" : "其他原因取消运单"
  43233. },
  43234. "cancel_reason_id" : {
  43235. "type" : "string",
  43236. "description" : "取消原因id",
  43237. "example" : "i_6"
  43238. },
  43239. "logistics_code" : {
  43240. "type" : "string",
  43241. "description" : "即时配送公司编码",
  43242. "example" : "FENGNIAO"
  43243. },
  43244. "order_no" : {
  43245. "type" : "string",
  43246. "description" : "支付宝订单流水号",
  43247. "example" : "2020090411130000000000772400280352"
  43248. },
  43249. "out_order_no" : {
  43250. "type" : "string",
  43251. "description" : "商家订单号,与order_no不能同时为空",
  43252. "example" : "2020090411140000000000777000216122"
  43253. },
  43254. "waybill_no" : {
  43255. "type" : "string",
  43256. "description" : "即时配送运单编号",
  43257. "example" : "waybillno001"
  43258. }
  43259. }
  43260. },
  43261. "AlipayCommerceLogisticsOrderInstantdeliveryCancelResponseModel" : {
  43262. "type" : "object",
  43263. "properties" : {
  43264. "cancel_fee" : {
  43265. "type" : "string",
  43266. "description" : "取消金额",
  43267. "example" : "100.00"
  43268. }
  43269. }
  43270. },
  43271. "AlipayCommerceLogisticsOrderInstantdeliveryCreateErrorResponseModel" : {
  43272. "required" : [ "code", "message" ],
  43273. "type" : "object",
  43274. "properties" : {
  43275. "code" : {
  43276. "type" : "string",
  43277. "description" : "错误码",
  43278. "enum" : [ "SYSTEM_ERROR", "PARAM_ILLEGAL", "LOGISTICS_COMPANY_CONFIG_EXCEPTION", "NOT_REGISTER_LOGISTICS_ACCOUNT_OR_SHOP", "MRCH_DEDUCT_AGREEMENT_NOT_EXIST", "OUT_ORDER_NO_REPEAT", "WAYBILL_NO_REPEAT", "PAY_FAIL", "PAY_UNKNOWN", "THIRD_BIZ_EXCEPTION" ]
  43279. },
  43280. "links" : {
  43281. "type" : "string",
  43282. "description" : "解决方案链接"
  43283. },
  43284. "message" : {
  43285. "type" : "string",
  43286. "description" : "错误描述"
  43287. }
  43288. }
  43289. },
  43290. "AlipayCommerceLogisticsOrderInstantdeliveryCreateModel" : {
  43291. "type" : "object",
  43292. "properties" : {
  43293. "consumer_id" : {
  43294. "type" : "string",
  43295. "description" : "消费者id, 如果consumer_source是alipay,则consumer_id必须是支付宝用户uid;如果consumer_source是wx,则consumer_id可以为空",
  43296. "example" : "2088xxx"
  43297. },
  43298. "consumer_notify" : {
  43299. "$ref" : "#/components/schemas/ConsumerNotifyIstd"
  43300. },
  43301. "consumer_source" : {
  43302. "type" : "string",
  43303. "description" : "消费者来源,支付宝:alipay; 微信:wx",
  43304. "example" : "alipay"
  43305. },
  43306. "goods_details" : {
  43307. "type" : "array",
  43308. "description" : "商品明细",
  43309. "items" : {
  43310. "$ref" : "#/components/schemas/GoodsDetailIstd"
  43311. }
  43312. },
  43313. "goods_info" : {
  43314. "$ref" : "#/components/schemas/GoodsInfoIstd"
  43315. },
  43316. "logistics_code" : {
  43317. "type" : "string",
  43318. "description" : "即时配送公司编码",
  43319. "example" : "FENGNIAO"
  43320. },
  43321. "logistics_token" : {
  43322. "type" : "string",
  43323. "description" : "下即时配送订单token, 配送公司可以返回此字段,当商家下单时候带上这个字段,保证在一段时间内运费不变",
  43324. "example" : "token001"
  43325. },
  43326. "open_id" : {
  43327. "type" : "string",
  43328. "description" : "消费者id, 如果consumer_source是alipay,则consumer_id必须是支付宝用户openId;如果consumer_source是wx,则consumer_id可以为空",
  43329. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  43330. },
  43331. "order_ext_istd" : {
  43332. "$ref" : "#/components/schemas/OrderExtIstd"
  43333. },
  43334. "out_order_no" : {
  43335. "type" : "string",
  43336. "description" : "商家订单号",
  43337. "example" : "2020090411140000000000777000216122"
  43338. },
  43339. "receiver" : {
  43340. "$ref" : "#/components/schemas/ReceiverIstd"
  43341. },
  43342. "sender" : {
  43343. "$ref" : "#/components/schemas/SenderIstd"
  43344. },
  43345. "shop_no" : {
  43346. "type" : "string",
  43347. "description" : "商家球房编号",
  43348. "example" : "shopno001"
  43349. }
  43350. }
  43351. },
  43352. "AlipayCommerceLogisticsOrderInstantdeliveryCreateResponseModel" : {
  43353. "type" : "object",
  43354. "properties" : {
  43355. "coupon_fee" : {
  43356. "type" : "string",
  43357. "description" : "优惠券费用",
  43358. "example" : "1.00"
  43359. },
  43360. "deliver_fee" : {
  43361. "type" : "string",
  43362. "description" : "运费",
  43363. "example" : "10.00"
  43364. },
  43365. "dispatch_duration" : {
  43366. "type" : "integer",
  43367. "description" : "预计骑手还剩多久接单,单位:秒",
  43368. "example" : "60"
  43369. },
  43370. "distance" : {
  43371. "type" : "integer",
  43372. "description" : "配送距离",
  43373. "example" : "300"
  43374. },
  43375. "fee" : {
  43376. "type" : "string",
  43377. "description" : "实际运费",
  43378. "example" : "9.00"
  43379. },
  43380. "finish_code" : {
  43381. "type" : "string",
  43382. "description" : "收货码,骑手必须输入收货码才能完成订单妥投",
  43383. "example" : "xxx"
  43384. },
  43385. "insurance_fee" : {
  43386. "type" : "string",
  43387. "description" : "保价费用",
  43388. "example" : "0.00"
  43389. },
  43390. "order_no" : {
  43391. "type" : "string",
  43392. "description" : "支付宝订单流水号",
  43393. "example" : "2020090411130000000000772400280352"
  43394. },
  43395. "pay_amount" : {
  43396. "type" : "string",
  43397. "description" : "支付金额, 实际扣减的费用以此字段为准",
  43398. "example" : "9.00"
  43399. },
  43400. "pickup_code" : {
  43401. "type" : "string",
  43402. "description" : "取货码, 骑手必须输入取货码才能从商家取货",
  43403. "example" : "xxx"
  43404. },
  43405. "status" : {
  43406. "type" : "string",
  43407. "description" : "即时配送运单状态",
  43408. "example" : "i_101"
  43409. },
  43410. "waybill_no" : {
  43411. "type" : "string",
  43412. "description" : "即时配送运单编号",
  43413. "example" : "waybillno001"
  43414. }
  43415. }
  43416. },
  43417. "AlipayCommerceLogisticsOrderInstantdeliveryPrecreateErrorResponseModel" : {
  43418. "required" : [ "code", "message" ],
  43419. "type" : "object",
  43420. "properties" : {
  43421. "code" : {
  43422. "type" : "string",
  43423. "description" : "错误码",
  43424. "enum" : [ "SYSTEM_ERROR", "PARAM_ILLEGAL", "LOGISTICS_COMPANY_CONFIG_EXCEPTION", "MRCH_ACCOUNT_AVAILABLE_AMOUNT_NOT_ENOUGH", "MRCH_PID_ACCOUNT_NOT_EXIST", "NOT_REGISTER_LOGISTICS_ACCOUNT_OR_SHOP" ]
  43425. },
  43426. "links" : {
  43427. "type" : "string",
  43428. "description" : "解决方案链接"
  43429. },
  43430. "message" : {
  43431. "type" : "string",
  43432. "description" : "错误描述"
  43433. }
  43434. }
  43435. },
  43436. "AlipayCommerceLogisticsOrderInstantdeliveryPrecreateModel" : {
  43437. "type" : "object",
  43438. "properties" : {
  43439. "consumer_id" : {
  43440. "type" : "string",
  43441. "description" : "消费者id, 如果consumer_source是alipay,则consumer_id必须是支付宝用户uid;如果consumer_source是wx,则consumer_id可以为空",
  43442. "example" : "2088xxx"
  43443. },
  43444. "consumer_notify" : {
  43445. "$ref" : "#/components/schemas/ConsumerNotifyIstd"
  43446. },
  43447. "consumer_source" : {
  43448. "type" : "string",
  43449. "description" : "消费者来源, 支付宝:alipay, 微信:wx",
  43450. "example" : "alipay"
  43451. },
  43452. "goods_details" : {
  43453. "type" : "array",
  43454. "description" : "商品明细",
  43455. "items" : {
  43456. "$ref" : "#/components/schemas/GoodsDetailIstd"
  43457. }
  43458. },
  43459. "goods_info" : {
  43460. "$ref" : "#/components/schemas/GoodsInfoIstd"
  43461. },
  43462. "logistics_companies" : {
  43463. "type" : "array",
  43464. "description" : "即时配送公司配置列表",
  43465. "items" : {
  43466. "$ref" : "#/components/schemas/LogisticsCompanyIstd"
  43467. }
  43468. },
  43469. "open_id" : {
  43470. "type" : "string",
  43471. "description" : "消费者id, 如果consumer_source是alipay,则consumer_id必须是支付宝的openId;如果consumer_source是wx,则consumer_id可以为空",
  43472. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  43473. },
  43474. "order_ext_istd" : {
  43475. "$ref" : "#/components/schemas/OrderExtIstdForPreOrder"
  43476. },
  43477. "out_order_no" : {
  43478. "type" : "string",
  43479. "description" : "商家订单号",
  43480. "example" : "2020090411140000000000777000216122"
  43481. },
  43482. "receiver" : {
  43483. "$ref" : "#/components/schemas/ReceiverIstd"
  43484. },
  43485. "sender" : {
  43486. "$ref" : "#/components/schemas/SenderIstd"
  43487. },
  43488. "shop_no" : {
  43489. "type" : "string",
  43490. "description" : "商家球房编号",
  43491. "example" : "shopno001"
  43492. }
  43493. }
  43494. },
  43495. "AlipayCommerceLogisticsOrderInstantdeliveryPrecreateResponseModel" : {
  43496. "type" : "object",
  43497. "properties" : {
  43498. "waybills" : {
  43499. "type" : "array",
  43500. "description" : "即时配送运单列表",
  43501. "items" : {
  43502. "$ref" : "#/components/schemas/PreCreateWaybillIstd"
  43503. }
  43504. }
  43505. }
  43506. },
  43507. "AlipayCommerceLogisticsOrderIstdcancelPreconsultErrorResponseModel" : {
  43508. "required" : [ "code", "message" ],
  43509. "type" : "object",
  43510. "properties" : {
  43511. "code" : {
  43512. "type" : "string",
  43513. "description" : "错误码",
  43514. "enum" : [ "PARAM_ILLEGAL", "SYSTEM_ERROR" ]
  43515. },
  43516. "links" : {
  43517. "type" : "string",
  43518. "description" : "解决方案链接"
  43519. },
  43520. "message" : {
  43521. "type" : "string",
  43522. "description" : "错误描述"
  43523. }
  43524. }
  43525. },
  43526. "AlipayCommerceLogisticsOrderIstdcancelPreconsultModel" : {
  43527. "type" : "object",
  43528. "properties" : {
  43529. "cancel_reason" : {
  43530. "type" : "string",
  43531. "description" : "取消原因,取消原因id为i_6时必填",
  43532. "example" : "其他原因取消运单"
  43533. },
  43534. "cancel_reason_id" : {
  43535. "type" : "string",
  43536. "description" : "取消原因id",
  43537. "example" : "i_6"
  43538. },
  43539. "logistics_code" : {
  43540. "type" : "string",
  43541. "description" : "即时配送公司编码",
  43542. "example" : "FENGNIAO"
  43543. },
  43544. "order_no" : {
  43545. "type" : "string",
  43546. "description" : "支付宝订单流水号",
  43547. "example" : "2020090411130000000000772400280352"
  43548. },
  43549. "out_order_no" : {
  43550. "type" : "string",
  43551. "description" : "商家订单号,与order_no不能同时为空",
  43552. "example" : "2020090411140000000000777000216122"
  43553. },
  43554. "waybill_no" : {
  43555. "type" : "string",
  43556. "description" : "即时配送运单编号",
  43557. "example" : "waybillno001"
  43558. }
  43559. }
  43560. },
  43561. "AlipayCommerceLogisticsOrderIstdcancelPreconsultResponseModel" : {
  43562. "type" : "object",
  43563. "properties" : {
  43564. "allow_cancel" : {
  43565. "type" : "boolean",
  43566. "description" : "是否允许取消",
  43567. "example" : "true"
  43568. },
  43569. "cancel_fee" : {
  43570. "type" : "string",
  43571. "description" : "取消金额",
  43572. "example" : "100.00"
  43573. }
  43574. }
  43575. },
  43576. "AlipayCommerceLogisticsOrderIstdretryCreateErrorResponseModel" : {
  43577. "required" : [ "code", "message" ],
  43578. "type" : "object",
  43579. "properties" : {
  43580. "code" : {
  43581. "type" : "string",
  43582. "description" : "错误码",
  43583. "enum" : [ "SYSTEM_ERROR", "PARAM_ILLEGAL", "LOGISTICS_COMPANY_CONFIG_EXCEPTION", "NOT_REGISTER_LOGISTICS_ACCOUNT_OR_SHOP", "MRCH_DEDUCT_AGREEMENT_NOT_EXIST", "OUT_ORDER_NO_REPEAT", "WAYBILL_NO_REPEAT", "PAY_FAIL", "PAY_UNKNOWN", "THIRD_BIZ_EXCEPTION" ]
  43584. },
  43585. "links" : {
  43586. "type" : "string",
  43587. "description" : "解决方案链接"
  43588. },
  43589. "message" : {
  43590. "type" : "string",
  43591. "description" : "错误描述"
  43592. }
  43593. }
  43594. },
  43595. "AlipayCommerceLogisticsOrderIstdretryCreateModel" : {
  43596. "type" : "object",
  43597. "properties" : {
  43598. "consumer_id" : {
  43599. "type" : "string",
  43600. "description" : "消费者id, 如果consumer_source是alipay,则consumer_id必须是支付宝用户uid;如果consumer_source是wx,则consumer_id可以为空",
  43601. "example" : "2088xxx"
  43602. },
  43603. "consumer_notify" : {
  43604. "$ref" : "#/components/schemas/ConsumerNotifyIstd"
  43605. },
  43606. "consumer_source" : {
  43607. "type" : "string",
  43608. "description" : "消费者来源, 支付宝:alipay, 微信:wx",
  43609. "example" : "alipay"
  43610. },
  43611. "goods_details" : {
  43612. "type" : "array",
  43613. "description" : "商品明细",
  43614. "items" : {
  43615. "$ref" : "#/components/schemas/GoodsDetailIstd"
  43616. }
  43617. },
  43618. "goods_info" : {
  43619. "$ref" : "#/components/schemas/GoodsInfoIstd"
  43620. },
  43621. "logistics_code" : {
  43622. "type" : "string",
  43623. "description" : "即时配送公司编码",
  43624. "example" : "FENGNIAO"
  43625. },
  43626. "logistics_token" : {
  43627. "type" : "string",
  43628. "description" : "下即时配送订单token, 配送公司可以返回此字段,当商家下单时候带上这个字段,保证在一段时间内运费不变",
  43629. "example" : "token001"
  43630. },
  43631. "open_id" : {
  43632. "type" : "string",
  43633. "description" : "消费者id, 如果consumer_source是alipay,则consumer_id必须是支付宝用户openId;如果consumer_source是wx,则consumer_id可以为空",
  43634. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  43635. },
  43636. "order_ext_istd" : {
  43637. "$ref" : "#/components/schemas/OrderExtIstd"
  43638. },
  43639. "out_order_no" : {
  43640. "type" : "string",
  43641. "description" : "商家订单号",
  43642. "example" : "2020090411140000000000777000216122"
  43643. },
  43644. "receiver" : {
  43645. "$ref" : "#/components/schemas/ReceiverIstd"
  43646. },
  43647. "sender" : {
  43648. "$ref" : "#/components/schemas/SenderIstd"
  43649. },
  43650. "shop_no" : {
  43651. "type" : "string",
  43652. "description" : "商家球房编号",
  43653. "example" : "shopno001"
  43654. }
  43655. }
  43656. },
  43657. "AlipayCommerceLogisticsOrderIstdretryCreateResponseModel" : {
  43658. "type" : "object",
  43659. "properties" : {
  43660. "coupon_fee" : {
  43661. "type" : "string",
  43662. "description" : "优惠券费用",
  43663. "example" : "1.00"
  43664. },
  43665. "deliver_fee" : {
  43666. "type" : "string",
  43667. "description" : "运费",
  43668. "example" : "10.00"
  43669. },
  43670. "dispatch_duration" : {
  43671. "type" : "integer",
  43672. "description" : "预计骑手还剩多久接单,单位:秒",
  43673. "example" : "60"
  43674. },
  43675. "distance" : {
  43676. "type" : "integer",
  43677. "description" : "配送距离(单位:米)",
  43678. "example" : "300"
  43679. },
  43680. "fee" : {
  43681. "type" : "string",
  43682. "description" : "实际运费",
  43683. "example" : "9.00"
  43684. },
  43685. "finish_code" : {
  43686. "type" : "string",
  43687. "description" : "收货码,骑手必须输入收货码才能完成订单妥投",
  43688. "example" : "xxx"
  43689. },
  43690. "insurance_fee" : {
  43691. "type" : "string",
  43692. "description" : "保价费用",
  43693. "example" : "0.00"
  43694. },
  43695. "order_no" : {
  43696. "type" : "string",
  43697. "description" : "支付宝订单流水号",
  43698. "example" : "2020090411130000000000772400280352"
  43699. },
  43700. "pay_amount" : {
  43701. "type" : "string",
  43702. "description" : "支付金额, 实际扣减的费用以此字段为准",
  43703. "example" : "9.00"
  43704. },
  43705. "pickup_code" : {
  43706. "type" : "string",
  43707. "description" : "取货码, 骑手必须输入取货码才能从商家取货",
  43708. "example" : "xxx"
  43709. },
  43710. "status" : {
  43711. "type" : "string",
  43712. "description" : "即时配送运单状态",
  43713. "example" : "i_101"
  43714. },
  43715. "waybill_no" : {
  43716. "type" : "string",
  43717. "description" : "即时配送运单编号",
  43718. "example" : "waybillno001"
  43719. }
  43720. }
  43721. },
  43722. "AlipayCommerceLogisticsWaybillIstddetailQueryErrorResponseModel" : {
  43723. "required" : [ "code", "message" ],
  43724. "type" : "object",
  43725. "properties" : {
  43726. "code" : {
  43727. "type" : "string",
  43728. "description" : "错误码",
  43729. "enum" : [ "PARAM_ILLEGAL", "SYSTEM_ERROR" ]
  43730. },
  43731. "links" : {
  43732. "type" : "string",
  43733. "description" : "解决方案链接"
  43734. },
  43735. "message" : {
  43736. "type" : "string",
  43737. "description" : "错误描述"
  43738. }
  43739. }
  43740. },
  43741. "AlipayCommerceLogisticsWaybillIstddetailQueryResponseModel" : {
  43742. "type" : "object",
  43743. "properties" : {
  43744. "reach_duration" : {
  43745. "type" : "integer",
  43746. "description" : "预计还剩多久送达 单位:秒",
  43747. "example" : "600"
  43748. },
  43749. "rider_lat" : {
  43750. "type" : "string",
  43751. "description" : "骑手位置纬度",
  43752. "example" : "30.246984"
  43753. },
  43754. "rider_lng" : {
  43755. "type" : "string",
  43756. "description" : "骑手位置经度",
  43757. "example" : "120.210568"
  43758. },
  43759. "rider_mobile_no" : {
  43760. "type" : "string",
  43761. "description" : "骑手电话",
  43762. "example" : "18962866666"
  43763. },
  43764. "rider_name" : {
  43765. "type" : "string",
  43766. "description" : "骑手姓名",
  43767. "example" : "小明"
  43768. },
  43769. "status" : {
  43770. "type" : "string",
  43771. "description" : "即时配送运单状态",
  43772. "example" : "i_102"
  43773. }
  43774. }
  43775. },
  43776. "AlipayCommerceOperationActivityMerchantModifyErrorResponseModel" : {
  43777. "required" : [ "code", "message" ],
  43778. "type" : "object",
  43779. "properties" : {
  43780. "code" : {
  43781. "type" : "string",
  43782. "description" : "错误码",
  43783. "enum" : [ "INVALID_PARAMETER", "BIZ_SYSTEM_ERROR" ]
  43784. },
  43785. "links" : {
  43786. "type" : "string",
  43787. "description" : "解决方案链接"
  43788. },
  43789. "message" : {
  43790. "type" : "string",
  43791. "description" : "错误描述"
  43792. }
  43793. }
  43794. },
  43795. "AlipayCommerceOperationActivityMerchantModifyModel" : {
  43796. "type" : "object",
  43797. "properties" : {
  43798. "consumption_threshold" : {
  43799. "type" : "integer",
  43800. "description" : "消费门槛,单位分",
  43801. "example" : "500"
  43802. },
  43803. "discount_amount" : {
  43804. "type" : "integer",
  43805. "description" : "优惠金额,单位分",
  43806. "example" : "500"
  43807. },
  43808. "type" : {
  43809. "type" : "string",
  43810. "description" : "NORMAL 常规类型,不限制, RESTRICTED 限制报名条件",
  43811. "example" : "NORMAL"
  43812. }
  43813. }
  43814. },
  43815. "AlipayCommerceOperationActivityMerchantModifyResponseModel" : {
  43816. "type" : "object"
  43817. },
  43818. "AlipayCommerceOperationActivityMerchantSignErrorResponseModel" : {
  43819. "required" : [ "code", "message" ],
  43820. "type" : "object",
  43821. "properties" : {
  43822. "code" : {
  43823. "type" : "string",
  43824. "description" : "错误码",
  43825. "enum" : [ "INVALID_PARAMETER", "BIZ_SYSTEM_ERROR" ]
  43826. },
  43827. "links" : {
  43828. "type" : "string",
  43829. "description" : "解决方案链接"
  43830. },
  43831. "message" : {
  43832. "type" : "string",
  43833. "description" : "错误描述"
  43834. }
  43835. }
  43836. },
  43837. "AlipayCommerceOperationActivityMerchantSignModel" : {
  43838. "type" : "object",
  43839. "properties" : {
  43840. "consumption_threshold" : {
  43841. "type" : "integer",
  43842. "description" : "消费门槛(单位分)",
  43843. "example" : "5000"
  43844. },
  43845. "discount_amount" : {
  43846. "type" : "integer",
  43847. "description" : "优惠金额,单位分",
  43848. "example" : "500"
  43849. },
  43850. "type" : {
  43851. "type" : "string",
  43852. "description" : "报名类型,NORMAL 常规类型,不限制, RESTRICTED 限制报名条件",
  43853. "example" : "NORMAL"
  43854. }
  43855. }
  43856. },
  43857. "AlipayCommerceOperationActivityMerchantSignResponseModel" : {
  43858. "type" : "object"
  43859. },
  43860. "AlipayCommerceOperationActivityMerchantUnsignErrorResponseModel" : {
  43861. "required" : [ "code", "message" ],
  43862. "type" : "object",
  43863. "properties" : {
  43864. "code" : {
  43865. "type" : "string",
  43866. "description" : "错误码",
  43867. "enum" : [ "INVALID_PARAMETER", "BIZ_SYSTEM_ERROR" ]
  43868. },
  43869. "links" : {
  43870. "type" : "string",
  43871. "description" : "解决方案链接"
  43872. },
  43873. "message" : {
  43874. "type" : "string",
  43875. "description" : "错误描述"
  43876. }
  43877. }
  43878. },
  43879. "AlipayCommerceOperationActivityMerchantUnsignResponseModel" : {
  43880. "type" : "object"
  43881. },
  43882. "AlipayCommerceOperationBankActivityQueryErrorResponseModel" : {
  43883. "required" : [ "code", "message" ],
  43884. "type" : "object",
  43885. "properties" : {
  43886. "code" : {
  43887. "type" : "string",
  43888. "description" : "错误码",
  43889. "enum" : [ "INVALID_PARAMETER", "BIZ_SYSTEM_ERROR" ]
  43890. },
  43891. "links" : {
  43892. "type" : "string",
  43893. "description" : "解决方案链接"
  43894. },
  43895. "message" : {
  43896. "type" : "string",
  43897. "description" : "错误描述"
  43898. }
  43899. }
  43900. },
  43901. "AlipayCommerceOperationBankActivityQueryResponseModel" : {
  43902. "type" : "object",
  43903. "properties" : {
  43904. "activity_info_list" : {
  43905. "type" : "array",
  43906. "description" : "活动信息列表",
  43907. "items" : {
  43908. "$ref" : "#/components/schemas/BankActivityInfo"
  43909. }
  43910. },
  43911. "merchant_tag" : {
  43912. "type" : "string",
  43913. "description" : "商户标签",
  43914. "example" : "28949219098127398"
  43915. }
  43916. }
  43917. },
  43918. "AlipayCommerceTransportChargerChargerbindinfoSyncErrorResponseModel" : {
  43919. "required" : [ "code", "message" ],
  43920. "type" : "object",
  43921. "properties" : {
  43922. "code" : {
  43923. "type" : "string",
  43924. "description" : "错误码",
  43925. "enum" : [ "ISV_INVALID_ARGUMENTS", "BUSINESS_FAILED" ]
  43926. },
  43927. "links" : {
  43928. "type" : "string",
  43929. "description" : "解决方案链接"
  43930. },
  43931. "message" : {
  43932. "type" : "string",
  43933. "description" : "错误描述"
  43934. }
  43935. }
  43936. },
  43937. "AlipayCommerceTransportChargerChargerbindinfoSyncModel" : {
  43938. "type" : "object",
  43939. "properties" : {
  43940. "bind_qrcode" : {
  43941. "type" : "string",
  43942. "description" : "绑定充电桩二维码值,用户扫码绑桩扫描的二维码",
  43943. "example" : "https://qrcode.starcharge.com/#/10050638"
  43944. },
  43945. "bind_status" : {
  43946. "type" : "string",
  43947. "description" : "绑定状态 1:绑定; 2:解绑; 0:未知",
  43948. "example" : "1"
  43949. },
  43950. "bind_time" : {
  43951. "type" : "string",
  43952. "description" : "绑定时间,绑定成功必传",
  43953. "example" : "2022-11-17 17:39:27"
  43954. },
  43955. "connector_type" : {
  43956. "type" : "string",
  43957. "description" : "1:家用插座\t2、交流接口插座\t3:交流接口插头\t4、直流接口枪头\t5、无线充电座\t6、其他",
  43958. "example" : "2"
  43959. },
  43960. "current_output_type" : {
  43961. "type" : "string",
  43962. "description" : "1:国标\t2:欧标\t3:美标\t4:日标\t5:其他",
  43963. "example" : "1"
  43964. },
  43965. "equip_id" : {
  43966. "type" : "string",
  43967. "description" : "设备编号",
  43968. "example" : "65469765489754837868"
  43969. },
  43970. "equip_imei" : {
  43971. "type" : "string",
  43972. "description" : "设备IMEI号",
  43973. "example" : "2432479035808"
  43974. },
  43975. "equip_name" : {
  43976. "type" : "string",
  43977. "description" : "设备名称,对用户展示,可以是设备名称,也可以是设备SN号,设备编号",
  43978. "example" : "守护者XX1"
  43979. },
  43980. "equip_sn" : {
  43981. "type" : "string",
  43982. "description" : "设备SN号",
  43983. "example" : "24789990209409"
  43984. },
  43985. "equip_status" : {
  43986. "type" : "string",
  43987. "description" : "设备状态,遵循中电联协议的设备状态。0:离网;1:空闲;2:占用未充电;3:占用充电中;4:占用(预约锁定);255:故障",
  43988. "example" : "1"
  43989. },
  43990. "equip_type_no" : {
  43991. "type" : "string",
  43992. "description" : "设备型号",
  43993. "example" : "2325436576768"
  43994. },
  43995. "operator_id" : {
  43996. "type" : "string",
  43997. "description" : "运营商编码,一般为企业组织机构代码",
  43998. "example" : "325616137"
  43999. },
  44000. "operator_uid" : {
  44001. "type" : "string",
  44002. "description" : "商户内部唯一标识用户的用户标识",
  44003. "example" : "13588139138"
  44004. },
  44005. "rated_current" : {
  44006. "type" : "string",
  44007. "description" : "额定电流,单位:A",
  44008. "example" : "20"
  44009. },
  44010. "rated_power" : {
  44011. "type" : "string",
  44012. "description" : "额定功率,单位:kW",
  44013. "example" : "1000"
  44014. },
  44015. "rated_voltage" : {
  44016. "type" : "string",
  44017. "description" : "额定电压,单位:V",
  44018. "example" : "220"
  44019. },
  44020. "unbind_time" : {
  44021. "type" : "string",
  44022. "description" : "解绑时间,解绑必传",
  44023. "example" : "2022-11-17 17:39:27"
  44024. }
  44025. }
  44026. },
  44027. "AlipayCommerceTransportChargerChargerbindinfoSyncResponseModel" : {
  44028. "type" : "object",
  44029. "properties" : {
  44030. "equip_id" : {
  44031. "type" : "string",
  44032. "description" : "商户同步的充电桩设备编码",
  44033. "example" : "234h78890900000"
  44034. },
  44035. "fail_reason" : {
  44036. "type" : "string",
  44037. "description" : "绑定关系结果接收失败原因",
  44038. "example" : "设备状态不存在"
  44039. },
  44040. "result_status" : {
  44041. "type" : "string",
  44042. "description" : "0:成功\t1:拒绝",
  44043. "example" : "0"
  44044. }
  44045. }
  44046. },
  44047. "AlipayCommerceTransportParkingEnterinfoSyncErrorResponseModel" : {
  44048. "required" : [ "code", "message" ],
  44049. "type" : "object",
  44050. "properties" : {
  44051. "code" : {
  44052. "type" : "string",
  44053. "description" : "错误码",
  44054. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_FAIL", "BIZ_UNKNOWN" ]
  44055. },
  44056. "links" : {
  44057. "type" : "string",
  44058. "description" : "解决方案链接"
  44059. },
  44060. "message" : {
  44061. "type" : "string",
  44062. "description" : "错误描述"
  44063. }
  44064. }
  44065. },
  44066. "AlipayCommerceTransportParkingEnterinfoSyncModel" : {
  44067. "type" : "object",
  44068. "properties" : {
  44069. "agreement_query" : {
  44070. "type" : "boolean",
  44071. "description" : "是否启用车牌代扣状态查询功能,true为启用,false为停用",
  44072. "example" : "true"
  44073. },
  44074. "free_enter_minutes" : {
  44075. "type" : "string",
  44076. "description" : "当前停车场的入场免费时长分钟数",
  44077. "example" : "15"
  44078. },
  44079. "in_time" : {
  44080. "type" : "string",
  44081. "description" : "车辆入场的时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制,请保证服务器时间准确,入场时间不应晚于当前网络时间",
  44082. "example" : "2016-07-24 03:07:50"
  44083. },
  44084. "is_encrypt_plate_no" : {
  44085. "type" : "boolean",
  44086. "description" : "车牌是否加密,true为加密,false为不加密,默认为false",
  44087. "example" : "false"
  44088. },
  44089. "need_charge" : {
  44090. "type" : "boolean",
  44091. "description" : "当前行程是否需要计费。true:需要,false:不需要。不传默认为true。",
  44092. "example" : "true"
  44093. },
  44094. "open_appid" : {
  44095. "type" : "string",
  44096. "description" : "蚂蚁会员统一ID对应的归属应用appid",
  44097. "example" : "2023xxxxxxxxxxxx"
  44098. },
  44099. "open_id" : {
  44100. "type" : "string",
  44101. "description" : "蚂蚁会员统一ID",
  44102. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  44103. },
  44104. "out_serial_no" : {
  44105. "type" : "string",
  44106. "description" : "外部停车流水号(用于串通进场与出场信息)",
  44107. "example" : "2020090711003017233600000001"
  44108. },
  44109. "parking_id" : {
  44110. "type" : "string",
  44111. "description" : "支付宝停车平台ID,由支付宝定义的该停车场标识,同一个isv或商户范围内唯一。通过 alipay.eco.mycar.parking.parkinglotinfo.create\t(录入停车场信息)接口获取。",
  44112. "example" : "2015042321001004720200028594"
  44113. },
  44114. "plate_color" : {
  44115. "type" : "string",
  44116. "description" : "车牌颜色,车牌颜色,枚举支持:\t*BLUE:蓝。\t*GREEN:绿。\t*YELLOW:黄。\t*WHITE:白。\t*BLACK:黑。\t*LIMEGREEN:黄绿色。",
  44117. "example" : "BLUE"
  44118. },
  44119. "plate_no" : {
  44120. "type" : "string",
  44121. "description" : "车牌号(支持加密格式)",
  44122. "example" : "豫C33333"
  44123. },
  44124. "service_url" : {
  44125. "type" : "string",
  44126. "description" : "停车服务页面地址。\t1、服务商停车服务页面地址必须是支付宝小程序URL(无需转换https),详见:https://opendocs.alipay.com/support/01rb18#URL%20%E6%A0%BC%E5%BC%8F\t\t2、若服务商没有服务链接,可传输支付宝停车官方小程序的服务链接:alipays://platformapi/startapp?appId=2021001102642986&page=pages%2Fparking-fee%2Findex\t\t3、若此次对接的是无感支付,则服务链接传输为:alipays://platformapi/startapp?appId=2021001102642986&page=%2Fpages%2Fparking-bill%2Findex",
  44127. "example" : "alipays://xxxxx"
  44128. }
  44129. }
  44130. },
  44131. "AlipayCommerceTransportParkingEnterinfoSyncResponseModel" : {
  44132. "type" : "object",
  44133. "properties" : {
  44134. "agreement_scene" : {
  44135. "type" : "string",
  44136. "description" : "用户签约的代扣场景字符集,多个英文逗号分割,当车场为ORC识别车牌的场景,返回值包含PLATE_PAY时,表示代扣协议可用。 当车场为ETC设备识别车牌,返回值包含ETC_PAY时表示协议可用。当用户未签约任何代扣场景时返回NO_AGREEMENT_SCENE",
  44137. "example" : "PLATE_PAY"
  44138. },
  44139. "biz_code" : {
  44140. "type" : "string",
  44141. "description" : "具体错误code",
  44142. "example" : "INVALID_PARAMETER"
  44143. },
  44144. "biz_msg" : {
  44145. "type" : "string",
  44146. "description" : "具体错误描述",
  44147. "example" : "车牌不合法"
  44148. }
  44149. }
  44150. },
  44151. "AlipayCommerceTransportParkingExitinfoSyncErrorResponseModel" : {
  44152. "required" : [ "code", "message" ],
  44153. "type" : "object",
  44154. "properties" : {
  44155. "code" : {
  44156. "type" : "string",
  44157. "description" : "错误码",
  44158. "enum" : [ "INVALID_PARAMETER", "BIZ_FAIL", "BIZ_UNKNOWN", "SYSTEM_ERROR" ]
  44159. },
  44160. "links" : {
  44161. "type" : "string",
  44162. "description" : "解决方案链接"
  44163. },
  44164. "message" : {
  44165. "type" : "string",
  44166. "description" : "错误描述"
  44167. }
  44168. }
  44169. },
  44170. "AlipayCommerceTransportParkingExitinfoSyncModel" : {
  44171. "type" : "object",
  44172. "properties" : {
  44173. "is_encrypt_plate_no" : {
  44174. "type" : "boolean",
  44175. "description" : "车牌是否加密,true为加密,false为不加密,默认为false",
  44176. "example" : "true"
  44177. },
  44178. "open_appid" : {
  44179. "type" : "string",
  44180. "description" : "蚂蚁会员统一ID对应的归属应用appid",
  44181. "example" : "2023xxxxxxxxxxxx"
  44182. },
  44183. "open_id" : {
  44184. "type" : "string",
  44185. "description" : "蚂蚁会员统一ID",
  44186. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  44187. },
  44188. "out_serial_no" : {
  44189. "type" : "string",
  44190. "description" : "外部停车流水号(用于串通进场与出场信息)",
  44191. "example" : "2020090711003017233600000001"
  44192. },
  44193. "out_time" : {
  44194. "type" : "string",
  44195. "description" : "车辆出场的时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制,请保证服务器时间准确,出场时间不应晚于当前网络时间,也不当早于入场时间。",
  44196. "example" : "2016-07-24 03:07:50"
  44197. },
  44198. "plate_color" : {
  44199. "type" : "string",
  44200. "description" : "车牌颜色,车牌颜色,枚举支持:\t*BLUE:蓝。\t*GREEN:绿。\t*YELLOW:黄。\t*WHITE:白。\t*BLACK:黑。\t*LIMEGREEN:黄绿色。",
  44201. "example" : "BLUE"
  44202. },
  44203. "plate_no" : {
  44204. "type" : "string",
  44205. "description" : "车牌号(支持加密格式)",
  44206. "example" : "豫C33333"
  44207. },
  44208. "service_url" : {
  44209. "type" : "string",
  44210. "description" : "停车服务页面地址。\t1、服务商停车服务页面地址必须是支付宝小程序URL(无需转换https),详见:https://opendocs.alipay.com/support/01rb18#URL%20%E6%A0%BC%E5%BC%8F 2、若服务商没有服务链接,可传输支付宝停车官方小程序的服务链接:alipays://platformapi/startapp?appId=2021001102642986&page=pages%2Fparking-fee%2Findex 3、若此次对接的是无感支付,则服务链接传输为:alipays://platformapi/startapp?appId=2021001102642986&page=%2Fpages%2Fparking-bill%2Findex",
  44211. "example" : "alipays://xxxxx"
  44212. }
  44213. }
  44214. },
  44215. "AlipayCommerceTransportParkingExitinfoSyncResponseModel" : {
  44216. "type" : "object",
  44217. "properties" : {
  44218. "biz_code" : {
  44219. "type" : "string",
  44220. "description" : "具体错误码",
  44221. "example" : "INVALID_PARAMETER"
  44222. },
  44223. "biz_msg" : {
  44224. "type" : "string",
  44225. "description" : "具体错误原因",
  44226. "example" : "车牌不合法"
  44227. }
  44228. }
  44229. },
  44230. "AlipayCommerceTransportParkingPaymentinfoSyncErrorResponseModel" : {
  44231. "required" : [ "code", "message" ],
  44232. "type" : "object",
  44233. "properties" : {
  44234. "code" : {
  44235. "type" : "string",
  44236. "description" : "错误码",
  44237. "enum" : [ "INVALID_PARAMETER", "BIZ_FAIL", "BIZ_UNKNOWN", "SYSTEM_ERROR" ]
  44238. },
  44239. "links" : {
  44240. "type" : "string",
  44241. "description" : "解决方案链接"
  44242. },
  44243. "message" : {
  44244. "type" : "string",
  44245. "description" : "错误描述"
  44246. }
  44247. }
  44248. },
  44249. "AlipayCommerceTransportParkingPaymentinfoSyncModel" : {
  44250. "type" : "object",
  44251. "properties" : {
  44252. "free_exit_minutes" : {
  44253. "type" : "string",
  44254. "description" : "停车场内缴费后,允许出场的免费时长分钟数",
  44255. "example" : "15"
  44256. },
  44257. "is_encrypt_plate_no" : {
  44258. "type" : "boolean",
  44259. "description" : "车牌是否加密,true为加密,false为不加密,默认为false",
  44260. "example" : "true"
  44261. },
  44262. "open_appid" : {
  44263. "type" : "string",
  44264. "description" : "蚂蚁会员统一ID对应的归属应用appid",
  44265. "example" : "2023xxxxxxxxxxxx"
  44266. },
  44267. "open_id" : {
  44268. "type" : "string",
  44269. "description" : "蚂蚁会员统一ID",
  44270. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  44271. },
  44272. "out_serial_no" : {
  44273. "type" : "string",
  44274. "description" : "外部停车流水号(用于串通进场与出场信息)",
  44275. "example" : "2020090711003017233600000001"
  44276. },
  44277. "payment_time" : {
  44278. "type" : "string",
  44279. "description" : "场内缴费时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制,请保证服务器时间准确,场内缴费不应晚于当前网络时间",
  44280. "example" : "2021-06-12 15:29:55"
  44281. },
  44282. "payment_type" : {
  44283. "type" : "string",
  44284. "description" : "支付方式\tALIPAY:支付宝支付\tCASH:现金\tOTHER:其他渠道\tFREE:免费",
  44285. "example" : "ALIPAY"
  44286. },
  44287. "plate_color" : {
  44288. "type" : "string",
  44289. "description" : "车牌颜色,车牌颜色,枚举支持:\t*BLUE:蓝。\t*GREEN:绿。\t*YELLOW:黄。\t*WHITE:白。\t*BLACK:黑。\t*LIMEGREEN:黄绿色。",
  44290. "example" : "BLUE"
  44291. },
  44292. "plate_no" : {
  44293. "type" : "string",
  44294. "description" : "车牌号(支持加密格式)",
  44295. "example" : "豫C33333"
  44296. },
  44297. "service_url" : {
  44298. "type" : "string",
  44299. "description" : "停车服务页面地址。\t1、服务商停车服务页面地址必须是支付宝小程序URL(无需转换https),详见:https://opendocs.alipay.com/support/01rb18#URL%20%E6%A0%BC%E5%BC%8F 2、若服务商没有服务链接,可传输支付宝停车官方小程序的服务链接:alipays://platformapi/startapp?appId=2021001102642986&page=pages%2Fparking-fee%2Findex 3、若此次对接的是无感支付,则服务链接传输为:alipays://platformapi/startapp?appId=2021001102642986&page=%2Fpages%2Fparking-bill%2Findex",
  44300. "example" : "alipays://xxxxx"
  44301. }
  44302. }
  44303. },
  44304. "AlipayCommerceTransportParkingPaymentinfoSyncResponseModel" : {
  44305. "type" : "object",
  44306. "properties" : {
  44307. "biz_code" : {
  44308. "type" : "string",
  44309. "description" : "具体错误码",
  44310. "example" : "INVALID_PARAMETER"
  44311. },
  44312. "biz_msg" : {
  44313. "type" : "string",
  44314. "description" : "具体错误原因",
  44315. "example" : "车牌不合法"
  44316. }
  44317. }
  44318. },
  44319. "AlipayDataBillAccountbookereceiptApplyErrorResponseModel" : {
  44320. "required" : [ "code", "message" ],
  44321. "type" : "object",
  44322. "properties" : {
  44323. "code" : {
  44324. "type" : "string",
  44325. "description" : "错误码",
  44326. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY", "BIZ_ERROR" ]
  44327. },
  44328. "links" : {
  44329. "type" : "string",
  44330. "description" : "解决方案链接"
  44331. },
  44332. "message" : {
  44333. "type" : "string",
  44334. "description" : "错误描述"
  44335. }
  44336. }
  44337. },
  44338. "AlipayDataBillAccountbookereceiptApplyModel" : {
  44339. "type" : "object",
  44340. "properties" : {
  44341. "agreement_no" : {
  44342. "type" : "string",
  44343. "description" : "协议号",
  44344. "example" : "20205215001418078112"
  44345. },
  44346. "key" : {
  44347. "type" : "string",
  44348. "description" : "明细凭证,传入流水号(转账接口查询结果)。汇总凭证,传入起止时间,格式yyyy-MM-dd_yyyy-MM-dd。",
  44349. "example" : "2020-01-01_2020-01-10"
  44350. },
  44351. "store_no" : {
  44352. "type" : "string",
  44353. "description" : "子账本号,或者子账本名称。模糊查询",
  44354. "example" : "2088000117463004"
  44355. },
  44356. "type" : {
  44357. "type" : "string",
  44358. "description" : "申请的类型。可传入:FUND_PLATFORM_DETAIL - 资金明细证明,FUND_PLATFORM_SUM - 资金汇总证明",
  44359. "example" : "FUND_PLATFORM_DETAIL"
  44360. }
  44361. }
  44362. },
  44363. "AlipayDataBillAccountbookereceiptApplyResponseModel" : {
  44364. "type" : "object",
  44365. "properties" : {
  44366. "file_id" : {
  44367. "type" : "string",
  44368. "description" : "文件申请号file_id信息。使用file_id可以查询处理状态",
  44369. "example" : "12345"
  44370. }
  44371. }
  44372. },
  44373. "AlipayDataBillAccountbookereceiptQueryErrorResponseModel" : {
  44374. "required" : [ "code", "message" ],
  44375. "type" : "object",
  44376. "properties" : {
  44377. "code" : {
  44378. "type" : "string",
  44379. "description" : "错误码",
  44380. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY", "BIZ_ERROR" ]
  44381. },
  44382. "links" : {
  44383. "type" : "string",
  44384. "description" : "解决方案链接"
  44385. },
  44386. "message" : {
  44387. "type" : "string",
  44388. "description" : "错误描述"
  44389. }
  44390. }
  44391. },
  44392. "AlipayDataBillAccountbookereceiptQueryResponseModel" : {
  44393. "type" : "object",
  44394. "properties" : {
  44395. "download_url" : {
  44396. "type" : "string",
  44397. "description" : "下载链接。status为SUCCESS时返回。用户可以使用此http链接下载文件内容。有效时间20s。\t生成的文件是zip格式。需要解压后获取电子回单pdf内容",
  44398. "example" : "https://dwbillcenter.alipay.com/xxx"
  44399. },
  44400. "error_message" : {
  44401. "type" : "string",
  44402. "description" : "如果生成失败,则会返回失败原因",
  44403. "example" : "key不存在"
  44404. },
  44405. "status" : {
  44406. "type" : "string",
  44407. "description" : "处理状态\t * INIT - 初始化\t * PROCESS - 处理中\t * SUCCESS - 成功\t * FAIL - 失败",
  44408. "example" : "SUCCESS"
  44409. }
  44410. }
  44411. },
  44412. "AlipayDataBillAccountlogQueryErrorResponseModel" : {
  44413. "required" : [ "code", "message" ],
  44414. "type" : "object",
  44415. "properties" : {
  44416. "code" : {
  44417. "type" : "string",
  44418. "description" : "错误码",
  44419. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY", "AGREEMENT_CHECK_FAIL", "USER_AGREEMENT_CHECK_FAIL" ]
  44420. },
  44421. "links" : {
  44422. "type" : "string",
  44423. "description" : "解决方案链接"
  44424. },
  44425. "message" : {
  44426. "type" : "string",
  44427. "description" : "错误描述"
  44428. }
  44429. }
  44430. },
  44431. "AlipayDataBillAccountlogQueryResponseModel" : {
  44432. "type" : "object",
  44433. "properties" : {
  44434. "detail_list" : {
  44435. "type" : "array",
  44436. "description" : "账务明细返回结果。\t当查询为空的时候,不返回,有结果的时候才会返回。",
  44437. "items" : {
  44438. "$ref" : "#/components/schemas/AccountLogItemResult"
  44439. }
  44440. },
  44441. "page_no" : {
  44442. "type" : "string",
  44443. "description" : "分页号,从1开始",
  44444. "example" : "1"
  44445. },
  44446. "page_size" : {
  44447. "type" : "string",
  44448. "description" : "分页大小1000-2000",
  44449. "example" : "2000"
  44450. },
  44451. "total_size" : {
  44452. "type" : "string",
  44453. "description" : "账务明细总数。返回满足查询条件的明细的数量",
  44454. "example" : "10000"
  44455. }
  44456. }
  44457. },
  44458. "AlipayDataBillBailQueryErrorResponseModel" : {
  44459. "required" : [ "code", "message" ],
  44460. "type" : "object",
  44461. "properties" : {
  44462. "code" : {
  44463. "type" : "string",
  44464. "description" : "错误码",
  44465. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY" ]
  44466. },
  44467. "links" : {
  44468. "type" : "string",
  44469. "description" : "解决方案链接"
  44470. },
  44471. "message" : {
  44472. "type" : "string",
  44473. "description" : "错误描述"
  44474. }
  44475. }
  44476. },
  44477. "AlipayDataBillBailQueryResponseModel" : {
  44478. "type" : "object",
  44479. "properties" : {
  44480. "detail_list" : {
  44481. "type" : "array",
  44482. "description" : "保证金明细列表,最多返回5000条",
  44483. "items" : {
  44484. "$ref" : "#/components/schemas/BailDetailResult"
  44485. }
  44486. }
  44487. }
  44488. },
  44489. "AlipayDataBillBalanceQueryErrorResponseModel" : {
  44490. "required" : [ "code", "message" ],
  44491. "type" : "object",
  44492. "properties" : {
  44493. "code" : {
  44494. "type" : "string",
  44495. "description" : "错误码",
  44496. "enum" : [ "SYSTEM_ERROR", "SYSTEM_BUSY", "USER_AGREEMENT_CHECK_FAIL" ]
  44497. },
  44498. "links" : {
  44499. "type" : "string",
  44500. "description" : "解决方案链接"
  44501. },
  44502. "message" : {
  44503. "type" : "string",
  44504. "description" : "错误描述"
  44505. }
  44506. }
  44507. },
  44508. "AlipayDataBillBalanceQueryResponseModel" : {
  44509. "type" : "object",
  44510. "properties" : {
  44511. "available_amount" : {
  44512. "type" : "string",
  44513. "description" : "账户可用余额",
  44514. "example" : "9000.00"
  44515. },
  44516. "freeze_amount" : {
  44517. "type" : "string",
  44518. "description" : "冻结金额",
  44519. "example" : "1000.00"
  44520. },
  44521. "settle_amount" : {
  44522. "type" : "string",
  44523. "description" : "待结算金额",
  44524. "example" : "500.00"
  44525. },
  44526. "total_amount" : {
  44527. "type" : "string",
  44528. "description" : "支付宝账户余额",
  44529. "example" : "10000.00"
  44530. }
  44531. }
  44532. },
  44533. "AlipayDataBillBalancehisQueryErrorResponseModel" : {
  44534. "required" : [ "code", "message" ],
  44535. "type" : "object",
  44536. "properties" : {
  44537. "code" : {
  44538. "type" : "string",
  44539. "description" : "错误码",
  44540. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "PROCESSING", "SYSTEM_BUSY" ]
  44541. },
  44542. "links" : {
  44543. "type" : "string",
  44544. "description" : "解决方案链接"
  44545. },
  44546. "message" : {
  44547. "type" : "string",
  44548. "description" : "错误描述"
  44549. }
  44550. }
  44551. },
  44552. "AlipayDataBillBalancehisQueryResponseModel" : {
  44553. "type" : "object",
  44554. "properties" : {
  44555. "beginning_balance" : {
  44556. "type" : "string",
  44557. "description" : "期初余额",
  44558. "example" : "10000.00"
  44559. },
  44560. "ending_balance" : {
  44561. "type" : "string",
  44562. "description" : "期末余额",
  44563. "example" : "11000.00"
  44564. }
  44565. }
  44566. },
  44567. "AlipayDataBillBizfundagentQueryErrorResponseModel" : {
  44568. "required" : [ "code", "message" ],
  44569. "type" : "object",
  44570. "properties" : {
  44571. "code" : {
  44572. "type" : "string",
  44573. "description" : "错误码",
  44574. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  44575. },
  44576. "links" : {
  44577. "type" : "string",
  44578. "description" : "解决方案链接"
  44579. },
  44580. "message" : {
  44581. "type" : "string",
  44582. "description" : "错误描述"
  44583. }
  44584. }
  44585. },
  44586. "AlipayDataBillBizfundagentQueryResponseModel" : {
  44587. "type" : "object",
  44588. "properties" : {
  44589. "detail_list" : {
  44590. "type" : "array",
  44591. "description" : "资金明细记录",
  44592. "items" : {
  44593. "$ref" : "#/components/schemas/BizFundReportResult"
  44594. }
  44595. },
  44596. "page_no" : {
  44597. "type" : "string",
  44598. "description" : "分页号,从1开始",
  44599. "example" : "1"
  44600. },
  44601. "page_size" : {
  44602. "type" : "string",
  44603. "description" : "页面大小,最大2000",
  44604. "example" : "2000"
  44605. },
  44606. "total_size" : {
  44607. "type" : "string",
  44608. "description" : "数据分页总页数",
  44609. "example" : "100"
  44610. }
  44611. }
  44612. },
  44613. "AlipayDataBillBuyQueryErrorResponseModel" : {
  44614. "required" : [ "code", "message" ],
  44615. "type" : "object",
  44616. "properties" : {
  44617. "code" : {
  44618. "type" : "string",
  44619. "description" : "错误码",
  44620. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY" ]
  44621. },
  44622. "links" : {
  44623. "type" : "string",
  44624. "description" : "解决方案链接"
  44625. },
  44626. "message" : {
  44627. "type" : "string",
  44628. "description" : "错误描述"
  44629. }
  44630. }
  44631. },
  44632. "AlipayDataBillBuyQueryResponseModel" : {
  44633. "type" : "object",
  44634. "properties" : {
  44635. "detail_list" : {
  44636. "type" : "array",
  44637. "description" : "交易流水详情",
  44638. "items" : {
  44639. "$ref" : "#/components/schemas/TradeItemResult"
  44640. }
  44641. },
  44642. "page_no" : {
  44643. "type" : "string",
  44644. "description" : "分页号,从1开始",
  44645. "example" : "1"
  44646. },
  44647. "page_size" : {
  44648. "type" : "string",
  44649. "description" : "分页大小1000-2000",
  44650. "example" : "2000"
  44651. },
  44652. "total_size" : {
  44653. "type" : "string",
  44654. "description" : "账务明细总数。返回满足查询条件的明细的数量",
  44655. "example" : "10000"
  44656. }
  44657. }
  44658. },
  44659. "AlipayDataBillEreceiptApplyErrorResponseModel" : {
  44660. "required" : [ "code", "message" ],
  44661. "type" : "object",
  44662. "properties" : {
  44663. "code" : {
  44664. "type" : "string",
  44665. "description" : "错误码",
  44666. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY", "BIZ_ERROR" ]
  44667. },
  44668. "links" : {
  44669. "type" : "string",
  44670. "description" : "解决方案链接"
  44671. },
  44672. "message" : {
  44673. "type" : "string",
  44674. "description" : "错误描述"
  44675. }
  44676. }
  44677. },
  44678. "AlipayDataBillEreceiptApplyModel" : {
  44679. "type" : "object",
  44680. "properties" : {
  44681. "bill_user_id" : {
  44682. "type" : "string",
  44683. "description" : "授权商户pid。需调用方获取商户授权,才可使用。",
  44684. "example" : "2088********9999"
  44685. },
  44686. "key" : {
  44687. "type" : "string",
  44688. "description" : "根据不同业务类型,传入不同参数。\t格式如下:\t* ACCOUNT_LOG_DETAIL - 传入账务流水号,示例:117007*********9151\t* ACCOUNT_FLOW_DETAIL - 传入流水日期区间示例:20220301-20220331\t* FUND_DETAIL - 传入资金单据号,示例:2022051511007***************0731\t* ACCOUNT_LOG_SUM_DAILY - 传入日期,示例:2022-01-01\t* ACCOUNT_LOG_SUM_MONTHLY - 传入月份,示例:2022-01",
  44689. "example" : "2020xxx"
  44690. },
  44691. "type" : {
  44692. "type" : "string",
  44693. "description" : "申请的类型。可传入:\t* ACCOUNT_LOG_DETAIL - 余额收支证明\t* ACCOUNT_FLOW_DETAIL - 余额收支流水证明\t* FUND_DETAIL - 转入转出收支证明\t* ACCOUNT_LOG_SUM_DAILY - 收支汇总证明(日汇总)\t* ACCOUNT_LOG_SUM_MONTHLY - 收支汇总证明(月汇总)",
  44694. "example" : "FUND_DETAIL"
  44695. }
  44696. }
  44697. },
  44698. "AlipayDataBillEreceiptApplyResponseModel" : {
  44699. "type" : "object",
  44700. "properties" : {
  44701. "file_id" : {
  44702. "type" : "string",
  44703. "description" : "文件申请号file_id信息。\t使用file_id可以查询处理状态,有效期:2天",
  44704. "example" : "12345"
  44705. }
  44706. }
  44707. },
  44708. "AlipayDataBillEreceiptQueryErrorResponseModel" : {
  44709. "required" : [ "code", "message" ],
  44710. "type" : "object",
  44711. "properties" : {
  44712. "code" : {
  44713. "type" : "string",
  44714. "description" : "错误码",
  44715. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY", "BIZ_ERROR" ]
  44716. },
  44717. "links" : {
  44718. "type" : "string",
  44719. "description" : "解决方案链接"
  44720. },
  44721. "message" : {
  44722. "type" : "string",
  44723. "description" : "错误描述"
  44724. }
  44725. }
  44726. },
  44727. "AlipayDataBillEreceiptQueryResponseModel" : {
  44728. "type" : "object",
  44729. "properties" : {
  44730. "download_url" : {
  44731. "type" : "string",
  44732. "description" : "下载链接,status 为 SUCCESS 时返回。用户可以使用此http链接下载文件内容。有效时间为 30s。 \t生成文件为PDF格式,下载即可获取电子回单 PDF 内容。",
  44733. "example" : "https://dwbillcenter.alipay.com/xxx"
  44734. },
  44735. "error_message" : {
  44736. "type" : "string",
  44737. "description" : "如果生成失败,则会返回失败原因",
  44738. "example" : "key不存在"
  44739. },
  44740. "status" : {
  44741. "type" : "string",
  44742. "description" : "处理状态。枚举值如下:\tINIT:初始化。\tPROCESS:处理中。\tSUCCESS:成功。\tFAIL:失败。",
  44743. "example" : "SUCCESS"
  44744. }
  44745. }
  44746. },
  44747. "AlipayDataBillEreceiptagentApplyErrorResponseModel" : {
  44748. "required" : [ "code", "message" ],
  44749. "type" : "object",
  44750. "properties" : {
  44751. "code" : {
  44752. "type" : "string",
  44753. "description" : "错误码",
  44754. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  44755. },
  44756. "links" : {
  44757. "type" : "string",
  44758. "description" : "解决方案链接"
  44759. },
  44760. "message" : {
  44761. "type" : "string",
  44762. "description" : "错误描述"
  44763. }
  44764. }
  44765. },
  44766. "AlipayDataBillEreceiptagentApplyModel" : {
  44767. "type" : "object",
  44768. "properties" : {
  44769. "agreement_no" : {
  44770. "type" : "string",
  44771. "description" : "ISV与商户签约授权协议号",
  44772. "example" : "20200826170801"
  44773. },
  44774. "key" : {
  44775. "type" : "string",
  44776. "description" : "根据不同业务类型,传入不同参数。格式如下: * FUND_DETAIL - 资金业务回单。传入资金单号(fundOrderId,可通过充值、转账、提现接口获取)",
  44777. "example" : "2020xxx"
  44778. },
  44779. "type" : {
  44780. "type" : "string",
  44781. "description" : "申请的类型(目前仅支持资金业务回单)。可传入: * FUND_DETAIL - 资金业务回单。",
  44782. "example" : "FUND_DETAIL"
  44783. }
  44784. }
  44785. },
  44786. "AlipayDataBillEreceiptagentApplyResponseModel" : {
  44787. "type" : "object",
  44788. "properties" : {
  44789. "file_id" : {
  44790. "type" : "string",
  44791. "description" : "文件申请号file_id信息。使用file_id可以查询处理状态",
  44792. "example" : "12321"
  44793. }
  44794. }
  44795. },
  44796. "AlipayDataBillSellQueryErrorResponseModel" : {
  44797. "required" : [ "code", "message" ],
  44798. "type" : "object",
  44799. "properties" : {
  44800. "code" : {
  44801. "type" : "string",
  44802. "description" : "错误码",
  44803. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY" ]
  44804. },
  44805. "links" : {
  44806. "type" : "string",
  44807. "description" : "解决方案链接"
  44808. },
  44809. "message" : {
  44810. "type" : "string",
  44811. "description" : "错误描述"
  44812. }
  44813. }
  44814. },
  44815. "AlipayDataBillSellQueryResponseModel" : {
  44816. "type" : "object",
  44817. "properties" : {
  44818. "detail_list" : {
  44819. "type" : "array",
  44820. "description" : "交易流水详情",
  44821. "items" : {
  44822. "$ref" : "#/components/schemas/TradeItemResult"
  44823. }
  44824. },
  44825. "page_no" : {
  44826. "type" : "string",
  44827. "description" : "分页号,从1开始",
  44828. "example" : "1"
  44829. },
  44830. "page_size" : {
  44831. "type" : "string",
  44832. "description" : "分页大小1000-2000",
  44833. "example" : "2000"
  44834. },
  44835. "total_size" : {
  44836. "type" : "string",
  44837. "description" : "账务明细总数。返回满足查询条件的明细的数量",
  44838. "example" : "10000"
  44839. }
  44840. }
  44841. },
  44842. "AlipayDataBillTransferQueryErrorResponseModel" : {
  44843. "required" : [ "code", "message" ],
  44844. "type" : "object",
  44845. "properties" : {
  44846. "code" : {
  44847. "type" : "string",
  44848. "description" : "错误码",
  44849. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY" ]
  44850. },
  44851. "links" : {
  44852. "type" : "string",
  44853. "description" : "解决方案链接"
  44854. },
  44855. "message" : {
  44856. "type" : "string",
  44857. "description" : "错误描述"
  44858. }
  44859. }
  44860. },
  44861. "AlipayDataBillTransferQueryResponseModel" : {
  44862. "type" : "object",
  44863. "properties" : {
  44864. "detail_list" : {
  44865. "type" : "array",
  44866. "description" : "充值、提现、转账明细记录",
  44867. "items" : {
  44868. "$ref" : "#/components/schemas/TransferDetailResult"
  44869. }
  44870. },
  44871. "page_no" : {
  44872. "type" : "string",
  44873. "description" : "分页号,从1开始",
  44874. "example" : "1"
  44875. },
  44876. "page_size" : {
  44877. "type" : "string",
  44878. "description" : "分页大小1000-2000",
  44879. "example" : "2000"
  44880. },
  44881. "total_size" : {
  44882. "type" : "string",
  44883. "description" : "充值、提现、转账明细总数。返回满足查询条件的明细的数量",
  44884. "example" : "10000"
  44885. }
  44886. }
  44887. },
  44888. "AlipayDataBillTransferaccountbookQueryErrorResponseModel" : {
  44889. "required" : [ "code", "message" ],
  44890. "type" : "object",
  44891. "properties" : {
  44892. "code" : {
  44893. "type" : "string",
  44894. "description" : "错误码",
  44895. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY" ]
  44896. },
  44897. "links" : {
  44898. "type" : "string",
  44899. "description" : "解决方案链接"
  44900. },
  44901. "message" : {
  44902. "type" : "string",
  44903. "description" : "错误描述"
  44904. }
  44905. }
  44906. },
  44907. "AlipayDataBillTransferaccountbookQueryResponseModel" : {
  44908. "type" : "object",
  44909. "properties" : {
  44910. "detail_list" : {
  44911. "type" : "array",
  44912. "description" : "充值、提现、转账明细记录",
  44913. "items" : {
  44914. "$ref" : "#/components/schemas/TransferAccountBookDetailResult"
  44915. }
  44916. },
  44917. "page_no" : {
  44918. "type" : "string",
  44919. "description" : "分页号,从1开始",
  44920. "example" : "1"
  44921. },
  44922. "page_size" : {
  44923. "type" : "string",
  44924. "description" : "分页大小1000-2000",
  44925. "example" : "2000"
  44926. },
  44927. "total_size" : {
  44928. "type" : "string",
  44929. "description" : "充值、提现、转账明细总数。返回满足查询条件的明细的数量",
  44930. "example" : "10000"
  44931. }
  44932. }
  44933. },
  44934. "AlipayDataDataserviceAdConversionUploadErrorResponseModel" : {
  44935. "required" : [ "code", "message" ],
  44936. "type" : "object",
  44937. "properties" : {
  44938. "code" : {
  44939. "type" : "string",
  44940. "description" : "错误码",
  44941. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "NO_SERVICE_PURVIEW", "BIZ_TOKEN_ERROR", "NO_DATA_PURVIEW", "NULL_ARGUMENT", "PRINCIPAL_NOT_EXIST" ]
  44942. },
  44943. "links" : {
  44944. "type" : "string",
  44945. "description" : "解决方案链接"
  44946. },
  44947. "message" : {
  44948. "type" : "string",
  44949. "description" : "错误描述"
  44950. }
  44951. }
  44952. },
  44953. "AlipayDataDataserviceAdConversionUploadModel" : {
  44954. "type" : "object",
  44955. "properties" : {
  44956. "biz_token" : {
  44957. "type" : "string",
  44958. "description" : "代理商访问灯火平台的token",
  44959. "example" : "HYjofejnnlp89730202bcklHH"
  44960. },
  44961. "conversion_data_list" : {
  44962. "type" : "array",
  44963. "description" : "转化数据列表, 最多1000条",
  44964. "items" : {
  44965. "$ref" : "#/components/schemas/ConversionData"
  44966. }
  44967. }
  44968. }
  44969. },
  44970. "AlipayDataDataserviceAdConversionUploadResponseModel" : {
  44971. "type" : "object"
  44972. },
  44973. "AlipayDataDataserviceAdPromotepageBatchqueryErrorResponseModel" : {
  44974. "required" : [ "code", "message" ],
  44975. "type" : "object",
  44976. "properties" : {
  44977. "code" : {
  44978. "type" : "string",
  44979. "description" : "错误码",
  44980. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "NO_SERVICE_PURVIEW", "BIZ_TOKEN_ERROR", "NO_DATA_PURVIEW", "NULL_ARGUMENT", "PRINCIPAL_NOT_EXIST" ]
  44981. },
  44982. "links" : {
  44983. "type" : "string",
  44984. "description" : "解决方案链接"
  44985. },
  44986. "message" : {
  44987. "type" : "string",
  44988. "description" : "错误描述"
  44989. }
  44990. }
  44991. },
  44992. "AlipayDataDataserviceAdPromotepageBatchqueryResponseModel" : {
  44993. "type" : "object",
  44994. "properties" : {
  44995. "list" : {
  44996. "type" : "array",
  44997. "description" : "自建推广页详情列表",
  44998. "items" : {
  44999. "$ref" : "#/components/schemas/PromotePageDetail"
  45000. }
  45001. },
  45002. "page_no" : {
  45003. "type" : "integer",
  45004. "description" : "分页参数之页数",
  45005. "example" : "1"
  45006. },
  45007. "page_size" : {
  45008. "type" : "integer",
  45009. "description" : "分页参数之每页大小",
  45010. "example" : "100"
  45011. },
  45012. "total" : {
  45013. "type" : "integer",
  45014. "description" : "分页参数之总数据量",
  45015. "example" : "1000"
  45016. }
  45017. }
  45018. },
  45019. "AlipayDataDataserviceAdPromotepageDownloadErrorResponseModel" : {
  45020. "required" : [ "code", "message" ],
  45021. "type" : "object",
  45022. "properties" : {
  45023. "code" : {
  45024. "type" : "string",
  45025. "description" : "错误码",
  45026. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "NO_SERVICE_PURVIEW", "BIZ_TOKEN_ERROR", "NO_DATA_PURVIEW", "NULL_ARGUMENT", "PRINCIPAL_NOT_EXIST" ]
  45027. },
  45028. "links" : {
  45029. "type" : "string",
  45030. "description" : "解决方案链接"
  45031. },
  45032. "message" : {
  45033. "type" : "string",
  45034. "description" : "错误描述"
  45035. }
  45036. }
  45037. },
  45038. "AlipayDataDataserviceAdPromotepageDownloadResponseModel" : {
  45039. "type" : "object",
  45040. "properties" : {
  45041. "conversion_id" : {
  45042. "type" : "string",
  45043. "description" : "转化事件ID",
  45044. "example" : "167390987332"
  45045. },
  45046. "list" : {
  45047. "type" : "array",
  45048. "description" : "留资属性实例数据列表",
  45049. "items" : {
  45050. "$ref" : "#/components/schemas/PromotePageData"
  45051. }
  45052. },
  45053. "page_no" : {
  45054. "type" : "integer",
  45055. "description" : "分页参数之页数,从1开始",
  45056. "example" : "1"
  45057. },
  45058. "page_size" : {
  45059. "type" : "integer",
  45060. "description" : "分页参数之每页大小,最大1000",
  45061. "example" : "100"
  45062. },
  45063. "total" : {
  45064. "type" : "integer",
  45065. "description" : "分页参数之总数据量",
  45066. "example" : "1000"
  45067. }
  45068. }
  45069. },
  45070. "AlipayDataDataserviceBillDownloadurlQueryErrorResponseModel" : {
  45071. "required" : [ "code", "message" ],
  45072. "type" : "object",
  45073. "properties" : {
  45074. "code" : {
  45075. "type" : "string",
  45076. "description" : "错误码",
  45077. "enum" : [ "INVAILID_ARGUMENTS", "BILL_NOT_EXIST", "UNKNOWN_ERROR" ]
  45078. },
  45079. "links" : {
  45080. "type" : "string",
  45081. "description" : "解决方案链接"
  45082. },
  45083. "message" : {
  45084. "type" : "string",
  45085. "description" : "错误描述"
  45086. }
  45087. }
  45088. },
  45089. "AlipayDataDataserviceBillDownloadurlQueryResponseModel" : {
  45090. "type" : "object",
  45091. "properties" : {
  45092. "bill_download_url" : {
  45093. "type" : "string",
  45094. "description" : "账单下载地址链接,获取连接后30秒后未下载,链接地址失效。",
  45095. "example" : "http://dwbillcenter.alipay.com/downloadBillFile.resource?bizType=X&userId=X&fileType=X&bizDates=X&downloadFileName=X&fileId=X"
  45096. }
  45097. }
  45098. },
  45099. "AlipayEbppBillAddErrorResponseModel" : {
  45100. "required" : [ "code", "message" ],
  45101. "type" : "object",
  45102. "properties" : {
  45103. "code" : {
  45104. "type" : "string",
  45105. "description" : "错误码",
  45106. "enum" : [ "isv.invalid-arguments", "isv.invalid-auth-token", "isv.order-type-cannot-access", "isp.unknow-error", "isv.pay-bill-is-complete", "isv.pay-bill-is-closed", "isv.create-bill-is-wait-pay", "isv.query-bill-error", "isv.charge-inst-cannot-use" ]
  45107. },
  45108. "links" : {
  45109. "type" : "string",
  45110. "description" : "解决方案链接"
  45111. },
  45112. "message" : {
  45113. "type" : "string",
  45114. "description" : "错误描述"
  45115. }
  45116. }
  45117. },
  45118. "AlipayEbppBillAddModel" : {
  45119. "type" : "object",
  45120. "properties" : {
  45121. "bank_bill_no" : {
  45122. "type" : "string",
  45123. "description" : "外部订单号",
  45124. "example" : "20130916"
  45125. },
  45126. "bill_date" : {
  45127. "type" : "string",
  45128. "description" : "账单的账期,格式为 yyyyMMdd。例如:202012表示2020年12月的账单。",
  45129. "example" : "201203"
  45130. },
  45131. "bill_key" : {
  45132. "type" : "string",
  45133. "description" : "账单单据号,例如水费单号,手机号,电费号,信用卡卡号。没有唯一性要求。",
  45134. "example" : "3388102012376451"
  45135. },
  45136. "charge_inst" : {
  45137. "type" : "string",
  45138. "description" : "支付宝给每个出账机构指定了一个对应的英文短名称来唯一表示该收费单位。",
  45139. "example" : "BJCEB"
  45140. },
  45141. "extend_field" : {
  45142. "type" : "string",
  45143. "description" : "扩展属性",
  45144. "example" : "{\"key1\":\"value1\",\"key2\":\"value2\",\"key3\":\"value3\",\"key4\":\"value4\"}"
  45145. },
  45146. "merchant_order_no" : {
  45147. "type" : "string",
  45148. "description" : "输出机构的业务流水号,需要保证唯一性",
  45149. "example" : "201203031234567"
  45150. },
  45151. "mobile" : {
  45152. "type" : "string",
  45153. "description" : "用户的手机号",
  45154. "example" : "15987838584"
  45155. },
  45156. "order_type" : {
  45157. "type" : "string",
  45158. "description" : "支付宝订单类型。枚举支持:\t*JF:公共事业缴纳。\t*WUYE:物业缴费。\t*HK:信用卡还款。\t*TX:通讯缴费。",
  45159. "example" : "JF"
  45160. },
  45161. "owner_name" : {
  45162. "type" : "string",
  45163. "description" : "拥有该账单的用户姓名",
  45164. "example" : "织绫"
  45165. },
  45166. "pay_amount" : {
  45167. "type" : "string",
  45168. "description" : "缴费金额。用户支付的总金额。单位为 元(人民币)。取值范围为[0.01,100000000.00],精确到小数点后两位。",
  45169. "example" : "23.45"
  45170. },
  45171. "service_amount" : {
  45172. "type" : "string",
  45173. "description" : "账单的服务费。",
  45174. "example" : "8"
  45175. },
  45176. "sub_order_type" : {
  45177. "type" : "string",
  45178. "description" : "子业务类型是业务类型的下一级概念。枚举支持:\t*WATER:缴水费。\t*ELECTRIC:缴电费。\t*GAS:缴燃气费。\t*COMMUN:缴固话宽带费。\t*CATV:缴有线电视费。\t*WUYE:缴物业费。\t*RC:定期还车贷代扣。\t*RH:定期还房贷代扣。\t*RR:定期还房租代扣。\t*RN:定期还网贷代扣。\t*CZ:手机充值代扣。\t例如:WATER表示JF下面的水费。",
  45179. "example" : "WATER"
  45180. },
  45181. "traffic_location" : {
  45182. "type" : "string",
  45183. "description" : "交通违章地点,sub_order_type=TRAFFIC时填写。",
  45184. "example" : "浙江,杭徽高速"
  45185. },
  45186. "traffic_regulations" : {
  45187. "type" : "string",
  45188. "description" : "违章行为,sub_order_type=TRAFFIC时填写。",
  45189. "example" : "闯红灯"
  45190. }
  45191. }
  45192. },
  45193. "AlipayEbppBillAddResponseModel" : {
  45194. "type" : "object",
  45195. "properties" : {
  45196. "alipay_order_no" : {
  45197. "type" : "string",
  45198. "description" : "支付宝的业务订单号,具有唯一性。",
  45199. "example" : "201203088888888"
  45200. },
  45201. "bank_bill_no" : {
  45202. "type" : "string",
  45203. "description" : "外部订单号,由于对账时回传给外部商户",
  45204. "example" : "20130705"
  45205. },
  45206. "bill_date" : {
  45207. "type" : "string",
  45208. "description" : "账单的账期,格式为 yyyyMMdd。例如:202012表示2020年12月的账单。",
  45209. "example" : "201203"
  45210. },
  45211. "bill_key" : {
  45212. "type" : "string",
  45213. "description" : "账单单据号,例如水费单号,手机号,电费号,信用卡卡号。没有唯一性要求。",
  45214. "example" : "3388102012376451"
  45215. },
  45216. "charge_inst" : {
  45217. "type" : "string",
  45218. "description" : "支付宝给每个出账机构指定了一个对应的英文短名称来唯一表示该收费单位。",
  45219. "example" : "BJCEB"
  45220. },
  45221. "charge_inst_name" : {
  45222. "type" : "string",
  45223. "description" : "出账机构中文名称。",
  45224. "example" : "北京光大"
  45225. },
  45226. "extend_field" : {
  45227. "type" : "string",
  45228. "description" : "扩展属性,该属性值现在用于确保只有一个人可以支付成功\r\t用法:多个人对同一笔外部欠费单创建多个账单时,确保该值不变",
  45229. "example" : "20140504"
  45230. },
  45231. "merchant_order_no" : {
  45232. "type" : "string",
  45233. "description" : "输出机构的业务流水号,需要保证唯一性。",
  45234. "example" : "201203031234567"
  45235. },
  45236. "order_type" : {
  45237. "type" : "string",
  45238. "description" : "支付宝订单类型。枚举支持:\t*JF:公共事业缴纳。\t*WUYE:物业缴费。\t*HK:信用卡还款。\t*TX:通讯缴费。",
  45239. "example" : "JF"
  45240. },
  45241. "owner_name" : {
  45242. "type" : "string",
  45243. "description" : "拥有该账单的用户姓名",
  45244. "example" : "织绫"
  45245. },
  45246. "pay_amount" : {
  45247. "type" : "string",
  45248. "description" : "缴费金额。用户支付的总金额。单位为 元(人民币)。取值范围为[0.01,100000000.00],精确到小数点后两位。",
  45249. "example" : "23.45"
  45250. },
  45251. "service_amount" : {
  45252. "type" : "string",
  45253. "description" : "账单的服务费",
  45254. "example" : "8"
  45255. },
  45256. "sub_order_type" : {
  45257. "type" : "string",
  45258. "description" : "子业务类型是业务类型的下一级概念。枚举支持:\t*WATER:缴水费。\t*ELECTRIC:缴电费。\t*GAS:缴燃气费。\t*COMMUN:缴固话宽带费。\t*CATV:缴有线电视费。\t*WUYE:缴物业费。\t*RC:定期还车贷代扣。\t*RH:定期还房贷代扣。\t*RR:定期还房租代扣。\t*RN:定期还网贷代扣。\t*CZ:手机充值代扣。\t例如:WATER表示JF下面的水费。",
  45259. "example" : "WATER"
  45260. }
  45261. }
  45262. },
  45263. "AlipayEbppBillGetErrorResponseModel" : {
  45264. "required" : [ "code", "message" ],
  45265. "type" : "object",
  45266. "properties" : {
  45267. "code" : {
  45268. "type" : "string",
  45269. "description" : "错误码",
  45270. "enum" : [ "isv.invalid-auth-token", "isv.order-type-cannot-access", "isv.invalid-arguments", "isp.unknown-error", "isv.bill-is-not-exisit", "isv.order-type-error", "isv.invalid-access-other-bill" ]
  45271. },
  45272. "links" : {
  45273. "type" : "string",
  45274. "description" : "解决方案链接"
  45275. },
  45276. "message" : {
  45277. "type" : "string",
  45278. "description" : "错误描述"
  45279. }
  45280. }
  45281. },
  45282. "AlipayEbppBillGetResponseModel" : {
  45283. "type" : "object",
  45284. "properties" : {
  45285. "alipay_order_no" : {
  45286. "type" : "string",
  45287. "description" : "支付宝的业务订单号,具有唯一性。",
  45288. "example" : "201203088888888"
  45289. },
  45290. "bill_date" : {
  45291. "type" : "string",
  45292. "description" : "账单的账期,例如201203表示2012年3月的账单。",
  45293. "example" : "201203"
  45294. },
  45295. "bill_key" : {
  45296. "type" : "string",
  45297. "description" : "账单单据号,例如水费单号,手机号,电费号,信用卡卡号。没有唯一性要求。",
  45298. "example" : "3388102012376451"
  45299. },
  45300. "charge_inst" : {
  45301. "type" : "string",
  45302. "description" : "支付宝给每个出账机构指定了一个对应的英文短名称来唯一表示该收费单位。",
  45303. "example" : "BJCEB"
  45304. },
  45305. "charge_inst_name" : {
  45306. "type" : "string",
  45307. "description" : "出账机构中文名称。",
  45308. "example" : "北京光大"
  45309. },
  45310. "merchant_order_no" : {
  45311. "type" : "string",
  45312. "description" : "输出机构的业务流水号,需要保证唯一性。",
  45313. "example" : "201203031234567"
  45314. },
  45315. "order_status" : {
  45316. "type" : "string",
  45317. "description" : "账单的状态。 INIT:等待付款,SUCCESS:成功,FAILED:失败。",
  45318. "example" : "S"
  45319. },
  45320. "order_type" : {
  45321. "type" : "string",
  45322. "description" : "支付宝订单类型。公共事业缴纳JF,信用卡还款HK",
  45323. "example" : "JF"
  45324. },
  45325. "owner_name" : {
  45326. "type" : "string",
  45327. "description" : "拥有该账单的用户姓名",
  45328. "example" : "织绫"
  45329. },
  45330. "pay_amount" : {
  45331. "type" : "string",
  45332. "description" : "缴费金额。用户支付的总金额。单位为:RMB Yuan。取值范围为[0.01,100000000.00],精确到小数点后两位。",
  45333. "example" : "23.45"
  45334. },
  45335. "pay_time" : {
  45336. "type" : "string",
  45337. "description" : "付款时间",
  45338. "example" : "2012-01-01 00:22:11"
  45339. },
  45340. "service_amount" : {
  45341. "type" : "string",
  45342. "description" : "账单的服务费",
  45343. "example" : "8"
  45344. },
  45345. "sub_order_type" : {
  45346. "type" : "string",
  45347. "description" : "子业务类型是业务类型的下一级概念,例如:WATER表示JF下面的水费,ELECTRIC表示JF下面的电费,GAS表示JF下面的燃气费。",
  45348. "example" : "WATER"
  45349. },
  45350. "traffic_location" : {
  45351. "type" : "string",
  45352. "description" : "交通违章地点,sub_order_type=TRAFFIC时有值",
  45353. "example" : "浙江,杭徽高速"
  45354. },
  45355. "traffic_regulations" : {
  45356. "type" : "string",
  45357. "description" : "违章行为,sub_order_type=TRAFFIC时有值。",
  45358. "example" : "违章停车"
  45359. }
  45360. }
  45361. },
  45362. "AlipayEbppInvoiceApplyInvUploadErrorResponseModel" : {
  45363. "required" : [ "code", "message" ],
  45364. "type" : "object",
  45365. "properties" : {
  45366. "code" : {
  45367. "type" : "string",
  45368. "description" : "错误码",
  45369. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  45370. },
  45371. "links" : {
  45372. "type" : "string",
  45373. "description" : "解决方案链接"
  45374. },
  45375. "message" : {
  45376. "type" : "string",
  45377. "description" : "错误描述"
  45378. }
  45379. }
  45380. },
  45381. "AlipayEbppInvoiceApplyInvUploadModel" : {
  45382. "type" : "object",
  45383. "properties" : {
  45384. "anti_fake_code" : {
  45385. "type" : "string",
  45386. "description" : "发票防伪码/密码",
  45387. "example" : "acbgjjk13jsadjkfdajkadf123"
  45388. },
  45389. "apply_id" : {
  45390. "type" : "string",
  45391. "description" : "发票申请ID, 由阿里发票平台生成。 拆单开票后一笔申请可能对应多张发票。 source=apply时必填,其他source可为空",
  45392. "example" : "12345678"
  45393. },
  45394. "biz_error_code" : {
  45395. "type" : "string",
  45396. "description" : "开票失败错误码, 开票失败(create_result=fail)时必填",
  45397. "example" : "sys"
  45398. },
  45399. "biz_error_msg" : {
  45400. "type" : "string",
  45401. "description" : "开票失败错误信息, 开票失败(create_result=fail)时必填",
  45402. "example" : "系统异常"
  45403. },
  45404. "business_type" : {
  45405. "type" : "integer",
  45406. "description" : "抬头类型。可选值: 0:个人 1:企业",
  45407. "example" : "0"
  45408. },
  45409. "check_code" : {
  45410. "type" : "string",
  45411. "description" : "校验码",
  45412. "example" : "acbgjjk13"
  45413. },
  45414. "create_result" : {
  45415. "type" : "string",
  45416. "description" : "开票结果,枚举值: success: 发票开具成功; fail: 开票失败; source=async时必填,传实际的开票结果。其他source可不传,默认为success",
  45417. "example" : "success"
  45418. },
  45419. "device_no" : {
  45420. "type" : "string",
  45421. "description" : "开票分机号/机器编号",
  45422. "example" : "12345678"
  45423. },
  45424. "invoice_amount" : {
  45425. "type" : "string",
  45426. "description" : "合计含税金额(开票金额),格式为2位小数。 当开红票时,该字段为负数。 开票成功时(create_result=success)必填",
  45427. "example" : "1170.00"
  45428. },
  45429. "invoice_code" : {
  45430. "type" : "string",
  45431. "description" : "发票代码。 开票成功时(create_result=success)必填",
  45432. "example" : "123123123412"
  45433. },
  45434. "invoice_date" : {
  45435. "type" : "string",
  45436. "description" : "开票日期,格式 yyyy-MM-dd. 开票成功时(create_result=success)必填",
  45437. "example" : "2020-09-10"
  45438. },
  45439. "invoice_file_content" : {
  45440. "type" : "string",
  45441. "description" : "发票版式文件数据,base64化的字符串; 电子发票必填",
  45442. "example" : "sfsdfhgsgs"
  45443. },
  45444. "invoice_file_type" : {
  45445. "type" : "string",
  45446. "description" : "发票板式文件类型。可选值: PDF, OFD。 开电票且开票成功时(create_result=success)必填",
  45447. "example" : "PDF"
  45448. },
  45449. "invoice_items" : {
  45450. "$ref" : "#/components/schemas/InvoiceItem"
  45451. },
  45452. "invoice_kind" : {
  45453. "type" : "integer",
  45454. "description" : "开票发票类型 可选值: 0: 电票; 1:纸质普票; 2:纸质专票; 开票成功时(create_result=success)必填",
  45455. "example" : "0"
  45456. },
  45457. "invoice_memo" : {
  45458. "type" : "string",
  45459. "description" : "发票备注,会显示在票面",
  45460. "example" : "电子发票测试"
  45461. },
  45462. "invoice_no" : {
  45463. "type" : "string",
  45464. "description" : "发票号码。 开票成功时(create_result=success)必填",
  45465. "example" : "12345678"
  45466. },
  45467. "invoice_type" : {
  45468. "type" : "string",
  45469. "description" : "发票(开票)类型,可选值: blue: 蓝票; red: 红票; 开票成功时(create_result=success)必填",
  45470. "example" : "blue"
  45471. },
  45472. "levy_type" : {
  45473. "type" : "string",
  45474. "description" : "征税方式,0普通征收,1减按征收,2差额征收",
  45475. "example" : "0"
  45476. },
  45477. "normal_invoice_code" : {
  45478. "type" : "string",
  45479. "description" : "原发票代码。 冲红且开票成功时(create_result=success)必填",
  45480. "example" : "111100000000"
  45481. },
  45482. "normal_invoice_no" : {
  45483. "type" : "string",
  45484. "description" : "原发票号码。 冲红且开票成功时(create_result=success)必填",
  45485. "example" : "00004349"
  45486. },
  45487. "payee_address" : {
  45488. "type" : "string",
  45489. "description" : "销方地址。 开票成功时(create_result=success)必填",
  45490. "example" : "杭州市西湖区"
  45491. },
  45492. "payee_bank_account_id" : {
  45493. "type" : "string",
  45494. "description" : "销方银行账号",
  45495. "example" : "8888888888888888"
  45496. },
  45497. "payee_bank_name" : {
  45498. "type" : "string",
  45499. "description" : "销方开户行名称",
  45500. "example" : "92523123213412341234"
  45501. },
  45502. "payee_checker" : {
  45503. "type" : "string",
  45504. "description" : "复核人",
  45505. "example" : "王五"
  45506. },
  45507. "payee_name" : {
  45508. "type" : "string",
  45509. "description" : "销方名称。 开票成功时(create_result=success)必填",
  45510. "example" : "测试企业"
  45511. },
  45512. "payee_operator" : {
  45513. "type" : "string",
  45514. "description" : "开票人。 开票成功时(create_result=success)必填",
  45515. "example" : "张三"
  45516. },
  45517. "payee_phone" : {
  45518. "type" : "string",
  45519. "description" : "销方联系电话。 开票成功时(create_result=success)必填",
  45520. "example" : "18234561212"
  45521. },
  45522. "payee_receiver" : {
  45523. "type" : "string",
  45524. "description" : "收款人",
  45525. "example" : "李四"
  45526. },
  45527. "payee_register_no" : {
  45528. "type" : "string",
  45529. "description" : "销方税务登记证号。由大写字母或数字组成,长度要求15~20位。 开票成功时(create_result=success)必填",
  45530. "example" : "20150201321123"
  45531. },
  45532. "payer_address" : {
  45533. "type" : "string",
  45534. "description" : "购方地址, 专票且开票成功时(create_result=success)必填",
  45535. "example" : "浙江省杭州市余杭区文一西路xxx号"
  45536. },
  45537. "payer_bank_account_id" : {
  45538. "type" : "string",
  45539. "description" : "购方银行账号, 专票且开票成功时(create_result=success)必填",
  45540. "example" : "123412341234"
  45541. },
  45542. "payer_bank_name" : {
  45543. "type" : "string",
  45544. "description" : "购方开户行名称, 专票且开票成功时(create_result=success)必填",
  45545. "example" : "招商银行"
  45546. },
  45547. "payer_email" : {
  45548. "type" : "string",
  45549. "description" : "购方电子邮箱,需满足邮箱格式。 格式要求:\\\\w+([-+.]\\\\w+)*@\\\\w+([-.]\\\\w+)*\\\\.\\\\w+([-.]\\\\w+)*",
  45550. "example" : "mytest@xxx.com"
  45551. },
  45552. "payer_name" : {
  45553. "type" : "string",
  45554. "description" : "购方抬头。 开票成功时(create_result=success)必填",
  45555. "example" : "张三"
  45556. },
  45557. "payer_phone" : {
  45558. "type" : "string",
  45559. "description" : "购方联系电话, 专票且开票成功时(create_result=success)必填",
  45560. "example" : "18234561212"
  45561. },
  45562. "payer_register_no" : {
  45563. "type" : "string",
  45564. "description" : "购方税务登记证号,由大写字母或数字组成,长度要求15~20位。 开企业抬头时必填, 专票且开票成功时(create_result=success)必填",
  45565. "example" : "2015020123123"
  45566. },
  45567. "platform_code" : {
  45568. "type" : "string",
  45569. "description" : "业务平台Code, 由发票中台分配。 用于标识需交付发票的业务平台,source=upload时必填,其他source可为空",
  45570. "example" : "TB"
  45571. },
  45572. "platform_tid" : {
  45573. "type" : "string",
  45574. "description" : "业务平台发票申请对应的订单号。 用于区分业务平台订单号,source=upload时必填,其他source可为空",
  45575. "example" : "100011101"
  45576. },
  45577. "platform_user_id" : {
  45578. "type" : "string",
  45579. "description" : "业务平台发票申请对应的订单号。 用于区分业务平台订单号,source=upload时必填,其他source可为空",
  45580. "example" : "12345678"
  45581. },
  45582. "qr_code" : {
  45583. "type" : "string",
  45584. "description" : "二维码",
  45585. "example" : "adsf123"
  45586. },
  45587. "receive_mobile" : {
  45588. "type" : "string",
  45589. "description" : "购方手机号码,用于收票",
  45590. "example" : "13388889999"
  45591. },
  45592. "red_notice_no" : {
  45593. "type" : "string",
  45594. "description" : "红字通知单号; 专票冲红且开票成功时(create_result=success)必填",
  45595. "example" : "123"
  45596. },
  45597. "serial_no" : {
  45598. "type" : "string",
  45599. "description" : "开票流水号/序列号,唯一标志一笔开票请求,由于阿里发票中台生成。 source=async时必填,其他source可为空",
  45600. "example" : "TB1001_1331"
  45601. },
  45602. "source" : {
  45603. "type" : "string",
  45604. "description" : "发票来源,可选值: apply: 间连开票模式,ISV回传商家基于申请开具的发票; async:直连开票模式,ISV回传开票结果; upload:直接回传,进行归集与交付的发票",
  45605. "example" : "apply"
  45606. },
  45607. "special_flag" : {
  45608. "type" : "string",
  45609. "description" : "特殊票种标识,可选值: “00”非特殊票种 (默认值) “02”农产品收购 “06”抵扣通行费 “07”其它通行费 “08”成品油销售 “18”成品油专票负数发票",
  45610. "example" : "02"
  45611. },
  45612. "sum_price" : {
  45613. "type" : "string",
  45614. "description" : "合计金额(不含税),格式为2位小数。 当开红票时,该字段为负数。 开票成功时(create_result=success)必填",
  45615. "example" : "1000.00"
  45616. },
  45617. "sum_tax" : {
  45618. "type" : "string",
  45619. "description" : "合计税额,格式为2位小数。 当开红票时,该字段为0或负数。 开票成功时(create_result=success)必填",
  45620. "example" : "170.00"
  45621. }
  45622. }
  45623. },
  45624. "AlipayEbppInvoiceApplyInvUploadResponseModel" : {
  45625. "type" : "object",
  45626. "properties" : {
  45627. "is_success" : {
  45628. "type" : "boolean",
  45629. "description" : "处理是否成功",
  45630. "example" : "true"
  45631. }
  45632. }
  45633. },
  45634. "AlipayEbppInvoiceApplyResultSyncErrorResponseModel" : {
  45635. "required" : [ "code", "message" ],
  45636. "type" : "object",
  45637. "properties" : {
  45638. "code" : {
  45639. "type" : "string",
  45640. "description" : "错误码",
  45641. "enum" : [ "INVALID_PARAMETER", "ANT_INVOICE_APPLY_NOT_EXIST", "BIZ_ERROR", "INVOICE_APPLY_RETURN_INVALID" ]
  45642. },
  45643. "links" : {
  45644. "type" : "string",
  45645. "description" : "解决方案链接"
  45646. },
  45647. "message" : {
  45648. "type" : "string",
  45649. "description" : "错误描述"
  45650. }
  45651. }
  45652. },
  45653. "AlipayEbppInvoiceApplyResultSyncModel" : {
  45654. "type" : "object",
  45655. "properties" : {
  45656. "apply_id" : {
  45657. "type" : "string",
  45658. "description" : "支付宝发起开票申请的id,该id具有唯一性,该字段由支付宝向税控发起申请的时候带过去,作为支付宝向税控开票申请的唯一标志",
  45659. "example" : "2016010430220000300020003000200021"
  45660. },
  45661. "result" : {
  45662. "type" : "string",
  45663. "description" : "支付宝向税控商或ISV发起发票申请后,对应这笔申请的发票开具结果。\r\t取值如下:\r\tSUCCESS:成功;FAIL:失败",
  45664. "example" : "SUCCESS"
  45665. },
  45666. "result_code" : {
  45667. "type" : "string",
  45668. "description" : "结果码,支付宝向税控商或ISV发起发票申请后,对应这笔申请的发票开具结果进行详细说明的结果码。\r\t取值如下:\r\t成功(SUCCESS),\r\t参数不合法(PARAMETER_ILLEGAL),\r\t商户税控设备异常(MERCHANT_TAX_DEVICE_ERROR).",
  45669. "example" : "SUCCESS"
  45670. },
  45671. "result_msg" : {
  45672. "type" : "string",
  45673. "description" : "结果描述,支付宝向税控商或ISV发起发票申请后,对应这笔申请的发票开具结果描述信息。",
  45674. "example" : "成功"
  45675. },
  45676. "tax_apply_id" : {
  45677. "type" : "string",
  45678. "description" : "该字段是税控商或ISV收到支付宝开票请求后生成的申请id,由税控商或isv自己生成,该id具有唯一性\r\t当ISV接入时是按照tax_apply_id来查询发票信息时,该字段必填。",
  45679. "example" : "20160707399929991001"
  45680. }
  45681. }
  45682. },
  45683. "AlipayEbppInvoiceApplyResultSyncResponseModel" : {
  45684. "type" : "object",
  45685. "properties" : {
  45686. "retry_flag" : {
  45687. "type" : "boolean",
  45688. "description" : "标注是否需要调用方重试。\r\t当结果返回失败时(code 不等于 10000 且 msg 不等于 SUCCESS\r\t),如果该字段返回true表明该失败的情况通过重试补偿可解决,为false表明失败情况通过重试无法解决,可以停止重试,根据返回的错误码尝试解决。",
  45689. "example" : "false"
  45690. }
  45691. }
  45692. },
  45693. "AlipayEbppInvoiceApplyStatusNotifyErrorResponseModel" : {
  45694. "required" : [ "code", "message" ],
  45695. "type" : "object",
  45696. "properties" : {
  45697. "code" : {
  45698. "type" : "string",
  45699. "description" : "错误码",
  45700. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  45701. },
  45702. "links" : {
  45703. "type" : "string",
  45704. "description" : "解决方案链接"
  45705. },
  45706. "message" : {
  45707. "type" : "string",
  45708. "description" : "错误描述"
  45709. }
  45710. }
  45711. },
  45712. "AlipayEbppInvoiceApplyStatusNotifyModel" : {
  45713. "type" : "object",
  45714. "properties" : {
  45715. "apply_id" : {
  45716. "type" : "string",
  45717. "description" : "发票申请ID,由阿里发票平台生成。字母或数字组成。\t申请单的唯一标识,幂等字段。",
  45718. "example" : "123456"
  45719. },
  45720. "apply_status" : {
  45721. "type" : "string",
  45722. "description" : "申请状态,可选值:\tapplying: 申请中,初始状态;\tcancelled: 申请已取消、或商户已驳回;\tcreating_inv: 商户已受理/开票中,待发票结果回传;\tinv_failed: 开票失败;\tinv_success: 开票成功;\tinv_part_success: 部分成功(拆单场景下存在。举例:发票申请拆单之后有10张票,其中有1张开票成功时,此时申请状态为inv_part_success,当10张票全部成功申请状态则为inv_success)",
  45723. "example" : "cancelled"
  45724. },
  45725. "invoice_uks" : {
  45726. "type" : "array",
  45727. "description" : "该申请下所有已开具成功的发票。\t状态变更为 apply_status=inv_success 时该字段必传",
  45728. "items" : {
  45729. "$ref" : "#/components/schemas/InvoiceUkDTO"
  45730. }
  45731. },
  45732. "message" : {
  45733. "type" : "string",
  45734. "description" : "说明信息:驳回或失败原因\tapply_status=inv_failed 或 apply_status=cancelled 时必传",
  45735. "example" : "购方信息错误"
  45736. }
  45737. }
  45738. },
  45739. "AlipayEbppInvoiceApplyStatusNotifyResponseModel" : {
  45740. "type" : "object",
  45741. "properties" : {
  45742. "missing_invoices" : {
  45743. "type" : "array",
  45744. "description" : "update_success=false时返回。\t该申请下存在未归集成功的发票。即:attach_invoices 中携带的发票存在未回传成功的发票。\t此时调用方,需先调用发票回传接口,完成发票回传。然后再重试此接口。",
  45745. "items" : {
  45746. "$ref" : "#/components/schemas/InvoiceUkDTO"
  45747. }
  45748. },
  45749. "update_success" : {
  45750. "type" : "boolean",
  45751. "description" : "事务执行结果,true成功,false失败",
  45752. "example" : "true"
  45753. }
  45754. }
  45755. },
  45756. "AlipayEbppInvoiceApplystatusQueryErrorResponseModel" : {
  45757. "required" : [ "code", "message" ],
  45758. "type" : "object",
  45759. "properties" : {
  45760. "code" : {
  45761. "type" : "string",
  45762. "description" : "错误码",
  45763. "enum" : [ "BIZ_ERROR" ]
  45764. },
  45765. "links" : {
  45766. "type" : "string",
  45767. "description" : "解决方案链接"
  45768. },
  45769. "message" : {
  45770. "type" : "string",
  45771. "description" : "错误描述"
  45772. }
  45773. }
  45774. },
  45775. "AlipayEbppInvoiceApplystatusQueryModel" : {
  45776. "type" : "object",
  45777. "properties" : {
  45778. "m_short_name" : {
  45779. "type" : "string",
  45780. "description" : "定义商户的一级简称,用于标识商户品牌,对应于商户入驻时填写的\"商户品牌简称\"。 如:肯德基:KFC",
  45781. "example" : "KFC"
  45782. },
  45783. "order_no_list" : {
  45784. "type" : "array",
  45785. "description" : "待查询订单开票状态列表,各订单号间通过英文逗号分割,不限于支付宝体内交易订单号。如:20200520110046966071,20200520110046966072,20200520110046966073",
  45786. "items" : {
  45787. "type" : "string"
  45788. },
  45789. "example" : "20200520110046966071,20200520110046966072,20200520110046966073"
  45790. },
  45791. "sub_m_short_name" : {
  45792. "type" : "string",
  45793. "description" : "定义商户的二级简称,用于标识商户品牌下的分支机构,如球房,对应于商户入驻时填写的\"商户球房简称\"。 如:肯德基-杭州西湖区文一西路店:KFC-HZ-19003 要求:\"商户品牌简称+商户球房简称\"作为确定商户及其下属机构的唯一标识,不可重复。",
  45794. "example" : "KFC-HZ-19003"
  45795. }
  45796. }
  45797. },
  45798. "AlipayEbppInvoiceApplystatusQueryResponseModel" : {
  45799. "type" : "object",
  45800. "properties" : {
  45801. "apply_status_brief_dtos" : {
  45802. "type" : "array",
  45803. "description" : "每笔交易开票状态",
  45804. "items" : {
  45805. "$ref" : "#/components/schemas/OrderApplyStatusBriefDTO"
  45806. }
  45807. }
  45808. }
  45809. },
  45810. "AlipayEbppInvoiceAuthSignErrorResponseModel" : {
  45811. "required" : [ "code", "message" ],
  45812. "type" : "object",
  45813. "properties" : {
  45814. "code" : {
  45815. "type" : "string",
  45816. "description" : "错误码",
  45817. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  45818. },
  45819. "links" : {
  45820. "type" : "string",
  45821. "description" : "解决方案链接"
  45822. },
  45823. "message" : {
  45824. "type" : "string",
  45825. "description" : "错误描述"
  45826. }
  45827. }
  45828. },
  45829. "AlipayEbppInvoiceAuthSignModel" : {
  45830. "type" : "object",
  45831. "properties" : {
  45832. "authorization_type" : {
  45833. "type" : "string",
  45834. "description" : "发票授权类型,可选值:INVOICE_AUTO_SYNC(发票自动回传)\tINVOICE_TWOWAY_AUTO_SYNC(发票双向自动回传)",
  45835. "example" : "INVOICE_AUTO_SYNC"
  45836. },
  45837. "extend_fields" : {
  45838. "type" : "string",
  45839. "description" : "扩展字段,格式为:KEY1=VALUE1,KEY2=VALUE2,KEY3=VALUE3\t邮箱地址KEY为EMAIL_ADDRESS",
  45840. "example" : "EMAIL_ADDRESS=example@alipay.com"
  45841. },
  45842. "m_short_name" : {
  45843. "type" : "string",
  45844. "description" : "开票商户品牌简称,与商户入驻时的品牌简称保持一致。",
  45845. "example" : "CSD"
  45846. },
  45847. "open_id" : {
  45848. "type" : "string",
  45849. "description" : "支付宝用户userId",
  45850. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  45851. },
  45852. "user_id" : {
  45853. "type" : "string",
  45854. "description" : "支付宝用户userId",
  45855. "example" : "2088399922382233"
  45856. }
  45857. }
  45858. },
  45859. "AlipayEbppInvoiceAuthSignResponseModel" : {
  45860. "type" : "object"
  45861. },
  45862. "AlipayEbppInvoiceAuthUnsignErrorResponseModel" : {
  45863. "required" : [ "code", "message" ],
  45864. "type" : "object",
  45865. "properties" : {
  45866. "code" : {
  45867. "type" : "string",
  45868. "description" : "错误码",
  45869. "enum" : [ "SYSTEM_ERROR", "RECORD_NOT_EXIST", "INVALID_PARAMETER" ]
  45870. },
  45871. "links" : {
  45872. "type" : "string",
  45873. "description" : "解决方案链接"
  45874. },
  45875. "message" : {
  45876. "type" : "string",
  45877. "description" : "错误描述"
  45878. }
  45879. }
  45880. },
  45881. "AlipayEbppInvoiceAuthUnsignModel" : {
  45882. "type" : "object",
  45883. "properties" : {
  45884. "authorization_type" : {
  45885. "type" : "string",
  45886. "description" : "发票授权类型,可选值:INVOICE_AUTO_SYNC(发票自动回传)\tINVOICE_TWOWAY_AUTO_SYNC(发票双向自动回传)",
  45887. "example" : "INVOICE_AUTO_SYNC"
  45888. },
  45889. "extend_fields" : {
  45890. "type" : "string",
  45891. "description" : "扩展字段,格式为:KEY1=VALUE1,KEY2=VALUE2,KEY3=VALUE3\t邮箱地址KEY为EMAIL_ADDRESS",
  45892. "example" : "EMAIL_ADDRESS=example@alipay.com"
  45893. },
  45894. "m_short_name" : {
  45895. "type" : "string",
  45896. "description" : "开票商户品牌简称,与商户入驻时的品牌简称保持一致。",
  45897. "example" : "CSD"
  45898. },
  45899. "open_id" : {
  45900. "type" : "string",
  45901. "description" : "支付宝用户userId",
  45902. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  45903. },
  45904. "user_id" : {
  45905. "type" : "string",
  45906. "description" : "支付宝用户userId",
  45907. "example" : "2088399922382233"
  45908. }
  45909. }
  45910. },
  45911. "AlipayEbppInvoiceAuthUnsignResponseModel" : {
  45912. "type" : "object"
  45913. },
  45914. "AlipayEbppInvoiceDetailOutputQueryErrorResponseModel" : {
  45915. "required" : [ "code", "message" ],
  45916. "type" : "object",
  45917. "properties" : {
  45918. "code" : {
  45919. "type" : "string",
  45920. "description" : "错误码",
  45921. "enum" : [ "SYSTEM_ERROR", "INVOICE_NOT_EXIST", "INVOICE_QUERY_DENY", "PARAMETER_ILLEGAL", "QUERY_TAX_NO_NOT_EQUAL_CERTIFY_NO" ]
  45922. },
  45923. "links" : {
  45924. "type" : "string",
  45925. "description" : "解决方案链接"
  45926. },
  45927. "message" : {
  45928. "type" : "string",
  45929. "description" : "错误描述"
  45930. }
  45931. }
  45932. },
  45933. "AlipayEbppInvoiceDetailOutputQueryModel" : {
  45934. "type" : "object",
  45935. "properties" : {
  45936. "invoice_code" : {
  45937. "type" : "string",
  45938. "description" : "发票代码\t长度限制(10-12位),全电票则为空",
  45939. "example" : "1234567890"
  45940. },
  45941. "invoice_no" : {
  45942. "type" : "string",
  45943. "description" : "发票号码\t长度限制(8-20位)",
  45944. "example" : "12345678"
  45945. },
  45946. "open_id" : {
  45947. "type" : "string",
  45948. "description" : "支付宝用户 id",
  45949. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  45950. },
  45951. "scene" : {
  45952. "type" : "string",
  45953. "description" : "获取发票明细应用场景。固定为 INVOICE_EXPENSE 表示发票报销。",
  45954. "example" : "INVOICE_EXPENSE"
  45955. },
  45956. "skip_expense_progress_sync" : {
  45957. "type" : "boolean",
  45958. "description" : "是否跳过发票报销状态同步;当为true时,跳过报销状态同步校验。默认为false,需要先做报销状态同步",
  45959. "example" : "false"
  45960. },
  45961. "user_id" : {
  45962. "type" : "string",
  45963. "description" : "发票归属用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  45964. "example" : "20880000000000000"
  45965. }
  45966. }
  45967. },
  45968. "AlipayEbppInvoiceDetailOutputQueryResponseModel" : {
  45969. "type" : "object",
  45970. "properties" : {
  45971. "anti_fake_code" : {
  45972. "type" : "string",
  45973. "description" : "防伪码,发票校验码",
  45974. "example" : "14345678908765433456"
  45975. },
  45976. "ex_tax_amount" : {
  45977. "type" : "string",
  45978. "description" : "不含税金额(废弃)",
  45979. "example" : "85.00"
  45980. },
  45981. "expense_status" : {
  45982. "type" : "string",
  45983. "description" : "发票报销状态\r\t取值范围:\r\tWAIT_EXPENSE-未报销\r\tEXPENSE_PROCESSING-报销中\r\tEXPENSE_FINISHED-已报销",
  45984. "example" : "WAIT_APPLY"
  45985. },
  45986. "has_risk" : {
  45987. "type" : "boolean",
  45988. "description" : "该发票可能存在异常,请核实后使用\r\ttrue:无异常\r\tfalse:存在异常",
  45989. "example" : "true"
  45990. },
  45991. "has_upload_pdf" : {
  45992. "type" : "string",
  45993. "description" : "是否已上传发票pdf文件\r\tfalse-未上传\r\ttrue-已上传",
  45994. "example" : "false"
  45995. },
  45996. "invoice_amount" : {
  45997. "type" : "string",
  45998. "description" : "发票金额(价税合计金额)",
  45999. "example" : "100.00"
  46000. },
  46001. "invoice_code" : {
  46002. "type" : "string",
  46003. "description" : "发票代码\t(全电票为空)",
  46004. "example" : "123456"
  46005. },
  46006. "invoice_date" : {
  46007. "type" : "string",
  46008. "description" : "开票日期",
  46009. "example" : "2017-07-10"
  46010. },
  46011. "invoice_img_url" : {
  46012. "type" : "string",
  46013. "description" : "发票缩略图地址",
  46014. "example" : "http://img.test.com"
  46015. },
  46016. "invoice_item_content_list" : {
  46017. "type" : "array",
  46018. "description" : "发票内容项",
  46019. "items" : {
  46020. "$ref" : "#/components/schemas/InvoiceItemContent"
  46021. }
  46022. },
  46023. "invoice_no" : {
  46024. "type" : "string",
  46025. "description" : "发票号码",
  46026. "example" : "123"
  46027. },
  46028. "invoice_status" : {
  46029. "type" : "string",
  46030. "description" : "发票状态\r\tSUCCEED-成功\r\tEXPIRED-已失效\r\tTRANSFERRED-已转交",
  46031. "example" : "SUCCEED"
  46032. },
  46033. "invoice_type" : {
  46034. "type" : "string",
  46035. "description" : "发票类型\r\t值有两种情况:blue-蓝票 red-红票",
  46036. "example" : "blue"
  46037. },
  46038. "payee_address" : {
  46039. "type" : "string",
  46040. "description" : "销售方地址",
  46041. "example" : "浙江杭州万塘路18号"
  46042. },
  46043. "payee_bank_account" : {
  46044. "type" : "string",
  46045. "description" : "销售方开户银行账号",
  46046. "example" : "1234"
  46047. },
  46048. "payee_bank_name" : {
  46049. "type" : "string",
  46050. "description" : "销售方开户银行名称",
  46051. "example" : "建设银行"
  46052. },
  46053. "payee_phone" : {
  46054. "type" : "string",
  46055. "description" : "销售方电话",
  46056. "example" : "012-0000000"
  46057. },
  46058. "payee_register_name" : {
  46059. "type" : "string",
  46060. "description" : "销售方名称",
  46061. "example" : "国力大酒店"
  46062. },
  46063. "payee_tax_no" : {
  46064. "type" : "string",
  46065. "description" : "销售方税号",
  46066. "example" : "123456789"
  46067. },
  46068. "payer_address" : {
  46069. "type" : "string",
  46070. "description" : "购买方地址",
  46071. "example" : "浙江杭州西湖区天目山路222号"
  46072. },
  46073. "payer_bank_account" : {
  46074. "type" : "string",
  46075. "description" : "购买方开户银行账号",
  46076. "example" : "123556"
  46077. },
  46078. "payer_bank_name" : {
  46079. "type" : "string",
  46080. "description" : "购买方开户银行名称",
  46081. "example" : "招商银行"
  46082. },
  46083. "payer_name" : {
  46084. "type" : "string",
  46085. "description" : "购买方名称",
  46086. "example" : "支付宝(中国)技术有限公司"
  46087. },
  46088. "payer_phone" : {
  46089. "type" : "string",
  46090. "description" : "购买方电话",
  46091. "example" : "1893445555555"
  46092. },
  46093. "payer_tax_no" : {
  46094. "type" : "string",
  46095. "description" : "购买方税号",
  46096. "example" : "1234"
  46097. },
  46098. "sum_tax_amount" : {
  46099. "type" : "string",
  46100. "description" : "合计税额(废弃)",
  46101. "example" : "15.00"
  46102. },
  46103. "tax_type" : {
  46104. "type" : "string",
  46105. "description" : "票种\tPLAIN:增值税电子普通发票\tSPECIAL:增值税专用发票\tALL_ELECTRONIC_GENERAL:电子发票(普通发票)\tALL_ELECTRONIC_SPECIAL:电子发票(增值税专用发票)\tPLAIN_INVOICE:增值税普通发票\tPAPER_INVOICE:增值税普通发票(卷式)\tSALSE_INVOICE:机动车销售统一发票",
  46106. "example" : "PLAIN"
  46107. }
  46108. }
  46109. },
  46110. "AlipayEbppInvoiceEcorderOrderQueryErrorResponseModel" : {
  46111. "required" : [ "code", "message" ],
  46112. "type" : "object",
  46113. "properties" : {
  46114. "code" : {
  46115. "type" : "string",
  46116. "description" : "错误码",
  46117. "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "INVALID_PARAMETER", "ORDER_NOT_EXIST" ]
  46118. },
  46119. "links" : {
  46120. "type" : "string",
  46121. "description" : "解决方案链接"
  46122. },
  46123. "message" : {
  46124. "type" : "string",
  46125. "description" : "错误描述"
  46126. }
  46127. }
  46128. },
  46129. "AlipayEbppInvoiceEcorderOrderQueryResponseModel" : {
  46130. "type" : "object",
  46131. "properties" : {
  46132. "order_info" : {
  46133. "$ref" : "#/components/schemas/EcOrderItem"
  46134. },
  46135. "sub_order_list" : {
  46136. "type" : "array",
  46137. "description" : "企业码子订单详情列表",
  46138. "items" : {
  46139. "$ref" : "#/components/schemas/EcOrderItem"
  46140. }
  46141. }
  46142. }
  46143. },
  46144. "AlipayEbppInvoiceEinvpackageQueryErrorResponseModel" : {
  46145. "required" : [ "code", "message" ],
  46146. "type" : "object",
  46147. "properties" : {
  46148. "code" : {
  46149. "type" : "string",
  46150. "description" : "错误码",
  46151. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
  46152. },
  46153. "links" : {
  46154. "type" : "string",
  46155. "description" : "解决方案链接"
  46156. },
  46157. "message" : {
  46158. "type" : "string",
  46159. "description" : "错误描述"
  46160. }
  46161. }
  46162. },
  46163. "AlipayEbppInvoiceEinvpackageQueryResponseModel" : {
  46164. "type" : "object",
  46165. "properties" : {
  46166. "package_item_info_list" : {
  46167. "type" : "array",
  46168. "description" : "发票包明细数据",
  46169. "items" : {
  46170. "$ref" : "#/components/schemas/PackageItemOpenInfo"
  46171. }
  46172. }
  46173. }
  46174. },
  46175. "AlipayEbppInvoiceEnterpriseMerchantrelationCreateErrorResponseModel" : {
  46176. "required" : [ "code", "message" ],
  46177. "type" : "object",
  46178. "properties" : {
  46179. "code" : {
  46180. "type" : "string",
  46181. "description" : "错误码",
  46182. "enum" : [ "PARAMETER_ILLEGAL", "SYSTEM_ERROR", "PERMISSION_DENIED", "INVALID_TRADE_NO" ]
  46183. },
  46184. "links" : {
  46185. "type" : "string",
  46186. "description" : "解决方案链接"
  46187. },
  46188. "message" : {
  46189. "type" : "string",
  46190. "description" : "错误描述"
  46191. }
  46192. }
  46193. },
  46194. "AlipayEbppInvoiceEnterpriseMerchantrelationCreateModel" : {
  46195. "type" : "object",
  46196. "properties" : {
  46197. "account_id" : {
  46198. "type" : "string",
  46199. "description" : "共同账户ID",
  46200. "example" : "2088xxx"
  46201. },
  46202. "agreement_no" : {
  46203. "type" : "string",
  46204. "description" : "授权签约协议号",
  46205. "example" : "20215713002876184996"
  46206. },
  46207. "operator_id" : {
  46208. "type" : "string",
  46209. "description" : "传入操作人员标识",
  46210. "example" : "记录操作人身份标识,可传工号,如9527"
  46211. },
  46212. "shop_info" : {
  46213. "$ref" : "#/components/schemas/EcShopInfo"
  46214. },
  46215. "trade_no" : {
  46216. "type" : "string",
  46217. "description" : "交易流水号",
  46218. "example" : "2019xxxxxx"
  46219. }
  46220. }
  46221. },
  46222. "AlipayEbppInvoiceEnterpriseMerchantrelationCreateResponseModel" : {
  46223. "type" : "object",
  46224. "properties" : {
  46225. "pid" : {
  46226. "type" : "string",
  46227. "description" : "球房收单pid",
  46228. "example" : "2088xxx"
  46229. },
  46230. "role_type" : {
  46231. "type" : "string",
  46232. "description" : "球房直间连类型",
  46233. "example" : "0"
  46234. },
  46235. "shop_id" : {
  46236. "type" : "string",
  46237. "description" : "球房ID",
  46238. "example" : "2088xxx"
  46239. },
  46240. "success" : {
  46241. "type" : "boolean",
  46242. "description" : "是否成功",
  46243. "example" : "true"
  46244. }
  46245. }
  46246. },
  46247. "AlipayEbppInvoiceEnterpriseconsumeConsumeBatchqueryErrorResponseModel" : {
  46248. "required" : [ "code", "message" ],
  46249. "type" : "object",
  46250. "properties" : {
  46251. "code" : {
  46252. "type" : "string",
  46253. "description" : "错误码",
  46254. "enum" : [ "INVALID_PARAMETER", "PERMISSION_DENIED", "EMPLOYEE_CNT_LIMIT_ERROR", "DURATION_EXCEED_LIMIT_ERROR", "SYSTEM_ERROR", "DURATION_ILLEGAL" ]
  46255. },
  46256. "links" : {
  46257. "type" : "string",
  46258. "description" : "解决方案链接"
  46259. },
  46260. "message" : {
  46261. "type" : "string",
  46262. "description" : "错误描述"
  46263. }
  46264. }
  46265. },
  46266. "AlipayEbppInvoiceEnterpriseconsumeConsumeBatchqueryModel" : {
  46267. "type" : "object",
  46268. "properties" : {
  46269. "account_id" : {
  46270. "type" : "string",
  46271. "description" : "企业ID",
  46272. "example" : "2088000194958956"
  46273. },
  46274. "agreement_no" : {
  46275. "type" : "string",
  46276. "description" : "授权签约协议号",
  46277. "example" : "20215425001112341234"
  46278. },
  46279. "consumption_end" : {
  46280. "type" : "string",
  46281. "description" : "交易结束时间,格式:yyyy-MM-dd HH:mm:ss",
  46282. "example" : "2021-12-16 00:00:00"
  46283. },
  46284. "consumption_start" : {
  46285. "type" : "string",
  46286. "description" : "交易开始时间,格式:yyyy-MM-dd HH:mm:ss",
  46287. "example" : "2021-12-16 00:00:00"
  46288. },
  46289. "employee_list" : {
  46290. "type" : "array",
  46291. "description" : "员工支付宝UID列表,单次传入最大员工数量为10",
  46292. "items" : {
  46293. "type" : "string"
  46294. },
  46295. "example" : "[\"2088210888827370\"]"
  46296. },
  46297. "employee_open_ids" : {
  46298. "type" : "array",
  46299. "description" : "员工支付宝UID列表,单次传入最大员工数量为10",
  46300. "items" : {
  46301. "type" : "string"
  46302. },
  46303. "example" : "[\"074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5\"]"
  46304. }
  46305. }
  46306. },
  46307. "AlipayEbppInvoiceEnterpriseconsumeConsumeBatchqueryResponseModel" : {
  46308. "type" : "object",
  46309. "properties" : {
  46310. "expense_consume_info_list" : {
  46311. "type" : "array",
  46312. "description" : "企业查询到的员工账单列表",
  46313. "items" : {
  46314. "$ref" : "#/components/schemas/ExpenseConsumeInfo"
  46315. }
  46316. }
  46317. }
  46318. },
  46319. "AlipayEbppInvoiceEnterpriseconsumeDetailQueryErrorResponseModel" : {
  46320. "required" : [ "code", "message" ],
  46321. "type" : "object",
  46322. "properties" : {
  46323. "code" : {
  46324. "type" : "string",
  46325. "description" : "错误码",
  46326. "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "VOUCHER_NOT_EXIST", "INVALID_PARAMETER" ]
  46327. },
  46328. "links" : {
  46329. "type" : "string",
  46330. "description" : "解决方案链接"
  46331. },
  46332. "message" : {
  46333. "type" : "string",
  46334. "description" : "错误描述"
  46335. }
  46336. }
  46337. },
  46338. "AlipayEbppInvoiceEnterpriseconsumeDetailQueryResponseModel" : {
  46339. "type" : "object",
  46340. "properties" : {
  46341. "expense_consume_info" : {
  46342. "$ref" : "#/components/schemas/ExpenseConsumeInfo"
  46343. },
  46344. "expense_invoice_info" : {
  46345. "$ref" : "#/components/schemas/ExpenseInvoiceInfo"
  46346. },
  46347. "voucher_info" : {
  46348. "$ref" : "#/components/schemas/ExpenseVoucherInfo"
  46349. }
  46350. }
  46351. },
  46352. "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleCreateErrorResponseModel" : {
  46353. "required" : [ "code", "message" ],
  46354. "type" : "object",
  46355. "properties" : {
  46356. "code" : {
  46357. "type" : "string",
  46358. "description" : "错误码",
  46359. "enum" : [ "PARAMETER_ILLEGAL", "SYSTEM_ERROR", "PERMISSION_DENIED", "ENTERPRISE_TITLE_NOT_EXISTS", "INVOICE_RULE_NAME_EXIST", "INVOICE_RULE_NAME_TOO_LONG", "INVOICE_RULE_NAME_ILLEGAL", "BILL_MONTH_DAY_ILLEGAL", "BIZ_ERROR", "REMOTE_SERVICE_ERROR" ]
  46360. },
  46361. "links" : {
  46362. "type" : "string",
  46363. "description" : "解决方案链接"
  46364. },
  46365. "message" : {
  46366. "type" : "string",
  46367. "description" : "错误描述"
  46368. }
  46369. }
  46370. },
  46371. "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleCreateModel" : {
  46372. "type" : "object",
  46373. "properties" : {
  46374. "account_id" : {
  46375. "type" : "string",
  46376. "description" : "共同账户ID",
  46377. "example" : "2088000194958956"
  46378. },
  46379. "agreement_no" : {
  46380. "type" : "string",
  46381. "description" : "授权签约协议号",
  46382. "example" : "20215425001112341234"
  46383. },
  46384. "bill_month_day" : {
  46385. "type" : "integer",
  46386. "description" : "账期结束日期",
  46387. "example" : "5"
  46388. },
  46389. "enterprise_id" : {
  46390. "type" : "string",
  46391. "description" : "企业ID",
  46392. "example" : "2088402284248282"
  46393. },
  46394. "invoice_rule_name" : {
  46395. "type" : "string",
  46396. "description" : "开票规则名称",
  46397. "example" : "开票规则测试1"
  46398. },
  46399. "invoice_title_id" : {
  46400. "type" : "string",
  46401. "description" : "发票抬头",
  46402. "example" : "2021032900152710950000000001"
  46403. },
  46404. "open_mode" : {
  46405. "type" : "string",
  46406. "description" : "开票模式",
  46407. "example" : "SUMMARY"
  46408. },
  46409. "seller_type" : {
  46410. "type" : "string",
  46411. "description" : "销方类型",
  46412. "example" : "TP"
  46413. },
  46414. "tag" : {
  46415. "type" : "string",
  46416. "description" : "开票规则标记",
  46417. "example" : "DEFAULT"
  46418. }
  46419. }
  46420. },
  46421. "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleCreateResponseModel" : {
  46422. "type" : "object",
  46423. "properties" : {
  46424. "invoice_rule_id" : {
  46425. "type" : "string",
  46426. "description" : "开票规则ID",
  46427. "example" : "2021070100152721370000002201"
  46428. }
  46429. }
  46430. },
  46431. "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleModifyErrorResponseModel" : {
  46432. "required" : [ "code", "message" ],
  46433. "type" : "object",
  46434. "properties" : {
  46435. "code" : {
  46436. "type" : "string",
  46437. "description" : "错误码",
  46438. "enum" : [ "PARAMETER_ILLEGAL", "SYSTEM_ERROR", "PERMISSION_DENIED", "ENTERPRISE_TITLE_NOT_EXISTS", "INVOICE_RULE_NAME_EXIST", "INVOICE_RULE_NOT_EXIST", "INVOICE_RULE_NAME_TOO_LONG", "INVOICE_RULE_NAME_ILLEGAL", "INVOICE_RULE_MODIFIED_FAIL", "BIZ_ERROR", "INVOICE_RULE_FUTURE_EXIST" ]
  46439. },
  46440. "links" : {
  46441. "type" : "string",
  46442. "description" : "解决方案链接"
  46443. },
  46444. "message" : {
  46445. "type" : "string",
  46446. "description" : "错误描述"
  46447. }
  46448. }
  46449. },
  46450. "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleModifyModel" : {
  46451. "type" : "object",
  46452. "properties" : {
  46453. "account_id" : {
  46454. "type" : "string",
  46455. "description" : "共同账户ID",
  46456. "example" : "2088000194958956"
  46457. },
  46458. "agreement_no" : {
  46459. "type" : "string",
  46460. "description" : "授权签约协议号",
  46461. "example" : "20215425001112341234"
  46462. },
  46463. "enterprise_id" : {
  46464. "type" : "string",
  46465. "description" : "企业ID",
  46466. "example" : "2088000194958956"
  46467. },
  46468. "invoice_rule_id" : {
  46469. "type" : "string",
  46470. "description" : "开票规则ID",
  46471. "example" : "2021032900152710950000000001"
  46472. },
  46473. "invoice_rule_name" : {
  46474. "type" : "string",
  46475. "description" : "开票规则名称",
  46476. "example" : "开票规则测试2"
  46477. },
  46478. "invoice_title_id" : {
  46479. "type" : "string",
  46480. "description" : "发票抬头",
  46481. "example" : "2021080500152710850000000421"
  46482. },
  46483. "seller_type" : {
  46484. "type" : "string",
  46485. "description" : "销方类型",
  46486. "example" : "TP"
  46487. }
  46488. }
  46489. },
  46490. "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleModifyResponseModel" : {
  46491. "type" : "object",
  46492. "properties" : {
  46493. "success" : {
  46494. "type" : "boolean",
  46495. "description" : "success",
  46496. "example" : "true"
  46497. }
  46498. }
  46499. },
  46500. "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleQueryErrorResponseModel" : {
  46501. "required" : [ "code", "message" ],
  46502. "type" : "object",
  46503. "properties" : {
  46504. "code" : {
  46505. "type" : "string",
  46506. "description" : "错误码",
  46507. "enum" : [ "PARAMETER_ILLEGAL", "SYSTEM_ERROR", "PERMISSION_DENIED", "INVOICE_RULE_NOT_EXIST", "REMOTE_SERVICE_ERROR" ]
  46508. },
  46509. "links" : {
  46510. "type" : "string",
  46511. "description" : "解决方案链接"
  46512. },
  46513. "message" : {
  46514. "type" : "string",
  46515. "description" : "错误描述"
  46516. }
  46517. }
  46518. },
  46519. "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleQueryResponseModel" : {
  46520. "type" : "object",
  46521. "properties" : {
  46522. "enterprise_open_rule_info" : {
  46523. "$ref" : "#/components/schemas/EnterpriseOpenRuleInfo"
  46524. }
  46525. }
  46526. },
  46527. "AlipayEbppInvoiceEnterpriseconsumeOpenrulerelationCreateErrorResponseModel" : {
  46528. "required" : [ "code", "message" ],
  46529. "type" : "object",
  46530. "properties" : {
  46531. "code" : {
  46532. "type" : "string",
  46533. "description" : "错误码",
  46534. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "BIND_RELATION_ERROR", "INVOICE_RULE_NOT_EXIST", "GROUP_NOT_EXIST", "EXPENSE_INVOICE_RULE_EXIST", "PARAMETER_ILLEGAL", "REMOTE_SERVICE_ERROR" ]
  46535. },
  46536. "links" : {
  46537. "type" : "string",
  46538. "description" : "解决方案链接"
  46539. },
  46540. "message" : {
  46541. "type" : "string",
  46542. "description" : "错误描述"
  46543. }
  46544. }
  46545. },
  46546. "AlipayEbppInvoiceEnterpriseconsumeOpenrulerelationCreateModel" : {
  46547. "type" : "object",
  46548. "properties" : {
  46549. "account_id" : {
  46550. "type" : "string",
  46551. "description" : "企业共同账户ID",
  46552. "example" : "2088000194958956"
  46553. },
  46554. "agreement_no" : {
  46555. "type" : "string",
  46556. "description" : "授权签约协议号",
  46557. "example" : "20215425001112341234"
  46558. },
  46559. "enterprise_id" : {
  46560. "type" : "string",
  46561. "description" : "企业ID",
  46562. "example" : "2088000194958901"
  46563. },
  46564. "invoice_rule_id" : {
  46565. "type" : "string",
  46566. "description" : "开票规则ID",
  46567. "example" : "2021070101152721181000002201"
  46568. },
  46569. "standard_id_list" : {
  46570. "type" : "array",
  46571. "description" : "费控规则ID列表",
  46572. "items" : {
  46573. "type" : "string"
  46574. },
  46575. "example" : "[\"2021090600152601180000000358\",\"2021090600152601180000000359\"]"
  46576. }
  46577. }
  46578. },
  46579. "AlipayEbppInvoiceEnterpriseconsumeOpenrulerelationCreateResponseModel" : {
  46580. "type" : "object",
  46581. "properties" : {
  46582. "success" : {
  46583. "type" : "boolean",
  46584. "description" : "是否成功",
  46585. "example" : "true"
  46586. }
  46587. }
  46588. },
  46589. "AlipayEbppInvoiceEnterpriseconsumeRelatedetailQueryErrorResponseModel" : {
  46590. "required" : [ "code", "message" ],
  46591. "type" : "object",
  46592. "properties" : {
  46593. "code" : {
  46594. "type" : "string",
  46595. "description" : "错误码",
  46596. "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "VOUCHER_NOT_EXIST", "INVALID_PARAMETER" ]
  46597. },
  46598. "links" : {
  46599. "type" : "string",
  46600. "description" : "解决方案链接"
  46601. },
  46602. "message" : {
  46603. "type" : "string",
  46604. "description" : "错误描述"
  46605. }
  46606. }
  46607. },
  46608. "AlipayEbppInvoiceEnterpriseconsumeRelatedetailQueryResponseModel" : {
  46609. "type" : "object",
  46610. "properties" : {
  46611. "expense_ctrl_consume_info" : {
  46612. "$ref" : "#/components/schemas/ExpenseCtrlConsumeInfo"
  46613. }
  46614. }
  46615. },
  46616. "AlipayEbppInvoiceEnterpriseconsumeSummaryinvoicedetailQueryErrorResponseModel" : {
  46617. "required" : [ "code", "message" ],
  46618. "type" : "object",
  46619. "properties" : {
  46620. "code" : {
  46621. "type" : "string",
  46622. "description" : "错误码",
  46623. "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "SUMMARY_INVOICE_NOT_EXIT", "PARAMETER_ILLEGAL", "BIZ_ERROR" ]
  46624. },
  46625. "links" : {
  46626. "type" : "string",
  46627. "description" : "解决方案链接"
  46628. },
  46629. "message" : {
  46630. "type" : "string",
  46631. "description" : "错误描述"
  46632. }
  46633. }
  46634. },
  46635. "AlipayEbppInvoiceEnterpriseconsumeSummaryinvoicedetailQueryResponseModel" : {
  46636. "type" : "object",
  46637. "properties" : {
  46638. "account_id" : {
  46639. "type" : "string",
  46640. "description" : "企业汇总场景下,即企业ID",
  46641. "example" : "2088000237836238"
  46642. },
  46643. "apply_date" : {
  46644. "type" : "string",
  46645. "description" : "申请时间",
  46646. "example" : "2021-08-26 11:11:11"
  46647. },
  46648. "batch_id" : {
  46649. "type" : "string",
  46650. "description" : "已废弃,开票批次 ID(建议使用summary_id)",
  46651. "example" : "2021080400152500230000000881"
  46652. },
  46653. "batch_status" : {
  46654. "type" : "string",
  46655. "description" : "批次状态<br/>\t INIT:汇总批次初始化状态,未进行汇总<br/>\t SUMMARY:汇总批次化汇总完成,汇总金额计算完成<br/>\t PROCESS:汇总批次初始化状态,汇总开票申请提交成功<br/>\t NOT_SUPPORT:汇总开票商户业务能力不支持<br/>\t FAIL:汇总批次申请失败状态<br/>\t SUCCESS:汇总批次申请成功状态,此时发票已回传<br/>\t MANUAL_CONFIRM:汇总批次人工确认收票<br/>",
  46656. "example" : "SUCCESS"
  46657. },
  46658. "complete_voucher_list" : {
  46659. "type" : "array",
  46660. "description" : "发票内容",
  46661. "items" : {
  46662. "$ref" : "#/components/schemas/CompleteVoucherInfo"
  46663. }
  46664. },
  46665. "gmt_biz_end" : {
  46666. "type" : "string",
  46667. "description" : "账期结束时间",
  46668. "example" : "2021-08-09 00:00:59"
  46669. },
  46670. "gmt_biz_start" : {
  46671. "type" : "string",
  46672. "description" : "账期起始时间",
  46673. "example" : "2021-08-09 00:00:59"
  46674. },
  46675. "status_show_content" : {
  46676. "type" : "string",
  46677. "description" : "状态对应的展示明细内容<br/>\t 初始化<br/>\t 汇总完成<br/>\t 开票中...<br/>\t 不支持开票<br/>\t 开票失败<br/>\t 已开票<br/>\t 确认已收票<br/>",
  46678. "example" : "已开票"
  46679. },
  46680. "summary_id" : {
  46681. "type" : "string",
  46682. "description" : "开票批次 ID",
  46683. "example" : "2021080400152500230000000881"
  46684. },
  46685. "user_id" : {
  46686. "type" : "string",
  46687. "description" : "企业汇总场景下,即企业ID(请使用account_id)",
  46688. "example" : "2088000237836238"
  46689. }
  46690. }
  46691. },
  46692. "AlipayEbppInvoiceEnterpriseexctrlEmployertitleBatchqueryErrorResponseModel" : {
  46693. "required" : [ "code", "message" ],
  46694. "type" : "object",
  46695. "properties" : {
  46696. "code" : {
  46697. "type" : "string",
  46698. "description" : "错误码",
  46699. "enum" : [ "PERMISSION_DENIED", "SYSTEM_ERROR", "PARAMETER_ILLEGAL" ]
  46700. },
  46701. "links" : {
  46702. "type" : "string",
  46703. "description" : "解决方案链接"
  46704. },
  46705. "message" : {
  46706. "type" : "string",
  46707. "description" : "错误描述"
  46708. }
  46709. }
  46710. },
  46711. "AlipayEbppInvoiceEnterpriseexctrlEmployertitleBatchqueryModel" : {
  46712. "type" : "object",
  46713. "properties" : {
  46714. "account_id" : {
  46715. "type" : "string",
  46716. "description" : "共同账户id,与enterprise_id两者必填其一",
  46717. "example" : "2088xxxxxx"
  46718. },
  46719. "agreement_no" : {
  46720. "type" : "string",
  46721. "description" : "授权签约协议号",
  46722. "example" : "9900000000000"
  46723. },
  46724. "enterprise_id" : {
  46725. "type" : "string",
  46726. "description" : "企业id,与account_id两者必填其一",
  46727. "example" : "2088xxxxxx"
  46728. },
  46729. "page_num" : {
  46730. "type" : "integer",
  46731. "description" : "页码",
  46732. "example" : "1"
  46733. },
  46734. "page_size" : {
  46735. "type" : "integer",
  46736. "description" : "每页行数",
  46737. "example" : "10"
  46738. }
  46739. }
  46740. },
  46741. "AlipayEbppInvoiceEnterpriseexctrlEmployertitleBatchqueryResponseModel" : {
  46742. "type" : "object",
  46743. "properties" : {
  46744. "code" : {
  46745. "type" : "string",
  46746. "description" : "返回码\t10000-成功\t其他都是失败",
  46747. "example" : "10000"
  46748. },
  46749. "msg" : {
  46750. "type" : "string",
  46751. "description" : "返回消息",
  46752. "example" : "成功"
  46753. },
  46754. "title_info_list" : {
  46755. "type" : "array",
  46756. "description" : "企业抬头信息",
  46757. "items" : {
  46758. "$ref" : "#/components/schemas/EnterpriseTitleInfo"
  46759. }
  46760. }
  46761. }
  46762. },
  46763. "AlipayEbppInvoiceEnterpriseexctrlEmployertitleCreateErrorResponseModel" : {
  46764. "required" : [ "code", "message" ],
  46765. "type" : "object",
  46766. "properties" : {
  46767. "code" : {
  46768. "type" : "string",
  46769. "description" : "错误码",
  46770. "enum" : [ "PARAMETER_ILLEGAL", "PERMISSION_DENIED", "SYSTEM_ERROR", "ENTERPRISE_TITLE_EXISTS", "ENTERPRISE_TITLE_EXCEED" ]
  46771. },
  46772. "links" : {
  46773. "type" : "string",
  46774. "description" : "解决方案链接"
  46775. },
  46776. "message" : {
  46777. "type" : "string",
  46778. "description" : "错误描述"
  46779. }
  46780. }
  46781. },
  46782. "AlipayEbppInvoiceEnterpriseexctrlEmployertitleCreateModel" : {
  46783. "type" : "object",
  46784. "properties" : {
  46785. "account_id" : {
  46786. "type" : "string",
  46787. "description" : "共同账户id,与enterprise_id两者必填其一",
  46788. "example" : "2088xxxxxx"
  46789. },
  46790. "address" : {
  46791. "type" : "string",
  46792. "description" : "详细地址",
  46793. "example" : "***省***市****区"
  46794. },
  46795. "agreement_no" : {
  46796. "type" : "string",
  46797. "description" : "授权签约协议号",
  46798. "example" : "9900000000000"
  46799. },
  46800. "bank_account" : {
  46801. "type" : "string",
  46802. "description" : "开户行账号",
  46803. "example" : "622000********"
  46804. },
  46805. "bank_name" : {
  46806. "type" : "string",
  46807. "description" : "开户行名称",
  46808. "example" : "******"
  46809. },
  46810. "enterprise_id" : {
  46811. "type" : "string",
  46812. "description" : "企业id,与account_id两者必填其一",
  46813. "example" : "2088xxxxxx"
  46814. },
  46815. "tax_register_no" : {
  46816. "type" : "string",
  46817. "description" : "税号",
  46818. "example" : "********"
  46819. },
  46820. "telephone" : {
  46821. "type" : "string",
  46822. "description" : "电话",
  46823. "example" : "0739-56*****"
  46824. },
  46825. "title_name" : {
  46826. "type" : "string",
  46827. "description" : "企业抬头名称",
  46828. "example" : "*****有限公司"
  46829. }
  46830. }
  46831. },
  46832. "AlipayEbppInvoiceEnterpriseexctrlEmployertitleCreateResponseModel" : {
  46833. "type" : "object",
  46834. "properties" : {
  46835. "code" : {
  46836. "type" : "string",
  46837. "description" : "返回码\t10000-成功\t其他都是失败",
  46838. "example" : "10000"
  46839. },
  46840. "msg" : {
  46841. "type" : "string",
  46842. "description" : "返回消息",
  46843. "example" : "成功"
  46844. },
  46845. "success" : {
  46846. "type" : "boolean",
  46847. "description" : "是否成功",
  46848. "example" : "true"
  46849. },
  46850. "title_id" : {
  46851. "type" : "string",
  46852. "description" : "抬头ID",
  46853. "example" : "2021090100152710300000000729"
  46854. }
  46855. }
  46856. },
  46857. "AlipayEbppInvoiceEnterpriseexctrlEmployertitleModifyErrorResponseModel" : {
  46858. "required" : [ "code", "message" ],
  46859. "type" : "object",
  46860. "properties" : {
  46861. "code" : {
  46862. "type" : "string",
  46863. "description" : "错误码",
  46864. "enum" : [ "PARAMETER_ILLEGAL", "SYSTEM_ERROR", "PERMISSION_DENIED", "ENTERPRISE_TITLE_EXISTS", "ENTERPRISE_TITLE_NOT_EXISTS" ]
  46865. },
  46866. "links" : {
  46867. "type" : "string",
  46868. "description" : "解决方案链接"
  46869. },
  46870. "message" : {
  46871. "type" : "string",
  46872. "description" : "错误描述"
  46873. }
  46874. }
  46875. },
  46876. "AlipayEbppInvoiceEnterpriseexctrlEmployertitleModifyModel" : {
  46877. "type" : "object",
  46878. "properties" : {
  46879. "account_id" : {
  46880. "type" : "string",
  46881. "description" : "共同账户id,与enterprise_id两者必填其一",
  46882. "example" : "2088xxxxxx"
  46883. },
  46884. "address" : {
  46885. "type" : "string",
  46886. "description" : "详细地址",
  46887. "example" : "***省***市****区"
  46888. },
  46889. "agreement_no" : {
  46890. "type" : "string",
  46891. "description" : "授权签约协议号",
  46892. "example" : "9900000000000"
  46893. },
  46894. "bank_account" : {
  46895. "type" : "string",
  46896. "description" : "开户行账号",
  46897. "example" : "622000********"
  46898. },
  46899. "bank_name" : {
  46900. "type" : "string",
  46901. "description" : "开户行",
  46902. "example" : "******"
  46903. },
  46904. "enterprise_id" : {
  46905. "type" : "string",
  46906. "description" : "企业id,与account_id两者必填其一",
  46907. "example" : "2088xxxxxx"
  46908. },
  46909. "tax_register_no" : {
  46910. "type" : "string",
  46911. "description" : "税号",
  46912. "example" : "20"
  46913. },
  46914. "telephone" : {
  46915. "type" : "string",
  46916. "description" : "电话",
  46917. "example" : "0739-56*****"
  46918. },
  46919. "title_id" : {
  46920. "type" : "string",
  46921. "description" : "抬头ID",
  46922. "example" : "****"
  46923. },
  46924. "title_name" : {
  46925. "type" : "string",
  46926. "description" : "企业抬头名称",
  46927. "example" : "*****有限公司"
  46928. }
  46929. }
  46930. },
  46931. "AlipayEbppInvoiceEnterpriseexctrlEmployertitleModifyResponseModel" : {
  46932. "type" : "object",
  46933. "properties" : {
  46934. "code" : {
  46935. "type" : "string",
  46936. "description" : "返回码\t10000-成功\t其他都是失败",
  46937. "example" : "10000"
  46938. },
  46939. "msg" : {
  46940. "type" : "string",
  46941. "description" : "返回信息",
  46942. "example" : "成功"
  46943. },
  46944. "success" : {
  46945. "type" : "boolean",
  46946. "description" : "是否成功",
  46947. "example" : "true"
  46948. },
  46949. "title_id" : {
  46950. "type" : "string",
  46951. "description" : "抬头ID",
  46952. "example" : "2021090100152710300000000731"
  46953. }
  46954. }
  46955. },
  46956. "AlipayEbppInvoiceEnterpriseexctrlEmployertitleQueryErrorResponseModel" : {
  46957. "required" : [ "code", "message" ],
  46958. "type" : "object",
  46959. "properties" : {
  46960. "code" : {
  46961. "type" : "string",
  46962. "description" : "错误码",
  46963. "enum" : [ "PERMISSION_DENIED", "SYSTEM_ERROR", "PARAMETER_ILLEGAL" ]
  46964. },
  46965. "links" : {
  46966. "type" : "string",
  46967. "description" : "解决方案链接"
  46968. },
  46969. "message" : {
  46970. "type" : "string",
  46971. "description" : "错误描述"
  46972. }
  46973. }
  46974. },
  46975. "AlipayEbppInvoiceEnterpriseexctrlEmployertitleQueryResponseModel" : {
  46976. "type" : "object",
  46977. "properties" : {
  46978. "code" : {
  46979. "type" : "string",
  46980. "description" : "返回码\t10000-成功\t其他都是失败",
  46981. "example" : "10000"
  46982. },
  46983. "msg" : {
  46984. "type" : "string",
  46985. "description" : "返回消息",
  46986. "example" : "成功"
  46987. },
  46988. "title_info" : {
  46989. "$ref" : "#/components/schemas/EnterpriseTitleInfo"
  46990. }
  46991. }
  46992. },
  46993. "AlipayEbppInvoiceExpenseProgressSyncErrorResponseModel" : {
  46994. "required" : [ "code", "message" ],
  46995. "type" : "object",
  46996. "properties" : {
  46997. "code" : {
  46998. "type" : "string",
  46999. "description" : "错误码",
  47000. "enum" : [ "INVOICE_NOT_EXIST", "INVOICE_EXPENSE_STATUS_REPEAT", "PERMISSION_DENIED", "EXPENSE_INVOICE_DETAIL_URL_CHECK", "INVOICE_HAVE_PROCESSING_EXPENSE", "INVOICE_HAVE_EXPENSE", "EXPENSE_ORDER_NO_DISAGREE", "EXPENSE_INVOICE_DISABLE", "EXPENSE_NOT_REACH_PROCESSING", "EXPENSE_APPLY_ID_REPEAT", "PARAMETER_ILLEGAL", "EXPENSE_BUSINESS_TIME_ERROR", "SYSTEM_ERROR", "QUERY_TAX_NO_NOT_EQUAL_CERTIFY_NO", "PRODUCT_IS_EMPTY" ]
  47001. },
  47002. "links" : {
  47003. "type" : "string",
  47004. "description" : "解决方案链接"
  47005. },
  47006. "message" : {
  47007. "type" : "string",
  47008. "description" : "错误描述"
  47009. }
  47010. }
  47011. },
  47012. "AlipayEbppInvoiceExpenseProgressSyncModel" : {
  47013. "type" : "object",
  47014. "properties" : {
  47015. "apply_id" : {
  47016. "type" : "string",
  47017. "description" : "同步申请id,每次发起同步时生成,isv每次请求需要保证唯一",
  47018. "example" : "BxpO0dtPbcLLpwD8h5H47ehQXkBdI"
  47019. },
  47020. "business_time" : {
  47021. "type" : "string",
  47022. "description" : "报销状态变更执行时间",
  47023. "example" : "2017-08-14 10:10:00"
  47024. },
  47025. "expense_detail_url" : {
  47026. "type" : "string",
  47027. "description" : "报销详情地址,提供用户通过发票管家查看报销进度的地址\r\t如果报销企业入驻发票管家时需要isv传入报销详情地址,则必须提供",
  47028. "example" : "http://www.baidu.com"
  47029. },
  47030. "expense_order_no" : {
  47031. "type" : "string",
  47032. "description" : "报销单据号",
  47033. "example" : "123"
  47034. },
  47035. "expense_tax_no" : {
  47036. "type" : "string",
  47037. "description" : "报销企业税号",
  47038. "example" : "123456"
  47039. },
  47040. "invoice_code" : {
  47041. "type" : "string",
  47042. "description" : "发票代码",
  47043. "example" : "1234567890"
  47044. },
  47045. "invoice_no" : {
  47046. "type" : "string",
  47047. "description" : "发票号码",
  47048. "example" : "12345678"
  47049. },
  47050. "memo" : {
  47051. "type" : "string",
  47052. "description" : "备注",
  47053. "example" : "财务已打款"
  47054. },
  47055. "open_id" : {
  47056. "type" : "string",
  47057. "description" : "open_id,支付宝用户id",
  47058. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  47059. },
  47060. "status" : {
  47061. "type" : "string",
  47062. "description" : "报销操作。枚举值如下:\t*EXPENSE_APPLY:用户已提交申请。*EXPENSE_APPROVAL_PASS:报销审核通过。\t*EXPENSE_FINISHED:报销完结。\t*EXPENSE_CANCEL:报销撤回。",
  47063. "example" : "EXPENSE_APPLY"
  47064. },
  47065. "user_id" : {
  47066. "type" : "string",
  47067. "description" : "发票归属用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  47068. "example" : "20880000000000000"
  47069. }
  47070. }
  47071. },
  47072. "AlipayEbppInvoiceExpenseProgressSyncResponseModel" : {
  47073. "type" : "object"
  47074. },
  47075. "AlipayEbppInvoiceExpensecomsueOutsourceNotifyErrorResponseModel" : {
  47076. "required" : [ "code", "message" ],
  47077. "type" : "object",
  47078. "properties" : {
  47079. "code" : {
  47080. "type" : "string",
  47081. "description" : "错误码",
  47082. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "PERMISSION_DENIED", "WORK_NO_NOT_FIND", "QUOTA_DEAL_ERROR", "PLATFORM_ILLEGAL" ]
  47083. },
  47084. "links" : {
  47085. "type" : "string",
  47086. "description" : "解决方案链接"
  47087. },
  47088. "message" : {
  47089. "type" : "string",
  47090. "description" : "错误描述"
  47091. }
  47092. }
  47093. },
  47094. "AlipayEbppInvoiceExpensecomsueOutsourceNotifyModel" : {
  47095. "type" : "object",
  47096. "properties" : {
  47097. "account_id" : {
  47098. "type" : "string",
  47099. "description" : "企业共同账户id",
  47100. "example" : "2088000194958956"
  47101. },
  47102. "agreement_no" : {
  47103. "type" : "string",
  47104. "description" : "授权签约协议号",
  47105. "example" : "20215425001112341234"
  47106. },
  47107. "amount" : {
  47108. "type" : "integer",
  47109. "description" : "消费金额",
  47110. "example" : "200"
  47111. },
  47112. "deal_time" : {
  47113. "type" : "string",
  47114. "description" : "交易发生时间",
  47115. "example" : "2021-01-01 12:00:00"
  47116. },
  47117. "employee_id" : {
  47118. "type" : "string",
  47119. "description" : "员工id",
  47120. "example" : "2088210888827370"
  47121. },
  47122. "employee_id_type" : {
  47123. "type" : "integer",
  47124. "description" : "员工账号类型",
  47125. "example" : "0"
  47126. },
  47127. "employee_open_id" : {
  47128. "type" : "string",
  47129. "description" : "员工开放id",
  47130. "example" : "abcdxxxx"
  47131. },
  47132. "enterprise_id" : {
  47133. "type" : "string",
  47134. "description" : "企业id",
  47135. "example" : "2088000194958956"
  47136. },
  47137. "extend" : {
  47138. "type" : "string",
  47139. "description" : "拓展参数",
  47140. "example" : "{\\\"adcode\\\":\\\"310000\\\"}"
  47141. },
  47142. "is_off_set" : {
  47143. "type" : "integer",
  47144. "description" : "交易类型",
  47145. "example" : "0"
  47146. },
  47147. "out_source_id" : {
  47148. "type" : "string",
  47149. "description" : "外部交易支付单号",
  47150. "example" : "TN00000000000001"
  47151. },
  47152. "platform" : {
  47153. "type" : "string",
  47154. "description" : "外部平台编码",
  47155. "example" : "DAO_AN"
  47156. },
  47157. "relate_no" : {
  47158. "type" : "string",
  47159. "description" : "外部交易退款单号",
  47160. "example" : "200222222222"
  47161. },
  47162. "standard_id" : {
  47163. "type" : "string",
  47164. "description" : "费控规则ID",
  47165. "example" : "2021082700152601730000003677"
  47166. }
  47167. }
  47168. },
  47169. "AlipayEbppInvoiceExpensecomsueOutsourceNotifyResponseModel" : {
  47170. "type" : "object",
  47171. "properties" : {
  47172. "success" : {
  47173. "type" : "boolean",
  47174. "description" : "是否成功",
  47175. "example" : "true"
  47176. }
  47177. }
  47178. },
  47179. "AlipayEbppInvoiceExpensecontrolAggregationCreateErrorResponseModel" : {
  47180. "required" : [ "code", "message" ],
  47181. "type" : "object",
  47182. "properties" : {
  47183. "code" : {
  47184. "type" : "string",
  47185. "description" : "错误码",
  47186. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
  47187. },
  47188. "links" : {
  47189. "type" : "string",
  47190. "description" : "解决方案链接"
  47191. },
  47192. "message" : {
  47193. "type" : "string",
  47194. "description" : "错误描述"
  47195. }
  47196. }
  47197. },
  47198. "AlipayEbppInvoiceExpensecontrolAggregationCreateModel" : {
  47199. "type" : "object",
  47200. "properties" : {
  47201. "account_id" : {
  47202. "type" : "string",
  47203. "description" : "企业ID",
  47204. "example" : "2088000194958956"
  47205. },
  47206. "aggregation_name" : {
  47207. "type" : "string",
  47208. "description" : "聚合关系名称\t特殊说明:敏感词校验",
  47209. "example" : "测试聚合关系"
  47210. },
  47211. "agreement_no" : {
  47212. "type" : "string",
  47213. "description" : "授权签约协议号",
  47214. "example" : "20215425001112341234"
  47215. },
  47216. "standard_id_list" : {
  47217. "type" : "array",
  47218. "description" : "费控规则ID列表",
  47219. "items" : {
  47220. "type" : "string"
  47221. },
  47222. "example" : "[\"2021082700152601730000003677\",\"2021082700152601730000003679\"]"
  47223. }
  47224. }
  47225. },
  47226. "AlipayEbppInvoiceExpensecontrolAggregationCreateResponseModel" : {
  47227. "type" : "object",
  47228. "properties" : {
  47229. "aggregation_id" : {
  47230. "type" : "string",
  47231. "description" : "费控聚合关系ID",
  47232. "example" : "2021082700152602730000003677"
  47233. }
  47234. }
  47235. },
  47236. "AlipayEbppInvoiceExpensecontrolEmployeequotaCreateErrorResponseModel" : {
  47237. "required" : [ "code", "message" ],
  47238. "type" : "object",
  47239. "properties" : {
  47240. "code" : {
  47241. "type" : "string",
  47242. "description" : "错误码",
  47243. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "QUOTA_EXISTS", "NO_RULE_AVAILABLE", "REQUEST_REPEAT" ]
  47244. },
  47245. "links" : {
  47246. "type" : "string",
  47247. "description" : "解决方案链接"
  47248. },
  47249. "message" : {
  47250. "type" : "string",
  47251. "description" : "错误描述"
  47252. }
  47253. }
  47254. },
  47255. "AlipayEbppInvoiceExpensecontrolEmployeequotaCreateModel" : {
  47256. "type" : "object",
  47257. "properties" : {
  47258. "account_id" : {
  47259. "type" : "string",
  47260. "description" : "共同账号ID",
  47261. "example" : "2088000194958956"
  47262. },
  47263. "agreement_no" : {
  47264. "type" : "string",
  47265. "description" : "授权签约协议号",
  47266. "example" : "20215425001112341234"
  47267. },
  47268. "effective_end_date" : {
  47269. "type" : "string",
  47270. "description" : "余额失效时间(默认有效期100年)",
  47271. "example" : "2021-10-01 00:00:00"
  47272. },
  47273. "effective_start_date" : {
  47274. "type" : "string",
  47275. "description" : "余额生效时间(默认当前时间)",
  47276. "example" : "2021-01-01 00:00:00"
  47277. },
  47278. "outer_source_id" : {
  47279. "type" : "string",
  47280. "description" : "外部操作幂等ID(接入方接口调用幂等控制ID)",
  47281. "example" : "TN00000000000001"
  47282. },
  47283. "owner_id" : {
  47284. "type" : "string",
  47285. "description" : "切换open_id前请使用:余额所属者ID\towner_type为员工时为员工支付宝ID",
  47286. "example" : "2088210888827370"
  47287. },
  47288. "owner_open_id" : {
  47289. "type" : "string",
  47290. "description" : "切换open_id后请使用:余额所属者ID owner_type为员工时为员工open_id",
  47291. "example" : "abcdxxxx"
  47292. },
  47293. "owner_type" : {
  47294. "type" : "string",
  47295. "description" : "余额所属者类型\tEMPLOYEE: 员工",
  47296. "example" : "EMPLOYEE"
  47297. },
  47298. "platform" : {
  47299. "type" : "string",
  47300. "description" : "外部平台编码(通常为接入方大写英文缩写)",
  47301. "example" : "RJ"
  47302. },
  47303. "quota_model" : {
  47304. "type" : "string",
  47305. "description" : "余额同步模式,默认 DEFAULT_STANDARD",
  47306. "example" : "DEFAULT_STANDARD"
  47307. },
  47308. "quota_value" : {
  47309. "type" : "string",
  47310. "description" : "余额,以(分)为单位\t特殊说明:余额不超过100000元",
  47311. "example" : "10"
  47312. }
  47313. }
  47314. },
  47315. "AlipayEbppInvoiceExpensecontrolEmployeequotaCreateResponseModel" : {
  47316. "type" : "object",
  47317. "properties" : {
  47318. "quota_id" : {
  47319. "type" : "string",
  47320. "description" : "新增的余额ID",
  47321. "example" : "2021062800152601350000001468"
  47322. }
  47323. }
  47324. },
  47325. "AlipayEbppInvoiceExpensecontrolIssuebatchCancelErrorResponseModel" : {
  47326. "required" : [ "code", "message" ],
  47327. "type" : "object",
  47328. "properties" : {
  47329. "code" : {
  47330. "type" : "string",
  47331. "description" : "错误码",
  47332. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ISSUE_BATCH_IS_INVALID", "ISSUE_BATCH_REVOKING", "ISSUE_BATCH_IN_PROGRESS", "PERMISSION_DENIED" ]
  47333. },
  47334. "links" : {
  47335. "type" : "string",
  47336. "description" : "解决方案链接"
  47337. },
  47338. "message" : {
  47339. "type" : "string",
  47340. "description" : "错误描述"
  47341. }
  47342. }
  47343. },
  47344. "AlipayEbppInvoiceExpensecontrolIssuebatchCancelModel" : {
  47345. "type" : "object",
  47346. "properties" : {
  47347. "account_id" : {
  47348. "type" : "string",
  47349. "description" : "共同账户id",
  47350. "example" : "2088000194958956"
  47351. },
  47352. "agreement_no" : {
  47353. "type" : "string",
  47354. "description" : "授权签约协议号",
  47355. "example" : "20215425001112341234"
  47356. },
  47357. "enterprise_id" : {
  47358. "type" : "string",
  47359. "description" : "企业ID",
  47360. "example" : "2088000194958956"
  47361. },
  47362. "institution_id" : {
  47363. "type" : "string",
  47364. "description" : "制度id",
  47365. "example" : "2022070500152608330000012007"
  47366. },
  47367. "issue_batch_id" : {
  47368. "type" : "string",
  47369. "description" : "发放批次id",
  47370. "example" : "2022062800152622440000009966"
  47371. }
  47372. }
  47373. },
  47374. "AlipayEbppInvoiceExpensecontrolIssuebatchCancelResponseModel" : {
  47375. "type" : "object",
  47376. "properties" : {
  47377. "result" : {
  47378. "type" : "boolean",
  47379. "description" : "是否成功",
  47380. "example" : "true"
  47381. }
  47382. }
  47383. },
  47384. "AlipayEbppInvoiceExpensecontrolIssuebatchCreateErrorResponseModel" : {
  47385. "required" : [ "code", "message" ],
  47386. "type" : "object",
  47387. "properties" : {
  47388. "code" : {
  47389. "type" : "string",
  47390. "description" : "错误码",
  47391. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ISSUE_NAME_DUPLICATE", "ISSUE_BATCH_NO_DUPLICATE", "EMPLOYEE_NOT_IN_INSTITUTION_SCOPE", "BUSINESS_VALIDATE_ERROR", "INSTITUTION_START_DATE_NOT_REACHED", "PERMISSION_DENIED", "INSTITUTION_IS_INVALID", "INSTITUTION_ACTIVE_DATE_NOT_REACHED" ]
  47392. },
  47393. "links" : {
  47394. "type" : "string",
  47395. "description" : "解决方案链接"
  47396. },
  47397. "message" : {
  47398. "type" : "string",
  47399. "description" : "错误描述"
  47400. }
  47401. }
  47402. },
  47403. "AlipayEbppInvoiceExpensecontrolIssuebatchCreateModel" : {
  47404. "type" : "object",
  47405. "properties" : {
  47406. "account_id" : {
  47407. "type" : "string",
  47408. "description" : "共同账户id",
  47409. "example" : "2088000194958956"
  47410. },
  47411. "agreement_no" : {
  47412. "type" : "string",
  47413. "description" : "授权签约协议号",
  47414. "example" : "20215425001112341234"
  47415. },
  47416. "batch_no" : {
  47417. "type" : "string",
  47418. "description" : "发放批次号,用于幂等校验本次发放",
  47419. "example" : "2022062800152622440000009966"
  47420. },
  47421. "effective_end_date" : {
  47422. "type" : "string",
  47423. "description" : "额度有效结束时间",
  47424. "example" : "2021-01-01 12:00:00"
  47425. },
  47426. "effective_start_date" : {
  47427. "type" : "string",
  47428. "description" : "额度有效起始时间",
  47429. "example" : "2021-01-01 12:00:00"
  47430. },
  47431. "enterprise_id" : {
  47432. "type" : "string",
  47433. "description" : "企业ID",
  47434. "example" : "2088000194958956"
  47435. },
  47436. "institution_id" : {
  47437. "type" : "string",
  47438. "description" : "制度id",
  47439. "example" : "2022052000152618690000000005"
  47440. },
  47441. "issue_desc" : {
  47442. "type" : "string",
  47443. "description" : "发放说明",
  47444. "example" : "发放餐补"
  47445. },
  47446. "issue_name" : {
  47447. "type" : "string",
  47448. "description" : "发放名称",
  47449. "example" : "发放餐补"
  47450. },
  47451. "issue_target_info_list" : {
  47452. "type" : "array",
  47453. "description" : "员工发放信息列表",
  47454. "items" : {
  47455. "$ref" : "#/components/schemas/IssueTargetInfoContent"
  47456. }
  47457. },
  47458. "quota_type" : {
  47459. "type" : "string",
  47460. "description" : "额度类型",
  47461. "example" : "COUPON"
  47462. },
  47463. "share_mode" : {
  47464. "type" : "string",
  47465. "description" : "是否可转赠",
  47466. "example" : "1"
  47467. }
  47468. }
  47469. },
  47470. "AlipayEbppInvoiceExpensecontrolIssuebatchCreateResponseModel" : {
  47471. "type" : "object",
  47472. "properties" : {
  47473. "issue_batch_id" : {
  47474. "type" : "string",
  47475. "description" : "发放批次id",
  47476. "example" : "2022070500152622690000017754"
  47477. },
  47478. "issue_quota_check_failed_list" : {
  47479. "type" : "array",
  47480. "description" : "校验失败的数据",
  47481. "items" : {
  47482. "$ref" : "#/components/schemas/IssueQuotaCheckInfo"
  47483. }
  47484. }
  47485. }
  47486. },
  47487. "AlipayEbppInvoiceExpensecontrolQuotaCreateErrorResponseModel" : {
  47488. "required" : [ "code", "message" ],
  47489. "type" : "object",
  47490. "properties" : {
  47491. "code" : {
  47492. "type" : "string",
  47493. "description" : "错误码",
  47494. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "QUOTA_EXISTS", "REQUEST_REPEAT" ]
  47495. },
  47496. "links" : {
  47497. "type" : "string",
  47498. "description" : "解决方案链接"
  47499. },
  47500. "message" : {
  47501. "type" : "string",
  47502. "description" : "错误描述"
  47503. }
  47504. }
  47505. },
  47506. "AlipayEbppInvoiceExpensecontrolQuotaCreateModel" : {
  47507. "type" : "object",
  47508. "properties" : {
  47509. "account_id" : {
  47510. "type" : "string",
  47511. "description" : "共同账号id",
  47512. "example" : "2088000194958956"
  47513. },
  47514. "agreement_no" : {
  47515. "type" : "string",
  47516. "description" : "授权签约协议号",
  47517. "example" : "20215425001112341234"
  47518. },
  47519. "effective_end_date" : {
  47520. "type" : "string",
  47521. "description" : "额度失效时间(格式:yyyy-MM-dd HH:mm:ss)",
  47522. "example" : "2021-10-01 00:00:00"
  47523. },
  47524. "effective_start_date" : {
  47525. "type" : "string",
  47526. "description" : "额度生效时间(格式:yyyy-MM-dd HH:mm:ss)",
  47527. "example" : "2021-01-01 00:00:00"
  47528. },
  47529. "enterprise_id" : {
  47530. "type" : "string",
  47531. "description" : "企业ID",
  47532. "example" : "2088000194958956"
  47533. },
  47534. "outer_source_id" : {
  47535. "type" : "string",
  47536. "description" : "外部操作幂等ID(接入方接口调用幂等控制ID)",
  47537. "example" : "TN00000000000001"
  47538. },
  47539. "owner_id" : {
  47540. "type" : "string",
  47541. "description" : "额度所属者ID(未切换open_id请使用此字段):",
  47542. "example" : "2088210888827370"
  47543. },
  47544. "owner_open_id" : {
  47545. "type" : "string",
  47546. "description" : "额度所属者ID(切换open_id后请使用此字段):",
  47547. "example" : "2088210888827370"
  47548. },
  47549. "owner_type" : {
  47550. "type" : "string",
  47551. "description" : "额度所属者类型",
  47552. "example" : "EMPLOYEE"
  47553. },
  47554. "platform" : {
  47555. "type" : "string",
  47556. "description" : "外部平台编码(通常为接入方大写英文缩写)",
  47557. "example" : "RJ"
  47558. },
  47559. "quota_type" : {
  47560. "type" : "string",
  47561. "description" : "创建额度类型",
  47562. "example" : "COUPON"
  47563. },
  47564. "quota_value" : {
  47565. "type" : "string",
  47566. "description" : "额度值,以(分)为单位",
  47567. "example" : "50"
  47568. },
  47569. "share_mode" : {
  47570. "type" : "string",
  47571. "description" : "0:不可转赠\t1:可以转增",
  47572. "example" : "0"
  47573. },
  47574. "target_id" : {
  47575. "type" : "string",
  47576. "description" : "额度维度ID",
  47577. "example" : "MEAL"
  47578. },
  47579. "target_type" : {
  47580. "type" : "string",
  47581. "description" : "额度维度\t枚举值:\tEXPENSE_TYPE(费用类型维度),\tRULE_GROUP_AGGREGATION(规则聚合维度),\tINSTITUTION(制度维度)",
  47582. "example" : "EXPENSE_TYPE"
  47583. }
  47584. }
  47585. },
  47586. "AlipayEbppInvoiceExpensecontrolQuotaCreateResponseModel" : {
  47587. "type" : "object",
  47588. "properties" : {
  47589. "quota_id" : {
  47590. "type" : "string",
  47591. "description" : "新增的额度ID",
  47592. "example" : "1234"
  47593. }
  47594. }
  47595. },
  47596. "AlipayEbppInvoiceExpensecontrolQuotaModifyErrorResponseModel" : {
  47597. "required" : [ "code", "message" ],
  47598. "type" : "object",
  47599. "properties" : {
  47600. "code" : {
  47601. "type" : "string",
  47602. "description" : "错误码",
  47603. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "QUOTA_LOCKED", "QUOTA_INSUFFICIENT", "QUOTA_NO_EXISTS", "REQUEST_REPEAT", "QUOTA_EXCEED", "QUOTA_TYPE_NOT_MODIFY", "QUOTA_USED" ]
  47604. },
  47605. "links" : {
  47606. "type" : "string",
  47607. "description" : "解决方案链接"
  47608. },
  47609. "message" : {
  47610. "type" : "string",
  47611. "description" : "错误描述"
  47612. }
  47613. }
  47614. },
  47615. "AlipayEbppInvoiceExpensecontrolQuotaModifyModel" : {
  47616. "type" : "object",
  47617. "properties" : {
  47618. "account_id" : {
  47619. "type" : "string",
  47620. "description" : "企业共同账户ID",
  47621. "example" : "2088000194958956"
  47622. },
  47623. "action" : {
  47624. "type" : "string",
  47625. "description" : "变更模式",
  47626. "example" : "ADD"
  47627. },
  47628. "agreement_no" : {
  47629. "type" : "string",
  47630. "description" : "授权签约协议号",
  47631. "example" : "20215425001112341234"
  47632. },
  47633. "amount" : {
  47634. "type" : "string",
  47635. "description" : "变更的金额/余额,以(分)为单位",
  47636. "example" : "10"
  47637. },
  47638. "enterprise_id" : {
  47639. "type" : "string",
  47640. "description" : "企业ID",
  47641. "example" : "2088000194958956"
  47642. },
  47643. "outer_source_id" : {
  47644. "type" : "string",
  47645. "description" : "外部操作幂等ID(接入方接口调用幂等控制ID)",
  47646. "example" : "TN00000000000001"
  47647. },
  47648. "platform" : {
  47649. "type" : "string",
  47650. "description" : "外部平台编码",
  47651. "example" : "RJ"
  47652. },
  47653. "quota_id" : {
  47654. "type" : "string",
  47655. "description" : "额度ID",
  47656. "example" : "2021062800152601350000001468"
  47657. }
  47658. }
  47659. },
  47660. "AlipayEbppInvoiceExpensecontrolQuotaModifyResponseModel" : {
  47661. "type" : "object",
  47662. "properties" : {
  47663. "success" : {
  47664. "type" : "boolean",
  47665. "description" : "是否成功",
  47666. "example" : "true"
  47667. }
  47668. }
  47669. },
  47670. "AlipayEbppInvoiceExpensecontrolQuotaQueryErrorResponseModel" : {
  47671. "required" : [ "code", "message" ],
  47672. "type" : "object",
  47673. "properties" : {
  47674. "code" : {
  47675. "type" : "string",
  47676. "description" : "错误码",
  47677. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
  47678. },
  47679. "links" : {
  47680. "type" : "string",
  47681. "description" : "解决方案链接"
  47682. },
  47683. "message" : {
  47684. "type" : "string",
  47685. "description" : "错误描述"
  47686. }
  47687. }
  47688. },
  47689. "AlipayEbppInvoiceExpensecontrolQuotaQueryModel" : {
  47690. "type" : "object",
  47691. "properties" : {
  47692. "account_id" : {
  47693. "type" : "string",
  47694. "description" : "企业共同账户ID",
  47695. "example" : "2088000194958956"
  47696. },
  47697. "agreement_no" : {
  47698. "type" : "string",
  47699. "description" : "授权签约协议号",
  47700. "example" : "20215425001112341234"
  47701. },
  47702. "enterprise_id" : {
  47703. "type" : "string",
  47704. "description" : "企业id",
  47705. "example" : "2088000194958956"
  47706. },
  47707. "owner_id" : {
  47708. "type" : "string",
  47709. "description" : "额度所属者ID",
  47710. "example" : "2088210888827370"
  47711. },
  47712. "owner_open_id" : {
  47713. "type" : "string",
  47714. "description" : "额度所属者开放ID",
  47715. "example" : "abcdxxxx"
  47716. },
  47717. "owner_type" : {
  47718. "type" : "string",
  47719. "description" : "额度所属者类型",
  47720. "example" : "EMPLOYEE"
  47721. },
  47722. "page_num" : {
  47723. "type" : "integer",
  47724. "description" : "页码",
  47725. "example" : "1"
  47726. },
  47727. "page_size" : {
  47728. "type" : "integer",
  47729. "description" : "每页条数",
  47730. "example" : "20"
  47731. },
  47732. "quota_id_list" : {
  47733. "type" : "array",
  47734. "description" : "额度ID列表",
  47735. "items" : {
  47736. "type" : "string"
  47737. },
  47738. "example" : "[\"2021062xxx\"]"
  47739. },
  47740. "target_id" : {
  47741. "type" : "string",
  47742. "description" : "额度维度ID",
  47743. "example" : "MEAL"
  47744. },
  47745. "target_type" : {
  47746. "type" : "string",
  47747. "description" : "额度维度",
  47748. "example" : "EXPENSE_TYPE"
  47749. }
  47750. }
  47751. },
  47752. "AlipayEbppInvoiceExpensecontrolQuotaQueryResponseModel" : {
  47753. "type" : "object",
  47754. "properties" : {
  47755. "expense_quota_info_list" : {
  47756. "type" : "array",
  47757. "description" : "额度列表",
  47758. "items" : {
  47759. "$ref" : "#/components/schemas/ExpenseQuotaInfo"
  47760. }
  47761. },
  47762. "page_num" : {
  47763. "type" : "integer",
  47764. "description" : "当前页数",
  47765. "example" : "1"
  47766. },
  47767. "page_size" : {
  47768. "type" : "integer",
  47769. "description" : "当前记录数",
  47770. "example" : "20"
  47771. },
  47772. "total_page_count" : {
  47773. "type" : "integer",
  47774. "description" : "总页数",
  47775. "example" : "5"
  47776. }
  47777. }
  47778. },
  47779. "AlipayEbppInvoiceExpenserulesEmployeeQueryErrorResponseModel" : {
  47780. "required" : [ "code", "message" ],
  47781. "type" : "object",
  47782. "properties" : {
  47783. "code" : {
  47784. "type" : "string",
  47785. "description" : "错误码",
  47786. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
  47787. },
  47788. "links" : {
  47789. "type" : "string",
  47790. "description" : "解决方案链接"
  47791. },
  47792. "message" : {
  47793. "type" : "string",
  47794. "description" : "错误描述"
  47795. }
  47796. }
  47797. },
  47798. "AlipayEbppInvoiceExpenserulesEmployeeQueryResponseModel" : {
  47799. "type" : "object",
  47800. "properties" : {
  47801. "employee_list" : {
  47802. "type" : "array",
  47803. "description" : "切换open_id前请使用此字段:员工列表",
  47804. "items" : {
  47805. "type" : "string"
  47806. },
  47807. "example" : "[\"2088402331504664\",\"2088402331504664\",\"2088402331504664\"]"
  47808. },
  47809. "employee_open_id_list" : {
  47810. "type" : "array",
  47811. "description" : "切换open_id后请使用此字段:员工open_id列表",
  47812. "items" : {
  47813. "type" : "string"
  47814. },
  47815. "example" : "[\"abcdxxxx\"]"
  47816. },
  47817. "page_num" : {
  47818. "type" : "integer",
  47819. "description" : "当前页数",
  47820. "example" : "1"
  47821. },
  47822. "page_size" : {
  47823. "type" : "integer",
  47824. "description" : "当前记录数",
  47825. "example" : "20"
  47826. },
  47827. "total_page_count" : {
  47828. "type" : "integer",
  47829. "description" : "总页数",
  47830. "example" : "100"
  47831. }
  47832. }
  47833. },
  47834. "AlipayEbppInvoiceExpenserulesEmployeerulesQueryErrorResponseModel" : {
  47835. "required" : [ "code", "message" ],
  47836. "type" : "object",
  47837. "properties" : {
  47838. "code" : {
  47839. "type" : "string",
  47840. "description" : "错误码",
  47841. "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "INVALID_PARAMETER" ]
  47842. },
  47843. "links" : {
  47844. "type" : "string",
  47845. "description" : "解决方案链接"
  47846. },
  47847. "message" : {
  47848. "type" : "string",
  47849. "description" : "错误描述"
  47850. }
  47851. }
  47852. },
  47853. "AlipayEbppInvoiceExpenserulesEmployeerulesQueryResponseModel" : {
  47854. "type" : "object",
  47855. "properties" : {
  47856. "employee_rules" : {
  47857. "type" : "array",
  47858. "description" : "员工已绑定费控规则列表",
  47859. "items" : {
  47860. "$ref" : "#/components/schemas/ExpenseCtrlEmployeeRuleInfo"
  47861. }
  47862. },
  47863. "page_num" : {
  47864. "type" : "integer",
  47865. "description" : "客户端输入的页码",
  47866. "example" : "1"
  47867. },
  47868. "page_size" : {
  47869. "type" : "integer",
  47870. "description" : "客户端输入的每页行数",
  47871. "example" : "20"
  47872. },
  47873. "total_count" : {
  47874. "type" : "integer",
  47875. "description" : "查询到的实例总数",
  47876. "example" : "100"
  47877. }
  47878. }
  47879. },
  47880. "AlipayEbppInvoiceExpenserulesGroupemployeeModifyErrorResponseModel" : {
  47881. "required" : [ "code", "message" ],
  47882. "type" : "object",
  47883. "properties" : {
  47884. "code" : {
  47885. "type" : "string",
  47886. "description" : "错误码",
  47887. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "GROUP_NOT_EXIST", "PERMISSION_DENIED", "EMPLOYEE_MAX_RULE_COUNT" ]
  47888. },
  47889. "links" : {
  47890. "type" : "string",
  47891. "description" : "解决方案链接"
  47892. },
  47893. "message" : {
  47894. "type" : "string",
  47895. "description" : "错误描述"
  47896. }
  47897. }
  47898. },
  47899. "AlipayEbppInvoiceExpenserulesGroupemployeeModifyModel" : {
  47900. "type" : "object",
  47901. "properties" : {
  47902. "account_id" : {
  47903. "type" : "string",
  47904. "description" : "企业共同账户id",
  47905. "example" : "2088000194958956"
  47906. },
  47907. "add_employee_list" : {
  47908. "type" : "array",
  47909. "description" : "未切换 open_id 时请使用此字段:\t需要添加的员工UID列表\t特殊说明:一次最多50个",
  47910. "items" : {
  47911. "type" : "string"
  47912. },
  47913. "example" : "[\"2088402266061144\",\"2088402266063146\"]"
  47914. },
  47915. "add_employee_open_id_list" : {
  47916. "type" : "array",
  47917. "description" : "切换 open_id 后请使用此字段:\t需要添加的open_id/企业码员工ID列表 特殊说明:一次最多50个",
  47918. "items" : {
  47919. "type" : "string"
  47920. },
  47921. "example" : "[\"abcdxxx\"]"
  47922. },
  47923. "agreement_no" : {
  47924. "type" : "string",
  47925. "description" : "授权签约协议号",
  47926. "example" : "20215425001112341234"
  47927. },
  47928. "enterprise_id" : {
  47929. "type" : "string",
  47930. "description" : "企业码企业id",
  47931. "example" : "2088000194958956"
  47932. },
  47933. "group_id_list" : {
  47934. "type" : "array",
  47935. "description" : "费控规则ID列表",
  47936. "items" : {
  47937. "type" : "string"
  47938. },
  47939. "example" : "[\"2021062800152601350000001466\"]"
  47940. },
  47941. "remove_employee_list" : {
  47942. "type" : "array",
  47943. "description" : "未切换 open_id 时请使用此字段:\t需要移除的员工UID列表\t特殊说明:一次最多50个",
  47944. "items" : {
  47945. "type" : "string"
  47946. },
  47947. "example" : "[\"2088402266062862\",\"2088402266060390\"]"
  47948. },
  47949. "remove_employee_open_id_list" : {
  47950. "type" : "array",
  47951. "description" : "切换 open_id 后请使用此字段:\t需要移除的open_id/企业码员工ID列表 特殊说明:一次最多50个",
  47952. "items" : {
  47953. "type" : "string"
  47954. },
  47955. "example" : "[\"abcdxxx\"]"
  47956. }
  47957. }
  47958. },
  47959. "AlipayEbppInvoiceExpenserulesGroupemployeeModifyResponseModel" : {
  47960. "type" : "object",
  47961. "properties" : {
  47962. "success" : {
  47963. "type" : "boolean",
  47964. "description" : "是否成功",
  47965. "example" : "true"
  47966. }
  47967. }
  47968. },
  47969. "AlipayEbppInvoiceExpenserulesProjectemployeeModifyErrorResponseModel" : {
  47970. "required" : [ "code", "message" ],
  47971. "type" : "object",
  47972. "properties" : {
  47973. "code" : {
  47974. "type" : "string",
  47975. "description" : "错误码",
  47976. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PROJECT_NOT_EXIST", "EMPLOYEE_RULE_CONFLICT", "PERMISSION_DENIED", "EMPLOYEE_MAX_RULE_COUNT" ]
  47977. },
  47978. "links" : {
  47979. "type" : "string",
  47980. "description" : "解决方案链接"
  47981. },
  47982. "message" : {
  47983. "type" : "string",
  47984. "description" : "错误描述"
  47985. }
  47986. }
  47987. },
  47988. "AlipayEbppInvoiceExpenserulesProjectemployeeModifyModel" : {
  47989. "type" : "object",
  47990. "properties" : {
  47991. "account_id" : {
  47992. "type" : "string",
  47993. "description" : "共同账户ID",
  47994. "example" : "2088000194958956"
  47995. },
  47996. "add_employee_list" : {
  47997. "type" : "array",
  47998. "description" : "切换open_id前使用此字段:\t需要添加的员工UID列表\t约束:一次最多50个",
  47999. "items" : {
  48000. "type" : "string"
  48001. },
  48002. "example" : "[\"2088402266061144\",\"2088402266063146\"]"
  48003. },
  48004. "add_employee_open_id_list" : {
  48005. "type" : "array",
  48006. "description" : "切换open_id后使用此字段:\t需要添加的员工open_id列表\t约束:一次最多50个",
  48007. "items" : {
  48008. "type" : "string"
  48009. },
  48010. "example" : "[\"abcdxxxx\"]"
  48011. },
  48012. "agreement_no" : {
  48013. "type" : "string",
  48014. "description" : "授权签约协议号",
  48015. "example" : "20215425001112341234"
  48016. },
  48017. "project_id" : {
  48018. "type" : "string",
  48019. "description" : "项目ID",
  48020. "example" : "2021040900152700950000000862"
  48021. },
  48022. "remove_employee_list" : {
  48023. "type" : "array",
  48024. "description" : "切换open_id前使用此字段:\t需要移除的员工UID列表\t约束:一次最多50个",
  48025. "items" : {
  48026. "type" : "string"
  48027. },
  48028. "example" : "[\"2088402266062862\",\"2088402266060390\"]"
  48029. },
  48030. "remove_employee_open_id_list" : {
  48031. "type" : "array",
  48032. "description" : "切换open_id后前使用此字段: 需要移除的员工open_id列表 约束:一次最多50个",
  48033. "items" : {
  48034. "type" : "string"
  48035. },
  48036. "example" : "[\"abcdxxxx\"]"
  48037. }
  48038. }
  48039. },
  48040. "AlipayEbppInvoiceExpenserulesProjectemployeeModifyResponseModel" : {
  48041. "type" : "object",
  48042. "properties" : {
  48043. "success" : {
  48044. "type" : "boolean",
  48045. "description" : "是否成功",
  48046. "example" : "true"
  48047. }
  48048. }
  48049. },
  48050. "AlipayEbppInvoiceExpenserulesProjectinfoModifyErrorResponseModel" : {
  48051. "required" : [ "code", "message" ],
  48052. "type" : "object",
  48053. "properties" : {
  48054. "code" : {
  48055. "type" : "string",
  48056. "description" : "错误码",
  48057. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "PROJECT_NOT_EXIST", "PROJECT_NAME_EXIST_ERROR" ]
  48058. },
  48059. "links" : {
  48060. "type" : "string",
  48061. "description" : "解决方案链接"
  48062. },
  48063. "message" : {
  48064. "type" : "string",
  48065. "description" : "错误描述"
  48066. }
  48067. }
  48068. },
  48069. "AlipayEbppInvoiceExpenserulesProjectinfoModifyModel" : {
  48070. "type" : "object",
  48071. "properties" : {
  48072. "account_id" : {
  48073. "type" : "string",
  48074. "description" : "企业ID",
  48075. "example" : "2088000166192438"
  48076. },
  48077. "agreement_no" : {
  48078. "type" : "string",
  48079. "description" : "授权签约协议号",
  48080. "example" : "20215425123412341234"
  48081. },
  48082. "effective_end_date" : {
  48083. "type" : "string",
  48084. "description" : "有效期截止(yyyy-MM-dd HH:mm:ss)\t特殊说明:\t1)与起始时间必须同时传,且大于起始时间\t2)不传则默认不修改",
  48085. "example" : "2021-04-30 23:59:59"
  48086. },
  48087. "effective_start_date" : {
  48088. "type" : "string",
  48089. "description" : "有效期起始(yyyy-MM-dd HH:mm:ss)\t特殊说明:\t1)与截止时间必须同时传,且小于截止时间\t2)不传入则默认不修改",
  48090. "example" : "2020-04-01 00:00:00"
  48091. },
  48092. "project_id" : {
  48093. "type" : "string",
  48094. "description" : "项目ID",
  48095. "example" : "2021041500152700430000004790"
  48096. },
  48097. "project_name" : {
  48098. "type" : "string",
  48099. "description" : "项目名\t特殊说明:不传入则默认不修改",
  48100. "example" : "修改项目名"
  48101. }
  48102. }
  48103. },
  48104. "AlipayEbppInvoiceExpenserulesProjectinfoModifyResponseModel" : {
  48105. "type" : "object",
  48106. "properties" : {
  48107. "success" : {
  48108. "type" : "boolean",
  48109. "description" : "是否成功",
  48110. "example" : "true"
  48111. }
  48112. }
  48113. },
  48114. "AlipayEbppInvoiceExpenserulesProjectruleCreateErrorResponseModel" : {
  48115. "required" : [ "code", "message" ],
  48116. "type" : "object",
  48117. "properties" : {
  48118. "code" : {
  48119. "type" : "string",
  48120. "description" : "错误码",
  48121. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "EMPLOYEE_LIST_ERROR", "PROJECT_NAME_EXIST_ERROR", "EMPLOYEE_CNT_LIMIT_ERROR", "EMPLOYEE_RULE_CONFLICT", "EXPENSE_RULE_CREATE_FAIL", "GROUP_NAME_EXIST", "EMPLOYEE_MAX_RULE_COUNT" ]
  48122. },
  48123. "links" : {
  48124. "type" : "string",
  48125. "description" : "解决方案链接"
  48126. },
  48127. "message" : {
  48128. "type" : "string",
  48129. "description" : "错误描述"
  48130. }
  48131. }
  48132. },
  48133. "AlipayEbppInvoiceExpenserulesProjectruleCreateModel" : {
  48134. "type" : "object",
  48135. "properties" : {
  48136. "account_id" : {
  48137. "type" : "string",
  48138. "description" : "共同账户id",
  48139. "example" : "2088000194958956"
  48140. },
  48141. "agreement_no" : {
  48142. "type" : "string",
  48143. "description" : "授权签约协议号",
  48144. "example" : "20215425001112341234"
  48145. },
  48146. "effective_end_date" : {
  48147. "type" : "string",
  48148. "description" : "有效期截止(yyyy-MM-dd HH:mm:ss,必须大于起始时间)",
  48149. "example" : "2021-03-01 00:00:00"
  48150. },
  48151. "effective_start_date" : {
  48152. "type" : "string",
  48153. "description" : "有效期起始(yyyy-MM-dd HH:mm:ss,必须小于截止时间)",
  48154. "example" : "2021-03-01 00:00:00"
  48155. },
  48156. "employee_list" : {
  48157. "type" : "array",
  48158. "description" : "切换open_id前使用此字段:员工支付宝ID列表\t特殊说明:单次传入的最大员工数为50,后续通过修改项目的员工列表接口进行员工调整",
  48159. "items" : {
  48160. "type" : "string"
  48161. },
  48162. "example" : "[\"2088123412341234\",\"2088123412342234\"]"
  48163. },
  48164. "employee_open_id_list" : {
  48165. "type" : "array",
  48166. "description" : "切换open_id后使用此字段:员工open_id列表 特殊说明:单次传入的最大员工数为50,后续通过修改项目的员工列表接口进行员工调整",
  48167. "items" : {
  48168. "type" : "string"
  48169. },
  48170. "example" : "[\"abcdxxxx\"]"
  48171. },
  48172. "expense_ctrl_rule_info_group_list" : {
  48173. "type" : "array",
  48174. "description" : "费控规则列表",
  48175. "items" : {
  48176. "$ref" : "#/components/schemas/ExpenseCtrRuleGroupInfo"
  48177. }
  48178. },
  48179. "project_name" : {
  48180. "type" : "string",
  48181. "description" : "项目名称\t约束:\t1)敏感词校验\t2)不能重复",
  48182. "example" : "项目"
  48183. }
  48184. }
  48185. },
  48186. "AlipayEbppInvoiceExpenserulesProjectruleCreateResponseModel" : {
  48187. "type" : "object",
  48188. "properties" : {
  48189. "project_id" : {
  48190. "type" : "string",
  48191. "description" : "项目ID",
  48192. "example" : "2021070700152700030000000681"
  48193. }
  48194. }
  48195. },
  48196. "AlipayEbppInvoiceExpenserulesProjectruleQueryErrorResponseModel" : {
  48197. "required" : [ "code", "message" ],
  48198. "type" : "object",
  48199. "properties" : {
  48200. "code" : {
  48201. "type" : "string",
  48202. "description" : "错误码",
  48203. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "PROJECT_NOT_EXIST_ERROR" ]
  48204. },
  48205. "links" : {
  48206. "type" : "string",
  48207. "description" : "解决方案链接"
  48208. },
  48209. "message" : {
  48210. "type" : "string",
  48211. "description" : "错误描述"
  48212. }
  48213. }
  48214. },
  48215. "AlipayEbppInvoiceExpenserulesProjectruleQueryResponseModel" : {
  48216. "type" : "object",
  48217. "properties" : {
  48218. "page_num" : {
  48219. "type" : "string",
  48220. "description" : "当前页数",
  48221. "example" : "1"
  48222. },
  48223. "page_size" : {
  48224. "type" : "string",
  48225. "description" : "当前记录数",
  48226. "example" : "10"
  48227. },
  48228. "project_rule_info_list" : {
  48229. "type" : "array",
  48230. "description" : "项目规则列表",
  48231. "items" : {
  48232. "$ref" : "#/components/schemas/ProjectRuleInfo"
  48233. }
  48234. },
  48235. "total_count" : {
  48236. "type" : "string",
  48237. "description" : "总记录数",
  48238. "example" : "50"
  48239. },
  48240. "total_page_count" : {
  48241. "type" : "string",
  48242. "description" : "总页数",
  48243. "example" : "1"
  48244. }
  48245. }
  48246. },
  48247. "AlipayEbppInvoiceExpenserulesProjectrulesModifyErrorResponseModel" : {
  48248. "required" : [ "code", "message" ],
  48249. "type" : "object",
  48250. "properties" : {
  48251. "code" : {
  48252. "type" : "string",
  48253. "description" : "错误码",
  48254. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "PROJECT_NOT_EXIST" ]
  48255. },
  48256. "links" : {
  48257. "type" : "string",
  48258. "description" : "解决方案链接"
  48259. },
  48260. "message" : {
  48261. "type" : "string",
  48262. "description" : "错误描述"
  48263. }
  48264. }
  48265. },
  48266. "AlipayEbppInvoiceExpenserulesProjectrulesModifyModel" : {
  48267. "type" : "object",
  48268. "properties" : {
  48269. "account_id" : {
  48270. "type" : "string",
  48271. "description" : "企业ID",
  48272. "example" : "2088000194958956"
  48273. },
  48274. "action" : {
  48275. "type" : "string",
  48276. "description" : "修改操作\t枚举值:MODIFY_RULE(修改费控条件),仅支持MODIFY_RULE",
  48277. "example" : "MODIFY_RULE"
  48278. },
  48279. "agreement_no" : {
  48280. "type" : "string",
  48281. "description" : "授权签约协议号",
  48282. "example" : "20215425001112341234"
  48283. },
  48284. "expense_ctrl_rule_info_group_list" : {
  48285. "type" : "array",
  48286. "description" : "费控规则列表",
  48287. "items" : {
  48288. "$ref" : "#/components/schemas/ExpenseCtrRuleGroupInfo"
  48289. }
  48290. },
  48291. "project_id" : {
  48292. "type" : "string",
  48293. "description" : "项目ID",
  48294. "example" : "2021041300152700950000001050"
  48295. }
  48296. }
  48297. },
  48298. "AlipayEbppInvoiceExpenserulesProjectrulesModifyResponseModel" : {
  48299. "type" : "object",
  48300. "properties" : {
  48301. "success" : {
  48302. "type" : "string",
  48303. "description" : "是否成功",
  48304. "example" : "true"
  48305. }
  48306. }
  48307. },
  48308. "AlipayEbppInvoiceExpenserulesSceneruleCreateErrorResponseModel" : {
  48309. "required" : [ "code", "message" ],
  48310. "type" : "object",
  48311. "properties" : {
  48312. "code" : {
  48313. "type" : "string",
  48314. "description" : "错误码",
  48315. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "STANDARD_NAME_EXIST_ERROR", "EMPLOYEE_CNT_LIMIT_ERROR", "EXPENSE_RULE_CREATE_FAIL", "EMPLOYEE_MAX_RULE_COUNT" ]
  48316. },
  48317. "links" : {
  48318. "type" : "string",
  48319. "description" : "解决方案链接"
  48320. },
  48321. "message" : {
  48322. "type" : "string",
  48323. "description" : "错误描述"
  48324. }
  48325. }
  48326. },
  48327. "AlipayEbppInvoiceExpenserulesSceneruleCreateModel" : {
  48328. "type" : "object",
  48329. "properties" : {
  48330. "account_id" : {
  48331. "type" : "string",
  48332. "description" : "共同账号ID",
  48333. "example" : "2088000194958956"
  48334. },
  48335. "agreement_no" : {
  48336. "type" : "string",
  48337. "description" : "授权签约协议号",
  48338. "example" : "20215425001112341234"
  48339. },
  48340. "effective_end_date" : {
  48341. "type" : "string",
  48342. "description" : "有效期截止",
  48343. "example" : "2021-08-27 00:00:00"
  48344. },
  48345. "effective_start_date" : {
  48346. "type" : "string",
  48347. "description" : "有效期起始",
  48348. "example" : "2021-08-26 00:00:00"
  48349. },
  48350. "employee_list" : {
  48351. "type" : "array",
  48352. "description" : "切换open_id前请使用:员工支付宝uid列表\t特殊说明:单次传入的最大员工数为50,后续通过修改费控规则员工接口进行员工调整",
  48353. "items" : {
  48354. "type" : "string"
  48355. },
  48356. "example" : "[\"2088210888827370\"]"
  48357. },
  48358. "employee_open_id_list" : {
  48359. "type" : "array",
  48360. "description" : "切换open_id后请使用:员工open_id/企业码员工ID列表 特殊说明:单次传入的最大员工数为50,后续通过修改费控规则员工接口进行员工调整",
  48361. "items" : {
  48362. "type" : "string"
  48363. },
  48364. "example" : "[\"abcdxxxx\"]"
  48365. },
  48366. "enterprise_id" : {
  48367. "type" : "string",
  48368. "description" : "企业码企业id",
  48369. "example" : "2088000194958956"
  48370. },
  48371. "expense_ctrl_rule_info_list" : {
  48372. "type" : "array",
  48373. "description" : "费控条件列表\t特殊说明:\t1)至少存在日额度(QUOTA_DAY)、月额度(QUOTA_MONTH)、有效期总额度(QUOTA_TOTAL)三者中的一个额度条件;\t2)如果费用类型为MEAL,费控维度商户(MEAL_MERCHANT)和商户类型(MCC)对应的费控条件必须存在其一且不能同时存在;\t3)如果费用类型为METRO,费控维度地铁卡类型(CARD_TYPE)对应的费控条件必须存在;\t4)如果因公场景为OVERTIME,费控维度时间段(ALARM_CLOCK_TIME)对应的费控条件必须存在;\t5)不能存在重复的费控维度对应的费控条件;\t6)非MEAL费用类型,商户仅支持MERCHANT,不支持MEAL_MERCHANT",
  48374. "items" : {
  48375. "$ref" : "#/components/schemas/ExpenseCtrRuleInfo"
  48376. }
  48377. },
  48378. "expense_type" : {
  48379. "type" : "string",
  48380. "description" : "费用类型\t枚举值:MEAL(餐饮),METRO(地铁)",
  48381. "example" : "MEAL"
  48382. },
  48383. "payment_policy" : {
  48384. "type" : "string",
  48385. "description" : "当笔消费金额大于规则可用余额时,用于控制支付策略,该字段缺省时采取因公账户和个人账户组合支付策略, 枚举值:PERSONAL(全部个人账户支付), COMBINATION(因公账户和个人账户组合支付)",
  48386. "example" : "PERSONAL"
  48387. },
  48388. "scene_type" : {
  48389. "type" : "string",
  48390. "description" : "因公场景\t枚举值:OVERTIME(加班),SUBSIDY(补贴福利),TRAVEL(差旅)",
  48391. "example" : "OVERTIME"
  48392. },
  48393. "standard_desc" : {
  48394. "type" : "string",
  48395. "description" : "费控规则说明\t特殊说明:敏感词校验",
  48396. "example" : "福利餐费控规则说明"
  48397. },
  48398. "standard_name" : {
  48399. "type" : "string",
  48400. "description" : "费控规则名称\t特殊说明:\t1)敏感词校验\t2)不能重复,若需要重复联系支持人员定向放开",
  48401. "example" : "福利餐费控规则"
  48402. }
  48403. }
  48404. },
  48405. "AlipayEbppInvoiceExpenserulesSceneruleCreateResponseModel" : {
  48406. "type" : "object",
  48407. "properties" : {
  48408. "standard_id" : {
  48409. "type" : "string",
  48410. "description" : "费控规则ID",
  48411. "example" : "2021091000152601200000006167"
  48412. }
  48413. }
  48414. },
  48415. "AlipayEbppInvoiceExpenserulesSceneruleModifyErrorResponseModel" : {
  48416. "required" : [ "code", "message" ],
  48417. "type" : "object",
  48418. "properties" : {
  48419. "code" : {
  48420. "type" : "string",
  48421. "description" : "错误码",
  48422. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "STANDARD_EXIST_ERROR", "STANDARD_NAME_EXIST_ERROR", "EXPENSE_RULE_CREATE_FAIL" ]
  48423. },
  48424. "links" : {
  48425. "type" : "string",
  48426. "description" : "解决方案链接"
  48427. },
  48428. "message" : {
  48429. "type" : "string",
  48430. "description" : "错误描述"
  48431. }
  48432. }
  48433. },
  48434. "AlipayEbppInvoiceExpenserulesSceneruleModifyModel" : {
  48435. "type" : "object",
  48436. "properties" : {
  48437. "account_id" : {
  48438. "type" : "string",
  48439. "description" : "企业ID",
  48440. "example" : "2088000194958956"
  48441. },
  48442. "action" : {
  48443. "type" : "string",
  48444. "description" : "修改操作\t枚举值:\tADD_RULE(新增费控条件),DELETE_RULE(删除费控条件),MODIFY_RULE(修改费控条件),MODIFY_STANDARD(修改费控规则基本信息)",
  48445. "example" : "ADD_RULE"
  48446. },
  48447. "agreement_no" : {
  48448. "type" : "string",
  48449. "description" : "授权签约协议号",
  48450. "example" : "20215425001112341234"
  48451. },
  48452. "effective_end_date" : {
  48453. "type" : "string",
  48454. "description" : "有效期截止\t特殊说明:修改费控规则基本信息时必传",
  48455. "example" : "2021-08-27 00:00:00"
  48456. },
  48457. "effective_start_date" : {
  48458. "type" : "string",
  48459. "description" : "有效期起始\t特殊说明:修改费控规则基本信息时必传",
  48460. "example" : "2021-08-26 00:00:00"
  48461. },
  48462. "enterprise_id" : {
  48463. "type" : "string",
  48464. "description" : "企业码企业id",
  48465. "example" : "2088000194958956"
  48466. },
  48467. "expense_ctrl_rule_info_list" : {
  48468. "type" : "array",
  48469. "description" : "费控规则条件列表 特殊说明:新增费控条件/修改费控条件/删除费控条件操作时必填",
  48470. "items" : {
  48471. "$ref" : "#/components/schemas/ExpenseCtrRuleInfo"
  48472. }
  48473. },
  48474. "payment_policy" : {
  48475. "type" : "string",
  48476. "description" : "当笔消费金额大于规则可用余额时,用于控制支付策略,该字段缺省时采取因公账户和个人账户组合支付策略, 枚举值:PERSONAL(全部个人账户支付), COMBINATION(因公账户和个人账户组合支付)",
  48477. "example" : "PERSONAL"
  48478. },
  48479. "standard_desc" : {
  48480. "type" : "string",
  48481. "description" : "费控规则说明\t特殊说明:\t1)敏感词校验\t2)修改费控规则基本信息时必传",
  48482. "example" : "费控规则说明"
  48483. },
  48484. "standard_id" : {
  48485. "type" : "string",
  48486. "description" : "费控规则ID",
  48487. "example" : "2021062800152601350000001466"
  48488. },
  48489. "standard_name" : {
  48490. "type" : "string",
  48491. "description" : "费控规则名称\t特殊说明:\t1)敏感词校验\t2)修改费控规则基本信息时必传\t3)不能重复,若需要重复联系支持人员定向放开",
  48492. "example" : "费控规则名称"
  48493. }
  48494. }
  48495. },
  48496. "AlipayEbppInvoiceExpenserulesSceneruleModifyResponseModel" : {
  48497. "type" : "object",
  48498. "properties" : {
  48499. "success" : {
  48500. "type" : "boolean",
  48501. "description" : "是否成功",
  48502. "example" : "true"
  48503. }
  48504. }
  48505. },
  48506. "AlipayEbppInvoiceExpenserulesSceneruleQueryErrorResponseModel" : {
  48507. "required" : [ "code", "message" ],
  48508. "type" : "object",
  48509. "properties" : {
  48510. "code" : {
  48511. "type" : "string",
  48512. "description" : "错误码",
  48513. "enum" : [ "PARAMETER_ILLEGAL", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
  48514. },
  48515. "links" : {
  48516. "type" : "string",
  48517. "description" : "解决方案链接"
  48518. },
  48519. "message" : {
  48520. "type" : "string",
  48521. "description" : "错误描述"
  48522. }
  48523. }
  48524. },
  48525. "AlipayEbppInvoiceExpenserulesSceneruleQueryResponseModel" : {
  48526. "type" : "object",
  48527. "properties" : {
  48528. "page_num" : {
  48529. "type" : "integer",
  48530. "description" : "当前页数",
  48531. "example" : "1"
  48532. },
  48533. "page_size" : {
  48534. "type" : "integer",
  48535. "description" : "当前记录数",
  48536. "example" : "10"
  48537. },
  48538. "standard_rule_info_list" : {
  48539. "type" : "array",
  48540. "description" : "费控规则列表",
  48541. "items" : {
  48542. "$ref" : "#/components/schemas/StandardRuleInfo"
  48543. }
  48544. },
  48545. "total_page_count" : {
  48546. "type" : "integer",
  48547. "description" : "总页数",
  48548. "example" : "10"
  48549. }
  48550. }
  48551. },
  48552. "AlipayEbppInvoiceExpensesceneMerchantQueryErrorResponseModel" : {
  48553. "required" : [ "code", "message" ],
  48554. "type" : "object",
  48555. "properties" : {
  48556. "code" : {
  48557. "type" : "string",
  48558. "description" : "错误码",
  48559. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "PARAMETER_ILLEGAL" ]
  48560. },
  48561. "links" : {
  48562. "type" : "string",
  48563. "description" : "解决方案链接"
  48564. },
  48565. "message" : {
  48566. "type" : "string",
  48567. "description" : "错误描述"
  48568. }
  48569. }
  48570. },
  48571. "AlipayEbppInvoiceExpensesceneMerchantQueryResponseModel" : {
  48572. "type" : "object",
  48573. "properties" : {
  48574. "expense_merchant_info_list" : {
  48575. "type" : "array",
  48576. "description" : "商户信息",
  48577. "items" : {
  48578. "$ref" : "#/components/schemas/ExpenseMerchantInfo"
  48579. }
  48580. },
  48581. "page_num" : {
  48582. "type" : "integer",
  48583. "description" : "当前页数",
  48584. "example" : "1"
  48585. },
  48586. "page_size" : {
  48587. "type" : "integer",
  48588. "description" : "当前记录数",
  48589. "example" : "20"
  48590. },
  48591. "total_page_count" : {
  48592. "type" : "integer",
  48593. "description" : "总页数",
  48594. "example" : "3"
  48595. }
  48596. }
  48597. },
  48598. "AlipayEbppInvoiceFileOutputQueryErrorResponseModel" : {
  48599. "required" : [ "code", "message" ],
  48600. "type" : "object",
  48601. "properties" : {
  48602. "code" : {
  48603. "type" : "string",
  48604. "description" : "错误码",
  48605. "enum" : [ "INVOICE_NOT_EXIST", "INVOICE_QUERY_DENY", "SYSTEM_ERROR", "PARAMETER_ILLEGAL", "PDF_NOT_EXIST", "QUERY_TAX_NO_NOT_EQUAL_CERTIFY_NO" ]
  48606. },
  48607. "links" : {
  48608. "type" : "string",
  48609. "description" : "解决方案链接"
  48610. },
  48611. "message" : {
  48612. "type" : "string",
  48613. "description" : "错误描述"
  48614. }
  48615. }
  48616. },
  48617. "AlipayEbppInvoiceFileOutputQueryResponseModel" : {
  48618. "type" : "object",
  48619. "properties" : {
  48620. "file_type" : {
  48621. "type" : "string",
  48622. "description" : "发票文件类型pdf或ofd",
  48623. "example" : "pdf"
  48624. },
  48625. "invoice_file_content" : {
  48626. "type" : "string",
  48627. "description" : "发票文件内容,需要先base64解码,获取原始byte[]类型文件流",
  48628. "example" : "SEWHBFR2GKMBJNY52JBM56N"
  48629. }
  48630. }
  48631. },
  48632. "AlipayEbppInvoiceInfoSendErrorResponseModel" : {
  48633. "required" : [ "code", "message" ],
  48634. "type" : "object",
  48635. "properties" : {
  48636. "code" : {
  48637. "type" : "string",
  48638. "description" : "错误码",
  48639. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "MERCHANT_NOT_SUPPORT", "BIZ_ERROR", "RECORD_ALREADY_EXIST", "INVOICE_INFOSEC_CHECK_FAIL", "COLLECTION_NON_USER" ]
  48640. },
  48641. "links" : {
  48642. "type" : "string",
  48643. "description" : "解决方案链接"
  48644. },
  48645. "message" : {
  48646. "type" : "string",
  48647. "description" : "错误描述"
  48648. }
  48649. }
  48650. },
  48651. "AlipayEbppInvoiceInfoSendModel" : {
  48652. "type" : "object",
  48653. "properties" : {
  48654. "invoice_info_list" : {
  48655. "type" : "array",
  48656. "description" : "发票信息列表",
  48657. "items" : {
  48658. "$ref" : "#/components/schemas/InvoiceSendOpenModel"
  48659. }
  48660. },
  48661. "m_short_name" : {
  48662. "type" : "string",
  48663. "description" : "开票商户品牌简称,与商户入驻时的品牌简称保持一致。",
  48664. "example" : "XSD"
  48665. },
  48666. "sub_m_short_name" : {
  48667. "type" : "string",
  48668. "description" : "开票商户球房简称,与商户入驻时的球房简称保持一致。",
  48669. "example" : "XSD_HL"
  48670. }
  48671. }
  48672. },
  48673. "AlipayEbppInvoiceInfoSendResponseModel" : {
  48674. "type" : "object",
  48675. "properties" : {
  48676. "url" : {
  48677. "type" : "string",
  48678. "description" : "发票访问地址,同步红票的情况下不返回该字段,同步蓝票的情况下如果同步单张发票,返回发票详情链接地址,如果同步的是多张发票,返回发票列表地址",
  48679. "example" : "alipays://platformapi/startapp?appId=20000920&url=%2Fwww%2Flist.htm%3Ffrom%3Doffline"
  48680. }
  48681. }
  48682. },
  48683. "AlipayEbppInvoiceInstitutionCreateErrorResponseModel" : {
  48684. "required" : [ "code", "message" ],
  48685. "type" : "object",
  48686. "properties" : {
  48687. "code" : {
  48688. "type" : "string",
  48689. "description" : "错误码",
  48690. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_CREATE_FAIL", "ENTERPRISE_SYNC_EXTERIOR_EXCEPTION" ]
  48691. },
  48692. "links" : {
  48693. "type" : "string",
  48694. "description" : "解决方案链接"
  48695. },
  48696. "message" : {
  48697. "type" : "string",
  48698. "description" : "错误描述"
  48699. }
  48700. }
  48701. },
  48702. "AlipayEbppInvoiceInstitutionCreateModel" : {
  48703. "type" : "object",
  48704. "properties" : {
  48705. "account_id" : {
  48706. "type" : "string",
  48707. "description" : "企业共同账户id",
  48708. "example" : "2088000194958956"
  48709. },
  48710. "agreement_no" : {
  48711. "type" : "string",
  48712. "description" : "授权签约协议号",
  48713. "example" : "20225415889003553"
  48714. },
  48715. "consult_mode" : {
  48716. "type" : "string",
  48717. "description" : "费控咨询模式,默认为0。",
  48718. "example" : "0"
  48719. },
  48720. "effective_end_date" : {
  48721. "type" : "string",
  48722. "description" : "制度生效结束时间",
  48723. "example" : "2022-09-30 23:59:59"
  48724. },
  48725. "effective_start_date" : {
  48726. "type" : "string",
  48727. "description" : "制度生效起始时间",
  48728. "example" : "2022-09-10 00:00:00"
  48729. },
  48730. "enterprise_id" : {
  48731. "type" : "string",
  48732. "description" : "企业id",
  48733. "example" : "2088123412341234"
  48734. },
  48735. "expense_type" : {
  48736. "type" : "string",
  48737. "description" : "费用类型",
  48738. "example" : "MEAL"
  48739. },
  48740. "institution_desc" : {
  48741. "type" : "string",
  48742. "description" : "制度描述",
  48743. "example" : "餐补制度"
  48744. },
  48745. "institution_name" : {
  48746. "type" : "string",
  48747. "description" : "制度名称",
  48748. "example" : "费用制度"
  48749. },
  48750. "issue_rule_info_list" : {
  48751. "type" : "array",
  48752. "description" : "发放规则列表",
  48753. "items" : {
  48754. "$ref" : "#/components/schemas/IssueRuleInfo"
  48755. }
  48756. },
  48757. "scene_type" : {
  48758. "type" : "string",
  48759. "description" : "因公场景",
  48760. "example" : "OVERTIME"
  48761. },
  48762. "standard_info_list" : {
  48763. "type" : "array",
  48764. "description" : "使用规则列表",
  48765. "items" : {
  48766. "$ref" : "#/components/schemas/StandardInfo"
  48767. }
  48768. }
  48769. }
  48770. },
  48771. "AlipayEbppInvoiceInstitutionCreateResponseModel" : {
  48772. "type" : "object",
  48773. "properties" : {
  48774. "institution_id" : {
  48775. "type" : "string",
  48776. "description" : "制度id",
  48777. "example" : "2022031000152617000000000001"
  48778. },
  48779. "issue_rule_id_info_list" : {
  48780. "type" : "array",
  48781. "description" : "发放规则id列表",
  48782. "items" : {
  48783. "$ref" : "#/components/schemas/IssueRuleIdInfo"
  48784. }
  48785. },
  48786. "standard_id_info_list" : {
  48787. "type" : "array",
  48788. "description" : "使用规则id列表",
  48789. "items" : {
  48790. "$ref" : "#/components/schemas/StandardIdInfo"
  48791. }
  48792. }
  48793. }
  48794. },
  48795. "AlipayEbppInvoiceInstitutionDeleteErrorResponseModel" : {
  48796. "required" : [ "code", "message" ],
  48797. "type" : "object",
  48798. "properties" : {
  48799. "code" : {
  48800. "type" : "string",
  48801. "description" : "错误码",
  48802. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_NOT_EXIST_ERROR", "INSTITUTION_DELETE_FAIL" ]
  48803. },
  48804. "links" : {
  48805. "type" : "string",
  48806. "description" : "解决方案链接"
  48807. },
  48808. "message" : {
  48809. "type" : "string",
  48810. "description" : "错误描述"
  48811. }
  48812. }
  48813. },
  48814. "AlipayEbppInvoiceInstitutionDeleteResponseModel" : {
  48815. "type" : "object",
  48816. "properties" : {
  48817. "result" : {
  48818. "type" : "boolean",
  48819. "description" : "删除结果是否成功",
  48820. "example" : "true"
  48821. }
  48822. }
  48823. },
  48824. "AlipayEbppInvoiceInstitutionDetailinfoQueryErrorResponseModel" : {
  48825. "required" : [ "code", "message" ],
  48826. "type" : "object",
  48827. "properties" : {
  48828. "code" : {
  48829. "type" : "string",
  48830. "description" : "错误码",
  48831. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_NOT_EXIST_ERROR" ]
  48832. },
  48833. "links" : {
  48834. "type" : "string",
  48835. "description" : "解决方案链接"
  48836. },
  48837. "message" : {
  48838. "type" : "string",
  48839. "description" : "错误描述"
  48840. }
  48841. }
  48842. },
  48843. "AlipayEbppInvoiceInstitutionDetailinfoQueryResponseModel" : {
  48844. "type" : "object",
  48845. "properties" : {
  48846. "consult_mode" : {
  48847. "type" : "string",
  48848. "description" : "费控咨询模式",
  48849. "example" : "0"
  48850. },
  48851. "effective" : {
  48852. "type" : "string",
  48853. "description" : "制度启用停用状态",
  48854. "example" : "0"
  48855. },
  48856. "effective_end_date" : {
  48857. "type" : "string",
  48858. "description" : "制度生效结束时间",
  48859. "example" : "2001-01-01 23:59:59"
  48860. },
  48861. "effective_start_date" : {
  48862. "type" : "string",
  48863. "description" : "制度生效起始时间",
  48864. "example" : "2000-01-01 00:00:00"
  48865. },
  48866. "expense_type" : {
  48867. "type" : "string",
  48868. "description" : "费用类型",
  48869. "example" : "MEAL"
  48870. },
  48871. "institution_desc" : {
  48872. "type" : "string",
  48873. "description" : "制度描述",
  48874. "example" : "工作餐制度"
  48875. },
  48876. "institution_id" : {
  48877. "type" : "string",
  48878. "description" : "制度id",
  48879. "example" : "2023042600152617860000076700"
  48880. },
  48881. "institution_name" : {
  48882. "type" : "string",
  48883. "description" : "制度名称",
  48884. "example" : "餐补制度"
  48885. },
  48886. "issue_rule_info_list" : {
  48887. "type" : "array",
  48888. "description" : "发放规则信息列表",
  48889. "items" : {
  48890. "$ref" : "#/components/schemas/IssueRuleInfo"
  48891. }
  48892. },
  48893. "scene_type" : {
  48894. "type" : "string",
  48895. "description" : "因公场景",
  48896. "example" : "OVERTIME"
  48897. },
  48898. "standard_info_detail_list" : {
  48899. "type" : "array",
  48900. "description" : "使用规则列表",
  48901. "items" : {
  48902. "$ref" : "#/components/schemas/StandardInfo"
  48903. }
  48904. },
  48905. "standard_info_list" : {
  48906. "$ref" : "#/components/schemas/StandardInfo"
  48907. }
  48908. }
  48909. },
  48910. "AlipayEbppInvoiceInstitutionExpenseruleCreateErrorResponseModel" : {
  48911. "required" : [ "code", "message" ],
  48912. "type" : "object",
  48913. "properties" : {
  48914. "code" : {
  48915. "type" : "string",
  48916. "description" : "错误码",
  48917. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_NOT_EXIST_ERROR", "BIND_INVOICE_RULE_FAILED" ]
  48918. },
  48919. "links" : {
  48920. "type" : "string",
  48921. "description" : "解决方案链接"
  48922. },
  48923. "message" : {
  48924. "type" : "string",
  48925. "description" : "错误描述"
  48926. }
  48927. }
  48928. },
  48929. "AlipayEbppInvoiceInstitutionExpenseruleCreateModel" : {
  48930. "type" : "object",
  48931. "properties" : {
  48932. "account_id" : {
  48933. "type" : "string",
  48934. "description" : "企业共同账户id,和授权签约协议号共同使用。",
  48935. "example" : "2088000194958956"
  48936. },
  48937. "agreement_no" : {
  48938. "type" : "string",
  48939. "description" : "授权签约协议号,可通过签约消息获取。配合企业共同账户id使用,当填写企业共同账户id时,此字段必填。",
  48940. "example" : "20215425001112341234"
  48941. },
  48942. "consume_mode" : {
  48943. "type" : "string",
  48944. "description" : "消费模式,该使用规则支持消费的资产类型,不填为默认模式,默认模式为优先消费余额,没有余额则根据规则中设置的限额控制消费金额",
  48945. "example" : "DEFAULT"
  48946. },
  48947. "enterprise_id" : {
  48948. "type" : "string",
  48949. "description" : "企业码id",
  48950. "example" : "2088000194958956"
  48951. },
  48952. "expense_ctrl_rule_info_list" : {
  48953. "$ref" : "#/components/schemas/ExpenseCtrRuleInfo"
  48954. },
  48955. "expense_type_sub_category" : {
  48956. "type" : "string",
  48957. "description" : "费用类型子类,当制度的费用类型为MEAL时,支持到店、外卖;当费用类型为非MEAL时,与费用类型保持一致",
  48958. "example" : "TAKE_AWAY"
  48959. },
  48960. "institution_id" : {
  48961. "type" : "string",
  48962. "description" : "制度id",
  48963. "example" : "2022051900152617290000002725"
  48964. },
  48965. "open_rule_id" : {
  48966. "type" : "string",
  48967. "description" : "开票规则id,若使用途径是外卖的使用规则需要开票,需要在创建使用规则时关联开票规则,后续变更关联开票规则不生效",
  48968. "example" : "2022070600152721390000011371"
  48969. },
  48970. "payment_policy" : {
  48971. "type" : "string",
  48972. "description" : "当笔消费金额大于规则可用余额时,用于控制支付策略,该字段缺省时采取因公账户和个人账户组合支付策略",
  48973. "example" : "COMBINATION"
  48974. },
  48975. "standard_condition_info_list" : {
  48976. "type" : "array",
  48977. "description" : "使用规则条件列表",
  48978. "items" : {
  48979. "$ref" : "#/components/schemas/StandardConditionInfo"
  48980. }
  48981. },
  48982. "standard_desc" : {
  48983. "type" : "string",
  48984. "description" : "使用规则描述(敏感词校验)",
  48985. "example" : "福利餐说明"
  48986. },
  48987. "standard_name" : {
  48988. "type" : "string",
  48989. "description" : "费控规则名称 特殊说明: 1)敏感词校验",
  48990. "example" : "福利餐费控规则"
  48991. }
  48992. }
  48993. },
  48994. "AlipayEbppInvoiceInstitutionExpenseruleCreateResponseModel" : {
  48995. "type" : "object",
  48996. "properties" : {
  48997. "standard_id" : {
  48998. "type" : "string",
  48999. "description" : "使用规则id",
  49000. "example" : "2022070600152617780000000001"
  49001. }
  49002. }
  49003. },
  49004. "AlipayEbppInvoiceInstitutionExpenseruleDeleteErrorResponseModel" : {
  49005. "required" : [ "code", "message" ],
  49006. "type" : "object",
  49007. "properties" : {
  49008. "code" : {
  49009. "type" : "string",
  49010. "description" : "错误码",
  49011. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_NOT_EXIST_ERROR" ]
  49012. },
  49013. "links" : {
  49014. "type" : "string",
  49015. "description" : "解决方案链接"
  49016. },
  49017. "message" : {
  49018. "type" : "string",
  49019. "description" : "错误描述"
  49020. }
  49021. }
  49022. },
  49023. "AlipayEbppInvoiceInstitutionExpenseruleDeleteModel" : {
  49024. "type" : "object",
  49025. "properties" : {
  49026. "account_id" : {
  49027. "type" : "string",
  49028. "description" : "企业共同账户id",
  49029. "example" : "2088000194958956"
  49030. },
  49031. "agreement_no" : {
  49032. "type" : "string",
  49033. "description" : "授权签约协议号",
  49034. "example" : "20215425001112341234"
  49035. },
  49036. "enterprise_id" : {
  49037. "type" : "string",
  49038. "description" : "企业id",
  49039. "example" : "2088000194958956"
  49040. },
  49041. "institution_id" : {
  49042. "type" : "string",
  49043. "description" : "制度id",
  49044. "example" : "2022070600152617780000000001"
  49045. },
  49046. "standard_id_list" : {
  49047. "type" : "array",
  49048. "description" : "删除的使用规则id列表",
  49049. "items" : {
  49050. "type" : "string"
  49051. },
  49052. "example" : "[\"2021062800152601350000001468\"]"
  49053. }
  49054. }
  49055. },
  49056. "AlipayEbppInvoiceInstitutionExpenseruleDeleteResponseModel" : {
  49057. "type" : "object",
  49058. "properties" : {
  49059. "result" : {
  49060. "type" : "boolean",
  49061. "description" : "删除是否成功",
  49062. "example" : "true"
  49063. }
  49064. }
  49065. },
  49066. "AlipayEbppInvoiceInstitutionExpenseruleModifyErrorResponseModel" : {
  49067. "required" : [ "code", "message" ],
  49068. "type" : "object",
  49069. "properties" : {
  49070. "code" : {
  49071. "type" : "string",
  49072. "description" : "错误码",
  49073. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_NOT_EXIST_ERROR", "EXPENSE_RULE_MODIFY_FAIL", "BIND_INVOICE_RULE_FAILED", "STANDARD_NOT_EXIST_ERROR" ]
  49074. },
  49075. "links" : {
  49076. "type" : "string",
  49077. "description" : "解决方案链接"
  49078. },
  49079. "message" : {
  49080. "type" : "string",
  49081. "description" : "错误描述"
  49082. }
  49083. }
  49084. },
  49085. "AlipayEbppInvoiceInstitutionExpenseruleModifyModel" : {
  49086. "type" : "object",
  49087. "properties" : {
  49088. "account_id" : {
  49089. "type" : "string",
  49090. "description" : "企业共同账户id",
  49091. "example" : "2088000194958956"
  49092. },
  49093. "action" : {
  49094. "type" : "string",
  49095. "description" : "修改使用规则",
  49096. "example" : "MODIFY_BASIC_INFO"
  49097. },
  49098. "agreement_no" : {
  49099. "type" : "string",
  49100. "description" : "授权签约协议号",
  49101. "example" : "20215425001112341234"
  49102. },
  49103. "asset_share_source_info" : {
  49104. "$ref" : "#/components/schemas/AssetShareSourceInfo"
  49105. },
  49106. "consume_mode" : {
  49107. "type" : "string",
  49108. "description" : "该使用规则支持的资产消费模式,不填写则为默认模式,默认模式下有余额时使用余额,没有余额则使用规则中的限额,点券模式为只能使用点券,点券+余额模式为可以使用点券和余额。",
  49109. "example" : "DEFAULT"
  49110. },
  49111. "enterprise_id" : {
  49112. "type" : "string",
  49113. "description" : "企业id",
  49114. "example" : "2088000194958956"
  49115. },
  49116. "expense_ctrl_rule_info_list" : {
  49117. "type" : "array",
  49118. "description" : "使用规则条件列表(已废弃)",
  49119. "items" : {
  49120. "$ref" : "#/components/schemas/ExpenseCtrRuleInfo"
  49121. }
  49122. },
  49123. "institution_id" : {
  49124. "type" : "string",
  49125. "description" : "制度id",
  49126. "example" : "2022070600152617780000000001"
  49127. },
  49128. "open_rule_id" : {
  49129. "type" : "string",
  49130. "description" : "开票规则id",
  49131. "example" : "2022070600152608780000000001"
  49132. },
  49133. "payment_policy" : {
  49134. "type" : "string",
  49135. "description" : "当笔消费金额大于规则可用余额时,用于控制支付策略",
  49136. "example" : "COMBINATION"
  49137. },
  49138. "standard_condition_info_list" : {
  49139. "type" : "array",
  49140. "description" : "规则条件列表",
  49141. "items" : {
  49142. "$ref" : "#/components/schemas/StandardConditionInfo"
  49143. }
  49144. },
  49145. "standard_desc" : {
  49146. "type" : "string",
  49147. "description" : "规则描述",
  49148. "example" : "当前规则为午餐餐补规则"
  49149. },
  49150. "standard_id" : {
  49151. "type" : "string",
  49152. "description" : "使用规则id",
  49153. "example" : "2022070600152621780000000001"
  49154. },
  49155. "standard_name" : {
  49156. "type" : "string",
  49157. "description" : "规则名称",
  49158. "example" : "午餐规则"
  49159. }
  49160. }
  49161. },
  49162. "AlipayEbppInvoiceInstitutionExpenseruleModifyResponseModel" : {
  49163. "type" : "object",
  49164. "properties" : {
  49165. "result" : {
  49166. "type" : "boolean",
  49167. "description" : "编辑结果是否成功",
  49168. "example" : "true"
  49169. }
  49170. }
  49171. },
  49172. "AlipayEbppInvoiceInstitutionModifyErrorResponseModel" : {
  49173. "required" : [ "code", "message" ],
  49174. "type" : "object",
  49175. "properties" : {
  49176. "code" : {
  49177. "type" : "string",
  49178. "description" : "错误码",
  49179. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_NOT_EXIST_ERROR", "INSTITUTION_MODIFY_FAIL", "MODIFY_CONSULT_FAILED_ISSUE", "MODIFY_CONSULT_FAILED_CONSUME" ]
  49180. },
  49181. "links" : {
  49182. "type" : "string",
  49183. "description" : "解决方案链接"
  49184. },
  49185. "message" : {
  49186. "type" : "string",
  49187. "description" : "错误描述"
  49188. }
  49189. }
  49190. },
  49191. "AlipayEbppInvoiceInstitutionModifyModel" : {
  49192. "type" : "object",
  49193. "properties" : {
  49194. "account_id" : {
  49195. "type" : "string",
  49196. "description" : "企业共同账户id",
  49197. "example" : "2088000194958956"
  49198. },
  49199. "agreement_no" : {
  49200. "type" : "string",
  49201. "description" : "授权签约协议号",
  49202. "example" : "20215425001181407500"
  49203. },
  49204. "consult_mode" : {
  49205. "type" : "string",
  49206. "description" : "费控咨询模式:\t0-支付宝内部计算规则可用金额\t1-咨询外部服务商规则可用金额",
  49207. "example" : "0"
  49208. },
  49209. "effective" : {
  49210. "type" : "string",
  49211. "description" : "制度是否启用",
  49212. "example" : "0"
  49213. },
  49214. "effective_end_date" : {
  49215. "type" : "string",
  49216. "description" : "制度生效结束时间(可空),最小粒度为天,最早是当日",
  49217. "example" : "2022-09-30 23:59:59"
  49218. },
  49219. "effective_start_date" : {
  49220. "type" : "string",
  49221. "description" : "制度生效起始时间",
  49222. "example" : "2022-09-10 00:00:00"
  49223. },
  49224. "enterprise_id" : {
  49225. "type" : "string",
  49226. "description" : "企业id",
  49227. "example" : "2088123412341234"
  49228. },
  49229. "institution_desc" : {
  49230. "type" : "string",
  49231. "description" : "制度描述",
  49232. "example" : "餐补制度"
  49233. },
  49234. "institution_id" : {
  49235. "type" : "string",
  49236. "description" : "制度id",
  49237. "example" : "2022031000152617000000000001"
  49238. },
  49239. "institution_name" : {
  49240. "type" : "string",
  49241. "description" : "制度名称",
  49242. "example" : "费用制度"
  49243. }
  49244. }
  49245. },
  49246. "AlipayEbppInvoiceInstitutionModifyResponseModel" : {
  49247. "type" : "object",
  49248. "properties" : {
  49249. "result" : {
  49250. "type" : "boolean",
  49251. "description" : "修改是否成功",
  49252. "example" : "true"
  49253. }
  49254. }
  49255. },
  49256. "AlipayEbppInvoiceInstitutionPageinfoQueryErrorResponseModel" : {
  49257. "required" : [ "code", "message" ],
  49258. "type" : "object",
  49259. "properties" : {
  49260. "code" : {
  49261. "type" : "string",
  49262. "description" : "错误码",
  49263. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
  49264. },
  49265. "links" : {
  49266. "type" : "string",
  49267. "description" : "解决方案链接"
  49268. },
  49269. "message" : {
  49270. "type" : "string",
  49271. "description" : "错误描述"
  49272. }
  49273. }
  49274. },
  49275. "AlipayEbppInvoiceInstitutionPageinfoQueryResponseModel" : {
  49276. "type" : "object",
  49277. "properties" : {
  49278. "institution_basic_info_list" : {
  49279. "type" : "array",
  49280. "description" : "制度基本信息列表",
  49281. "items" : {
  49282. "$ref" : "#/components/schemas/InstitutionBasicInfo"
  49283. }
  49284. },
  49285. "page_num" : {
  49286. "type" : "string",
  49287. "description" : "页码",
  49288. "example" : "10"
  49289. },
  49290. "page_size" : {
  49291. "type" : "integer",
  49292. "description" : "页大小",
  49293. "example" : "10"
  49294. },
  49295. "total_page_count" : {
  49296. "type" : "integer",
  49297. "description" : "总页数",
  49298. "example" : "10"
  49299. }
  49300. }
  49301. },
  49302. "AlipayEbppInvoiceInstitutionScopeModifyErrorResponseModel" : {
  49303. "required" : [ "code", "message" ],
  49304. "type" : "object",
  49305. "properties" : {
  49306. "code" : {
  49307. "type" : "string",
  49308. "description" : "错误码",
  49309. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
  49310. },
  49311. "links" : {
  49312. "type" : "string",
  49313. "description" : "解决方案链接"
  49314. },
  49315. "message" : {
  49316. "type" : "string",
  49317. "description" : "错误描述"
  49318. }
  49319. }
  49320. },
  49321. "AlipayEbppInvoiceInstitutionScopeModifyModel" : {
  49322. "type" : "object",
  49323. "properties" : {
  49324. "account_id" : {
  49325. "type" : "string",
  49326. "description" : "企业共同账户id",
  49327. "example" : "2088000194958956"
  49328. },
  49329. "adapter_type" : {
  49330. "type" : "string",
  49331. "description" : "制度适用范围类型",
  49332. "example" : "EMPLOYEE_SELECT"
  49333. },
  49334. "add_owner_id_list" : {
  49335. "type" : "array",
  49336. "description" : "增加适配id列表",
  49337. "items" : {
  49338. "type" : "string"
  49339. },
  49340. "example" : "[\"2088402266061144\",\"2088402266063146\"]"
  49341. },
  49342. "add_owner_open_id_list" : {
  49343. "type" : "array",
  49344. "description" : "增加适配开放id列表",
  49345. "items" : {
  49346. "type" : "string"
  49347. },
  49348. "example" : "[\"abcdxxxx\"]"
  49349. },
  49350. "agreement_no" : {
  49351. "type" : "string",
  49352. "description" : "授权签约协议号",
  49353. "example" : "20215425001112341234"
  49354. },
  49355. "enterprise_id" : {
  49356. "type" : "string",
  49357. "description" : "企业id",
  49358. "example" : "2088000194958956"
  49359. },
  49360. "institution_id" : {
  49361. "type" : "string",
  49362. "description" : "制度id",
  49363. "example" : "2022072800152617760000002797"
  49364. },
  49365. "owner_type" : {
  49366. "type" : "string",
  49367. "description" : "归属类型",
  49368. "example" : "ENTERPRISE_PAY_UID"
  49369. },
  49370. "remove_owner_id_list" : {
  49371. "type" : "array",
  49372. "description" : "删除适配id列表",
  49373. "items" : {
  49374. "type" : "string"
  49375. },
  49376. "example" : "[\"2088402266062862\",\"2088402266060390\"]"
  49377. },
  49378. "remove_owner_open_id_list" : {
  49379. "type" : "array",
  49380. "description" : "删除适配开放id列表",
  49381. "items" : {
  49382. "type" : "string"
  49383. },
  49384. "example" : "[\"abcdxxxx\"]"
  49385. }
  49386. }
  49387. },
  49388. "AlipayEbppInvoiceInstitutionScopeModifyResponseModel" : {
  49389. "type" : "object",
  49390. "properties" : {
  49391. "result" : {
  49392. "type" : "boolean",
  49393. "description" : "操作是否成功",
  49394. "example" : "true"
  49395. }
  49396. }
  49397. },
  49398. "AlipayEbppInvoiceInstitutionScopepageinfoQueryErrorResponseModel" : {
  49399. "required" : [ "code", "message" ],
  49400. "type" : "object",
  49401. "properties" : {
  49402. "code" : {
  49403. "type" : "string",
  49404. "description" : "错误码",
  49405. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_NOT_EXIST_ERROR" ]
  49406. },
  49407. "links" : {
  49408. "type" : "string",
  49409. "description" : "解决方案链接"
  49410. },
  49411. "message" : {
  49412. "type" : "string",
  49413. "description" : "错误描述"
  49414. }
  49415. }
  49416. },
  49417. "AlipayEbppInvoiceInstitutionScopepageinfoQueryResponseModel" : {
  49418. "type" : "object",
  49419. "properties" : {
  49420. "adapter_type" : {
  49421. "type" : "string",
  49422. "description" : "制度适用范围类型",
  49423. "example" : "EMPLOYEE_ALL"
  49424. },
  49425. "onwer_open_id_list" : {
  49426. "type" : "array",
  49427. "description" : "适配开放id列表",
  49428. "items" : {
  49429. "type" : "string"
  49430. },
  49431. "example" : "[\"asdfxxxx\"]"
  49432. },
  49433. "owner_id_list" : {
  49434. "type" : "array",
  49435. "description" : "适配id列表",
  49436. "items" : {
  49437. "type" : "string"
  49438. },
  49439. "example" : "[\"2288078000164693\"]"
  49440. },
  49441. "page_num" : {
  49442. "type" : "integer",
  49443. "description" : "页码",
  49444. "example" : "10"
  49445. },
  49446. "page_size" : {
  49447. "type" : "integer",
  49448. "description" : "页大小",
  49449. "example" : "100"
  49450. },
  49451. "total_page_count" : {
  49452. "type" : "integer",
  49453. "description" : "总页数",
  49454. "example" : "100"
  49455. }
  49456. }
  49457. },
  49458. "AlipayEbppInvoiceIssueruleCreateErrorResponseModel" : {
  49459. "required" : [ "code", "message" ],
  49460. "type" : "object",
  49461. "properties" : {
  49462. "code" : {
  49463. "type" : "string",
  49464. "description" : "错误码",
  49465. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "SENSITIVE_CHECK_FAIL" ]
  49466. },
  49467. "links" : {
  49468. "type" : "string",
  49469. "description" : "解决方案链接"
  49470. },
  49471. "message" : {
  49472. "type" : "string",
  49473. "description" : "错误描述"
  49474. }
  49475. }
  49476. },
  49477. "AlipayEbppInvoiceIssueruleCreateModel" : {
  49478. "type" : "object",
  49479. "properties" : {
  49480. "account_id" : {
  49481. "type" : "string",
  49482. "description" : "共同账户id",
  49483. "example" : "2088000194958956"
  49484. },
  49485. "agreement_no" : {
  49486. "type" : "string",
  49487. "description" : "授权签约协议号",
  49488. "example" : "20215425001112341234"
  49489. },
  49490. "effective" : {
  49491. "type" : "string",
  49492. "description" : "是否启用,\"0\"为停用,\"1\"为启用;\t如果target_type指定INSTITUTION,则与制度一致,无需填写",
  49493. "example" : "1"
  49494. },
  49495. "effective_period" : {
  49496. "type" : "string",
  49497. "description" : "生效周期,时间不限格式:\"{\\\"all\\\":true}\"",
  49498. "example" : "{\\\"all\\\":true}"
  49499. },
  49500. "enterprise_id" : {
  49501. "type" : "string",
  49502. "description" : "企业ID",
  49503. "example" : "2088000194958956"
  49504. },
  49505. "invalid_mode" : {
  49506. "type" : "integer",
  49507. "description" : "是否可累计,枚举:0(不可累计)、1(可累计),2(累计天数)、3(累计到指定日期)余额只允许可累计,按城市发放只允许不可累计,设置了生效周期只允许不可累计",
  49508. "example" : "0"
  49509. },
  49510. "invalid_mode_value" : {
  49511. "type" : "string",
  49512. "description" : "累计值(预留字段)",
  49513. "example" : "预留"
  49514. },
  49515. "issue_amount_value" : {
  49516. "type" : "string",
  49517. "description" : "发放金额;\t按城市不同发放标准示例值:\"[{\\\"cities\\\":[\\\"321000\\\",\\\"321100\\\"],\\\"amount\\\":\\\"50\\\"},{\\\"cities\\\":[\\\"321200\\\",\\\"321300\\\"],\\\"amount\\\":\\\"150\\\"}]\"\t统一标准发放示例值:\"200\"",
  49518. "example" : "200"
  49519. },
  49520. "issue_end_date" : {
  49521. "type" : "string",
  49522. "description" : "发放规则的截止时间\t如果target_type指定INSTITUTION,则使用制度有效期结束时间,无需填写",
  49523. "example" : "2021-01-01 12:00:00"
  49524. },
  49525. "issue_rule_name" : {
  49526. "type" : "string",
  49527. "description" : "发放规则名称",
  49528. "example" : "晚餐发放"
  49529. },
  49530. "issue_start_date" : {
  49531. "type" : "string",
  49532. "description" : "发放规则的开始时间\t如果target_type指定INSTITUTION,则使用制度有效期起始时间,无需填写",
  49533. "example" : "2021-01-01 12:00:00"
  49534. },
  49535. "issue_type" : {
  49536. "type" : "string",
  49537. "description" : "发放类型",
  49538. "example" : "ISSUE_MONTH"
  49539. },
  49540. "quota_type" : {
  49541. "type" : "string",
  49542. "description" : "额度类型,枚举:COUPON(点券)、CAP(余额)、ISV(外算额度)",
  49543. "example" : "COUPON"
  49544. },
  49545. "share_mode" : {
  49546. "type" : "integer",
  49547. "description" : "是否可转赠,枚举:0(不可转赠)、1(可转赠)",
  49548. "example" : "0"
  49549. },
  49550. "target_id" : {
  49551. "type" : "string",
  49552. "description" : "发放规则关联的目标值\ttarget_type为制度时:制度id",
  49553. "example" : "2022052000152618690000000005"
  49554. },
  49555. "target_type" : {
  49556. "type" : "string",
  49557. "description" : "发放规则关联的目标类型,枚举值:INSTITUTION(制度)",
  49558. "example" : "INSTITUTION"
  49559. }
  49560. }
  49561. },
  49562. "AlipayEbppInvoiceIssueruleCreateResponseModel" : {
  49563. "type" : "object",
  49564. "properties" : {
  49565. "issue_rule_id" : {
  49566. "type" : "string",
  49567. "description" : "创建的发放规则ID",
  49568. "example" : "2022070500152622690000017754"
  49569. }
  49570. }
  49571. },
  49572. "AlipayEbppInvoiceIssueruleDeleteErrorResponseModel" : {
  49573. "required" : [ "code", "message" ],
  49574. "type" : "object",
  49575. "properties" : {
  49576. "code" : {
  49577. "type" : "string",
  49578. "description" : "错误码",
  49579. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
  49580. },
  49581. "links" : {
  49582. "type" : "string",
  49583. "description" : "解决方案链接"
  49584. },
  49585. "message" : {
  49586. "type" : "string",
  49587. "description" : "错误描述"
  49588. }
  49589. }
  49590. },
  49591. "AlipayEbppInvoiceIssueruleDeleteModel" : {
  49592. "type" : "object",
  49593. "properties" : {
  49594. "account_id" : {
  49595. "type" : "string",
  49596. "description" : "共同账户id",
  49597. "example" : "2088000194958956"
  49598. },
  49599. "agreement_no" : {
  49600. "type" : "string",
  49601. "description" : "授权签约协议号",
  49602. "example" : "20215425001112341234"
  49603. },
  49604. "enterprise_id" : {
  49605. "type" : "string",
  49606. "description" : "企业ID",
  49607. "example" : "2088000194958956"
  49608. },
  49609. "issue_rule_id_list" : {
  49610. "type" : "array",
  49611. "description" : "需要删除的发放规则id列表",
  49612. "items" : {
  49613. "type" : "string"
  49614. },
  49615. "example" : "[\"2022052000152618690000000005\"]"
  49616. },
  49617. "target_id" : {
  49618. "type" : "string",
  49619. "description" : "目标值id",
  49620. "example" : "2022052000152618690000000005"
  49621. },
  49622. "target_type" : {
  49623. "type" : "string",
  49624. "description" : "发放规则关联的目标类型",
  49625. "example" : "INSTITUTION"
  49626. }
  49627. }
  49628. },
  49629. "AlipayEbppInvoiceIssueruleDeleteResponseModel" : {
  49630. "type" : "object",
  49631. "properties" : {
  49632. "result" : {
  49633. "type" : "boolean",
  49634. "description" : "删除结果",
  49635. "example" : "true"
  49636. }
  49637. }
  49638. },
  49639. "AlipayEbppInvoiceIssueruleModifyErrorResponseModel" : {
  49640. "required" : [ "code", "message" ],
  49641. "type" : "object",
  49642. "properties" : {
  49643. "code" : {
  49644. "type" : "string",
  49645. "description" : "错误码",
  49646. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "SENSITIVE_CHECK_FAIL" ]
  49647. },
  49648. "links" : {
  49649. "type" : "string",
  49650. "description" : "解决方案链接"
  49651. },
  49652. "message" : {
  49653. "type" : "string",
  49654. "description" : "错误描述"
  49655. }
  49656. }
  49657. },
  49658. "AlipayEbppInvoiceIssueruleModifyModel" : {
  49659. "type" : "object",
  49660. "properties" : {
  49661. "account_id" : {
  49662. "type" : "string",
  49663. "description" : "共同账户id",
  49664. "example" : "2088000194958956"
  49665. },
  49666. "action" : {
  49667. "type" : "string",
  49668. "description" : "修改类型,枚举:\tMODIFY_BASIC_INFO(修改发放规则基本信息)",
  49669. "example" : "MODIFY_BASIC_INFO"
  49670. },
  49671. "agreement_no" : {
  49672. "type" : "string",
  49673. "description" : "授权签约协议号",
  49674. "example" : "20215425001112341234"
  49675. },
  49676. "effective" : {
  49677. "type" : "string",
  49678. "description" : "是否启用,\"0\"为停用,\"1\"为启用;",
  49679. "example" : "1"
  49680. },
  49681. "effective_period" : {
  49682. "type" : "string",
  49683. "description" : "生效周期(不传则不修改),不限:\"{\\\"all\\\":true}\"",
  49684. "example" : "{\\\"all\\\":true}"
  49685. },
  49686. "enterprise_id" : {
  49687. "type" : "string",
  49688. "description" : "企业ID",
  49689. "example" : "2088000194958956"
  49690. },
  49691. "invalid_mode" : {
  49692. "type" : "integer",
  49693. "description" : "是否可累计(不传则不修改),枚举:0(不可累计)、1(可累计),2(累计天数),3(累计到固定时间)",
  49694. "example" : "0"
  49695. },
  49696. "invalid_mode_value" : {
  49697. "type" : "string",
  49698. "description" : "累计值",
  49699. "example" : "10"
  49700. },
  49701. "issue_amount_value" : {
  49702. "type" : "string",
  49703. "description" : "发放金额(不传则不修改)",
  49704. "example" : "200"
  49705. },
  49706. "issue_end_date" : {
  49707. "type" : "string",
  49708. "description" : "发放规则的截止时间",
  49709. "example" : "2021-01-01 12:00:00"
  49710. },
  49711. "issue_rule_id" : {
  49712. "type" : "string",
  49713. "description" : "发放规则id",
  49714. "example" : "2022052000152618690000000005"
  49715. },
  49716. "issue_rule_name" : {
  49717. "type" : "string",
  49718. "description" : "发放规则名称(不传则不修改)",
  49719. "example" : "晚餐发放"
  49720. },
  49721. "issue_start_date" : {
  49722. "type" : "string",
  49723. "description" : "发放规则的开始时间",
  49724. "example" : "2021-01-01 12:00:00"
  49725. },
  49726. "issue_type" : {
  49727. "type" : "string",
  49728. "description" : "发放类型",
  49729. "example" : "ISSUE_MONTH"
  49730. },
  49731. "quota_type" : {
  49732. "type" : "string",
  49733. "description" : "额度类型",
  49734. "example" : "COUPON"
  49735. },
  49736. "share_mode" : {
  49737. "type" : "integer",
  49738. "description" : "是否可转赠(不传则不修改),枚举:0(不可转赠)、1(可转赠),默认为0,余额不支持可转赠,按城市发放不支持可转赠",
  49739. "example" : "0"
  49740. },
  49741. "target_id" : {
  49742. "type" : "string",
  49743. "description" : "发放规则关联的目标值 target_type为制度时:制度id",
  49744. "example" : "2022052000152618690000000005"
  49745. },
  49746. "target_type" : {
  49747. "type" : "string",
  49748. "description" : "发放规则关联的目标类型,枚举值:INSTITUTION(制度)",
  49749. "example" : "INSTITUTION"
  49750. }
  49751. }
  49752. },
  49753. "AlipayEbppInvoiceIssueruleModifyResponseModel" : {
  49754. "type" : "object",
  49755. "properties" : {
  49756. "result" : {
  49757. "type" : "boolean",
  49758. "description" : "修改结果",
  49759. "example" : "true"
  49760. }
  49761. }
  49762. },
  49763. "AlipayEbppInvoiceIsvtokenReimApplyErrorResponseModel" : {
  49764. "required" : [ "code", "message" ],
  49765. "type" : "object",
  49766. "properties" : {
  49767. "code" : {
  49768. "type" : "string",
  49769. "description" : "错误码",
  49770. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  49771. },
  49772. "links" : {
  49773. "type" : "string",
  49774. "description" : "解决方案链接"
  49775. },
  49776. "message" : {
  49777. "type" : "string",
  49778. "description" : "错误描述"
  49779. }
  49780. }
  49781. },
  49782. "AlipayEbppInvoiceIsvtokenReimApplyModel" : {
  49783. "type" : "object",
  49784. "properties" : {
  49785. "isv_app_code" : {
  49786. "type" : "string",
  49787. "description" : "报销软件app对应的isv app code,由支付宝进行分配。详情参见 <a href=\"https://opendocs.alipay.com/open/017fwh\">\"推\"模式发票报销</a>",
  49788. "example" : "ekuaibao_tinyapp"
  49789. }
  49790. }
  49791. },
  49792. "AlipayEbppInvoiceIsvtokenReimApplyResponseModel" : {
  49793. "type" : "object",
  49794. "properties" : {
  49795. "isv_token" : {
  49796. "type" : "string",
  49797. "description" : "支付宝分配给报销软件的授权token,当前设置有效时间为20分钟",
  49798. "example" : "9232d035c6b547f8a2023a399b1e8fe2"
  49799. },
  49800. "serial_no" : {
  49801. "type" : "string",
  49802. "description" : "该次请求的唯一标志,当前设置有效时间为20分钟",
  49803. "example" : "1730d660f1d"
  49804. }
  49805. }
  49806. },
  49807. "AlipayEbppInvoiceListExpenseSyncErrorResponseModel" : {
  49808. "required" : [ "code", "message" ],
  49809. "type" : "object",
  49810. "properties" : {
  49811. "code" : {
  49812. "type" : "string",
  49813. "description" : "错误码",
  49814. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "EXPENSE_INVOICE_DETAIL_URL_CHECK", "PERMISSION_DENIED", "EXPENSE_NOT_REACH_PROCESSING", "EXPENSE_BUSINESS_TIME_ERROR", "INVOICE_HAVE_PROCESSING_EXPENSE", "EXPENSE_APPLY_ID_REPEAT", "INVOICE_HAVE_EXPENSE", "INVOICE_HAVE_CANCLE", "INVOICE_NOT_EXIST", "INVOICE_EXPENSE_STATUS_REPEAT", "EXPENSE_ORDER_NO_DISAGREE", "QUERY_TAX_NO_NOT_EQUAL_CERTIFY_NO" ]
  49815. },
  49816. "links" : {
  49817. "type" : "string",
  49818. "description" : "解决方案链接"
  49819. },
  49820. "message" : {
  49821. "type" : "string",
  49822. "description" : "错误描述"
  49823. }
  49824. }
  49825. },
  49826. "AlipayEbppInvoiceListExpenseSyncModel" : {
  49827. "type" : "object",
  49828. "properties" : {
  49829. "business_time" : {
  49830. "type" : "string",
  49831. "description" : "报销进度变更时间",
  49832. "example" : "2017-08-14 10:10:00"
  49833. },
  49834. "expense_order_no" : {
  49835. "type" : "string",
  49836. "description" : "商户报销单据号",
  49837. "example" : "20180808128739874213"
  49838. },
  49839. "expense_tax_no" : {
  49840. "type" : "string",
  49841. "description" : "报销企业税号",
  49842. "example" : "113071TRDX8RQU8"
  49843. },
  49844. "invoice_element_list" : {
  49845. "type" : "array",
  49846. "description" : "需要同步报销状态的发票列表",
  49847. "items" : {
  49848. "$ref" : "#/components/schemas/InvoiceElementStatusSyncOpenModel"
  49849. }
  49850. },
  49851. "memo" : {
  49852. "type" : "string",
  49853. "description" : "报销审批备注",
  49854. "example" : "财务已打款"
  49855. },
  49856. "open_id" : {
  49857. "type" : "string",
  49858. "description" : "用户uid",
  49859. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  49860. },
  49861. "status" : {
  49862. "type" : "string",
  49863. "description" : "EXPENSE_APPLY:报销申请提交;EXPENSE_APPROVAL_PASS:报销申请审核通过;EXPENSE_FINISHED:报销申请完成;EXPENSE_CANCEL:报销申请撤回",
  49864. "example" : "EXPENSE_APPLY"
  49865. },
  49866. "user_id" : {
  49867. "type" : "string",
  49868. "description" : "用户uid",
  49869. "example" : "2088002000321000"
  49870. }
  49871. }
  49872. },
  49873. "AlipayEbppInvoiceListExpenseSyncResponseModel" : {
  49874. "type" : "object"
  49875. },
  49876. "AlipayEbppInvoiceMerchantEnterstatusQueryErrorResponseModel" : {
  49877. "required" : [ "code", "message" ],
  49878. "type" : "object",
  49879. "properties" : {
  49880. "code" : {
  49881. "type" : "string",
  49882. "description" : "错误码",
  49883. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR", "RECORD_NOT_EXIST", "PERMISSION_DENIED" ]
  49884. },
  49885. "links" : {
  49886. "type" : "string",
  49887. "description" : "解决方案链接"
  49888. },
  49889. "message" : {
  49890. "type" : "string",
  49891. "description" : "错误描述"
  49892. }
  49893. }
  49894. },
  49895. "AlipayEbppInvoiceMerchantEnterstatusQueryResponseModel" : {
  49896. "type" : "object",
  49897. "properties" : {
  49898. "status" : {
  49899. "type" : "string",
  49900. "description" : "工单状态,审核中:AUDITING,验收中:ACCEPTING,成功:SUCCESS,失败:FAIL",
  49901. "example" : "SUCCESS"
  49902. }
  49903. }
  49904. },
  49905. "AlipayEbppInvoiceMerchantlistEnterApplyErrorResponseModel" : {
  49906. "required" : [ "code", "message" ],
  49907. "type" : "object",
  49908. "properties" : {
  49909. "code" : {
  49910. "type" : "string",
  49911. "description" : "错误码",
  49912. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "MERCHANT_ENTER_DENY", "MERCHANT_NAME_OCCUPIED", "SERVER_NOT_EXIST", "SERVER_ABILITY_NOT_SATIF", "TAX_NUM_OCCUPIED", "BIZ_ERROR", "MERCHANT_LOGO_UPLOAD_FAIL", "MERCHANT_ENTER_PID_MOD_DUPLICATE" ]
  49913. },
  49914. "links" : {
  49915. "type" : "string",
  49916. "description" : "解决方案链接"
  49917. },
  49918. "message" : {
  49919. "type" : "string",
  49920. "description" : "错误描述"
  49921. }
  49922. }
  49923. },
  49924. "AlipayEbppInvoiceMerchantlistEnterApplyModel" : {
  49925. "type" : "object",
  49926. "properties" : {
  49927. "merchant_base" : {
  49928. "$ref" : "#/components/schemas/MerchantBaseEnterOpenModel"
  49929. },
  49930. "sub_merchant_common_info" : {
  49931. "$ref" : "#/components/schemas/SubMerchantCommonEnterOpenModel"
  49932. },
  49933. "sub_merchant_list" : {
  49934. "type" : "array",
  49935. "description" : "商户球房列表信息,最多传入30个球房信息",
  49936. "items" : {
  49937. "$ref" : "#/components/schemas/SubMerchantEnterOpenModel"
  49938. }
  49939. }
  49940. }
  49941. },
  49942. "AlipayEbppInvoiceMerchantlistEnterApplyResponseModel" : {
  49943. "type" : "object",
  49944. "properties" : {
  49945. "process_id" : {
  49946. "type" : "string",
  49947. "description" : "工单流水号,支付开票PID模式当前不会返回流水号。",
  49948. "example" : "1234567"
  49949. }
  49950. }
  49951. },
  49952. "AlipayEbppInvoiceOrderQueryErrorResponseModel" : {
  49953. "required" : [ "code", "message" ],
  49954. "type" : "object",
  49955. "properties" : {
  49956. "code" : {
  49957. "type" : "string",
  49958. "description" : "错误码",
  49959. "enum" : [ "BIZ_ERROR" ]
  49960. },
  49961. "links" : {
  49962. "type" : "string",
  49963. "description" : "解决方案链接"
  49964. },
  49965. "message" : {
  49966. "type" : "string",
  49967. "description" : "错误描述"
  49968. }
  49969. }
  49970. },
  49971. "AlipayEbppInvoiceOrderQueryResponseModel" : {
  49972. "type" : "object",
  49973. "properties" : {
  49974. "invoice_element_model" : {
  49975. "$ref" : "#/components/schemas/InvoiceElementModel"
  49976. },
  49977. "order_no" : {
  49978. "type" : "string",
  49979. "description" : "开票申请时传入订单号(支持主单号、子单号),不限是否为支付宝体内交易单号",
  49980. "example" : "20200520110046966071"
  49981. }
  49982. }
  49983. },
  49984. "AlipayEbppInvoiceSycnErrorResponseModel" : {
  49985. "required" : [ "code", "message" ],
  49986. "type" : "object",
  49987. "properties" : {
  49988. "code" : {
  49989. "type" : "string",
  49990. "description" : "错误码",
  49991. "enum" : [ "PARAMETER_ILLEGAL", "MERCHANT_NOT_SUPPORTED", "SYSTEM_ERROR", "RECORD_ALREADY_EXIST", "COLLECTION_NON_USER" ]
  49992. },
  49993. "links" : {
  49994. "type" : "string",
  49995. "description" : "解决方案链接"
  49996. },
  49997. "message" : {
  49998. "type" : "string",
  49999. "description" : "错误描述"
  50000. }
  50001. }
  50002. },
  50003. "AlipayEbppInvoiceSycnModel" : {
  50004. "type" : "object",
  50005. "properties" : {
  50006. "invoice_info" : {
  50007. "type" : "array",
  50008. "description" : "同步发票信息模型",
  50009. "items" : {
  50010. "$ref" : "#/components/schemas/InvoiceModelContent"
  50011. }
  50012. },
  50013. "m_short_name" : {
  50014. "type" : "string",
  50015. "description" : "商户的品牌名称简称,该字段需要接入前向发票管家申请,\r\tm_short_name+sub_m_short_name具有唯一约束\r\t如:肯德基:KFC",
  50016. "example" : "KFC"
  50017. },
  50018. "sub_m_short_name" : {
  50019. "type" : "string",
  50020. "description" : "支付宝为商户分配的商户球房简称,该字段需要接入前在发票管家申请\r\t如:肯德基-杭州西湖区文一西路店:KFC-HZ-XH001",
  50021. "example" : "KFC_HZ_XH001"
  50022. }
  50023. }
  50024. },
  50025. "AlipayEbppInvoiceSycnResponseModel" : {
  50026. "type" : "object",
  50027. "properties" : {
  50028. "url" : {
  50029. "type" : "string",
  50030. "description" : "支付宝发票管家发票详情页链接地址\r\t如果同步的发票是多张时,此链接为当前用户的已开立发票列表地址",
  50031. "example" : "alipays://platformapi/startapp?appId=20000920&url=%2Fwww%2Fdetail.htm%3Ffrom%3Doffline%26code%3D201606210015200108000"
  50032. }
  50033. }
  50034. },
  50035. "AlipayEbppInvoiceSyncSimpleSendErrorResponseModel" : {
  50036. "required" : [ "code", "message" ],
  50037. "type" : "object",
  50038. "properties" : {
  50039. "code" : {
  50040. "type" : "string",
  50041. "description" : "错误码",
  50042. "enum" : [ "BIZ_ERROR", "PDF_DOWNLOAD_EXCEPTION", "PDF_DOWNLOAD_FUNC_CLOSED", "PERMISSION_DENIED", "INVALID_PARAMETER", "PDF_TYPE_ILLEGAL", "COMPRESS_TYPE_NOT_SUPPORT", "INVOICE_ALREADY_EXIST", "SYSTEM_ERROR", "ANT_INVOICE_APPLY_NOT_EXIST" ]
  50043. },
  50044. "links" : {
  50045. "type" : "string",
  50046. "description" : "解决方案链接"
  50047. },
  50048. "message" : {
  50049. "type" : "string",
  50050. "description" : "错误描述"
  50051. }
  50052. }
  50053. },
  50054. "AlipayEbppInvoiceSyncSimpleSendModel" : {
  50055. "type" : "object",
  50056. "properties" : {
  50057. "invoice_info" : {
  50058. "$ref" : "#/components/schemas/InvoicePDFSynModel"
  50059. },
  50060. "m_short_name" : {
  50061. "type" : "string",
  50062. "description" : "开票商户品牌简称,与商户入驻时的品牌简称保持一致。详情参见 <a href=\"https://opendocs.alipay.com/open/10691/welcome-to-lark\">电子发票</a>",
  50063. "example" : "XSD"
  50064. },
  50065. "sub_m_short_name" : {
  50066. "type" : "string",
  50067. "description" : "开票商户球房简称,与商户入驻时的球房简称保持一致。",
  50068. "example" : "XSD_HL"
  50069. }
  50070. }
  50071. },
  50072. "AlipayEbppInvoiceSyncSimpleSendResponseModel" : {
  50073. "type" : "object"
  50074. },
  50075. "AlipayEbppInvoiceTaxnoBatchqueryErrorResponseModel" : {
  50076. "required" : [ "code", "message" ],
  50077. "type" : "object",
  50078. "properties" : {
  50079. "code" : {
  50080. "type" : "string",
  50081. "description" : "错误码",
  50082. "enum" : [ "SYSTEM_ERROR", "PARAMETER_ILLEGAL", "PERMISSION_DENIED", "QUERY_TAX_NO_NOT_EQUAL_CERTIFY_NO" ]
  50083. },
  50084. "links" : {
  50085. "type" : "string",
  50086. "description" : "解决方案链接"
  50087. },
  50088. "message" : {
  50089. "type" : "string",
  50090. "description" : "错误描述"
  50091. }
  50092. }
  50093. },
  50094. "AlipayEbppInvoiceTaxnoBatchqueryModel" : {
  50095. "type" : "object",
  50096. "properties" : {
  50097. "enable_trade_out" : {
  50098. "type" : "string",
  50099. "description" : "默认值为false。true为输出交易信息,false为不输出交易信息。",
  50100. "example" : "true"
  50101. },
  50102. "end_invoice_date" : {
  50103. "type" : "string",
  50104. "description" : "查询结束时间,精确到天(按开票日期查询)\tstart_invoice_date和end_invoice_date传值要求\t1.同时为空时,返回最近半年200条数据\t2.必须同时为空 或 同时不为空\t3.结束日期不能大于当前日期\t4.开始时间和结束时间跨度不能超过6个月",
  50105. "example" : "2017-07-11"
  50106. },
  50107. "invoice_kind_list" : {
  50108. "type" : "array",
  50109. "description" : "查询票种列表。枚举值如下:\t*PLAIN:增值税电子普通发票;\t*SPECIAL:增值税专用发票;\t*ALL_ELECTRONIC_GENERAL: \"电子发票(普通发票);\t*ALL_ELECTRONIC_SPECIAL: \"电子发票(专用发票);\t*PLAIN_INVOICE:增值税普通发票;\t*PAPER_INVOICE:增值税普通发票(卷式);\t*SALSE_INVOICE:机动车销售统一发票。",
  50110. "items" : {
  50111. "type" : "string"
  50112. },
  50113. "example" : "PLAIN"
  50114. },
  50115. "limit_size" : {
  50116. "type" : "integer",
  50117. "description" : "查询结果上限笔数,最大值20",
  50118. "example" : "20"
  50119. },
  50120. "page_num" : {
  50121. "type" : "integer",
  50122. "description" : "当前页码,为空时默认第一页",
  50123. "example" : "1"
  50124. },
  50125. "scene" : {
  50126. "type" : "string",
  50127. "description" : "发票要素获取应用场景。<a href=\"https://opendocs.alipay.com/open/10691/bv8s88\">\"拉\"模式报销</a> 固定为 INVOICE_EXPENSE 表示发票报销。",
  50128. "example" : "INVOICE_EXPENSE"
  50129. },
  50130. "start_invoice_date" : {
  50131. "type" : "string",
  50132. "description" : "查询起始时间,精确到天(按开票日期查询)\tstart_invoice_date和end_invoice_date传值要求\t1.同时为空时,返回最近半年200条数据\t2.必须同时为空 或 同时不为空\t3.结束日期不能大于当前日期\t4.开始时间和结束时间跨度不能超过6个月",
  50133. "example" : "2017-01-11"
  50134. },
  50135. "tax_no" : {
  50136. "type" : "string",
  50137. "description" : "企业税号",
  50138. "example" : "123"
  50139. }
  50140. }
  50141. },
  50142. "AlipayEbppInvoiceTaxnoBatchqueryResponseModel" : {
  50143. "type" : "object",
  50144. "properties" : {
  50145. "invoice_element_list" : {
  50146. "type" : "array",
  50147. "description" : "发票要素列表",
  50148. "items" : {
  50149. "$ref" : "#/components/schemas/InvoiceElementModel"
  50150. }
  50151. },
  50152. "open_id" : {
  50153. "type" : "string",
  50154. "description" : "支付宝用户id",
  50155. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  50156. },
  50157. "user_id" : {
  50158. "type" : "string",
  50159. "description" : "支付宝用户id",
  50160. "example" : "2088000000000000"
  50161. }
  50162. }
  50163. },
  50164. "AlipayEbppInvoiceTitleDynamicGetErrorResponseModel" : {
  50165. "required" : [ "code", "message" ],
  50166. "type" : "object",
  50167. "properties" : {
  50168. "code" : {
  50169. "type" : "string",
  50170. "description" : "错误码",
  50171. "enum" : [ "TITLE_NOT_EXIST", "ACCESS_FREQUENCY_TOO_HIGH", "PARAMETER_ILLEGAL", "SYSTEM_ERROR", "BAR_CODE_EXPIRED" ]
  50172. },
  50173. "links" : {
  50174. "type" : "string",
  50175. "description" : "解决方案链接"
  50176. },
  50177. "message" : {
  50178. "type" : "string",
  50179. "description" : "错误描述"
  50180. }
  50181. }
  50182. },
  50183. "AlipayEbppInvoiceTitleDynamicGetResponseModel" : {
  50184. "type" : "object",
  50185. "properties" : {
  50186. "title" : {
  50187. "$ref" : "#/components/schemas/InvoiceTitleModel"
  50188. }
  50189. }
  50190. },
  50191. "AlipayEbppInvoiceTitleListGetErrorResponseModel" : {
  50192. "required" : [ "code", "message" ],
  50193. "type" : "object",
  50194. "properties" : {
  50195. "code" : {
  50196. "type" : "string",
  50197. "description" : "错误码",
  50198. "enum" : [ "TITLE_LIST_NOT_EXIST", "PARAMETER_ILLEGAL", "SYSTEM_ERROR" ]
  50199. },
  50200. "links" : {
  50201. "type" : "string",
  50202. "description" : "解决方案链接"
  50203. },
  50204. "message" : {
  50205. "type" : "string",
  50206. "description" : "错误描述"
  50207. }
  50208. }
  50209. },
  50210. "AlipayEbppInvoiceTitleListGetResponseModel" : {
  50211. "type" : "object",
  50212. "properties" : {
  50213. "title_list" : {
  50214. "type" : "array",
  50215. "description" : "抬头列表",
  50216. "items" : {
  50217. "$ref" : "#/components/schemas/InvoiceTitleModel"
  50218. }
  50219. }
  50220. }
  50221. },
  50222. "AlipayEbppInvoiceTokenBatchqueryErrorResponseModel" : {
  50223. "required" : [ "code", "message" ],
  50224. "type" : "object",
  50225. "properties" : {
  50226. "code" : {
  50227. "type" : "string",
  50228. "description" : "错误码",
  50229. "enum" : [ "SYSTEM_ERROR", "INVOICE_INVALID_TOKEN", "PERMISSION_DENIED", "PARAMETER_ILLEGAL" ]
  50230. },
  50231. "links" : {
  50232. "type" : "string",
  50233. "description" : "解决方案链接"
  50234. },
  50235. "message" : {
  50236. "type" : "string",
  50237. "description" : "错误描述"
  50238. }
  50239. }
  50240. },
  50241. "AlipayEbppInvoiceTokenBatchqueryResponseModel" : {
  50242. "type" : "object",
  50243. "properties" : {
  50244. "invoice_element_list" : {
  50245. "type" : "array",
  50246. "description" : "发票要素列表",
  50247. "items" : {
  50248. "$ref" : "#/components/schemas/InvoiceElementModel"
  50249. }
  50250. },
  50251. "open_id" : {
  50252. "type" : "string",
  50253. "description" : "支付宝用户id",
  50254. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  50255. },
  50256. "user_id" : {
  50257. "type" : "string",
  50258. "description" : "支付宝用户id",
  50259. "example" : "20880000000000000"
  50260. }
  50261. }
  50262. },
  50263. "AlipayEbppPdeductAsyncPayErrorResponseModel" : {
  50264. "required" : [ "code", "message" ],
  50265. "type" : "object",
  50266. "properties" : {
  50267. "code" : {
  50268. "type" : "string",
  50269. "description" : "错误码",
  50270. "enum" : [ "SUBMIT_REQUEST_FAILURE" ]
  50271. },
  50272. "links" : {
  50273. "type" : "string",
  50274. "description" : "解决方案链接"
  50275. },
  50276. "message" : {
  50277. "type" : "string",
  50278. "description" : "错误描述"
  50279. }
  50280. }
  50281. },
  50282. "AlipayEbppPdeductAsyncPayModel" : {
  50283. "type" : "object",
  50284. "properties" : {
  50285. "agent_channel" : {
  50286. "type" : "string",
  50287. "description" : "分配给外部机构发起扣款时的渠道码。朗新为LANGXIN",
  50288. "example" : "LANGXIN"
  50289. },
  50290. "agent_code" : {
  50291. "type" : "string",
  50292. "description" : "二级渠道码,预留字段",
  50293. "example" : "SECOND"
  50294. },
  50295. "agreement_id" : {
  50296. "type" : "string",
  50297. "description" : "支付宝代扣协议Id",
  50298. "example" : "1234557890"
  50299. },
  50300. "bill_date" : {
  50301. "type" : "string",
  50302. "description" : "账期",
  50303. "example" : "201605"
  50304. },
  50305. "bill_key" : {
  50306. "type" : "string",
  50307. "description" : "户号",
  50308. "example" : "03932134"
  50309. },
  50310. "extend_field" : {
  50311. "type" : "string",
  50312. "description" : "扩展字段",
  50313. "example" : "{\"key1\":\"value1\",\"key2\":\"value2\", \"key3\":\"value3\",\"key4\":\"value4\"}"
  50314. },
  50315. "fine_amount" : {
  50316. "type" : "string",
  50317. "description" : "滞纳金",
  50318. "example" : "2.00"
  50319. },
  50320. "memo" : {
  50321. "type" : "string",
  50322. "description" : "备注信息",
  50323. "example" : "memo"
  50324. },
  50325. "open_id" : {
  50326. "type" : "string",
  50327. "description" : "用户UserId在应用AppId下的唯一用户标识",
  50328. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  50329. },
  50330. "out_order_no" : {
  50331. "type" : "string",
  50332. "description" : "商户外部业务流水号",
  50333. "example" : "1888232932"
  50334. },
  50335. "pay_amount" : {
  50336. "type" : "string",
  50337. "description" : "扣款金额,支付总金额,包含滞纳金",
  50338. "example" : "23.00"
  50339. },
  50340. "pid" : {
  50341. "type" : "string",
  50342. "description" : "商户partnerId",
  50343. "example" : "2088131312"
  50344. },
  50345. "user_id" : {
  50346. "type" : "string",
  50347. "description" : "用户ID",
  50348. "example" : "208811233144123"
  50349. }
  50350. }
  50351. },
  50352. "AlipayEbppPdeductAsyncPayResponseModel" : {
  50353. "type" : "object",
  50354. "properties" : {
  50355. "agreement_id" : {
  50356. "type" : "string",
  50357. "description" : "支付宝代扣协议ID",
  50358. "example" : "42132131"
  50359. },
  50360. "out_order_no" : {
  50361. "type" : "string",
  50362. "description" : "商户代扣业务流水",
  50363. "example" : "312312"
  50364. },
  50365. "result_status" : {
  50366. "type" : "string",
  50367. "description" : "扣款流水状态",
  50368. "example" : "I"
  50369. }
  50370. }
  50371. },
  50372. "AlipayEbppPdeductBillPayStatusErrorResponseModel" : {
  50373. "required" : [ "code", "message" ],
  50374. "type" : "object",
  50375. "properties" : {
  50376. "code" : {
  50377. "type" : "string",
  50378. "description" : "错误码",
  50379. "enum" : [ "BILL_NOT_EXIST", "PARAMETER_ILLEGAL", "SYSTEM_ERROR" ]
  50380. },
  50381. "links" : {
  50382. "type" : "string",
  50383. "description" : "解决方案链接"
  50384. },
  50385. "message" : {
  50386. "type" : "string",
  50387. "description" : "错误描述"
  50388. }
  50389. }
  50390. },
  50391. "AlipayEbppPdeductBillPayStatusResponseModel" : {
  50392. "type" : "object",
  50393. "properties" : {
  50394. "agreement_id" : {
  50395. "type" : "string",
  50396. "description" : "支付宝协议流水",
  50397. "example" : "2919219429194"
  50398. },
  50399. "open_id" : {
  50400. "type" : "string",
  50401. "description" : "用户UserId在应用AppId下的唯一用户标识",
  50402. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  50403. },
  50404. "order_no" : {
  50405. "type" : "string",
  50406. "description" : "支付宝流billNo",
  50407. "example" : "2015010122003385"
  50408. },
  50409. "order_result_code" : {
  50410. "type" : "string",
  50411. "description" : "订单的结果码",
  50412. "example" : "PAY_FAIL"
  50413. },
  50414. "order_result_msg" : {
  50415. "type" : "string",
  50416. "description" : "订单的结果描述",
  50417. "example" : "AE0110270001_支付金额不足"
  50418. },
  50419. "out_order_no" : {
  50420. "type" : "string",
  50421. "description" : "外部订单流水",
  50422. "example" : "21929910124"
  50423. },
  50424. "status" : {
  50425. "type" : "string",
  50426. "description" : "支付宝订单支付状态。\r\t0:未知状态。\r\t1:支付成功。\r\t2:支付失败。",
  50427. "example" : "0"
  50428. }
  50429. }
  50430. },
  50431. "AlipayEbppPdeductPayErrorResponseModel" : {
  50432. "required" : [ "code", "message" ],
  50433. "type" : "object",
  50434. "properties" : {
  50435. "code" : {
  50436. "type" : "string",
  50437. "description" : "错误码",
  50438. "enum" : [ "AGREEMENT_ID_IS_NULL", "AGENT_CHANNEL_IS_NULL", "BILL_KEY_IS_NULL", "INST_ORDER_NO_IS_NULL", "DEDUCT_SIGN_INFO_NOT_EXIST", "QUERY_DEDUCT_SIGN_INFO_ERROR", "INVOKE_PAYACCEPTANCE_EXCEPTION" ]
  50439. },
  50440. "links" : {
  50441. "type" : "string",
  50442. "description" : "解决方案链接"
  50443. },
  50444. "message" : {
  50445. "type" : "string",
  50446. "description" : "错误描述"
  50447. }
  50448. }
  50449. },
  50450. "AlipayEbppPdeductPayModel" : {
  50451. "type" : "object",
  50452. "properties" : {
  50453. "agent_channel" : {
  50454. "type" : "string",
  50455. "description" : "渠道码,如用户通过机构通过服务窗进来签约则是PUBLICFORM,此值可随意传,只要不空就行",
  50456. "example" : "PUBLICFORM"
  50457. },
  50458. "agent_code" : {
  50459. "type" : "string",
  50460. "description" : "二级渠道码,预留字段",
  50461. "example" : "SECOND"
  50462. },
  50463. "agreement_id" : {
  50464. "type" : "string",
  50465. "description" : "支付宝代扣协议Id",
  50466. "example" : "1234557890"
  50467. },
  50468. "bill_date" : {
  50469. "type" : "string",
  50470. "description" : "账期",
  50471. "example" : "201410"
  50472. },
  50473. "bill_key" : {
  50474. "type" : "string",
  50475. "description" : "户号,缴费单位用于标识每一户的唯一性的",
  50476. "example" : "262327843"
  50477. },
  50478. "extend_field" : {
  50479. "type" : "string",
  50480. "description" : "扩展参数。必须以key value形式定义,\r\t转为json为格式:{\"key1\":\"value1\",\"key2\":\"value2\",\r\t\"key3\":\"value3\",\"key4\":\"value4\"}\r\t 后端会直接转换为MAP对象,转换异常会报参数格式错误",
  50481. "example" : "{\"key1\":\"value1\",\"key2\":\"value2\",\r\n\"key3\":\"value3\",\"key4\":\"value4\"}"
  50482. },
  50483. "fine_amount" : {
  50484. "type" : "string",
  50485. "description" : "滞纳金",
  50486. "example" : "2.00"
  50487. },
  50488. "memo" : {
  50489. "type" : "string",
  50490. "description" : "备注信息",
  50491. "example" : "memo"
  50492. },
  50493. "open_id" : {
  50494. "type" : "string",
  50495. "description" : "用户UserId在应用AppId下的唯一用户标识",
  50496. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  50497. },
  50498. "out_order_no" : {
  50499. "type" : "string",
  50500. "description" : "商户外部业务流水号",
  50501. "example" : "18882329324"
  50502. },
  50503. "pay_amount" : {
  50504. "type" : "string",
  50505. "description" : "扣款金额,支付总金额,包含滞纳金",
  50506. "example" : "23.00"
  50507. },
  50508. "pid" : {
  50509. "type" : "string",
  50510. "description" : "商户PartnerId",
  50511. "example" : "2088611103588892"
  50512. },
  50513. "user_id" : {
  50514. "type" : "string",
  50515. "description" : "用户ID",
  50516. "example" : "2088123411243554"
  50517. }
  50518. }
  50519. },
  50520. "AlipayEbppPdeductPayResponseModel" : {
  50521. "type" : "object",
  50522. "properties" : {
  50523. "agreement_id" : {
  50524. "type" : "string",
  50525. "description" : "支付宝代扣协议ID",
  50526. "example" : "1231232132"
  50527. },
  50528. "bill_no" : {
  50529. "type" : "string",
  50530. "description" : "支付宝订单流水号",
  50531. "example" : "201323423234"
  50532. },
  50533. "extend_field" : {
  50534. "type" : "string",
  50535. "description" : "扩展参数",
  50536. "example" : "{\"school_no\":\"SHNU\",\r\n\"student_id\":\"20130516\"}"
  50537. },
  50538. "out_order_no" : {
  50539. "type" : "string",
  50540. "description" : "商户代扣业务流水",
  50541. "example" : "213134234"
  50542. },
  50543. "result_code" : {
  50544. "type" : "string",
  50545. "description" : "针对于支付失败时,给的对应错误明细,如果判断外围的错误码是INVOKE_PAYACCEPTANCE_EXCEPTION需要近一步再结合着结果模型中的result_code, result_msg来判断",
  50546. "example" : "AE0110270001"
  50547. },
  50548. "result_msg" : {
  50549. "type" : "string",
  50550. "description" : "针对于支付失败时,给的对应错误明细,如果判断外围的错误码是INVOKE_PAYACCEPTANCE_EXCEPTION需要近一步再结合着结果模型中的result_code, result_msg来判断",
  50551. "example" : "支付金额不足"
  50552. },
  50553. "result_status" : {
  50554. "type" : "string",
  50555. "description" : "订单支付状态。\r\t0:未知\r\t1:成功\r\t2:失败",
  50556. "example" : "1"
  50557. }
  50558. }
  50559. },
  50560. "AlipayEbppPdeductSignAddErrorResponseModel" : {
  50561. "required" : [ "code", "message" ],
  50562. "type" : "object",
  50563. "properties" : {
  50564. "code" : {
  50565. "type" : "string",
  50566. "description" : "错误码",
  50567. "enum" : [ "isv.arguments-error", "isp.unknow-error", "isv.charge-no-direct-deduct", "isv.deduct-user-no-auth", "isv.deduct-paypassword-error", "isv.deduct-balance-is-not-payment", "isv.deduct-deplicated-self", "isv.deduct-sign-no-exist", "isv.deduct-billkey-sign-exit", "isv.deduct-no-autherity-by-realnamed", "isv.deduct-no-autherity-by-q" ]
  50568. },
  50569. "links" : {
  50570. "type" : "string",
  50571. "description" : "解决方案链接"
  50572. },
  50573. "message" : {
  50574. "type" : "string",
  50575. "description" : "错误描述"
  50576. }
  50577. }
  50578. },
  50579. "AlipayEbppPdeductSignAddModel" : {
  50580. "type" : "object",
  50581. "properties" : {
  50582. "agent_channel" : {
  50583. "type" : "string",
  50584. "description" : "机构签约代扣来源渠道\r\tPUBLICPLATFORM:服务窗",
  50585. "example" : "PUBLICPLATFORM"
  50586. },
  50587. "agent_code" : {
  50588. "type" : "string",
  50589. "description" : "从服务窗发起则为publicId的值",
  50590. "example" : "123456"
  50591. },
  50592. "bill_key" : {
  50593. "type" : "string",
  50594. "description" : "户号,机构针对于每户的水、电都会有唯一的标识户号",
  50595. "example" : "02659981"
  50596. },
  50597. "biz_type" : {
  50598. "type" : "string",
  50599. "description" : "业务类型。枚举支持:\t*JF:公共事业缴纳。\t*WUYE:物业缴费。\t*HK:信用卡还款。\t*TX:通讯缴费。\t*IND:保险缴费。",
  50600. "example" : "JF"
  50601. },
  50602. "charge_inst" : {
  50603. "type" : "string",
  50604. "description" : "支付宝缴费系统中的出账机构ID",
  50605. "example" : "CQCENTERELECTRIC"
  50606. },
  50607. "deduct_prod_code" : {
  50608. "type" : "string",
  50609. "description" : "代扣产品码。 缴费业务场景中,传入INST_DIRECT_DEDUCT。保险业务场景中, 传入INSURANCE_MERCHANT_DEDUCT。",
  50610. "example" : "INSURANCE_MERCHANT_DEDUCT"
  50611. },
  50612. "deduct_type" : {
  50613. "type" : "string",
  50614. "description" : "签约类型可为空",
  50615. "example" : "direct_sign_deduct"
  50616. },
  50617. "ext_user_info" : {
  50618. "type" : "string",
  50619. "description" : "外部用户实名认证相关信息, 用于做签约时的实名校验。 \r\t注: \r\t\r\tname: 姓名\r\tcert_type: 身份证:IDENTITY_CARD、护照:PASSPORT、军官证:OFFICER_CARD、士兵证:SOLDIER_CARD、户口本:HOKOU等\r\tcert_no: 证件号码\r\tneed_check_info取值 T/F,只有为T时才做强制校验。\r\tmobile:手机号,目前暂不使用此字段做校验\r\tmin_age: 允许的最小买家年龄,min_age为整数,必须大于等于0.",
  50620. "example" : "{\"name\":\"张三\",\"cert_type\":\"IDENTITY_CARD\",\"cert_no\":\"362334768769238881\",\"need_check_info\":\"F\",\"min_age\":\"18\",\"mobile\":\"\"}"
  50621. },
  50622. "extend_field" : {
  50623. "type" : "string",
  50624. "description" : "扩展字段",
  50625. "example" : "null"
  50626. },
  50627. "notify_config" : {
  50628. "type" : "string",
  50629. "description" : "通知方式设置,可为空",
  50630. "example" : "null"
  50631. },
  50632. "open_id" : {
  50633. "type" : "string",
  50634. "description" : "用户UserId在应用AppId下的唯一用户标识",
  50635. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  50636. },
  50637. "out_agreement_id" : {
  50638. "type" : "string",
  50639. "description" : "外部产生的协议ID",
  50640. "example" : "123456"
  50641. },
  50642. "owner_name" : {
  50643. "type" : "string",
  50644. "description" : "户名,户主真实姓名",
  50645. "example" : "王海龙"
  50646. },
  50647. "pay_config" : {
  50648. "type" : "string",
  50649. "description" : "支付工具设置,目前可为空",
  50650. "example" : "null"
  50651. },
  50652. "pay_password_token" : {
  50653. "type" : "string",
  50654. "description" : "支付密码鉴权token,需要用户首先处于登陆态,然后访问https://ebppprod.alipay.com/deduct/enterMobileicPayPassword.htm?cb=自己指定的回跳连接地址,访问页面后会进到独立密码校验页,用户输入密码校验成功后,会生成token回调到指定的回跳地址,如果设置cb=www.alipay.com则最后回调的内容是www.alipay.com?token=312314ADFDSFAS,然后签约时直接取得地址后token的值即可。",
  50655. "example" : "11505a6f41688644a4b85f9bf80ef071"
  50656. },
  50657. "pid" : {
  50658. "type" : "string",
  50659. "description" : "商户id,商户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  50660. "example" : "2088102118849556"
  50661. },
  50662. "sign_expire_date" : {
  50663. "type" : "string",
  50664. "description" : "签约到期时间。空表示无限期,一期固定传空。",
  50665. "example" : "2015-03-12"
  50666. },
  50667. "sub_biz_type" : {
  50668. "type" : "string",
  50669. "description" : "业务子类型。业务子类型是业务类型的下一级概念。枚举支持:\t*WATER:缴水费。\t*ELECTRIC:缴电费。\t*GAS:缴燃气费。\t*COMMUN:缴固话宽带费。\t*CATV:缴有线电视费。\t*TRAFFIC:缴交通罚款。\t*WUYE:缴物业费。\t*RC:定期还车贷代扣。\t*RH:定期还房贷代扣。\t*RR:定期还房租代扣。\t*RN:定期还网贷代扣。\t*CZ:手机充值代扣。\t*CAR:车险。\t*LIFE:寿险。\t*HEALTH:健康险。\t例如:WATER表示JF下面的水费。",
  50670. "example" : "ELECTRIC"
  50671. },
  50672. "user_id" : {
  50673. "type" : "string",
  50674. "description" : "用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  50675. "example" : "2088111133334134"
  50676. }
  50677. }
  50678. },
  50679. "AlipayEbppPdeductSignAddResponseModel" : {
  50680. "type" : "object",
  50681. "properties" : {
  50682. "agreement_id" : {
  50683. "type" : "string",
  50684. "description" : "支付宝代扣协议ID",
  50685. "example" : "20141028000363828663"
  50686. },
  50687. "agreement_status" : {
  50688. "type" : "string",
  50689. "description" : "支付宝协议状态。签约成功则返回success",
  50690. "example" : "success"
  50691. },
  50692. "extend_field" : {
  50693. "type" : "string",
  50694. "description" : "扩展参数,可为空",
  50695. "example" : "null"
  50696. },
  50697. "notify_config" : {
  50698. "type" : "string",
  50699. "description" : "通知方式设置。",
  50700. "example" : "通知方式文案"
  50701. },
  50702. "out_agreement_id" : {
  50703. "type" : "string",
  50704. "description" : "商户生成的代扣协议ID",
  50705. "example" : "123123"
  50706. },
  50707. "pay_config" : {
  50708. "type" : "array",
  50709. "description" : "支付方式设置",
  50710. "items" : {
  50711. "type" : "string"
  50712. },
  50713. "example" : "BALANCE"
  50714. },
  50715. "sign_date" : {
  50716. "type" : "string",
  50717. "description" : "签约时间",
  50718. "example" : "2014-01-21"
  50719. }
  50720. }
  50721. },
  50722. "AlipayEbppPdeductSignCancelErrorResponseModel" : {
  50723. "required" : [ "code", "message" ],
  50724. "type" : "object",
  50725. "properties" : {
  50726. "code" : {
  50727. "type" : "string",
  50728. "description" : "错误码",
  50729. "enum" : [ "isp.unknow-error", "isv.arguments-error", "isv.sign-info-not-exist", "isv.cancel-sign-failure", "DEDUCT_SIGN_INFO_NOT_EXIST", "QUERY_DEDUCT_SIGN_INFO_ERROR" ]
  50730. },
  50731. "links" : {
  50732. "type" : "string",
  50733. "description" : "解决方案链接"
  50734. },
  50735. "message" : {
  50736. "type" : "string",
  50737. "description" : "错误描述"
  50738. }
  50739. }
  50740. },
  50741. "AlipayEbppPdeductSignCancelModel" : {
  50742. "type" : "object",
  50743. "properties" : {
  50744. "agent_channel" : {
  50745. "type" : "string",
  50746. "description" : "此值只是供代扣中心做最后的渠道统计用,并不做值是什么的强校验,只要不为空就可以",
  50747. "example" : "操作来源\r\nPUBLICPLATFORM:服务窗"
  50748. },
  50749. "agent_code" : {
  50750. "type" : "string",
  50751. "description" : "标识发起方的ID,从服务窗发起则为appId的值,appId即开放平台分配给接入ISV的id,此处也可以随便真其它值,只要能标识唯一即可",
  50752. "example" : "201603012984123"
  50753. },
  50754. "agreement_id" : {
  50755. "type" : "string",
  50756. "description" : "支付宝代扣协议ID",
  50757. "example" : "20160512331244123124421"
  50758. },
  50759. "open_id" : {
  50760. "type" : "string",
  50761. "description" : "用户UserId在应用AppId下的唯一用户标识",
  50762. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  50763. },
  50764. "pay_password_token" : {
  50765. "type" : "string",
  50766. "description" : "需要用户首先处于登陆态,然后访问https://ebppprod.alipay.com/deduct/enterMobileicPayPassword.htm?cb=自己指定的回跳连接地址,访问页面后会进到独立密码校验页,用户输入密码校验成功后,会生成token回调到指定的回跳地址,如果设置cb=www.baidu.com则最后回调的内容是www.baidu.com?token=312314ADFDSFAS,然后签约时直接取得地址后token的值即可",
  50767. "example" : "11505a6f41688644a4b85f9bf80ef071"
  50768. },
  50769. "user_id" : {
  50770. "type" : "string",
  50771. "description" : "用户ID",
  50772. "example" : "2088123411112222"
  50773. }
  50774. }
  50775. },
  50776. "AlipayEbppPdeductSignCancelResponseModel" : {
  50777. "type" : "object",
  50778. "properties" : {
  50779. "agreement_id" : {
  50780. "type" : "string",
  50781. "description" : "支付宝代扣协议ID",
  50782. "example" : "20441111111"
  50783. },
  50784. "agreement_status" : {
  50785. "type" : "string",
  50786. "description" : "支付宝协议状态。解约成功则返回success",
  50787. "example" : "success"
  50788. },
  50789. "out_agreement_id" : {
  50790. "type" : "string",
  50791. "description" : "商户代扣协议ID",
  50792. "example" : "23433333333"
  50793. }
  50794. }
  50795. },
  50796. "AlipayEbppPdeductSignQueryErrorResponseModel" : {
  50797. "required" : [ "code", "message" ],
  50798. "type" : "object",
  50799. "properties" : {
  50800. "code" : {
  50801. "type" : "string",
  50802. "description" : "错误码",
  50803. "enum" : [ "SYSTEM_ERROR", "QUERY_DEDUCT_SIGN_INFO_ERROR", "DEDUCT_SIGN_INFO_NOT_EXIST", "PARAMETER_ILLEGAL" ]
  50804. },
  50805. "links" : {
  50806. "type" : "string",
  50807. "description" : "解决方案链接"
  50808. },
  50809. "message" : {
  50810. "type" : "string",
  50811. "description" : "错误描述"
  50812. }
  50813. }
  50814. },
  50815. "AlipayEbppPdeductSignQueryResponseModel" : {
  50816. "type" : "object",
  50817. "properties" : {
  50818. "agreement_id" : {
  50819. "type" : "string",
  50820. "description" : "协议ID",
  50821. "example" : "20160331000700130000930600556911"
  50822. },
  50823. "bill_key" : {
  50824. "type" : "string",
  50825. "description" : "户号",
  50826. "example" : "03983123"
  50827. },
  50828. "charge_inst" : {
  50829. "type" : "string",
  50830. "description" : "出账机构",
  50831. "example" : "HZYHWATER"
  50832. },
  50833. "out_agreement_id" : {
  50834. "type" : "string",
  50835. "description" : "朗新协议ID",
  50836. "example" : "738F4D9B6F825FDE9D07773E08BD0A2E"
  50837. },
  50838. "sign_date" : {
  50839. "type" : "string",
  50840. "description" : "签约时间",
  50841. "example" : "2016-02-03 18:00:00"
  50842. },
  50843. "user_id" : {
  50844. "type" : "string",
  50845. "description" : "用户ID",
  50846. "example" : "2088022621144305"
  50847. }
  50848. }
  50849. },
  50850. "AlipayEbppPdeductSignValidateErrorResponseModel" : {
  50851. "required" : [ "code", "message" ],
  50852. "type" : "object",
  50853. "properties" : {
  50854. "code" : {
  50855. "type" : "string",
  50856. "description" : "错误码",
  50857. "enum" : [ "USER_IS_NOT_EXITS", "NO_AUTHERITY", "NO_AUTHERITY_BY_REALNAMED", "DEDUCT_BALANCE_IS_NOT_PAYMENT", "DEDUCT_INST_IS_NOT_EXIST", "DEDUCT_INST_PROD_IS_CLOSED", "DEDUCT_SIGN_DUPLICATED_SELF", "DEDUCT_SIGN_DUPLICATED_OTHER", "DEDUCT_SIGN_CTU_CHECK_FAILED", "INVALID_CARD_NO", "UNKNOW_ERROR", "INVOKE_EBILL_CENTER_EXCEPTION" ]
  50858. },
  50859. "links" : {
  50860. "type" : "string",
  50861. "description" : "解决方案链接"
  50862. },
  50863. "message" : {
  50864. "type" : "string",
  50865. "description" : "错误描述"
  50866. }
  50867. }
  50868. },
  50869. "AlipayEbppPdeductSignValidateModel" : {
  50870. "type" : "object",
  50871. "properties" : {
  50872. "agent_channel" : {
  50873. "type" : "string",
  50874. "description" : "机构签约代扣来源渠道\r\tPUBLICPLATFORM:服务窗",
  50875. "example" : "PUBLICPLATFORM"
  50876. },
  50877. "agent_code" : {
  50878. "type" : "string",
  50879. "description" : "从服务窗发起则为该服务窗的appid的值",
  50880. "example" : "123456"
  50881. },
  50882. "bill_key" : {
  50883. "type" : "string",
  50884. "description" : "户号,机构针对于每户的水、电都会有唯一的标识户号",
  50885. "example" : "02659981"
  50886. },
  50887. "biz_type" : {
  50888. "type" : "string",
  50889. "description" : "业务类型。\r\tJF:缴水、电、燃气、固话宽带、有线电视、交通罚款费用\r\tWUYE:缴物业费\r\tHK:信用卡还款\r\tTX:手机充值",
  50890. "example" : "JF"
  50891. },
  50892. "charge_inst" : {
  50893. "type" : "string",
  50894. "description" : "支付宝缴费系统中的出账机构ID",
  50895. "example" : "CQCENTERELECTRIC"
  50896. },
  50897. "deduct_type" : {
  50898. "type" : "string",
  50899. "description" : "签约类型,可为空。目前类型有INST_DIRECT_DEDUCT",
  50900. "example" : "direct_sign_deduct"
  50901. },
  50902. "extend_field" : {
  50903. "type" : "string",
  50904. "description" : "扩展字段",
  50905. "example" : "null"
  50906. },
  50907. "notify_config" : {
  50908. "type" : "string",
  50909. "description" : "通知方式设置,本期预留字段,固定传空。",
  50910. "example" : "null"
  50911. },
  50912. "open_id" : {
  50913. "type" : "string",
  50914. "description" : "用户UserId在应用AppId下的唯一用户标识",
  50915. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  50916. },
  50917. "out_agreement_id" : {
  50918. "type" : "string",
  50919. "description" : "外部机构签约的协议id",
  50920. "example" : "123456"
  50921. },
  50922. "owner_name" : {
  50923. "type" : "string",
  50924. "description" : "户名,户主真实姓名",
  50925. "example" : "王龙海"
  50926. },
  50927. "pay_config" : {
  50928. "type" : "string",
  50929. "description" : "支付工具设置,目前可为空。类型有:BALANCE;CARTOON;BIGAMOUNT_CREDIT_CARTOON;DEBIT_EXPRESS;OPTIMIZED_MOTO;PCREDIT_PAY;MONEY_FUND",
  50930. "example" : "null"
  50931. },
  50932. "pid" : {
  50933. "type" : "string",
  50934. "description" : "商户签约支付宝账号的userid,2088开头16位长度的字符串,在支付宝系统中唯一",
  50935. "example" : "2088102118849556"
  50936. },
  50937. "sign_expire_date" : {
  50938. "type" : "string",
  50939. "description" : "签约到期时间。空表示无限期,一期固定传空。",
  50940. "example" : "2015-03-12"
  50941. },
  50942. "sub_biz_type" : {
  50943. "type" : "string",
  50944. "description" : "业务子类型。\r\tWATER:缴水费\r\tELECTRIC:缴电费\r\tGAS:缴燃气费\r\tCOMMUN:缴固话宽带\r\tCATV:缴有线电视费\r\tTRAFFIC:缴交通罚款\r\tWUYE:缴物业费\r\tHK:信用卡还款\r\tCZ:手机充值",
  50945. "example" : "ELECTRIC"
  50946. },
  50947. "user_id" : {
  50948. "type" : "string",
  50949. "description" : "用户支付宝账号id,2088开头16位长度的字符串,在支付宝系统中唯一",
  50950. "example" : "2088111133334134"
  50951. }
  50952. }
  50953. },
  50954. "AlipayEbppPdeductSignValidateResponseModel" : {
  50955. "type" : "object"
  50956. },
  50957. "AlipayEcoContractSignflowsCreateErrorResponseModel" : {
  50958. "required" : [ "code", "message" ],
  50959. "type" : "object",
  50960. "properties" : {
  50961. "code" : {
  50962. "type" : "string",
  50963. "description" : "错误码",
  50964. "enum" : [ "SYSTEM_ERROR", "PARAM_ERROR" ]
  50965. },
  50966. "links" : {
  50967. "type" : "string",
  50968. "description" : "解决方案链接"
  50969. },
  50970. "message" : {
  50971. "type" : "string",
  50972. "description" : "错误描述"
  50973. }
  50974. }
  50975. },
  50976. "AlipayEcoContractSignflowsCreateModel" : {
  50977. "type" : "object",
  50978. "properties" : {
  50979. "attachments" : {
  50980. "type" : "array",
  50981. "description" : "附件信息(附件可作为合同的辅助证明材料,无需签署。需通过文件直传接口上传附件,获取文件id后添加)。注意事项参见 <a href=\"https://opendocs.alipay.com/mini/00kr2w\">文件流上传方法</a>。",
  50982. "items" : {
  50983. "$ref" : "#/components/schemas/Attachment"
  50984. }
  50985. },
  50986. "business_scene" : {
  50987. "type" : "string",
  50988. "description" : "流程主题(简要概括合同的签署内容)",
  50989. "example" : "爱租机手机交付单;某某公司劳动合同等"
  50990. },
  50991. "config_info" : {
  50992. "$ref" : "#/components/schemas/ConfigInfoBean"
  50993. },
  50994. "template_infos" : {
  50995. "type" : "array",
  50996. "description" : "模板信息(基于合同模板填充内容生成待签文件,并指定签署人)",
  50997. "items" : {
  50998. "$ref" : "#/components/schemas/TemplateInfoBean"
  50999. }
  51000. }
  51001. }
  51002. },
  51003. "AlipayEcoContractSignflowsCreateResponseModel" : {
  51004. "type" : "object",
  51005. "properties" : {
  51006. "flow_id" : {
  51007. "type" : "string",
  51008. "description" : "电子合同流程id(需记录到业务系统中,后续相关服务调用都基于此ID)",
  51009. "example" : "56b75290982d472b8d60133cd9a747a3"
  51010. }
  51011. }
  51012. },
  51013. "AlipayEcoDocTemplateCreateErrorResponseModel" : {
  51014. "required" : [ "code", "message" ],
  51015. "type" : "object",
  51016. "properties" : {
  51017. "code" : {
  51018. "type" : "string",
  51019. "description" : "错误码",
  51020. "enum" : [ "SYSTEM_ERROR", "PARAM_ERROR" ]
  51021. },
  51022. "links" : {
  51023. "type" : "string",
  51024. "description" : "解决方案链接"
  51025. },
  51026. "message" : {
  51027. "type" : "string",
  51028. "description" : "错误描述"
  51029. }
  51030. }
  51031. },
  51032. "AlipayEcoDocTemplateCreateModel" : {
  51033. "type" : "object",
  51034. "properties" : {
  51035. "content_md_5" : {
  51036. "type" : "string",
  51037. "description" : "模版文件的md5值。示例代码参见 <a href=\"https://opendocs.alipay.com/mini/00arl2#%E5%88%9B%E5%BB%BA%E5%90%88%E5%90%8C%E6%A8%A1%E6%9D%BF\">创建合同模板</a>",
  51038. "example" : "L+K1FXfqwcY6LJ0LFXb7gQ=="
  51039. },
  51040. "content_type" : {
  51041. "type" : "string",
  51042. "description" : "目标文件的MIME类型。示例代码参见 <a href=\"https://opendocs.alipay.com/mini/00arl2#%E5%88%9B%E5%BB%BA%E5%90%88%E5%90%8C%E6%A8%A1%E6%9D%BF\">创建合同模板</a>",
  51043. "example" : "application/octet-stream"
  51044. },
  51045. "convert_to_pdf" : {
  51046. "type" : "string",
  51047. "description" : "是否需要转成pdf,如果模板文件为.doc/.docx 传true,为pdf传false",
  51048. "example" : "false"
  51049. },
  51050. "file_name" : {
  51051. "type" : "string",
  51052. "description" : "文件名称,必须带上文件扩展名如 .pdf、.doc、.docx,否则会导致后续发起流程校验异常。",
  51053. "example" : "劳动合同.PDF"
  51054. }
  51055. }
  51056. },
  51057. "AlipayEcoDocTemplateCreateResponseModel" : {
  51058. "type" : "object",
  51059. "properties" : {
  51060. "template_id" : {
  51061. "type" : "string",
  51062. "description" : "模板id(请记录模板ID(templateId),后续发起合同签署需要使用到)",
  51063. "example" : "049d33945cde46b7953bf377fe2a7608"
  51064. },
  51065. "upload_url" : {
  51066. "type" : "string",
  51067. "description" : "文件直传地址,需要用此上传地址使用PUT方式上传文件,只有文件上传后模板才可用",
  51068. "example" : "https://esignoss.oss-cn-hangzhou.aliyuncs.com/1111563786/d8d35867-744b-47f3-890f-e3650efd99e1/%E9%99%84%E4%BB%B6.zip?Expires=1561472338&OSSAccess..."
  51069. }
  51070. }
  51071. },
  51072. "AlipayEcoDoctemplateSettingurlQueryErrorResponseModel" : {
  51073. "required" : [ "code", "message" ],
  51074. "type" : "object",
  51075. "properties" : {
  51076. "code" : {
  51077. "type" : "string",
  51078. "description" : "错误码",
  51079. "enum" : [ "SYSTEM_ERROR", "PARAM_ERROR", "TEMPLATE_FILE_IS_NOT_CONVERT" ]
  51080. },
  51081. "links" : {
  51082. "type" : "string",
  51083. "description" : "解决方案链接"
  51084. },
  51085. "message" : {
  51086. "type" : "string",
  51087. "description" : "错误描述"
  51088. }
  51089. }
  51090. },
  51091. "AlipayEcoDoctemplateSettingurlQueryResponseModel" : {
  51092. "type" : "object",
  51093. "properties" : {
  51094. "setting_url" : {
  51095. "type" : "string",
  51096. "description" : "模板设置地址",
  51097. "example" : "https://t.tsign.cn/9rT0KvuVQdDJ"
  51098. }
  51099. }
  51100. },
  51101. "AlipayEcoEduKtBillingModifyErrorResponseModel" : {
  51102. "required" : [ "code", "message" ],
  51103. "type" : "object",
  51104. "properties" : {
  51105. "code" : {
  51106. "type" : "string",
  51107. "description" : "错误码",
  51108. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "EDU_ISV_NOT_EXIST", "SCHOOL_NOT_EXIST", "EDU_ISV_SCHOOL_NOT_EXIST", "ALIPAY_QUERY_ORDER_FAIL", "USER_INFO_ERROR", "ILLEGAL_PARAM", "INVALID_PARAMETER_REFUND_FAILED" ]
  51109. },
  51110. "links" : {
  51111. "type" : "string",
  51112. "description" : "解决方案链接"
  51113. },
  51114. "message" : {
  51115. "type" : "string",
  51116. "description" : "错误描述"
  51117. }
  51118. }
  51119. },
  51120. "AlipayEcoEduKtBillingModifyModel" : {
  51121. "type" : "object",
  51122. "properties" : {
  51123. "bank_success" : {
  51124. "type" : "string",
  51125. "description" : "成功Y,失败N",
  51126. "example" : "Y"
  51127. },
  51128. "buyer_logon_id" : {
  51129. "type" : "string",
  51130. "description" : "退款时,支付宝返回的用户的登录id",
  51131. "example" : "159****5620"
  51132. },
  51133. "buyer_user_id" : {
  51134. "type" : "string",
  51135. "description" : "支付宝返回的买家支付宝用户id",
  51136. "example" : "2088101117955611"
  51137. },
  51138. "buyer_user_open_id" : {
  51139. "type" : "string",
  51140. "description" : "支付宝返回的买家支付宝用户id加密后信息",
  51141. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  51142. },
  51143. "fund_change" : {
  51144. "type" : "string",
  51145. "description" : "本次退款是否发生了资金变化",
  51146. "example" : "Y"
  51147. },
  51148. "gmt_refund" : {
  51149. "type" : "string",
  51150. "description" : "支付宝返回的退款时间,而不是商户退款申请的时间",
  51151. "example" : "2015-11-27 15:45:57"
  51152. },
  51153. "out_request_no" : {
  51154. "type" : "string",
  51155. "description" : "标识一次退款请求,同一笔交易多次退款需要保证唯一,如需部分退款,则此参数必传。(若退款时填写,则同步退款状态时也必须填写)",
  51156. "example" : "HZ01RF001"
  51157. },
  51158. "out_trade_no" : {
  51159. "type" : "string",
  51160. "description" : "isv系统的订单号",
  51161. "example" : "20160101909909354354354"
  51162. },
  51163. "refund_amount" : {
  51164. "type" : "string",
  51165. "description" : "需要退款的金额,该金额不能大于订单金额,单位为元,支持两位小数",
  51166. "example" : "200.12"
  51167. },
  51168. "refund_detail_item_list" : {
  51169. "type" : "string",
  51170. "description" : "支付宝返回的退款资金渠道,json格式字符串",
  51171. "example" : "{\r\n\t\"fund_channel\":\"ALIPAYACCOUNT\",\r\n\t\"amount\":12.00,\r\n\t\"real_amount\":12.00\r\n\t\r\n}"
  51172. },
  51173. "refund_reason" : {
  51174. "type" : "string",
  51175. "description" : "退款原因,商家根据客户实际退款原因填写(若退款时填写,则同步退款状态时也必须填写)",
  51176. "example" : "正常退款"
  51177. },
  51178. "status" : {
  51179. "type" : "string",
  51180. "description" : "状态:1:缴费成功,2:关闭账单,3、退费\r\t如果为退款状态,需要填写fund_change, \r\trefund_amount, refund_reason,\r\tout_request_no, buyer_logon_id,\r\tgmt_refund,\r\tbuyer_user_id, refund_detail_item_list;\r\t4、同步网商返回的状态,如果是网商银行的账单,bank_success这个字段必填",
  51181. "example" : "1"
  51182. },
  51183. "trade_no" : {
  51184. "type" : "string",
  51185. "description" : "支付宝返回的交易号",
  51186. "example" : "2014112611001004680073956707"
  51187. }
  51188. }
  51189. },
  51190. "AlipayEcoEduKtBillingModifyResponseModel" : {
  51191. "type" : "object",
  51192. "properties" : {
  51193. "status" : {
  51194. "type" : "string",
  51195. "description" : "如果成功,返回Y",
  51196. "example" : "Y"
  51197. }
  51198. }
  51199. },
  51200. "AlipayEcoEduKtBillingQueryErrorResponseModel" : {
  51201. "required" : [ "code", "message" ],
  51202. "type" : "object",
  51203. "properties" : {
  51204. "code" : {
  51205. "type" : "string",
  51206. "description" : "错误码",
  51207. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ILLEGAL_PARAM" ]
  51208. },
  51209. "links" : {
  51210. "type" : "string",
  51211. "description" : "解决方案链接"
  51212. },
  51213. "message" : {
  51214. "type" : "string",
  51215. "description" : "错误描述"
  51216. }
  51217. }
  51218. },
  51219. "AlipayEcoEduKtBillingQueryResponseModel" : {
  51220. "type" : "object",
  51221. "properties" : {
  51222. "order_status" : {
  51223. "type" : "string",
  51224. "description" : "NOT_PAY 待缴费\r\tPAYING 支付中\r\tPAY_SUCCESS 支付成功,处理中\r\tBILLING_SUCCESS 缴费成功\r\tTIMEOUT_CLOSED 逾期关闭账单\r\tISV_CLOSED 账单关闭",
  51225. "example" : "NOT_PAY"
  51226. },
  51227. "out_trade_no" : {
  51228. "type" : "string",
  51229. "description" : "ISV发送账单时输入ISV端的账单号",
  51230. "example" : "2017097634092"
  51231. }
  51232. }
  51233. },
  51234. "AlipayEcoEduKtBillingSendErrorResponseModel" : {
  51235. "required" : [ "code", "message" ],
  51236. "type" : "object",
  51237. "properties" : {
  51238. "code" : {
  51239. "type" : "string",
  51240. "description" : "错误码",
  51241. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "ILLEGAL_PARAM" ]
  51242. },
  51243. "links" : {
  51244. "type" : "string",
  51245. "description" : "解决方案链接"
  51246. },
  51247. "message" : {
  51248. "type" : "string",
  51249. "description" : "错误描述"
  51250. }
  51251. }
  51252. },
  51253. "AlipayEcoEduKtBillingSendModel" : {
  51254. "type" : "object",
  51255. "properties" : {
  51256. "amount" : {
  51257. "type" : "string",
  51258. "description" : "总金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000],\r\t如果是非多选项,是要和缴费项的总和相同,多选模式不做验证",
  51259. "example" : "88.88"
  51260. },
  51261. "charge_bill_title" : {
  51262. "type" : "string",
  51263. "description" : "缴费账单名称",
  51264. "example" : "学生开学收费项"
  51265. },
  51266. "charge_item" : {
  51267. "type" : "array",
  51268. "description" : "缴费详情:输入json格式字符串。Json定义:key填写缴费项名称,value填写缴费项金额,金额保留2位小数",
  51269. "items" : {
  51270. "$ref" : "#/components/schemas/ChargeItems"
  51271. }
  51272. },
  51273. "charge_type" : {
  51274. "type" : "string",
  51275. "description" : "缴费项模式:空或\"N\",表示缴费项不可选,\r\t\"M\"表示缴费项为可选 ,支持单选和多选。",
  51276. "example" : "M"
  51277. },
  51278. "child_name" : {
  51279. "type" : "string",
  51280. "description" : "孩子名字",
  51281. "example" : "张晓晓"
  51282. },
  51283. "class_in" : {
  51284. "type" : "string",
  51285. "description" : "孩子所在班级",
  51286. "example" : "3班"
  51287. },
  51288. "end_enable" : {
  51289. "type" : "string",
  51290. "description" : "截止日期是否生效,与gmt_end发布配合使用,N为gmt_end不生效,用户过期后仍可以缴费;Y为gmt_end生效,用户过期后,不能再缴费。",
  51291. "example" : "Y"
  51292. },
  51293. "ext_info" : {
  51294. "$ref" : "#/components/schemas/BillSendExtInfo"
  51295. },
  51296. "gmt_end" : {
  51297. "type" : "string",
  51298. "description" : "缴费截止时间,格式\"yyyy-MM-dd HH:mm:ss\",日期要大于当前时间。请注意,过期时间不宜设置过短。",
  51299. "example" : "2016-01-01 13:13:13"
  51300. },
  51301. "grade" : {
  51302. "type" : "string",
  51303. "description" : "孩子所在年级",
  51304. "example" : "高一"
  51305. },
  51306. "out_trade_no" : {
  51307. "type" : "string",
  51308. "description" : "ISV端的缴费账单编号",
  51309. "example" : "20160232343253253453"
  51310. },
  51311. "partner_id" : {
  51312. "type" : "string",
  51313. "description" : "Isv支付宝pid, 支付宝签约后,返回给ISV编号",
  51314. "example" : "201600129391238873"
  51315. },
  51316. "school_no" : {
  51317. "type" : "string",
  51318. "description" : "学校编码,录入学校接口返回的参数",
  51319. "example" : "11010100000002"
  51320. },
  51321. "school_pid" : {
  51322. "type" : "string",
  51323. "description" : "学校支付宝pid,直付通填写smid",
  51324. "example" : "20880012939123234423"
  51325. },
  51326. "student_code" : {
  51327. "type" : "string",
  51328. "description" : "学生的学号,只支持字母和数字类型,一般以教育局学号为准,作为学生的唯一标识。此字段与student_identify、家长user_mobile至少选一个",
  51329. "example" : "2098453900091"
  51330. },
  51331. "student_identify" : {
  51332. "type" : "string",
  51333. "description" : "学生的身份证号,如果ISV有学生身份证号,则同步身份证号作为学生唯一标识。此字段与student_code、家长user_mobile至少选一个。\r\t大陆身份证必须是18位 , 其它地区或国家的身份证开头需要加\"IC\"开头区分并且不超过18位,但查询账单的时候不要带\"IC\"",
  51334. "example" : "310193199905289483"
  51335. },
  51336. "users" : {
  51337. "type" : "array",
  51338. "description" : "孩子的家长信息,最多一次输入10个家长,此字段做为识别家长的孩子用,与student_identify、student_code至少选一个",
  51339. "items" : {
  51340. "$ref" : "#/components/schemas/UserDetails"
  51341. }
  51342. }
  51343. }
  51344. },
  51345. "AlipayEcoEduKtBillingSendResponseModel" : {
  51346. "type" : "object",
  51347. "properties" : {
  51348. "order_no" : {
  51349. "type" : "string",
  51350. "description" : "支付宝-中小学-教育缴费的账单号",
  51351. "example" : "20160101909909354354354"
  51352. }
  51353. }
  51354. },
  51355. "AlipayEcoEduKtParentQueryErrorResponseModel" : {
  51356. "required" : [ "code", "message" ],
  51357. "type" : "object",
  51358. "properties" : {
  51359. "code" : {
  51360. "type" : "string",
  51361. "description" : "错误码",
  51362. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  51363. },
  51364. "links" : {
  51365. "type" : "string",
  51366. "description" : "解决方案链接"
  51367. },
  51368. "message" : {
  51369. "type" : "string",
  51370. "description" : "错误描述"
  51371. }
  51372. }
  51373. },
  51374. "AlipayEcoEduKtParentQueryResponseModel" : {
  51375. "type" : "object",
  51376. "properties" : {
  51377. "status" : {
  51378. "type" : "string",
  51379. "description" : "如果用户已经添加过这个孩子,则返回SUCCESS , 失败返回FAIL。",
  51380. "example" : "SUCCESS"
  51381. }
  51382. }
  51383. },
  51384. "AlipayEcoEduKtSchoolinfoModifyErrorResponseModel" : {
  51385. "required" : [ "code", "message" ],
  51386. "type" : "object",
  51387. "properties" : {
  51388. "code" : {
  51389. "type" : "string",
  51390. "description" : "错误码",
  51391. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "INVALID_PARAMETER_COLLEGE_SCHOOL_TYPE_ERROR" ]
  51392. },
  51393. "links" : {
  51394. "type" : "string",
  51395. "description" : "解决方案链接"
  51396. },
  51397. "message" : {
  51398. "type" : "string",
  51399. "description" : "错误描述"
  51400. }
  51401. }
  51402. },
  51403. "AlipayEcoEduKtSchoolinfoModifyModel" : {
  51404. "type" : "object",
  51405. "properties" : {
  51406. "bank_notify_url" : {
  51407. "type" : "string",
  51408. "description" : "与浙江网商交易见证平台有交互ISV输入网商交易异步通知回调URL,教育缴费同步账单信息给网商,网商会回调此url,ISV即可获取网商相关的参数,根据教育缴费平台账单发送接口返回的 order_no和网商返回的outer_trade_no来对应账单信息。",
  51409. "example" : "https://www.xxx.xxx/xx"
  51410. },
  51411. "bank_partner_id" : {
  51412. "type" : "string",
  51413. "description" : "与浙江网商交易见证平台有交互的ISV,由交易见证平台分配给合作方业务平台 签约唯一ID ,由网商分配给ISV的渠道参数",
  51414. "example" : "200002924334"
  51415. },
  51416. "bank_uid" : {
  51417. "type" : "string",
  51418. "description" : "与浙江网商交易见证平台有交互的ISV在创建账户时的uid,也就是ISV平台上的用户ID(字母或数字)",
  51419. "example" : "20000293230232"
  51420. },
  51421. "bankcard_no" : {
  51422. "type" : "string",
  51423. "description" : "对应集团到卡模式的银行编号.学校与支付宝后台签约时,由学校提交给支付宝的编号",
  51424. "example" : "P0004"
  51425. },
  51426. "batch_no" : {
  51427. "type" : "string",
  51428. "description" : "集团收单模式:分账批次号,支付宝配置后提供的银行卡批次号",
  51429. "example" : "201812180111030000034567270022"
  51430. },
  51431. "card_alias_no" : {
  51432. "type" : "string",
  51433. "description" : "学校开通直付通卡编号,smid与card_alias_no必须同时填写",
  51434. "example" : "c6c0c7a1b9d54e5db9d49eed39f00e65"
  51435. },
  51436. "city_code" : {
  51437. "type" : "string",
  51438. "description" : "城市的国家编码。参见 <a href=\"http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/\">国家统计局出版的行政区划代码</a>。",
  51439. "example" : "330100"
  51440. },
  51441. "city_name" : {
  51442. "type" : "string",
  51443. "description" : "城市名称",
  51444. "example" : "杭州市"
  51445. },
  51446. "corporate_branch_pid" : {
  51447. "type" : "string",
  51448. "description" : "集团收单模式:BD批量上传银行卡信息后,支付宝系统分配给ISV的每个卡分配的唯一标识",
  51449. "example" : "2088301031335812"
  51450. },
  51451. "district_code" : {
  51452. "type" : "string",
  51453. "description" : "区县的国家编码。参见 <a href=\"http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/\">国家统计局出版的行政区划代码</a>。",
  51454. "example" : "330106"
  51455. },
  51456. "district_name" : {
  51457. "type" : "string",
  51458. "description" : "区县名称",
  51459. "example" : "西湖区"
  51460. },
  51461. "isv_name" : {
  51462. "type" : "string",
  51463. "description" : "ISV公司名称 , 会在账单详情页面展示给用户",
  51464. "example" : "杭州少年宫"
  51465. },
  51466. "isv_no" : {
  51467. "type" : "string",
  51468. "description" : "注意:本参数于2017-08-03开始已经废弃,不再需要传递。\t由支付宝提供的给已经签约的isv的编码,业务上一般直接采用isv的支付宝PID。",
  51469. "example" : "201600129391238873"
  51470. },
  51471. "isv_notify_url" : {
  51472. "type" : "string",
  51473. "description" : "此通知地址是为了保持教育缴费平台与ISV商户支付状态一致性。用户支付成功后,支付宝会根据本isv_notify_url(异步通知说明https://docs.open.alipay.com/203/105286/),通过POST请求的形式将支付结果作为参数通知到商户系统,ISV商户可以根据返回的参数更新账单状态。",
  51474. "example" : "https://isv.com/xxx"
  51475. },
  51476. "isv_phone" : {
  51477. "type" : "string",
  51478. "description" : "ISV的联系方式 , 会在账单详情页面展示给用户,用户有问题可以直接联系此电话获取帮助",
  51479. "example" : "13300000000"
  51480. },
  51481. "isv_pid" : {
  51482. "type" : "string",
  51483. "description" : "填写已经签约教育缴费的isv的支付宝PID",
  51484. "example" : "2088121212121212"
  51485. },
  51486. "province_code" : {
  51487. "type" : "string",
  51488. "description" : "省份的国家编码,参见 <a href=\"http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/\">国家统计局出版的行政区划代码</a>。",
  51489. "example" : "330000"
  51490. },
  51491. "province_name" : {
  51492. "type" : "string",
  51493. "description" : "省名称",
  51494. "example" : "浙江省"
  51495. },
  51496. "school_icon" : {
  51497. "type" : "string",
  51498. "description" : "学校的校徽或logo,在学校展示页面作为学校的标识。该字段为图片的链接地址,只支持png或jpg图片格式,图片高度为108,宽度为108 ,不大于20k。\r\t注意:此链接要求公网可以访问,否则无法正常展示。",
  51499. "example" : "http://ecopublic-dev.oss-cn-hangzhou.aliyuncs.com/eco/edu_alipay/school/school.png"
  51500. },
  51501. "school_icon_type" : {
  51502. "type" : "string",
  51503. "description" : "如果填写了school_icon参数,则此字段不能为空。目前只支持png和jpg两种格式",
  51504. "example" : "png"
  51505. },
  51506. "school_name" : {
  51507. "type" : "string",
  51508. "description" : "学校名称",
  51509. "example" : "杭州市西湖第一实验学校"
  51510. },
  51511. "school_pid" : {
  51512. "type" : "string",
  51513. "description" : "学校签约支付宝教育缴费支付宝pid,如果是直付通学校,填写直付通返回的smid",
  51514. "example" : "20880012939123234423"
  51515. },
  51516. "school_stdcode" : {
  51517. "type" : "string",
  51518. "description" : "学校(机构)标识码(由教育部按照国家标准及编码规则编制,可以在教育局官网查询)",
  51519. "example" : "3133005132"
  51520. },
  51521. "school_type" : {
  51522. "type" : "string",
  51523. "description" : "学校的类型。枚举值如下:\t*1:代表托儿所。\t*2:代表幼儿园。\t*3:代表小学。\t*4:代表初中。\t*5:代表高中。\t注意:如果学校兼有多种属性,可以连写,比如:45:代表兼有初中部高中部;34:代表兼有小学部初中部。",
  51524. "example" : "4"
  51525. },
  51526. "smid" : {
  51527. "type" : "string",
  51528. "description" : "学校开通直付通返回的二级商户id,smid与card_alias_no必须同时填写",
  51529. "example" : "2088301031335814"
  51530. },
  51531. "trans_in" : {
  51532. "type" : "string",
  51533. "description" : "集团收单模式:分账批次号,支付宝配置后提供的银行卡批次号",
  51534. "example" : "4325353"
  51535. },
  51536. "white_channel_code" : {
  51537. "type" : "string",
  51538. "description" : "与浙江网商交易见证平台有交互的ISV,由网商分配给ISV的渠道参数",
  51539. "example" : "TESTBANK10301"
  51540. }
  51541. }
  51542. },
  51543. "AlipayEcoEduKtSchoolinfoModifyResponseModel" : {
  51544. "type" : "object",
  51545. "properties" : {
  51546. "school_no" : {
  51547. "type" : "string",
  51548. "description" : "支付宝分配给学校的编码,作为学校在支付宝的标识",
  51549. "example" : "11010100000002"
  51550. },
  51551. "status" : {
  51552. "type" : "string",
  51553. "description" : "Y:代表成功;N:代表失败",
  51554. "example" : "Y"
  51555. }
  51556. }
  51557. },
  51558. "AlipayEcoEduKtStudentModifyErrorResponseModel" : {
  51559. "required" : [ "code", "message" ],
  51560. "type" : "object",
  51561. "properties" : {
  51562. "code" : {
  51563. "type" : "string",
  51564. "description" : "错误码",
  51565. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  51566. },
  51567. "links" : {
  51568. "type" : "string",
  51569. "description" : "解决方案链接"
  51570. },
  51571. "message" : {
  51572. "type" : "string",
  51573. "description" : "错误描述"
  51574. }
  51575. }
  51576. },
  51577. "AlipayEcoEduKtStudentModifyModel" : {
  51578. "type" : "object",
  51579. "properties" : {
  51580. "child_name" : {
  51581. "type" : "string",
  51582. "description" : "修改后的学生姓名\r\t本接口调用时,child_name、student_code、student_identify、users这几个参数至少需要填写其中一个,不能同时为空",
  51583. "example" : "张三"
  51584. },
  51585. "isv_pid" : {
  51586. "type" : "string",
  51587. "description" : "已经签约教育缴费的isv的支付宝PID",
  51588. "example" : "2088121212121212"
  51589. },
  51590. "school_no" : {
  51591. "type" : "string",
  51592. "description" : "学校编号,调用alipay.eco.edu.kt.schoolinfo.modify接口录入学校信息时,接口返回的编号",
  51593. "example" : "11010100000001"
  51594. },
  51595. "school_pid" : {
  51596. "type" : "string",
  51597. "description" : "学校用来签约支付宝教育缴费的支付宝PID",
  51598. "example" : "2088101117955611"
  51599. },
  51600. "status" : {
  51601. "type" : "string",
  51602. "description" : "区分ISV操作,“D”表示删除,“U”表示更新,区分大小写。\r\t如果为U,则学生名字,学号,身份证至少填写一项",
  51603. "example" : "U"
  51604. },
  51605. "student_code" : {
  51606. "type" : "string",
  51607. "description" : "修改后的学号\r\t本接口调用时,child_name、student_code、student_identify、users这几个参数至少需要填写其中一个,不能同时为空",
  51608. "example" : "6589154"
  51609. },
  51610. "student_identify" : {
  51611. "type" : "string",
  51612. "description" : "修改后的身份证号码\r\t本接口调用时,child_name、student_code、student_identify、users这几个参数至少需要填写其中一个,不能同时为空",
  51613. "example" : "610824197812044680"
  51614. },
  51615. "student_no" : {
  51616. "type" : "string",
  51617. "description" : "支付宝-中小学-教育缴费生成的学生唯一编号",
  51618. "example" : "57de63cb1ef157595c005467"
  51619. },
  51620. "users" : {
  51621. "type" : "array",
  51622. "description" : "孩子的家长信息,最多一次输入20个家长。如果输入的家长信息不存在,则该改学生增加家长信息\r\t本接口调用时,child_name、student_code、student_identify、users这几个参数至少需要填写其中一个,不能同时为空",
  51623. "items" : {
  51624. "$ref" : "#/components/schemas/UserDetails"
  51625. }
  51626. }
  51627. }
  51628. },
  51629. "AlipayEcoEduKtStudentModifyResponseModel" : {
  51630. "type" : "object",
  51631. "properties" : {
  51632. "status" : {
  51633. "type" : "string",
  51634. "description" : "Y:代表成功;N:代表失败",
  51635. "example" : "Y"
  51636. }
  51637. }
  51638. },
  51639. "AlipayEcoFilePathQueryErrorResponseModel" : {
  51640. "required" : [ "code", "message" ],
  51641. "type" : "object",
  51642. "properties" : {
  51643. "code" : {
  51644. "type" : "string",
  51645. "description" : "错误码",
  51646. "enum" : [ "PARAM_ERROR", "SYSTEM_ERROR" ]
  51647. },
  51648. "links" : {
  51649. "type" : "string",
  51650. "description" : "解决方案链接"
  51651. },
  51652. "message" : {
  51653. "type" : "string",
  51654. "description" : "错误描述"
  51655. }
  51656. }
  51657. },
  51658. "AlipayEcoFilePathQueryResponseModel" : {
  51659. "type" : "object",
  51660. "properties" : {
  51661. "file_id" : {
  51662. "type" : "string",
  51663. "description" : "文件Id",
  51664. "example" : "049d33945cde46b7953bf377fe2a7608"
  51665. },
  51666. "upload_url" : {
  51667. "type" : "string",
  51668. "description" : "文件直传地址, 可以重复使用,但是只能传一样的文件,有效期一小时",
  51669. "example" : "https://esignoss.oss-cn-hangzhou.aliyuncs.com/1111563786/d8d35867-744b-47f3-890f-e3650efd99e1/%E9%99%84%E4%BB%B6.zip?Expires=1561472338&OSSAccess..."
  51670. }
  51671. }
  51672. },
  51673. "AlipayEcoMycarParkingChargeinfoSyncErrorResponseModel" : {
  51674. "required" : [ "code", "message" ],
  51675. "type" : "object",
  51676. "properties" : {
  51677. "code" : {
  51678. "type" : "string",
  51679. "description" : "错误码",
  51680. "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "MERCHANT_VERIFY_FAILED", "EMPTY_PARAMETER", "PARAMETER_FORMAT_ERR", "PARKING_ID_EMPTY", "IS_CHARGE_EMPTY", "IS_CHARGE_INVALID", "PARKING_SPACE_COUNT_EMPTY", "BUSINESS_HOURS_EMPTY", "HAS_CHARGING_PILE_EMPTY", "HAS_CHARGING_PILE_INVALID", "FREE_PERIOD_EMPTY", "DAILY_PRICE_UPPERBOUND_EMPTY", "DAYLIGHT_BUSINESS_HOURS_EMPTY", "NIGHT_BUSINESS_HOURS_EMPTY", "CAR_DAYLIGHT_BASE_PRICE_EMPTY", "CAR_DAYLIGHT_ADVANCED_PRICE_EMPT", "CAR_NIGHT_BASE_PRICE_EMPTY", "CAR_NIGHT_ADVANCED_PRICE_EMPTY", "TRUCK_DAYLIGHT_BASE_PRICE_EMPTY", "TRUCK_DAYLIGHT_ADVANCED_PRICE_EM", "TRUCK_NIGHT_BASE_PRICE_EMPTY", "TRUCK_NIGHT_ADVANCED_PRICE_EMPTY" ]
  51681. },
  51682. "links" : {
  51683. "type" : "string",
  51684. "description" : "解决方案链接"
  51685. },
  51686. "message" : {
  51687. "type" : "string",
  51688. "description" : "错误描述"
  51689. }
  51690. }
  51691. },
  51692. "AlipayEcoMycarParkingChargeinfoSyncModel" : {
  51693. "type" : "object",
  51694. "properties" : {
  51695. "business_hours" : {
  51696. "type" : "string",
  51697. "description" : "营业时间",
  51698. "example" : "24小时"
  51699. },
  51700. "car_daylight_advanced_price" : {
  51701. "type" : "string",
  51702. "description" : "小车-白天 非首个计费单元价格",
  51703. "example" : "3元/小时或1.5元/30分钟"
  51704. },
  51705. "car_daylight_base_price" : {
  51706. "type" : "string",
  51707. "description" : "小车-白天 首个计费单元价格",
  51708. "example" : "10元/1小时或5元/30分钟"
  51709. },
  51710. "car_night_advanced_price" : {
  51711. "type" : "string",
  51712. "description" : "小车-夜间 非首个计费单元价格",
  51713. "example" : "3元/小时或1.5元/30分钟"
  51714. },
  51715. "car_night_base_price" : {
  51716. "type" : "string",
  51717. "description" : "小车-夜间 首个计费单元价格",
  51718. "example" : "10元/1小时或5元/30分钟"
  51719. },
  51720. "car_onetime_price" : {
  51721. "type" : "string",
  51722. "description" : "小车 计次收费价格\r\txx元 / 次,按次收费的车场填写",
  51723. "example" : "20元/次"
  51724. },
  51725. "daily_price_upperbound" : {
  51726. "type" : "string",
  51727. "description" : "单日停车封顶价格:具体值或“不封顶”",
  51728. "example" : "260元或不封顶"
  51729. },
  51730. "daylight_business_hours" : {
  51731. "type" : "string",
  51732. "description" : "车场白天(收费)营业时间段",
  51733. "example" : "9:00-21:00"
  51734. },
  51735. "free_period" : {
  51736. "type" : "string",
  51737. "description" : "单次停车免费时长",
  51738. "example" : "30分钟"
  51739. },
  51740. "has_charging_pile" : {
  51741. "type" : "string",
  51742. "description" : "是否有充电桩: -1 未知,0 否,1 是",
  51743. "example" : "1"
  51744. },
  51745. "is_charge" : {
  51746. "type" : "string",
  51747. "description" : "是否收费:-1 未知,0 否,1 是",
  51748. "example" : "1"
  51749. },
  51750. "night_business_hours" : {
  51751. "type" : "string",
  51752. "description" : "车场夜间(收费)营业时间段",
  51753. "example" : "21:00-9:00"
  51754. },
  51755. "parking_id" : {
  51756. "type" : "string",
  51757. "description" : "停车场ID",
  51758. "example" : "PI20190506152394234234"
  51759. },
  51760. "parking_space_count" : {
  51761. "type" : "integer",
  51762. "description" : "总车位数",
  51763. "example" : "1600"
  51764. },
  51765. "remark" : {
  51766. "type" : "string",
  51767. "description" : "复杂计费补充描述\r\t收费复杂无法格式化的车场填写,以文本形式表述",
  51768. "example" : "前3小时XXX,3-6小时之间XXX,超过6小时XXXX"
  51769. },
  51770. "truck_daylight_advanced_price" : {
  51771. "type" : "string",
  51772. "description" : "大车-白天 非首个计费单元价格",
  51773. "example" : "3元/小时或1.5元/30分钟"
  51774. },
  51775. "truck_daylight_base_price" : {
  51776. "type" : "string",
  51777. "description" : "大车-白天 首个计费单元价格",
  51778. "example" : "10元/1小时或5元/30分钟"
  51779. },
  51780. "truck_night_advanced_price" : {
  51781. "type" : "string",
  51782. "description" : "大车-夜间 非首个计费单元价格",
  51783. "example" : "4元/次"
  51784. },
  51785. "truck_night_base_price" : {
  51786. "type" : "string",
  51787. "description" : "大车-夜间 首个计费单元价格",
  51788. "example" : "3元/小时或1.5元/30分钟"
  51789. },
  51790. "truck_onetime_price" : {
  51791. "type" : "string",
  51792. "description" : "大车 计次收费价格\r\txx元 / 次,按次收费的车场填写",
  51793. "example" : "30元/次"
  51794. }
  51795. }
  51796. },
  51797. "AlipayEcoMycarParkingChargeinfoSyncResponseModel" : {
  51798. "type" : "object",
  51799. "properties" : {
  51800. "sync_result" : {
  51801. "type" : "string",
  51802. "description" : "同步结果:0 成功,1 失败",
  51803. "example" : "0"
  51804. }
  51805. }
  51806. },
  51807. "AlipayEcoMycarParkingCharginginfoSyncErrorResponseModel" : {
  51808. "required" : [ "code", "message" ],
  51809. "type" : "object",
  51810. "properties" : {
  51811. "code" : {
  51812. "type" : "string",
  51813. "description" : "错误码",
  51814. "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  51815. },
  51816. "links" : {
  51817. "type" : "string",
  51818. "description" : "解决方案链接"
  51819. },
  51820. "message" : {
  51821. "type" : "string",
  51822. "description" : "错误描述"
  51823. }
  51824. }
  51825. },
  51826. "AlipayEcoMycarParkingCharginginfoSyncModel" : {
  51827. "type" : "object",
  51828. "properties" : {
  51829. "car_number" : {
  51830. "type" : "string",
  51831. "description" : "车牌号",
  51832. "example" : "浙Axxxxx"
  51833. },
  51834. "isv_url" : {
  51835. "type" : "string",
  51836. "description" : "智能助理当前的跳转链接",
  51837. "example" : "http://xxxxxx"
  51838. },
  51839. "parking_id" : {
  51840. "type" : "string",
  51841. "description" : "支付宝停车平台ID,由支付宝定义的该停车场标识,同一个isv或商户范围内唯一。通过 alipay.eco.mycar.parking.parkinglotinfo.create(录入停车场信息)接口获取。",
  51842. "example" : "2015042321001004720200028594"
  51843. },
  51844. "serial_no" : {
  51845. "type" : "string",
  51846. "description" : "支付宝业务流水号,用于记录车辆从驶入到驶出的全流程。通过 alipay.eco.mycar.parking.enterinfo.sync\t(车辆驶入接口)接口获取。",
  51847. "example" : "2020090711003017233600000001"
  51848. }
  51849. }
  51850. },
  51851. "AlipayEcoMycarParkingCharginginfoSyncResponseModel" : {
  51852. "type" : "object"
  51853. },
  51854. "AlipayEcoMycarParkingConfigQueryErrorResponseModel" : {
  51855. "required" : [ "code", "message" ],
  51856. "type" : "object",
  51857. "properties" : {
  51858. "code" : {
  51859. "type" : "string",
  51860. "description" : "错误码",
  51861. "enum" : [ "SYSTEM_ERROR", "INTERFACE_TYPE_IS_ILLEGAL", "MERCHANT_INFO_IS_EMPTY", "INTERFACE_INFO_IS_EMPTY", "SERVICE_NAME_IS_ILLEGAL" ]
  51862. },
  51863. "links" : {
  51864. "type" : "string",
  51865. "description" : "解决方案链接"
  51866. },
  51867. "message" : {
  51868. "type" : "string",
  51869. "description" : "错误描述"
  51870. }
  51871. }
  51872. },
  51873. "AlipayEcoMycarParkingConfigQueryResponseModel" : {
  51874. "type" : "object",
  51875. "properties" : {
  51876. "account_no" : {
  51877. "type" : "string",
  51878. "description" : "签约支付宝账号,开发者通过ISV系统配置信息注册接口(alipay.eco.mycar.parking.config.set)传入的参数值",
  51879. "example" : "1234567@126.com"
  51880. },
  51881. "interface_info_list" : {
  51882. "$ref" : "#/components/schemas/InterfaceInfoList"
  51883. },
  51884. "merchant_logo" : {
  51885. "type" : "string",
  51886. "description" : "商户在停车平台首页露出的LOGO链接地址,开发者通过ISV系统配置信息注册接口(alipay.eco.mycar.parking.config.set)调用自动生成该链接",
  51887. "example" : "http://ecopublic.oss-cn-hangzhou.aliyuncs.com/eco/carlife/parking/merchantlogo/xiaoshanjichang.png"
  51888. },
  51889. "merchant_name" : {
  51890. "type" : "string",
  51891. "description" : "商户简称,开发者通过ISV系统配置信息注册接口(alipay.eco.mycar.parking.config.set)传入的参数值",
  51892. "example" : "杭州立方"
  51893. },
  51894. "merchant_service_phone" : {
  51895. "type" : "string",
  51896. "description" : "商户客服电话,开发者通过ISV系统配置信息注册接口(alipay.eco.mycar.parking.config.set)传入的参数值",
  51897. "example" : "021-25413215"
  51898. }
  51899. }
  51900. },
  51901. "AlipayEcoMycarParkingConfigSetErrorResponseModel" : {
  51902. "required" : [ "code", "message" ],
  51903. "type" : "object",
  51904. "properties" : {
  51905. "code" : {
  51906. "type" : "string",
  51907. "description" : "错误码",
  51908. "enum" : [ "MERCHANT_NAME_IS_EMPTY", "MERCHANT_PHONE_IS_EMPTY", "ACCOUNT_NO_IS_EMPTY", "INTERFACE_TYPE_IS_EMPTY", "INTERFACE_TYPE_IS_ILLEGAL", "INTERFACE_URL_IS_EMPTY", "INTERFACE_URL_IS_ILLEGAL", "SERVICE_NAME_IS_EMPTY", "SERVICE_NAME_IS_ILLEGAL", "INTERFACE_LIST_IS_EMPTY", "SYSTEM_ERROR", "MERCHANT_LOGO_FORMAT_ERROR", "MERCHANT_LOGO_IS_ILLEGAL", "MERCHANT_LOGO_UPLOAD_ERROR", "INVALID_PARAMETER" ]
  51909. },
  51910. "links" : {
  51911. "type" : "string",
  51912. "description" : "解决方案链接"
  51913. },
  51914. "message" : {
  51915. "type" : "string",
  51916. "description" : "错误描述"
  51917. }
  51918. }
  51919. },
  51920. "AlipayEcoMycarParkingConfigSetModel" : {
  51921. "type" : "object",
  51922. "properties" : {
  51923. "account_no" : {
  51924. "type" : "string",
  51925. "description" : "签约支付宝账号",
  51926. "example" : "1234567@126.com"
  51927. },
  51928. "interface_info_list" : {
  51929. "type" : "array",
  51930. "description" : "接口信息列表,停车业务需要配置的接口列表,该值为JSON数据格式的LIST对象,现阶段只需要配置一个页面接口即可 。每次请将所有的接口配置信息都传入,未传的接口信息将会被置空。",
  51931. "items" : {
  51932. "$ref" : "#/components/schemas/InterfaceInfoList"
  51933. }
  51934. },
  51935. "merchant_logo" : {
  51936. "type" : "string",
  51937. "description" : "商户在停车平台首页露出的LOGO。\t注意:\t*该图片为PNG格式,内容为BASE64的字符串,建议图片尺寸27px*27px,大小不要超过60K。\t*若为空则停车平台首页将不露出商户LOGO。",
  51938. "example" : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAE0lEQVQImWP81mfxn4GJAYQgAAAqvgLBUG4ufAAAAABJRU5ErkJggg=="
  51939. },
  51940. "merchant_name" : {
  51941. "type" : "string",
  51942. "description" : "商户简称,由开发者提供",
  51943. "example" : "杭州立方"
  51944. },
  51945. "merchant_service_phone" : {
  51946. "type" : "string",
  51947. "description" : "商户客服电话",
  51948. "example" : "021-25413215"
  51949. }
  51950. }
  51951. },
  51952. "AlipayEcoMycarParkingConfigSetResponseModel" : {
  51953. "type" : "object"
  51954. },
  51955. "AlipayEcoMycarParkingEnterinfoSyncErrorResponseModel" : {
  51956. "required" : [ "code", "message" ],
  51957. "type" : "object",
  51958. "properties" : {
  51959. "code" : {
  51960. "type" : "string",
  51961. "description" : "错误码",
  51962. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR", "CALL_TOO_OFFTEN", "ISV_APP_ID_ILLEGAL", "SYSTEM_ERROR" ]
  51963. },
  51964. "links" : {
  51965. "type" : "string",
  51966. "description" : "解决方案链接"
  51967. },
  51968. "message" : {
  51969. "type" : "string",
  51970. "description" : "错误描述"
  51971. }
  51972. }
  51973. },
  51974. "AlipayEcoMycarParkingEnterinfoSyncModel" : {
  51975. "type" : "object",
  51976. "properties" : {
  51977. "agreement_query" : {
  51978. "type" : "boolean",
  51979. "description" : "是否启用车牌代扣状态查询功能,true为启用,false为停用",
  51980. "example" : "true"
  51981. },
  51982. "car_color" : {
  51983. "type" : "string",
  51984. "description" : "车牌颜色,车牌颜色,枚举支持:\t*BLUE:蓝。\t*GREEN:绿。\t*YELLOW:黄。\t*WHITE:白。\t*BLACK:黑。\t*LIMEGREEN:黄绿色。",
  51985. "example" : "BLUE"
  51986. },
  51987. "car_number" : {
  51988. "type" : "string",
  51989. "description" : "车牌号",
  51990. "example" : "豫C33333"
  51991. },
  51992. "entrance_id" : {
  51993. "type" : "string",
  51994. "description" : "用于识别车辆进口,多出入口车场适用",
  51995. "example" : "SN001"
  51996. },
  51997. "free_minutes" : {
  51998. "type" : "integer",
  51999. "description" : "当前停车场的入场免费时长分钟数",
  52000. "example" : "15"
  52001. },
  52002. "in_time" : {
  52003. "type" : "string",
  52004. "description" : "车辆入场的时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制,请保证服务器时间准确,入场时间不应晚于当前网络时间",
  52005. "example" : "2016-07-24 03:07:50"
  52006. },
  52007. "is_encrypt_car_number" : {
  52008. "type" : "boolean",
  52009. "description" : "是否加密,默认为false",
  52010. "example" : "true"
  52011. },
  52012. "isv_url" : {
  52013. "type" : "string",
  52014. "description" : "智能助理当前的跳转链接。为ISV/<a href=\"https://opendocs.alipay.com/support/01rb18\">商家小程序scheme地址</a>或H5页面地址。",
  52015. "example" : "http://xxxxx"
  52016. },
  52017. "out_serial_no" : {
  52018. "type" : "string",
  52019. "description" : "外部停车流水号(用于串通进场与出场信息)",
  52020. "example" : "2020090711003017233600000001"
  52021. },
  52022. "parking_id" : {
  52023. "type" : "string",
  52024. "description" : "支付宝停车平台ID,由支付宝定义的该停车场标识,同一个isv或商户范围内唯一。通过 <a href=\"https://opendocs.alipay.com/apis/api_19/alipay.eco.mycar.parking.parkinglotinfo.create\">alipay.eco.mycar.parking.parkinglotinfo.create</a>(录入停车场信息)接口获取。",
  52025. "example" : "2015042321001004720200028594"
  52026. },
  52027. "space_number" : {
  52028. "type" : "string",
  52029. "description" : "用于标识车辆停放车位编号,路侧适用",
  52030. "example" : "PK001"
  52031. },
  52032. "store_id" : {
  52033. "type" : "string",
  52034. "description" : "与parking_id对应的外部停车场编号,在球房中维护",
  52035. "example" : "360xx"
  52036. }
  52037. }
  52038. },
  52039. "AlipayEcoMycarParkingEnterinfoSyncResponseModel" : {
  52040. "type" : "object",
  52041. "properties" : {
  52042. "agreement_scene" : {
  52043. "type" : "string",
  52044. "description" : "用户签约的代扣场景字符集,多个英文逗号分割,当车场为ORC识别车牌的场景,返回值包含PLATE_PAY时,表示代扣协议可用。 当车场为ETC设备识别车牌,返回值包含ETC_PAY时表示协议可用。当用户未签约任何代扣场景时返回NO_AGREEMENT_SCENE",
  52045. "example" : "PLATE_PAY,ETC_PAY"
  52046. },
  52047. "agreement_status" : {
  52048. "type" : "string",
  52049. "description" : "该字段已废弃,请使用agreement_scene字段",
  52050. "example" : "0:已签约无感代扣 1:未签约"
  52051. },
  52052. "car_status" : {
  52053. "type" : "string",
  52054. "description" : "当前车辆在支付宝侧的信息,是否可以使用无感支付,可选返回项为: NORMAL:正常缴费用户 NON-SENSE-PAY:可无感支付用户",
  52055. "example" : "NORMAL"
  52056. },
  52057. "current_time" : {
  52058. "type" : "string",
  52059. "description" : "当前时间戳(查询签约状态和是否支持无感支付仅代表当前时间点查询结果,不作为最后代扣结果,应在发起代扣前再次查询)",
  52060. "example" : "2020-11-27 15:40:00"
  52061. },
  52062. "serial_no" : {
  52063. "type" : "string",
  52064. "description" : "支付宝业务流水号,用于记录车辆从驶入到驶出的全流程",
  52065. "example" : "2020090711003017233600000001"
  52066. }
  52067. }
  52068. },
  52069. "AlipayEcoMycarParkingExitinfoSyncErrorResponseModel" : {
  52070. "required" : [ "code", "message" ],
  52071. "type" : "object",
  52072. "properties" : {
  52073. "code" : {
  52074. "type" : "string",
  52075. "description" : "错误码",
  52076. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR", "CALL_TOO_OFFTEN", "SERIAL_NO_ENTER_NO_RECORD", "SERIAL_NO_DOUBLE_ENTER_NO_RECORD" ]
  52077. },
  52078. "links" : {
  52079. "type" : "string",
  52080. "description" : "解决方案链接"
  52081. },
  52082. "message" : {
  52083. "type" : "string",
  52084. "description" : "错误描述"
  52085. }
  52086. }
  52087. },
  52088. "AlipayEcoMycarParkingExitinfoSyncModel" : {
  52089. "type" : "object",
  52090. "properties" : {
  52091. "actual_amount" : {
  52092. "type" : "string",
  52093. "description" : "实际金额",
  52094. "example" : "10.00"
  52095. },
  52096. "car_color" : {
  52097. "type" : "string",
  52098. "description" : "车牌颜色,枚举支持:\t*BLUE:蓝。\t*GREEN:绿。\t*YELLOW:黄。\t*WHITE:白。\t*BLACK:黑。\t*LIMEGREEN:黄绿色。",
  52099. "example" : "BLUE"
  52100. },
  52101. "car_number" : {
  52102. "type" : "string",
  52103. "description" : "车牌号",
  52104. "example" : "豫C33333"
  52105. },
  52106. "discount_amount" : {
  52107. "type" : "string",
  52108. "description" : "折扣金额",
  52109. "example" : "10.00"
  52110. },
  52111. "exit_id" : {
  52112. "type" : "string",
  52113. "description" : "用于识别车辆出口,多出入口车场适用",
  52114. "example" : "SN001"
  52115. },
  52116. "is_encrypt_car_number" : {
  52117. "type" : "boolean",
  52118. "description" : "是否加密,默认为false",
  52119. "example" : "false"
  52120. },
  52121. "isv_url" : {
  52122. "type" : "string",
  52123. "description" : "智能助理当前的跳转链接",
  52124. "example" : "http://xxxxx"
  52125. },
  52126. "order_amount" : {
  52127. "type" : "string",
  52128. "description" : "订单总金额",
  52129. "example" : "10.00"
  52130. },
  52131. "out_serial_no" : {
  52132. "type" : "string",
  52133. "description" : "外部停车流水号(用于串通进场与出场信息)",
  52134. "example" : "2020090711003017233600000001"
  52135. },
  52136. "out_time" : {
  52137. "type" : "string",
  52138. "description" : "车辆离场时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制",
  52139. "example" : "2016-07-24 03:07:50"
  52140. },
  52141. "parking_id" : {
  52142. "type" : "string",
  52143. "description" : "支付宝停车平台ID,由支付宝定义的该停车场标识,同一个ISV或商户范围内唯一。通过 <a href=\"https://opendocs.alipay.com/apis/api_19/alipay.eco.mycar.parking.parkinglotinfo.create\">alipay.eco.mycar.parking.parkinglotinfo.create</a>(录入停车场信息)接口获取。",
  52144. "example" : "PI1592907192010409114"
  52145. },
  52146. "serial_no" : {
  52147. "type" : "string",
  52148. "description" : "支付宝业务流水号,用于记录车辆从驶入到驶出的全流程。通过 <a href=\"https://opendocs.alipay.com/apis/api_19/alipay.eco.mycar.parking.enterinfo.sync\">alipay.eco.mycar.parking.enterinfo.sync</a>(车辆驶入接口)接口获取。",
  52149. "example" : "2020090711003017233600000001"
  52150. },
  52151. "space_number" : {
  52152. "type" : "string",
  52153. "description" : "用于标识车辆停放车位编号,路侧适用",
  52154. "example" : "PK001"
  52155. },
  52156. "store_id" : {
  52157. "type" : "string",
  52158. "description" : "与parking_id对应的外部停车场编号,在球房中维护",
  52159. "example" : "360xx"
  52160. }
  52161. }
  52162. },
  52163. "AlipayEcoMycarParkingExitinfoSyncResponseModel" : {
  52164. "type" : "object"
  52165. },
  52166. "AlipayEcoMycarParkingOrderSyncErrorResponseModel" : {
  52167. "required" : [ "code", "message" ],
  52168. "type" : "object",
  52169. "properties" : {
  52170. "code" : {
  52171. "type" : "string",
  52172. "description" : "错误码",
  52173. "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "PARKING_USER_ID_IS_EMPTY", "PARKING_USER_ID_FORMAT_ERROR", "PARKING_OUT_ORDER_NO_IS_EMPTY", "PARKING_ORDER_STATUS_IS_EMPTY", "PARKING_ORDER_TIME_IS_EMPTY", "PARKING_ORDER_TIME_FORMAT_ERROR", "PARKING_ORDER_NO_IS_EMPTY", "PARKING_PAY_TIME_IS_EMPTY", "PARKING_PAY_TIME_FORMAT_ERROR", "PARKING_PAY_TYPE_IS_EMPTY", "PARKING_PAY_TYPE_ILLEGAL", "PARKING_PAY_MONEY_IS_EMPTY", "PARKING_PAY_MONEY_ILLEGAL", "PARKING_IN_TIME_IS_EMPTY", "PARKING_IN_TIME_FORMAT_ERROR", "PARKING_IN_DURATION_IS_EMPTY", "PARKING_CAR_NUMBER_IS_EMPTY", "PARKING_CAR_NUMBER_FORMAT_ERROR", "PARKING_NAME_LENGTH_TOO_LONG", "PARKING_ID_IS_EMPTY", "PARKING_LOT_NOT_EXIST", "ISV_APP_ID_ILLEGAL", "SYSTEM_ERROR", "PARKING_ORDER_STATUS_ILLEGAL", "PARKING_DEDUCT_ORDER_HAS_SYNCED", "NO_PERMISSION_ERROR" ]
  52174. },
  52175. "links" : {
  52176. "type" : "string",
  52177. "description" : "解决方案链接"
  52178. },
  52179. "message" : {
  52180. "type" : "string",
  52181. "description" : "错误描述"
  52182. }
  52183. }
  52184. },
  52185. "AlipayEcoMycarParkingOrderSyncModel" : {
  52186. "type" : "object",
  52187. "properties" : {
  52188. "agent_pid" : {
  52189. "type" : "string",
  52190. "description" : "该笔停车交易需要返佣的对象实体PID,可能是商户,可能是ISV;只做下沉,用于离线表层面对账。",
  52191. "example" : "2088xxxxxx"
  52192. },
  52193. "car_number" : {
  52194. "type" : "string",
  52195. "description" : "车牌",
  52196. "example" : "浙Axxxxx"
  52197. },
  52198. "card_number" : {
  52199. "type" : "string",
  52200. "description" : "如果是停车卡缴费,则填入停车卡卡号,否则为'*'",
  52201. "example" : "2357868977445645645656"
  52202. },
  52203. "in_duration" : {
  52204. "type" : "string",
  52205. "description" : "停车时长(以分为单位)",
  52206. "example" : "320"
  52207. },
  52208. "in_time" : {
  52209. "type" : "string",
  52210. "description" : "入场时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制",
  52211. "example" : "2016-08-12 20:20:13"
  52212. },
  52213. "open_id" : {
  52214. "type" : "string",
  52215. "description" : "应用用户ID,唯一标识",
  52216. "example" : "021uU2O6oUtUsckXA1rpUpiWpFWNTOFZXoOgVOPIrkW2Dgb"
  52217. },
  52218. "order_no" : {
  52219. "type" : "string",
  52220. "description" : "支付宝支付流水,系统唯一",
  52221. "example" : "7674879087745646586"
  52222. },
  52223. "order_status" : {
  52224. "type" : "string",
  52225. "description" : "设备商订单状态,枚举支持:\t* 0:成功。\t* 1:失败。",
  52226. "example" : "1"
  52227. },
  52228. "order_time" : {
  52229. "type" : "string",
  52230. "description" : "订单创建时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制",
  52231. "example" : "2016-08-12 20:27:30"
  52232. },
  52233. "out_order_no" : {
  52234. "type" : "string",
  52235. "description" : "设备商订单号,由ISV系统生成",
  52236. "example" : "201605061278654435466567"
  52237. },
  52238. "out_parking_id" : {
  52239. "type" : "string",
  52240. "description" : "ISV停车场ID,由ISV定义的停车场标识,同一个isv或商户范围内唯一。需与 <a href=\"https://opendocs.alipay.com/apis/api_19/alipay.eco.mycar.parking.parkinglotinfo.create\">alipay.eco.mycar.parking.parkinglotinfo.create</a>(录入停车场信息)接口传入值一致。",
  52241. "example" : "201605061278654"
  52242. },
  52243. "out_time" : {
  52244. "type" : "string",
  52245. "description" : "出场时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制",
  52246. "example" : "2021-03-04 15:04:05"
  52247. },
  52248. "parking_id" : {
  52249. "type" : "string",
  52250. "description" : "支付宝停车平台ID,由支付宝定义的该停车场标识,同一个isv或商户范围内唯一。通过 <a href=\"https://opendocs.alipay.com/apis/api_19/alipay.eco.mycar.parking.parkinglotinfo.create\">alipay.eco.mycar.parking.parkinglotinfo.create</a>(录入停车场信息)接口获取。",
  52251. "example" : "1234567890123456"
  52252. },
  52253. "parking_name" : {
  52254. "type" : "string",
  52255. "description" : "停车场名称,需与<a href=\"https://opendocs.alipay.com/apis/api_19/alipay.eco.mycar.parking.parkinglotinfo.create\">alipay.eco.mycar.parking.parkinglotinfo.create</a>(录入停车场信息)接口传入值一致。",
  52256. "example" : "上海证大五道口地下停车场"
  52257. },
  52258. "parking_record_id" : {
  52259. "type" : "string",
  52260. "description" : "支付宝业务流水号,用于记录车辆从驶入到驶出的全流程。通过 alipay.eco.mycar.parking.enterinfo.sync(车辆驶入接口)接口获取。",
  52261. "example" : "2020090711003017233600000001"
  52262. },
  52263. "pay_money" : {
  52264. "type" : "string",
  52265. "description" : "缴费金额,保留小数点后两位",
  52266. "example" : "20.00"
  52267. },
  52268. "pay_scene" : {
  52269. "type" : "string",
  52270. "description" : "支付场景:INPARKINGLOT_PAY:场内在线缴费;ENTRANCE_EXIT_PAY:出入口缴费、VEH_DEVICE_PAY:车机缴费;会根据场景判断是否发放能量,当前只有场内支付场景会发能量,需要能量发放请与服务接入支持同学提前沟通。",
  52271. "example" : "INPARKINGLOT_PAY"
  52272. },
  52273. "pay_time" : {
  52274. "type" : "string",
  52275. "description" : "缴费时间, 格式\"YYYYMM-DD HH:mm:ss\",24小时制",
  52276. "example" : "2016-08-12 23:20:23"
  52277. },
  52278. "pay_type" : {
  52279. "type" : "string",
  52280. "description" : "付款方式,枚举支持:\t*1:支付宝在线缴费。",
  52281. "example" : "1"
  52282. },
  52283. "smid" : {
  52284. "type" : "string",
  52285. "description" : "间连商户ID",
  52286. "example" : "12345678900"
  52287. },
  52288. "user_id" : {
  52289. "type" : "string",
  52290. "description" : "停车缴费用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。\t注意:ISV需保证用户 id的正确性,以免导致用户在停车平台查询不到相关的订单信息。",
  52291. "example" : "2088006362935583"
  52292. }
  52293. }
  52294. },
  52295. "AlipayEcoMycarParkingOrderSyncResponseModel" : {
  52296. "type" : "object"
  52297. },
  52298. "AlipayEcoMycarParkingOrderUpdateErrorResponseModel" : {
  52299. "required" : [ "code", "message" ],
  52300. "type" : "object",
  52301. "properties" : {
  52302. "code" : {
  52303. "type" : "string",
  52304. "description" : "错误码",
  52305. "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "PARKING_DEDUCT_ORDER_NOT_SUPPORT_UPDATE", "PARKING_USER_ID_IS_EMPTY", "PARKING_USER_ID_FORMAT_ERROR", "PARKING_ORDER_STATUS_IS_EMPTY", "PARKING_ORDER_NO_IS_EMPTY", "PARKING_ORDER_STATUS_ILLEGAL", "SYSTEM_ERROR" ]
  52306. },
  52307. "links" : {
  52308. "type" : "string",
  52309. "description" : "解决方案链接"
  52310. },
  52311. "message" : {
  52312. "type" : "string",
  52313. "description" : "错误描述"
  52314. }
  52315. }
  52316. },
  52317. "AlipayEcoMycarParkingOrderUpdateModel" : {
  52318. "type" : "object",
  52319. "properties" : {
  52320. "open_id" : {
  52321. "type" : "string",
  52322. "description" : "应用用户ID,唯一标识",
  52323. "example" : "021uU2O6oUtUsckXA1rpUpiWpFWNTOFZXoOgVOPIrkW2Dgb"
  52324. },
  52325. "order_no" : {
  52326. "type" : "string",
  52327. "description" : "支付宝支付流水号,系统唯一",
  52328. "example" : "PO20160805204323394865"
  52329. },
  52330. "order_status" : {
  52331. "type" : "string",
  52332. "description" : "用户停车订单状态,枚举支持:\t*0:成功。\t*1:失败。",
  52333. "example" : "1"
  52334. },
  52335. "user_id" : {
  52336. "type" : "string",
  52337. "description" : "停车缴费用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。\t注意:ISV需保证用户 id 的正确性,以免导致用户在停车平台查询不到相关的订单信息。",
  52338. "example" : "2088006362935583"
  52339. }
  52340. }
  52341. },
  52342. "AlipayEcoMycarParkingOrderUpdateResponseModel" : {
  52343. "type" : "object"
  52344. },
  52345. "AlipayEcoMycarParkingOvertimecharginginfoSyncErrorResponseModel" : {
  52346. "required" : [ "code", "message" ],
  52347. "type" : "object",
  52348. "properties" : {
  52349. "code" : {
  52350. "type" : "string",
  52351. "description" : "错误码",
  52352. "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  52353. },
  52354. "links" : {
  52355. "type" : "string",
  52356. "description" : "解决方案链接"
  52357. },
  52358. "message" : {
  52359. "type" : "string",
  52360. "description" : "错误描述"
  52361. }
  52362. }
  52363. },
  52364. "AlipayEcoMycarParkingOvertimecharginginfoSyncModel" : {
  52365. "type" : "object",
  52366. "properties" : {
  52367. "car_number" : {
  52368. "type" : "string",
  52369. "description" : "车牌号",
  52370. "example" : "浙Axxxxx"
  52371. },
  52372. "isv_url" : {
  52373. "type" : "string",
  52374. "description" : "智能助理当前的跳转链接",
  52375. "example" : "http://xxxxx"
  52376. },
  52377. "parking_id" : {
  52378. "type" : "string",
  52379. "description" : "支付宝停车平台ID,由支付宝定义的该停车场标识,同一个isv或商户范围内唯一。通过 alipay.eco.mycar.parking.parkinglotinfo.create(录入停车场信息)接口获取。",
  52380. "example" : "2015042321001004720200028594"
  52381. },
  52382. "serial_no" : {
  52383. "type" : "string",
  52384. "description" : "支付宝业务流水号,用于记录车辆从驶入到驶出的全流程",
  52385. "example" : "2020090711003017233600000001"
  52386. }
  52387. }
  52388. },
  52389. "AlipayEcoMycarParkingOvertimecharginginfoSyncResponseModel" : {
  52390. "type" : "object"
  52391. },
  52392. "AlipayEcoMycarParkingParkinglotbizTransferErrorResponseModel" : {
  52393. "required" : [ "code", "message" ],
  52394. "type" : "object",
  52395. "properties" : {
  52396. "code" : {
  52397. "type" : "string",
  52398. "description" : "错误码",
  52399. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "NOT_PARKING", "NOT_PARKING_PERMISSIONS", "ONLINET_ACCOUNT_BAD_NOT_APPS", "AGREEMENT_ACCOUNT_BAD_NOT_APPS", "AGREEMENT_ACCOUNT_BAD_NOT_SIGN" ]
  52400. },
  52401. "links" : {
  52402. "type" : "string",
  52403. "description" : "解决方案链接"
  52404. },
  52405. "message" : {
  52406. "type" : "string",
  52407. "description" : "错误描述"
  52408. }
  52409. }
  52410. },
  52411. "AlipayEcoMycarParkingParkinglotbizTransferModel" : {
  52412. "type" : "object",
  52413. "properties" : {
  52414. "business_isv" : {
  52415. "type" : "array",
  52416. "description" : "车场业务归属关系列表",
  52417. "items" : {
  52418. "$ref" : "#/components/schemas/BusinessItem"
  52419. }
  52420. },
  52421. "parking_id" : {
  52422. "type" : "string",
  52423. "description" : "车场创建返回的parking_id字段",
  52424. "example" : "PI1480989659571286385"
  52425. }
  52426. }
  52427. },
  52428. "AlipayEcoMycarParkingParkinglotbizTransferResponseModel" : {
  52429. "type" : "object"
  52430. },
  52431. "AlipayEcoMycarParkingParkinglotinfoCreateErrorResponseModel" : {
  52432. "required" : [ "code", "message" ],
  52433. "type" : "object",
  52434. "properties" : {
  52435. "code" : {
  52436. "type" : "string",
  52437. "description" : "错误码",
  52438. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR", "MERCHANT_ID_IS_EMPTY", "MERCHANT_ID_FORMAT_ERROR", "PARKING_POI_ID_IS_EMPTY", "ISV_PID_IS_EMPTY", "PARKING_SUPPORT_AFTER_PAY_ILLEGAL", "PARKING_TIME_OUT_ILLEGAL", "PARKING_POI_NOT_FIND", "PARKING_POI_TYPE_NOT_MATCH", "PARKING_LEADS_HAS_REGISTERED", "PARKING_POI_HAS_REGISTERED", "PARKING_IS_SUPPORT_INVOICE_ILLEGAL", "PARKING_BIZ_TAGS_ILLEGAL", "PARKING_SUM_SPACE_ILLEGAL", "PARKING_ISV_MOBILE_FORMAT_ERROR", "PARKING_ORIGINAL_ISV_MOBILE_FORMAT_ERROR", "PARKING_FEE_DESC_IMG_ILLEGAL", "PARKING_FEE_DESC_IMG_UPLOAD_ERROR", "SYSTEM_ERROR", "INVALID_PARAMETER_BUSINESS_ID", "INVALID_PARAMETER_BUSINESS_TYPE", "ONLINET_ACCOUNT_BAD_NOT_APPS", "AGREEMENT_ACCOUNT_BAD_NOT_APPS", "AGREEMENT_ACCOUNT_BAD_NOT_SIGN", "AGREEMENT_ACCOUNT_BAD_INVALID_PAYEE_ID", "PARKINGLOT_HAS_REGISTERED", "PARKINGLOT_TYPE_ERROR", "PARKINGLOT_BIZ_TYPE_ERROR", "PARKINGLOT_ONLINET_ACCOUNT_NOT_APPS", "PARKINGLOT_AGREEMENT_ACCOUNT_NOT_APPS", "PARKINGLOT_AGREEMENT_ACCOUNT_BAD_SIGN", "PARKINGLOT_POI_TYPE_NOT_MATCH", "PARKINGLOT_ISV_APP_ID_ILLEGAL", "PARKINGLOT_POI_NOT_FIND", "PARKINGLOT_POI_PARSE_ERROR", "PARKINGLOT_IMPORT_DELETE_ERROR", "NO_PERMISSION_ERROR" ]
  52439. },
  52440. "links" : {
  52441. "type" : "string",
  52442. "description" : "解决方案链接"
  52443. },
  52444. "message" : {
  52445. "type" : "string",
  52446. "description" : "错误描述"
  52447. }
  52448. }
  52449. },
  52450. "AlipayEcoMycarParkingParkinglotinfoCreateModel" : {
  52451. "type" : "object",
  52452. "properties" : {
  52453. "agent_id" : {
  52454. "type" : "string",
  52455. "description" : "服务商的支付宝账号ID(2088开头的16位纯数字,<a href=\"https://opendocs.alipay.com/common/02ncut\">获取方式</a>),由服务商提供给ISV",
  52456. "example" : "2088456825942563"
  52457. },
  52458. "business_isv" : {
  52459. "type" : "array",
  52460. "description" : "车场业务归属列表",
  52461. "items" : {
  52462. "$ref" : "#/components/schemas/BusinessItem"
  52463. }
  52464. },
  52465. "city_id" : {
  52466. "type" : "string",
  52467. "description" : "该参数废弃",
  52468. "example" : "110101"
  52469. },
  52470. "contact_alipay" : {
  52471. "type" : "string",
  52472. "description" : "该参数废弃",
  52473. "example" : "189xxxxxxxx"
  52474. },
  52475. "contact_emali" : {
  52476. "type" : "string",
  52477. "description" : "该参数废弃",
  52478. "example" : "alipay@alipay.com"
  52479. },
  52480. "contact_mobile" : {
  52481. "type" : "string",
  52482. "description" : "该参数废弃",
  52483. "example" : "189xxxxxxxx"
  52484. },
  52485. "contact_name" : {
  52486. "type" : "string",
  52487. "description" : "该参数废弃",
  52488. "example" : "张三"
  52489. },
  52490. "contact_tel" : {
  52491. "type" : "string",
  52492. "description" : "该参数废弃",
  52493. "example" : "0571xxxxxxxx"
  52494. },
  52495. "contact_weixin" : {
  52496. "type" : "string",
  52497. "description" : "该参数废弃",
  52498. "example" : "923422342"
  52499. },
  52500. "equipment_name" : {
  52501. "type" : "string",
  52502. "description" : "该参数废弃",
  52503. "example" : "杭州立方"
  52504. },
  52505. "is_support_invoice" : {
  52506. "type" : "string",
  52507. "description" : "是否支持电子发票。枚举支持:\t0:表示不支持。\t1:表示支持。",
  52508. "example" : "1"
  52509. },
  52510. "isv_mobile" : {
  52511. "type" : "string",
  52512. "description" : "ISV电话,传入original_isv_pid、original_isv_appid时,此处为服务商电话",
  52513. "example" : "571-8643-2799"
  52514. },
  52515. "latitude" : {
  52516. "type" : "string",
  52517. "description" : "纬度",
  52518. "example" : "30.548828"
  52519. },
  52520. "longitude" : {
  52521. "type" : "string",
  52522. "description" : "经度",
  52523. "example" : "114.266418"
  52524. },
  52525. "mchnt_id" : {
  52526. "type" : "string",
  52527. "description" : "收款方的支付宝账号ID(2088开头的16位纯数字,<a href=\"https://opendocs.alipay.com/common/02ncut\">获取方式</a>),由停车场收款的业主方提供给ISV,该字段暂用于机具和物料申领",
  52528. "example" : "2088456825942563"
  52529. },
  52530. "original_isv_appid" : {
  52531. "type" : "string",
  52532. "description" : "ISV的APPID,服务商调用必传,由ISV提供给服务商",
  52533. "example" : "2021002108619277"
  52534. },
  52535. "original_isv_mobile" : {
  52536. "type" : "string",
  52537. "description" : "ISV电话,此值与isv_mobile组合使用",
  52538. "example" : "571-8643-2799"
  52539. },
  52540. "original_isv_name" : {
  52541. "type" : "string",
  52542. "description" : "ISV的名称,服务商调用必传,由ISV提供给服务商",
  52543. "example" : "杭州立方"
  52544. },
  52545. "original_isv_pid" : {
  52546. "type" : "string",
  52547. "description" : "ISV的PID,服务商调用必传,由ISV提供给服务商",
  52548. "example" : "2088456825942563"
  52549. },
  52550. "out_parking_id" : {
  52551. "type" : "string",
  52552. "description" : "ISV停车场ID,由ISV 自定义,同一个isv或商户范围内唯一",
  52553. "example" : "10000110001"
  52554. },
  52555. "parking_address" : {
  52556. "type" : "string",
  52557. "description" : "停车场地址",
  52558. "example" : "浙江省杭州市古墩路与疏港公路的交汇处"
  52559. },
  52560. "parking_end_time" : {
  52561. "type" : "string",
  52562. "description" : "该参数废弃",
  52563. "example" : "03:07:50"
  52564. },
  52565. "parking_fee_description" : {
  52566. "type" : "string",
  52567. "description" : "收费说明",
  52568. "example" : "小车一小时10元"
  52569. },
  52570. "parking_fee_description_img" : {
  52571. "type" : "string",
  52572. "description" : "商户在停车平台露出的停车价格图片;注意:该图片为PNG格式内容为BASE64的字符串,大小不要超过1MB",
  52573. "example" : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAE0lEQVQImWP81mfxn4GJAYQgAAAqvgLBUG4ufAAAAABJRU5ErkJggg=="
  52574. },
  52575. "parking_lot_type" : {
  52576. "type" : "string",
  52577. "description" : "停车场类型,1为居民小区、2为商圈停车场(购物中心商业广场商场等)、3为路侧停车、4为公园景点(景点乐园公园老街古镇等)、5为商务楼宇(酒店写字楼商务楼园区等)、6为其他、7为交通枢纽(机场火车站汽车站码头港口等)、8为市政设施(体育场博物图书馆医院学校等)",
  52578. "example" : "1"
  52579. },
  52580. "parking_mobile" : {
  52581. "type" : "string",
  52582. "description" : "停车场客服电话",
  52583. "example" : "189XXXXXXXX"
  52584. },
  52585. "parking_name" : {
  52586. "type" : "string",
  52587. "description" : "停车场名称,由ISV定义,尽量与高德地图上的一致。",
  52588. "example" : "城西停车场"
  52589. },
  52590. "parking_number" : {
  52591. "type" : "string",
  52592. "description" : "该参数废弃",
  52593. "example" : "10000"
  52594. },
  52595. "parking_poiid" : {
  52596. "type" : "string",
  52597. "description" : "如何获取parking_poiid(高德地图唯一标标识)参考文档 https://opendocs.alipay.com/support/01rghx;若无法成功获取高德POI时,也可选用经纬度的方式注册。",
  52598. "example" : "B000A9JM2H"
  52599. },
  52600. "parking_start_time" : {
  52601. "type" : "string",
  52602. "description" : "该参数废弃",
  52603. "example" : "07:00:00"
  52604. },
  52605. "parking_type" : {
  52606. "type" : "string",
  52607. "description" : "该参数废弃",
  52608. "example" : "2"
  52609. },
  52610. "pay_type" : {
  52611. "type" : "string",
  52612. "description" : "支付方式。枚举支持:\t1:表示支付宝在线缴费。\t2:表示支付宝代扣缴费。\t3:表示当面付。\t说明:如支持多种方式以 ',' 进行分隔。",
  52613. "example" : "2"
  52614. },
  52615. "payment_mode" : {
  52616. "type" : "string",
  52617. "description" : "该参数废弃",
  52618. "example" : "1"
  52619. },
  52620. "shopingmall_id" : {
  52621. "type" : "string",
  52622. "description" : "商圈id",
  52623. "example" : "100001008"
  52624. },
  52625. "sum_space" : {
  52626. "type" : "string",
  52627. "description" : "停车场车位数",
  52628. "example" : "3000"
  52629. },
  52630. "support_after_pay" : {
  52631. "type" : "string",
  52632. "description" : "是否支持先离后付。枚举支持:\tY:支持。\tN:不支持。\t说明:默认为空不支持,此参数适用于签约信用代扣的商户。",
  52633. "example" : "Y"
  52634. },
  52635. "time_out" : {
  52636. "type" : "string",
  52637. "description" : "用户支付未离场的超时时间(以分钟为单位)",
  52638. "example" : "13"
  52639. }
  52640. }
  52641. },
  52642. "AlipayEcoMycarParkingParkinglotinfoCreateResponseModel" : {
  52643. "type" : "object",
  52644. "properties" : {
  52645. "parking_id" : {
  52646. "type" : "string",
  52647. "description" : "支付宝返回停车场id。成功不为空,失败返回空",
  52648. "example" : "2014072300007148"
  52649. }
  52650. }
  52651. },
  52652. "AlipayEcoMycarParkingParkinglotinfoQueryErrorResponseModel" : {
  52653. "required" : [ "code", "message" ],
  52654. "type" : "object",
  52655. "properties" : {
  52656. "code" : {
  52657. "type" : "string",
  52658. "description" : "错误码",
  52659. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR", "SYSTEM_ERROR", "PARKING_ID_FORMAT_ERROR", "BIZ_PARAM_ISNULL", "PARKING_LOT_NOT_EXIST", "PARKINGLOT_NOT_FIND", "NO_PERMISSION_ERROR" ]
  52660. },
  52661. "links" : {
  52662. "type" : "string",
  52663. "description" : "解决方案链接"
  52664. },
  52665. "message" : {
  52666. "type" : "string",
  52667. "description" : "错误描述"
  52668. }
  52669. }
  52670. },
  52671. "AlipayEcoMycarParkingParkinglotinfoQueryResponseModel" : {
  52672. "type" : "object",
  52673. "properties" : {
  52674. "address_id" : {
  52675. "type" : "string",
  52676. "description" : "地区编码",
  52677. "example" : "110105"
  52678. },
  52679. "agent_id" : {
  52680. "type" : "string",
  52681. "description" : "服务商ID(2088开头的16位纯数字),由服务商提供给ISV",
  52682. "example" : "2088456825942563"
  52683. },
  52684. "business_isv" : {
  52685. "type" : "array",
  52686. "description" : "车场业务归属列表",
  52687. "items" : {
  52688. "$ref" : "#/components/schemas/BusinessItem"
  52689. }
  52690. },
  52691. "city_id" : {
  52692. "type" : "string",
  52693. "description" : "城市编码",
  52694. "example" : "010"
  52695. },
  52696. "map_poi_address" : {
  52697. "type" : "string",
  52698. "description" : "高德检索地址",
  52699. "example" : "望京街4号望京SOHO"
  52700. },
  52701. "map_poi_name" : {
  52702. "type" : "string",
  52703. "description" : "高德检索名称",
  52704. "example" : "望京SOHO停车场"
  52705. },
  52706. "mchnt_id" : {
  52707. "type" : "string",
  52708. "description" : "收款方ID(2088开头的16位纯数字),由停车场收款的业主方提供给ISV,该字段暂用于机具和物料申领",
  52709. "example" : "2088456825942563"
  52710. },
  52711. "out_parking_id" : {
  52712. "type" : "string",
  52713. "description" : "ISV停车场ID,由ISV提供,同一个isv或商户范围内唯一",
  52714. "example" : "10000110001"
  52715. },
  52716. "parking_address" : {
  52717. "type" : "string",
  52718. "description" : "停车场地址",
  52719. "example" : "北京市朝阳区望京街与阜安西路交叉路口"
  52720. },
  52721. "parking_fee_description" : {
  52722. "type" : "string",
  52723. "description" : "收费说明",
  52724. "example" : "小车一小时10元"
  52725. },
  52726. "parking_fee_description_img" : {
  52727. "type" : "string",
  52728. "description" : "停车场价格明细图片",
  52729. "example" : "https://mdgwdev.alipay.net/afts/img/A*617CRpBdj_fJCs1NmMi4dQAAAa4wAA/original?bz=industry_etc&t=-NhhRTMCAllKiM3Vj1mNcQAAAABkMK5ft-HF"
  52730. },
  52731. "parking_id" : {
  52732. "type" : "string",
  52733. "description" : "支付宝返回停车场id,系统唯一",
  52734. "example" : "PI1532313981415143356"
  52735. },
  52736. "parking_latitude" : {
  52737. "type" : "string",
  52738. "description" : "停车场位置经度(优先高德坐标获取结果)",
  52739. "example" : "39.998001"
  52740. },
  52741. "parking_longitude" : {
  52742. "type" : "string",
  52743. "description" : "停车场位置经度(优先高德坐标获取结果)",
  52744. "example" : "116.480654"
  52745. },
  52746. "parking_lot_type" : {
  52747. "type" : "string",
  52748. "description" : "停车场类型,1为居民小区、2为商圈停车场(购物中心商业广场商场等)、3为路侧停车、4为公园景点(景点乐园公园老街古镇等)、5为商务楼宇(酒店写字楼商务楼园区等)、6为其他、7为交通枢纽(机场火车站汽车站码头港口等)、8为市政设施(体育场博物图书馆医院学校等)",
  52749. "example" : "2为商圈停车场(购物中心商业广场商场等)"
  52750. },
  52751. "parking_mobile" : {
  52752. "type" : "string",
  52753. "description" : "停车场客服电话",
  52754. "example" : "189XXXXXXXX"
  52755. },
  52756. "parking_name" : {
  52757. "type" : "string",
  52758. "description" : "停车场名称,由ISV定义,尽量与高德地图上的一致",
  52759. "example" : "望京SOHO停车场"
  52760. },
  52761. "parking_poiid" : {
  52762. "type" : "string",
  52763. "description" : "高德地图唯一标识",
  52764. "example" : "B0FFFAIBGG"
  52765. },
  52766. "pay_type" : {
  52767. "type" : "string",
  52768. "description" : "支付方式(1为支付宝在线缴费,2为支付宝代扣缴费,3当面付),如支持多种方式以','进行间隔",
  52769. "example" : "2为支付宝代扣缴费"
  52770. },
  52771. "province_id" : {
  52772. "type" : "string",
  52773. "description" : "省份编码",
  52774. "example" : "110000"
  52775. },
  52776. "shopingmall_id" : {
  52777. "type" : "string",
  52778. "description" : "商圈id",
  52779. "example" : "100001008"
  52780. },
  52781. "time_out" : {
  52782. "type" : "string",
  52783. "description" : "用户支付未离场的超时时间(以分钟为单位)",
  52784. "example" : "13"
  52785. }
  52786. }
  52787. },
  52788. "AlipayEcoMycarParkingParkinglotinfoUpdateErrorResponseModel" : {
  52789. "required" : [ "code", "message" ],
  52790. "type" : "object",
  52791. "properties" : {
  52792. "code" : {
  52793. "type" : "string",
  52794. "description" : "错误码",
  52795. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR", "MERCHANT_ID_IS_EMPTY", "MERCHANT_ID_FORMAT_ERROR", "PARKING_POI_ID_IS_EMPTY", "PARKING_POI_NOT_FIND", "PARKING_POI_TYPE_NOT_MATCH", "PARKING_LEADS_HAS_REGISTERED", "PARKING_POI_HAS_REGISTERED", "PARKING_ID_FORMAT_ERROR", "PARKING_MOBILE_IS_EMPTY", "PARKING_IS_SUPPORT_INVOICE_ILLEGAL", "PARKING_BIZ_TAGS_ILLEGAL", "PARKING_SUM_SPACE_ILLEGAL", "PARKING_ISV_MOBILE_FORMAT_ERROR", "PARKING_ORIGINAL_ISV_MOBILE_FORMAT_ERROR", "PARKING_FEE_DESC_IMG_ILLEGAL", "PARKING_FEE_DESC_IMG_UPLOAD_ERROR", "PARKING_LOT_HAS_REGISTERED", "PARKING_LOT_NOT_EXIST", "PARKING_ISV_NOT_ALLOWED", "INVALID_UPDATE_IN_BASE_STATUS", "SYSTEM_ERROR", "INVALID_PARAMETER_BUSINESS_ID", "INVALID_PARAMETER_BUSINESS_TYPE", "ONLINET_ACCOUNT_BAD_NOT_APPS", "AGREEMENT_ACCOUNT_BAD_NOT_APPS", "AGREEMENT_ACCOUNT_BAD_NOT_SIGN", "AGREEMENT_ACCOUNT_BAD_INVALID_PAYEE_ID", "PARKINGLOT_TYPE_ERROR", "PARKINGLOT_BIZ_TYPE_ERROR", "PARKINGLOT_ONLINET_ACCOUNT_NOT_APPS", "PARKINGLOT_AGREEMENT_ACCOUNT_NOT_APPS", "PARKINGLOT_AGREEMENT_ACCOUNT_BAD_SIGN", "PARKINGLOT_POI_TYPE_NOT_MATCH", "PARKINGLOT_ISV_APP_ID_ILLEGAL", "PARKINGLOT_POI_NOT_FIND", "PARKINGLOT_POI_PARSE_ERROR", "PARKINGLOT_ISV_NOT_MATCH", "PARKINGLOT_INVALID_UPDATE_IN_BASE_STATUS", "PARKINGLOT_MODIFY_ERROR", "PARKINGLOT_SEND_UPDATE_EVENT_FAIL", "PARKINGLOT_NOT_FIND", "NO_PERMISSION_ERROR" ]
  52796. },
  52797. "links" : {
  52798. "type" : "string",
  52799. "description" : "解决方案链接"
  52800. },
  52801. "message" : {
  52802. "type" : "string",
  52803. "description" : "错误描述"
  52804. }
  52805. }
  52806. },
  52807. "AlipayEcoMycarParkingParkinglotinfoUpdateModel" : {
  52808. "type" : "object",
  52809. "properties" : {
  52810. "agent_id" : {
  52811. "type" : "string",
  52812. "description" : "服务商ID(2088开头的16位纯数字),由服务商提供给ISV",
  52813. "example" : "2088456825942563"
  52814. },
  52815. "business_isv" : {
  52816. "type" : "array",
  52817. "description" : "车场业务归属列表",
  52818. "items" : {
  52819. "$ref" : "#/components/schemas/BusinessItem"
  52820. }
  52821. },
  52822. "city_id" : {
  52823. "type" : "string",
  52824. "description" : "该参数废弃",
  52825. "example" : "110101"
  52826. },
  52827. "contact_alipay" : {
  52828. "type" : "string",
  52829. "description" : "该参数废弃",
  52830. "example" : "189xxxxxxxxxxx"
  52831. },
  52832. "contact_email" : {
  52833. "type" : "string",
  52834. "description" : "该参数废弃",
  52835. "example" : "alipay@alipay.com"
  52836. },
  52837. "contact_mobile" : {
  52838. "type" : "string",
  52839. "description" : "该参数废弃",
  52840. "example" : "18912345678"
  52841. },
  52842. "contact_name" : {
  52843. "type" : "string",
  52844. "description" : "该参数废弃",
  52845. "example" : "张三"
  52846. },
  52847. "contact_tel" : {
  52848. "type" : "string",
  52849. "description" : "该参数废弃",
  52850. "example" : "0571xxxxxxxx"
  52851. },
  52852. "contact_weixin" : {
  52853. "type" : "string",
  52854. "description" : "该参数废弃",
  52855. "example" : "923422342"
  52856. },
  52857. "equipment_name" : {
  52858. "type" : "string",
  52859. "description" : "该参数废弃",
  52860. "example" : "杭州立方"
  52861. },
  52862. "is_support_invoice" : {
  52863. "type" : "string",
  52864. "description" : "是否支持电子发票。枚举支持: \t*0:表示不支持。 \t*1:表示支持。",
  52865. "example" : "1"
  52866. },
  52867. "isv_mobile" : {
  52868. "type" : "string",
  52869. "description" : "ISV电话,传入original_isv_pid、original_isv_appid时,此处为服务商电话",
  52870. "example" : "571-8643-2799"
  52871. },
  52872. "latitude" : {
  52873. "type" : "string",
  52874. "description" : "纬度",
  52875. "example" : "30.548828"
  52876. },
  52877. "longitude" : {
  52878. "type" : "string",
  52879. "description" : "经度",
  52880. "example" : "114.266418"
  52881. },
  52882. "mchnt_id" : {
  52883. "type" : "string",
  52884. "description" : "收款方ID(2088开头的16位纯数字),由停车场收款的业主方提供给ISV,该字段暂用于机具和物料申领,更新时不影响交易接口中的收款方值。",
  52885. "example" : "2088456825942563"
  52886. },
  52887. "original_isv_appid" : {
  52888. "type" : "string",
  52889. "description" : "ISV的APPID,服务商调用必传,由ISV提供给服务商",
  52890. "example" : "2021002108619277"
  52891. },
  52892. "original_isv_mobile" : {
  52893. "type" : "string",
  52894. "description" : "ISV电话,此值与isv_mobile组合使用",
  52895. "example" : "571-8643-2799"
  52896. },
  52897. "original_isv_name" : {
  52898. "type" : "string",
  52899. "description" : "ISV的名称,服务商调用必传,由ISV提供给服务商",
  52900. "example" : "杭州立方"
  52901. },
  52902. "original_isv_pid" : {
  52903. "type" : "string",
  52904. "description" : "ISV的PID,服务商调用必传,由ISV提供给服务商",
  52905. "example" : "2088456825942563"
  52906. },
  52907. "out_parking_id" : {
  52908. "type" : "string",
  52909. "description" : "该参数废弃",
  52910. "example" : "10000110001"
  52911. },
  52912. "parking_address" : {
  52913. "type" : "string",
  52914. "description" : "停车场地址",
  52915. "example" : "浙江省杭州市古墩路与疏港公路的交汇处"
  52916. },
  52917. "parking_end_time" : {
  52918. "type" : "string",
  52919. "description" : "该参数废弃",
  52920. "example" : "03:07:50"
  52921. },
  52922. "parking_fee_description" : {
  52923. "type" : "string",
  52924. "description" : "收费说明",
  52925. "example" : "小车一小时10元"
  52926. },
  52927. "parking_fee_description_img" : {
  52928. "type" : "string",
  52929. "description" : "商户在停车平台露出的停车价格图片;注意:该图片为PNG格式内容为BASE64的字符串,大小不要超过1MB",
  52930. "example" : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAE0lEQVQImWP81mfxn4GJAYQgAAAqvgLBUG4ufAAAAABJRU5ErkJggg=="
  52931. },
  52932. "parking_id" : {
  52933. "type" : "string",
  52934. "description" : "支付宝返回停车场id,系统唯一",
  52935. "example" : "2014072300007148"
  52936. },
  52937. "parking_lot_type" : {
  52938. "type" : "string",
  52939. "description" : "停车场类型,1为居民小区、2为商圈停车场(购物中心商业广场商场等)、3为路侧停车、4为公园景点(景点乐园公园老街古镇等)、5为商务楼宇(酒店写字楼商务楼园区等)、6为其他、7为交通枢纽(机场火车站汽车站码头港口等)、8为市政设施(体育场博物图书馆医院学校等)",
  52940. "example" : "1"
  52941. },
  52942. "parking_mobile" : {
  52943. "type" : "string",
  52944. "description" : "停车场客服电话",
  52945. "example" : "189XXXXXXXX"
  52946. },
  52947. "parking_name" : {
  52948. "type" : "string",
  52949. "description" : "停车场名称,由ISV定义,尽量与高德地图上的一致",
  52950. "example" : "城西停车场"
  52951. },
  52952. "parking_number" : {
  52953. "type" : "string",
  52954. "description" : "该参数废弃",
  52955. "example" : "10000"
  52956. },
  52957. "parking_poiid" : {
  52958. "type" : "string",
  52959. "description" : "高德地图唯一标识。新增高德兴趣点流程 <a href=\"https://opensupport.alipay.com/support/helpcenter/311/201602557288?ant_source=zsearch\">点此查看详情</a> 。\t获取高德兴趣点流程 <a href=\"https://opensupport.alipay.com/support/helpcenter/311/201602557287?ant_source=zsearch\">点此查看详情</a>。",
  52960. "example" : "B000A9JM2H"
  52961. },
  52962. "parking_start_time" : {
  52963. "type" : "string",
  52964. "description" : "该参数废弃",
  52965. "example" : "03:07:50"
  52966. },
  52967. "parking_type" : {
  52968. "type" : "string",
  52969. "description" : "该参数废弃",
  52970. "example" : "1"
  52971. },
  52972. "pay_type" : {
  52973. "type" : "string",
  52974. "description" : "支付方式。枚举支持:\t*1:表示支付宝在线缴费。 \t*2:表示支付宝代扣缴费。 \t*3:表示当面付。 \t说明:如支持多种方式以 ',' 进行分隔。",
  52975. "example" : "2"
  52976. },
  52977. "payment_mode" : {
  52978. "type" : "string",
  52979. "description" : "该参数废弃",
  52980. "example" : "1"
  52981. },
  52982. "shopingmall_id" : {
  52983. "type" : "string",
  52984. "description" : "商圈id",
  52985. "example" : "100001008"
  52986. },
  52987. "sum_space" : {
  52988. "type" : "string",
  52989. "description" : "停车场车位数",
  52990. "example" : "3000"
  52991. },
  52992. "support_after_pay" : {
  52993. "type" : "string",
  52994. "description" : "是否支持先离后付。枚举支持: \t*Y:支持。 \t*N:不支持。 \t说明:默认为空不支持,此参数适用于签约信用代扣的商户。",
  52995. "example" : "Y"
  52996. },
  52997. "time_out" : {
  52998. "type" : "string",
  52999. "description" : "用户支付未离场的超时时间(以分钟为单位)",
  53000. "example" : "13"
  53001. }
  53002. }
  53003. },
  53004. "AlipayEcoMycarParkingParkinglotinfoUpdateResponseModel" : {
  53005. "type" : "object"
  53006. },
  53007. "AlipayEcoMycarParkingPaymentinfoSyncErrorResponseModel" : {
  53008. "required" : [ "code", "message" ],
  53009. "type" : "object",
  53010. "properties" : {
  53011. "code" : {
  53012. "type" : "string",
  53013. "description" : "错误码",
  53014. "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR", "RECORD_NOT_FOUND" ]
  53015. },
  53016. "links" : {
  53017. "type" : "string",
  53018. "description" : "解决方案链接"
  53019. },
  53020. "message" : {
  53021. "type" : "string",
  53022. "description" : "错误描述"
  53023. }
  53024. }
  53025. },
  53026. "AlipayEcoMycarParkingPaymentinfoSyncModel" : {
  53027. "type" : "object",
  53028. "properties" : {
  53029. "car_number" : {
  53030. "type" : "string",
  53031. "description" : "车牌号",
  53032. "example" : "浙Axxxxx"
  53033. },
  53034. "isv_url" : {
  53035. "type" : "string",
  53036. "description" : "停车消息透出后,消息详情的落地承接页链接,可配置ISV维度的统一值",
  53037. "example" : "http://xxxxx"
  53038. },
  53039. "out_serial_no" : {
  53040. "type" : "string",
  53041. "description" : "外部业务停车流水号(用于串通进场与出场信息)。如果\tout_serial_no与serial_no都传递,则一起校验。\t● serial_no与out_serial_no二选一必填。\t● 入参有serial_no和out_serial_no,则优先根据serial_no和out_serial_no一起匹配进出场事件\t● 入参仅有serial_no,则优先根据serial_no匹配进出场事件\t● 入参仅有out_serial_no,则根据out_serial_no匹配进出场事件",
  53042. "example" : "2020090711003017233600000001"
  53043. },
  53044. "parking_id" : {
  53045. "type" : "string",
  53046. "description" : "支付宝停车平台ID,由支付宝定义的该停车场标识,同一个isv或商户范围内唯一。通过 alipay.eco.mycar.parking.parkinglotinfo.create(录入停车场信息)接口获取。",
  53047. "example" : "2015042321001004720200028594"
  53048. },
  53049. "payment_free_minutes" : {
  53050. "type" : "integer",
  53051. "description" : "停车场内缴费后,允许出场的免费时长分钟数",
  53052. "example" : "15"
  53053. },
  53054. "payment_time" : {
  53055. "type" : "string",
  53056. "description" : "场内缴费时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制,请保证服务器时间准确,场内缴费不应晚于当前网络时间",
  53057. "example" : "2021-06-12 15:29:55"
  53058. },
  53059. "serial_no" : {
  53060. "type" : "string",
  53061. "description" : "支付宝业务流水号(用于串通进场与出场信息)。可通过 alipay.eco.mycar.parking.enterinfo.sync\t(车辆驶入接口)接口获取。\t● serial_no与out_serial_no二选一必填。\t● 入参有serial_no和out_serial_no,则优先根据serial_no和out_serial_no一起匹配进出场事件\t● 入参仅有serial_no,则优先根据serial_no匹配进出场事件\t● 入参仅有out_serial_no,则根据out_serial_no匹配进出场事件",
  53062. "example" : "2020090711003017233600000001"
  53063. }
  53064. }
  53065. },
  53066. "AlipayEcoMycarParkingPaymentinfoSyncResponseModel" : {
  53067. "type" : "object"
  53068. },
  53069. "AlipayEcoMycarParkingSpaceinfoSyncErrorResponseModel" : {
  53070. "required" : [ "code", "message" ],
  53071. "type" : "object",
  53072. "properties" : {
  53073. "code" : {
  53074. "type" : "string",
  53075. "description" : "错误码",
  53076. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "MERCHANT_VERIFY_FAILED", "EMPTY_PARAMETER", "PARAMETER_FORMAT_ERR", "PARKING_ID_EMPTY", "PARKING_FREE_SPACE_EMPTY" ]
  53077. },
  53078. "links" : {
  53079. "type" : "string",
  53080. "description" : "解决方案链接"
  53081. },
  53082. "message" : {
  53083. "type" : "string",
  53084. "description" : "错误描述"
  53085. }
  53086. }
  53087. },
  53088. "AlipayEcoMycarParkingSpaceinfoSyncModel" : {
  53089. "type" : "object",
  53090. "properties" : {
  53091. "free_charging_pile" : {
  53092. "type" : "integer",
  53093. "description" : "空闲充电桩车位数",
  53094. "example" : "30"
  53095. },
  53096. "free_parking_space" : {
  53097. "type" : "integer",
  53098. "description" : "车场空闲可用的车位数",
  53099. "example" : "500"
  53100. },
  53101. "parking_id" : {
  53102. "type" : "string",
  53103. "description" : "停车场ID",
  53104. "example" : "PI20190506152394234234"
  53105. },
  53106. "parking_space_status" : {
  53107. "type" : "string",
  53108. "description" : "停车场实时状态: 0 拥堵,1 正常,2 空闲",
  53109. "example" : "1"
  53110. }
  53111. }
  53112. },
  53113. "AlipayEcoMycarParkingSpaceinfoSyncResponseModel" : {
  53114. "type" : "object",
  53115. "properties" : {
  53116. "sync_result" : {
  53117. "type" : "string",
  53118. "description" : "同步结果:0 成功,1 失败",
  53119. "example" : "1"
  53120. }
  53121. }
  53122. },
  53123. "AlipayEcoMycarParkingVehicleQueryErrorResponseModel" : {
  53124. "required" : [ "code", "message" ],
  53125. "type" : "object",
  53126. "properties" : {
  53127. "code" : {
  53128. "type" : "string",
  53129. "description" : "错误码",
  53130. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR", "SYSTEM_ERROR" ]
  53131. },
  53132. "links" : {
  53133. "type" : "string",
  53134. "description" : "解决方案链接"
  53135. },
  53136. "message" : {
  53137. "type" : "string",
  53138. "description" : "错误描述"
  53139. }
  53140. }
  53141. },
  53142. "AlipayEcoMycarParkingVehicleQueryResponseModel" : {
  53143. "type" : "object",
  53144. "properties" : {
  53145. "car_number" : {
  53146. "type" : "string",
  53147. "description" : "车牌信息(utf-8编码)",
  53148. "example" : "川Axxxxxx"
  53149. }
  53150. }
  53151. },
  53152. "AlipayEcoSignFlowCancelErrorResponseModel" : {
  53153. "required" : [ "code", "message" ],
  53154. "type" : "object",
  53155. "properties" : {
  53156. "code" : {
  53157. "type" : "string",
  53158. "description" : "错误码",
  53159. "enum" : [ "NOT_ALLOW_REVOKE", "PARAM_ERROR", "SYSTEM_ERROR" ]
  53160. },
  53161. "links" : {
  53162. "type" : "string",
  53163. "description" : "解决方案链接"
  53164. },
  53165. "message" : {
  53166. "type" : "string",
  53167. "description" : "错误描述"
  53168. }
  53169. }
  53170. },
  53171. "AlipayEcoSignFlowCancelModel" : {
  53172. "type" : "object",
  53173. "properties" : {
  53174. "flow_id" : {
  53175. "type" : "string",
  53176. "description" : "流程id,通过 <a href =\"https://opendocs.alipay.com/apis/api_50/alipay.eco.contract.signflows.create\">创建电子合同签署流程</a>(alipay.eco.contract.signflows.create)接口获取。",
  53177. "example" : "429b1d3038854cabbcdac0a63d7e4c0d"
  53178. },
  53179. "revoke_reason" : {
  53180. "type" : "string",
  53181. "description" : "撤销原因,默认为\"撤销\"。商家可自定义。",
  53182. "example" : "合同内容不符,拒签"
  53183. }
  53184. }
  53185. },
  53186. "AlipayEcoSignFlowCancelResponseModel" : {
  53187. "type" : "object"
  53188. },
  53189. "AlipayEcoSignFlowCreateErrorResponseModel" : {
  53190. "required" : [ "code", "message" ],
  53191. "type" : "object",
  53192. "properties" : {
  53193. "code" : {
  53194. "type" : "string",
  53195. "description" : "错误码",
  53196. "enum" : [ "PARAM_ERROR", "SYSTEM_ERROR", "SERIAL_NO_IS_EXIST" ]
  53197. },
  53198. "links" : {
  53199. "type" : "string",
  53200. "description" : "解决方案链接"
  53201. },
  53202. "message" : {
  53203. "type" : "string",
  53204. "description" : "错误描述"
  53205. }
  53206. }
  53207. },
  53208. "AlipayEcoSignFlowCreateModel" : {
  53209. "type" : "object",
  53210. "properties" : {
  53211. "attachments" : {
  53212. "type" : "array",
  53213. "description" : "附件信息",
  53214. "items" : {
  53215. "$ref" : "#/components/schemas/Attachment"
  53216. }
  53217. },
  53218. "business_scene" : {
  53219. "type" : "string",
  53220. "description" : "流程主题",
  53221. "example" : "商品签收"
  53222. },
  53223. "config_info" : {
  53224. "$ref" : "#/components/schemas/ConfigInfo"
  53225. },
  53226. "template_infos" : {
  53227. "type" : "array",
  53228. "description" : "模板信息",
  53229. "items" : {
  53230. "$ref" : "#/components/schemas/TemplateInfo"
  53231. }
  53232. }
  53233. }
  53234. },
  53235. "AlipayEcoSignFlowCreateResponseModel" : {
  53236. "type" : "object",
  53237. "properties" : {
  53238. "flow_id" : {
  53239. "type" : "string",
  53240. "description" : "流程Id",
  53241. "example" : "56b75290982d472b8d60133cd9a747a3"
  53242. }
  53243. }
  53244. },
  53245. "AlipayEcoSignFlowFinishErrorResponseModel" : {
  53246. "required" : [ "code", "message" ],
  53247. "type" : "object",
  53248. "properties" : {
  53249. "code" : {
  53250. "type" : "string",
  53251. "description" : "错误码",
  53252. "enum" : [ "PARAM_ERROR", "SYSTEM_ERROR" ]
  53253. },
  53254. "links" : {
  53255. "type" : "string",
  53256. "description" : "解决方案链接"
  53257. },
  53258. "message" : {
  53259. "type" : "string",
  53260. "description" : "错误描述"
  53261. }
  53262. }
  53263. },
  53264. "AlipayEcoSignFlowFinishModel" : {
  53265. "type" : "object",
  53266. "properties" : {
  53267. "flow_id" : {
  53268. "type" : "string",
  53269. "description" : "流程id",
  53270. "example" : "429b1d3038854cabbcdac0a63d7e4c0d"
  53271. }
  53272. }
  53273. },
  53274. "AlipayEcoSignFlowFinishResponseModel" : {
  53275. "type" : "object"
  53276. },
  53277. "AlipayEcoSignFlowQueryErrorResponseModel" : {
  53278. "required" : [ "code", "message" ],
  53279. "type" : "object",
  53280. "properties" : {
  53281. "code" : {
  53282. "type" : "string",
  53283. "description" : "错误码",
  53284. "enum" : [ "PARAM_ERROR", "SYSTEM_ERROR" ]
  53285. },
  53286. "links" : {
  53287. "type" : "string",
  53288. "description" : "解决方案链接"
  53289. },
  53290. "message" : {
  53291. "type" : "string",
  53292. "description" : "错误描述"
  53293. }
  53294. }
  53295. },
  53296. "AlipayEcoSignFlowQueryResponseModel" : {
  53297. "type" : "object",
  53298. "properties" : {
  53299. "business_scene" : {
  53300. "type" : "string",
  53301. "description" : "文件主题",
  53302. "example" : "合同名称"
  53303. },
  53304. "contract_validity" : {
  53305. "type" : "integer",
  53306. "description" : "文件有效截止日期",
  53307. "example" : "1592386042000"
  53308. },
  53309. "flow_desc" : {
  53310. "type" : "string",
  53311. "description" : "流程描述, 如果流程已拒签或已撤回, 并且存在拒签或撤回原因, 流程描述显示为原因, 否则默认为流程状态描述",
  53312. "example" : "完成"
  53313. },
  53314. "flow_end_time" : {
  53315. "type" : "integer",
  53316. "description" : "流程结束时间",
  53317. "example" : "1560764486000"
  53318. },
  53319. "flow_id" : {
  53320. "type" : "string",
  53321. "description" : "流程Id",
  53322. "example" : "429b1d3038854cabbcdac0a63d7e4c0d"
  53323. },
  53324. "flow_start_time" : {
  53325. "type" : "integer",
  53326. "description" : "流程开始时间",
  53327. "example" : "1560764486000"
  53328. },
  53329. "flow_status" : {
  53330. "type" : "integer",
  53331. "description" : "流程状态,0-草稿 1-签署中 2-完成 3-撤销 4-终止 5-过期 6-删除 7-拒签",
  53332. "example" : "2"
  53333. },
  53334. "notice_developer_url" : {
  53335. "type" : "string",
  53336. "description" : "通知开发者地址",
  53337. "example" : "http://127.0.0.1:9110/notice"
  53338. },
  53339. "sign_validity" : {
  53340. "type" : "integer",
  53341. "description" : "签署有效截止日期",
  53342. "example" : "1592386042000"
  53343. },
  53344. "signers" : {
  53345. "type" : "array",
  53346. "description" : "签署人列表及签署状态",
  53347. "items" : {
  53348. "$ref" : "#/components/schemas/FlowSigner"
  53349. }
  53350. }
  53351. }
  53352. },
  53353. "AlipayEcoSignflowsDetailQueryErrorResponseModel" : {
  53354. "required" : [ "code", "message" ],
  53355. "type" : "object",
  53356. "properties" : {
  53357. "code" : {
  53358. "type" : "string",
  53359. "description" : "错误码",
  53360. "enum" : [ "SYSTEM_ERROR", "PARAM_ERROR", "UNABLE_DOWNLOAD_FILE" ]
  53361. },
  53362. "links" : {
  53363. "type" : "string",
  53364. "description" : "解决方案链接"
  53365. },
  53366. "message" : {
  53367. "type" : "string",
  53368. "description" : "错误描述"
  53369. }
  53370. }
  53371. },
  53372. "AlipayEcoSignflowsDetailQueryResponseModel" : {
  53373. "type" : "object",
  53374. "properties" : {
  53375. "attachments" : {
  53376. "$ref" : "#/components/schemas/AttachmentDetail"
  53377. },
  53378. "docs" : {
  53379. "$ref" : "#/components/schemas/DocInfo"
  53380. }
  53381. }
  53382. },
  53383. "AlipayEcoSignflowsUrlQueryErrorResponseModel" : {
  53384. "required" : [ "code", "message" ],
  53385. "type" : "object",
  53386. "properties" : {
  53387. "code" : {
  53388. "type" : "string",
  53389. "description" : "错误码",
  53390. "enum" : [ "SYSTEM_ERROR", "PARAM_ERROR" ]
  53391. },
  53392. "links" : {
  53393. "type" : "string",
  53394. "description" : "解决方案链接"
  53395. },
  53396. "message" : {
  53397. "type" : "string",
  53398. "description" : "错误描述"
  53399. }
  53400. }
  53401. },
  53402. "AlipayEcoSignflowsUrlQueryResponseModel" : {
  53403. "type" : "object",
  53404. "properties" : {
  53405. "preview_short_url" : {
  53406. "type" : "string",
  53407. "description" : "预览短链地址(30天有效)",
  53408. "example" : "http://testfront.tsign.cn"
  53409. },
  53410. "preview_url" : {
  53411. "type" : "string",
  53412. "description" : "预览长链地址(永久有效)",
  53413. "example" : "https://testt.tsign.cn/55vebd3omU7k"
  53414. },
  53415. "sign_short_url" : {
  53416. "type" : "string",
  53417. "description" : "签署短链地址(30天有效)",
  53418. "example" : "http://testfront.tsign.cn:8821"
  53419. },
  53420. "sign_url" : {
  53421. "type" : "string",
  53422. "description" : "签署长链地址(永久有效)",
  53423. "example" : "https://testt.tsign.cn/55vebd3omU7k"
  53424. }
  53425. }
  53426. },
  53427. "AlipayFundAccountQueryErrorResponseModel" : {
  53428. "required" : [ "code", "message" ],
  53429. "type" : "object",
  53430. "properties" : {
  53431. "code" : {
  53432. "type" : "string",
  53433. "description" : "错误码",
  53434. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_PERMISSION_ACCOUNT", "TRUSTEESHIP_ACCOUNT_NOT_EXIST", "USER_AGREEMENT_VERIFY_FAIL", "AUTH_USERID_IS_NOT_MATCH", "AUTHOREE_IS_NOT_MATCH", "USER_AGREEMENT_STATUS_ABNORMAL", "USER_AGREEMENT_IS_OUT_OF_DATE", "MERCHANT_AGREEMENT_VERIFY_FAIL", "AUTH_INFO_NOT_EXISTS", "ALIPAY_ACCOUNT_NOT_EXIST", "AUTH_CODE_ERROR" ]
  53435. },
  53436. "links" : {
  53437. "type" : "string",
  53438. "description" : "解决方案链接"
  53439. },
  53440. "message" : {
  53441. "type" : "string",
  53442. "description" : "错误描述"
  53443. }
  53444. }
  53445. },
  53446. "AlipayFundAccountQueryResponseModel" : {
  53447. "type" : "object",
  53448. "properties" : {
  53449. "available_amount" : {
  53450. "type" : "string",
  53451. "description" : "账户可用余额,单位元,精确到小数点后两位。",
  53452. "example" : "26.45"
  53453. },
  53454. "ext_card_info" : {
  53455. "$ref" : "#/components/schemas/ExtCardInfo"
  53456. },
  53457. "freeze_amount" : {
  53458. "type" : "string",
  53459. "description" : "当前支付宝账户的实时冻结余额",
  53460. "example" : "11.11"
  53461. }
  53462. }
  53463. },
  53464. "AlipayFundAccountbookCreateErrorResponseModel" : {
  53465. "required" : [ "code", "message" ],
  53466. "type" : "object",
  53467. "properties" : {
  53468. "code" : {
  53469. "type" : "string",
  53470. "description" : "错误码",
  53471. "enum" : [ "INVALID_PARAMETER", "USER_AGREEMENT_VERIFY_FAIL", "OPEN_ACCOUNT_BOOK_ERROR", "MERCHANT_PRODUCT_NOT_SIGN" ]
  53472. },
  53473. "links" : {
  53474. "type" : "string",
  53475. "description" : "解决方案链接"
  53476. },
  53477. "message" : {
  53478. "type" : "string",
  53479. "description" : "错误描述"
  53480. }
  53481. }
  53482. },
  53483. "AlipayFundAccountbookCreateModel" : {
  53484. "type" : "object",
  53485. "properties" : {
  53486. "ext_info" : {
  53487. "type" : "string",
  53488. "description" : "JSON格式,传递业务扩展参数",
  53489. "example" : "{\"agreement_no\":\"2019000000000\",\"cert_no\":\"61102619921108888\"}"
  53490. },
  53491. "merchant_user_id" : {
  53492. "type" : "string",
  53493. "description" : "外部商户系统会员的唯一标识,自定义传入",
  53494. "example" : "10000001"
  53495. },
  53496. "merchant_user_type" : {
  53497. "type" : "string",
  53498. "description" : "外部商户用户类型:BUSINESS_EMPLOYEE",
  53499. "example" : "BUSINESS_ORGANIZATION"
  53500. },
  53501. "scene_code" : {
  53502. "type" : "string",
  53503. "description" : "资金记账本的业务场景",
  53504. "example" : "SATF_FUND_BOOK"
  53505. }
  53506. }
  53507. },
  53508. "AlipayFundAccountbookCreateResponseModel" : {
  53509. "type" : "object",
  53510. "properties" : {
  53511. "account_book_id" : {
  53512. "type" : "string",
  53513. "description" : "开通的资金记账本id",
  53514. "example" : "2088123412341234"
  53515. },
  53516. "ext_card_info" : {
  53517. "$ref" : "#/components/schemas/ExtCardInfo"
  53518. }
  53519. }
  53520. },
  53521. "AlipayFundAccountbookNotifyQueryErrorResponseModel" : {
  53522. "required" : [ "code", "message" ],
  53523. "type" : "object",
  53524. "properties" : {
  53525. "code" : {
  53526. "type" : "string",
  53527. "description" : "错误码",
  53528. "enum" : [ "SUBSCRIPTION_RELATION_NOT_EXIST", "ACCOUNTBOOK_AGREEMENT_REQUIRED", "AGREEMENT_NOT_EXIST", "AGREEMENT_IS_INVALID", "AGREEMENT_STATUS_IS_NOT_NORMAL", "AGREEMENT_IS_OUT_OF_DATE", "ACCOUNT_BOOK_INFO_QUERY_FAIL", "ILLEGAL_ARGUMENT", "MAX_VISIT_LIMIT", "SYSTEM_ERROR", "BIZ_PRODUCT_CODE_ERROR" ]
  53529. },
  53530. "links" : {
  53531. "type" : "string",
  53532. "description" : "解决方案链接"
  53533. },
  53534. "message" : {
  53535. "type" : "string",
  53536. "description" : "错误描述"
  53537. }
  53538. }
  53539. },
  53540. "AlipayFundAccountbookNotifyQueryResponseModel" : {
  53541. "type" : "object",
  53542. "properties" : {
  53543. "account_book_id" : {
  53544. "type" : "string",
  53545. "description" : "记账本ID",
  53546. "example" : "2088000147677710"
  53547. },
  53548. "code" : {
  53549. "type" : "string",
  53550. "description" : "响应code。 成功为10000; 业务异常为40004;",
  53551. "example" : "10000"
  53552. },
  53553. "msg" : {
  53554. "type" : "string",
  53555. "description" : "响应描述。 成功为Success; 业务异常为Business Failed;",
  53556. "example" : "Success"
  53557. },
  53558. "subscribe_status" : {
  53559. "type" : "string",
  53560. "description" : "订阅关系状态, VALID:有效的; INVALID:失效的;",
  53561. "example" : "VALID"
  53562. }
  53563. }
  53564. },
  53565. "AlipayFundAccountbookNotifySubscribeErrorResponseModel" : {
  53566. "required" : [ "code", "message" ],
  53567. "type" : "object",
  53568. "properties" : {
  53569. "code" : {
  53570. "type" : "string",
  53571. "description" : "错误码",
  53572. "enum" : [ "SUBSCRIPTION_RELATION_NOT_EXIST", "ACCOUNTBOOK_AGREEMENT_REQUIRED", "AGREEMENT_NOT_EXIST", "AGREEMENT_IS_INVALID", "AGREEMENT_STATUS_IS_NOT_NORMAL", "AGREEMENT_IS_OUT_OF_DATE", "ACCOUNT_BOOK_INFO_QUERY_FAIL", "ILLEGAL_ARGUMENT", "MAX_VISIT_LIMIT", "SYSTEM_ERROR", "BIZ_PRODUCT_CODE_ERROR" ]
  53573. },
  53574. "links" : {
  53575. "type" : "string",
  53576. "description" : "解决方案链接"
  53577. },
  53578. "message" : {
  53579. "type" : "string",
  53580. "description" : "错误描述"
  53581. }
  53582. }
  53583. },
  53584. "AlipayFundAccountbookNotifySubscribeModel" : {
  53585. "type" : "object",
  53586. "properties" : {
  53587. "account_book_id" : {
  53588. "type" : "string",
  53589. "description" : "记账本ID",
  53590. "example" : "2088000147677710"
  53591. },
  53592. "agreement_no" : {
  53593. "type" : "string",
  53594. "description" : "协议号。 若是基于协议的记账本,则agreement_no必传; 若是自创建的记账本,则agreement_no不传;",
  53595. "example" : "20205724001102186227"
  53596. },
  53597. "biz_scene" : {
  53598. "type" : "string",
  53599. "description" : "场景码。固定为DEFAULT",
  53600. "example" : "DEFAULT"
  53601. },
  53602. "product_code" : {
  53603. "type" : "string",
  53604. "description" : "产品码。固定为SATF_FUND_BOOK",
  53605. "example" : "SATF_FUND_BOOK"
  53606. }
  53607. }
  53608. },
  53609. "AlipayFundAccountbookNotifySubscribeResponseModel" : {
  53610. "type" : "object",
  53611. "properties" : {
  53612. "account_book_id" : {
  53613. "type" : "string",
  53614. "description" : "记账本ID",
  53615. "example" : "2088**********0378"
  53616. },
  53617. "code" : {
  53618. "type" : "string",
  53619. "description" : "响应code。 成功为10000; 业务异常为40004;",
  53620. "example" : "10000"
  53621. },
  53622. "msg" : {
  53623. "type" : "string",
  53624. "description" : "响应描述。 成功为Success; 业务异常为Business Failed;",
  53625. "example" : "Success"
  53626. },
  53627. "subscribe_status" : {
  53628. "type" : "string",
  53629. "description" : "订阅关系状态, VALID:有效的; INVALID:失效的;",
  53630. "example" : "VALID"
  53631. }
  53632. }
  53633. },
  53634. "AlipayFundAccountbookNotifyUnsubscribeErrorResponseModel" : {
  53635. "required" : [ "code", "message" ],
  53636. "type" : "object",
  53637. "properties" : {
  53638. "code" : {
  53639. "type" : "string",
  53640. "description" : "错误码",
  53641. "enum" : [ "SUBSCRIPTION_RELATION_NOT_EXIST", "ACCOUNTBOOK_AGREEMENT_REQUIRED", "AGREEMENT_NOT_EXIST", "AGREEMENT_IS_INVALID", "AGREEMENT_STATUS_IS_NOT_NORMAL", "AGREEMENT_IS_OUT_OF_DATE", "ACCOUNT_BOOK_INFO_QUERY_FAIL", "ILLEGAL_ARGUMENT", "MAX_VISIT_LIMIT", "SYSTEM_ERROR", "BIZ_PRODUCT_CODE_ERROR" ]
  53642. },
  53643. "links" : {
  53644. "type" : "string",
  53645. "description" : "解决方案链接"
  53646. },
  53647. "message" : {
  53648. "type" : "string",
  53649. "description" : "错误描述"
  53650. }
  53651. }
  53652. },
  53653. "AlipayFundAccountbookNotifyUnsubscribeModel" : {
  53654. "type" : "object",
  53655. "properties" : {
  53656. "account_book_id" : {
  53657. "type" : "string",
  53658. "description" : "记账本ID",
  53659. "example" : "2088000147677710"
  53660. },
  53661. "agreement_no" : {
  53662. "type" : "string",
  53663. "description" : "协议号。\t若是基于协议的记账本,则agreement_no必传;\t若是自创建的记账本,则agreement_no不传;",
  53664. "example" : "20205724001102186227"
  53665. },
  53666. "biz_scene" : {
  53667. "type" : "string",
  53668. "description" : "场景码。固定为DEFAULT",
  53669. "example" : "DEFAULT"
  53670. },
  53671. "product_code" : {
  53672. "type" : "string",
  53673. "description" : "产品码。固定为SATF_FUND_BOOK",
  53674. "example" : "SATF_FUND_BOOK"
  53675. }
  53676. }
  53677. },
  53678. "AlipayFundAccountbookNotifyUnsubscribeResponseModel" : {
  53679. "type" : "object",
  53680. "properties" : {
  53681. "account_book_id" : {
  53682. "type" : "string",
  53683. "description" : "记账本ID",
  53684. "example" : "2088000147677710"
  53685. },
  53686. "code" : {
  53687. "type" : "string",
  53688. "description" : "响应code。\t成功为10000;\t业务异常为40004;",
  53689. "example" : "10000"
  53690. },
  53691. "msg" : {
  53692. "type" : "string",
  53693. "description" : "响应描述。 成功为Success; 业务异常为Business Failed;",
  53694. "example" : "Success"
  53695. },
  53696. "subscribe_status" : {
  53697. "type" : "string",
  53698. "description" : "订阅关系状态, \tVALID:有效的; \tINVALID:失效的;",
  53699. "example" : "VALID"
  53700. }
  53701. }
  53702. },
  53703. "AlipayFundAccountbookQueryErrorResponseModel" : {
  53704. "required" : [ "code", "message" ],
  53705. "type" : "object",
  53706. "properties" : {
  53707. "code" : {
  53708. "type" : "string",
  53709. "description" : "错误码",
  53710. "enum" : [ "INVALID_PARAMETER", "TRUSTEESHIP_ACCOUNT_NOT_EXIST", "USER_AGREEMENT_VERIFY_FAIL", "AUTHOREE_IS_NOT_MATCH", "MERCHANT_AGREEMENT_VERIFY_FAIL", "NO_PERMISSION_ACCOUNT", "MERCHANT_PRODUCT_NOT_SIGN", "ACCOUNTBOOK_QUERY_NOT_SAME_USER", "TRUSTEESHIP_PARENT_ACCOUNT_NOT_EXIST", "AUTH_CODE_ERROR", "SYSTEM_ERROR", "NO_ACCOUNTBOOK_PERMISSION" ]
  53711. },
  53712. "links" : {
  53713. "type" : "string",
  53714. "description" : "解决方案链接"
  53715. },
  53716. "message" : {
  53717. "type" : "string",
  53718. "description" : "错误描述"
  53719. }
  53720. }
  53721. },
  53722. "AlipayFundAccountbookQueryResponseModel" : {
  53723. "type" : "object",
  53724. "properties" : {
  53725. "account_book_id" : {
  53726. "type" : "string",
  53727. "description" : "记账账簿id",
  53728. "example" : "2088001409188095"
  53729. },
  53730. "auth_info" : {
  53731. "$ref" : "#/components/schemas/AuthInfoDTO"
  53732. },
  53733. "available_amount" : {
  53734. "type" : "string",
  53735. "description" : "可用余额",
  53736. "example" : "26.45"
  53737. },
  53738. "ext_card_info" : {
  53739. "$ref" : "#/components/schemas/ExtCardInfo"
  53740. }
  53741. }
  53742. },
  53743. "AlipayFundAgreementQuotaModifyErrorResponseModel" : {
  53744. "required" : [ "code", "message" ],
  53745. "type" : "object",
  53746. "properties" : {
  53747. "code" : {
  53748. "type" : "string",
  53749. "description" : "错误码",
  53750. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "PRODUCT_NOT_SIGN", "NOT_SUPPORT_PRODUCT_SCENE", "NOT_SUPPORT_QUOTA_ROLE" ]
  53751. },
  53752. "links" : {
  53753. "type" : "string",
  53754. "description" : "解决方案链接"
  53755. },
  53756. "message" : {
  53757. "type" : "string",
  53758. "description" : "错误描述"
  53759. }
  53760. }
  53761. },
  53762. "AlipayFundAgreementQuotaModifyModel" : {
  53763. "type" : "object",
  53764. "properties" : {
  53765. "agreement_quota_modify_list" : {
  53766. "type" : "array",
  53767. "description" : "协议额度设置信息",
  53768. "items" : {
  53769. "$ref" : "#/components/schemas/AgreementQuotaModifyList"
  53770. }
  53771. },
  53772. "biz_scene" : {
  53773. "type" : "string",
  53774. "description" : "场景码,非固定值,使用的对应的资金场景码保持一致",
  53775. "example" : "ENTRUST_TRANSFER"
  53776. },
  53777. "product_code" : {
  53778. "type" : "string",
  53779. "description" : "额度产品码,非固定值,使用的对应的资金产品码保持一致",
  53780. "example" : "BATCH_API_TO_ACC_NO_PWD"
  53781. }
  53782. }
  53783. },
  53784. "AlipayFundAgreementQuotaModifyResponseModel" : {
  53785. "type" : "object",
  53786. "properties" : {
  53787. "quota_modify_detail_list" : {
  53788. "type" : "array",
  53789. "description" : "额度变更结果集合",
  53790. "items" : {
  53791. "$ref" : "#/components/schemas/QuotaModifyDetail"
  53792. }
  53793. }
  53794. }
  53795. },
  53796. "AlipayFundAgreementQuotaQueryErrorResponseModel" : {
  53797. "required" : [ "code", "message" ],
  53798. "type" : "object",
  53799. "properties" : {
  53800. "code" : {
  53801. "type" : "string",
  53802. "description" : "错误码",
  53803. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "PRODUCT_NOT_SIGN", "NOT_SUPPORT_PRODUCT_SCENE" ]
  53804. },
  53805. "links" : {
  53806. "type" : "string",
  53807. "description" : "解决方案链接"
  53808. },
  53809. "message" : {
  53810. "type" : "string",
  53811. "description" : "错误描述"
  53812. }
  53813. }
  53814. },
  53815. "AlipayFundAgreementQuotaQueryModel" : {
  53816. "type" : "object",
  53817. "properties" : {
  53818. "agreement_no_list" : {
  53819. "type" : "array",
  53820. "description" : "授权协议号",
  53821. "items" : {
  53822. "type" : "string"
  53823. },
  53824. "example" : "[\"20205321001042231004\"]"
  53825. },
  53826. "biz_scene" : {
  53827. "type" : "string",
  53828. "description" : "场景码,非固定值,使用的对应的资金场景码保持一致",
  53829. "example" : "ENTRUST_TRANSFER"
  53830. },
  53831. "product_code" : {
  53832. "type" : "string",
  53833. "description" : "额度产品码,非固定值,使用的对应的资金产品码保持一致",
  53834. "example" : "BATCH_API_TO_ACC_NO_PWD"
  53835. }
  53836. }
  53837. },
  53838. "AlipayFundAgreementQuotaQueryResponseModel" : {
  53839. "type" : "object",
  53840. "properties" : {
  53841. "quota_query_response_list" : {
  53842. "type" : "array",
  53843. "description" : "单个协议的额度查询结果",
  53844. "items" : {
  53845. "$ref" : "#/components/schemas/QuotaQueryResponse"
  53846. }
  53847. }
  53848. }
  53849. },
  53850. "AlipayFundAuthOperationCancelErrorResponseModel" : {
  53851. "required" : [ "code", "message" ],
  53852. "type" : "object",
  53853. "properties" : {
  53854. "code" : {
  53855. "type" : "string",
  53856. "description" : "错误码",
  53857. "enum" : [ "ILLEGAL_ARGUMENT", "ACCESS_FORBIDDEN", "PAYER_USER_STATUS_LIMIT", "ORDER_ALREADY_FINISH", "CANCEL_OPERATION_TIME_OUT", "REQUEST_AMOUNT_EXCEED", "SYSTEM_ERROR" ]
  53858. },
  53859. "links" : {
  53860. "type" : "string",
  53861. "description" : "解决方案链接"
  53862. },
  53863. "message" : {
  53864. "type" : "string",
  53865. "description" : "错误描述"
  53866. }
  53867. }
  53868. },
  53869. "AlipayFundAuthOperationCancelModel" : {
  53870. "type" : "object",
  53871. "properties" : {
  53872. "auth_no" : {
  53873. "type" : "string",
  53874. "description" : "支付宝授权资金订单号。\t与商户的授权资金订单号不能同时为空,二者都传入时,以支付宝资金授权订单号为准,该参数与支付宝授权资金操作流水号配对使用。",
  53875. "example" : "2014070800002001550000014417"
  53876. },
  53877. "notify_url" : {
  53878. "type" : "string",
  53879. "description" : "通知地址"
  53880. },
  53881. "operation_id" : {
  53882. "type" : "string",
  53883. "description" : "支付宝的授权资金操作流水号。\t与商户的授权资金操作流水号不能同时为空,二者都传入时,以支付宝的授权资金操作流水号为准,该参数与支付宝授权资金订单号配对使用。",
  53884. "example" : "20161012405744018102"
  53885. },
  53886. "out_order_no" : {
  53887. "type" : "string",
  53888. "description" : "商户的授权资金订单号。\t与支付宝的授权资金订单号不能同时为空,二者都传入时,以支付宝的授权资金订单号为准,该参数与商户的授权资金操作流水号配对使用。\t该值与资金冻结时 out_order_no一致。",
  53889. "example" : "4977164666634053"
  53890. },
  53891. "out_request_no" : {
  53892. "type" : "string",
  53893. "description" : "商户的授权资金操作流水号。\t与支付宝的授权资金操作流水号不能同时为空,二者都传入时,以支付宝的授权资金操作流水号为准,该参数与商户的授权资金订单号配对使用。\t该值与资金冻结时out_request_no一致",
  53894. "example" : "2016100810000003551"
  53895. },
  53896. "remark" : {
  53897. "type" : "string",
  53898. "description" : "商户对本次撤销操作的附言描述。\t长度不超过100个字母或50个汉字。",
  53899. "example" : "授权撤销"
  53900. }
  53901. }
  53902. },
  53903. "AlipayFundAuthOperationCancelResponseModel" : {
  53904. "type" : "object",
  53905. "properties" : {
  53906. "action" : {
  53907. "type" : "string",
  53908. "description" : "本次撤销触发的资金动作\r\tclose:关闭冻结明细,无资金解冻\r\tunfreeze:产生了资金解冻",
  53909. "example" : "close"
  53910. },
  53911. "auth_no" : {
  53912. "type" : "string",
  53913. "description" : "支付宝资金授权订单号。",
  53914. "example" : "2016101210002001810258115912"
  53915. },
  53916. "operation_id" : {
  53917. "type" : "string",
  53918. "description" : "支付宝的冻结操作流水号。",
  53919. "example" : "20161012405744018102"
  53920. },
  53921. "out_order_no" : {
  53922. "type" : "string",
  53923. "description" : "商户的授权资金订单号。",
  53924. "example" : "4977164666634053"
  53925. },
  53926. "out_request_no" : {
  53927. "type" : "string",
  53928. "description" : "商户的冻结操作流水号 。",
  53929. "example" : "234555553333444334"
  53930. }
  53931. }
  53932. },
  53933. "AlipayFundAuthOperationDetailQueryErrorResponseModel" : {
  53934. "required" : [ "code", "message" ],
  53935. "type" : "object",
  53936. "properties" : {
  53937. "code" : {
  53938. "type" : "string",
  53939. "description" : "错误码",
  53940. "enum" : [ "ILLEGAL_ARGUMENT", "AUTH_ORDER_NOT_EXIST", "AUTH_OPERATION_NOT_EXIST", "ACCESS_FORBIDDEN", "SYSTEM_ERROR", "ENTERPRISE_PAY_BIZ_ERROR" ]
  53941. },
  53942. "links" : {
  53943. "type" : "string",
  53944. "description" : "解决方案链接"
  53945. },
  53946. "message" : {
  53947. "type" : "string",
  53948. "description" : "错误描述"
  53949. }
  53950. }
  53951. },
  53952. "AlipayFundAuthOperationDetailQueryModel" : {
  53953. "type" : "object",
  53954. "properties" : {
  53955. "auth_no" : {
  53956. "type" : "string",
  53957. "description" : "支付宝授权资金订单号。\t与商户的授权资金订单号不能同时为空,二者都传入时,以支付宝资金授权订单号为准,该参数与支付宝授权资金操作流水号配对使用。",
  53958. "example" : "2014021601002000640012345678"
  53959. },
  53960. "operation_id" : {
  53961. "type" : "string",
  53962. "description" : "支付宝的授权资金操作流水号。\t与商户的授权资金操作流水号不能同时为空,二者都传入时,以支付宝的授权资金操作流水号为准,该参数与支付宝授权资金订单号配对使用。",
  53963. "example" : "20140216010020006400"
  53964. },
  53965. "operation_type" : {
  53966. "type" : "string",
  53967. "description" : "需要查询的授权资金操作类型。\t可选值FREEZE/UNFREEZE/PAY,分别对应冻结、解冻、支付明细类型;\t未传入本参数时,如果仅查询出单笔明细则直接返回,如果查询出多笔则优先返回冻结明细、无冻结明细时返回解冻明细;\t当传入本参数时,则严格按照该操作类型返回对应明细",
  53968. "example" : "FREEZE"
  53969. },
  53970. "out_order_no" : {
  53971. "type" : "string",
  53972. "description" : "商户的授权资金订单号。\t与支付宝的授权资金订单号不能同时为空,二者都传入时,以支付宝的授权资金订单号为准,该参数与商户的授权资金操作流水号配对使用。\t该值与资金冻结时 out_order_no一致。",
  53973. "example" : "8077735255938023"
  53974. },
  53975. "out_request_no" : {
  53976. "type" : "string",
  53977. "description" : "商户的授权资金操作流水号。\t与支付宝的授权资金操作流水号不能同时为空,二者都传入时,以支付宝的授权资金操作流水号为准,该参数与商户的授权资金订单号配对使用。\t查询冻结明细时,该值与发起冻结操作时传入的out_request_no一致;\t查询解冻明细时,该值与发起解冻操作时传入的out_request_no一致;\t查询支付明细时,该值与发起转支付操作时传入的out_trade_no一致。",
  53978. "example" : "20140216001001"
  53979. },
  53980. "query_options" : {
  53981. "type" : "array",
  53982. "description" : "需要查询的额外信息",
  53983. "items" : {
  53984. "type" : "string"
  53985. },
  53986. "example" : "[\"credit_risk_info\"]"
  53987. }
  53988. }
  53989. },
  53990. "AlipayFundAuthOperationDetailQueryResponseModel" : {
  53991. "type" : "object",
  53992. "properties" : {
  53993. "amount" : {
  53994. "type" : "string",
  53995. "description" : "该笔资金操作流水operation_id对应的操作金额,单位为:元(人民币)",
  53996. "example" : "200.00"
  53997. },
  53998. "auth_no" : {
  53999. "type" : "string",
  54000. "description" : "支付宝资金授权订单号",
  54001. "example" : "2014031600002001260000001000"
  54002. },
  54003. "credit_amount" : {
  54004. "type" : "string",
  54005. "description" : "该笔资金操作流水operation_id对应的操作信用金额",
  54006. "example" : "0.01"
  54007. },
  54008. "credit_merchant_ext" : {
  54009. "type" : "string",
  54010. "description" : "芝麻透出给商户的信息,具体内容由商户与芝麻约定后返回",
  54011. "example" : "{\"1003190\":\"true\"}"
  54012. },
  54013. "credit_risk_info" : {
  54014. "$ref" : "#/components/schemas/CreditRiskInfo"
  54015. },
  54016. "enterprise_pay_info" : {
  54017. "type" : "string",
  54018. "description" : "因公付业务信息",
  54019. "example" : "{\"biz_info\":\"{\\\"enterprisePayAmount\\\":\\\"0.01\\\"}\"}"
  54020. },
  54021. "extra_param" : {
  54022. "type" : "string",
  54023. "description" : "商户请求创建预授权订单时传入的扩展参数,仅返回商户自定义的扩展信息(merchantExt)",
  54024. "example" : "{\"merchantExt\":\"key1=value1,key2=value2\"}"
  54025. },
  54026. "fund_amount" : {
  54027. "type" : "string",
  54028. "description" : "该笔资金操作流水operation_id对应的操作自有资金金额",
  54029. "example" : "0.01"
  54030. },
  54031. "gmt_create" : {
  54032. "type" : "string",
  54033. "description" : "资金授权单据操作流水创建时间,\r\t格式:YYYY-MM-DD HH:MM:SS",
  54034. "example" : "2014-01-01 20:00:00"
  54035. },
  54036. "gmt_trans" : {
  54037. "type" : "string",
  54038. "description" : "支付宝账务处理成功时间,\r\t格式:YYYY-MM-DD HH:MM:SS",
  54039. "example" : "2014-01-01 20:00:00"
  54040. },
  54041. "operation_id" : {
  54042. "type" : "string",
  54043. "description" : "支付宝资金操作流水号",
  54044. "example" : "20140216355864862002"
  54045. },
  54046. "operation_type" : {
  54047. "type" : "string",
  54048. "description" : "支付宝资金操作类型,表示当前查询到的这笔明细的操作类型。\t目前支持: \tFREEZE:冻结\tUNFREEZE:解冻\tPAY:支付",
  54049. "example" : "UNFREEZE"
  54050. },
  54051. "order_status" : {
  54052. "type" : "string",
  54053. "description" : "授权单状态:INIT(初始状态:已创建未授权)、AUTHORIZED(已授权状态:授权成功,可以进行转支付或解冻操作)、FINISH(完成状态:转支付完成且无剩余冻结资金)、CLOSED(关闭状态:授权未完成超时关闭或冻结资金全额解冻)",
  54054. "example" : "AUTHORIZED"
  54055. },
  54056. "order_title" : {
  54057. "type" : "string",
  54058. "description" : "业务订单的简单描述,如商品名称等",
  54059. "example" : "0元购土豪金"
  54060. },
  54061. "out_order_no" : {
  54062. "type" : "string",
  54063. "description" : "商户的授权资金订单号",
  54064. "example" : "20140216001"
  54065. },
  54066. "out_request_no" : {
  54067. "type" : "string",
  54068. "description" : "商户资金操作的请求流水号",
  54069. "example" : "20140216001001"
  54070. },
  54071. "payer_logon_id" : {
  54072. "type" : "string",
  54073. "description" : "付款方支付宝账号(Email或手机号),仅作展示使用,默认会加“*”号处理",
  54074. "example" : "ali*@alipay.com"
  54075. },
  54076. "payer_open_id" : {
  54077. "type" : "string",
  54078. "description" : "支付宝openId,用户(userId)在应用(appId)下的唯一标识。",
  54079. "example" : "03914IMEfXsS9K-tSvHy-IisrLlOfthFgDVo-hU30XtKPg9"
  54080. },
  54081. "payer_user_id" : {
  54082. "type" : "string",
  54083. "description" : "付款方支付宝账号对应的支付宝唯一用户号,以2088开头的16位纯数字组成",
  54084. "example" : "2088402019148643"
  54085. },
  54086. "pre_auth_type" : {
  54087. "type" : "string",
  54088. "description" : "预授权类型,信用预授权情况下值为 CREDIT_AUTH,表示该笔预授权为信用预授权,实际没有冻结用户资金;其它情况均不返回该字段。",
  54089. "example" : "CREDIT_AUTH"
  54090. },
  54091. "remark" : {
  54092. "type" : "string",
  54093. "description" : "商户对本次操作的附言描述,长度不超过100个字母或50个汉字",
  54094. "example" : "2014-05期解冻200.00元"
  54095. },
  54096. "rest_amount" : {
  54097. "type" : "string",
  54098. "description" : "订单当前剩余冻结金额,单位为:元(人民币)。",
  54099. "example" : "4600.00"
  54100. },
  54101. "rest_credit_amount" : {
  54102. "type" : "string",
  54103. "description" : "剩余冻结信用金额,单位为:元(人民币),精确到小数点后两位",
  54104. "example" : "0.01"
  54105. },
  54106. "rest_fund_amount" : {
  54107. "type" : "string",
  54108. "description" : "剩余冻结自有资金金额,单位为:元(人民币),精确到小数点后两位",
  54109. "example" : "0.01"
  54110. },
  54111. "status" : {
  54112. "type" : "string",
  54113. "description" : "资金操作流水的状态,\r\t目前支持: \r\tINIT:初始\r\tSUCCESS:成功\r\tCLOSED:关闭",
  54114. "example" : "SUCCESS"
  54115. },
  54116. "total_freeze_amount" : {
  54117. "type" : "string",
  54118. "description" : "订单累计的冻结金额,单位为:元(人民币)",
  54119. "example" : "4800.00"
  54120. },
  54121. "total_freeze_credit_amount" : {
  54122. "type" : "string",
  54123. "description" : "累计冻结信用金额,单位为:元(人民币),精确到小数点后两位",
  54124. "example" : "0.01"
  54125. },
  54126. "total_freeze_fund_amount" : {
  54127. "type" : "string",
  54128. "description" : "累计冻结自有资金金额,单位为:元(人民币),精确到小数点后两位",
  54129. "example" : "0.01"
  54130. },
  54131. "total_pay_amount" : {
  54132. "type" : "string",
  54133. "description" : "订单累计用于支付的金额,单位为:元(人民币)",
  54134. "example" : "0.00"
  54135. },
  54136. "total_pay_credit_amount" : {
  54137. "type" : "string",
  54138. "description" : "累计支付信用金额,单位为:元(人民币),精确到小数点后两位",
  54139. "example" : "0.01"
  54140. },
  54141. "total_pay_fund_amount" : {
  54142. "type" : "string",
  54143. "description" : "累计支付自有资金金额,单位为:元(人民币),精确到小数点后两位",
  54144. "example" : "0.01"
  54145. },
  54146. "trans_currency" : {
  54147. "type" : "string",
  54148. "description" : "标价币种, amount 对应的币种单位。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP",
  54149. "example" : "USD"
  54150. }
  54151. }
  54152. },
  54153. "AlipayFundAuthOrderAppFreezeErrorResponseModel" : {
  54154. "required" : [ "code", "message" ],
  54155. "type" : "object",
  54156. "properties" : {
  54157. "code" : {
  54158. "type" : "string",
  54159. "description" : "错误码",
  54160. "enum" : [ "ORDER_ALREADY_CLOSED", "FREEZE_ALREADY_SUCCESS", "SYSTEM_ERROR", "ORDER_ALREADY_FINISH", "EXIST_FORBIDDEN_WORD", "ILLEGAL_ARGUMENT", "ACCESS_FORBIDDEN", "PAYEE_NOT_EXIST", "PAYER_NOT_EXIST", "PAYER_USER_STATUS_LIMIT", "PAYEE_USER_STATUS_LIMIT", "CURRENCY_VERIFICATION_FAIL", "RESTRICTED_MERCHANT_INDUSTRY", "FOREX_ID_VERIFICATION_FAIL", "PRODUCT_AMOUNT_LIMIT_ERROR", "SECONDARY_MERCHANT_STATUS_ERROR", "USER_IDENTITY_INFO_VALIDATE_FAIL", "USER_ACCOUNT_VALIDATE_FAIL", "SUB_MERCHANT_ORG_ID_ERROR", "SUB_MERCHANT_LEVEL_ERROR", "SUB_MERCHANT_NO_PERMISSION", "MERCHANT_STATUS_ERROR" ]
  54161. },
  54162. "links" : {
  54163. "type" : "string",
  54164. "description" : "解决方案链接"
  54165. },
  54166. "message" : {
  54167. "type" : "string",
  54168. "description" : "错误描述"
  54169. }
  54170. }
  54171. },
  54172. "AlipayFundAuthOrderAppFreezeModel" : {
  54173. "type" : "object",
  54174. "properties" : {
  54175. "amount" : {
  54176. "type" : "string",
  54177. "description" : "需要冻结的金额,单位为:元(人民币),精确到小数点后两位。\t取值范围:[0.01,100000000.00]",
  54178. "example" : "0.01"
  54179. },
  54180. "business_params" : {
  54181. "type" : "string",
  54182. "description" : "业务参数,如风控参数outRiskInfo等。",
  54183. "example" : "{\"outRiskInfo\":\"{\\\"mcCreateTradeTime\\\":\\\"2022-03-11 12:46:09\\\",\\\"extraAccountCertnoLastSix\\\":\\\"000011\\\",\\\"mobileOperatingPlatform\\\":\\\"ios\\\",\\\"sysVersion\\\":\\\"15.4.2\\\",\\\"mcCreateTradeIp\\\":\\\"11.110.111.43\\\"}\"}"
  54184. },
  54185. "disable_pay_channels" : {
  54186. "type" : "string",
  54187. "description" : "无特殊需要请勿传入;商户可用该参数禁用支付渠道。\t传入后用户不可使用列表中的渠道进行支付,目前支持两种禁用渠道:信用卡快捷(OPTIMIZED_MOTO)、信用卡卡通(BIGAMOUNT_CREDIT_CARTOON)。与可用支付渠道不能同时传入",
  54188. "example" : "[{\"payChannelType\":\"OPTIMIZED_MOTO\"},{\"payChannelType\":\"BIGAMOUNT_CREDIT_CARTOON\"}]"
  54189. },
  54190. "enable_pay_channels" : {
  54191. "type" : "string",
  54192. "description" : "无特殊需要请勿传入;商户可用该参数指定支付渠道。\t传入后用户仅能使用列表中的渠道进行支付,目前支持三种渠道,余额宝(MONEY_FUND)、花呗(PCREDIT_PAY)以及芝麻信用(CREDITZHIMA)。与禁用支付渠道不可同时传入",
  54193. "example" : "[{\"payChannelType\":\"PCREDIT_PAY\"},{\"payChannelType\":\"MONEY_FUND\"}]"
  54194. },
  54195. "extra_param" : {
  54196. "type" : "string",
  54197. "description" : "业务扩展参数,用于特定业务信息的传递,json格式。\t1、category,信用类目,信用预授权场景必传,具体类目信息见https://opendocs.alipay.com/open/10719;\t2、serviceId,信用服务id,信用预授权场景必传,需要联系芝麻客服获取,https://cshall.alipay.com/enterprise/index.htm?sourceId=pc_zhima(右上角“有问题点我”进入咨询);\t3、creditExtInfo,信用参数,可选,如有需要请与芝麻约定后传入,信用服务说明见https://opendocs.alipay.com/open/11157/qlsxya",
  54198. "example" : "{\"category\":\"CHARGE_PILE_CAR\",\"serviceId\":\"2020042800000000000001450466\"}"
  54199. },
  54200. "identity_params" : {
  54201. "type" : "string",
  54202. "description" : "无特殊需要请勿传入;买家实名信息。\t传入后支付宝会比对买家在支付宝端的实名信息。包含两个可选key:\t1.identity_hash,买家姓名拼接身份证号后,使用SHA256摘要方式与UTF8编码后的hash值,返回的十六进制字符串,例如 “张三4566498798498498498498”对应的identity_hash应为“acc2b92ffc5ed9b472faa19748f10045c30434132784f774b00216a56b8841c6”\t2.alipay_user_id,买家uid",
  54203. "example" : "{\"identity_hash\":\"acc2b92ffc5ed9b472faa19748f10045c30434132784f774b00216a56b8841c6\"}"
  54204. },
  54205. "notify_url" : {
  54206. "type" : "string",
  54207. "description" : "通知地址"
  54208. },
  54209. "order_title" : {
  54210. "type" : "string",
  54211. "description" : "订单标题。\t业务订单的简单描述,如商品名称等",
  54212. "example" : "XX租车押金"
  54213. },
  54214. "out_order_no" : {
  54215. "type" : "string",
  54216. "description" : "商户授权资金订单号。\t商家自定义需保证在商户端不重复。仅支持字母、数字、下划线。",
  54217. "example" : "8077735255938023"
  54218. },
  54219. "out_request_no" : {
  54220. "type" : "string",
  54221. "description" : "商户本次资金操作的请求流水号,用于标示请求流水的唯一性。\t可与out_order_no相同,仅支持字母、数字、下划线。",
  54222. "example" : "8077735255938032"
  54223. },
  54224. "pay_timeout" : {
  54225. "type" : "string",
  54226. "description" : "预授权订单相对超时时间。从商户客户端请求时间开始计算。\t预授权订单允许的最晚授权时间,逾期将关闭该笔订单。取值范围:1m~15d。m-分钟,h-小时,d-天。 该参数数值不接受小数点, 如 1.5h,可转换为90m。\t默认为15m。",
  54227. "example" : "2d"
  54228. },
  54229. "payee_logon_id" : {
  54230. "type" : "string",
  54231. "description" : "收款账户的支付宝登录号(email或手机号)。\t如果传入则会校验该登录号对应的账号是否具备当前商户收款权限,如果商户希望用户能够使用花呗,则用户号(payee_user_id)和登录号(payee_logon_id)两者必须传入其一",
  54232. "example" : "159****5620"
  54233. },
  54234. "payee_user_id" : {
  54235. "type" : "string",
  54236. "description" : "收款账户的支付宝用户号。\t以2088开头的16位纯数字,如果传入则会校验该账号是否具备当前商户收款权限,如果商户希望用户能够使用花呗,则用户号(payee_user_id)和登录号(payee_logon_id)两者必须传入其一",
  54237. "example" : "2088102000275795"
  54238. },
  54239. "product_code" : {
  54240. "type" : "string",
  54241. "description" : "销售产品码。\t支付宝预授权产品固定为 PRE_AUTH_ONLINE",
  54242. "example" : "PRE_AUTH_ONLINE"
  54243. },
  54244. "scene_code" : {
  54245. "type" : "string",
  54246. "description" : "场景码,用于区分预授权不同业务场景。如:当面预授权通用场景(O2O_AUTH_COMMON_SCENE)、支付宝预授权通用场景(ONLINE_AUTH_COMMON_SCENE)、境外当面预授权通用场景(OVERSEAS_O2O_AUTH_COMMON_SCENE)、境外支付预授权通用场景(OVERSEAS_ONLINE_AUTH_COMMON_SCENE)等",
  54247. "example" : "OVERSEAS_ONLINE_AUTH_COMMON_SCENE"
  54248. },
  54249. "settle_currency" : {
  54250. "type" : "string",
  54251. "description" : "商户指定的结算币种。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP",
  54252. "example" : "USD"
  54253. },
  54254. "timeout_express" : {
  54255. "type" : "string",
  54256. "description" : "预授权订单相对超时时间。从商户客户端请求时间开始计算。\t预授权订单允许的最晚授权时间,逾期将关闭该笔订单。取值范围:1m~15d。m-分钟,h-小时,d-天。 该参数数值不接受小数点, 如 1.5h,可转换为90m。\t默认为15m。",
  54257. "example" : "2d"
  54258. },
  54259. "trans_currency" : {
  54260. "type" : "string",
  54261. "description" : "标价币种, amount 对应的币种单位。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP, 人民币:CNY",
  54262. "example" : "USD"
  54263. }
  54264. }
  54265. },
  54266. "AlipayFundAuthOrderAppFreezeResponseModel" : {
  54267. "type" : "object",
  54268. "properties" : {
  54269. "amount" : {
  54270. "type" : "string",
  54271. "description" : "本次操作冻结的金额,单位为:元(人民币),精确到小数点后两位",
  54272. "example" : "0.01"
  54273. },
  54274. "auth_no" : {
  54275. "type" : "string",
  54276. "description" : "支付宝的资金授权订单号",
  54277. "example" : "2014070800002001550000014417"
  54278. },
  54279. "credit_amount" : {
  54280. "type" : "string",
  54281. "description" : "本次冻结操作中信用冻结金额,单位为:元(人民币),精确到小数点后两位",
  54282. "example" : "0.01"
  54283. },
  54284. "fund_amount" : {
  54285. "type" : "string",
  54286. "description" : "本次冻结操作中自有资金冻结金额,单位为:元(人民币),精确到小数点后两位",
  54287. "example" : "0.01"
  54288. },
  54289. "gmt_trans" : {
  54290. "type" : "string",
  54291. "description" : "资金授权成功时间\r\t格式:YYYY-MM-DD HH:MM:SS",
  54292. "example" : "2014-09-15 11:23:04"
  54293. },
  54294. "operation_id" : {
  54295. "type" : "string",
  54296. "description" : "支付宝的资金操作流水号",
  54297. "example" : "2014070800032850551"
  54298. },
  54299. "out_order_no" : {
  54300. "type" : "string",
  54301. "description" : "商户的授权资金订单号",
  54302. "example" : "4977164666634053"
  54303. },
  54304. "out_request_no" : {
  54305. "type" : "string",
  54306. "description" : "商户本次资金操作的请求流水号",
  54307. "example" : "2014070700166653"
  54308. },
  54309. "payer_open_id" : {
  54310. "type" : "string",
  54311. "description" : "支付宝openId,用户(userId)在应用(appId)下的唯一用户标识。",
  54312. "example" : "03914IMEfXsS9K-tSvHy-IisrLlOfthFgDVo-hU30XtKPg9"
  54313. },
  54314. "payer_user_id" : {
  54315. "type" : "string",
  54316. "description" : "付款方支付宝用户号",
  54317. "example" : "2088102000275885"
  54318. },
  54319. "pre_auth_type" : {
  54320. "type" : "string",
  54321. "description" : "预授权类型,目前支持 CREDIT_AUTH(信用预授权);\r\t商户可根据该标识来判断该笔预授权的类型,当返回值为\"CREDIT_AUTH\"表明该笔预授权为信用预授权,没有真实冻结资金;当返回值为空或者不为\"CREDIT_AUTH\"则表明该笔预授权为普通资金预授权,会冻结用户资金。",
  54322. "example" : "CREDIT_AUTH"
  54323. },
  54324. "status" : {
  54325. "type" : "string",
  54326. "description" : "资金预授权明细的状态\r\t目前支持: \r\tINIT:初始\r\tSUCCESS: 成功\r\tCLOSED:关闭",
  54327. "example" : "SUCCESS"
  54328. },
  54329. "trans_currency" : {
  54330. "type" : "string",
  54331. "description" : "标价币种, amount 对应的币种单位。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP, 人民币:CNY",
  54332. "example" : "USD"
  54333. }
  54334. }
  54335. },
  54336. "AlipayFundAuthOrderFreezeErrorResponseModel" : {
  54337. "required" : [ "code", "message" ],
  54338. "type" : "object",
  54339. "properties" : {
  54340. "code" : {
  54341. "type" : "string",
  54342. "description" : "错误码",
  54343. "enum" : [ "ILLEGAL_ARGUMENT", "EXIST_FORBIDDEN_WORD", "ACCESS_FORBIDDEN", "UNIQUE_VIOLATION", "PAYER_USER_STATUS_LIMIT", "PAYER_NOT_EXIST", "PAYMENT_AUTH_CODE_INVALID", "MONEY_NOT_ENOUGH", "ORDER_ALREADY_CLOSED", "FREEZE_ALREADY_SUCCESS", "ERROR_BALANCE_PAYMENT_DISABLE", "PULL_MOBILE_CASHIER_FAIL", "USER_FACE_PAYMENT_SWITCH_OFF", "SYSTEM_ERROR", "ORDER_ALREADY_FINISH", "PAYEE_NOT_EXIST", "PAYEE_USER_STATUS_LIMIT", "PAYER_PAYEE_EQUAL", "NO_PAYMENT_INSTRUMENTS_AVAILABLE", "CLIENT_VERSION_NOT_MATCH", "UNSUPPORT_ORDER_AMOUNT", "FORBIDDEN_MERCHANT_INDUSTRY", "CURRENCY_VERIFICATION_FAIL", "RESTRICTED_MERCHANT_INDUSTRY", "FOREX_ID_VERIFICATION_FAIL", "PRODUCT_AMOUNT_LIMIT_ERROR", "SECONDARY_MERCHANT_STATUS_ERROR", "USER_IDENTITY_INFO_VALIDATE_FAIL", "USER_ACCOUNT_VALIDATE_FAIL", "SUB_MERCHANT_ORG_ID_ERROR", "SUB_MERCHANT_LEVEL_ERROR", "SUB_MERCHANT_NO_PERMISSION", "MERCHANT_STATUS_ERROR", "UNSUPPORTED_BIZ_TYPE" ]
  54344. },
  54345. "links" : {
  54346. "type" : "string",
  54347. "description" : "解决方案链接"
  54348. },
  54349. "message" : {
  54350. "type" : "string",
  54351. "description" : "错误描述"
  54352. }
  54353. }
  54354. },
  54355. "AlipayFundAuthOrderFreezeModel" : {
  54356. "type" : "object",
  54357. "properties" : {
  54358. "amount" : {
  54359. "type" : "string",
  54360. "description" : "需要冻结的金额,单位为:元(人民币),精确到小数点后两位。\t取值范围:[0.01,100000000.00]",
  54361. "example" : "0.01"
  54362. },
  54363. "auth_code" : {
  54364. "type" : "string",
  54365. "description" : "用户付款码。\t1.条码场景:25~30开头的长度为16~24位的数字,实际字符串长度以开发者获取的付款码长度为准;\t2.刷脸场景:\t1)fp开头的35位字符串;\t2)300-700字符的随机字符串;\t注:刷脸场景考虑到未来可能拓展更多格式,建议外围不必做规则拦截,由支付宝统一做有效性校验",
  54366. "example" : "付款码场景:28763443825664394,\n刷脸场景1)示例:fp1394da8bfc3e299a2128b8bda17456h84"
  54367. },
  54368. "auth_code_type" : {
  54369. "type" : "string",
  54370. "description" : "付款码类型。\t1.条码场景:bar_code\t2.刷脸场景:security_code",
  54371. "example" : "bar_code"
  54372. },
  54373. "business_params" : {
  54374. "type" : "string",
  54375. "description" : "业务参数,如风控参数outRiskInfo等。",
  54376. "example" : "{\"outRiskInfo\":\"{\\\"mcCreateTradeTime\\\":\\\"2022-03-11 12:46:09\\\",\\\"extraAccountCertnoLastSix\\\":\\\"000011\\\",\\\"mobileOperatingPlatform\\\":\\\"ios\\\",\\\"sysVersion\\\":\\\"15.4.2\\\",\\\"mcCreateTradeIp\\\":\\\"11.110.111.43\\\"}\"}"
  54377. },
  54378. "disable_pay_channels" : {
  54379. "type" : "string",
  54380. "description" : "无特殊需要请勿传入;商户可用该参数禁用支付渠道。\t传入后用户不可使用列表中的渠道进行支付,目前支持两种禁用渠道:信用卡快捷(OPTIMIZED_MOTO)、信用卡卡通(BIGAMOUNT_CREDIT_CARTOON)。与可用支付渠道不能同时传入",
  54381. "example" : "[{\"payChannelType\":\"OPTIMIZED_MOTO\"},{\"payChannelType\":\"BIGAMOUNT_CREDIT_CARTOON\"}]"
  54382. },
  54383. "enable_pay_channels" : {
  54384. "type" : "string",
  54385. "description" : "无特殊需要请勿传入;商户可用该参数指定支付渠道。\t传入后用户仅能使用列表中的渠道进行支付,目前支持三种渠道,余额宝(MONEY_FUND)、花呗(PCREDIT_PAY)以及芝麻信用(CREDITZHIMA)。与禁用支付渠道不可同时传入",
  54386. "example" : "[{\"payChannelType\":\"PCREDIT_PAY\"},{\"payChannelType\":\"MONEY_FUND\"}]"
  54387. },
  54388. "extra_param" : {
  54389. "type" : "string",
  54390. "description" : "业务扩展参数,用于特定业务信息的传递,json格式,key值如下:\t1、category,信用类目,信用预授权场景必传,具体类目信息见https://opendocs.alipay.com/open/10719\t2、serviceId,信用服务id,信用预授权场景必传,需要联系芝麻客服获取,https://cshall.alipay.com/enterprise/index.htm?sourceId=pc_zhima(右上角“有问题点我”进入咨询)\t3、creditExtInfo,信用参数,如有需要请与芝麻约定后传入,信用服务说明见https://opendocs.alipay.com/open/11157/qlsxya",
  54391. "example" : "{\"category\":\"CHARGE_PILE_CAR\",\"serviceId\":\"2020042800000000000001450466\"}"
  54392. },
  54393. "identity_params" : {
  54394. "type" : "string",
  54395. "description" : "用户实名信息参数,包含:姓名+身份证号的hash值、指定用户的uid。商户传入用户实名信息参数,支付宝会对比用户在支付宝端的实名信息。\t姓名+身份证号hash值使用SHA256摘要方式与UTF8编码,返回十六进制的字符串。\tidentity_hash和alipay_user_id都是可选的,如果两个都传,则会先校验identity_hash,然后校验alipay_user_id。其中identity_hash的待加密字样如\"张三4566498798498498498498\"",
  54396. "example" : "{\"identity_hash\":\"ABCDEFDxxxxxx\",\"alipay_user_id\":\"2088xxx\"}"
  54397. },
  54398. "notify_url" : {
  54399. "type" : "string",
  54400. "description" : "通知地址"
  54401. },
  54402. "order_title" : {
  54403. "type" : "string",
  54404. "description" : "订单标题。\t业务订单的简单描述,如商品名称等",
  54405. "example" : "XX租车押金"
  54406. },
  54407. "out_order_no" : {
  54408. "type" : "string",
  54409. "description" : "商户授权资金订单号。\t商家自定义需保证在商户端不重复。仅支持字母、数字、下划线。",
  54410. "example" : "8077735255938023"
  54411. },
  54412. "out_request_no" : {
  54413. "type" : "string",
  54414. "description" : "商户本次资金操作的请求流水号,用于标示请求流水的唯一性。\t可与out_order_no相同,仅支持字母、数字、下划线。",
  54415. "example" : "8077735255938032"
  54416. },
  54417. "pay_timeout" : {
  54418. "type" : "string",
  54419. "description" : "预授权订单相对超时时间,从商户请求时间开始计算。\t预授权订单允许的最晚授权时间,逾期将关闭该笔订单。取值范围:1m~15d。m-分钟,h-小时,d-天。 该参数数值不接受小数点, 如 1.5h,可转换为90m。\t默认为15m。",
  54420. "example" : "2d"
  54421. },
  54422. "payee_logon_id" : {
  54423. "type" : "string",
  54424. "description" : "收款账户的支付宝登录号(email或手机号)。\t如果传入则会校验该登录号对应的账号是否具备当前商户收款权限,如果商户希望用户能够使用花呗,则用户号(payee_user_id)和登录号(payee_logon_id)两者必须传入其一",
  54425. "example" : "159****5620"
  54426. },
  54427. "payee_user_id" : {
  54428. "type" : "string",
  54429. "description" : "收款账户的支付宝用户号。\t以2088开头的16位纯数字,如果传入则会校验该账号是否具备当前商户收款权限,如果商户希望用户能够使用花呗,则用户号(payee_user_id)和登录号(payee_logon_id)两者必须传入其一",
  54430. "example" : "2088102000275795"
  54431. },
  54432. "product_code" : {
  54433. "type" : "string",
  54434. "description" : "销售产品码。\t当面资金预授权固定为 PRE_AUTH",
  54435. "example" : "PRE_AUTH"
  54436. },
  54437. "scene_code" : {
  54438. "type" : "string",
  54439. "description" : "场景码。\t刷脸场景下传入HOTEL,其他情况下无需传入",
  54440. "example" : "HOTEL"
  54441. },
  54442. "settle_currency" : {
  54443. "type" : "string",
  54444. "description" : "商户指定的结算币种。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP",
  54445. "example" : "USD"
  54446. },
  54447. "terminal_params" : {
  54448. "type" : "string",
  54449. "description" : "机具管控sdk加签参数,参数示例 \"terminal_params\":\"{\"terminalType\":\"IOT\",\"signature\":\"QIIAX8DqbFbNf2oe97FI1RSLAycC/tU4GVjer3bN8K4qLtAB\",\"apdidToken\":\"xPA3ptuArwYc3F6Va_pjVwv7Qx7Tg5TJdrA_Jb_moYte9AqGZgEAAA==\",\"hardToken\":\"\",\"time\":\"1539847253\",\"bizCode\":\"11000200040004000121\",\"bizTid\":\"010100F01i1XyacMgpOinHerfdBw1xA9dNDocctlnqhLD8lfODr1A7Q\",\"signedKeys\":\"authCode,totalAmount,apdidToken,hardToken,time,bizCode,bizTid\"}\"",
  54450. "example" : "{\"terminalType\":\"IOT\",\"signature\":\"QIIAX8DqbFbNf2oe97FI1RSL\",\"apdidToken\":\"xPA3ptuArwYc3F6Va\",\"signedKeys\":\"auth,apdidToken\"}"
  54451. },
  54452. "timeout_express" : {
  54453. "type" : "string",
  54454. "description" : "预授权订单相对超时时间,从商户请求时间开始计算。\t预授权订单允许的最晚授权时间,逾期将关闭该笔订单。取值范围:1m~15d。m-分钟,h-小时,d-天。 该参数数值不接受小数点, 如 1.5h,可转换为90m。\t默认为15m。",
  54455. "example" : "2d"
  54456. },
  54457. "trans_currency" : {
  54458. "type" : "string",
  54459. "description" : "标价币种, amount 对应的币种单位。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP",
  54460. "example" : "USD"
  54461. }
  54462. }
  54463. },
  54464. "AlipayFundAuthOrderFreezeResponseModel" : {
  54465. "type" : "object",
  54466. "properties" : {
  54467. "amount" : {
  54468. "type" : "string",
  54469. "description" : "本次操作冻结的金额,单位为:元(人民币),精确到小数点后两位",
  54470. "example" : "0.01"
  54471. },
  54472. "auth_no" : {
  54473. "type" : "string",
  54474. "description" : "支付宝的资金授权订单号",
  54475. "example" : "2014070800002001550000014417"
  54476. },
  54477. "credit_amount" : {
  54478. "type" : "string",
  54479. "description" : "本次冻结操作中信用冻结金额,单位为:元(人民币),精确到小数点后两位",
  54480. "example" : "0.01"
  54481. },
  54482. "fund_amount" : {
  54483. "type" : "string",
  54484. "description" : "本次冻结操作中自有资金冻结金额,单位为:元(人民币),精确到小数点后两位",
  54485. "example" : "0.01"
  54486. },
  54487. "gmt_trans" : {
  54488. "type" : "string",
  54489. "description" : "资金授权成功时间\r\t格式:YYYY-MM-DD HH:MM:SS",
  54490. "example" : "2014-09-15 11:23:04"
  54491. },
  54492. "operation_id" : {
  54493. "type" : "string",
  54494. "description" : "支付宝的资金操作流水号",
  54495. "example" : "2014070800032850551"
  54496. },
  54497. "out_order_no" : {
  54498. "type" : "string",
  54499. "description" : "商户的授权资金订单号",
  54500. "example" : "4977164666634053"
  54501. },
  54502. "out_request_no" : {
  54503. "type" : "string",
  54504. "description" : "商户本次资金操作的请求流水号",
  54505. "example" : "2014070700166653"
  54506. },
  54507. "payer_logon_id" : {
  54508. "type" : "string",
  54509. "description" : "付款方支付宝账号(Email或手机号)",
  54510. "example" : "test***@alitest.com"
  54511. },
  54512. "payer_open_id" : {
  54513. "type" : "string",
  54514. "description" : "支付宝openId,用户(userId)在应用(appId)下的唯一用户标识。",
  54515. "example" : "03914IMEfXsS9K-tSvHy-IisrLlOfthFgDVo-hU30XtKPg9"
  54516. },
  54517. "payer_user_id" : {
  54518. "type" : "string",
  54519. "description" : "付款方支付宝用户号",
  54520. "example" : "2088102000275885"
  54521. },
  54522. "pre_auth_type" : {
  54523. "type" : "string",
  54524. "description" : "预授权类型,目前支持 CREDIT_AUTH(信用预授权);\r\t商户可根据该标识来判断该笔预授权的类型,当返回值为\"CREDIT_AUTH\"表明该笔预授权为信用预授权,没有真实冻结资金;当返回值为空或者不为\"CREDIT_AUTH\"则表明该笔预授权为普通资金预授权,会冻结用户资金。",
  54525. "example" : "CREDIT_AUTH"
  54526. },
  54527. "status" : {
  54528. "type" : "string",
  54529. "description" : "资金预授权明细的状态\r\t目前支持: \r\tINIT:初始\r\tSUCCESS: 成功\r\tCLOSED:关闭",
  54530. "example" : "SUCCESS"
  54531. },
  54532. "trans_currency" : {
  54533. "type" : "string",
  54534. "description" : "标价币种, amount 对应的币种单位。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP",
  54535. "example" : "USD"
  54536. }
  54537. }
  54538. },
  54539. "AlipayFundAuthOrderUnfreezeErrorResponseModel" : {
  54540. "required" : [ "code", "message" ],
  54541. "type" : "object",
  54542. "properties" : {
  54543. "code" : {
  54544. "type" : "string",
  54545. "description" : "错误码",
  54546. "enum" : [ "ILLEGAL_ARGUMENT", "UNIQUE_VIOLATION", "SYSTEM_ERROR", "PAYER_USER_STATUS_LIMIT", "AUTH_ORDER_NOT_EXIST", "REQUEST_AMOUNT_EXCEED", "ILLEGAL_STATUS", "ORDER_ALREADY_FINISH", "ORDER_ALREADY_CLOSED", "PAYER_NOT_EXIST", "BIZ_ERROR", "ACCESS_FORBIDDEN" ]
  54547. },
  54548. "links" : {
  54549. "type" : "string",
  54550. "description" : "解决方案链接"
  54551. },
  54552. "message" : {
  54553. "type" : "string",
  54554. "description" : "错误描述"
  54555. }
  54556. }
  54557. },
  54558. "AlipayFundAuthOrderUnfreezeModel" : {
  54559. "type" : "object",
  54560. "properties" : {
  54561. "amount" : {
  54562. "type" : "string",
  54563. "description" : "本次操作解冻的金额,单位为:元(人民币),精确到小数点后两位。\t取值范围:[0.01,100000000.00]",
  54564. "example" : "20.11"
  54565. },
  54566. "auth_no" : {
  54567. "type" : "string",
  54568. "description" : "支付宝资金授权订单号。",
  54569. "example" : "2016101210002001810258115912"
  54570. },
  54571. "extra_param" : {
  54572. "type" : "string",
  54573. "description" : "解冻扩展信息。map<string, string>的json格式,目前支持如下key:\tunfreezeBizInfo:由芝麻消费,当前支持value如下:\t\"bizComplete\":\"true\"——标识本次解冻用户已履约,true表示信用单履约完结",
  54574. "example" : "{\"unfreezeBizInfo\": \"{\\\"bizComplete\\\":\\\"true\\\"}\"}"
  54575. },
  54576. "notify_url" : {
  54577. "type" : "string",
  54578. "description" : "通知地址"
  54579. },
  54580. "out_request_no" : {
  54581. "type" : "string",
  54582. "description" : "解冻请求流水号。\t如果是针对同一笔授权单不同的解冻请求,如第一次解冻1元,第二次解冻2元,则解冻请求流水号必须不重复;\t如果是针对同一笔解冻请求的多次发起,则需要保证每次发起,解冻请求流水号和解冻金额都相同",
  54583. "example" : "2016101200104001110081001"
  54584. },
  54585. "remark" : {
  54586. "type" : "string",
  54587. "description" : "商户对本次解冻操作的附言描述",
  54588. "example" : "2014-05期解冻200.00元"
  54589. }
  54590. }
  54591. },
  54592. "AlipayFundAuthOrderUnfreezeResponseModel" : {
  54593. "type" : "object",
  54594. "properties" : {
  54595. "amount" : {
  54596. "type" : "string",
  54597. "description" : "本次操作解冻的金额,单位为:元(人民币),精确到小数点后两位,取值范围:[0.01,100000000.00]",
  54598. "example" : "20.81"
  54599. },
  54600. "auth_no" : {
  54601. "type" : "string",
  54602. "description" : "支付宝资金授权订单号",
  54603. "example" : "2014070800002001550000014417"
  54604. },
  54605. "credit_amount" : {
  54606. "type" : "string",
  54607. "description" : "本次解冻操作中信用解冻金额,单位为:元(人民币),精确到小数点后两位",
  54608. "example" : "0.01"
  54609. },
  54610. "fund_amount" : {
  54611. "type" : "string",
  54612. "description" : "本次解冻操作中自有资金解冻金额,单位为:元(人民币),精确到小数点后两位",
  54613. "example" : "0.01"
  54614. },
  54615. "gmt_trans" : {
  54616. "type" : "string",
  54617. "description" : "授权资金解冻成功时间,格式:YYYY-MM-DD HH:MM:SS",
  54618. "example" : "2014-09-15 11:23:04"
  54619. },
  54620. "operation_id" : {
  54621. "type" : "string",
  54622. "description" : "支付宝资金操作流水号",
  54623. "example" : "2014070800032850551"
  54624. },
  54625. "out_order_no" : {
  54626. "type" : "string",
  54627. "description" : "商户的授权资金订单号",
  54628. "example" : "4977164666634053"
  54629. },
  54630. "out_request_no" : {
  54631. "type" : "string",
  54632. "description" : "商户本次资金操作的请求流水号",
  54633. "example" : "20140707001555633"
  54634. },
  54635. "status" : {
  54636. "type" : "string",
  54637. "description" : "资金操作流水的状态\t目前支持:SUCCESS:成功",
  54638. "example" : "SUCCESS"
  54639. }
  54640. }
  54641. },
  54642. "AlipayFundAuthOrderVoucherCreateErrorResponseModel" : {
  54643. "required" : [ "code", "message" ],
  54644. "type" : "object",
  54645. "properties" : {
  54646. "code" : {
  54647. "type" : "string",
  54648. "description" : "错误码",
  54649. "enum" : [ "ILLEGAL_ARGUMENT", "UNIQUE_VIOLATION", "EXIST_FORBIDDEN_WORD", "ACCESS_FORBIDDEN", "PAYEE_NOT_EXIST", "PAYEE_USER_STATUS_LIMIT", "PAYER_USER_STATUS_LIMIT", "ORDER_ALREADY_FINISH", "ORDER_ALREADY_CLOSED", "FREEZE_ALREADY_SUCCESS", "ERROR_BALANCE_PAYMENT_DISABLE", "SYSTEM_ERROR", "MONEY_NOT_ENOUGH", "NO_PAYMENT_INSTRUMENTS_AVAILABLE", "PAYER_PAYEE_EQUAL", "CURRENCY_VERIFICATION_FAIL", "SECONDARY_MERCHANT_STATUS_ERROR", "USER_IDENTITY_INFO_VALIDATE_FAIL", "USER_ACCOUNT_VALIDATE_FAIL", "SUB_MERCHANT_ORG_ID_ERROR", "SUB_MERCHANT_LEVEL_ERROR", "SUB_MERCHANT_NO_PERMISSION", "MERCHANT_STATUS_ERROR", "UNSUPPORTED_BIZ_TYPE" ]
  54650. },
  54651. "links" : {
  54652. "type" : "string",
  54653. "description" : "解决方案链接"
  54654. },
  54655. "message" : {
  54656. "type" : "string",
  54657. "description" : "错误描述"
  54658. }
  54659. }
  54660. },
  54661. "AlipayFundAuthOrderVoucherCreateModel" : {
  54662. "type" : "object",
  54663. "properties" : {
  54664. "amount" : {
  54665. "type" : "string",
  54666. "description" : "需要冻结的金额,单位为:元(人民币),精确到小数点后两位。\t取值范围:[0.01,100000000.00]",
  54667. "example" : "100.00"
  54668. },
  54669. "business_params" : {
  54670. "type" : "string",
  54671. "description" : "业务参数,如风控参数outRiskInfo等。",
  54672. "example" : "{\"outRiskInfo\":\"{\\\"mcCreateTradeTime\\\":\\\"2022-03-11 12:46:09\\\",\\\"extraAccountCertnoLastSix\\\":\\\"000011\\\",\\\"mobileOperatingPlatform\\\":\\\"ios\\\",\\\"sysVersion\\\":\\\"15.4.2\\\",\\\"mcCreateTradeIp\\\":\\\"11.110.111.43\\\"}\"}"
  54673. },
  54674. "disable_pay_channels" : {
  54675. "type" : "string",
  54676. "description" : "无特殊需要请勿传入;商户可用该参数禁用支付渠道。\t传入后用户不可使用列表中的渠道进行支付,目前支持两种禁用渠道:信用卡快捷(OPTIMIZED_MOTO)、信用卡卡通(BIGAMOUNT_CREDIT_CARTOON)。与可用支付渠道不能同时传入",
  54677. "example" : "[{\"payChannelType\":\"OPTIMIZED_MOTO\"},{\"payChannelType\":\"BIGAMOUNT_CREDIT_CARTOON\"}]"
  54678. },
  54679. "enable_pay_channels" : {
  54680. "type" : "string",
  54681. "description" : "无特殊需要请勿传入;商户可用该参数指定支付渠道。\t传入后用户仅能使用列表中的渠道进行支付,目前支持三种渠道,余额宝(MONEY_FUND)、花呗(PCREDIT_PAY)以及芝麻信用(CREDITZHIMA)。与禁用支付渠道不可同时传入",
  54682. "example" : "[{\"payChannelType\":\"PCREDIT_PAY\"},{\"payChannelType\":\"MONEY_FUND\"}]"
  54683. },
  54684. "extra_param" : {
  54685. "type" : "string",
  54686. "description" : "业务扩展参数,用于特定业务信息的传递,json格式,key值如下:\t1、category,信用类目,信用预授权场景必传,具体类目信息见https://opendocs.alipay.com/open/10719\t2、serviceId,信用服务id,信用预授权场景必传,需要联系芝麻客服获取,https://cshall.alipay.com/enterprise/index.htm?sourceId=pc_zhima(右上角“有问题点我”进入咨询)\t3、creditExtInfo,信用参数,如有需要请与芝麻约定后传入,信用服务说明见https://opendocs.alipay.com/open/11157/qlsxya",
  54687. "example" : "{\"category\":\"CHARGE_PILE_CAR\",\"serviceId\":\"2020042800000000000001450466\"}"
  54688. },
  54689. "identity_params" : {
  54690. "type" : "string",
  54691. "description" : "无特殊需要请勿传入;买家实名信息。\t传入后支付宝会比对买家在支付宝端的实名信息。包含两个可选key:\t1.identity_hash,买家姓名拼接身份证号后,使用SHA256摘要方式与UTF8编码后的hash值,返回的十六进制字符串,例如 “张三4566498798498498498498”对应的identity_hash应为“acc2b92ffc5ed9b472faa19748f10045c30434132784f774b00216a56b8841c6”\t2.alipay_open_id,买家支付宝openId\t3.alipay_user_id,买家支付宝uid",
  54692. "example" : "{\"identity_hash\":\"acc2b92ffc5ed9b472faa19748f10045c30434132784f774b00216a56b8841c6\",\"alipay_open_id\":\"xxxxxx\",\"alipay_user_id\":\"2088xxx\"}"
  54693. },
  54694. "notify_url" : {
  54695. "type" : "string",
  54696. "description" : "通知地址"
  54697. },
  54698. "order_title" : {
  54699. "type" : "string",
  54700. "description" : "订单标题。\t业务订单的简单描述,如商品名称等",
  54701. "example" : "预授权发码"
  54702. },
  54703. "out_order_no" : {
  54704. "type" : "string",
  54705. "description" : "商户授权资金订单号。\t商家自定义需保证在商户端不重复。仅支持字母、数字、下划线。",
  54706. "example" : "8077735255938023"
  54707. },
  54708. "out_request_no" : {
  54709. "type" : "string",
  54710. "description" : "商户本次资金操作的请求流水号,用于标示请求流水的唯一性。\t可与out_order_no相同,仅支持字母、数字、下划线。",
  54711. "example" : "8077735255938032"
  54712. },
  54713. "pay_timeout" : {
  54714. "type" : "string",
  54715. "description" : "预授权订单相对超时时间,从商户请求时间开始计算。\t预授权订单允许的最晚授权时间,逾期将关闭该笔订单。取值范围:1m~15d。m-分钟,h-小时,d-天。 该参数数值不接受小数点, 如 1.5h,可转换为90m。\t默认为15m。",
  54716. "example" : "2d"
  54717. },
  54718. "payee_logon_id" : {
  54719. "type" : "string",
  54720. "description" : "收款账户的支付宝登录号(email或手机号)。\t如果传入则会校验该登录号对应的账号是否具备当前商户收款权限,如果商户希望用户能够使用花呗,则用户号(payee_user_id)和登录号(payee_logon_id)两者必须传入其一,二者无需同时传入",
  54721. "example" : "159****5620"
  54722. },
  54723. "payee_user_id" : {
  54724. "type" : "string",
  54725. "description" : "收款账户的支付宝用户号。\t以2088开头的16位纯数字,如果传入则会校验该账号是否具备当前商户收款权限,如果商户希望用户能够使用花呗,则用户号(payee_user_id)和登录号(payee_logon_id)两者必须传入其一,二者无需同时传入",
  54726. "example" : "2088102000275795"
  54727. },
  54728. "product_code" : {
  54729. "type" : "string",
  54730. "description" : "销售产品码。\t当面资金预授权固定为 PRE_AUTH",
  54731. "example" : "PRE_AUTH"
  54732. },
  54733. "settle_currency" : {
  54734. "type" : "string",
  54735. "description" : "商户指定的结算币种。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP",
  54736. "example" : "USD"
  54737. },
  54738. "timeout_express" : {
  54739. "type" : "string",
  54740. "description" : "预授权订单相对超时时间,从商户请求时间开始计算。\t预授权订单允许的最晚授权时间,逾期将关闭该笔订单。取值范围:1m~15d。m-分钟,h-小时,d-天。 该参数数值不接受小数点, 如 1.5h,可转换为90m。\t默认为15m。",
  54741. "example" : "2d"
  54742. },
  54743. "trans_currency" : {
  54744. "type" : "string",
  54745. "description" : "标价币种, amount 对应的币种单位。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP",
  54746. "example" : "USD"
  54747. }
  54748. }
  54749. },
  54750. "AlipayFundAuthOrderVoucherCreateResponseModel" : {
  54751. "type" : "object",
  54752. "properties" : {
  54753. "code_type" : {
  54754. "type" : "string",
  54755. "description" : "码类型,分为 barCode:条形码 (一维码) 和 qrCode:二维码(qrCode) ;\r\t目前发码只支持 qrCode",
  54756. "example" : "qrCode"
  54757. },
  54758. "code_url" : {
  54759. "type" : "string",
  54760. "description" : "生成的带有支付宝logo的二维码地址,如:http://mobilecodec.alipay.com/show.htm?code=aeparsv2dknkqf3018556a;商户端通过在末尾追加picSize来指定要显示的图片大小,如\r\t显示1280大小的URL:http://mobilecodec.alipay.com/show.htm?code=aeparsv2dknkqf3018556a&picSize=1280;目前支持的大小有:256, 227, 270, 344, 430, 512, 570, 860, 1280, 1546;",
  54761. "example" : "http://mobilecodec.alipay.com/show.htm?code=aeparsv2dknkqf3018556a"
  54762. },
  54763. "code_value" : {
  54764. "type" : "string",
  54765. "description" : "当前发码请求生成的二维码码串,商户端可以利用二维码生成工具根据该码串值生成对应的二维码",
  54766. "example" : "https://qr.alipay.com/aax017928umnzqo0uswmzd3"
  54767. },
  54768. "out_order_no" : {
  54769. "type" : "string",
  54770. "description" : "商户的授权资金订单号",
  54771. "example" : "8077735255938023"
  54772. },
  54773. "out_request_no" : {
  54774. "type" : "string",
  54775. "description" : "商户本次资金操作的请求流水号",
  54776. "example" : "8077735255938032"
  54777. }
  54778. }
  54779. },
  54780. "AlipayFundEnterprisepayGroupAddErrorResponseModel" : {
  54781. "required" : [ "code", "message" ],
  54782. "type" : "object",
  54783. "properties" : {
  54784. "code" : {
  54785. "type" : "string",
  54786. "description" : "错误码",
  54787. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT", "CREATE_ACCOUNT_GROUP_FAIL", "OUT_GROUP_EXIST", "USER_AGREEMENT_DELETE_USELESS_FAIL", "AGREEMENT_NOT_EXIST", "ACCOUNT_NO_MULTI_FUND_PERMISSION", "FUND_IDENTITY_NOT_ALLOWED", "AGREEMENT_IS_INVALID", "USER_UNREAL_NAME", "CERT_TYPE_ERROR", "NEED_TO_SET_PPW", "USER_STATUS_ERROR", "USER_AGREEMENT_SIGN_FAIL", "FUND_IDENTITY_PARAM_ERROR", "JOINT_ACCOUNT_NOT_EXIST", "BIZ_SCENE_NOT_ADMIT", "COMMON_RPC_ERROR" ]
  54788. },
  54789. "links" : {
  54790. "type" : "string",
  54791. "description" : "解决方案链接"
  54792. },
  54793. "message" : {
  54794. "type" : "string",
  54795. "description" : "错误描述"
  54796. }
  54797. }
  54798. },
  54799. "AlipayFundEnterprisepayGroupAddModel" : {
  54800. "type" : "object",
  54801. "properties" : {
  54802. "account_id" : {
  54803. "type" : "string",
  54804. "description" : "企业签约账户ID",
  54805. "example" : "2088888888"
  54806. },
  54807. "agreement_no" : {
  54808. "type" : "string",
  54809. "description" : "平台和企业的三方授权协议号",
  54810. "example" : "1231231321323"
  54811. },
  54812. "biz_scene" : {
  54813. "type" : "string",
  54814. "description" : "场景码,联系支付宝分配",
  54815. "example" : "ANT_GROUP"
  54816. },
  54817. "fund_ext_info" : {
  54818. "$ref" : "#/components/schemas/FundExtInfo"
  54819. },
  54820. "name" : {
  54821. "type" : "string",
  54822. "description" : "群组名称",
  54823. "example" : "后勤组"
  54824. },
  54825. "out_biz_no" : {
  54826. "type" : "string",
  54827. "description" : "外部业务号,外部群组号",
  54828. "example" : "12312313"
  54829. },
  54830. "product_code" : {
  54831. "type" : "string",
  54832. "description" : "产品码,默认值\tENTERPRISE_PAY",
  54833. "example" : "ENTERPRISE_PAY"
  54834. }
  54835. }
  54836. },
  54837. "AlipayFundEnterprisepayGroupAddResponseModel" : {
  54838. "type" : "object",
  54839. "properties" : {
  54840. "account_id" : {
  54841. "type" : "string",
  54842. "description" : "因公付账户ID",
  54843. "example" : "2088123123"
  54844. },
  54845. "fund_group_id" : {
  54846. "type" : "string",
  54847. "description" : "资金群组号",
  54848. "example" : "2088123123"
  54849. },
  54850. "out_group_id" : {
  54851. "type" : "string",
  54852. "description" : "外部群组号,业务号",
  54853. "example" : "out_001"
  54854. }
  54855. }
  54856. },
  54857. "AlipayFundEnterprisepayGroupDeleteErrorResponseModel" : {
  54858. "required" : [ "code", "message" ],
  54859. "type" : "object",
  54860. "properties" : {
  54861. "code" : {
  54862. "type" : "string",
  54863. "description" : "错误码",
  54864. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT", "FUND_GROUP_NOT_EXIST", "USER_AGREEMENT_DELETE_USELESS_FAIL", "AGREEMENT_NOT_EXIST", "HORIZONTAL_AUTHORITY_EXCEPTION", "AGREEMENT_IS_INVALID", "AGREEMENT_STATUS_IS_NOT_NORMAL", "AGREEMENT_IS_OUT_OF_DATE", "BIZ_SCENE_NOT_ADMIT", "JOINT_ACCOUNT_NOT_EXIST" ]
  54865. },
  54866. "links" : {
  54867. "type" : "string",
  54868. "description" : "解决方案链接"
  54869. },
  54870. "message" : {
  54871. "type" : "string",
  54872. "description" : "错误描述"
  54873. }
  54874. }
  54875. },
  54876. "AlipayFundEnterprisepayGroupDeleteResponseModel" : {
  54877. "type" : "object"
  54878. },
  54879. "AlipayFundEnterprisepayGroupModifyErrorResponseModel" : {
  54880. "required" : [ "code", "message" ],
  54881. "type" : "object",
  54882. "properties" : {
  54883. "code" : {
  54884. "type" : "string",
  54885. "description" : "错误码",
  54886. "enum" : [ "SYSTEM_ERROR", "AGREEMENT_NOT_EXIST", "ILLEGAL_ARGUMENT", "HORIZONTAL_AUTHORITY_EXCEPTION", "FUND_GROUP_NOT_EXIST", "UPDATE_ACCOUNT_GROUP_FAIL", "ACCOUNT_NO_MULTI_FUND_PERMISSION", "FUND_IDENTITY_NOT_ALLOWED", "UN_SUPPORT_UPDATE_SCENE", "AGREEMENT_IS_INVALID", "AGREEMENT_STATUS_IS_NOT_NORMAL", "AGREEMENT_IS_OUT_OF_DATE", "USER_AGREEMENT_UPDATE_FAIL", "FUND_IDENTITY_PARAM_ERROR", "BIZ_SCENE_NOT_ADMIT", "USER_UNREAL_NAME", "CERT_TYPE_ERROR", "NEED_TO_SET_PPW", "USER_STATUS_ERROR", "JOINT_ACCOUNT_NOT_EXIST" ]
  54887. },
  54888. "links" : {
  54889. "type" : "string",
  54890. "description" : "解决方案链接"
  54891. },
  54892. "message" : {
  54893. "type" : "string",
  54894. "description" : "错误描述"
  54895. }
  54896. }
  54897. },
  54898. "AlipayFundEnterprisepayGroupModifyModel" : {
  54899. "type" : "object",
  54900. "properties" : {
  54901. "account_id" : {
  54902. "type" : "string",
  54903. "description" : "企业签约账户ID",
  54904. "example" : "2088888888"
  54905. },
  54906. "agreement_no" : {
  54907. "type" : "string",
  54908. "description" : "平台和企业的三方授权协议号",
  54909. "example" : "1231231321323"
  54910. },
  54911. "biz_scene" : {
  54912. "type" : "string",
  54913. "description" : "场景码,联系支付宝分配",
  54914. "example" : "ANT_GROUP"
  54915. },
  54916. "fund_ext_info" : {
  54917. "$ref" : "#/components/schemas/FundExtInfo"
  54918. },
  54919. "name" : {
  54920. "type" : "string",
  54921. "description" : "群组名称",
  54922. "example" : "后勤组"
  54923. },
  54924. "operation_type_list" : {
  54925. "type" : "array",
  54926. "description" : "更新操作类型:多个时逗号分隔\tNAME-群组名称\tFUND-出资信息\t字段不传时,默认全量更新",
  54927. "items" : {
  54928. "type" : "string"
  54929. },
  54930. "example" : "[\"NAME\",\"FUND\"]"
  54931. },
  54932. "out_biz_no" : {
  54933. "type" : "string",
  54934. "description" : "外部业务号",
  54935. "example" : "12123123"
  54936. },
  54937. "product_code" : {
  54938. "type" : "string",
  54939. "description" : "产品码,默认值\tENTERPRISE_PAY",
  54940. "example" : "ENTERPRISE_PAY"
  54941. }
  54942. }
  54943. },
  54944. "AlipayFundEnterprisepayGroupModifyResponseModel" : {
  54945. "type" : "object"
  54946. },
  54947. "AlipayFundEnterprisepayGroupQueryErrorResponseModel" : {
  54948. "required" : [ "code", "message" ],
  54949. "type" : "object",
  54950. "properties" : {
  54951. "code" : {
  54952. "type" : "string",
  54953. "description" : "错误码",
  54954. "enum" : [ "AGREEMENT_NOT_EXIST", "AGREEMENT_IS_INVALID", "AGREEMENT_STATUS_IS_NOT_NORMAL", "AGREEMENT_IS_OUT_OF_DATE", "HORIZONTAL_AUTHORITY_EXCEPTION", "FUND_GROUP_NOT_EXIST", "SYSTEM_ERROR", "JOINT_ACCOUNT_NOT_EXIST", "BIZ_SCENE_NOT_ADMIT" ]
  54955. },
  54956. "links" : {
  54957. "type" : "string",
  54958. "description" : "解决方案链接"
  54959. },
  54960. "message" : {
  54961. "type" : "string",
  54962. "description" : "错误描述"
  54963. }
  54964. }
  54965. },
  54966. "AlipayFundEnterprisepayGroupQueryResponseModel" : {
  54967. "type" : "object",
  54968. "properties" : {
  54969. "account_id" : {
  54970. "type" : "string",
  54971. "description" : "企业签约账户ID",
  54972. "example" : "2088888888"
  54973. },
  54974. "fund_group_id" : {
  54975. "type" : "string",
  54976. "description" : "内部群组号",
  54977. "example" : "2088888888"
  54978. },
  54979. "fund_identity" : {
  54980. "type" : "string",
  54981. "description" : "该群所对应的出资主体账号",
  54982. "example" : "20888888"
  54983. },
  54984. "group_name" : {
  54985. "type" : "string",
  54986. "description" : "群组名称",
  54987. "example" : "群组"
  54988. },
  54989. "out_group_id" : {
  54990. "type" : "string",
  54991. "description" : "外部群组号",
  54992. "example" : "1231231"
  54993. }
  54994. }
  54995. },
  54996. "AlipayFundEnterprisepayMemberModifyErrorResponseModel" : {
  54997. "required" : [ "code", "message" ],
  54998. "type" : "object",
  54999. "properties" : {
  55000. "code" : {
  55001. "type" : "string",
  55002. "description" : "错误码",
  55003. "enum" : [ "SYSTEM_ERROR", "AGREEMENT_NOT_EXIST", "ILLEGAL_ARGUMENT", "HORIZONTAL_AUTHORITY_EXCEPTION", "NOT_REGISTER_MEMBER", "FUND_GROUP_NOT_EXIST", "FUND_IDENTITY_NOT_ALLOWED", "ACCOUNT_NO_MULTI_FUND_PERMISSION", "AGREEMENT_IS_INVALID", "AGREEMENT_STATUS_IS_NOT_NORMAL", "AGREEMENT_IS_OUT_OF_DATE", "USER_AGREEMENT_SIGN_FAIL", "UN_SUPPORT_UPDATE_SCENE", "USER_AGREEMENT_UPDATE_FAIL", "FUND_IDENTITY_PARAM_ERROR", "BIZ_SCENE_NOT_ADMIT", "MEMBER_FUND_MODIFY_FAIL", "JA_IDENTITY_INVALID" ]
  55004. },
  55005. "links" : {
  55006. "type" : "string",
  55007. "description" : "解决方案链接"
  55008. },
  55009. "message" : {
  55010. "type" : "string",
  55011. "description" : "错误描述"
  55012. }
  55013. }
  55014. },
  55015. "AlipayFundEnterprisepayMemberModifyModel" : {
  55016. "type" : "object",
  55017. "properties" : {
  55018. "account_id" : {
  55019. "type" : "string",
  55020. "description" : "企业签约账户ID",
  55021. "example" : "2088888888"
  55022. },
  55023. "agreement_no" : {
  55024. "type" : "string",
  55025. "description" : "平台和企业的三方授权协议号",
  55026. "example" : "1231231321323"
  55027. },
  55028. "biz_scene" : {
  55029. "type" : "string",
  55030. "description" : "场景码,联系支付宝分配",
  55031. "example" : "ANT_GROUP"
  55032. },
  55033. "fund_ext_info" : {
  55034. "$ref" : "#/components/schemas/FundExtInfo"
  55035. },
  55036. "group_id_list" : {
  55037. "type" : "array",
  55038. "description" : "员工当前关联的群组ID,支持多个",
  55039. "items" : {
  55040. "type" : "string"
  55041. },
  55042. "example" : "[\"11\",\"22\",\"33\"]"
  55043. },
  55044. "open_id" : {
  55045. "type" : "string",
  55046. "description" : "蚂蚁统一会员openId",
  55047. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  55048. },
  55049. "operation_type_list" : {
  55050. "type" : "array",
  55051. "description" : "更新操作类型:多个时逗号分隔\tGROUP-群组信息\tFUND-出资信息\t字段不传时,默认全量更新",
  55052. "items" : {
  55053. "type" : "string"
  55054. },
  55055. "example" : "[\"GROUP\",\"FUND\"]"
  55056. },
  55057. "product_code" : {
  55058. "type" : "string",
  55059. "description" : "产品码,默认值\tENTERPRISE_PAY",
  55060. "example" : "ENTERPRISE_PAY"
  55061. },
  55062. "user_id" : {
  55063. "type" : "string",
  55064. "description" : "蚂蚁统一会员ID",
  55065. "example" : "2088123123"
  55066. }
  55067. }
  55068. },
  55069. "AlipayFundEnterprisepayMemberModifyResponseModel" : {
  55070. "type" : "object"
  55071. },
  55072. "AlipayFundEnterprisepaySignErrorResponseModel" : {
  55073. "required" : [ "code", "message" ],
  55074. "type" : "object",
  55075. "properties" : {
  55076. "code" : {
  55077. "type" : "string",
  55078. "description" : "错误码",
  55079. "enum" : [ "PRODUCT_NOT_SIGN", "ILLEGAL_ARGUMENT", "INVALID_ACCOUNT_OUT_SOURCE", "PARAM_NAME_NOT_BLANK", "ACCOUNT_OUTBIZNO_EXIST", "AGREEMENT_NOT_EXIST", "HORIZONTAL_AUTHORITY_EXCEPTION", "GEN_SIGN_TOKEN_FAIL", "MERCHANT_SYSTEM_FAILURE", "SYSTEM_ERROR", "MERCHANT_CARD_NOT_EXISTS", "NEED_TO_SET_PPW", "USER_UNREAL_NAME", "USER_STATUS_ERROR" ]
  55080. },
  55081. "links" : {
  55082. "type" : "string",
  55083. "description" : "解决方案链接"
  55084. },
  55085. "message" : {
  55086. "type" : "string",
  55087. "description" : "错误描述"
  55088. }
  55089. }
  55090. },
  55091. "AlipayFundEnterprisepaySignModel" : {
  55092. "type" : "object",
  55093. "properties" : {
  55094. "account_name" : {
  55095. "type" : "string",
  55096. "description" : "企业简称,传空采用默认规则命名,使用公司名称",
  55097. "example" : "Anonymity"
  55098. },
  55099. "appoint_sign_terminal" : {
  55100. "type" : "string",
  55101. "description" : "指定签约终端类型\tPC-电脑浏览器\tMOBILE-手机端",
  55102. "example" : "PC"
  55103. },
  55104. "biz_scene" : {
  55105. "type" : "string",
  55106. "description" : "业务场景,联系支付宝分配",
  55107. "example" : "DEFAULT"
  55108. },
  55109. "ext_params" : {
  55110. "type" : "string",
  55111. "description" : "特殊场景下扩展字段",
  55112. "example" : "\"{\\\"key\\\":\\\"value\\\"}\""
  55113. },
  55114. "identity" : {
  55115. "type" : "string",
  55116. "description" : "开户账号:\t当identity_type是ALIPAY_USER_ID时填支付宝会员ID(2088开头);\t当identity_type是ALIPAY_LOGON_ID 时填支付宝登录号;\t当identity_type是OUT_USER_ID时填外部平台的用户uid;\t当identity_type是ALIPAY_OPEN_ID时填用户openId",
  55117. "example" : "name@email.com"
  55118. },
  55119. "identity_name" : {
  55120. "type" : "string",
  55121. "description" : "开户用户名称,identity_type为ALIPAY_LOGON_ID时必填",
  55122. "example" : "张三"
  55123. },
  55124. "identity_type" : {
  55125. "type" : "string",
  55126. "description" : "账号类型,目前支持如下类型:\t1、ALIPAY_USER_ID 支付宝的会员ID\t2、ALIPAY_LOGON_ID:支付宝登录号,支持邮箱和手机号格式\t3、OUT_USER_ID:外部用户uid",
  55127. "example" : "ALIPAY_LOGON_ID"
  55128. },
  55129. "out_biz_no" : {
  55130. "type" : "string",
  55131. "description" : "商户侧单号(幂等字段)\t,补充说明:幂等逻辑(商户appid+out_biz_no),商户集成时需注意,如换号重复发起,则认为是一笔新的请求",
  55132. "example" : "1650353507572"
  55133. },
  55134. "out_entity_id" : {
  55135. "type" : "string",
  55136. "description" : "外部实体ID,一般表述为外部操作人操作某个外部实体。比如企业码2284号",
  55137. "example" : "2488888888"
  55138. },
  55139. "out_source" : {
  55140. "type" : "string",
  55141. "description" : "ISV平台定义的共同账户开户来源",
  55142. "example" : "DINGDING"
  55143. },
  55144. "product_code" : {
  55145. "type" : "string",
  55146. "description" : "产品码",
  55147. "example" : "ENTERPRISE_PAY"
  55148. }
  55149. }
  55150. },
  55151. "AlipayFundEnterprisepaySignResponseModel" : {
  55152. "type" : "object",
  55153. "properties" : {
  55154. "sign_token" : {
  55155. "type" : "string",
  55156. "description" : "签约凭证",
  55157. "example" : "signToken"
  55158. },
  55159. "sign_url" : {
  55160. "type" : "string",
  55161. "description" : "签约链接,用于跳转到开户页面",
  55162. "example" : "http://business-site-default.dev.alipay.net/page/EnterprisePay/Account?signToken=12324"
  55163. }
  55164. }
  55165. },
  55166. "AlipayFundEnterprisepayUnsignErrorResponseModel" : {
  55167. "required" : [ "code", "message" ],
  55168. "type" : "object",
  55169. "properties" : {
  55170. "code" : {
  55171. "type" : "string",
  55172. "description" : "错误码",
  55173. "enum" : [ "ENTERPRISE_ACCOUNT_UNSIGNED", "AGREEMENT_NOT_EXIST", "HORIZONTAL_AUTHORITY_EXCEPTION", "PRODUCT_NOT_SIGN", "GEN_UNSIGN_TOKEN_FAIL", "ILLEGAL_ARGUMENT", "AGREEMENT_ACCOUNT_NOT_MATCH", "MERCHANT_SYSTEM_FAILURE", "AGREEMENT_IS_INVALID", "SYSTEM_ERROR" ]
  55174. },
  55175. "links" : {
  55176. "type" : "string",
  55177. "description" : "解决方案链接"
  55178. },
  55179. "message" : {
  55180. "type" : "string",
  55181. "description" : "错误描述"
  55182. }
  55183. }
  55184. },
  55185. "AlipayFundEnterprisepayUnsignModel" : {
  55186. "type" : "object",
  55187. "properties" : {
  55188. "account_id" : {
  55189. "type" : "string",
  55190. "description" : "企业账号",
  55191. "example" : "2088xxx"
  55192. },
  55193. "agreement_no" : {
  55194. "type" : "string",
  55195. "description" : "授权协议号",
  55196. "example" : "2088xxx"
  55197. },
  55198. "biz_scene" : {
  55199. "type" : "string",
  55200. "description" : "业务场景",
  55201. "example" : "ISV_ALIYUN"
  55202. },
  55203. "product_code" : {
  55204. "type" : "string",
  55205. "description" : "销售产品码",
  55206. "example" : "ENTERPRISE_PAY"
  55207. }
  55208. }
  55209. },
  55210. "AlipayFundEnterprisepayUnsignResponseModel" : {
  55211. "type" : "object",
  55212. "properties" : {
  55213. "unsign_token" : {
  55214. "type" : "string",
  55215. "description" : "解约凭证",
  55216. "example" : "700e15fc014d463eb84600676f1976b4"
  55217. },
  55218. "unsign_url" : {
  55219. "type" : "string",
  55220. "description" : "解约链接",
  55221. "example" : "http://business-site-default.dev.alipay.net/page/EnterprisePay/Account?unsignToken=12324"
  55222. }
  55223. }
  55224. },
  55225. "AlipayFundJointaccountBillQueryErrorResponseModel" : {
  55226. "required" : [ "code", "message" ],
  55227. "type" : "object",
  55228. "properties" : {
  55229. "code" : {
  55230. "type" : "string",
  55231. "description" : "错误码",
  55232. "enum" : [ "PRODUCT_NOT_SIGN", "AGREEMENT_IS_INVALID", "ILLEGAL_ARGUMENT", "START_AFTER_END_DATE", "SYSTEM_ERROR" ]
  55233. },
  55234. "links" : {
  55235. "type" : "string",
  55236. "description" : "解决方案链接"
  55237. },
  55238. "message" : {
  55239. "type" : "string",
  55240. "description" : "错误描述"
  55241. }
  55242. }
  55243. },
  55244. "AlipayFundJointaccountBillQueryResponseModel" : {
  55245. "type" : "object",
  55246. "properties" : {
  55247. "bill_list" : {
  55248. "type" : "array",
  55249. "description" : "返回账单列表。账单列表为空时,返回为空",
  55250. "items" : {
  55251. "$ref" : "#/components/schemas/JointAccountBillDetailDTO"
  55252. }
  55253. },
  55254. "biz_scene" : {
  55255. "type" : "string",
  55256. "description" : "场景",
  55257. "example" : "DEFAULT"
  55258. },
  55259. "has_next_page" : {
  55260. "type" : "boolean",
  55261. "description" : "是否有下一页",
  55262. "example" : "true"
  55263. },
  55264. "page_num" : {
  55265. "type" : "string",
  55266. "description" : "当期页数",
  55267. "example" : "1"
  55268. },
  55269. "page_size" : {
  55270. "type" : "string",
  55271. "description" : "当期页记录数",
  55272. "example" : "10"
  55273. },
  55274. "product_code" : {
  55275. "type" : "string",
  55276. "description" : "产品码",
  55277. "example" : "ENTERPRISE_PAY"
  55278. }
  55279. }
  55280. },
  55281. "AlipayFundJointaccountDetailQueryErrorResponseModel" : {
  55282. "required" : [ "code", "message" ],
  55283. "type" : "object",
  55284. "properties" : {
  55285. "code" : {
  55286. "type" : "string",
  55287. "description" : "错误码",
  55288. "enum" : [ "PRODUCT_NOT_SIGN", "AGREEMENT_IS_INVALID", "AGREEMENT_NOT_EXIST", "JOINT_ACCOUNT_NO_EXIST", "ILLEGAL_ARGUMENT", "SYSTEM_ERROR", "ACCOUNT_NOT_EXIST", "JA_ASSET_NOT_EXIST", "AGREEMENT_STATUS_IS_NOT_NORMAL", "AGREEMENT_IS_OUT_OF_DATE" ]
  55289. },
  55290. "links" : {
  55291. "type" : "string",
  55292. "description" : "解决方案链接"
  55293. },
  55294. "message" : {
  55295. "type" : "string",
  55296. "description" : "错误描述"
  55297. }
  55298. }
  55299. },
  55300. "AlipayFundJointaccountDetailQueryResponseModel" : {
  55301. "type" : "object",
  55302. "properties" : {
  55303. "account_id" : {
  55304. "type" : "string",
  55305. "description" : "合花群ID(支付宝侧生成)",
  55306. "example" : "2088xxx"
  55307. },
  55308. "account_name" : {
  55309. "type" : "string",
  55310. "description" : "账户名称(支付宝侧生成)",
  55311. "example" : "企业代付"
  55312. },
  55313. "account_quota" : {
  55314. "type" : "array",
  55315. "description" : "额度模型",
  55316. "items" : {
  55317. "$ref" : "#/components/schemas/JointAccountQuotaRespDTO"
  55318. }
  55319. },
  55320. "account_status" : {
  55321. "type" : "string",
  55322. "description" : "账户状态<br>\t-NORMAL:正常<br>\t-RELEASING:注销中<br>\t-RELEASED:已注销<br>\t- FREEZE:冻结",
  55323. "example" : "NORMAL"
  55324. },
  55325. "agreement_no" : {
  55326. "type" : "string",
  55327. "description" : "授权协议号(支付宝侧生成)",
  55328. "example" : "2088xxx"
  55329. },
  55330. "authorized_rule" : {
  55331. "$ref" : "#/components/schemas/AuthorizedRuleDTO"
  55332. },
  55333. "available_balance" : {
  55334. "type" : "string",
  55335. "description" : "当前可用金额(单位为元,必须大于0且最多小数点后两位)",
  55336. "example" : "13.14"
  55337. },
  55338. "biz_scene" : {
  55339. "type" : "string",
  55340. "description" : "业务场景码",
  55341. "example" : "DEFAULT"
  55342. },
  55343. "creator_id" : {
  55344. "type" : "string",
  55345. "description" : "(创建人)支付宝侧用户唯一标识",
  55346. "example" : "2088900976740001"
  55347. },
  55348. "creator_open_id" : {
  55349. "type" : "string",
  55350. "description" : "(创建人)支付宝侧用户唯一标识",
  55351. "example" : "095PJtAPYb2Uk"
  55352. },
  55353. "creator_out_id" : {
  55354. "type" : "string",
  55355. "description" : "(创建人)商户侧用户唯一标识<br>\t补充说明:<br>\t-如果签约时,发起人标识传递的是商户侧用户唯一标识,则该字段会返回<br>\t-如果签约时,发起人标识传递的是支付宝侧用户唯一标识,则该字段为空",
  55356. "example" : "12345678"
  55357. },
  55358. "freeze_balance" : {
  55359. "type" : "string",
  55360. "description" : "当前冻结金额(单位为元,必须大于0且最多小数点后两位)",
  55361. "example" : "5.20"
  55362. },
  55363. "invite_result_list" : {
  55364. "type" : "array",
  55365. "description" : "签约时邀请的成员列表(快照)",
  55366. "items" : {
  55367. "$ref" : "#/components/schemas/InviteResultDTO"
  55368. }
  55369. },
  55370. "member_list" : {
  55371. "type" : "array",
  55372. "description" : "已加入合花群的成员列表",
  55373. "items" : {
  55374. "$ref" : "#/components/schemas/JointAccountMemberInfoRespDTO"
  55375. }
  55376. },
  55377. "product_code" : {
  55378. "type" : "string",
  55379. "description" : "销售产品码",
  55380. "example" : "ENTERPRISE_PAY"
  55381. },
  55382. "profit_status" : {
  55383. "type" : "string",
  55384. "description" : "生息状态:</br>\t- MAKING :开启中</br>\t- MADE. :已开启</br>\t- CLEARING:关闭中</br>\t- NONE. :未生息",
  55385. "example" : "MADE"
  55386. },
  55387. "yesterday_profit" : {
  55388. "type" : "string",
  55389. "description" : "昨日收益",
  55390. "example" : "0.45"
  55391. }
  55392. }
  55393. },
  55394. "AlipayFundJointaccountListQueryErrorResponseModel" : {
  55395. "required" : [ "code", "message" ],
  55396. "type" : "object",
  55397. "properties" : {
  55398. "code" : {
  55399. "type" : "string",
  55400. "description" : "错误码",
  55401. "enum" : [ "PRODUCT_NOT_SIGN" ]
  55402. },
  55403. "links" : {
  55404. "type" : "string",
  55405. "description" : "解决方案链接"
  55406. },
  55407. "message" : {
  55408. "type" : "string",
  55409. "description" : "错误描述"
  55410. }
  55411. }
  55412. },
  55413. "AlipayFundJointaccountListQueryResponseModel" : {
  55414. "type" : "object",
  55415. "properties" : {
  55416. "account_list" : {
  55417. "type" : "array",
  55418. "description" : "共同账户列表",
  55419. "items" : {
  55420. "$ref" : "#/components/schemas/JointAccountDTO"
  55421. }
  55422. },
  55423. "biz_scene" : {
  55424. "type" : "string",
  55425. "description" : "场景",
  55426. "example" : "DEFAULT"
  55427. },
  55428. "product_code" : {
  55429. "type" : "string",
  55430. "description" : "产品码",
  55431. "example" : "ENTERPRISE_PAY"
  55432. }
  55433. }
  55434. },
  55435. "AlipayFundJointaccountMemberBatchqueryErrorResponseModel" : {
  55436. "required" : [ "code", "message" ],
  55437. "type" : "object",
  55438. "properties" : {
  55439. "code" : {
  55440. "type" : "string",
  55441. "description" : "错误码",
  55442. "enum" : [ "PRODUCT_NOT_SIGN", "ILLEGAL_ARGUMENT", "IDENTITY_CHECK_ERROR", "AGREEMENT_IS_INVALID", "AGREEMENT_NOT_EXIST", "SYSTEM_ERROR", "USER_NOT_MATCH", "CONFIG_ERROR", "LAST_USER_ID_PARAM_ERROR", "PAGE_SIZE_PARAM_ERROR", "OPEN_ID_NOT_EXIST" ]
  55443. },
  55444. "links" : {
  55445. "type" : "string",
  55446. "description" : "解决方案链接"
  55447. },
  55448. "message" : {
  55449. "type" : "string",
  55450. "description" : "错误描述"
  55451. }
  55452. }
  55453. },
  55454. "AlipayFundJointaccountMemberBatchqueryModel" : {
  55455. "type" : "object",
  55456. "properties" : {
  55457. "account_id" : {
  55458. "type" : "string",
  55459. "description" : "共同账户ID",
  55460. "example" : "20888888888"
  55461. },
  55462. "agreement_no" : {
  55463. "type" : "string",
  55464. "description" : "三方授权协议号",
  55465. "example" : "3424324324324"
  55466. },
  55467. "biz_scene" : {
  55468. "type" : "string",
  55469. "description" : "业务场景",
  55470. "example" : "ISV_DEFAULT"
  55471. },
  55472. "identity" : {
  55473. "type" : "string",
  55474. "description" : "企业账号:identity_type是ALIPAY_USER_ID填支付宝会员ID(2088开头);\t是ALIPAY_LOGON_ID 填支付宝登录号",
  55475. "example" : "name@email.com"
  55476. },
  55477. "identity_type" : {
  55478. "type" : "string",
  55479. "description" : "账号类型,目前支持如下类型: 1、ALIPAY_USER_ID 支付宝的会员ID 2、ALIPAY_LOGON_ID:支付宝登录号,支持邮箱和手机号格式",
  55480. "example" : "ALIPAY_LOGON_ID"
  55481. },
  55482. "last_open_id" : {
  55483. "type" : "string",
  55484. "description" : "按游标查询,传入上次查询最后一个用户的openId",
  55485. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  55486. },
  55487. "last_user_id" : {
  55488. "type" : "string",
  55489. "description" : "按游标查询,传入上次查询最后一个用户ID,适用于逐页查询。优先级大于page_num",
  55490. "example" : "2088900976746215"
  55491. },
  55492. "page_num" : {
  55493. "type" : "string",
  55494. "description" : "采用分页查询,本参数为空或0默认显示第一页。如果输入的值大于总页数,则支付宝返回最后一页数据。",
  55495. "example" : "1"
  55496. },
  55497. "page_size" : {
  55498. "type" : "string",
  55499. "description" : "每页大小,不传的情况下默认20条,上限100;不足20条则按实际记录数返回",
  55500. "example" : "20"
  55501. },
  55502. "product_code" : {
  55503. "type" : "string",
  55504. "description" : "销售产品码",
  55505. "example" : "ENTERPRISE_PAY"
  55506. }
  55507. }
  55508. },
  55509. "AlipayFundJointaccountMemberBatchqueryResponseModel" : {
  55510. "type" : "object",
  55511. "properties" : {
  55512. "account_id" : {
  55513. "type" : "string",
  55514. "description" : "共同账户ID",
  55515. "example" : "2088900976746215"
  55516. },
  55517. "member_list" : {
  55518. "type" : "array",
  55519. "description" : "员工列表",
  55520. "items" : {
  55521. "$ref" : "#/components/schemas/JointAccountMemberDTO"
  55522. }
  55523. },
  55524. "page_num" : {
  55525. "type" : "string",
  55526. "description" : "当前页数,使用游标方式查询时,没有该字段",
  55527. "example" : "1"
  55528. },
  55529. "page_size" : {
  55530. "type" : "string",
  55531. "description" : "当前记录数",
  55532. "example" : "1"
  55533. },
  55534. "total_count" : {
  55535. "type" : "string",
  55536. "description" : "总条数",
  55537. "example" : "100"
  55538. },
  55539. "total_page_count" : {
  55540. "type" : "string",
  55541. "description" : "总页数",
  55542. "example" : "50"
  55543. }
  55544. }
  55545. },
  55546. "AlipayFundJointaccountMemberBindErrorResponseModel" : {
  55547. "required" : [ "code", "message" ],
  55548. "type" : "object",
  55549. "properties" : {
  55550. "code" : {
  55551. "type" : "string",
  55552. "description" : "错误码",
  55553. "enum" : [ "PRODUCT_NOT_SIGN", "ANALYSIS_PARAM_ERROR", "PARAM_NAME_NOT_BLANK", "AGREEMENT_NOT_EXIST", "AGREEMENT_IS_INVALID", "AGREEMENT_STATUS_IS_NOT_NORMAL", "AGREEMENT_IS_OUT_OF_DATE", "HORIZONTAL_AUTHORITY_EXCEPTION", "USER_NOT_EXIST", "USER_TYPE_NOT_ALLOWED", "USER_UNREAL_NAME", "CERT_TYPE_ERROR", "NEED_TO_SET_PPW", "USER_STATUS_ERROR", "INVITE_MEMBER_FAIL", "JOINT_ACCOUNT_DUPLICATE_INVITE", "ALREADY_REGISTER_MEMBER", "JOINT_ACCOUNT_APPLY_STATUS_ERROR", "ENTERPRISE_MEMBER_NUM_EXCEED_MAX", "JOINED_ACCOUNT_NUM_EXCEED_MAX", "USER_GROUP_OVER_MAX", "FUND_GROUP_NOT_EXIST", "FUND_IDENTITY_NOT_ALLOWED", "ACCOUNT_NO_MULTI_FUND_PERMISSION", "FUND_IDENTITY_PARAM_ERROR", "COMMON_LOCK_CONFLICT", "ILLEGAL_ARGUMENT", "SYSTEM_ERROR", "COMMON_RPC_ERROR", "OPEN_ID_TRANSFORM_ERROR" ]
  55554. },
  55555. "links" : {
  55556. "type" : "string",
  55557. "description" : "解决方案链接"
  55558. },
  55559. "message" : {
  55560. "type" : "string",
  55561. "description" : "错误描述"
  55562. }
  55563. }
  55564. },
  55565. "AlipayFundJointaccountMemberBindModel" : {
  55566. "type" : "object",
  55567. "properties" : {
  55568. "account_id" : {
  55569. "type" : "string",
  55570. "description" : "账本ID",
  55571. "example" : "2088000166406784"
  55572. },
  55573. "account_quota" : {
  55574. "$ref" : "#/components/schemas/JointAccountQuotaDTO"
  55575. },
  55576. "agreement_no" : {
  55577. "type" : "string",
  55578. "description" : "授权签约协议号",
  55579. "example" : "20214922001380716008"
  55580. },
  55581. "biz_scene" : {
  55582. "type" : "string",
  55583. "description" : "业务场景,联系支付宝分配",
  55584. "example" : "ISV_STANDARD"
  55585. },
  55586. "business_params" : {
  55587. "$ref" : "#/components/schemas/InviteMemberBusinessParamsDTO"
  55588. },
  55589. "identity" : {
  55590. "type" : "string",
  55591. "description" : "成员账号:\tidentity_type是ALIPAY_USER_ID填支付宝会员ID(2088开头);\t是ALIPAY_LOGON_ID 填支付宝登录号;\t是ALIPAY_OPEN_ID 填支付宝openId",
  55592. "example" : "name@email.com"
  55593. },
  55594. "identity_type" : {
  55595. "type" : "string",
  55596. "description" : "账号类型,目前支持如下类型:\t1、ALIPAY_USER_ID 支付宝的会员ID \t2、ALIPAY_LOGON_ID:支付宝登录号,支持邮箱和手机号格式\t3、ALIPAY_OPEN_ID:支付宝openId",
  55597. "example" : "ALIPAY_LOGON_ID"
  55598. },
  55599. "identity_verified_info" : {
  55600. "$ref" : "#/components/schemas/IdentityVerifiedInfoDTO"
  55601. },
  55602. "name" : {
  55603. "type" : "string",
  55604. "description" : "成员姓名,账号类型为ALIPAY_LOGON_ID时必填",
  55605. "example" : "张三"
  55606. },
  55607. "product_code" : {
  55608. "type" : "string",
  55609. "description" : "产品码",
  55610. "example" : "ENTERPRISE_PAY"
  55611. }
  55612. }
  55613. },
  55614. "AlipayFundJointaccountMemberBindResponseModel" : {
  55615. "type" : "object",
  55616. "properties" : {
  55617. "reply_url" : {
  55618. "type" : "string",
  55619. "description" : "员工回应邀请链接",
  55620. "example" : "http://www.baidu.com"
  55621. }
  55622. }
  55623. },
  55624. "AlipayFundJointaccountMemberConsultErrorResponseModel" : {
  55625. "required" : [ "code", "message" ],
  55626. "type" : "object",
  55627. "properties" : {
  55628. "code" : {
  55629. "type" : "string",
  55630. "description" : "错误码",
  55631. "enum" : [ "PRODUCT_NOT_SIGN", "AGREEMENT_IS_INVALID", "SYSTEM_ERROR" ]
  55632. },
  55633. "links" : {
  55634. "type" : "string",
  55635. "description" : "解决方案链接"
  55636. },
  55637. "message" : {
  55638. "type" : "string",
  55639. "description" : "错误描述"
  55640. }
  55641. }
  55642. },
  55643. "AlipayFundJointaccountMemberConsultModel" : {
  55644. "type" : "object",
  55645. "properties" : {
  55646. "account_id" : {
  55647. "type" : "string",
  55648. "description" : "企业ID",
  55649. "example" : "2088900976746215"
  55650. },
  55651. "agreement_no" : {
  55652. "type" : "string",
  55653. "description" : "协议号",
  55654. "example" : "20205820659822371223"
  55655. },
  55656. "business_params" : {
  55657. "type" : "string",
  55658. "description" : "扩展参数,如需使用请联系支付宝开放同学",
  55659. "example" : "{\"k\":\"v\"}"
  55660. },
  55661. "open_id_list" : {
  55662. "type" : "array",
  55663. "description" : "要检查的员工openId",
  55664. "items" : {
  55665. "type" : "string"
  55666. },
  55667. "example" : "[\"074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5\"]"
  55668. },
  55669. "user_id_list" : {
  55670. "type" : "array",
  55671. "description" : "要检查的员工ID",
  55672. "items" : {
  55673. "type" : "string"
  55674. },
  55675. "example" : "[\"2088900976746215\"]"
  55676. }
  55677. }
  55678. },
  55679. "AlipayFundJointaccountMemberConsultResponseModel" : {
  55680. "type" : "object",
  55681. "properties" : {
  55682. "account_id" : {
  55683. "type" : "string",
  55684. "description" : "企业ID",
  55685. "example" : "2088900976746215"
  55686. },
  55687. "code" : {
  55688. "type" : "string",
  55689. "description" : "返回码\t10000-成功\t其他都是失败",
  55690. "example" : "10000"
  55691. },
  55692. "member_list" : {
  55693. "type" : "array",
  55694. "description" : "员工列表",
  55695. "items" : {
  55696. "$ref" : "#/components/schemas/MemberStatusRespDTO"
  55697. }
  55698. },
  55699. "msg" : {
  55700. "type" : "string",
  55701. "description" : "描述信息",
  55702. "example" : "Success"
  55703. }
  55704. }
  55705. },
  55706. "AlipayFundJointaccountMemberQueryErrorResponseModel" : {
  55707. "required" : [ "code", "message" ],
  55708. "type" : "object",
  55709. "properties" : {
  55710. "code" : {
  55711. "type" : "string",
  55712. "description" : "错误码",
  55713. "enum" : [ "PRODUCT_NOT_SIGN", "SYSTEM_ERROR" ]
  55714. },
  55715. "links" : {
  55716. "type" : "string",
  55717. "description" : "解决方案链接"
  55718. },
  55719. "message" : {
  55720. "type" : "string",
  55721. "description" : "错误描述"
  55722. }
  55723. }
  55724. },
  55725. "AlipayFundJointaccountMemberQueryResponseModel" : {
  55726. "type" : "object",
  55727. "properties" : {
  55728. "account_id" : {
  55729. "type" : "string",
  55730. "description" : "共同账户ID",
  55731. "example" : "2088900976746215"
  55732. },
  55733. "biz_scene" : {
  55734. "type" : "string",
  55735. "description" : "场景码",
  55736. "example" : "DEFAULT"
  55737. },
  55738. "member_list" : {
  55739. "type" : "array",
  55740. "description" : "成员列表",
  55741. "items" : {
  55742. "$ref" : "#/components/schemas/JointAccountMemberRespDTO"
  55743. }
  55744. },
  55745. "page_num" : {
  55746. "type" : "string",
  55747. "description" : "页码",
  55748. "example" : "1"
  55749. },
  55750. "page_size" : {
  55751. "type" : "string",
  55752. "description" : "页面记录数",
  55753. "example" : "10"
  55754. },
  55755. "product_code" : {
  55756. "type" : "string",
  55757. "description" : "产品码",
  55758. "example" : "ENTERPRISE_PAY"
  55759. },
  55760. "total_page_count" : {
  55761. "type" : "string",
  55762. "description" : "总页数",
  55763. "example" : "10"
  55764. }
  55765. }
  55766. },
  55767. "AlipayFundJointaccountMemberUnbindErrorResponseModel" : {
  55768. "required" : [ "code", "message" ],
  55769. "type" : "object",
  55770. "properties" : {
  55771. "code" : {
  55772. "type" : "string",
  55773. "description" : "错误码",
  55774. "enum" : [ "PRODUCT_NOT_SIGN", "ANALYSIS_PARAM_ERROR", "PARAM_NAME_NOT_BLANK", "AGREEMENT_NOT_EXIST", "AGREEMENT_IS_INVALID", "AGREEMENT_STATUS_IS_NOT_NORMAL", "AGREEMENT_IS_OUT_OF_DATE", "HORIZONTAL_AUTHORITY_EXCEPTION", "USER_NOT_EXIST", "USER_TYPE_NOT_ALLOWED", "USER_UNREAL_NAME", "CERT_TYPE_ERROR", "NEED_TO_SET_PPW", "USER_STATUS_ERROR", "MEMBER_NOT_IN_ACCOUNT", "CANCEL_INVITE_MEMBER_FAIL", "DELETE_INVITE_MEMBER_FAIL", "NON_EXISTENT_INVITE_RECORD", "PASSIVE_DELETE_ADMIN", "QUERY_ACCOUNT_INFO_FAIL", "DELETE_MASTER_SELF", "PASSIVE_BECOME_ADMIN", "JOINT_ACCOUNT_NOT_EXIST", "HAS_DELETED", "DELETE_MEMBER_PERMISSION_DENIED", "DELETE_FAIL", "JOINT_ACCOUNT_INVITE_STATUS_INVALID", "JOINT_ACCOUNT_NO_PERMISSION", "ILLEGAL_ARGUMENT", "CONSULT_MEMBER_FAIL", "SYSTEM_ERROR" ]
  55775. },
  55776. "links" : {
  55777. "type" : "string",
  55778. "description" : "解决方案链接"
  55779. },
  55780. "message" : {
  55781. "type" : "string",
  55782. "description" : "错误描述"
  55783. }
  55784. }
  55785. },
  55786. "AlipayFundJointaccountMemberUnbindModel" : {
  55787. "type" : "object",
  55788. "properties" : {
  55789. "account_id" : {
  55790. "type" : "string",
  55791. "description" : "账本id",
  55792. "example" : "2088000166406784"
  55793. },
  55794. "agreement_no" : {
  55795. "type" : "string",
  55796. "description" : "授权协议号",
  55797. "example" : "20214922001380716008"
  55798. },
  55799. "biz_scene" : {
  55800. "type" : "string",
  55801. "description" : "场景码",
  55802. "example" : "DEFAULT"
  55803. },
  55804. "identity" : {
  55805. "type" : "string",
  55806. "description" : "成员账号:\tidentity_type是ALIPAY_USER_ID填支付宝会员ID(2088开头);\t是ALIPAY_LOGON_ID 填支付宝登录号",
  55807. "example" : "name@email.com"
  55808. },
  55809. "identity_type" : {
  55810. "type" : "string",
  55811. "description" : "账号类型,目前支持如下类型: 1、ALIPAY_USER_ID 支付宝的会员ID 2、ALIPAY_LOGON_ID:支付宝登录号,支持邮箱和手机号格式",
  55812. "example" : "ALIPAY_LOGON_ID"
  55813. },
  55814. "name" : {
  55815. "type" : "string",
  55816. "description" : "姓名,账号类型为ALIPAY_LOGON_ID时必填",
  55817. "example" : "张三"
  55818. },
  55819. "product_code" : {
  55820. "type" : "string",
  55821. "description" : "产品码",
  55822. "example" : "ENTERPRISE_PAY"
  55823. },
  55824. "status" : {
  55825. "type" : "string",
  55826. "description" : "成员当前状态:\t邀请中(PROCESSING)、正常(NORMAL)",
  55827. "example" : "NORMAL"
  55828. }
  55829. }
  55830. },
  55831. "AlipayFundJointaccountMemberUnbindResponseModel" : {
  55832. "type" : "object"
  55833. },
  55834. "AlipayFundJointaccountMemberruleModifyErrorResponseModel" : {
  55835. "required" : [ "code", "message" ],
  55836. "type" : "object",
  55837. "properties" : {
  55838. "code" : {
  55839. "type" : "string",
  55840. "description" : "错误码",
  55841. "enum" : [ "PRODUCT_NOT_SIGN", "MAX_QUOTA_CONFIG_MISSING" ]
  55842. },
  55843. "links" : {
  55844. "type" : "string",
  55845. "description" : "解决方案链接"
  55846. },
  55847. "message" : {
  55848. "type" : "string",
  55849. "description" : "错误描述"
  55850. }
  55851. }
  55852. },
  55853. "AlipayFundJointaccountMemberruleModifyModel" : {
  55854. "type" : "object",
  55855. "properties" : {
  55856. "account_id" : {
  55857. "type" : "string",
  55858. "description" : "账户ID",
  55859. "example" : "2088900976746215"
  55860. },
  55861. "agreement_no" : {
  55862. "type" : "string",
  55863. "description" : "授权协议号",
  55864. "example" : "20889009767462151233"
  55865. },
  55866. "biz_scene" : {
  55867. "type" : "string",
  55868. "description" : "业务场景",
  55869. "example" : "DEFAULT"
  55870. },
  55871. "member_list" : {
  55872. "$ref" : "#/components/schemas/JointAccountMemberList"
  55873. },
  55874. "product_code" : {
  55875. "type" : "string",
  55876. "description" : "产品码",
  55877. "example" : "ENTERPRISE_PAY"
  55878. }
  55879. }
  55880. },
  55881. "AlipayFundJointaccountMemberruleModifyResponseModel" : {
  55882. "type" : "object"
  55883. },
  55884. "AlipayFundJointaccountQuotaQueryErrorResponseModel" : {
  55885. "required" : [ "code", "message" ],
  55886. "type" : "object",
  55887. "properties" : {
  55888. "code" : {
  55889. "type" : "string",
  55890. "description" : "错误码",
  55891. "enum" : [ "PRODUCT_NOT_SIGN", "AGREEMENT_NOT_EXIST", "AGREEMENT_STATUS_IS_NOT_NORMAL", "AGREEMENT_IS_OUT_OF_DATE", "AGREEMENT_IS_INVALID", "ILLEGAL_ARGUMENT", "SYSTEM_ERROR" ]
  55892. },
  55893. "links" : {
  55894. "type" : "string",
  55895. "description" : "解决方案链接"
  55896. },
  55897. "message" : {
  55898. "type" : "string",
  55899. "description" : "错误描述"
  55900. }
  55901. }
  55902. },
  55903. "AlipayFundJointaccountQuotaQueryResponseModel" : {
  55904. "type" : "object",
  55905. "properties" : {
  55906. "account_id" : {
  55907. "type" : "string",
  55908. "description" : "共同账户ID",
  55909. "example" : "2088900976746215"
  55910. },
  55911. "account_quota" : {
  55912. "type" : "array",
  55913. "description" : "共同账户额度模型",
  55914. "items" : {
  55915. "$ref" : "#/components/schemas/JointAccountQuotaRespDTO"
  55916. }
  55917. },
  55918. "biz_scene" : {
  55919. "type" : "string",
  55920. "description" : "场景码",
  55921. "example" : "DEFAULT"
  55922. },
  55923. "member_id" : {
  55924. "type" : "string",
  55925. "description" : "成员ID(如果查询员工才返回)",
  55926. "example" : "2088900976746215"
  55927. },
  55928. "member_open_id" : {
  55929. "type" : "string",
  55930. "description" : "员工openId",
  55931. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  55932. },
  55933. "product_code" : {
  55934. "type" : "string",
  55935. "description" : "产品码",
  55936. "example" : "ENTERPRISE_PAY"
  55937. }
  55938. }
  55939. },
  55940. "AlipayFundJointaccountRuleModifyErrorResponseModel" : {
  55941. "required" : [ "code", "message" ],
  55942. "type" : "object",
  55943. "properties" : {
  55944. "code" : {
  55945. "type" : "string",
  55946. "description" : "错误码",
  55947. "enum" : [ "PRODUCT_NOT_SIGN" ]
  55948. },
  55949. "links" : {
  55950. "type" : "string",
  55951. "description" : "解决方案链接"
  55952. },
  55953. "message" : {
  55954. "type" : "string",
  55955. "description" : "错误描述"
  55956. }
  55957. }
  55958. },
  55959. "AlipayFundJointaccountRuleModifyModel" : {
  55960. "type" : "object",
  55961. "properties" : {
  55962. "account_id" : {
  55963. "type" : "string",
  55964. "description" : "账本ID",
  55965. "example" : "2088402123951081"
  55966. },
  55967. "account_name" : {
  55968. "type" : "string",
  55969. "description" : "账本名称",
  55970. "example" : "账本名称"
  55971. },
  55972. "account_quota" : {
  55973. "type" : "array",
  55974. "description" : "账户额度",
  55975. "items" : {
  55976. "$ref" : "#/components/schemas/JointAccountQuotaDTO"
  55977. }
  55978. },
  55979. "agreement_no" : {
  55980. "type" : "string",
  55981. "description" : "授权协议号",
  55982. "example" : "2088402124305476"
  55983. },
  55984. "authorized_rule" : {
  55985. "$ref" : "#/components/schemas/AuthorizedRuleDTO"
  55986. },
  55987. "biz_scene" : {
  55988. "type" : "string",
  55989. "description" : "场景码",
  55990. "example" : "DEFAULT"
  55991. },
  55992. "product_code" : {
  55993. "type" : "string",
  55994. "description" : "产品码",
  55995. "example" : "ENTERPRISE_PAY"
  55996. }
  55997. }
  55998. },
  55999. "AlipayFundJointaccountRuleModifyResponseModel" : {
  56000. "type" : "object"
  56001. },
  56002. "AlipayFundJointaccountSignQueryErrorResponseModel" : {
  56003. "required" : [ "code", "message" ],
  56004. "type" : "object",
  56005. "properties" : {
  56006. "code" : {
  56007. "type" : "string",
  56008. "description" : "错误码",
  56009. "enum" : [ "ILLEGAL_ARGUMENT", "SYSTEM_ERROR" ]
  56010. },
  56011. "links" : {
  56012. "type" : "string",
  56013. "description" : "解决方案链接"
  56014. },
  56015. "message" : {
  56016. "type" : "string",
  56017. "description" : "错误描述"
  56018. }
  56019. }
  56020. },
  56021. "AlipayFundJointaccountSignQueryResponseModel" : {
  56022. "type" : "object",
  56023. "properties" : {
  56024. "account_id" : {
  56025. "type" : "string",
  56026. "description" : "企业签约的账户ID",
  56027. "example" : "2088123123123"
  56028. },
  56029. "agreement_no" : {
  56030. "type" : "string",
  56031. "description" : "企业授权平台的三方授权协议号",
  56032. "example" : "121212121212"
  56033. },
  56034. "status" : {
  56035. "type" : "string",
  56036. "description" : "账户状态,NORMAL-生效中,RELEASED-已销户",
  56037. "example" : "NORMAL"
  56038. }
  56039. }
  56040. },
  56041. "AlipayFundJointaccountTradeQueryErrorResponseModel" : {
  56042. "required" : [ "code", "message" ],
  56043. "type" : "object",
  56044. "properties" : {
  56045. "code" : {
  56046. "type" : "string",
  56047. "description" : "错误码",
  56048. "enum" : [ "PRODUCT_NOT_SIGN", "TRADE_NOT_EXSIT", "MEMBER_NOT_IN_ACCOUNT", "TRADE_DO_NOT_BELONG_USER", "ILLEGAL_ARGUMENT", "AGREEMENT_IS_INVALID", "AGREEMENT_NOT_EXIST", "SYSTEM_ERROR" ]
  56049. },
  56050. "links" : {
  56051. "type" : "string",
  56052. "description" : "解决方案链接"
  56053. },
  56054. "message" : {
  56055. "type" : "string",
  56056. "description" : "错误描述"
  56057. }
  56058. }
  56059. },
  56060. "AlipayFundJointaccountTradeQueryResponseModel" : {
  56061. "type" : "object",
  56062. "properties" : {
  56063. "buyer_id" : {
  56064. "type" : "string",
  56065. "description" : "买家ID",
  56066. "example" : "2088888888"
  56067. },
  56068. "buyer_open_id" : {
  56069. "type" : "string",
  56070. "description" : "买家的openId",
  56071. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  56072. },
  56073. "create_time" : {
  56074. "type" : "string",
  56075. "description" : "交易创建时间",
  56076. "example" : "2010-11-11 11:11:11"
  56077. },
  56078. "total_amount" : {
  56079. "type" : "string",
  56080. "description" : "订单总金额",
  56081. "example" : "2"
  56082. },
  56083. "trade_fund_bill_list" : {
  56084. "type" : "array",
  56085. "description" : "资金单明细",
  56086. "items" : {
  56087. "$ref" : "#/components/schemas/TradeFundBillDetail"
  56088. }
  56089. },
  56090. "trade_info_list" : {
  56091. "type" : "array",
  56092. "description" : "交易信息集合。查询为批量查询时,使用该结果返回",
  56093. "items" : {
  56094. "$ref" : "#/components/schemas/TradeInfoDTO"
  56095. }
  56096. },
  56097. "trade_no" : {
  56098. "type" : "string",
  56099. "description" : "交易单号",
  56100. "example" : "1231231321321"
  56101. },
  56102. "trade_status" : {
  56103. "type" : "string",
  56104. "description" : "交易状态:WAIT_BUYER_PAY(交易创建,等待买家付款)、TRADE_CLOSED(未付款交易超时关闭,或支付完成后全额退款)、TRADE_SUCCESS(交易支付成功)、TRADE_FINISHED(交易结束,不可退款)",
  56105. "example" : "TRADE_SUCCESS"
  56106. }
  56107. }
  56108. },
  56109. "AlipayFundTransCommonQueryErrorResponseModel" : {
  56110. "required" : [ "code", "message" ],
  56111. "type" : "object",
  56112. "properties" : {
  56113. "code" : {
  56114. "type" : "string",
  56115. "description" : "错误码",
  56116. "enum" : [ "ORDER_NOT_EXIST", "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_ORDER_PERMISSION" ]
  56117. },
  56118. "links" : {
  56119. "type" : "string",
  56120. "description" : "解决方案链接"
  56121. },
  56122. "message" : {
  56123. "type" : "string",
  56124. "description" : "错误描述"
  56125. }
  56126. }
  56127. },
  56128. "AlipayFundTransCommonQueryResponseModel" : {
  56129. "type" : "object",
  56130. "properties" : {
  56131. "arrival_time_end" : {
  56132. "type" : "string",
  56133. "description" : "预计到账时间,转账到银行卡专用,格式为yyyy-MM-dd HH:mm:ss,转账受理失败不返回。\r\t注意:\r\t此参数为预计时间,可能与实际到账时间有较大误差,不能作为实际到账时间使用,仅供参考用途。",
  56134. "example" : "2013-01-01 08:08:08"
  56135. },
  56136. "deduct_bill_info" : {
  56137. "type" : "string",
  56138. "description" : "商户查询代扣订单信息时返回其在代扣请求中传入的账单属性",
  56139. "example" : "{\"bizDesc\":\"代扣账单属性\",\"bizNos\":\"M{529316162343612472}\",\"billSource\":\"账房\",\"bizOrigNo\":\"529316162343612472\",\"reqSystem\":\"PointCenter\"}"
  56140. },
  56141. "error_code" : {
  56142. "type" : "string",
  56143. "description" : "查询到的订单状态为FAIL失败或REFUND退票时,返回错误代码",
  56144. "example" : "PAYEE_CARD_INFO_ERROR"
  56145. },
  56146. "fail_reason" : {
  56147. "type" : "string",
  56148. "description" : "查询到的订单状态为FAIL失败或REFUND退票时,返回具体的原因。",
  56149. "example" : "收款方银行卡信息有误"
  56150. },
  56151. "order_fee" : {
  56152. "type" : "string",
  56153. "description" : "预计收费金额(元),转账到银行卡专用,数字格式,精确到小数点后2位,转账失败或转账受理失败不返回。",
  56154. "example" : "0.02"
  56155. },
  56156. "order_id" : {
  56157. "type" : "string",
  56158. "description" : "支付宝转账单据号,查询失败不返回。",
  56159. "example" : "20190801110070000006380000250621"
  56160. },
  56161. "out_biz_no" : {
  56162. "type" : "string",
  56163. "description" : "商户订单号",
  56164. "example" : "201808080001"
  56165. },
  56166. "passback_params" : {
  56167. "type" : "string",
  56168. "description" : "商户回传参数",
  56169. "example" : "{\"merchantBizType\":\"peerPay\"}"
  56170. },
  56171. "pay_date" : {
  56172. "type" : "string",
  56173. "description" : "支付时间,格式为yyyy-MM-dd HH:mm:ss,转账失败不返回。",
  56174. "example" : "2013-01-01 08:08:08"
  56175. },
  56176. "pay_fund_order_id" : {
  56177. "type" : "string",
  56178. "description" : "支付宝支付资金流水号,转账失败不返回。",
  56179. "example" : "20190801110070001506380000251556"
  56180. },
  56181. "status" : {
  56182. "type" : "string",
  56183. "description" : "转账单据状态。可能出现的状态如下: SUCCESS:转账成功; WAIT_PAY:等待支付; CLOSED:订单超时关闭; FAIL:失败(适用于\"单笔转账到银行卡\"); DEALING:处理中(适用于\"单笔转账到银行卡\"); REFUND:退票(适用于\"单笔转账到银行卡\"); alipay.fund.trans.app.pay涉及的状态: WAIT_PAY、SUCCESS、CLOSED alipay.fund.trans.refund涉及的状态:SUCCESS alipay.fund.trans.uni.transfer涉及的状态:SUCCESS、FAIL、DEALING、REFUND",
  56184. "example" : "SUCCESS"
  56185. },
  56186. "sub_order_error_code" : {
  56187. "type" : "string",
  56188. "description" : "特殊场景提供,当子单出现异常导致主单失败或者退款时,会提供此字段,用于透出子单具体的错误场景",
  56189. "example" : "MID_ACCOUNT_CARD_INFO_ERROR"
  56190. },
  56191. "sub_order_fail_reason" : {
  56192. "type" : "string",
  56193. "description" : "特殊场景提供,当子单出现异常导致主单失败或者退款时,会提供此字段,用于透出子单具体的错误场景",
  56194. "example" : "收款方银行卡信息有误"
  56195. },
  56196. "sub_order_status" : {
  56197. "type" : "string",
  56198. "description" : "退款子单失败状态",
  56199. "example" : "FAIL"
  56200. },
  56201. "trans_amount" : {
  56202. "type" : "string",
  56203. "description" : "付款金额,收银台场景下付款成功后的支付金额,订单状态为SUCCESS才返回,其他状态不返回。",
  56204. "example" : "付款金额,单位为元,精确到小数点后两位:32.00"
  56205. },
  56206. "transfer_bill_info" : {
  56207. "type" : "string",
  56208. "description" : "商户在查询代发订单信息时返回其在代发请求中传入的账单属性。",
  56209. "example" : "{\"bizDesc\":\"代扣账单属性\",\"bizNos\":\"M{529316162343612472}\",\"billSource\":\"账房\",\"bizOrigNo\":\"529316162343612472\",\"reqSystem\":\"PointCenter\"}"
  56210. }
  56211. }
  56212. },
  56213. "AlipayFundTransOrderQueryErrorResponseModel" : {
  56214. "required" : [ "code", "message" ],
  56215. "type" : "object",
  56216. "properties" : {
  56217. "code" : {
  56218. "type" : "string",
  56219. "description" : "错误码",
  56220. "enum" : [ "ORDER_NOT_EXIST", "NO_ORDER_PERMISSION", "INVALID_PARAMETER", "ILLEGAL_ACCOUNT_STATUS_EXCEPTION", "SYSTEM_ERROR", "ORDER_ID_INVALID" ]
  56221. },
  56222. "links" : {
  56223. "type" : "string",
  56224. "description" : "解决方案链接"
  56225. },
  56226. "message" : {
  56227. "type" : "string",
  56228. "description" : "错误描述"
  56229. }
  56230. }
  56231. },
  56232. "AlipayFundTransOrderQueryResponseModel" : {
  56233. "type" : "object",
  56234. "properties" : {
  56235. "arrival_time_end" : {
  56236. "type" : "string",
  56237. "description" : "预计到账时间,转账到银行卡专用,格式为yyyy-MM-dd HH:mm:ss,转账受理失败不返回。\r\t 注意:\r\t此参数为预计时间,可能与实际到账时间有较大误差,不能作为实际到账时间使用,仅供参考用途。",
  56238. "example" : "2013-01-01 08:08:08"
  56239. },
  56240. "error_code" : {
  56241. "type" : "string",
  56242. "description" : "查询失败时,本参数为错误代 码。\r\t 查询成功不返回。 对于退票订单,不返回该参数。",
  56243. "example" : "EXCEED_LIMIT_SM_AMOUNT"
  56244. },
  56245. "fail_reason" : {
  56246. "type" : "string",
  56247. "description" : "查询到的订单状态为FAIL失败或REFUND退票时,返回具体的原因。",
  56248. "example" : "单笔额度超限"
  56249. },
  56250. "order_fee" : {
  56251. "type" : "string",
  56252. "description" : "预计收费金额(元),转账到银行卡专用,数字格式,精确到小数点后2位,转账失败或转账受理失败不返回。",
  56253. "example" : "0.02"
  56254. },
  56255. "order_id" : {
  56256. "type" : "string",
  56257. "description" : "支付宝转账单据号,查询失败不返回。",
  56258. "example" : "20181225110070001502260000212207"
  56259. },
  56260. "out_biz_no" : {
  56261. "type" : "string",
  56262. "description" : "发起转账来源方定义的转账单据号。 \r\t该参数的赋值均以查询结果中 的 out_biz_no 为准。 \r\t如果查询失败,不返回该参数。",
  56263. "example" : "3142321423432"
  56264. },
  56265. "pay_date" : {
  56266. "type" : "string",
  56267. "description" : "支付时间,格式为yyyy-MM-dd HH:mm:ss,转账失败不返回。",
  56268. "example" : "2013-01-01 08:08:08"
  56269. },
  56270. "status" : {
  56271. "type" : "string",
  56272. "description" : "转账单据状态。\r\t\tSUCCESS:成功(配合\"单笔转账到银行账户接口\"产品使用时, 同一笔单据多次查询有可能从成功变成退票状态);\r\t\tFAIL:失败(具体失败原因请参见error_code以及fail_reason返回值);\r\t\tINIT:等待处理;\r\t\tDEALING:处理中;\r\t\tREFUND:退票(仅配合\"单笔转账到银行账户接口\"产品使用时会涉及, 具体退票原因请参见fail_reason返回值);\r\t\tUNKNOWN:状态未知。",
  56273. "example" : "SUCCESS"
  56274. }
  56275. }
  56276. },
  56277. "AlipayFundTransPayErrorResponseModel" : {
  56278. "required" : [ "code", "message" ],
  56279. "type" : "object",
  56280. "properties" : {
  56281. "code" : {
  56282. "type" : "string",
  56283. "description" : "错误码",
  56284. "enum" : [ "PRODUCT_NOT_SIGN", "NO_PERMISSION_ACCOUNT", "PAYMENT_TIME_EXPIRE", "PAYER_USERINFO_NOT_EXSIT", "PAYER_NOT_RELNAME_CERTIFY", "PAYER_NOT_EXIST", "PAYEE_NOT_EXIST", "PAYER_STATUS_ERROR", "PAYEE_ACCOUNT_STATUS_ERROR", "NO_ACCOUNT_RECEIVE_PERMISSION", "MEMO_REQUIRED_IN_TRANSFER_ERROR", "SYSTEM_ERROR", "PERMIT_NON_BANK_LIMIT_PAYEE", "PAYER_PAYEE_CANNOT_SAME", "REMARK_HAS_SENSITIVE_WORD", "PAYEE_ACCOUNT_NOT_EXSIT", "TRUSTEESHIP_RECIEVE_QUOTA_LIMIT", "EXCEED_LIMIT_SM_AMOUNT", "EXCEED_LIMIT_DM_AMOUNT", "REFUND_TIME_INVALID", "AUTH_CODE_ERROR", "PAYMENT_TIME_INVALID", "INVALID_PARAMETER", "MONEY_PAY_CLOSED", "USER_BALANCE_NOT_ENOUGH", "USER_BANKCARD_BALANCE_NOT_ENOUGH", "SECURITY_CHECK_FAILED", "PERMIT_CHECK_FAIL", "ORDER_PAY_SUCCESS", "NO_AVAILABLE_PAYMENT_TOOLS", "PAYMENT_INFO_INCONSISTENCY", "ORDER_STATUS_INVALID", "ORDER_PAY_SUCCESS_PAYEE_ERROR", "UNKNOWN_ERROR", "USER_BLOCKED", "ORDER_OTHER_PAY_SUCCESS", "TRUSTEESHIP_ACCOUNT_NOT_EXIST", "NO_ACCOUNT_PAYMENT_PERMISSION", "PAYMENT_FAIL", "AUTHOREE_IS_NOT_MATCH", "USER_AGREEMENT_STATUS_ABNORMAL", "USER_AGREEMENT_IS_OUT_OF_DATE", "USER_AGREEMENT_VERIFY_FAIL", "MERCHANT_AGREEMENT_VERIFY_FAIL", "RESOURCE_LIMIT_EXCEED", "INVALID_PAYEE_ACCOUNT", "PAYER_IS_NOT_SAME_PAYEE", "ILLEGAL_REQUEST_USER_ID", "FREEZE_AMOUNT_IS_NOT_ENOUGH", "AGREEMENT_SCENE_VERIFY_FAIL", "AUTH_USERID_IS_NOT_MATCH", "RELEASE_USER_FORBBIDEN_RECIEVE", "AMOUNT_COMPARE_INCONSISTENCY", "PAYEE_USERINFO_STATUS_ERROR", "PAYER_BALANCE_NOT_ENOUGH", "BIZ_UNIQUE_EXCEPTION", "BLOCK_USER_FORBBIDEN_RECIEVE", "NO_ACCOUNT_USER_FORBBIDEN_RECIEVE", "SUB_BIZ_SCENE_ERROR", "PAYER_NOT_ADMIT_ERROR", "PAYEE_CARD_INFO_ERROR", "PERM_AML_NOT_REALNAME_REV", "EXCEED_LIMIT_MM_AMOUNT", "CARD_BIN_ERROR", "INST_PAY_UNABLE", "PERMIT_CHECK_PERM_IDENTITY_THEFT", "BALANCE_IS_NOT_ENOUGH", "INVALID_CARDNO", "PAYEE_TRUSTEESHIP_ACC_OVER_LIMIT", "EXCEED_LIMIT_DC_RECEIVED", "PAYER_PERMLIMIT_CHECK_FAILURE", "PAYEE_ACC_OCUPIED", "PERMIT_CHECK_PERM_LIMITED", "EXCEED_LIMIT_DM_MAX_AMOUNT", "EXCEED_LIMIT_PERSONAL_SM_AMOUNT", "EXCEED_LIMIT_UNRN_DM_AMOUNT", "PAYEE_USER_TYPE_ERROR", "EXCEED_LIMIT_SM_MIN_AMOUNT", "PERMIT_CHECK_RECEIVE_LIMIT", "PAYEE_NOT_RELNAME_CERTIFY", "BANK_CARD_BALANCE_NOT_ENOUGH", "MAX_VISIT_LIMIT", "COMMON_RPC_ERROR", "MONTH_LIMIT_EXCEED", "DAILY_LIMIT_EXCEED", "PERM_RECEIVE_CUSTOMER_ALMS_LIMIT" ]
  56285. },
  56286. "links" : {
  56287. "type" : "string",
  56288. "description" : "解决方案链接"
  56289. },
  56290. "message" : {
  56291. "type" : "string",
  56292. "description" : "错误描述"
  56293. }
  56294. }
  56295. },
  56296. "AlipayFundTransPayModel" : {
  56297. "type" : "object",
  56298. "properties" : {
  56299. "auth_info" : {
  56300. "$ref" : "#/components/schemas/AuthInfo"
  56301. },
  56302. "biz_scene" : {
  56303. "type" : "string",
  56304. "description" : "业务场景,比如群收款、红包等",
  56305. "example" : "PARTY_MEMBERSHIP_DUES"
  56306. },
  56307. "business_params" : {
  56308. "type" : "string",
  56309. "description" : "JSON格式,传递业务扩展参数,使用前请与支付宝工程师联系!",
  56310. "example" : "{\"MERCHANT_PAYER_ID\":\"1234567890\",\"MERCHANT_PAYER_PHONE:\"15012341234\"}"
  56311. },
  56312. "order_title" : {
  56313. "type" : "string",
  56314. "description" : "订单的标题,用于在收银台和消费记录展示",
  56315. "example" : "钉钉红包"
  56316. },
  56317. "out_biz_no" : {
  56318. "type" : "string",
  56319. "description" : "商户端的唯一订单号,对于同一笔转账请求,商户需保证该订单号唯一。",
  56320. "example" : "201806300001"
  56321. },
  56322. "passback_params" : {
  56323. "type" : "string",
  56324. "description" : "回传参数,如果请求时传递了该参数,则异步通知商户时会回传该参数。",
  56325. "example" : "{\"merchantBizType\":\"peerPay\"}"
  56326. },
  56327. "payee_info" : {
  56328. "$ref" : "#/components/schemas/Participant"
  56329. },
  56330. "payer_info" : {
  56331. "$ref" : "#/components/schemas/Participant"
  56332. },
  56333. "product_code" : {
  56334. "type" : "string",
  56335. "description" : "销售产品码,商家和支付宝签约的产品码",
  56336. "example" : "STD_APP_TRANSFER"
  56337. },
  56338. "refund_time_expire" : {
  56339. "type" : "string",
  56340. "description" : "退款超时时间,格式yyyy-MM-dd HH:mm。到指定时间后,系统会自动触发退款,并原路退回到付款账户。如果指定了退款时间,必须早于销售方案里设置的最晚退款时间。",
  56341. "example" : "2018-11-08 10:00"
  56342. },
  56343. "remark" : {
  56344. "type" : "string",
  56345. "description" : "备注",
  56346. "example" : "报销付款"
  56347. },
  56348. "time_expire" : {
  56349. "type" : "string",
  56350. "description" : "绝对超时时间,格式为yyyy-MM-dd HH:mm",
  56351. "example" : "2018-03-23 19:15"
  56352. },
  56353. "trans_amount" : {
  56354. "type" : "string",
  56355. "description" : "订单总金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]",
  56356. "example" : "8.88"
  56357. }
  56358. }
  56359. },
  56360. "AlipayFundTransPayResponseModel" : {
  56361. "type" : "object",
  56362. "properties" : {
  56363. "order_id" : {
  56364. "type" : "string",
  56365. "description" : "该笔转账在支付宝系统内部的单据ID",
  56366. "example" : "20180629110070001502040007320562"
  56367. },
  56368. "out_biz_no" : {
  56369. "type" : "string",
  56370. "description" : "商户端的唯一订单号",
  56371. "example" : "201806300001"
  56372. },
  56373. "pay_fund_order_id" : {
  56374. "type" : "string",
  56375. "description" : "支付宝支付资金流水号",
  56376. "example" : "20190801110070001506380000251556"
  56377. },
  56378. "status" : {
  56379. "type" : "string",
  56380. "description" : "SUCCESS:支付成功;\r\tFAIL:支付失败;\r\tUNKNOWN:未知;建议通过查询确认最新状态",
  56381. "example" : "SUCCESS"
  56382. },
  56383. "trans_pay_time" : {
  56384. "type" : "string",
  56385. "description" : "订单支付时间,格式为yyyy-MM-dd HH:mm:ss",
  56386. "example" : "2019-08-21 00:00:00"
  56387. }
  56388. }
  56389. },
  56390. "AlipayFundTransPayeeBindQueryErrorResponseModel" : {
  56391. "required" : [ "code", "message" ],
  56392. "type" : "object",
  56393. "properties" : {
  56394. "code" : {
  56395. "type" : "string",
  56396. "description" : "错误码",
  56397. "enum" : [ "NOT_IN_WHITE_LIST", "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  56398. },
  56399. "links" : {
  56400. "type" : "string",
  56401. "description" : "解决方案链接"
  56402. },
  56403. "message" : {
  56404. "type" : "string",
  56405. "description" : "错误描述"
  56406. }
  56407. }
  56408. },
  56409. "AlipayFundTransPayeeBindQueryResponseModel" : {
  56410. "type" : "object",
  56411. "properties" : {
  56412. "bind" : {
  56413. "type" : "string",
  56414. "description" : "是否绑定收款账号。true:已绑定;false:未绑定",
  56415. "example" : "true"
  56416. }
  56417. }
  56418. },
  56419. "AlipayFundTransRefundErrorResponseModel" : {
  56420. "required" : [ "code", "message" ],
  56421. "type" : "object",
  56422. "properties" : {
  56423. "code" : {
  56424. "type" : "string",
  56425. "description" : "错误码",
  56426. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_ORDER_PERMISSION", "PRODUCT_NOT_ALLOW_REFUND", "ORDER_STATUS_ERROR", "REFUND_MONEY_NOT_ENOUGH", "REFUND_INFO_INCONSISTENCY", "ORDER_NOT_EXIST", "ORDER_STATUS_INVALID", "MAX_VISIT_LIMIT" ]
  56427. },
  56428. "links" : {
  56429. "type" : "string",
  56430. "description" : "解决方案链接"
  56431. },
  56432. "message" : {
  56433. "type" : "string",
  56434. "description" : "错误描述"
  56435. }
  56436. }
  56437. },
  56438. "AlipayFundTransRefundModel" : {
  56439. "type" : "object",
  56440. "properties" : {
  56441. "business_params" : {
  56442. "type" : "string",
  56443. "description" : "JSON格式,传递业务扩展参数,使用前请与支付宝工程师联系!",
  56444. "example" : "{\"MERCHANT_PAYER_ID\":\"1234567890\",\"MERCHANT_PAYER_PHONE:\"15012341234\"}"
  56445. },
  56446. "order_id" : {
  56447. "type" : "string",
  56448. "description" : "发红包时支付宝返回的支付宝订单号order_id。",
  56449. "example" : "20190703110075000006530004756875"
  56450. },
  56451. "out_request_no" : {
  56452. "type" : "string",
  56453. "description" : "标识一次资金退回请求,一笔资金退回失败后重新提交,要采用原来的资金退回单号。总退款金额不能超过用户实际支付金额。",
  56454. "example" : "2018999960760005838333"
  56455. },
  56456. "passback_params" : {
  56457. "type" : "string",
  56458. "description" : "公用回传参数,如果请求时传递了该参数,则异步通知商户时会回传该参数。",
  56459. "example" : "{\"merchantBizType\":\"peerPay\"}"
  56460. },
  56461. "refund_amount" : {
  56462. "type" : "string",
  56463. "description" : "需要退款的金额,该金额不能大于订单金额,单位为元,支持两位小数",
  56464. "example" : "8.88"
  56465. },
  56466. "remark" : {
  56467. "type" : "string",
  56468. "description" : "资金退回备注",
  56469. "example" : "红包超时退回"
  56470. }
  56471. }
  56472. },
  56473. "AlipayFundTransRefundResponseModel" : {
  56474. "type" : "object",
  56475. "properties" : {
  56476. "order_id" : {
  56477. "type" : "string",
  56478. "description" : "发红包时支付宝返回的支付宝订单号order_id。",
  56479. "example" : "20881030507841230156"
  56480. },
  56481. "out_request_no" : {
  56482. "type" : "string",
  56483. "description" : "标识一次资金退回请求,一笔资金退回失败后重新提交,要采用原来的资金退回单号。总退款金额不能超过用户实际支付金额。",
  56484. "example" : "2019063050784123"
  56485. },
  56486. "refund_amount" : {
  56487. "type" : "string",
  56488. "description" : "本次退款的金额,单位为元,支持两位小数",
  56489. "example" : "8.88"
  56490. },
  56491. "refund_date" : {
  56492. "type" : "string",
  56493. "description" : "退款资金退回",
  56494. "example" : "2019-01-01 08:08:08"
  56495. },
  56496. "refund_order_id" : {
  56497. "type" : "string",
  56498. "description" : "退款的支付宝系统内部单据id",
  56499. "example" : "2088000000300210312"
  56500. },
  56501. "status" : {
  56502. "type" : "string",
  56503. "description" : "SUCCESS:退款成功",
  56504. "example" : "SUCCESS"
  56505. }
  56506. }
  56507. },
  56508. "AlipayFundTransToaccountTransferErrorResponseModel" : {
  56509. "required" : [ "code", "message" ],
  56510. "type" : "object",
  56511. "properties" : {
  56512. "code" : {
  56513. "type" : "string",
  56514. "description" : "错误码",
  56515. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "EXCEED_LIMIT_SM_AMOUNT", "EXCEED_LIMIT_DM_AMOUNT", "PERMIT_CHECK_PERM_LIMITED", "PAYCARD_UNABLE_PAYMENT", "PAYEE_NOT_EXIST", "PAYER_DATA_INCOMPLETE", "PERM_AML_NOT_REALNAME_REV", "PAYER_STATUS_ERROR", "PAYEE_USER_INFO_ERROR", "PAYER_USER_INFO_ERROR", "PAYER_BALANCE_NOT_ENOUGH", "PAYMENT_INFO_INCONSISTENCY", "CERT_MISS_TRANS_LIMIT", "CERT_MISS_ACC_LIMIT", "PAYEE_ACC_OCUPIED", "MEMO_REQUIRED_IN_TRANSFER_ERROR", "PERMIT_NON_BANK_LIMIT_PAYEE", "PERMIT_PAYER_LOWEST_FORBIDDEN", "PERMIT_PAYER_FORBIDDEN", "PERMIT_CHECK_PERM_IDENTITY_THEFT", "REMARK_HAS_SENSITIVE_WORD", "ACCOUNT_NOT_EXIST", "PAYER_CERT_EXPIRED", "EXCEED_LIMIT_PERSONAL_SM_AMOUNT", "EXCEED_LIMIT_ENT_SM_AMOUNT", "EXCEED_LIMIT_SM_MIN_AMOUNT", "EXCEED_LIMIT_DM_MAX_AMOUNT", "EXCEED_LIMIT_UNRN_DM_AMOUNT", "PAYER_PAYEE_CANNOT_SAME", "SYNC_SECURITY_CHECK_FAILED", "MAX_VISIT_LIMIT", "RELEASE_USER_FORBBIDEN_RECIEVE", "PAYEE_USER_TYPE_ERROR", "BLOCK_USER_FORBBIDEN_RECIEVE", "REQUEST_PROCESSING", "EXCEED_LIMIT_MM_AMOUNT", "PERM_RECEIVE_CUSTOMER_ALMS_LIMIT", "PERM_PAY_CUSTOMER_MONTH_QUOTA_ORG_BALANCE_LIMIT" ]
  56516. },
  56517. "links" : {
  56518. "type" : "string",
  56519. "description" : "解决方案链接"
  56520. },
  56521. "message" : {
  56522. "type" : "string",
  56523. "description" : "错误描述"
  56524. }
  56525. }
  56526. },
  56527. "AlipayFundTransToaccountTransferModel" : {
  56528. "type" : "object",
  56529. "properties" : {
  56530. "amount" : {
  56531. "type" : "string",
  56532. "description" : "转账金额,单位:元。\r\t只支持2位小数,小数点前最大支持13位,金额必须大于等于0.1元。 \r\t最大转账金额以实际签约的限额为准。",
  56533. "example" : "12.23"
  56534. },
  56535. "ext_param" : {
  56536. "type" : "string",
  56537. "description" : "扩展参数,json字符串格式,目前仅支持的key=order_title,表示收款方的转账账单标题,value可以根据自己的业务定制。",
  56538. "example" : "{\"order_title\":\"兑奖红包\"}"
  56539. },
  56540. "out_biz_no" : {
  56541. "type" : "string",
  56542. "description" : "商户转账唯一订单号。发起转账来源方定义的转账单据ID,用于将转账回执通知给来源方。\r\t不同来源方给出的ID可以重复,同一个来源方必须保证其ID的唯一性。\r\t只支持半角英文、数字,及“-”、“_”。",
  56543. "example" : "3142321423432"
  56544. },
  56545. "payee_account" : {
  56546. "type" : "string",
  56547. "description" : "收款方账户。与payee_type配合使用。付款方和收款方不能是同一个账户。",
  56548. "example" : "abc@sina.com"
  56549. },
  56550. "payee_real_name" : {
  56551. "type" : "string",
  56552. "description" : "收款方真实姓名(最长支持100个英文/50个汉字)。\r\t如果本参数不为空,则会校验该账户在支付宝登记的实名是否与收款方真实姓名一致。",
  56553. "example" : "张三"
  56554. },
  56555. "payee_type" : {
  56556. "type" : "string",
  56557. "description" : "收款方账户类型。可取值:\t1、ALIPAY_USERID:支付宝账号对应的支付宝唯一用户号。以2088开头的16位纯数字组成。\t2、ALIPAY_LOGONID:支付宝登录号,支持邮箱和手机号格式。\t2、ALIPAY_OPENID:支付宝openid",
  56558. "example" : "ALIPAY_LOGONID"
  56559. },
  56560. "payer_real_name" : {
  56561. "type" : "string",
  56562. "description" : "付款方真实姓名(最长支持100个英文/50个汉字)。\r\t如果本参数不为空,则会校验该账户在支付宝登记的实名是否与付款方真实姓名一致。",
  56563. "example" : "上海交通卡公司"
  56564. },
  56565. "payer_show_name" : {
  56566. "type" : "string",
  56567. "description" : "付款方姓名(最长支持100个英文/50个汉字)。显示在收款方的账单详情页。如果该字段不传,则默认显示付款方的支付宝认证姓名或单位名称。",
  56568. "example" : "上海交通卡退款"
  56569. },
  56570. "remark" : {
  56571. "type" : "string",
  56572. "description" : "转账备注(支持200个英文/100个汉字)。\r\t当付款方为企业账户,且转账金额达到(大于等于)50000元,remark不能为空。收款方可见,会展示在收款用户的收支详情中。",
  56573. "example" : "转账备注"
  56574. }
  56575. }
  56576. },
  56577. "AlipayFundTransToaccountTransferResponseModel" : {
  56578. "type" : "object",
  56579. "properties" : {
  56580. "order_id" : {
  56581. "type" : "string",
  56582. "description" : "支付宝转账单据号,成功一定返回,失败可能不返回也可能返回。",
  56583. "example" : "20160627110070001502260006780837"
  56584. },
  56585. "out_biz_no" : {
  56586. "type" : "string",
  56587. "description" : "商户转账唯一订单号:发起转账来源方定义的转账单据号。请求时对应的参数,原样返回。",
  56588. "example" : "3142321423432"
  56589. },
  56590. "pay_date" : {
  56591. "type" : "string",
  56592. "description" : "支付时间:格式为yyyy-MM-dd HH:mm:ss,仅转账成功返回。",
  56593. "example" : "2013-01-01 08:08:08"
  56594. }
  56595. }
  56596. },
  56597. "AlipayFundTransUniTransferErrorResponseModel" : {
  56598. "required" : [ "code", "message" ],
  56599. "type" : "object",
  56600. "properties" : {
  56601. "code" : {
  56602. "type" : "string",
  56603. "description" : "错误码",
  56604. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "EXCEED_LIMIT_SM_AMOUNT", "EXCEED_LIMIT_MM_AMOUNT", "PAYCARD_UNABLE_PAYMENT", "PAYER_STATUS_ERROR", "PAYER_CERTIFY_CHECK_FAIL", "PAYER_BALANCE_NOT_ENOUGH", "PAYER_USER_INFO_ERROR", "PAYMENT_INFO_INCONSISTENCY", "CARD_BIN_ERROR", "PAYEE_CARD_INFO_ERROR", "INST_PAY_UNABLE", "MEMO_REQUIRED_IN_TRANSFER_ERROR", "PERMIT_CHECK_PERM_IDENTITY_THEFT", "REMARK_HAS_SENSITIVE_WORD", "EXCEED_LIMIT_DM_AMOUNT", "NO_ACCOUNT_RECEIVE_PERMISSION", "BALANCE_IS_NOT_ENOUGH", "NO_ACCOUNT_PAYMENT_PERMISSION", "PAYER_NOT_EXIST", "PRODUCT_NOT_SIGN", "PAYMENT_TIME_EXPIRE", "PAYEE_NOT_EXIST", "PAYEE_ACCOUNT_STATUS_ERROR", "PERMIT_NON_BANK_LIMIT_PAYEE", "PAYEE_TRUSTEESHIP_ACC_OVER_LIMIT", "NO_PERMISSION_ACCOUNT", "TRUSTEESHIP_ACCOUNT_NOT_EXIST", "PAYEE_ACCOUNT_NOT_EXSIT", "ORDER_NOT_EXIST", "PAYEE_USERINFO_STATUS_ERROR", "PAYMENT_MONEY_NOT_ENOUGH", "TRUSTEESHIP_RECIEVE_QUOTA_LIMIT", "SECURITY_CHECK_FAILED", "NO_ORDER_PERMISSION", "ORDER_STATUS_INVALID", "PERM_AML_NOT_REALNAME_REV", "USER_AGREEMENT_VERIFY_FAIL", "PAYER_NOT_EQUAL_PAYEE_ERROR", "EXCEED_LIMIT_DC_RECEIVED", "PAYER_PERMLIMIT_CHECK_FAILURE", "PAYEE_ACC_OCUPIED", "PAYER_PAYEE_CANNOT_SAME", "PERMIT_CHECK_PERM_LIMITED", "RESOURCE_LIMIT_EXCEED", "INVALID_PAYER_ACCOUNT", "EXCEED_LIMIT_DM_MAX_AMOUNT", "EXCEED_LIMIT_PERSONAL_SM_AMOUNT", "EXCEED_LIMIT_UNRN_DM_AMOUNT", "INVALID_CARDNO", "RELEASE_USER_FORBBIDEN_RECIEVE", "PAYEE_USER_TYPE_ERROR", "EXCEED_LIMIT_SM_MIN_AMOUNT", "PERMIT_CHECK_RECEIVE_LIMIT", "NOT_IN_WHITE_LIST", "MONEY_PAY_CLOSED", "NO_AVAILABLE_PAYMENT_TOOLS", "PAYEE_NOT_RELNAME_CERTIFY", "OVERSEA_TRANSFER_CLOSE", "PAYMENT_FAIL", "ALREADY_WITHDRAW_STD_RED_PACKET", "BLOCK_USER_FORBBIDEN_RECIEVE", "REQUEST_PROCESSING", "USER_NOT_EXIST", "PARAM_ILLEGAL", "PROCESS_FAIL", "CURRENCY_NOT_SUPPORT", "PAYER_REQUESTER_RELATION_INVALID", "AUTHOREE_IS_NOT_MATCH", "NO_ACCOUNT_USER_FORBBIDEN_RECIEVE", "SIGN_INVALID", "SIGN_INVOKE_PID_INCONSISTENT", "SIGN_QUERY_APP_INFO_ERROR", "SIGN_QUERY_AGGREMENT_ERROR", "SIGN_AGREEMENT_NO_INCONSISTENT", "SIGN_PARAM_INVALID", "SIGN_NOT_ALLOW_SKIP", "EXCEED_LIMIT_ENT_SM_AMOUNT", "ISV_AUTH_ERROR", "PAYER_USERINFO_NOT_EXSIT", "BLOCK_USER_FORBBIDEN_SEND", "BANK_RESPONSE_ERROR", "BIZ_UNIQUE_EXCEPTION", "NO_ACCOUNTBOOK_PERMISSION", "PERMIT_CHECK_PERM_AML_CERT_EXPIRED", "MRCHPROD_QUERY_ERROR", "PERMIT_PAYER_FORBIDDEN", "IDENTITY_FUND_RELATION_NOT_FOUND", "INST_PAY_REMARK_UNVALID_CHARS", "PERMIT_LIMIT_PAYEE", "INVALID_TAX_BILL_AGREEMENT", "PAY_SALARY_MODE_NOT_SUPPORT", "CONTRACTOR_ACCOUNT_BOOK_NOT_FUND", "BANKCODE_OR_BRANCHNAME_INFO_ERROR", "PAYEE_OUT_PERMLIMIT_CHECK_FAILURE", "MID_ACCOUNT_STATUS_ERROR", "MID_ACCOUNT_TYPE_ERROR", "PAYEE_MID_CANNOT_SAME", "PAYER_MID_CANNOT_SAME", "MID_ACCOUNT_CHECK_ERROR", "PERM_PAY_USER_DAILY_QUOTA_ORG_BALANCE_LIMIT", "PERM_PAY_USER_MONTH_QUOTA_ORG_BALANCE_LIMIT", "PERM_PAY_CUSTOMER_DAILY_QUOTA_ORG_BALANCE_LIMIT", "PERM_PAY_CUSTOMER_MONTH_QUOTA_ORG_BALANCE_LIMIT", "NOT_SUPPORT_PAYER_ACCOUNT_TYPE", "EXCEED_LIMIT_MM_MAX_AMOUNT", "REP_INCONSISTENT", "ILLEGAL_OPERATION", "PERM_RECEIVE_CUSTOMER_ALMS_LIMIT", "PAYEE_IDENTITY_NOT_MATCH", "FLEXIBLE_STAFFING_RISK_CONSULT_UNSIGNED_MERCHANT", "FLEXIBLE_STAFFING_RISK_CONSULT_UNAUTHORIZED_CONSULT", "FLEXIBLE_STAFFING_RISK_CONSULT_USER_NOT_EXIST", "FLEXIBLE_STAFFING_RISK_CONSULT_RISK_RECEIVER", "PAYEE_USERINFO_ERROR", "FLEXIBLE_STAFFING_HIGH_RISK_RECEIVER", "FLEXIBLE_STAFFING_POTENTIAL_RISK_RECEIVER", "PAYER_ACCOUNT_BOOK_INFO_EXCEPTION", "RECEIVER_ACCOUNT_BOOK_INFO_EXCEPTION", "ACCOUNT_BOOK_SCENE_CODE_EXCEPTION", "TRUSTEESHIP_ACCOUNT_STATUS_ERROR", "PAYER_NOT_EQUAL_PAYEE_FOR_BIZ_SCENE_REQUIRED", "PERMIT_PAYER_LEVEL_FORBIDDEN", "FLEXIBLE_STAFFING_UN_KNOWN_RISK_RECEIVER", "JUDICIAL_FREEZE", "TRANS_AMOUNT_NOT_IN_PRIZE_LIMIT", "PROMO_CAMP_RELATION_CONFIG_MISSED", "PAYEE_RECEIVE_COUNT_EXCEED_LIMIT", "PROMO_TRANS_ORDER_DEALING", "FUND_PROTITOPN_NOT_MATCH", "FUND_WALLET_INST_NOT_EXIST", "FUND_WALLET_UNAVAILABLE", "PARTITION_FORMAT_ERROR", "CURREBT_AFTER_INVALID_TIME", "UNAUTHORIZED_CONSULT", "TAX_BILL_AGREEMENT_MISS", "FORBID_OPERATION_USER_WALLET", "USER_RISK_FREEZE", "BALANCE_NOT_ENOUGH_FOR_CARD_FEE", "TRANS_ORDER_DEALING", "PAYEE_USER_IS_INST", "PAYER_NOT_RELNAME_CERTIFY", "BALANCE_NOT_ENOUGH", "EMPLOYEE_SERVICE_NOT_EXIST", "UN_SUPPORT_EMPLOYEE_SERVICE" ]
  56605. },
  56606. "links" : {
  56607. "type" : "string",
  56608. "description" : "解决方案链接"
  56609. },
  56610. "message" : {
  56611. "type" : "string",
  56612. "description" : "错误描述"
  56613. }
  56614. }
  56615. },
  56616. "AlipayFundTransUniTransferModel" : {
  56617. "type" : "object",
  56618. "properties" : {
  56619. "biz_scene" : {
  56620. "type" : "string",
  56621. "description" : "描述特定的业务场景,可传的参数如下:\tDIRECT_TRANSFER:单笔无密转账到支付宝,B2C现金红包;\tPERSONAL_COLLECTION:C2C现金红包-领红包",
  56622. "example" : "DIRECT_TRANSFER"
  56623. },
  56624. "business_params" : {
  56625. "type" : "string",
  56626. "description" : "转账业务请求的扩展参数,支持传入的扩展参数如下:\tsub_biz_scene 子业务场景,红包业务必传,取值REDPACKET,C2C现金红包、B2C现金红包均需传入",
  56627. "example" : "{\"sub_biz_scene\":\"REDPACKET\"}"
  56628. },
  56629. "mutiple_currency_detail" : {
  56630. "$ref" : "#/components/schemas/MutipleCurrencyDetail"
  56631. },
  56632. "order_title" : {
  56633. "type" : "string",
  56634. "description" : "转账业务的标题,用于在支付宝用户的账单里显示",
  56635. "example" : "转账标题"
  56636. },
  56637. "original_order_id" : {
  56638. "type" : "string",
  56639. "description" : "原支付宝业务单号。C2C现金红包-红包领取时,传红包支付时返回的支付宝单号;B2C现金红包、单笔无密转账到支付宝不需要该参数。",
  56640. "example" : "20190620110075000006640000063056"
  56641. },
  56642. "out_biz_no" : {
  56643. "type" : "string",
  56644. "description" : "商家侧唯一订单号,由商家自定义。对于不同转账请求,商家需保证该订单号在自身系统唯一。",
  56645. "example" : "201806300001"
  56646. },
  56647. "passback_params" : {
  56648. "type" : "string",
  56649. "description" : "公用回传参数,如果请求时传递了该参数,则异步通知商户时会回传该参数。",
  56650. "example" : "{\"merchantBizType\":\"peerPay\"}"
  56651. },
  56652. "payee_info" : {
  56653. "$ref" : "#/components/schemas/Participant"
  56654. },
  56655. "payer_info" : {
  56656. "$ref" : "#/components/schemas/Participant"
  56657. },
  56658. "product_code" : {
  56659. "type" : "string",
  56660. "description" : "业务产品码,\t单笔无密转账到支付宝账户固定为:\tTRANS_ACCOUNT_NO_PWD;\t收发现金红包固定为:\tSTD_RED_PACKET;",
  56661. "example" : "TRANS_ACCOUNT_NO_PWD"
  56662. },
  56663. "remark" : {
  56664. "type" : "string",
  56665. "description" : "业务备注",
  56666. "example" : "单笔转账"
  56667. },
  56668. "sign_data" : {
  56669. "$ref" : "#/components/schemas/SignData"
  56670. },
  56671. "trans_amount" : {
  56672. "type" : "string",
  56673. "description" : "订单总金额,单位为元,精确到小数点后两位,STD_RED_PACKET产品取值范围[0.01,100000000];\tTRANS_ACCOUNT_NO_PWD产品取值范围[0.1,100000000]",
  56674. "example" : "23.00"
  56675. }
  56676. }
  56677. },
  56678. "AlipayFundTransUniTransferResponseModel" : {
  56679. "type" : "object",
  56680. "properties" : {
  56681. "order_id" : {
  56682. "type" : "string",
  56683. "description" : "支付宝转账订单号",
  56684. "example" : "20190801110070000006380000250621"
  56685. },
  56686. "out_biz_no" : {
  56687. "type" : "string",
  56688. "description" : "商户订单号",
  56689. "example" : "201808080001"
  56690. },
  56691. "pay_fund_order_id" : {
  56692. "type" : "string",
  56693. "description" : "支付宝支付资金流水号",
  56694. "example" : "20190801110070001506380000251556"
  56695. },
  56696. "status" : {
  56697. "type" : "string",
  56698. "description" : "转账单据状态。\tSUCCESS(该笔转账交易成功):成功;\tFAIL:失败(具体失败原因请参见error_code以及fail_reason返回值);\tDEALING:处理中(转账到支付宝账户不涉及);\tREFUND:退票(转账到支付宝账户不涉及);",
  56699. "example" : "SUCCESS"
  56700. },
  56701. "trans_date" : {
  56702. "type" : "string",
  56703. "description" : "订单支付时间,格式为yyyy-MM-dd HH:mm:ss",
  56704. "example" : "2019-08-21 00:00:00"
  56705. }
  56706. }
  56707. },
  56708. "AlipayFundUsertradeBatchqueryErrorResponseModel" : {
  56709. "required" : [ "code", "message" ],
  56710. "type" : "object",
  56711. "properties" : {
  56712. "code" : {
  56713. "type" : "string",
  56714. "description" : "错误码",
  56715. "enum" : [ "INNER_RPC_INVOKE_FAIL", "USER_UNAUTHORIZED", "CONFIG_ERROR", "MAX_VISIT_LIMIT", "AOP_SERVICE_UNAVAILABLE", "USER_INFO_VALIDATE_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  56716. },
  56717. "links" : {
  56718. "type" : "string",
  56719. "description" : "解决方案链接"
  56720. },
  56721. "message" : {
  56722. "type" : "string",
  56723. "description" : "错误描述"
  56724. }
  56725. }
  56726. },
  56727. "AlipayFundUsertradeBatchqueryModel" : {
  56728. "type" : "object",
  56729. "properties" : {
  56730. "biz_scene" : {
  56731. "type" : "string",
  56732. "description" : "查询交易数据场景码",
  56733. "example" : "BRAND_MARKET_PROMOTION"
  56734. },
  56735. "end_time" : {
  56736. "type" : "string",
  56737. "description" : "拉取的结算时间,格式yyyy-MM-dd HH:mm:ss,拉取逻辑包含该时刻。",
  56738. "example" : "2022-02-11 00:00:00"
  56739. },
  56740. "page_index" : {
  56741. "type" : "string",
  56742. "description" : "分页页码,从1开始,必须大于0",
  56743. "example" : "1"
  56744. },
  56745. "page_size" : {
  56746. "type" : "string",
  56747. "description" : "分页大小,必须大于0,最大设置100",
  56748. "example" : "100"
  56749. },
  56750. "product_code" : {
  56751. "type" : "string",
  56752. "description" : "查询交易数据产品码",
  56753. "example" : "MARKET_PROMOTION"
  56754. },
  56755. "start_time" : {
  56756. "type" : "string",
  56757. "description" : "拉取的起始时间,格式yyyy-MM-dd HH:mm:ss,时间必须早于拉取的截止时间,并且,接口仅限查询用户30天内交易数据,拉取逻辑包含该时刻。",
  56758. "example" : "2022-02-10 00:00:00"
  56759. }
  56760. }
  56761. },
  56762. "AlipayFundUsertradeBatchqueryResponseModel" : {
  56763. "type" : "object",
  56764. "properties" : {
  56765. "end_time" : {
  56766. "type" : "string",
  56767. "description" : "拉取的结束时间,格式yyyy-MM-dd HH:mm:ss",
  56768. "example" : "2022-02-11 00:00:00"
  56769. },
  56770. "has_next" : {
  56771. "type" : "boolean",
  56772. "description" : "是否有下一页",
  56773. "example" : "true"
  56774. },
  56775. "page_index" : {
  56776. "type" : "string",
  56777. "description" : "入参中的分页页码",
  56778. "example" : "1"
  56779. },
  56780. "page_size" : {
  56781. "type" : "string",
  56782. "description" : "入参中的分页大小",
  56783. "example" : "100"
  56784. },
  56785. "start_time" : {
  56786. "type" : "string",
  56787. "description" : "拉取的起始时间,格式yyyy-MM-dd HH:mm:ss",
  56788. "example" : "2022-02-10 00:00:00"
  56789. },
  56790. "total_count" : {
  56791. "type" : "integer",
  56792. "description" : "交易时间区间内的总交易数",
  56793. "example" : "120"
  56794. },
  56795. "trade_info_list" : {
  56796. "type" : "array",
  56797. "description" : "用户交易数据",
  56798. "items" : {
  56799. "$ref" : "#/components/schemas/UserTradeInfoDTO"
  56800. }
  56801. }
  56802. }
  56803. },
  56804. "AlipayIserviceCcmAgentCreateErrorResponseModel" : {
  56805. "required" : [ "code", "message" ],
  56806. "type" : "object",
  56807. "properties" : {
  56808. "code" : {
  56809. "type" : "string",
  56810. "description" : "错误码",
  56811. "enum" : [ "INVALID_PARAMETER", "INTERNAL_ERROR", "TENENT_NOT_FOUND", "AGENT_CREATORID_IS_NULL", "AGENT_NICKNAME_IS_NULL", "AGENT_REALNAME_IS_NULL", "AGENT_JOBNUMBER_IS_NULL", "AGENT_USERCHANNEL_INVALID", "AGENT_EXTERNALUSERID_IS_NULL", "AGENT_ROLLIDS_IS_NULL", "AGENT_CCSINSTANCEIDS_IS_NULL", "INVALID_JOB_NUMBER", "DUPLICATE_JOB_NUMBER", "INVALID_HOTLINE_ANSWERING_MODE" ]
  56812. },
  56813. "links" : {
  56814. "type" : "string",
  56815. "description" : "解决方案链接"
  56816. },
  56817. "message" : {
  56818. "type" : "string",
  56819. "description" : "错误描述"
  56820. }
  56821. }
  56822. },
  56823. "AlipayIserviceCcmAgentCreateModel" : {
  56824. "type" : "object",
  56825. "properties" : {
  56826. "answering_mode" : {
  56827. "type" : "string",
  56828. "description" : "热线接入方式,取值0,1,2",
  56829. "example" : "0"
  56830. },
  56831. "ccs_instance_ids" : {
  56832. "type" : "array",
  56833. "description" : "部门id列表",
  56834. "items" : {
  56835. "type" : "string"
  56836. },
  56837. "example" : "[\"XAHSNRBS\"]"
  56838. },
  56839. "chat_configs" : {
  56840. "type" : "array",
  56841. "description" : "在线技能组设置,技能组部门间隔离,此设置应与ccs_instance_ids对应",
  56842. "items" : {
  56843. "$ref" : "#/components/schemas/AgentChatInfo"
  56844. }
  56845. },
  56846. "creator_id" : {
  56847. "type" : "string",
  56848. "description" : "操作人客服id",
  56849. "example" : "2019032101896769"
  56850. },
  56851. "email" : {
  56852. "type" : "string",
  56853. "description" : "客服邮箱",
  56854. "example" : "test@163.com"
  56855. },
  56856. "external_user_id" : {
  56857. "type" : "string",
  56858. "description" : "客服账号id,当user_channel=ALIPAY时,external_user_id为支付宝账号id",
  56859. "example" : "2088xxx"
  56860. },
  56861. "hotline_configs" : {
  56862. "type" : "array",
  56863. "description" : "热线技能组设置,技能组部门间隔离,此设置应与ccs_instance_ids对应",
  56864. "items" : {
  56865. "$ref" : "#/components/schemas/AgentHotlineInfo"
  56866. }
  56867. },
  56868. "job_number" : {
  56869. "type" : "string",
  56870. "description" : "客服工号,新增后不可变更。4位数字,不可重复",
  56871. "example" : "0002"
  56872. },
  56873. "mobile" : {
  56874. "type" : "string",
  56875. "description" : "客服手机号",
  56876. "example" : "13812345678"
  56877. },
  56878. "nick_name" : {
  56879. "type" : "string",
  56880. "description" : "客服昵称",
  56881. "example" : "风清扬"
  56882. },
  56883. "real_name" : {
  56884. "type" : "string",
  56885. "description" : "客服姓名",
  56886. "example" : "张三"
  56887. },
  56888. "role_ids" : {
  56889. "type" : "array",
  56890. "description" : "角色id列表",
  56891. "items" : {
  56892. "$ref" : "#/components/schemas/RoleId"
  56893. }
  56894. },
  56895. "user_channel" : {
  56896. "type" : "string",
  56897. "description" : "客服账号渠道 ALIPAY:支付宝账号",
  56898. "example" : "ALIPAY"
  56899. }
  56900. }
  56901. },
  56902. "AlipayIserviceCcmAgentCreateResponseModel" : {
  56903. "type" : "object",
  56904. "properties" : {
  56905. "id" : {
  56906. "type" : "string",
  56907. "description" : "CCM客服id",
  56908. "example" : "2019032101896769"
  56909. }
  56910. }
  56911. },
  56912. "AlipayIserviceCcmAgentDeleteErrorResponseModel" : {
  56913. "required" : [ "code", "message" ],
  56914. "type" : "object",
  56915. "properties" : {
  56916. "code" : {
  56917. "type" : "string",
  56918. "description" : "错误码",
  56919. "enum" : [ "INVALID_PARAMETER", "INTERNAL_ERROR", "TENENT_NOT_FOUND", "AGENT_NOT_EXISTS" ]
  56920. },
  56921. "links" : {
  56922. "type" : "string",
  56923. "description" : "解决方案链接"
  56924. },
  56925. "message" : {
  56926. "type" : "string",
  56927. "description" : "错误描述"
  56928. }
  56929. }
  56930. },
  56931. "AlipayIserviceCcmAgentDeleteResponseModel" : {
  56932. "type" : "object"
  56933. },
  56934. "AlipayIserviceCcmAgentGetErrorResponseModel" : {
  56935. "required" : [ "code", "message" ],
  56936. "type" : "object",
  56937. "properties" : {
  56938. "code" : {
  56939. "type" : "string",
  56940. "description" : "错误码",
  56941. "enum" : [ "INVALID_PARAMETER", "AGENT_NOT_EXISTS", "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
  56942. },
  56943. "links" : {
  56944. "type" : "string",
  56945. "description" : "解决方案链接"
  56946. },
  56947. "message" : {
  56948. "type" : "string",
  56949. "description" : "错误描述"
  56950. }
  56951. }
  56952. },
  56953. "AlipayIserviceCcmAgentGetResponseModel" : {
  56954. "type" : "object",
  56955. "properties" : {
  56956. "answering_mode" : {
  56957. "type" : "string",
  56958. "description" : "热线接入方式: 0:话机 1:电脑耳机;2:webrtc",
  56959. "example" : "0"
  56960. },
  56961. "avatar" : {
  56962. "type" : "string",
  56963. "description" : "头像的oss file key",
  56964. "example" : "12345"
  56965. },
  56966. "ccs_instance_ids" : {
  56967. "type" : "array",
  56968. "description" : "客服关联的数据权限id列表",
  56969. "items" : {
  56970. "type" : "string"
  56971. },
  56972. "example" : "ZPASFSCN,QWT_SADLD"
  56973. },
  56974. "chat_config" : {
  56975. "type" : "array",
  56976. "description" : "客服在线信息",
  56977. "items" : {
  56978. "$ref" : "#/components/schemas/AgentChatInfo"
  56979. }
  56980. },
  56981. "create_time" : {
  56982. "type" : "string",
  56983. "description" : "创建时间,采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z",
  56984. "example" : "2020-07-15 17:58:27"
  56985. },
  56986. "creator_id" : {
  56987. "type" : "string",
  56988. "description" : "创建人id",
  56989. "example" : "246534573"
  56990. },
  56991. "dingtalk_user_id" : {
  56992. "type" : "string",
  56993. "description" : "钉钉user_id",
  56994. "example" : "1293894912"
  56995. },
  56996. "email" : {
  56997. "type" : "string",
  56998. "description" : "邮箱",
  56999. "example" : "abc@alipay.com"
  57000. },
  57001. "external_id" : {
  57002. "type" : "string",
  57003. "description" : "外部系统用户id,比如:金融云的用户id",
  57004. "example" : "112133"
  57005. },
  57006. "hotline_config" : {
  57007. "type" : "array",
  57008. "description" : "客服热线信息",
  57009. "items" : {
  57010. "$ref" : "#/components/schemas/AgentHotlineInfo"
  57011. }
  57012. },
  57013. "id" : {
  57014. "type" : "string",
  57015. "description" : "客服id",
  57016. "example" : "2018101801902073"
  57017. },
  57018. "job_number" : {
  57019. "type" : "string",
  57020. "description" : "工号",
  57021. "example" : "0001"
  57022. },
  57023. "last_login_time" : {
  57024. "type" : "string",
  57025. "description" : "客服上次登录时间\t采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'",
  57026. "example" : "2020-07-15 17:58:27"
  57027. },
  57028. "mobile" : {
  57029. "type" : "string",
  57030. "description" : "手机号",
  57031. "example" : "17712341234"
  57032. },
  57033. "nick_name" : {
  57034. "type" : "string",
  57035. "description" : "客服昵称",
  57036. "example" : "风清扬"
  57037. },
  57038. "profile" : {
  57039. "type" : "string",
  57040. "description" : "个人简介",
  57041. "example" : "我是玉树临风一表人才的张三"
  57042. },
  57043. "real_name" : {
  57044. "type" : "string",
  57045. "description" : "客服姓名",
  57046. "example" : "张三"
  57047. },
  57048. "role_ids" : {
  57049. "type" : "array",
  57050. "description" : "角色id列表",
  57051. "items" : {
  57052. "$ref" : "#/components/schemas/RoleId"
  57053. }
  57054. },
  57055. "status" : {
  57056. "type" : "string",
  57057. "description" : "客服状态:NORMAL,DELETE",
  57058. "example" : "NORMAL"
  57059. },
  57060. "type" : {
  57061. "type" : "string",
  57062. "description" : "用户类型:NORMAL(普通客服),ADMIN(超级管理员,不能被删除)",
  57063. "example" : "NORMAL"
  57064. },
  57065. "update_time" : {
  57066. "type" : "string",
  57067. "description" : "最后修改时间,采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'",
  57068. "example" : "2020-07-15 17:58:27"
  57069. },
  57070. "updater_id" : {
  57071. "type" : "string",
  57072. "description" : "最后修改人id",
  57073. "example" : "246534573"
  57074. }
  57075. }
  57076. },
  57077. "AlipayIserviceCcmAgentModifyErrorResponseModel" : {
  57078. "required" : [ "code", "message" ],
  57079. "type" : "object",
  57080. "properties" : {
  57081. "code" : {
  57082. "type" : "string",
  57083. "description" : "错误码",
  57084. "enum" : [ "INVALID_PARAMETER", "INTERNAL_ERROR", "TENENT_NOT_FOUND", "DUPLICATE_NICK_NAME", "INVALID_HOTLINE_ANSWERING_MODE", "AGENT_NOT_EXISTS" ]
  57085. },
  57086. "links" : {
  57087. "type" : "string",
  57088. "description" : "解决方案链接"
  57089. },
  57090. "message" : {
  57091. "type" : "string",
  57092. "description" : "错误描述"
  57093. }
  57094. }
  57095. },
  57096. "AlipayIserviceCcmAgentModifyModel" : {
  57097. "type" : "object",
  57098. "properties" : {
  57099. "answering_mode" : {
  57100. "type" : "string",
  57101. "description" : "热线接入方式,取值0,1,2",
  57102. "example" : "0"
  57103. },
  57104. "ccs_instance_ids" : {
  57105. "type" : "array",
  57106. "description" : "部门id列表",
  57107. "items" : {
  57108. "type" : "string"
  57109. },
  57110. "example" : "[\"XAHSNRBS\"]"
  57111. },
  57112. "chat_configs" : {
  57113. "type" : "array",
  57114. "description" : "在线技能组设置,技能组部门间隔离,此设置应与ccs_instance_ids对应",
  57115. "items" : {
  57116. "$ref" : "#/components/schemas/AgentChatInfo"
  57117. }
  57118. },
  57119. "email" : {
  57120. "type" : "string",
  57121. "description" : "客服邮箱",
  57122. "example" : "test@163.com"
  57123. },
  57124. "hotline_configs" : {
  57125. "type" : "array",
  57126. "description" : "热线技能组设置,技能组部门间隔离,此设置应与ccs_instance_ids对应",
  57127. "items" : {
  57128. "$ref" : "#/components/schemas/AgentHotlineInfo"
  57129. }
  57130. },
  57131. "id" : {
  57132. "type" : "string",
  57133. "description" : "客服id",
  57134. "example" : "2019032101896769"
  57135. },
  57136. "mobile" : {
  57137. "type" : "string",
  57138. "description" : "客服手机号",
  57139. "example" : "13812345678"
  57140. },
  57141. "nick_name" : {
  57142. "type" : "string",
  57143. "description" : "客服昵称",
  57144. "example" : "风清扬"
  57145. },
  57146. "real_name" : {
  57147. "type" : "string",
  57148. "description" : "客服姓名",
  57149. "example" : "张三"
  57150. },
  57151. "role_ids" : {
  57152. "type" : "array",
  57153. "description" : "客服角色id列表",
  57154. "items" : {
  57155. "$ref" : "#/components/schemas/RoleId"
  57156. }
  57157. },
  57158. "updater_id" : {
  57159. "type" : "string",
  57160. "description" : "操作人客服id",
  57161. "example" : "2019032101896769"
  57162. }
  57163. }
  57164. },
  57165. "AlipayIserviceCcmAgentModifyResponseModel" : {
  57166. "type" : "object"
  57167. },
  57168. "AlipayIserviceCcmAgentQueryErrorResponseModel" : {
  57169. "required" : [ "code", "message" ],
  57170. "type" : "object",
  57171. "properties" : {
  57172. "code" : {
  57173. "type" : "string",
  57174. "description" : "错误码",
  57175. "enum" : [ "INTERNAL_ERROR", "TENENT_NOT_FOUND", "INVALID_PARAMETER" ]
  57176. },
  57177. "links" : {
  57178. "type" : "string",
  57179. "description" : "解决方案链接"
  57180. },
  57181. "message" : {
  57182. "type" : "string",
  57183. "description" : "错误描述"
  57184. }
  57185. }
  57186. },
  57187. "AlipayIserviceCcmAgentQueryModel" : {
  57188. "type" : "object",
  57189. "properties" : {
  57190. "answering_mode" : {
  57191. "type" : "string",
  57192. "description" : "热线接入方式",
  57193. "example" : "0"
  57194. },
  57195. "ccs_instance_id" : {
  57196. "type" : "string",
  57197. "description" : "部门id",
  57198. "example" : "XAHSNRBS"
  57199. },
  57200. "chat_ext_group_ids" : {
  57201. "type" : "array",
  57202. "description" : "在线扩展技能组id",
  57203. "items" : {
  57204. "type" : "string"
  57205. },
  57206. "example" : "[\"123\"]"
  57207. },
  57208. "chat_group_ids" : {
  57209. "type" : "array",
  57210. "description" : "在线技能组id",
  57211. "items" : {
  57212. "type" : "string"
  57213. },
  57214. "example" : "[\"123\"]"
  57215. },
  57216. "chat_level_ids" : {
  57217. "type" : "array",
  57218. "description" : "在线服务等级",
  57219. "items" : {
  57220. "type" : "string"
  57221. },
  57222. "example" : "[\"123\"]"
  57223. },
  57224. "email" : {
  57225. "type" : "string",
  57226. "description" : "客服邮箱",
  57227. "example" : "test@163.com"
  57228. },
  57229. "hotline_group_ids" : {
  57230. "type" : "array",
  57231. "description" : "热线扩展技能组id",
  57232. "items" : {
  57233. "type" : "string"
  57234. },
  57235. "example" : "[\"123\"]"
  57236. },
  57237. "page_num" : {
  57238. "type" : "integer",
  57239. "description" : "查询结果的页码,起始值为 1,默认值为 1",
  57240. "example" : "1"
  57241. },
  57242. "page_size" : {
  57243. "type" : "integer",
  57244. "description" : "分页查询时设置的每页记录数,最大值 100 行,默认为 10",
  57245. "example" : "10"
  57246. },
  57247. "real_name" : {
  57248. "type" : "string",
  57249. "description" : "客服姓名",
  57250. "example" : "张三"
  57251. },
  57252. "role_ids" : {
  57253. "type" : "array",
  57254. "description" : "客服角色id",
  57255. "items" : {
  57256. "type" : "string"
  57257. },
  57258. "example" : "[\"123\"]"
  57259. }
  57260. }
  57261. },
  57262. "AlipayIserviceCcmAgentQueryResponseModel" : {
  57263. "type" : "object",
  57264. "properties" : {
  57265. "agents" : {
  57266. "type" : "array",
  57267. "description" : "客服列表",
  57268. "items" : {
  57269. "$ref" : "#/components/schemas/AgentVO"
  57270. }
  57271. },
  57272. "page_num" : {
  57273. "type" : "integer",
  57274. "description" : "查询结果的页码,起始值为 1,默认值为 1",
  57275. "example" : "1"
  57276. },
  57277. "page_size" : {
  57278. "type" : "integer",
  57279. "description" : "分页查询时设置的每页记录数,最大值 100 行,默认为 10",
  57280. "example" : "10"
  57281. },
  57282. "total_count" : {
  57283. "type" : "integer",
  57284. "description" : "总条目数",
  57285. "example" : "99"
  57286. }
  57287. }
  57288. },
  57289. "AlipayIserviceCcmAgentSchedulelogQueryErrorResponseModel" : {
  57290. "required" : [ "code", "message" ],
  57291. "type" : "object",
  57292. "properties" : {
  57293. "code" : {
  57294. "type" : "string",
  57295. "description" : "错误码",
  57296. "enum" : [ "INVALID_PARAMS", "BIZ_ERROR" ]
  57297. },
  57298. "links" : {
  57299. "type" : "string",
  57300. "description" : "解决方案链接"
  57301. },
  57302. "message" : {
  57303. "type" : "string",
  57304. "description" : "错误描述"
  57305. }
  57306. }
  57307. },
  57308. "AlipayIserviceCcmAgentSchedulelogQueryModel" : {
  57309. "type" : "object",
  57310. "properties" : {
  57311. "agent_ids" : {
  57312. "type" : "array",
  57313. "description" : "客服id集合,限制最多100个id,不传查询部门下所有客服的状态变更流水日志",
  57314. "items" : {
  57315. "type" : "string"
  57316. },
  57317. "example" : "[\"2018101801902073\",\"2018101801902090\"]"
  57318. },
  57319. "ccs_instance_id" : {
  57320. "type" : "string",
  57321. "description" : "部门id(即租户实例ID、数据权限ID)",
  57322. "example" : "kaj_9DA1"
  57323. },
  57324. "end_time" : {
  57325. "type" : "string",
  57326. "description" : "客服状态变更结束时间,开始时间与结束时间间隔不能超过1天,采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'",
  57327. "example" : "2020-10-24 00:00:00"
  57328. },
  57329. "limit" : {
  57330. "type" : "integer",
  57331. "description" : "查询条数,最大100, 不传默认100",
  57332. "example" : "100"
  57333. },
  57334. "page_num" : {
  57335. "type" : "integer",
  57336. "description" : "查询结果的页码,起始值为 1,默认值为 1",
  57337. "example" : "1"
  57338. },
  57339. "page_size" : {
  57340. "type" : "integer",
  57341. "description" : "分页查询时设置的每页记录数,最大值 100 行,默认为 100",
  57342. "example" : "10"
  57343. },
  57344. "start_id" : {
  57345. "type" : "integer",
  57346. "description" : "起始id,分页导出的起始客服状态变更流水id,第一页传0,翻页时传上一页结果的最大id",
  57347. "example" : "10223"
  57348. },
  57349. "start_time" : {
  57350. "type" : "string",
  57351. "description" : "客服状态变更开始时间,采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'",
  57352. "example" : "2020-10-23 00:00:00"
  57353. }
  57354. }
  57355. },
  57356. "AlipayIserviceCcmAgentSchedulelogQueryResponseModel" : {
  57357. "type" : "object",
  57358. "properties" : {
  57359. "agent_schedule_logs" : {
  57360. "$ref" : "#/components/schemas/AgentScheduleLog"
  57361. },
  57362. "page_num" : {
  57363. "type" : "integer",
  57364. "description" : "查询结果的页码",
  57365. "example" : "1"
  57366. },
  57367. "page_size" : {
  57368. "type" : "integer",
  57369. "description" : "分页查询时设置的每页记录数",
  57370. "example" : "10"
  57371. },
  57372. "total_count" : {
  57373. "type" : "integer",
  57374. "description" : "总条目数",
  57375. "example" : "125"
  57376. }
  57377. }
  57378. },
  57379. "AlipayIserviceCcmFunctionQueryErrorResponseModel" : {
  57380. "required" : [ "code", "message" ],
  57381. "type" : "object",
  57382. "properties" : {
  57383. "code" : {
  57384. "type" : "string",
  57385. "description" : "错误码",
  57386. "enum" : [ "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
  57387. },
  57388. "links" : {
  57389. "type" : "string",
  57390. "description" : "解决方案链接"
  57391. },
  57392. "message" : {
  57393. "type" : "string",
  57394. "description" : "错误描述"
  57395. }
  57396. }
  57397. },
  57398. "AlipayIserviceCcmFunctionQueryResponseModel" : {
  57399. "type" : "object",
  57400. "properties" : {
  57401. "functions" : {
  57402. "type" : "array",
  57403. "description" : "功能点列表",
  57404. "items" : {
  57405. "$ref" : "#/components/schemas/Function"
  57406. }
  57407. }
  57408. }
  57409. },
  57410. "AlipayIserviceCcmInstanceCreateErrorResponseModel" : {
  57411. "required" : [ "code", "message" ],
  57412. "type" : "object",
  57413. "properties" : {
  57414. "code" : {
  57415. "type" : "string",
  57416. "description" : "错误码",
  57417. "enum" : [ "INVALID_PARAMETER", "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
  57418. },
  57419. "links" : {
  57420. "type" : "string",
  57421. "description" : "解决方案链接"
  57422. },
  57423. "message" : {
  57424. "type" : "string",
  57425. "description" : "错误描述"
  57426. }
  57427. }
  57428. },
  57429. "AlipayIserviceCcmInstanceCreateModel" : {
  57430. "type" : "object",
  57431. "properties" : {
  57432. "creator_id" : {
  57433. "type" : "string",
  57434. "description" : "创建人id",
  57435. "example" : "246534573"
  57436. },
  57437. "description" : {
  57438. "type" : "string",
  57439. "description" : "租户实例(数据权限)描述信息",
  57440. "example" : "我是租户实例(数据权限)描述"
  57441. },
  57442. "external_id" : {
  57443. "type" : "string",
  57444. "description" : "外部id",
  57445. "example" : "29488293"
  57446. },
  57447. "name" : {
  57448. "type" : "string",
  57449. "description" : "租户实例(数据权限)名称,如果名称已经存在,将创建失败",
  57450. "example" : "测试租户实例(数据权限)"
  57451. }
  57452. }
  57453. },
  57454. "AlipayIserviceCcmInstanceCreateResponseModel" : {
  57455. "type" : "object",
  57456. "properties" : {
  57457. "id" : {
  57458. "type" : "string",
  57459. "description" : "租户实例(数据权限)ID",
  57460. "example" : "pYv_gs0m"
  57461. }
  57462. }
  57463. },
  57464. "AlipayIserviceCcmInstanceGetErrorResponseModel" : {
  57465. "required" : [ "code", "message" ],
  57466. "type" : "object",
  57467. "properties" : {
  57468. "code" : {
  57469. "type" : "string",
  57470. "description" : "错误码",
  57471. "enum" : [ "INVALID_PARAMETER", "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
  57472. },
  57473. "links" : {
  57474. "type" : "string",
  57475. "description" : "解决方案链接"
  57476. },
  57477. "message" : {
  57478. "type" : "string",
  57479. "description" : "错误描述"
  57480. }
  57481. }
  57482. },
  57483. "AlipayIserviceCcmInstanceGetResponseModel" : {
  57484. "type" : "object",
  57485. "properties" : {
  57486. "create_time" : {
  57487. "type" : "string",
  57488. "description" : "创建时间",
  57489. "example" : "2020-11-10 20:56:00"
  57490. },
  57491. "creator_id" : {
  57492. "type" : "string",
  57493. "description" : "创建人id",
  57494. "example" : "2018051101015016"
  57495. },
  57496. "description" : {
  57497. "type" : "string",
  57498. "description" : "描述",
  57499. "example" : "我是部门描述"
  57500. },
  57501. "external_id" : {
  57502. "type" : "string",
  57503. "description" : "外部id",
  57504. "example" : "392435002"
  57505. },
  57506. "id" : {
  57507. "type" : "string",
  57508. "description" : "部门id(即租户实例ID、数据权限ID)",
  57509. "example" : "pYv_gs0m"
  57510. },
  57511. "name" : {
  57512. "type" : "string",
  57513. "description" : "租户实例(数据权限)名称",
  57514. "example" : "XXX租户实例"
  57515. },
  57516. "status" : {
  57517. "type" : "string",
  57518. "description" : "租户实例(数据权限)状态,所有可能的状态如下:INIT(初始化)、STARTED(准备完成)、START_FAILED(准备失败)、STOPPING(停用中)、STOPPED(已停用)、RELEASING(释放中)、RELEASED(已释放)、RESUMING(重新启动)、MODIFING(修改规格中)、DELETED(已删除)。",
  57519. "example" : "STARTED"
  57520. },
  57521. "update_time" : {
  57522. "type" : "string",
  57523. "description" : "最后修改时间",
  57524. "example" : "2020-11-10 21:01:00"
  57525. },
  57526. "updater_id" : {
  57527. "type" : "string",
  57528. "description" : "最后修改人id",
  57529. "example" : "2018051101015016"
  57530. }
  57531. }
  57532. },
  57533. "AlipayIserviceCcmInstanceQueryErrorResponseModel" : {
  57534. "required" : [ "code", "message" ],
  57535. "type" : "object",
  57536. "properties" : {
  57537. "code" : {
  57538. "type" : "string",
  57539. "description" : "错误码",
  57540. "enum" : [ "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
  57541. },
  57542. "links" : {
  57543. "type" : "string",
  57544. "description" : "解决方案链接"
  57545. },
  57546. "message" : {
  57547. "type" : "string",
  57548. "description" : "错误描述"
  57549. }
  57550. }
  57551. },
  57552. "AlipayIserviceCcmInstanceQueryResponseModel" : {
  57553. "type" : "object",
  57554. "properties" : {
  57555. "instances" : {
  57556. "type" : "array",
  57557. "description" : "租户实例列表",
  57558. "items" : {
  57559. "$ref" : "#/components/schemas/Instance"
  57560. }
  57561. },
  57562. "page_num" : {
  57563. "type" : "integer",
  57564. "description" : "查询结果的页码",
  57565. "example" : "1"
  57566. },
  57567. "page_size" : {
  57568. "type" : "integer",
  57569. "description" : "分页查询时设置的每页记录数",
  57570. "example" : "10"
  57571. },
  57572. "total_count" : {
  57573. "type" : "integer",
  57574. "description" : "总条目数",
  57575. "example" : "100"
  57576. }
  57577. }
  57578. },
  57579. "AlipayIserviceCcmIsvInitializeErrorResponseModel" : {
  57580. "required" : [ "code", "message" ],
  57581. "type" : "object",
  57582. "properties" : {
  57583. "code" : {
  57584. "type" : "string",
  57585. "description" : "错误码",
  57586. "enum" : [ "INVALID_PARAMETER", "PUBKEY_IMPORT_FAILED", "PUBKEY_HAS_EXIST", "CCM_KEY_GENERATE_FAILED", "INTERNAL_ERROR" ]
  57587. },
  57588. "links" : {
  57589. "type" : "string",
  57590. "description" : "解决方案链接"
  57591. },
  57592. "message" : {
  57593. "type" : "string",
  57594. "description" : "错误描述"
  57595. }
  57596. }
  57597. },
  57598. "AlipayIserviceCcmIsvInitializeModel" : {
  57599. "type" : "object",
  57600. "properties" : {
  57601. "isv_pub_key" : {
  57602. "type" : "string",
  57603. "description" : "用于接入CCM iframe接口安全认证的 ISV 公钥,采用 base64 编码,秘钥对生成算法为 RSA2048。",
  57604. "example" : "MIIBIjANBgkqhkiG9wxxxx"
  57605. }
  57606. }
  57607. },
  57608. "AlipayIserviceCcmIsvInitializeResponseModel" : {
  57609. "type" : "object",
  57610. "properties" : {
  57611. "ccm_pub_key" : {
  57612. "type" : "string",
  57613. "description" : "Base64编码CCM公钥:CCM公私钥对由CCM自动生成,用于Iframe spi接口安全认证",
  57614. "example" : "MIIBIjANBgkqhkiG9w0BAQxxxx"
  57615. }
  57616. }
  57617. },
  57618. "AlipayIserviceCcmOlsChatrecordQueryErrorResponseModel" : {
  57619. "required" : [ "code", "message" ],
  57620. "type" : "object",
  57621. "properties" : {
  57622. "code" : {
  57623. "type" : "string",
  57624. "description" : "错误码",
  57625. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  57626. },
  57627. "links" : {
  57628. "type" : "string",
  57629. "description" : "解决方案链接"
  57630. },
  57631. "message" : {
  57632. "type" : "string",
  57633. "description" : "错误描述"
  57634. }
  57635. }
  57636. },
  57637. "AlipayIserviceCcmOlsChatrecordQueryResponseModel" : {
  57638. "type" : "object",
  57639. "properties" : {
  57640. "agent_id" : {
  57641. "type" : "string",
  57642. "description" : "客服id",
  57643. "example" : "2008123455"
  57644. },
  57645. "agent_name" : {
  57646. "type" : "string",
  57647. "description" : "客服昵称",
  57648. "example" : "客服003"
  57649. },
  57650. "categories" : {
  57651. "type" : "string",
  57652. "description" : "多个层级类目信息",
  57653. "example" : "[[{\\\"id\\\":111,\\\"name\\\":\\\"保险\\\"},{\\\"id\\\":122,\\\"name\\\":\\\"财保\\\"},{\\\"id\\\":133,\\\"name\\\":\\\"车险\\\"}],[{\\\"id\\\":211,\\\"name\\\":\\\"售后\\\"},{\\\"id\\\":222,\\\"name\\\":\\\"出险\\\"},{\\\"id\\\":233,\\\"name\\\":\\\"理赔\\\"}]]"
  57654. },
  57655. "group_id" : {
  57656. "type" : "string",
  57657. "description" : "在线技能组id",
  57658. "example" : "1"
  57659. },
  57660. "group_name" : {
  57661. "type" : "string",
  57662. "description" : "在线技能组名称",
  57663. "example" : "基础技能组"
  57664. },
  57665. "memo" : {
  57666. "type" : "string",
  57667. "description" : "备注信息",
  57668. "example" : "该问题可通过xx手段解决,请回复客户xxxxxx。"
  57669. },
  57670. "messages" : {
  57671. "type" : "array",
  57672. "description" : "聊天消息列表",
  57673. "items" : {
  57674. "$ref" : "#/components/schemas/ChatMessage"
  57675. }
  57676. },
  57677. "satisfaction" : {
  57678. "type" : "string",
  57679. "description" : "满意度。 0:非常满意 1:满意 2:一般 3:不满意 4:非常不满意",
  57680. "example" : "0"
  57681. },
  57682. "status" : {
  57683. "type" : "string",
  57684. "description" : "服务记录状态。1:待处理 2:暂存 3:完结 4:废除 5:无效 6:未知",
  57685. "example" : "1"
  57686. },
  57687. "talk_duration" : {
  57688. "type" : "integer",
  57689. "description" : "在线服务时长,单位秒",
  57690. "example" : "3600"
  57691. },
  57692. "visitor_province" : {
  57693. "type" : "string",
  57694. "description" : "访客归属地",
  57695. "example" : "浙江"
  57696. }
  57697. }
  57698. },
  57699. "AlipayIserviceCcmRobotAvatarbaseQueryErrorResponseModel" : {
  57700. "required" : [ "code", "message" ],
  57701. "type" : "object",
  57702. "properties" : {
  57703. "code" : {
  57704. "type" : "string",
  57705. "description" : "错误码",
  57706. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  57707. },
  57708. "links" : {
  57709. "type" : "string",
  57710. "description" : "解决方案链接"
  57711. },
  57712. "message" : {
  57713. "type" : "string",
  57714. "description" : "错误描述"
  57715. }
  57716. }
  57717. },
  57718. "AlipayIserviceCcmRobotAvatarbaseQueryModel" : {
  57719. "type" : "object",
  57720. "properties" : {
  57721. "method_params" : {
  57722. "type" : "string",
  57723. "description" : "method_params:对应target_method请求方法的具体传参值k-v map",
  57724. "example" : "{\"key1\":\"name\",}"
  57725. },
  57726. "target_method" : {
  57727. "type" : "string",
  57728. "description" : "targetMethod;数字人目标方法调用",
  57729. "example" : "init.json"
  57730. },
  57731. "tenant_code" : {
  57732. "type" : "string",
  57733. "description" : "租户code&租户id,对于子部门客户需要上传子部门id",
  57734. "example" : "bUC_Weh3"
  57735. }
  57736. }
  57737. },
  57738. "AlipayIserviceCcmRobotAvatarbaseQueryResponseModel" : {
  57739. "type" : "object",
  57740. "properties" : {
  57741. "result" : {
  57742. "type" : "string",
  57743. "description" : "result:方法调用返回值响应 k-v map",
  57744. "example" : "{\"key1\":\"xxx\",\"key2\":\"xxxx\"}"
  57745. }
  57746. }
  57747. },
  57748. "AlipayIserviceCcmRoleCreateErrorResponseModel" : {
  57749. "required" : [ "code", "message" ],
  57750. "type" : "object",
  57751. "properties" : {
  57752. "code" : {
  57753. "type" : "string",
  57754. "description" : "错误码",
  57755. "enum" : [ "DUPLICATE_ROLE", "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
  57756. },
  57757. "links" : {
  57758. "type" : "string",
  57759. "description" : "解决方案链接"
  57760. },
  57761. "message" : {
  57762. "type" : "string",
  57763. "description" : "错误描述"
  57764. }
  57765. }
  57766. },
  57767. "AlipayIserviceCcmRoleCreateModel" : {
  57768. "type" : "object",
  57769. "properties" : {
  57770. "ccs_instance_id" : {
  57771. "type" : "string",
  57772. "description" : "部门id(即租户实例ID、数据权限ID)",
  57773. "example" : "jwa_8J2l"
  57774. },
  57775. "creator_id" : {
  57776. "type" : "string",
  57777. "description" : "创建人id",
  57778. "example" : "201835445454546"
  57779. },
  57780. "description" : {
  57781. "type" : "string",
  57782. "description" : "角色描述信息",
  57783. "example" : "我是角色描述..."
  57784. },
  57785. "function_ids" : {
  57786. "type" : "array",
  57787. "description" : "角色关联额功能点id",
  57788. "items" : {
  57789. "type" : "string"
  57790. },
  57791. "example" : "[\"123\",\"456\"]"
  57792. },
  57793. "name" : {
  57794. "type" : "string",
  57795. "description" : "角色名",
  57796. "example" : "保险类角色"
  57797. }
  57798. }
  57799. },
  57800. "AlipayIserviceCcmRoleCreateResponseModel" : {
  57801. "type" : "object",
  57802. "properties" : {
  57803. "id" : {
  57804. "type" : "string",
  57805. "description" : "角色id",
  57806. "example" : "123"
  57807. }
  57808. }
  57809. },
  57810. "AlipayIserviceCcmRoleDeleteErrorResponseModel" : {
  57811. "required" : [ "code", "message" ],
  57812. "type" : "object",
  57813. "properties" : {
  57814. "code" : {
  57815. "type" : "string",
  57816. "description" : "错误码",
  57817. "enum" : [ "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
  57818. },
  57819. "links" : {
  57820. "type" : "string",
  57821. "description" : "解决方案链接"
  57822. },
  57823. "message" : {
  57824. "type" : "string",
  57825. "description" : "错误描述"
  57826. }
  57827. }
  57828. },
  57829. "AlipayIserviceCcmRoleDeleteResponseModel" : {
  57830. "type" : "object"
  57831. },
  57832. "AlipayIserviceCcmRoleGetErrorResponseModel" : {
  57833. "required" : [ "code", "message" ],
  57834. "type" : "object",
  57835. "properties" : {
  57836. "code" : {
  57837. "type" : "string",
  57838. "description" : "错误码",
  57839. "enum" : [ "ROLE_NOT_EXIST", "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
  57840. },
  57841. "links" : {
  57842. "type" : "string",
  57843. "description" : "解决方案链接"
  57844. },
  57845. "message" : {
  57846. "type" : "string",
  57847. "description" : "错误描述"
  57848. }
  57849. }
  57850. },
  57851. "AlipayIserviceCcmRoleGetResponseModel" : {
  57852. "type" : "object",
  57853. "properties" : {
  57854. "ccs_instance_id" : {
  57855. "type" : "string",
  57856. "description" : "部门id(即租户实例ID、数据权限ID)",
  57857. "example" : "ZPASFSCN"
  57858. },
  57859. "create_time" : {
  57860. "type" : "string",
  57861. "description" : "创建时间",
  57862. "example" : "2020-11-10 21:52:00"
  57863. },
  57864. "creator_id" : {
  57865. "type" : "string",
  57866. "description" : "创建人id",
  57867. "example" : "201855445857455"
  57868. },
  57869. "description" : {
  57870. "type" : "string",
  57871. "description" : "描述信息",
  57872. "example" : "我是描述信息..."
  57873. },
  57874. "function_ids" : {
  57875. "type" : "array",
  57876. "description" : "角色关联的功能点id",
  57877. "items" : {
  57878. "type" : "string"
  57879. },
  57880. "example" : "[\"123\",\"456\"]"
  57881. },
  57882. "id" : {
  57883. "type" : "string",
  57884. "description" : "角色id",
  57885. "example" : "123"
  57886. },
  57887. "name" : {
  57888. "type" : "string",
  57889. "description" : "角色名称",
  57890. "example" : "XX角色"
  57891. },
  57892. "update_time" : {
  57893. "type" : "string",
  57894. "description" : "最后修改时间",
  57895. "example" : "2020-11-10 21:56:00"
  57896. },
  57897. "updater_id" : {
  57898. "type" : "string",
  57899. "description" : "最后修改人id",
  57900. "example" : "20185512254425"
  57901. }
  57902. }
  57903. },
  57904. "AlipayIserviceCcmRoleModifyErrorResponseModel" : {
  57905. "required" : [ "code", "message" ],
  57906. "type" : "object",
  57907. "properties" : {
  57908. "code" : {
  57909. "type" : "string",
  57910. "description" : "错误码",
  57911. "enum" : [ "ROLE_NOT_EXIST", "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
  57912. },
  57913. "links" : {
  57914. "type" : "string",
  57915. "description" : "解决方案链接"
  57916. },
  57917. "message" : {
  57918. "type" : "string",
  57919. "description" : "错误描述"
  57920. }
  57921. }
  57922. },
  57923. "AlipayIserviceCcmRoleModifyModel" : {
  57924. "type" : "object",
  57925. "properties" : {
  57926. "ccs_instance_id" : {
  57927. "type" : "string",
  57928. "description" : "部门id(即租户实例ID、数据权限ID),不传默认使用租户id",
  57929. "example" : "alw_J1Ds"
  57930. },
  57931. "description" : {
  57932. "type" : "string",
  57933. "description" : "描述信息",
  57934. "example" : "我是角色描述"
  57935. },
  57936. "function_ids" : {
  57937. "type" : "array",
  57938. "description" : "角色关联额功能点id",
  57939. "items" : {
  57940. "type" : "string"
  57941. },
  57942. "example" : "[\"123\",\"456\"]"
  57943. },
  57944. "id" : {
  57945. "type" : "string",
  57946. "description" : "角色id",
  57947. "example" : "123"
  57948. },
  57949. "updater_id" : {
  57950. "type" : "string",
  57951. "description" : "最后修改人id",
  57952. "example" : "20181422342134"
  57953. }
  57954. }
  57955. },
  57956. "AlipayIserviceCcmRoleModifyResponseModel" : {
  57957. "type" : "object"
  57958. },
  57959. "AlipayIserviceCcmRolePageQueryErrorResponseModel" : {
  57960. "required" : [ "code", "message" ],
  57961. "type" : "object",
  57962. "properties" : {
  57963. "code" : {
  57964. "type" : "string",
  57965. "description" : "错误码",
  57966. "enum" : [ "INVALID_PARAMETER", "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
  57967. },
  57968. "links" : {
  57969. "type" : "string",
  57970. "description" : "解决方案链接"
  57971. },
  57972. "message" : {
  57973. "type" : "string",
  57974. "description" : "错误描述"
  57975. }
  57976. }
  57977. },
  57978. "AlipayIserviceCcmRolePageQueryResponseModel" : {
  57979. "type" : "object",
  57980. "properties" : {
  57981. "page_num" : {
  57982. "type" : "integer",
  57983. "description" : "查询结果的页码",
  57984. "example" : "1"
  57985. },
  57986. "page_size" : {
  57987. "type" : "integer",
  57988. "description" : "分页查询时设置的每页记录数",
  57989. "example" : "10"
  57990. },
  57991. "roles" : {
  57992. "type" : "array",
  57993. "description" : "角色列表",
  57994. "items" : {
  57995. "$ref" : "#/components/schemas/Role"
  57996. }
  57997. },
  57998. "total_count" : {
  57999. "type" : "integer",
  58000. "description" : "总条目数",
  58001. "example" : "125"
  58002. }
  58003. }
  58004. },
  58005. "AlipayIserviceCcmServiceBuyErrorResponseModel" : {
  58006. "required" : [ "code", "message" ],
  58007. "type" : "object",
  58008. "properties" : {
  58009. "code" : {
  58010. "type" : "string",
  58011. "description" : "错误码",
  58012. "enum" : [ "INVALID_PARAMETER", "TENENT_NOT_FOUND", "APP_NOT_INITIALIAZED", "SERVICE_NOT_INITIALIAZED" ]
  58013. },
  58014. "links" : {
  58015. "type" : "string",
  58016. "description" : "解决方案链接"
  58017. },
  58018. "message" : {
  58019. "type" : "string",
  58020. "description" : "错误描述"
  58021. }
  58022. }
  58023. },
  58024. "AlipayIserviceCcmServiceBuyModel" : {
  58025. "type" : "object",
  58026. "properties" : {
  58027. "service_code" : {
  58028. "type" : "string",
  58029. "description" : "服务代码。通过<a href=\"https://opendocs.alipay.com/apis/01dmgh\">alipay.iservice.ccm.service.initialize</a>(isv服务初始化接口) 获取。",
  58030. "example" : "testCode"
  58031. }
  58032. }
  58033. },
  58034. "AlipayIserviceCcmServiceBuyResponseModel" : {
  58035. "type" : "object",
  58036. "properties" : {
  58037. "service_instance_id" : {
  58038. "type" : "integer",
  58039. "description" : "服务实例id",
  58040. "example" : "1"
  58041. },
  58042. "tenant_id" : {
  58043. "type" : "string",
  58044. "description" : "商户在CCM的租户id",
  58045. "example" : "qHT_sTlI"
  58046. }
  58047. }
  58048. },
  58049. "AlipayIserviceCcmServiceCloseErrorResponseModel" : {
  58050. "required" : [ "code", "message" ],
  58051. "type" : "object",
  58052. "properties" : {
  58053. "code" : {
  58054. "type" : "string",
  58055. "description" : "错误码",
  58056. "enum" : [ "INVALID_PARAMETER", "TENENT_NOT_FOUND", "APP_NOT_INITIALIAZED", "SERVICE_NOT_INITIALIAZED", "SERVICE_NOT_OPEN" ]
  58057. },
  58058. "links" : {
  58059. "type" : "string",
  58060. "description" : "解决方案链接"
  58061. },
  58062. "message" : {
  58063. "type" : "string",
  58064. "description" : "错误描述"
  58065. }
  58066. }
  58067. },
  58068. "AlipayIserviceCcmServiceCloseModel" : {
  58069. "type" : "object",
  58070. "properties" : {
  58071. "service_code" : {
  58072. "type" : "string",
  58073. "description" : "服务代码。通过<a href=\"https://opendocs.alipay.com/apis/01dmgh\">alipay.iservice.ccm.service.initialize</a>(isv服务初始化接口) 获取。",
  58074. "example" : "testCode"
  58075. }
  58076. }
  58077. },
  58078. "AlipayIserviceCcmServiceCloseResponseModel" : {
  58079. "type" : "object"
  58080. },
  58081. "AlipayIserviceCcmServiceInitializeErrorResponseModel" : {
  58082. "required" : [ "code", "message" ],
  58083. "type" : "object",
  58084. "properties" : {
  58085. "code" : {
  58086. "type" : "string",
  58087. "description" : "错误码",
  58088. "enum" : [ "INTERNAL_ERROR", "INVALID_PARAMETER", "APP_NOT_INITIALIAZED", "SPI_KEY_UNDEFINED", "SERVICE_CODE_INVALID" ]
  58089. },
  58090. "links" : {
  58091. "type" : "string",
  58092. "description" : "解决方案链接"
  58093. },
  58094. "message" : {
  58095. "type" : "string",
  58096. "description" : "错误描述"
  58097. }
  58098. }
  58099. },
  58100. "AlipayIserviceCcmServiceInitializeModel" : {
  58101. "type" : "object",
  58102. "properties" : {
  58103. "description" : {
  58104. "type" : "string",
  58105. "description" : "服务描述",
  58106. "example" : "热线工作台"
  58107. },
  58108. "icon" : {
  58109. "type" : "string",
  58110. "description" : "服务图标url。支持 http(s) 链接。",
  58111. "example" : "http://127.0.0.1/"
  58112. },
  58113. "service_code" : {
  58114. "type" : "string",
  58115. "description" : "服务编码。可在服务上架后,在服务市场上查询此信息。",
  58116. "example" : "testCode"
  58117. },
  58118. "service_name" : {
  58119. "type" : "string",
  58120. "description" : "服务名称。可在服务上架后,在服务市场上查询此信息。",
  58121. "example" : "热线工作台"
  58122. },
  58123. "service_order_url" : {
  58124. "type" : "string",
  58125. "description" : "服务订购二维码链接",
  58126. "example" : "http://127.0.0.1/"
  58127. },
  58128. "spis" : {
  58129. "type" : "array",
  58130. "description" : "spi定义列表",
  58131. "items" : {
  58132. "$ref" : "#/components/schemas/IsvSpiDefinition"
  58133. }
  58134. }
  58135. }
  58136. },
  58137. "AlipayIserviceCcmServiceInitializeResponseModel" : {
  58138. "type" : "object",
  58139. "properties" : {
  58140. "spi_ids" : {
  58141. "type" : "array",
  58142. "description" : "spi在ccm中的唯一标识,与biz_code一一对应",
  58143. "items" : {
  58144. "$ref" : "#/components/schemas/SpiResult"
  58145. }
  58146. }
  58147. }
  58148. },
  58149. "AlipayIserviceCcmServicerecordCreateErrorResponseModel" : {
  58150. "required" : [ "code", "message" ],
  58151. "type" : "object",
  58152. "properties" : {
  58153. "code" : {
  58154. "type" : "string",
  58155. "description" : "错误码",
  58156. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  58157. },
  58158. "links" : {
  58159. "type" : "string",
  58160. "description" : "解决方案链接"
  58161. },
  58162. "message" : {
  58163. "type" : "string",
  58164. "description" : "错误描述"
  58165. }
  58166. }
  58167. },
  58168. "AlipayIserviceCcmServicerecordCreateModel" : {
  58169. "type" : "object",
  58170. "properties" : {
  58171. "acid" : {
  58172. "type" : "string",
  58173. "description" : "来电唯一标识",
  58174. "example" : "CCC/2459691380492662222224097452"
  58175. },
  58176. "aid" : {
  58177. "type" : "string",
  58178. "description" : "客服坐席号(软电话中定义的)",
  58179. "example" : "20000105"
  58180. },
  58181. "ani" : {
  58182. "type" : "string",
  58183. "description" : "主叫号码",
  58184. "example" : "15123090087"
  58185. },
  58186. "asid" : {
  58187. "type" : "string",
  58188. "description" : "恒生专用来电唯一标识",
  58189. "example" : "29de02050ce1403db710a0b1f4daad6d"
  58190. },
  58191. "category_list" : {
  58192. "type" : "array",
  58193. "description" : "类目信息(详细信息请参考具体类型描述)",
  58194. "items" : {
  58195. "$ref" : "#/components/schemas/ServiceRecordCatRequest"
  58196. }
  58197. },
  58198. "chat_begin_time" : {
  58199. "type" : "string",
  58200. "description" : "标准时间格式:yyyy-MM-dd HH:mm:ss",
  58201. "example" : "2018-11-20 11:37:26"
  58202. },
  58203. "chat_end_time" : {
  58204. "type" : "string",
  58205. "description" : "标准时间格式:yyyy-MM-dd HH:mm:ss",
  58206. "example" : "2018-11-20 11:38:49"
  58207. },
  58208. "city" : {
  58209. "type" : "string",
  58210. "description" : "来电地址",
  58211. "example" : "山东"
  58212. },
  58213. "creator_id" : {
  58214. "type" : "string",
  58215. "description" : "创建者ID",
  58216. "example" : "2020042801917879"
  58217. },
  58218. "discon_symbol" : {
  58219. "type" : "string",
  58220. "description" : "先挂断方\tAGENT:客服\tCUSTOMER:客户",
  58221. "example" : "AGENT"
  58222. },
  58223. "dnis" : {
  58224. "type" : "string",
  58225. "description" : "被叫号码",
  58226. "example" : "15925998721"
  58227. },
  58228. "file_size" : {
  58229. "type" : "integer",
  58230. "description" : "文件大小",
  58231. "example" : "1222000"
  58232. },
  58233. "gmt_create" : {
  58234. "type" : "string",
  58235. "description" : "创建时间(yyyy-MM-dd HH:mm:ss)",
  58236. "example" : "2010-11-11 11:11:11"
  58237. },
  58238. "gmt_modified" : {
  58239. "type" : "string",
  58240. "description" : "修改时间",
  58241. "example" : "2010-11-11 11:11:11"
  58242. },
  58243. "memo" : {
  58244. "type" : "string",
  58245. "description" : "服务记录备注信息",
  58246. "example" : "亲,昨天已经寄给你了呢"
  58247. },
  58248. "modifier_id" : {
  58249. "type" : "string",
  58250. "description" : "修改人ID",
  58251. "example" : "2020042801917879"
  58252. },
  58253. "outbound_task_id" : {
  58254. "type" : "string",
  58255. "description" : "外呼任务ID",
  58256. "example" : "10.253.104.12_1d5d40fd-aa5e-4f23-9247-14cd28e125f2"
  58257. },
  58258. "satisfaction" : {
  58259. "type" : "string",
  58260. "description" : "满意度\t0:非常满意\t1:满意\t2:一般\t3:不满意\t4:非常不满意",
  58261. "example" : "0"
  58262. },
  58263. "satisfaction_memo" : {
  58264. "type" : "string",
  58265. "description" : "满意度补充信息",
  58266. "example" : "其它:非常不满意,完全都是我在自问自答;"
  58267. },
  58268. "service_source" : {
  58269. "type" : "string",
  58270. "description" : "1:客户来电\t4:电话回访\t5:网点服务\t6:在线服务\t7:外呼任务\t8:手动外呼\t9:在线离线留言",
  58271. "example" : "1"
  58272. },
  58273. "service_time" : {
  58274. "type" : "integer",
  58275. "description" : "服务时长(单位:秒)",
  58276. "example" : "1924"
  58277. },
  58278. "skillgroup_id" : {
  58279. "type" : "string",
  58280. "description" : "技能组ID",
  58281. "example" : "100000000001"
  58282. },
  58283. "skillgroup_name" : {
  58284. "type" : "string",
  58285. "description" : "技能组名称(技能组ID对应的技能组名称)",
  58286. "example" : "融资业务还款组"
  58287. },
  58288. "tnt_inst_id" : {
  58289. "type" : "string",
  58290. "description" : "业务租户",
  58291. "example" : "TTTKPICN"
  58292. },
  58293. "user_id" : {
  58294. "type" : "string",
  58295. "description" : "来访用户唯一标识ID",
  58296. "example" : "202007011113010526000000035332"
  58297. },
  58298. "verify_result" : {
  58299. "type" : "string",
  58300. "description" : "IVR验证结果\tROLE_N:未定位到用户\tCERTNO_Y_PWD_Y:证件号码+交易密码验证通过\tCERTNO_Y_PWD_N:证件号码验证通过+交易密码不通过\tCERTNO_Y_PWD_UNKNOW:证件号码验证通过\tPHONE_Y_PWD_Y:来电手机+交易密码验证通过\tPHONE_Y_PWD_N:来电手机+交易密码未通过\tPHONE_Y_PWD_UNKNOW:来电手机账户\tSEARCH_Y_PWD_Y:搜索定位用户+推屏交易密码通过\tSEARCH_Y_PWD_N:搜索定位用户+推屏交易密码未通过\tSEARCH_Y_PWD_UNKNOW:搜索定位用户",
  58301. "example" : "ROLE_N"
  58302. }
  58303. }
  58304. },
  58305. "AlipayIserviceCcmServicerecordCreateResponseModel" : {
  58306. "type" : "object",
  58307. "properties" : {
  58308. "service_record_id" : {
  58309. "type" : "string",
  58310. "description" : "服务记录ID",
  58311. "example" : "201709271113010100000000000001"
  58312. }
  58313. }
  58314. },
  58315. "AlipayIserviceCcmServicerecordModifyErrorResponseModel" : {
  58316. "required" : [ "code", "message" ],
  58317. "type" : "object",
  58318. "properties" : {
  58319. "code" : {
  58320. "type" : "string",
  58321. "description" : "错误码",
  58322. "enum" : [ "INVALID_PARAMETER", "SERVICE_RECORD_NOT_EXISIT" ]
  58323. },
  58324. "links" : {
  58325. "type" : "string",
  58326. "description" : "解决方案链接"
  58327. },
  58328. "message" : {
  58329. "type" : "string",
  58330. "description" : "错误描述"
  58331. }
  58332. }
  58333. },
  58334. "AlipayIserviceCcmServicerecordModifyModel" : {
  58335. "type" : "object",
  58336. "properties" : {
  58337. "acid" : {
  58338. "type" : "string",
  58339. "description" : "来电唯一标识",
  58340. "example" : "CCC/2459691380492662222224097452"
  58341. },
  58342. "aid" : {
  58343. "type" : "string",
  58344. "description" : "客服坐席号(软电话中定义的)",
  58345. "example" : "20000105"
  58346. },
  58347. "ani" : {
  58348. "type" : "string",
  58349. "description" : "主叫号码",
  58350. "example" : "15123090087"
  58351. },
  58352. "asid" : {
  58353. "type" : "string",
  58354. "description" : "恒生专用来电唯一标识",
  58355. "example" : "29de02050ce1403db710a0b1f4daad6d"
  58356. },
  58357. "category_list" : {
  58358. "$ref" : "#/components/schemas/ServiceRecordCatRequest"
  58359. },
  58360. "chat_begin_time" : {
  58361. "type" : "string",
  58362. "description" : "标准时间格式:yyyy-MM-dd HH:mm:ss",
  58363. "example" : "2018-11-20 11:37:26"
  58364. },
  58365. "chat_end_time" : {
  58366. "type" : "string",
  58367. "description" : "标准时间格式:yyyy-MM-dd HH:mm:ss",
  58368. "example" : "2018-11-20 11:38:49"
  58369. },
  58370. "city" : {
  58371. "type" : "string",
  58372. "description" : "来电地址",
  58373. "example" : "山东"
  58374. },
  58375. "creator_id" : {
  58376. "type" : "string",
  58377. "description" : "创建者ID",
  58378. "example" : "2020042801917879"
  58379. },
  58380. "discon_symbol" : {
  58381. "type" : "string",
  58382. "description" : "先挂断方 AGENT:客服 CUSTOMER:客户",
  58383. "example" : "AGENT"
  58384. },
  58385. "dnis" : {
  58386. "type" : "string",
  58387. "description" : "被叫号码",
  58388. "example" : "15925998721"
  58389. },
  58390. "file_size" : {
  58391. "type" : "integer",
  58392. "description" : "文件大小",
  58393. "example" : "1222000"
  58394. },
  58395. "gmt_create" : {
  58396. "type" : "string",
  58397. "description" : "创建时间(yyyy-MM-dd HH:mm:ss)",
  58398. "example" : "2010-11-11 11:11:11"
  58399. },
  58400. "gmt_modified" : {
  58401. "type" : "string",
  58402. "description" : "修改时间",
  58403. "example" : "2010-11-11 11:11:11"
  58404. },
  58405. "id" : {
  58406. "type" : "string",
  58407. "description" : "云客服服务记录ID",
  58408. "example" : "202011161113010100000000739715"
  58409. },
  58410. "memo" : {
  58411. "type" : "string",
  58412. "description" : "服务记录备注信息",
  58413. "example" : "亲,昨天已经寄给你了呢"
  58414. },
  58415. "modifier_id" : {
  58416. "type" : "string",
  58417. "description" : "修改人ID",
  58418. "example" : "2020042801917879"
  58419. },
  58420. "outbound_task_id" : {
  58421. "type" : "string",
  58422. "description" : "外呼任务ID",
  58423. "example" : "10.253.104.12_1d5d40fd-aa5e-4f23-9247-14cd28e125f2"
  58424. },
  58425. "satisfaction" : {
  58426. "type" : "string",
  58427. "description" : "满意度 0:非常满意 1:满意 2:一般 3:不满意 4:非常不满意",
  58428. "example" : "0"
  58429. },
  58430. "satisfaction_memo" : {
  58431. "type" : "string",
  58432. "description" : "满意度补充信息",
  58433. "example" : "其它:非常不满意,完全都是我在自问自答;"
  58434. },
  58435. "service_source" : {
  58436. "type" : "string",
  58437. "description" : "1:客户来电 4:电话回访 5:网点服务 6:在线服务 7:外呼任务 8:手动外呼 9:在线离线留言",
  58438. "example" : "1"
  58439. },
  58440. "service_time" : {
  58441. "type" : "integer",
  58442. "description" : "服务时长(单位:秒)",
  58443. "example" : "1924"
  58444. },
  58445. "skillgroup_id" : {
  58446. "type" : "string",
  58447. "description" : "技能组ID",
  58448. "example" : "100000000001"
  58449. },
  58450. "skillgroup_name" : {
  58451. "type" : "string",
  58452. "description" : "技能组名称(技能组ID对应的技能组名称)",
  58453. "example" : "融资业务还款组"
  58454. },
  58455. "status" : {
  58456. "type" : "string",
  58457. "description" : "1:待处理\t2:暂存\t3:完结\t4:废除\t5:无效\t6:未知",
  58458. "example" : "1"
  58459. },
  58460. "tnt_inst_id" : {
  58461. "type" : "string",
  58462. "description" : "业务租户",
  58463. "example" : "ORGJC1CN"
  58464. },
  58465. "user_id" : {
  58466. "type" : "string",
  58467. "description" : "来访用户唯一标识ID",
  58468. "example" : "202007011113010526000000035332"
  58469. },
  58470. "verify_result" : {
  58471. "type" : "string",
  58472. "description" : "IVR验证结果 ROLE_N:未定位到用户 CERTNO_Y_PWD_Y:证件号码+交易密码验证通过 CERTNO_Y_PWD_N:证件号码验证通过+交易密码不通过 CERTNO_Y_PWD_UNKNOW:证件号码验证通过 PHONE_Y_PWD_Y:来电手机+交易密码验证通过 PHONE_Y_PWD_N:来电手机+交易密码未通过 PHONE_Y_PWD_UNKNOW:来电手机账户 SEARCH_Y_PWD_Y:搜索定位用户+推屏交易密码通过 SEARCH_Y_PWD_N:搜索定位用户+推屏交易密码未通过 SEARCH_Y_PWD_UNKNOW:搜索定位用户",
  58473. "example" : "ROLE_N"
  58474. }
  58475. }
  58476. },
  58477. "AlipayIserviceCcmServicerecordModifyResponseModel" : {
  58478. "type" : "object"
  58479. },
  58480. "AlipayIserviceCcmSwArticleBatchqueryErrorResponseModel" : {
  58481. "required" : [ "code", "message" ],
  58482. "type" : "object",
  58483. "properties" : {
  58484. "code" : {
  58485. "type" : "string",
  58486. "description" : "错误码",
  58487. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  58488. },
  58489. "links" : {
  58490. "type" : "string",
  58491. "description" : "解决方案链接"
  58492. },
  58493. "message" : {
  58494. "type" : "string",
  58495. "description" : "错误描述"
  58496. }
  58497. }
  58498. },
  58499. "AlipayIserviceCcmSwArticleBatchqueryModel" : {
  58500. "type" : "object",
  58501. "properties" : {
  58502. "category_id" : {
  58503. "type" : "integer",
  58504. "description" : "所属类目ID,如果search_all_category为true则不用填",
  58505. "example" : "12"
  58506. },
  58507. "ccs_instance_id" : {
  58508. "type" : "string",
  58509. "description" : "子部门ID,不传为默认部门",
  58510. "example" : "ZPNASDK"
  58511. },
  58512. "end_time" : {
  58513. "type" : "string",
  58514. "description" : "结束时间,并且开始时间不能为空",
  58515. "example" : "2020-12-31 23:59:59"
  58516. },
  58517. "ids" : {
  58518. "type" : "array",
  58519. "description" : "文章ID集合",
  58520. "items" : {
  58521. "type" : "integer"
  58522. },
  58523. "example" : "[1,12]"
  58524. },
  58525. "keyword" : {
  58526. "type" : "string",
  58527. "description" : "关键字",
  58528. "example" : "支付宝"
  58529. },
  58530. "keywords" : {
  58531. "type" : "array",
  58532. "description" : "标签",
  58533. "items" : {
  58534. "type" : "string"
  58535. },
  58536. "example" : "[\"关键\",\"核心\"]"
  58537. },
  58538. "library_id" : {
  58539. "type" : "integer",
  58540. "description" : "知识库ID",
  58541. "example" : "1"
  58542. },
  58543. "page_num" : {
  58544. "type" : "integer",
  58545. "description" : "页数,page_size不能为空",
  58546. "example" : "1"
  58547. },
  58548. "page_size" : {
  58549. "type" : "integer",
  58550. "description" : "页大小,page_num不能为空",
  58551. "example" : "20"
  58552. },
  58553. "search_all_category" : {
  58554. "type" : "boolean",
  58555. "description" : "是否搜索所有类目,如果为true则不用填写category_id值",
  58556. "example" : "true"
  58557. },
  58558. "search_category_type" : {
  58559. "type" : "string",
  58560. "description" : "Current(搜索当前节点);\tChildren(搜索当前节点以及子节点)",
  58561. "example" : "Current"
  58562. },
  58563. "start_time" : {
  58564. "type" : "string",
  58565. "description" : "开始时间,并且结束时间不能为空",
  58566. "example" : "2020-12-31 00:00:01"
  58567. },
  58568. "status" : {
  58569. "type" : "string",
  58570. "description" : "状态,PUBLISHED(已发布),UNPUBLISH(未发布),EXPIRED(失效),DELETED(已删除)",
  58571. "example" : "PUBLISHED"
  58572. }
  58573. }
  58574. },
  58575. "AlipayIserviceCcmSwArticleBatchqueryResponseModel" : {
  58576. "type" : "object",
  58577. "properties" : {
  58578. "articles" : {
  58579. "type" : "array",
  58580. "description" : "文章信息",
  58581. "items" : {
  58582. "$ref" : "#/components/schemas/ArticleInfo"
  58583. }
  58584. }
  58585. }
  58586. },
  58587. "AlipayIserviceCcmSwArticleCreateErrorResponseModel" : {
  58588. "required" : [ "code", "message" ],
  58589. "type" : "object",
  58590. "properties" : {
  58591. "code" : {
  58592. "type" : "string",
  58593. "description" : "错误码",
  58594. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  58595. },
  58596. "links" : {
  58597. "type" : "string",
  58598. "description" : "解决方案链接"
  58599. },
  58600. "message" : {
  58601. "type" : "string",
  58602. "description" : "错误描述"
  58603. }
  58604. }
  58605. },
  58606. "AlipayIserviceCcmSwArticleCreateModel" : {
  58607. "type" : "object",
  58608. "properties" : {
  58609. "category_id" : {
  58610. "type" : "integer",
  58611. "description" : "所属类目ID,如果search_all_category为true则不用填",
  58612. "example" : "12"
  58613. },
  58614. "ccs_instance_id" : {
  58615. "type" : "string",
  58616. "description" : "子部门ID,不传为默认部门",
  58617. "example" : "ZPNASDK"
  58618. },
  58619. "content" : {
  58620. "type" : "string",
  58621. "description" : "内容",
  58622. "example" : "这是一个普通的内容文本"
  58623. },
  58624. "extend_titles" : {
  58625. "type" : "array",
  58626. "description" : "扩展标题",
  58627. "items" : {
  58628. "type" : "string"
  58629. },
  58630. "example" : "[\"支付宝\",\"知识库\"]"
  58631. },
  58632. "keywords" : {
  58633. "type" : "array",
  58634. "description" : "标签",
  58635. "items" : {
  58636. "type" : "string"
  58637. },
  58638. "example" : "[\"关键\",\"核心\"]"
  58639. },
  58640. "library_id" : {
  58641. "type" : "string",
  58642. "description" : "知识库ID",
  58643. "example" : "1"
  58644. },
  58645. "scene_codes" : {
  58646. "type" : "array",
  58647. "description" : "场景ID。KNOWLEDGE(内部知识库);ROBOT(机器人);HELP(帮助中心);WHELP(无线帮助中心)",
  58648. "items" : {
  58649. "type" : "string"
  58650. },
  58651. "example" : "[\"KNOWLEDGE\",\"ROBOT\",\"HELP\",\"WHELP\"]"
  58652. },
  58653. "title" : {
  58654. "type" : "string",
  58655. "description" : "标题",
  58656. "example" : "这是一个普通的标题"
  58657. }
  58658. }
  58659. },
  58660. "AlipayIserviceCcmSwArticleCreateResponseModel" : {
  58661. "type" : "object",
  58662. "properties" : {
  58663. "id" : {
  58664. "type" : "integer",
  58665. "description" : "文章ID",
  58666. "example" : "1"
  58667. }
  58668. }
  58669. },
  58670. "AlipayIserviceCcmSwArticleDeleteErrorResponseModel" : {
  58671. "required" : [ "code", "message" ],
  58672. "type" : "object",
  58673. "properties" : {
  58674. "code" : {
  58675. "type" : "string",
  58676. "description" : "错误码",
  58677. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  58678. },
  58679. "links" : {
  58680. "type" : "string",
  58681. "description" : "解决方案链接"
  58682. },
  58683. "message" : {
  58684. "type" : "string",
  58685. "description" : "错误描述"
  58686. }
  58687. }
  58688. },
  58689. "AlipayIserviceCcmSwArticleDeleteResponseModel" : {
  58690. "type" : "object"
  58691. },
  58692. "AlipayIserviceCcmSwArticleGetErrorResponseModel" : {
  58693. "required" : [ "code", "message" ],
  58694. "type" : "object",
  58695. "properties" : {
  58696. "code" : {
  58697. "type" : "string",
  58698. "description" : "错误码",
  58699. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  58700. },
  58701. "links" : {
  58702. "type" : "string",
  58703. "description" : "解决方案链接"
  58704. },
  58705. "message" : {
  58706. "type" : "string",
  58707. "description" : "错误描述"
  58708. }
  58709. }
  58710. },
  58711. "AlipayIserviceCcmSwArticleGetResponseModel" : {
  58712. "type" : "object",
  58713. "properties" : {
  58714. "attachments" : {
  58715. "type" : "array",
  58716. "description" : "文章对应附件集合",
  58717. "items" : {
  58718. "$ref" : "#/components/schemas/ArticleAttachmentInfo"
  58719. }
  58720. },
  58721. "category_id" : {
  58722. "type" : "integer",
  58723. "description" : "所属类目ID",
  58724. "example" : "12"
  58725. },
  58726. "category_name_path" : {
  58727. "type" : "string",
  58728. "description" : "类目名称路径",
  58729. "example" : "知识库-演示"
  58730. },
  58731. "category_path" : {
  58732. "type" : "array",
  58733. "description" : "类目路径",
  58734. "items" : {
  58735. "$ref" : "#/components/schemas/ArticleCategoryInfo"
  58736. }
  58737. },
  58738. "content" : {
  58739. "type" : "string",
  58740. "description" : "内容",
  58741. "example" : "我是文章内容"
  58742. },
  58743. "create_time" : {
  58744. "type" : "string",
  58745. "description" : "创建时间",
  58746. "example" : "2020-12-31 23:59:59"
  58747. },
  58748. "creator_id" : {
  58749. "type" : "string",
  58750. "description" : "创建人",
  58751. "example" : "10001"
  58752. },
  58753. "extend_titles" : {
  58754. "type" : "array",
  58755. "description" : "扩展标题",
  58756. "items" : {
  58757. "type" : "string"
  58758. },
  58759. "example" : "[\"支付宝\",\"知识库\"]"
  58760. },
  58761. "id" : {
  58762. "type" : "integer",
  58763. "description" : "文章ID",
  58764. "example" : "1"
  58765. },
  58766. "keywords" : {
  58767. "type" : "array",
  58768. "description" : "标签",
  58769. "items" : {
  58770. "type" : "string"
  58771. },
  58772. "example" : "[\"标签\"]"
  58773. },
  58774. "library_id" : {
  58775. "type" : "integer",
  58776. "description" : "知识库ID",
  58777. "example" : "1"
  58778. },
  58779. "order_no" : {
  58780. "type" : "integer",
  58781. "description" : "排序值",
  58782. "example" : "5"
  58783. },
  58784. "pictures" : {
  58785. "type" : "array",
  58786. "description" : "文章对应图片集合",
  58787. "items" : {
  58788. "$ref" : "#/components/schemas/ArticleAttachmentInfo"
  58789. }
  58790. },
  58791. "publish_end" : {
  58792. "type" : "string",
  58793. "description" : "有效期止",
  58794. "example" : "2022-06-11 16:14:58"
  58795. },
  58796. "publish_start" : {
  58797. "type" : "string",
  58798. "description" : "有效期起始",
  58799. "example" : "2020-06-11 16:14:58"
  58800. },
  58801. "scene_codes" : {
  58802. "type" : "array",
  58803. "description" : "场景ID。1(内部知识库);2(机器人);3(帮助中心);4(无线帮助中心)",
  58804. "items" : {
  58805. "type" : "string"
  58806. },
  58807. "example" : "[\"1\",\"2\",\"3\",\"4\"]"
  58808. },
  58809. "source" : {
  58810. "type" : "string",
  58811. "description" : "来源",
  58812. "example" : "网关录入"
  58813. },
  58814. "status" : {
  58815. "type" : "string",
  58816. "description" : "文章状态",
  58817. "example" : "已发布"
  58818. },
  58819. "status_code" : {
  58820. "type" : "string",
  58821. "description" : "文章状态码",
  58822. "example" : "PUBLISHED"
  58823. },
  58824. "title" : {
  58825. "type" : "string",
  58826. "description" : "标题",
  58827. "example" : "我是文章标题"
  58828. },
  58829. "update_time" : {
  58830. "type" : "string",
  58831. "description" : "修改时间",
  58832. "example" : "2020-12-31 23:59:59"
  58833. },
  58834. "updater_id" : {
  58835. "type" : "string",
  58836. "description" : "修改人",
  58837. "example" : "10001"
  58838. },
  58839. "updater_name" : {
  58840. "type" : "string",
  58841. "description" : "修改人名称",
  58842. "example" : "admin"
  58843. }
  58844. }
  58845. },
  58846. "AlipayIserviceCcmSwArticleModifyErrorResponseModel" : {
  58847. "required" : [ "code", "message" ],
  58848. "type" : "object",
  58849. "properties" : {
  58850. "code" : {
  58851. "type" : "string",
  58852. "description" : "错误码",
  58853. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  58854. },
  58855. "links" : {
  58856. "type" : "string",
  58857. "description" : "解决方案链接"
  58858. },
  58859. "message" : {
  58860. "type" : "string",
  58861. "description" : "错误描述"
  58862. }
  58863. }
  58864. },
  58865. "AlipayIserviceCcmSwArticleModifyModel" : {
  58866. "type" : "object",
  58867. "properties" : {
  58868. "category_id" : {
  58869. "type" : "integer",
  58870. "description" : "所属类目ID,如果search_all_category为true则不用填",
  58871. "example" : "12"
  58872. },
  58873. "ccs_instance_id" : {
  58874. "type" : "string",
  58875. "description" : "子部门ID,不传为默认部门",
  58876. "example" : "ZPNASDK"
  58877. },
  58878. "content" : {
  58879. "type" : "string",
  58880. "description" : "内容",
  58881. "example" : "这是一个普通的内容文本"
  58882. },
  58883. "extend_titles" : {
  58884. "type" : "array",
  58885. "description" : "扩展标题",
  58886. "items" : {
  58887. "type" : "string"
  58888. },
  58889. "example" : "[\"支付宝\",\"知识库\"]"
  58890. },
  58891. "id" : {
  58892. "type" : "integer",
  58893. "description" : "文章ID",
  58894. "example" : "1"
  58895. },
  58896. "keywords" : {
  58897. "type" : "array",
  58898. "description" : "标签",
  58899. "items" : {
  58900. "type" : "string"
  58901. },
  58902. "example" : "[\"关键\",\"核心\"]"
  58903. },
  58904. "scene_codes" : {
  58905. "type" : "array",
  58906. "description" : "场景ID。1(内部知识库);2(机器人);3(帮助中心);4(无线帮助中心)",
  58907. "items" : {
  58908. "type" : "string"
  58909. },
  58910. "example" : "[\"1\",\"2\",\"3\",\"4\"]"
  58911. },
  58912. "title" : {
  58913. "type" : "string",
  58914. "description" : "标题",
  58915. "example" : "这是一个普通的标题"
  58916. }
  58917. }
  58918. },
  58919. "AlipayIserviceCcmSwArticleModifyResponseModel" : {
  58920. "type" : "object"
  58921. },
  58922. "AlipayIserviceCcmSwKnowledgeModifyErrorResponseModel" : {
  58923. "required" : [ "code", "message" ],
  58924. "type" : "object",
  58925. "properties" : {
  58926. "code" : {
  58927. "type" : "string",
  58928. "description" : "错误码",
  58929. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  58930. },
  58931. "links" : {
  58932. "type" : "string",
  58933. "description" : "解决方案链接"
  58934. },
  58935. "message" : {
  58936. "type" : "string",
  58937. "description" : "错误描述"
  58938. }
  58939. }
  58940. },
  58941. "AlipayIserviceCcmSwKnowledgeModifyModel" : {
  58942. "type" : "object",
  58943. "properties" : {
  58944. "category_id" : {
  58945. "type" : "integer",
  58946. "description" : "所属类目ID",
  58947. "example" : "12"
  58948. },
  58949. "category_name" : {
  58950. "type" : "string",
  58951. "description" : "知识点所属类目",
  58952. "example" : "平板电脑"
  58953. },
  58954. "content" : {
  58955. "type" : "string",
  58956. "description" : "知识点答案内容",
  58957. "example" : "商品的发货地是广东佛山"
  58958. },
  58959. "ext_id" : {
  58960. "type" : "string",
  58961. "description" : "外部知识点ID",
  58962. "example" : "qa0002003004005006"
  58963. },
  58964. "extend_titles" : {
  58965. "type" : "array",
  58966. "description" : "扩展标题(问法)",
  58967. "items" : {
  58968. "type" : "string"
  58969. },
  58970. "example" : "[\"商品从哪里发货\"]"
  58971. },
  58972. "icon" : {
  58973. "type" : "string",
  58974. "description" : "问答关联图片附件地址",
  58975. "example" : "https://image.baidu.com/search/detail?ct=503316480&z=0"
  58976. },
  58977. "id" : {
  58978. "type" : "integer",
  58979. "description" : "知识点ID",
  58980. "example" : "123456"
  58981. },
  58982. "is_delete" : {
  58983. "type" : "boolean",
  58984. "description" : "默认为false,为true且id非空时,表示删除知识点",
  58985. "example" : "false"
  58986. },
  58987. "is_searchable" : {
  58988. "type" : "boolean",
  58989. "description" : "是否被检索到,默认false,系统希望为true",
  58990. "example" : "true"
  58991. },
  58992. "library_id" : {
  58993. "type" : "integer",
  58994. "description" : "知识库ID",
  58995. "example" : "23"
  58996. },
  58997. "library_name" : {
  58998. "type" : "string",
  58999. "description" : "知识库名称",
  59000. "example" : "商品知识库"
  59001. },
  59002. "spu" : {
  59003. "$ref" : "#/components/schemas/SpuDetail"
  59004. },
  59005. "tags" : {
  59006. "type" : "array",
  59007. "description" : "以逗号分割的字符串列表",
  59008. "items" : {
  59009. "type" : "string"
  59010. },
  59011. "example" : "[\"发货地\",\"发货点\"]"
  59012. },
  59013. "title" : {
  59014. "type" : "string",
  59015. "description" : "知识点标题",
  59016. "example" : "商品的发货地是哪里?"
  59017. }
  59018. }
  59019. },
  59020. "AlipayIserviceCcmSwKnowledgeModifyResponseModel" : {
  59021. "type" : "object",
  59022. "properties" : {
  59023. "id" : {
  59024. "type" : "integer",
  59025. "description" : "知识点ID",
  59026. "example" : "12345"
  59027. }
  59028. }
  59029. },
  59030. "AlipayIserviceCcmSwLibraryBatchqueryErrorResponseModel" : {
  59031. "required" : [ "code", "message" ],
  59032. "type" : "object",
  59033. "properties" : {
  59034. "code" : {
  59035. "type" : "string",
  59036. "description" : "错误码",
  59037. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  59038. },
  59039. "links" : {
  59040. "type" : "string",
  59041. "description" : "解决方案链接"
  59042. },
  59043. "message" : {
  59044. "type" : "string",
  59045. "description" : "错误描述"
  59046. }
  59047. }
  59048. },
  59049. "AlipayIserviceCcmSwLibraryBatchqueryResponseModel" : {
  59050. "type" : "object",
  59051. "properties" : {
  59052. "libraries" : {
  59053. "type" : "array",
  59054. "description" : "知识库集合",
  59055. "items" : {
  59056. "$ref" : "#/components/schemas/LibraryInfo"
  59057. }
  59058. }
  59059. }
  59060. },
  59061. "AlipayIserviceCcmSwLibraryCreateErrorResponseModel" : {
  59062. "required" : [ "code", "message" ],
  59063. "type" : "object",
  59064. "properties" : {
  59065. "code" : {
  59066. "type" : "string",
  59067. "description" : "错误码",
  59068. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  59069. },
  59070. "links" : {
  59071. "type" : "string",
  59072. "description" : "解决方案链接"
  59073. },
  59074. "message" : {
  59075. "type" : "string",
  59076. "description" : "错误描述"
  59077. }
  59078. }
  59079. },
  59080. "AlipayIserviceCcmSwLibraryCreateModel" : {
  59081. "type" : "object",
  59082. "properties" : {
  59083. "ccs_instance_id" : {
  59084. "type" : "string",
  59085. "description" : "子部门ID,不传为默认部门",
  59086. "example" : "ZPNASDK"
  59087. },
  59088. "instance_code" : {
  59089. "type" : "string",
  59090. "description" : "知识库对应的类目树名称,与treeId不可同时为空",
  59091. "example" : "TREE_cVE_MHk8_1532332260914"
  59092. },
  59093. "name" : {
  59094. "type" : "string",
  59095. "description" : "知识库名称",
  59096. "example" : "商品库"
  59097. },
  59098. "tree_id" : {
  59099. "type" : "integer",
  59100. "description" : "知识库对应的类目树Id,与instanceCode不可同时为空",
  59101. "example" : "12"
  59102. }
  59103. }
  59104. },
  59105. "AlipayIserviceCcmSwLibraryCreateResponseModel" : {
  59106. "type" : "object",
  59107. "properties" : {
  59108. "id" : {
  59109. "type" : "integer",
  59110. "description" : "知识库Id",
  59111. "example" : "1"
  59112. }
  59113. }
  59114. },
  59115. "AlipayIserviceCcmSwLibraryDeleteErrorResponseModel" : {
  59116. "required" : [ "code", "message" ],
  59117. "type" : "object",
  59118. "properties" : {
  59119. "code" : {
  59120. "type" : "string",
  59121. "description" : "错误码",
  59122. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  59123. },
  59124. "links" : {
  59125. "type" : "string",
  59126. "description" : "解决方案链接"
  59127. },
  59128. "message" : {
  59129. "type" : "string",
  59130. "description" : "错误描述"
  59131. }
  59132. }
  59133. },
  59134. "AlipayIserviceCcmSwLibraryDeleteResponseModel" : {
  59135. "type" : "object"
  59136. },
  59137. "AlipayIserviceCcmSwLibraryModifyErrorResponseModel" : {
  59138. "required" : [ "code", "message" ],
  59139. "type" : "object",
  59140. "properties" : {
  59141. "code" : {
  59142. "type" : "string",
  59143. "description" : "错误码",
  59144. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  59145. },
  59146. "links" : {
  59147. "type" : "string",
  59148. "description" : "解决方案链接"
  59149. },
  59150. "message" : {
  59151. "type" : "string",
  59152. "description" : "错误描述"
  59153. }
  59154. }
  59155. },
  59156. "AlipayIserviceCcmSwLibraryModifyModel" : {
  59157. "type" : "object",
  59158. "properties" : {
  59159. "ccs_instance_id" : {
  59160. "type" : "string",
  59161. "description" : "子部门ID,不传为默认部门",
  59162. "example" : "ZPNASDK"
  59163. },
  59164. "id" : {
  59165. "type" : "string",
  59166. "description" : "知识库Id",
  59167. "example" : "1"
  59168. },
  59169. "name" : {
  59170. "type" : "string",
  59171. "description" : "知识库名称",
  59172. "example" : "商品库"
  59173. }
  59174. }
  59175. },
  59176. "AlipayIserviceCcmSwLibraryModifyResponseModel" : {
  59177. "type" : "object"
  59178. },
  59179. "AlipayIserviceCcmSwOrderSyncErrorResponseModel" : {
  59180. "required" : [ "code", "message" ],
  59181. "type" : "object",
  59182. "properties" : {
  59183. "code" : {
  59184. "type" : "string",
  59185. "description" : "错误码",
  59186. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  59187. },
  59188. "links" : {
  59189. "type" : "string",
  59190. "description" : "解决方案链接"
  59191. },
  59192. "message" : {
  59193. "type" : "string",
  59194. "description" : "错误描述"
  59195. }
  59196. }
  59197. },
  59198. "AlipayIserviceCcmSwOrderSyncModel" : {
  59199. "type" : "object",
  59200. "properties" : {
  59201. "amount" : {
  59202. "type" : "string",
  59203. "description" : "订单金额",
  59204. "example" : "12234.33"
  59205. },
  59206. "link_url" : {
  59207. "type" : "string",
  59208. "description" : "订单链接",
  59209. "example" : "http://taobao.com/order/1214134234"
  59210. },
  59211. "logistic_count" : {
  59212. "type" : "integer",
  59213. "description" : "订单物流数量",
  59214. "example" : "1"
  59215. },
  59216. "logistics" : {
  59217. "type" : "array",
  59218. "description" : "物流信息列表",
  59219. "items" : {
  59220. "$ref" : "#/components/schemas/LogisticInfo"
  59221. }
  59222. },
  59223. "order_create_time" : {
  59224. "type" : "string",
  59225. "description" : "订单创建时间",
  59226. "example" : "2022-04-04 09:09:09"
  59227. },
  59228. "order_id" : {
  59229. "type" : "string",
  59230. "description" : "订单id",
  59231. "example" : "123121414"
  59232. },
  59233. "order_type" : {
  59234. "type" : "string",
  59235. "description" : "普通订单:NORMAL\t预售订单:PRE_SALE",
  59236. "example" : "NORMAL"
  59237. },
  59238. "spu_count" : {
  59239. "type" : "integer",
  59240. "description" : "订单商品种类",
  59241. "example" : "1"
  59242. },
  59243. "spus" : {
  59244. "type" : "array",
  59245. "description" : "订单商品信息",
  59246. "items" : {
  59247. "$ref" : "#/components/schemas/SpuInfo"
  59248. }
  59249. },
  59250. "status" : {
  59251. "type" : "string",
  59252. "description" : "订单状态,目前支持以下几种状态\t下单未支付\tWAIT_PAY\t支付未发货\tPAIED\t已发货\tIN_DELIVERY\t售后中\tIN_AFTER_SALE\t订单完成\tFINISHED",
  59253. "example" : "WAIT_PAY"
  59254. },
  59255. "sub_status" : {
  59256. "type" : "string",
  59257. "description" : "订单子状态",
  59258. "example" : "SIGNED"
  59259. },
  59260. "user_id" : {
  59261. "type" : "string",
  59262. "description" : "下单用户id(外部系统ID)",
  59263. "example" : "90932423423"
  59264. }
  59265. }
  59266. },
  59267. "AlipayIserviceCcmSwOrderSyncResponseModel" : {
  59268. "type" : "object",
  59269. "properties" : {
  59270. "order_id" : {
  59271. "type" : "string",
  59272. "description" : "订单id",
  59273. "example" : "124121453"
  59274. }
  59275. }
  59276. },
  59277. "AlipayIserviceCcmSwSpuSyncErrorResponseModel" : {
  59278. "required" : [ "code", "message" ],
  59279. "type" : "object",
  59280. "properties" : {
  59281. "code" : {
  59282. "type" : "string",
  59283. "description" : "错误码",
  59284. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  59285. },
  59286. "links" : {
  59287. "type" : "string",
  59288. "description" : "解决方案链接"
  59289. },
  59290. "message" : {
  59291. "type" : "string",
  59292. "description" : "错误描述"
  59293. }
  59294. }
  59295. },
  59296. "AlipayIserviceCcmSwSpuSyncModel" : {
  59297. "type" : "object",
  59298. "properties" : {
  59299. "attribute" : {
  59300. "type" : "array",
  59301. "description" : "商品属性列表",
  59302. "items" : {
  59303. "$ref" : "#/components/schemas/SpuAttribute"
  59304. }
  59305. },
  59306. "brand" : {
  59307. "type" : "string",
  59308. "description" : "商品品牌",
  59309. "example" : "米其林"
  59310. },
  59311. "category" : {
  59312. "type" : "string",
  59313. "description" : "商品类目,用于商品库中分类",
  59314. "example" : "美妆"
  59315. },
  59316. "description" : {
  59317. "type" : "string",
  59318. "description" : "商品描述",
  59319. "example" : "商品质量符合XX标准,支持7天无理由退换"
  59320. },
  59321. "icon" : {
  59322. "type" : "string",
  59323. "description" : "商品图片链接\t特殊可选规则:is_delete=false的情况下必填",
  59324. "example" : "https://image.baidu.com/search/detail?ct=503316480&z=0&ipn=d"
  59325. },
  59326. "is_delete" : {
  59327. "type" : "string",
  59328. "description" : "默认为false,为true,表示删除知识点",
  59329. "example" : "false"
  59330. },
  59331. "library_id" : {
  59332. "type" : "integer",
  59333. "description" : "知识库id",
  59334. "example" : "23"
  59335. },
  59336. "library_name" : {
  59337. "type" : "string",
  59338. "description" : "知识库名称",
  59339. "example" : "商品知识库"
  59340. },
  59341. "link_url" : {
  59342. "type" : "string",
  59343. "description" : "商品链接\t特殊可选规则:is_delete=false的情况下必填",
  59344. "example" : "https://detail.tmall.com/item.htm?id=530187047412&ali_trackid=2:mm_26632614_0_0:1603785697_244_935652742"
  59345. },
  59346. "original_price" : {
  59347. "type" : "string",
  59348. "description" : "商品原价",
  59349. "example" : "123.58"
  59350. },
  59351. "price" : {
  59352. "type" : "string",
  59353. "description" : "商品售价\t特殊可选规则:is_delete=false的情况下必填",
  59354. "example" : "99.99"
  59355. },
  59356. "spu_id" : {
  59357. "type" : "string",
  59358. "description" : "商品ID",
  59359. "example" : "spu1212391923"
  59360. },
  59361. "status" : {
  59362. "type" : "string",
  59363. "description" : "商品状态:AVAILABLE 表示可售卖,SOLD_OUT为售罄/不可卖,默认可售卖",
  59364. "example" : "AVAILABLE"
  59365. },
  59366. "title" : {
  59367. "type" : "string",
  59368. "description" : "商品名称\t特殊可选规则:is_delete=false的情况下必填",
  59369. "example" : "汽车盲点BSD并线辅助系统盲点监测变道后视镜盲区监控雷达预警"
  59370. }
  59371. }
  59372. },
  59373. "AlipayIserviceCcmSwSpuSyncResponseModel" : {
  59374. "type" : "object",
  59375. "properties" : {
  59376. "spu_id" : {
  59377. "type" : "string",
  59378. "description" : "商品id",
  59379. "example" : "spu12434234234"
  59380. }
  59381. }
  59382. },
  59383. "AlipayIserviceCcmSwTreeBatchqueryErrorResponseModel" : {
  59384. "required" : [ "code", "message" ],
  59385. "type" : "object",
  59386. "properties" : {
  59387. "code" : {
  59388. "type" : "string",
  59389. "description" : "错误码",
  59390. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  59391. },
  59392. "links" : {
  59393. "type" : "string",
  59394. "description" : "解决方案链接"
  59395. },
  59396. "message" : {
  59397. "type" : "string",
  59398. "description" : "错误描述"
  59399. }
  59400. }
  59401. },
  59402. "AlipayIserviceCcmSwTreeBatchqueryResponseModel" : {
  59403. "type" : "object",
  59404. "properties" : {
  59405. "trees" : {
  59406. "type" : "array",
  59407. "description" : "类目集合",
  59408. "items" : {
  59409. "$ref" : "#/components/schemas/TreeInfo"
  59410. }
  59411. }
  59412. }
  59413. },
  59414. "AlipayIserviceCcmSwTreeCreateErrorResponseModel" : {
  59415. "required" : [ "code", "message" ],
  59416. "type" : "object",
  59417. "properties" : {
  59418. "code" : {
  59419. "type" : "string",
  59420. "description" : "错误码",
  59421. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  59422. },
  59423. "links" : {
  59424. "type" : "string",
  59425. "description" : "解决方案链接"
  59426. },
  59427. "message" : {
  59428. "type" : "string",
  59429. "description" : "错误描述"
  59430. }
  59431. }
  59432. },
  59433. "AlipayIserviceCcmSwTreeCreateModel" : {
  59434. "type" : "object",
  59435. "properties" : {
  59436. "ccs_instance_id" : {
  59437. "type" : "string",
  59438. "description" : "子部门ID,不传为默认部门",
  59439. "example" : "ZPNASDK"
  59440. },
  59441. "name" : {
  59442. "type" : "string",
  59443. "description" : "类目名称",
  59444. "example" : "蚂蚁科技"
  59445. }
  59446. }
  59447. },
  59448. "AlipayIserviceCcmSwTreeCreateResponseModel" : {
  59449. "type" : "object",
  59450. "properties" : {
  59451. "id" : {
  59452. "type" : "integer",
  59453. "description" : "类目ID",
  59454. "example" : "1"
  59455. }
  59456. }
  59457. },
  59458. "AlipayIserviceCcmSwTreeDeleteErrorResponseModel" : {
  59459. "required" : [ "code", "message" ],
  59460. "type" : "object",
  59461. "properties" : {
  59462. "code" : {
  59463. "type" : "string",
  59464. "description" : "错误码",
  59465. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  59466. },
  59467. "links" : {
  59468. "type" : "string",
  59469. "description" : "解决方案链接"
  59470. },
  59471. "message" : {
  59472. "type" : "string",
  59473. "description" : "错误描述"
  59474. }
  59475. }
  59476. },
  59477. "AlipayIserviceCcmSwTreeDeleteResponseModel" : {
  59478. "type" : "object"
  59479. },
  59480. "AlipayIserviceCcmSwTreeGetErrorResponseModel" : {
  59481. "required" : [ "code", "message" ],
  59482. "type" : "object",
  59483. "properties" : {
  59484. "code" : {
  59485. "type" : "string",
  59486. "description" : "错误码",
  59487. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  59488. },
  59489. "links" : {
  59490. "type" : "string",
  59491. "description" : "解决方案链接"
  59492. },
  59493. "message" : {
  59494. "type" : "string",
  59495. "description" : "错误描述"
  59496. }
  59497. }
  59498. },
  59499. "AlipayIserviceCcmSwTreeGetResponseModel" : {
  59500. "type" : "object",
  59501. "properties" : {
  59502. "tree" : {
  59503. "type" : "string",
  59504. "description" : "类目树字符串",
  59505. "example" : "{\"description\":\"\",\"fatherId\":0,\"id\":47250,\"name\":\"OpenAPI测试\",\"tags\":[\"KNOWLEDGE\",\"HELP\",\"PLATFORM\"]}"
  59506. }
  59507. }
  59508. },
  59509. "AlipayIserviceCcmSwTreeModifyErrorResponseModel" : {
  59510. "required" : [ "code", "message" ],
  59511. "type" : "object",
  59512. "properties" : {
  59513. "code" : {
  59514. "type" : "string",
  59515. "description" : "错误码",
  59516. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  59517. },
  59518. "links" : {
  59519. "type" : "string",
  59520. "description" : "解决方案链接"
  59521. },
  59522. "message" : {
  59523. "type" : "string",
  59524. "description" : "错误描述"
  59525. }
  59526. }
  59527. },
  59528. "AlipayIserviceCcmSwTreeModifyModel" : {
  59529. "type" : "object",
  59530. "properties" : {
  59531. "ccs_instance_id" : {
  59532. "type" : "string",
  59533. "description" : "子部门ID,不传为默认部门",
  59534. "example" : "ZPNASDK"
  59535. },
  59536. "id" : {
  59537. "type" : "integer",
  59538. "description" : "类目ID",
  59539. "example" : "1"
  59540. },
  59541. "name" : {
  59542. "type" : "string",
  59543. "description" : "类目名称",
  59544. "example" : "蚂蚁科技"
  59545. }
  59546. }
  59547. },
  59548. "AlipayIserviceCcmSwTreeModifyResponseModel" : {
  59549. "type" : "object"
  59550. },
  59551. "AlipayIserviceCcmSwTreePublishErrorResponseModel" : {
  59552. "required" : [ "code", "message" ],
  59553. "type" : "object",
  59554. "properties" : {
  59555. "code" : {
  59556. "type" : "string",
  59557. "description" : "错误码",
  59558. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  59559. },
  59560. "links" : {
  59561. "type" : "string",
  59562. "description" : "解决方案链接"
  59563. },
  59564. "message" : {
  59565. "type" : "string",
  59566. "description" : "错误描述"
  59567. }
  59568. }
  59569. },
  59570. "AlipayIserviceCcmSwTreePublishModel" : {
  59571. "type" : "object",
  59572. "properties" : {
  59573. "ccs_instance_id" : {
  59574. "type" : "string",
  59575. "description" : "子部门ID,不传为默认部门",
  59576. "example" : "ZPNASDK"
  59577. },
  59578. "id" : {
  59579. "type" : "integer",
  59580. "description" : "类目ID",
  59581. "example" : "1"
  59582. }
  59583. }
  59584. },
  59585. "AlipayIserviceCcmSwTreePublishResponseModel" : {
  59586. "type" : "object"
  59587. },
  59588. "AlipayIserviceCcmSwTreecategoryBatchqueryErrorResponseModel" : {
  59589. "required" : [ "code", "message" ],
  59590. "type" : "object",
  59591. "properties" : {
  59592. "code" : {
  59593. "type" : "string",
  59594. "description" : "错误码",
  59595. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  59596. },
  59597. "links" : {
  59598. "type" : "string",
  59599. "description" : "解决方案链接"
  59600. },
  59601. "message" : {
  59602. "type" : "string",
  59603. "description" : "错误描述"
  59604. }
  59605. }
  59606. },
  59607. "AlipayIserviceCcmSwTreecategoryBatchqueryResponseModel" : {
  59608. "type" : "object",
  59609. "properties" : {
  59610. "categories" : {
  59611. "type" : "array",
  59612. "description" : "节点集合",
  59613. "items" : {
  59614. "$ref" : "#/components/schemas/ArticleCategoryInfo"
  59615. }
  59616. },
  59617. "page_num" : {
  59618. "type" : "integer",
  59619. "description" : "页数",
  59620. "example" : "1"
  59621. },
  59622. "page_size" : {
  59623. "type" : "integer",
  59624. "description" : "页显示大小",
  59625. "example" : "10"
  59626. },
  59627. "total_count" : {
  59628. "type" : "integer",
  59629. "description" : "总行数",
  59630. "example" : "1"
  59631. }
  59632. }
  59633. },
  59634. "AlipayIserviceCcmSwTreecategoryCreateErrorResponseModel" : {
  59635. "required" : [ "code", "message" ],
  59636. "type" : "object",
  59637. "properties" : {
  59638. "code" : {
  59639. "type" : "string",
  59640. "description" : "错误码",
  59641. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  59642. },
  59643. "links" : {
  59644. "type" : "string",
  59645. "description" : "解决方案链接"
  59646. },
  59647. "message" : {
  59648. "type" : "string",
  59649. "description" : "错误描述"
  59650. }
  59651. }
  59652. },
  59653. "AlipayIserviceCcmSwTreecategoryCreateModel" : {
  59654. "type" : "object",
  59655. "properties" : {
  59656. "ccs_instance_id" : {
  59657. "type" : "string",
  59658. "description" : "子部门ID,不传为默认部门",
  59659. "example" : "ZPNASDK"
  59660. },
  59661. "description" : {
  59662. "type" : "string",
  59663. "description" : "描述",
  59664. "example" : "这是一段描述"
  59665. },
  59666. "father_id" : {
  59667. "type" : "integer",
  59668. "description" : "父节点ID",
  59669. "example" : "12"
  59670. },
  59671. "name" : {
  59672. "type" : "string",
  59673. "description" : "节点名称",
  59674. "example" : "服务群"
  59675. },
  59676. "tags" : {
  59677. "type" : "array",
  59678. "description" : "标签。KNOWLEDGE(知识库);PLATFORM(公有云工作台);HELP(公有云帮助中心)",
  59679. "items" : {
  59680. "type" : "string"
  59681. },
  59682. "example" : "[\"KNOWLEDGE\",\"PLATFORM\",\"HELP\"]"
  59683. }
  59684. }
  59685. },
  59686. "AlipayIserviceCcmSwTreecategoryCreateResponseModel" : {
  59687. "type" : "object",
  59688. "properties" : {
  59689. "id" : {
  59690. "type" : "integer",
  59691. "description" : "节点ID",
  59692. "example" : "1"
  59693. }
  59694. }
  59695. },
  59696. "AlipayIserviceCcmSwTreecategoryDeleteErrorResponseModel" : {
  59697. "required" : [ "code", "message" ],
  59698. "type" : "object",
  59699. "properties" : {
  59700. "code" : {
  59701. "type" : "string",
  59702. "description" : "错误码",
  59703. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  59704. },
  59705. "links" : {
  59706. "type" : "string",
  59707. "description" : "解决方案链接"
  59708. },
  59709. "message" : {
  59710. "type" : "string",
  59711. "description" : "错误描述"
  59712. }
  59713. }
  59714. },
  59715. "AlipayIserviceCcmSwTreecategoryDeleteResponseModel" : {
  59716. "type" : "object"
  59717. },
  59718. "AlipayIserviceCcmSwTreecategoryModifyErrorResponseModel" : {
  59719. "required" : [ "code", "message" ],
  59720. "type" : "object",
  59721. "properties" : {
  59722. "code" : {
  59723. "type" : "string",
  59724. "description" : "错误码",
  59725. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  59726. },
  59727. "links" : {
  59728. "type" : "string",
  59729. "description" : "解决方案链接"
  59730. },
  59731. "message" : {
  59732. "type" : "string",
  59733. "description" : "错误描述"
  59734. }
  59735. }
  59736. },
  59737. "AlipayIserviceCcmSwTreecategoryModifyModel" : {
  59738. "type" : "object",
  59739. "properties" : {
  59740. "ccs_instance_id" : {
  59741. "type" : "string",
  59742. "description" : "子部门ID,不传为默认部门",
  59743. "example" : "ZPNASDK"
  59744. },
  59745. "description" : {
  59746. "type" : "string",
  59747. "description" : "描述",
  59748. "example" : "这是一段描述"
  59749. },
  59750. "father_id" : {
  59751. "type" : "string",
  59752. "description" : "父节点ID",
  59753. "example" : "12"
  59754. },
  59755. "id" : {
  59756. "type" : "integer",
  59757. "description" : "节点ID",
  59758. "example" : "1"
  59759. },
  59760. "name" : {
  59761. "type" : "string",
  59762. "description" : "节点名称",
  59763. "example" : "服务群"
  59764. },
  59765. "tags" : {
  59766. "type" : "string",
  59767. "description" : "标签。KNOWLEDGE(知识库);PLATFORM(公有云工作台);HELP(公有云帮助中心)",
  59768. "example" : "[\"KNOWLEDGE\",\"PLATFORM\",\"HELP\"]"
  59769. }
  59770. }
  59771. },
  59772. "AlipayIserviceCcmSwTreecategoryModifyResponseModel" : {
  59773. "type" : "object"
  59774. },
  59775. "AlipayMarketingActivityAppBatchqueryErrorResponseModel" : {
  59776. "required" : [ "code", "message" ],
  59777. "type" : "object",
  59778. "properties" : {
  59779. "code" : {
  59780. "type" : "string",
  59781. "description" : "错误码",
  59782. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  59783. },
  59784. "links" : {
  59785. "type" : "string",
  59786. "description" : "解决方案链接"
  59787. },
  59788. "message" : {
  59789. "type" : "string",
  59790. "description" : "错误描述"
  59791. }
  59792. }
  59793. },
  59794. "AlipayMarketingActivityAppBatchqueryResponseModel" : {
  59795. "type" : "object",
  59796. "properties" : {
  59797. "activity_id" : {
  59798. "type" : "string",
  59799. "description" : "活动id",
  59800. "example" : "2016042700826004508401111111"
  59801. },
  59802. "app_infos" : {
  59803. "type" : "array",
  59804. "description" : "可用小程序列表",
  59805. "items" : {
  59806. "$ref" : "#/components/schemas/ActivityAppInfo"
  59807. }
  59808. },
  59809. "page_num" : {
  59810. "type" : "integer",
  59811. "description" : "分页查询页码。",
  59812. "example" : "1"
  59813. },
  59814. "page_size" : {
  59815. "type" : "integer",
  59816. "description" : "分页查询单页数据条数。",
  59817. "example" : "20"
  59818. },
  59819. "total_size" : {
  59820. "type" : "integer",
  59821. "description" : "可用小程序总数量",
  59822. "example" : "200"
  59823. }
  59824. }
  59825. },
  59826. "AlipayMarketingActivityBatchqueryErrorResponseModel" : {
  59827. "required" : [ "code", "message" ],
  59828. "type" : "object",
  59829. "properties" : {
  59830. "code" : {
  59831. "type" : "string",
  59832. "description" : "错误码",
  59833. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  59834. },
  59835. "links" : {
  59836. "type" : "string",
  59837. "description" : "解决方案链接"
  59838. },
  59839. "message" : {
  59840. "type" : "string",
  59841. "description" : "错误描述"
  59842. }
  59843. }
  59844. },
  59845. "AlipayMarketingActivityBatchqueryModel" : {
  59846. "type" : "object",
  59847. "properties" : {
  59848. "activity_status" : {
  59849. "type" : "string",
  59850. "description" : "活动状态 。 ACTIVE:活动已激活,表示活动已经生效,等到活动开始(publish_start_time)之后用户就可以参与活动。 PAUSE:活动已暂停,表示商户临时暂停该活动,该状态下用户不能参与活动。",
  59851. "example" : "ACTIVE"
  59852. },
  59853. "merchant_access_mode" : {
  59854. "type" : "string",
  59855. "description" : "商户接入模式。",
  59856. "example" : "AGENCY_MODE"
  59857. },
  59858. "merchant_id" : {
  59859. "type" : "string",
  59860. "description" : "商户PID,默认为当前接口调用商户。",
  59861. "example" : "2088202967380463"
  59862. },
  59863. "page_num" : {
  59864. "type" : "integer",
  59865. "description" : "分页查询页码。",
  59866. "example" : "1"
  59867. },
  59868. "page_size" : {
  59869. "type" : "integer",
  59870. "description" : "分页查询单页数据条数。",
  59871. "example" : "20"
  59872. }
  59873. }
  59874. },
  59875. "AlipayMarketingActivityBatchqueryResponseModel" : {
  59876. "type" : "object",
  59877. "properties" : {
  59878. "activity_lite_infos" : {
  59879. "type" : "array",
  59880. "description" : "活动摘要信息",
  59881. "items" : {
  59882. "$ref" : "#/components/schemas/ActivityLiteInfo"
  59883. }
  59884. },
  59885. "page_num" : {
  59886. "type" : "integer",
  59887. "description" : "分页查询页码。",
  59888. "example" : "2"
  59889. },
  59890. "page_size" : {
  59891. "type" : "integer",
  59892. "description" : "分页查询单页数据条数。",
  59893. "example" : "20"
  59894. },
  59895. "total_size" : {
  59896. "type" : "string",
  59897. "description" : "经过条件筛选,查询到的活动总数量",
  59898. "example" : "200"
  59899. }
  59900. }
  59901. },
  59902. "AlipayMarketingActivityConsultErrorResponseModel" : {
  59903. "required" : [ "code", "message" ],
  59904. "type" : "object",
  59905. "properties" : {
  59906. "code" : {
  59907. "type" : "string",
  59908. "description" : "错误码",
  59909. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
  59910. },
  59911. "links" : {
  59912. "type" : "string",
  59913. "description" : "解决方案链接"
  59914. },
  59915. "message" : {
  59916. "type" : "string",
  59917. "description" : "错误描述"
  59918. }
  59919. }
  59920. },
  59921. "AlipayMarketingActivityConsultModel" : {
  59922. "type" : "object",
  59923. "properties" : {
  59924. "consult_activity_info_list" : {
  59925. "type" : "array",
  59926. "description" : "待咨询的活动信息列表",
  59927. "items" : {
  59928. "$ref" : "#/components/schemas/ConsultActivityInfo"
  59929. }
  59930. },
  59931. "merchant_access_mode" : {
  59932. "type" : "string",
  59933. "description" : "商户接入模式",
  59934. "example" : "AGENCY_MODE"
  59935. },
  59936. "merchant_id" : {
  59937. "type" : "string",
  59938. "description" : "商户PID,默认为当前接口调用商户 \t限制: \t接口调用者必须有商户代运营权限。 \t\t代运营授权流程https://opendocs.alipay.com/mini/01hm6i#%E4%BB%A3%E8%BF%90%E8%90%A5%E6%8E%88%E6%9D%83",
  59939. "example" : "2088102111111111"
  59940. },
  59941. "open_id" : {
  59942. "type" : "string",
  59943. "description" : "领券的用户openId",
  59944. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  59945. },
  59946. "user_id" : {
  59947. "type" : "string",
  59948. "description" : "领券的用户uid",
  59949. "example" : "2088xxxx"
  59950. }
  59951. }
  59952. },
  59953. "AlipayMarketingActivityConsultResponseModel" : {
  59954. "type" : "object",
  59955. "properties" : {
  59956. "consult_result_info_list" : {
  59957. "type" : "array",
  59958. "description" : "咨询后的活动结果信息",
  59959. "items" : {
  59960. "$ref" : "#/components/schemas/ConsultActivityResultInfo"
  59961. }
  59962. },
  59963. "open_id" : {
  59964. "type" : "string",
  59965. "description" : "领券的用户openId",
  59966. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  59967. },
  59968. "user_id" : {
  59969. "type" : "string",
  59970. "description" : "领券的用户uid",
  59971. "example" : "2088xxxxx"
  59972. }
  59973. }
  59974. },
  59975. "AlipayMarketingActivityDeliveryCreateErrorResponseModel" : {
  59976. "required" : [ "code", "message" ],
  59977. "type" : "object",
  59978. "properties" : {
  59979. "code" : {
  59980. "type" : "string",
  59981. "description" : "错误码",
  59982. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
  59983. },
  59984. "links" : {
  59985. "type" : "string",
  59986. "description" : "解决方案链接"
  59987. },
  59988. "message" : {
  59989. "type" : "string",
  59990. "description" : "错误描述"
  59991. }
  59992. }
  59993. },
  59994. "AlipayMarketingActivityDeliveryCreateModel" : {
  59995. "type" : "object",
  59996. "properties" : {
  59997. "belong_merchant_info" : {
  59998. "$ref" : "#/components/schemas/DeliveryAgencyMerchantInfo"
  59999. },
  60000. "delivery_base_info" : {
  60001. "$ref" : "#/components/schemas/DeliveryBaseInfo"
  60002. },
  60003. "delivery_booth_code" : {
  60004. "type" : "string",
  60005. "description" : "投放的展位编码。",
  60006. "example" : "PUBLIC_UNION"
  60007. },
  60008. "delivery_config_list" : {
  60009. "type" : "array",
  60010. "description" : "[已废弃]\t待创建的投放配置列表。\t最大数量限制20个。",
  60011. "items" : {
  60012. "$ref" : "#/components/schemas/DeliveryConfig"
  60013. }
  60014. },
  60015. "delivery_play_config" : {
  60016. "$ref" : "#/components/schemas/DeliveryPlayConfig"
  60017. },
  60018. "delivery_target_rule" : {
  60019. "$ref" : "#/components/schemas/DeliveryTargetRule"
  60020. },
  60021. "merchant_access_mode" : {
  60022. "type" : "string",
  60023. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  60024. "example" : "SELF_MODE"
  60025. },
  60026. "out_biz_no" : {
  60027. "type" : "string",
  60028. "description" : "外部业务单号,用作幂等控制。 幂等作用:请求返回与上一次相同的结果。 外部接入方需保证业务单号唯一。",
  60029. "example" : "20170101000001654bb46ba"
  60030. }
  60031. }
  60032. },
  60033. "AlipayMarketingActivityDeliveryCreateResponseModel" : {
  60034. "type" : "object",
  60035. "properties" : {
  60036. "delivery_guide_preview_url" : {
  60037. "type" : "string",
  60038. "description" : "预览链接。\t可用于预览用户在承接页面领券的流程。",
  60039. "example" : "alipays://platformapi/startapp?appId=xxxx"
  60040. },
  60041. "delivery_id" : {
  60042. "type" : "string",
  60043. "description" : "投放计划id。",
  60044. "example" : "20121231231242353"
  60045. },
  60046. "error_delivery_config_list" : {
  60047. "type" : "array",
  60048. "description" : "[已废弃]\t创建失败的投放信息列表\t\t失败的投放配置列表中,会返回对应的deliveryConfig对象。",
  60049. "items" : {
  60050. "$ref" : "#/components/schemas/ErrorDeliveryConfig"
  60051. }
  60052. },
  60053. "success_delivery_config_list" : {
  60054. "type" : "array",
  60055. "description" : "[已废弃]\t创建成功的投放信息列表\t\t成功的投放配置列表中,会返回对应的deliveryConfig对象。",
  60056. "items" : {
  60057. "$ref" : "#/components/schemas/SuccessDeliveryConfig"
  60058. }
  60059. }
  60060. }
  60061. },
  60062. "AlipayMarketingActivityDeliveryQueryErrorResponseModel" : {
  60063. "required" : [ "code", "message" ],
  60064. "type" : "object",
  60065. "properties" : {
  60066. "code" : {
  60067. "type" : "string",
  60068. "description" : "错误码",
  60069. "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "INVALID_PARAMETER" ]
  60070. },
  60071. "links" : {
  60072. "type" : "string",
  60073. "description" : "解决方案链接"
  60074. },
  60075. "message" : {
  60076. "type" : "string",
  60077. "description" : "错误描述"
  60078. }
  60079. }
  60080. },
  60081. "AlipayMarketingActivityDeliveryQueryModel" : {
  60082. "type" : "object",
  60083. "properties" : {
  60084. "belong_merchant_info" : {
  60085. "$ref" : "#/components/schemas/DeliveryAgencyMerchantInfo"
  60086. },
  60087. "delivery_config_list" : {
  60088. "type" : "array",
  60089. "description" : "[已废弃]\t待查询的投放配置列表。\t最大数量限制20个。",
  60090. "items" : {
  60091. "$ref" : "#/components/schemas/DeliveryConfig"
  60092. }
  60093. },
  60094. "merchant_access_mode" : {
  60095. "type" : "string",
  60096. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  60097. "example" : "SELF_MODE"
  60098. }
  60099. }
  60100. },
  60101. "AlipayMarketingActivityDeliveryQueryResponseModel" : {
  60102. "type" : "object",
  60103. "properties" : {
  60104. "delivery_base_info" : {
  60105. "$ref" : "#/components/schemas/DeliveryBaseInfo"
  60106. },
  60107. "delivery_booth_code" : {
  60108. "type" : "string",
  60109. "description" : "运营计划的展位编码。 枚举值: SERVICE_MESSAGE:商家消息(包含订单、订阅、其他消息)",
  60110. "example" : "SERVICE_MESSAGE"
  60111. },
  60112. "delivery_error_msg" : {
  60113. "type" : "string",
  60114. "description" : "投放计划错误信息描述,如投放计划审核失败时为审核失败原因。",
  60115. "example" : "素材审核失败:素材存在敏感信息。"
  60116. },
  60117. "delivery_id" : {
  60118. "type" : "string",
  60119. "description" : "投放计划id",
  60120. "example" : "20121231231242353"
  60121. },
  60122. "delivery_info_list" : {
  60123. "type" : "array",
  60124. "description" : "[已废弃]\t投放信息列表",
  60125. "items" : {
  60126. "$ref" : "#/components/schemas/PromoDeliveryInfo"
  60127. }
  60128. },
  60129. "delivery_play_config" : {
  60130. "$ref" : "#/components/schemas/DeliveryPlayConfig"
  60131. },
  60132. "delivery_status" : {
  60133. "type" : "string",
  60134. "description" : "投放计划状态。 枚举值: ACTIVE:生效中 INACTIVE:失效状态 AUDITING:审核中 AUDIT_NO_PASS:审核不通过。",
  60135. "example" : "ACTIVE"
  60136. },
  60137. "delivery_target_rule" : {
  60138. "$ref" : "#/components/schemas/DeliveryTargetRule"
  60139. }
  60140. }
  60141. },
  60142. "AlipayMarketingActivityDeliveryStopErrorResponseModel" : {
  60143. "required" : [ "code", "message" ],
  60144. "type" : "object",
  60145. "properties" : {
  60146. "code" : {
  60147. "type" : "string",
  60148. "description" : "错误码",
  60149. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
  60150. },
  60151. "links" : {
  60152. "type" : "string",
  60153. "description" : "解决方案链接"
  60154. },
  60155. "message" : {
  60156. "type" : "string",
  60157. "description" : "错误描述"
  60158. }
  60159. }
  60160. },
  60161. "AlipayMarketingActivityDeliveryStopModel" : {
  60162. "type" : "object",
  60163. "properties" : {
  60164. "belong_merchant_info" : {
  60165. "$ref" : "#/components/schemas/DeliveryAgencyMerchantInfo"
  60166. },
  60167. "delivery_config_list" : {
  60168. "type" : "array",
  60169. "description" : "[已废弃]\t待停止的投放配置列表。\t最大数量限制20个。",
  60170. "items" : {
  60171. "$ref" : "#/components/schemas/DeliveryConfig"
  60172. }
  60173. },
  60174. "merchant_access_mode" : {
  60175. "type" : "string",
  60176. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  60177. "example" : "SELF_MODE"
  60178. },
  60179. "out_biz_no" : {
  60180. "type" : "string",
  60181. "description" : "外部业务单号,用作幂等控制。 幂等作用: 再次请求返回与上一次相同的结果。 外部接入方需保证业务单号唯一。",
  60182. "example" : "20170101000001654bb46ba"
  60183. }
  60184. }
  60185. },
  60186. "AlipayMarketingActivityDeliveryStopResponseModel" : {
  60187. "type" : "object",
  60188. "properties" : {
  60189. "delivery_id" : {
  60190. "type" : "string",
  60191. "description" : "推广计划id。",
  60192. "example" : "20121231231242353"
  60193. },
  60194. "error_delivery_config_list" : {
  60195. "type" : "array",
  60196. "description" : "[已废弃]\t停止失败的投放配置列表",
  60197. "items" : {
  60198. "$ref" : "#/components/schemas/ErrorDeliveryConfig"
  60199. }
  60200. },
  60201. "success_delivery_config_list" : {
  60202. "type" : "array",
  60203. "description" : "[已废弃]\t停止成功的投放配置列表",
  60204. "items" : {
  60205. "$ref" : "#/components/schemas/SuccessDeliveryConfig"
  60206. }
  60207. }
  60208. }
  60209. },
  60210. "AlipayMarketingActivityDeliverychannelQueryErrorResponseModel" : {
  60211. "required" : [ "code", "message" ],
  60212. "type" : "object",
  60213. "properties" : {
  60214. "code" : {
  60215. "type" : "string",
  60216. "description" : "错误码",
  60217. "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "INVALID_PARAMETER" ]
  60218. },
  60219. "links" : {
  60220. "type" : "string",
  60221. "description" : "解决方案链接"
  60222. },
  60223. "message" : {
  60224. "type" : "string",
  60225. "description" : "错误描述"
  60226. }
  60227. }
  60228. },
  60229. "AlipayMarketingActivityDeliverychannelQueryModel" : {
  60230. "type" : "object",
  60231. "properties" : {
  60232. "belong_merchant_info" : {
  60233. "$ref" : "#/components/schemas/DeliveryAgencyMerchantInfo"
  60234. },
  60235. "booth_code" : {
  60236. "type" : "string",
  60237. "description" : "展位码。\t\tboothCode含义:boothCode表达的是某个渠道可以投放的展位码。例如:支付结果页PAY_RESULT\t\t枚举值:\tPAY_RESULT:支付结果页。\t\t后续新增可投放的展位后,会在文档中新增描述信息",
  60238. "example" : "PAY_RESULT"
  60239. },
  60240. "page_num" : {
  60241. "type" : "integer",
  60242. "description" : "查询的页码。\t\t特别说明:\t页码从1开始。",
  60243. "example" : "1"
  60244. },
  60245. "page_size" : {
  60246. "type" : "integer",
  60247. "description" : "每页查询的个数,最大值为 100。",
  60248. "example" : "2"
  60249. }
  60250. }
  60251. },
  60252. "AlipayMarketingActivityDeliverychannelQueryResponseModel" : {
  60253. "type" : "object",
  60254. "properties" : {
  60255. "delivery_channel_info_list" : {
  60256. "type" : "array",
  60257. "description" : "可投放的渠道信息列表。\t用于表达当前可以投放的渠道列表信息",
  60258. "items" : {
  60259. "$ref" : "#/components/schemas/DeliveryChannelInfo"
  60260. }
  60261. },
  60262. "page_num" : {
  60263. "type" : "string",
  60264. "description" : "查询的页码。 特别说明: 页码从1开始。",
  60265. "example" : "1"
  60266. },
  60267. "page_size" : {
  60268. "type" : "string",
  60269. "description" : "每页查询个数",
  60270. "example" : "2"
  60271. },
  60272. "total_size" : {
  60273. "type" : "string",
  60274. "description" : "可返回的渠道总数",
  60275. "example" : "6"
  60276. }
  60277. }
  60278. },
  60279. "AlipayMarketingActivityGoodsBatchqueryErrorResponseModel" : {
  60280. "required" : [ "code", "message" ],
  60281. "type" : "object",
  60282. "properties" : {
  60283. "code" : {
  60284. "type" : "string",
  60285. "description" : "错误码",
  60286. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  60287. },
  60288. "links" : {
  60289. "type" : "string",
  60290. "description" : "解决方案链接"
  60291. },
  60292. "message" : {
  60293. "type" : "string",
  60294. "description" : "错误描述"
  60295. }
  60296. }
  60297. },
  60298. "AlipayMarketingActivityGoodsBatchqueryResponseModel" : {
  60299. "type" : "object",
  60300. "properties" : {
  60301. "activity_id" : {
  60302. "type" : "string",
  60303. "description" : "活动id",
  60304. "example" : "2016042700826004508401111111"
  60305. },
  60306. "goods_infos" : {
  60307. "type" : "array",
  60308. "description" : "商品编码列表",
  60309. "items" : {
  60310. "$ref" : "#/components/schemas/ActivityGoodsInfo"
  60311. }
  60312. },
  60313. "page_num" : {
  60314. "type" : "integer",
  60315. "description" : "分页查询页码。",
  60316. "example" : "1"
  60317. },
  60318. "page_size" : {
  60319. "type" : "integer",
  60320. "description" : "分页查询单页数据条数。",
  60321. "example" : "20"
  60322. },
  60323. "total_size" : {
  60324. "type" : "integer",
  60325. "description" : "商品编码总数量",
  60326. "example" : "200"
  60327. }
  60328. }
  60329. },
  60330. "AlipayMarketingActivityMerchantBatchqueryErrorResponseModel" : {
  60331. "required" : [ "code", "message" ],
  60332. "type" : "object",
  60333. "properties" : {
  60334. "code" : {
  60335. "type" : "string",
  60336. "description" : "错误码",
  60337. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  60338. },
  60339. "links" : {
  60340. "type" : "string",
  60341. "description" : "解决方案链接"
  60342. },
  60343. "message" : {
  60344. "type" : "string",
  60345. "description" : "错误描述"
  60346. }
  60347. }
  60348. },
  60349. "AlipayMarketingActivityMerchantBatchqueryResponseModel" : {
  60350. "type" : "object",
  60351. "properties" : {
  60352. "activity_id" : {
  60353. "type" : "string",
  60354. "description" : "活动id",
  60355. "example" : "2016042700826004508401111111"
  60356. },
  60357. "merchant_infos" : {
  60358. "type" : "array",
  60359. "description" : "可用商户列表",
  60360. "items" : {
  60361. "$ref" : "#/components/schemas/ActivityMerchantInfo"
  60362. }
  60363. },
  60364. "page_num" : {
  60365. "type" : "integer",
  60366. "description" : "分页查询页码。",
  60367. "example" : "1"
  60368. },
  60369. "page_size" : {
  60370. "type" : "integer",
  60371. "description" : "分页查询单页数据条数。",
  60372. "example" : "20"
  60373. },
  60374. "total_size" : {
  60375. "type" : "integer",
  60376. "description" : "可用商户总数量",
  60377. "example" : "200"
  60378. }
  60379. }
  60380. },
  60381. "AlipayMarketingActivityOrdervoucherAppendErrorResponseModel" : {
  60382. "required" : [ "code", "message" ],
  60383. "type" : "object",
  60384. "properties" : {
  60385. "code" : {
  60386. "type" : "string",
  60387. "description" : "错误码",
  60388. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
  60389. },
  60390. "links" : {
  60391. "type" : "string",
  60392. "description" : "解决方案链接"
  60393. },
  60394. "message" : {
  60395. "type" : "string",
  60396. "description" : "错误描述"
  60397. }
  60398. }
  60399. },
  60400. "AlipayMarketingActivityOrdervoucherAppendModel" : {
  60401. "type" : "object",
  60402. "properties" : {
  60403. "merchant_access_mode" : {
  60404. "type" : "string",
  60405. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  60406. "example" : "SELF_MODE"
  60407. },
  60408. "out_biz_no" : {
  60409. "type" : "string",
  60410. "description" : "外部业务单号,用作幂等控制。\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t外部接入方需保证业务单号唯一。",
  60411. "example" : "20170101000001654bb46ba"
  60412. },
  60413. "voucher_quantity" : {
  60414. "type" : "integer",
  60415. "description" : "券总预算值。\t\t限制:\t券总预算<= 999999\t\t特别说明:\t该字段的含义是追加到的数量。\t不可减少,只能增加。\t\tcode_mode=\tMERCHANT_UPLOAD 的情况下,voucher_quantity 需要与导入码的总数量保持一致(即历史导入数量 + 追加导入数量)。",
  60416. "example" : "15"
  60417. }
  60418. }
  60419. },
  60420. "AlipayMarketingActivityOrdervoucherAppendResponseModel" : {
  60421. "type" : "object"
  60422. },
  60423. "AlipayMarketingActivityOrdervoucherAssociateErrorResponseModel" : {
  60424. "required" : [ "code", "message" ],
  60425. "type" : "object",
  60426. "properties" : {
  60427. "code" : {
  60428. "type" : "string",
  60429. "description" : "错误码",
  60430. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ACTIVITY_NOT_EXIST", "VOUCHER_NOT_EXIST", "ACTIVITY_NOT_PERMISSION", "VOUCHER_ASSOCIATE_OTHER_TRADE_NO" ]
  60431. },
  60432. "links" : {
  60433. "type" : "string",
  60434. "description" : "解决方案链接"
  60435. },
  60436. "message" : {
  60437. "type" : "string",
  60438. "description" : "错误描述"
  60439. }
  60440. }
  60441. },
  60442. "AlipayMarketingActivityOrdervoucherAssociateModel" : {
  60443. "type" : "object",
  60444. "properties" : {
  60445. "activity_id" : {
  60446. "type" : "string",
  60447. "description" : "活动id",
  60448. "example" : "2016042700826004508401111111"
  60449. },
  60450. "merchant_access_mode" : {
  60451. "type" : "string",
  60452. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  60453. "example" : "AGENCY_MODE"
  60454. },
  60455. "out_biz_no" : {
  60456. "type" : "string",
  60457. "description" : "外部业务单号,用作幂等控制。 幂等作用: 参数不变的情况下,再次请求返回与上一次相同的结果。 外部接入方需保证业务单号唯一。",
  60458. "example" : "20170101000001654bb46ba"
  60459. },
  60460. "trade_no" : {
  60461. "type" : "string",
  60462. "description" : "支付宝支付下单时的商户订单号,欲与该商家券关联的支付宝支付",
  60463. "example" : "2021042322001426261436764012"
  60464. },
  60465. "voucher_code" : {
  60466. "type" : "string",
  60467. "description" : "商家券券码。\t限制:\t券码必须已发放给用户。",
  60468. "example" : "ABE44"
  60469. }
  60470. }
  60471. },
  60472. "AlipayMarketingActivityOrdervoucherAssociateResponseModel" : {
  60473. "type" : "object",
  60474. "properties" : {
  60475. "associate_time" : {
  60476. "type" : "string",
  60477. "description" : "支付宝系统关联订单成功的时间。 格式为:yyyy-MM-dd HH:mm:ss",
  60478. "example" : "2017-01-01 00:00:01"
  60479. }
  60480. }
  60481. },
  60482. "AlipayMarketingActivityOrdervoucherCodecountErrorResponseModel" : {
  60483. "required" : [ "code", "message" ],
  60484. "type" : "object",
  60485. "properties" : {
  60486. "code" : {
  60487. "type" : "string",
  60488. "description" : "错误码",
  60489. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  60490. },
  60491. "links" : {
  60492. "type" : "string",
  60493. "description" : "解决方案链接"
  60494. },
  60495. "message" : {
  60496. "type" : "string",
  60497. "description" : "错误描述"
  60498. }
  60499. }
  60500. },
  60501. "AlipayMarketingActivityOrdervoucherCodecountResponseModel" : {
  60502. "type" : "object",
  60503. "properties" : {
  60504. "success_count" : {
  60505. "type" : "integer",
  60506. "description" : "已经导入的券码数量",
  60507. "example" : "100"
  60508. }
  60509. }
  60510. },
  60511. "AlipayMarketingActivityOrdervoucherCodedepositErrorResponseModel" : {
  60512. "required" : [ "code", "message" ],
  60513. "type" : "object",
  60514. "properties" : {
  60515. "code" : {
  60516. "type" : "string",
  60517. "description" : "错误码",
  60518. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  60519. },
  60520. "links" : {
  60521. "type" : "string",
  60522. "description" : "解决方案链接"
  60523. },
  60524. "message" : {
  60525. "type" : "string",
  60526. "description" : "错误描述"
  60527. }
  60528. }
  60529. },
  60530. "AlipayMarketingActivityOrdervoucherCodedepositModel" : {
  60531. "type" : "object",
  60532. "properties" : {
  60533. "merchant_access_mode" : {
  60534. "type" : "string",
  60535. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  60536. "example" : "SELF_MODE"
  60537. },
  60538. "out_biz_no" : {
  60539. "type" : "string",
  60540. "description" : "外部业务单号,用作幂等控制。\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t外部接入方需保证业务单号唯一。",
  60541. "example" : "20170101000001654bb46ba"
  60542. },
  60543. "voucher_codes" : {
  60544. "type" : "array",
  60545. "description" : "券码的数量列表。接口参数为列表类型。\t\t限制:\t目前最大上传 1000 个。\t\t单个code最长64位。\t\t商户上传的券code列表,code允许包含的字符有0-9、a-z、A-Z、-、_、+、=、|。",
  60546. "items" : {
  60547. "type" : "string"
  60548. },
  60549. "example" : "[\"123AB\",\"45zz6\",\"789CE\"]"
  60550. }
  60551. }
  60552. },
  60553. "AlipayMarketingActivityOrdervoucherCodedepositResponseModel" : {
  60554. "type" : "object",
  60555. "properties" : {
  60556. "fail_count" : {
  60557. "type" : "integer",
  60558. "description" : "导入失败的券码数量",
  60559. "example" : "1"
  60560. },
  60561. "fail_voucher_code_detail_list" : {
  60562. "type" : "array",
  60563. "description" : "上传失败券码详情列表,包括上传失败的券码及对应的错误码和错误原因",
  60564. "items" : {
  60565. "$ref" : "#/components/schemas/FailVoucherCodeDetail"
  60566. }
  60567. },
  60568. "success_count" : {
  60569. "type" : "integer",
  60570. "description" : "导入成功的券码数量",
  60571. "example" : "2"
  60572. },
  60573. "success_voucher_code_list" : {
  60574. "type" : "array",
  60575. "description" : "上传成功的券码列表",
  60576. "items" : {
  60577. "type" : "string"
  60578. },
  60579. "example" : "[\"123AB\",\"45zz6\"]"
  60580. }
  60581. }
  60582. },
  60583. "AlipayMarketingActivityOrdervoucherCreateErrorResponseModel" : {
  60584. "required" : [ "code", "message" ],
  60585. "type" : "object",
  60586. "properties" : {
  60587. "code" : {
  60588. "type" : "string",
  60589. "description" : "错误码",
  60590. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "DISCOUNT_AMOUNT_INSUFFICIENT", "BUSINESS_HAS_RISK" ]
  60591. },
  60592. "links" : {
  60593. "type" : "string",
  60594. "description" : "解决方案链接"
  60595. },
  60596. "message" : {
  60597. "type" : "string",
  60598. "description" : "错误描述"
  60599. }
  60600. }
  60601. },
  60602. "AlipayMarketingActivityOrdervoucherCreateModel" : {
  60603. "type" : "object",
  60604. "properties" : {
  60605. "activity_base_info" : {
  60606. "$ref" : "#/components/schemas/ActivityBaseInfo"
  60607. },
  60608. "activity_name" : {
  60609. "type" : "string",
  60610. "description" : "活动名称。不对用户进行展示,仅供商家在后台管理活动使用。",
  60611. "example" : "满10减1活动"
  60612. },
  60613. "belong_merchant_info" : {
  60614. "$ref" : "#/components/schemas/BelongMerchantInfo"
  60615. },
  60616. "biz_tag" : {
  60617. "type" : "string",
  60618. "description" : "该字段废弃!后续不要使用该字段!商家券业务标签,影响商家券对C端用户的展示形式。",
  60619. "example" : "GROUP_BUY_EXCHANGE_VOUCHER"
  60620. },
  60621. "code_mode" : {
  60622. "type" : "string",
  60623. "description" : "码模式。MERCHANT_UPLOAD:商户上传自定义code,发券时系统随机选取上传的券code发放。MERCHANT_API:发奖时指定券码发奖,此模式无须提前上传券码。",
  60624. "example" : "MERCHANT_UPLOAD"
  60625. },
  60626. "customer_guide" : {
  60627. "$ref" : "#/components/schemas/CustomerGuide"
  60628. },
  60629. "merchant_access_mode" : {
  60630. "type" : "string",
  60631. "description" : "商户接入模式",
  60632. "example" : "AGENCY_MODE"
  60633. },
  60634. "out_biz_no" : {
  60635. "type" : "string",
  60636. "description" : "外部业务单号,用作幂等控制。\t幂等作用:参数不变的情况下,再次请求返回与上一次相同的结果。",
  60637. "example" : "20170101000001654bb46ba"
  60638. },
  60639. "publish_end_time" : {
  60640. "type" : "string",
  60641. "description" : "券发放结束时间。格式为:yyyy-MM-dd HH:mm:ss",
  60642. "example" : "2017-01-29 23:59:59"
  60643. },
  60644. "publish_start_time" : {
  60645. "type" : "string",
  60646. "description" : "券发放开始时间。格式为:yyyy-MM-dd HH:mm:ss",
  60647. "example" : "2017-01-01 00:00:01"
  60648. },
  60649. "voucher_available_scope_info" : {
  60650. "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
  60651. },
  60652. "voucher_customer_guide_info" : {
  60653. "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
  60654. },
  60655. "voucher_deduct_info" : {
  60656. "$ref" : "#/components/schemas/VoucherDeductInfo"
  60657. },
  60658. "voucher_display_info" : {
  60659. "$ref" : "#/components/schemas/VoucherDisplayInfo"
  60660. },
  60661. "voucher_display_pattern_info" : {
  60662. "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
  60663. },
  60664. "voucher_send_mode_info" : {
  60665. "$ref" : "#/components/schemas/VoucherSendModeInfo"
  60666. },
  60667. "voucher_send_rule" : {
  60668. "$ref" : "#/components/schemas/VoucherSendRuleDetail"
  60669. },
  60670. "voucher_type" : {
  60671. "type" : "string",
  60672. "description" : "券类型。商家券支持三类券类型:\tFIX_VOUCHER:满减券;\tDISCOUNT_VOUCHER:折扣券;\tSPECIAL_VOUCHER:特价券;\t兑换券仅支持一类券类型:EXCHANGE_VOUCHER: 兑换券;",
  60673. "example" : "FIX_VOUCHER"
  60674. },
  60675. "voucher_use_rule" : {
  60676. "$ref" : "#/components/schemas/VoucherUseRule"
  60677. },
  60678. "voucher_use_rule_info" : {
  60679. "$ref" : "#/components/schemas/VoucherUseRuleInfo"
  60680. }
  60681. }
  60682. },
  60683. "AlipayMarketingActivityOrdervoucherCreateResponseModel" : {
  60684. "type" : "object",
  60685. "properties" : {
  60686. "activity_id" : {
  60687. "type" : "string",
  60688. "description" : "活动id",
  60689. "example" : "2016042700826004508401111111"
  60690. },
  60691. "voucher_available_scope_result_info" : {
  60692. "$ref" : "#/components/schemas/VoucherAvailableScopeResultInfo"
  60693. },
  60694. "voucher_use_rule_result" : {
  60695. "$ref" : "#/components/schemas/OrderVoucherUseRuleResult"
  60696. }
  60697. }
  60698. },
  60699. "AlipayMarketingActivityOrdervoucherDisassociateErrorResponseModel" : {
  60700. "required" : [ "code", "message" ],
  60701. "type" : "object",
  60702. "properties" : {
  60703. "code" : {
  60704. "type" : "string",
  60705. "description" : "错误码",
  60706. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ACTIVITY_NOT_EXIST", "VOUCHER_NOT_EXIST", "ACTIVITY_NOT_PERMISSION", "VOUCHER_ASSOCIATE_TRADE_NO_ERROR" ]
  60707. },
  60708. "links" : {
  60709. "type" : "string",
  60710. "description" : "解决方案链接"
  60711. },
  60712. "message" : {
  60713. "type" : "string",
  60714. "description" : "错误描述"
  60715. }
  60716. }
  60717. },
  60718. "AlipayMarketingActivityOrdervoucherDisassociateModel" : {
  60719. "type" : "object",
  60720. "properties" : {
  60721. "activity_id" : {
  60722. "type" : "string",
  60723. "description" : "活动id",
  60724. "example" : "2016042700826004508401111111"
  60725. },
  60726. "merchant_access_mode" : {
  60727. "type" : "string",
  60728. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  60729. "example" : "AGENCY_MODE"
  60730. },
  60731. "out_biz_no" : {
  60732. "type" : "string",
  60733. "description" : "外部业务单号,用作幂等控制。 幂等作用: 参数不变的情况下,再次请求返回与上一次相同的结果。 外部接入方需保证业务单号唯一。",
  60734. "example" : "20170101000001654bb46ba"
  60735. },
  60736. "trade_no" : {
  60737. "type" : "string",
  60738. "description" : "该交易在支付宝系统中的交易流水号。",
  60739. "example" : "2021042322001426261436764012"
  60740. },
  60741. "voucher_code" : {
  60742. "type" : "string",
  60743. "description" : "券码。 限制: 券码必须已发放给用户。",
  60744. "example" : "ABE44"
  60745. }
  60746. }
  60747. },
  60748. "AlipayMarketingActivityOrdervoucherDisassociateResponseModel" : {
  60749. "type" : "object",
  60750. "properties" : {
  60751. "disassociate_time" : {
  60752. "type" : "string",
  60753. "description" : "支付宝系统取消关联订单成功的时间。 格式为:yyyy-MM-dd HH:mm:ss",
  60754. "example" : "2017-01-01 00:00:01"
  60755. }
  60756. }
  60757. },
  60758. "AlipayMarketingActivityOrdervoucherModifyErrorResponseModel" : {
  60759. "required" : [ "code", "message" ],
  60760. "type" : "object",
  60761. "properties" : {
  60762. "code" : {
  60763. "type" : "string",
  60764. "description" : "错误码",
  60765. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
  60766. },
  60767. "links" : {
  60768. "type" : "string",
  60769. "description" : "解决方案链接"
  60770. },
  60771. "message" : {
  60772. "type" : "string",
  60773. "description" : "错误描述"
  60774. }
  60775. }
  60776. },
  60777. "AlipayMarketingActivityOrdervoucherModifyModel" : {
  60778. "type" : "object",
  60779. "properties" : {
  60780. "activity_base_info" : {
  60781. "$ref" : "#/components/schemas/ActivityBaseInfo"
  60782. },
  60783. "activity_name" : {
  60784. "type" : "string",
  60785. "description" : "活动名称。",
  60786. "example" : "满10减1活动"
  60787. },
  60788. "customer_guide" : {
  60789. "$ref" : "#/components/schemas/CustomerGuideModify"
  60790. },
  60791. "merchant_access_mode" : {
  60792. "type" : "string",
  60793. "description" : "商户接入模式",
  60794. "example" : "SELF_MODE"
  60795. },
  60796. "out_biz_no" : {
  60797. "type" : "string",
  60798. "description" : "外部业务单号,用作幂等控制。\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。",
  60799. "example" : "20170101000001654bb46ba"
  60800. },
  60801. "publish_end_time" : {
  60802. "type" : "string",
  60803. "description" : "券发放结束时间。该值为空表示不修改\t格式为:yyyy-MM-dd HH:mm:ss",
  60804. "example" : "2017-01-29 23:59:59"
  60805. },
  60806. "publish_start_time" : {
  60807. "type" : "string",
  60808. "description" : "券发放开始时间。 格式为:yyyy-MM-dd HH:mm:ss",
  60809. "example" : "2017-01-01 00:00:01"
  60810. },
  60811. "voucher_available_scope_info" : {
  60812. "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
  60813. },
  60814. "voucher_available_scope_modify_type" : {
  60815. "type" : "string",
  60816. "description" : "可用范围修改类型。",
  60817. "example" : "ADD"
  60818. },
  60819. "voucher_customer_guide_info" : {
  60820. "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
  60821. },
  60822. "voucher_display_info" : {
  60823. "$ref" : "#/components/schemas/VoucherDisplayInfoModify"
  60824. },
  60825. "voucher_display_pattern_info" : {
  60826. "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
  60827. },
  60828. "voucher_send_mode_info" : {
  60829. "$ref" : "#/components/schemas/VoucherSendModeInfo"
  60830. },
  60831. "voucher_send_rule" : {
  60832. "$ref" : "#/components/schemas/VoucherSendRuleDetailModify"
  60833. },
  60834. "voucher_use_rule" : {
  60835. "$ref" : "#/components/schemas/VoucherUseRuleModify"
  60836. },
  60837. "voucher_use_rule_info" : {
  60838. "$ref" : "#/components/schemas/VoucherUseRuleInfo"
  60839. }
  60840. }
  60841. },
  60842. "AlipayMarketingActivityOrdervoucherModifyResponseModel" : {
  60843. "type" : "object",
  60844. "properties" : {
  60845. "voucher_available_scope_result_info" : {
  60846. "$ref" : "#/components/schemas/VoucherAvailableScopeResultInfo"
  60847. },
  60848. "voucher_use_rule_result" : {
  60849. "$ref" : "#/components/schemas/OrderVoucherUseRuleResult"
  60850. }
  60851. }
  60852. },
  60853. "AlipayMarketingActivityOrdervoucherQueryErrorResponseModel" : {
  60854. "required" : [ "code", "message" ],
  60855. "type" : "object",
  60856. "properties" : {
  60857. "code" : {
  60858. "type" : "string",
  60859. "description" : "错误码",
  60860. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  60861. },
  60862. "links" : {
  60863. "type" : "string",
  60864. "description" : "解决方案链接"
  60865. },
  60866. "message" : {
  60867. "type" : "string",
  60868. "description" : "错误描述"
  60869. }
  60870. }
  60871. },
  60872. "AlipayMarketingActivityOrdervoucherQueryResponseModel" : {
  60873. "type" : "object",
  60874. "properties" : {
  60875. "activity_base_info" : {
  60876. "$ref" : "#/components/schemas/ActivityBaseInfo"
  60877. },
  60878. "activity_id" : {
  60879. "type" : "string",
  60880. "description" : "活动id",
  60881. "example" : "2016042700826004508401111111"
  60882. },
  60883. "activity_name" : {
  60884. "type" : "string",
  60885. "description" : "活动名称。不对用户进行展示,仅供商家在后台管理活动使用。",
  60886. "example" : "满10减1优惠券"
  60887. },
  60888. "activity_operation_status" : {
  60889. "type" : "string",
  60890. "description" : "活动操作状态",
  60891. "example" : "MODIFYING"
  60892. },
  60893. "activity_status" : {
  60894. "type" : "string",
  60895. "description" : "活动状态。已激活状态代表活动正常运行,已终止状态代表商家终止活动,不可再发放。",
  60896. "example" : "ACTIVE"
  60897. },
  60898. "belong_merchant_info" : {
  60899. "$ref" : "#/components/schemas/BelongMerchantInfo"
  60900. },
  60901. "biz_tag" : {
  60902. "type" : "string",
  60903. "description" : "商家券业务标签,影响商家券对C端用户的展示形式。",
  60904. "example" : "GROUP_BUY_EXCHANGE_VOUCHER"
  60905. },
  60906. "customer_guide" : {
  60907. "$ref" : "#/components/schemas/CustomerGuide"
  60908. },
  60909. "publish_end_time" : {
  60910. "type" : "string",
  60911. "description" : "券发放结束时间。格式为:yyyy-MM-dd HH:mm:ss",
  60912. "example" : "2017-01-29 23:59:59"
  60913. },
  60914. "publish_start_time" : {
  60915. "type" : "string",
  60916. "description" : "券发放开始时间。格式为:yyyy-MM-dd HH:mm:ss",
  60917. "example" : "2017-01-01 00:00:01"
  60918. },
  60919. "summary" : {
  60920. "$ref" : "#/components/schemas/VoucherSummary"
  60921. },
  60922. "voucher_available_scope_info" : {
  60923. "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
  60924. },
  60925. "voucher_customer_guide_info" : {
  60926. "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
  60927. },
  60928. "voucher_deduct_info" : {
  60929. "$ref" : "#/components/schemas/VoucherDeductInfo"
  60930. },
  60931. "voucher_display_info" : {
  60932. "$ref" : "#/components/schemas/VoucherDisplayInfo"
  60933. },
  60934. "voucher_display_pattern_info" : {
  60935. "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
  60936. },
  60937. "voucher_inventory_info" : {
  60938. "$ref" : "#/components/schemas/VoucherInventoryInfo"
  60939. },
  60940. "voucher_send_mode_info" : {
  60941. "$ref" : "#/components/schemas/VoucherSendModeInfo"
  60942. },
  60943. "voucher_send_rule" : {
  60944. "$ref" : "#/components/schemas/VoucherSendRuleDetail"
  60945. },
  60946. "voucher_type" : {
  60947. "type" : "string",
  60948. "description" : "券类型",
  60949. "example" : "FIX_VOUCHER"
  60950. },
  60951. "voucher_use_rule" : {
  60952. "$ref" : "#/components/schemas/VoucherUseRule"
  60953. },
  60954. "voucher_use_rule_info" : {
  60955. "$ref" : "#/components/schemas/VoucherUseRuleInfo"
  60956. }
  60957. }
  60958. },
  60959. "AlipayMarketingActivityOrdervoucherRefundErrorResponseModel" : {
  60960. "required" : [ "code", "message" ],
  60961. "type" : "object",
  60962. "properties" : {
  60963. "code" : {
  60964. "type" : "string",
  60965. "description" : "错误码",
  60966. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
  60967. },
  60968. "links" : {
  60969. "type" : "string",
  60970. "description" : "解决方案链接"
  60971. },
  60972. "message" : {
  60973. "type" : "string",
  60974. "description" : "错误描述"
  60975. }
  60976. }
  60977. },
  60978. "AlipayMarketingActivityOrdervoucherRefundModel" : {
  60979. "type" : "object",
  60980. "properties" : {
  60981. "biz_dt" : {
  60982. "type" : "string",
  60983. "description" : "当前订单的退券时间。\t\t\t\t格式为:yyyy-MM-dd HH:mm:ss\t\t\t\t特别说明:\t\t支付宝的退款时间按照外部退款的时间为准。",
  60984. "example" : "2017-01-01 00:00:01"
  60985. },
  60986. "merchant_access_mode" : {
  60987. "type" : "string",
  60988. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  60989. "example" : "AGENCY_MODE"
  60990. },
  60991. "out_biz_no" : {
  60992. "type" : "string",
  60993. "description" : "外部业务单号,用作幂等控制。\t\t\t\t幂等作用:\t\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t\t\t外部接入方需保证业务单号唯一",
  60994. "example" : "1002600620019090123143254436"
  60995. },
  60996. "total_fee" : {
  60997. "type" : "string",
  60998. "description" : "当前订单的退款总金额(包含优惠券金额),单位为元。\t\t限制:\t\t该笔订单的资金总额,取值范围[0.01,100000000],精确到小数点后2位。",
  60999. "example" : "999.99"
  61000. },
  61001. "voucher_refund_detail_info" : {
  61002. "$ref" : "#/components/schemas/VoucherRefundDetailInfo"
  61003. }
  61004. }
  61005. },
  61006. "AlipayMarketingActivityOrdervoucherRefundResponseModel" : {
  61007. "type" : "object",
  61008. "properties" : {
  61009. "activity_id" : {
  61010. "type" : "string",
  61011. "description" : "优惠券活动id",
  61012. "example" : "2022113000826004726607680740"
  61013. },
  61014. "voucher_use_detail_result_info" : {
  61015. "$ref" : "#/components/schemas/VoucherUseDetailResultInfo"
  61016. }
  61017. }
  61018. },
  61019. "AlipayMarketingActivityOrdervoucherStopErrorResponseModel" : {
  61020. "required" : [ "code", "message" ],
  61021. "type" : "object",
  61022. "properties" : {
  61023. "code" : {
  61024. "type" : "string",
  61025. "description" : "错误码",
  61026. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
  61027. },
  61028. "links" : {
  61029. "type" : "string",
  61030. "description" : "解决方案链接"
  61031. },
  61032. "message" : {
  61033. "type" : "string",
  61034. "description" : "错误描述"
  61035. }
  61036. }
  61037. },
  61038. "AlipayMarketingActivityOrdervoucherStopModel" : {
  61039. "type" : "object",
  61040. "properties" : {
  61041. "merchant_access_mode" : {
  61042. "type" : "string",
  61043. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  61044. "example" : "SELF_MODE"
  61045. },
  61046. "out_biz_no" : {
  61047. "type" : "string",
  61048. "description" : "外部业务单号,用作幂等控制。\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t外部接入方需保证业务单号唯一。",
  61049. "example" : "20170101000001654bb46ba"
  61050. }
  61051. }
  61052. },
  61053. "AlipayMarketingActivityOrdervoucherStopResponseModel" : {
  61054. "type" : "object"
  61055. },
  61056. "AlipayMarketingActivityOrdervoucherUseErrorResponseModel" : {
  61057. "required" : [ "code", "message" ],
  61058. "type" : "object",
  61059. "properties" : {
  61060. "code" : {
  61061. "type" : "string",
  61062. "description" : "错误码",
  61063. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "ACTIVITY_NOT_PERMISSION" ]
  61064. },
  61065. "links" : {
  61066. "type" : "string",
  61067. "description" : "解决方案链接"
  61068. },
  61069. "message" : {
  61070. "type" : "string",
  61071. "description" : "错误描述"
  61072. }
  61073. }
  61074. },
  61075. "AlipayMarketingActivityOrdervoucherUseModel" : {
  61076. "type" : "object",
  61077. "properties" : {
  61078. "biz_dt" : {
  61079. "type" : "string",
  61080. "description" : "外部优惠券的核销时间,用于流水记录。 格式为:yyyy-MM-dd HH:mm:ss",
  61081. "example" : "2017-01-01 00:00:01"
  61082. },
  61083. "goods_detail" : {
  61084. "type" : "array",
  61085. "description" : "商品明细信息。\t\t\t\t限制:\t\t当前交易中存在商品信息,则建议传入商品明细信息。",
  61086. "items" : {
  61087. "$ref" : "#/components/schemas/GoodsDetailDTO"
  61088. }
  61089. },
  61090. "merchant_access_mode" : {
  61091. "type" : "string",
  61092. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  61093. "example" : "AGENCY_MODE"
  61094. },
  61095. "out_biz_no" : {
  61096. "type" : "string",
  61097. "description" : "外部业务单号,用作幂等控制。\t\t\t\t幂等作用:\t\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t\t\t外部接入方需保证业务单号唯一。",
  61098. "example" : "20170101000001654bb46ba"
  61099. },
  61100. "real_shop_id" : {
  61101. "type" : "string",
  61102. "description" : "用户核销优惠券的代运营商业关系球房id,调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id。\t限制:\t传入的球房id必须是创建商家券voucher_use_rule. voucher_available_scope. order_voucher_available_shop对象中real_shop_ids中的球房id",
  61103. "example" : "2018051000502000000011111111"
  61104. },
  61105. "store_id" : {
  61106. "type" : "string",
  61107. "description" : "用户核销优惠券的支付球房id,调用接口ant.merchant.expand.shop.create创建球房返回的球房id。\t限制:\t传入的球房id必须是创建商家券voucher_use_rule. voucher_available_scope. order_voucher_available_shop对象中shop_ids中的球房id",
  61108. "example" : "2018051000502000000011111111"
  61109. },
  61110. "total_fee" : {
  61111. "type" : "string",
  61112. "description" : "订单优惠前的总金额\t\t\t\t限制:\t\t该笔订单的资金总额,取值范围[0.01,100000000],精确到小数点后2位。",
  61113. "example" : "999.99"
  61114. },
  61115. "trade_channel" : {
  61116. "type" : "string",
  61117. "description" : "交易渠道。\t\t\t\t枚举值:\t\tZHIFUBAO_TRADE_CHANNEL:\t\t支付宝交易渠道\t\t\t\tWX_TRADE_CHANNEL:\t\t微信交易渠道\t\t\t\tOTHER_TRADE_CHANNEL:\t\t其他交易渠道",
  61118. "example" : "ZHIFUBAO_TRADE_CHANNEL"
  61119. },
  61120. "trade_no" : {
  61121. "type" : "string",
  61122. "description" : "该交易在支付宝系统中的交易流水号。\t注意:若用户使用支付宝为交易的渠道,本参数必填。",
  61123. "example" : "2021042322001426261436764012"
  61124. },
  61125. "voucher_use_detail_info" : {
  61126. "$ref" : "#/components/schemas/VoucherUseDetailInfo"
  61127. }
  61128. }
  61129. },
  61130. "AlipayMarketingActivityOrdervoucherUseResponseModel" : {
  61131. "type" : "object",
  61132. "properties" : {
  61133. "activity_id" : {
  61134. "type" : "string",
  61135. "description" : "优惠券活动id",
  61136. "example" : "2016042700826004508401111111"
  61137. },
  61138. "voucher_use_detail_result_info" : {
  61139. "$ref" : "#/components/schemas/VoucherUseDetailResultInfo"
  61140. }
  61141. }
  61142. },
  61143. "AlipayMarketingActivityQueryErrorResponseModel" : {
  61144. "required" : [ "code", "message" ],
  61145. "type" : "object",
  61146. "properties" : {
  61147. "code" : {
  61148. "type" : "string",
  61149. "description" : "错误码",
  61150. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ACTIVITY_NOT_ACTIVE", "ACTIVITY_NOT_PERMISSION" ]
  61151. },
  61152. "links" : {
  61153. "type" : "string",
  61154. "description" : "解决方案链接"
  61155. },
  61156. "message" : {
  61157. "type" : "string",
  61158. "description" : "错误描述"
  61159. }
  61160. }
  61161. },
  61162. "AlipayMarketingActivityQueryResponseModel" : {
  61163. "type" : "object",
  61164. "properties" : {
  61165. "activity_base_info" : {
  61166. "$ref" : "#/components/schemas/ActivityBaseInfo"
  61167. },
  61168. "activity_id" : {
  61169. "type" : "string",
  61170. "description" : "活动id",
  61171. "example" : "2016042700826004508401111111"
  61172. },
  61173. "activity_name" : {
  61174. "type" : "string",
  61175. "description" : "活动名称。 不对用户进行展示,仅供商家在后台管理活动使用。",
  61176. "example" : "满10减1活动"
  61177. },
  61178. "activity_status" : {
  61179. "type" : "string",
  61180. "description" : "活动状态。活动已激活,表示活动已经生效,等到活动开始(publish_start_time)之后用户就可以参与活动。活动已暂停,表示商户临时暂停该活动,该状态下用户不能参与活动。活动已结束,表示商户主动停止活动或活动到期结束(publish_end_time)不能再进行领取或修改等操作。",
  61181. "example" : "ACTIVE"
  61182. },
  61183. "belong_merchant_id" : {
  61184. "type" : "string",
  61185. "description" : "归属商户PID",
  61186. "example" : "2088202967380463"
  61187. },
  61188. "publish_end_time" : {
  61189. "type" : "string",
  61190. "description" : "券发放结束时间。 格式为:yyyy-MM-dd HH:mm:ss",
  61191. "example" : "2017-01-29 23:59:59"
  61192. },
  61193. "publish_start_time" : {
  61194. "type" : "string",
  61195. "description" : "券发放开始时间。 格式为:yyyy-MM-dd HH:mm:ss",
  61196. "example" : "2017-01-01 00:00:01"
  61197. },
  61198. "voucher_available_scope_info" : {
  61199. "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
  61200. },
  61201. "voucher_customer_guide_info" : {
  61202. "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
  61203. },
  61204. "voucher_deduct_info" : {
  61205. "$ref" : "#/components/schemas/VoucherDeductInfo"
  61206. },
  61207. "voucher_display_info" : {
  61208. "$ref" : "#/components/schemas/CommonVoucherDisplayInfo"
  61209. },
  61210. "voucher_display_pattern_info" : {
  61211. "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
  61212. },
  61213. "voucher_send_mode_info" : {
  61214. "$ref" : "#/components/schemas/VoucherSendModeInfo"
  61215. },
  61216. "voucher_send_rule" : {
  61217. "$ref" : "#/components/schemas/CommonVoucherSendRule"
  61218. },
  61219. "voucher_type" : {
  61220. "type" : "string",
  61221. "description" : "券类型。",
  61222. "example" : "FIX_VOUCHER"
  61223. },
  61224. "voucher_use_rule" : {
  61225. "$ref" : "#/components/schemas/CommonVoucherUseRule"
  61226. },
  61227. "voucher_use_rule_info" : {
  61228. "$ref" : "#/components/schemas/VoucherUseRuleInfo"
  61229. }
  61230. }
  61231. },
  61232. "AlipayMarketingActivityShopBatchqueryErrorResponseModel" : {
  61233. "required" : [ "code", "message" ],
  61234. "type" : "object",
  61235. "properties" : {
  61236. "code" : {
  61237. "type" : "string",
  61238. "description" : "错误码",
  61239. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  61240. },
  61241. "links" : {
  61242. "type" : "string",
  61243. "description" : "解决方案链接"
  61244. },
  61245. "message" : {
  61246. "type" : "string",
  61247. "description" : "错误描述"
  61248. }
  61249. }
  61250. },
  61251. "AlipayMarketingActivityShopBatchqueryResponseModel" : {
  61252. "type" : "object",
  61253. "properties" : {
  61254. "activity_id" : {
  61255. "type" : "string",
  61256. "description" : "活动id",
  61257. "example" : "2016042700826004508401111111"
  61258. },
  61259. "page_num" : {
  61260. "type" : "integer",
  61261. "description" : "分页查询页码。",
  61262. "example" : "1"
  61263. },
  61264. "page_size" : {
  61265. "type" : "integer",
  61266. "description" : "分页查询单页数据条数。",
  61267. "example" : "20"
  61268. },
  61269. "shop_infos" : {
  61270. "type" : "array",
  61271. "description" : "可用球房列表",
  61272. "items" : {
  61273. "$ref" : "#/components/schemas/ActivityShopInfo"
  61274. }
  61275. },
  61276. "total_size" : {
  61277. "type" : "integer",
  61278. "description" : "可用球房总数量",
  61279. "example" : "200"
  61280. }
  61281. }
  61282. },
  61283. "AlipayMarketingActivityUserBatchqueryvoucherErrorResponseModel" : {
  61284. "required" : [ "code", "message" ],
  61285. "type" : "object",
  61286. "properties" : {
  61287. "code" : {
  61288. "type" : "string",
  61289. "description" : "错误码",
  61290. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  61291. },
  61292. "links" : {
  61293. "type" : "string",
  61294. "description" : "解决方案链接"
  61295. },
  61296. "message" : {
  61297. "type" : "string",
  61298. "description" : "错误描述"
  61299. }
  61300. }
  61301. },
  61302. "AlipayMarketingActivityUserBatchqueryvoucherResponseModel" : {
  61303. "type" : "object",
  61304. "properties" : {
  61305. "page_num" : {
  61306. "type" : "integer",
  61307. "description" : "分页查询页码",
  61308. "example" : "1"
  61309. },
  61310. "page_size" : {
  61311. "type" : "integer",
  61312. "description" : "分页查询单页数据条数",
  61313. "example" : "20"
  61314. },
  61315. "total_size" : {
  61316. "type" : "integer",
  61317. "description" : "总数量",
  61318. "example" : "200"
  61319. },
  61320. "user_voucher_infos" : {
  61321. "type" : "array",
  61322. "description" : "用户券实例",
  61323. "items" : {
  61324. "$ref" : "#/components/schemas/UserVoucherInfo"
  61325. }
  61326. }
  61327. }
  61328. },
  61329. "AlipayMarketingActivityUserQueryvoucherErrorResponseModel" : {
  61330. "required" : [ "code", "message" ],
  61331. "type" : "object",
  61332. "properties" : {
  61333. "code" : {
  61334. "type" : "string",
  61335. "description" : "错误码",
  61336. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "VOUCHER_NOT_EXIST", "ACTIVITY_NOT_PERMISSION", "MERCHANT_RELATION_NOT_EXIST" ]
  61337. },
  61338. "links" : {
  61339. "type" : "string",
  61340. "description" : "解决方案链接"
  61341. },
  61342. "message" : {
  61343. "type" : "string",
  61344. "description" : "错误描述"
  61345. }
  61346. }
  61347. },
  61348. "AlipayMarketingActivityUserQueryvoucherResponseModel" : {
  61349. "type" : "object",
  61350. "properties" : {
  61351. "activity_base_info" : {
  61352. "$ref" : "#/components/schemas/ActivityBaseInfo"
  61353. },
  61354. "activity_id" : {
  61355. "type" : "string",
  61356. "description" : "活动 id",
  61357. "example" : "2016042700826004508401111111"
  61358. },
  61359. "associate_trade_no" : {
  61360. "type" : "string",
  61361. "description" : "若商家券操作过关联商户订单信息,则该字段返回商家券已关联的商户订单号。",
  61362. "example" : "2021042322001426261436764012"
  61363. },
  61364. "available_begin_time" : {
  61365. "type" : "string",
  61366. "description" : "券可用开始时间",
  61367. "example" : "2017-01-01 00:00:01"
  61368. },
  61369. "available_end_time" : {
  61370. "type" : "string",
  61371. "description" : "券可用结束时间",
  61372. "example" : "2017-01-01 00:00:01"
  61373. },
  61374. "belong_merchant_id" : {
  61375. "type" : "string",
  61376. "description" : "券归属 pid",
  61377. "example" : "2088202967380463"
  61378. },
  61379. "create_time" : {
  61380. "type" : "string",
  61381. "description" : "领券时间",
  61382. "example" : "2017-01-01 00:00:01"
  61383. },
  61384. "user_voucher_base_info" : {
  61385. "$ref" : "#/components/schemas/UserVoucherBaseInfo"
  61386. },
  61387. "voucher_deduct_info" : {
  61388. "$ref" : "#/components/schemas/VoucherDeductInfo"
  61389. },
  61390. "voucher_display_info" : {
  61391. "$ref" : "#/components/schemas/CommonVoucherDisplayInfo"
  61392. },
  61393. "voucher_display_pattern_info" : {
  61394. "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
  61395. },
  61396. "voucher_name" : {
  61397. "type" : "string",
  61398. "description" : "券名称",
  61399. "example" : "满10减1"
  61400. },
  61401. "voucher_send_mode_info" : {
  61402. "$ref" : "#/components/schemas/VoucherSendModeInfo"
  61403. },
  61404. "voucher_send_rule" : {
  61405. "$ref" : "#/components/schemas/CommonVoucherSendRule"
  61406. },
  61407. "voucher_status" : {
  61408. "type" : "string",
  61409. "description" : "券状态。",
  61410. "example" : "SENDED"
  61411. },
  61412. "voucher_type" : {
  61413. "type" : "string",
  61414. "description" : "券类型。",
  61415. "example" : "FIX_VOUCHER"
  61416. },
  61417. "voucher_use_rule" : {
  61418. "$ref" : "#/components/schemas/CommonVoucherUseRule"
  61419. },
  61420. "voucher_use_rule_info" : {
  61421. "$ref" : "#/components/schemas/VoucherUseRuleInfo"
  61422. }
  61423. }
  61424. },
  61425. "AlipayMarketingActivityVoucherAppendErrorResponseModel" : {
  61426. "required" : [ "code", "message" ],
  61427. "type" : "object",
  61428. "properties" : {
  61429. "code" : {
  61430. "type" : "string",
  61431. "description" : "错误码",
  61432. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  61433. },
  61434. "links" : {
  61435. "type" : "string",
  61436. "description" : "解决方案链接"
  61437. },
  61438. "message" : {
  61439. "type" : "string",
  61440. "description" : "错误描述"
  61441. }
  61442. }
  61443. },
  61444. "AlipayMarketingActivityVoucherAppendModel" : {
  61445. "type" : "object",
  61446. "properties" : {
  61447. "activity_id" : {
  61448. "type" : "string",
  61449. "description" : "活动id",
  61450. "example" : "2016042700826004508401111111"
  61451. },
  61452. "merchant_access_mode" : {
  61453. "type" : "string",
  61454. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  61455. "example" : "AGENCY_MODE"
  61456. },
  61457. "out_biz_no" : {
  61458. "type" : "string",
  61459. "description" : "外部业务单号,用作幂等控制。\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t外部接入方需保证业务单号唯一。",
  61460. "example" : "20170101000001654bb46ba"
  61461. },
  61462. "voucher_quantity" : {
  61463. "type" : "integer",
  61464. "description" : "券总预算值。 限制: 券总预算<= 99999999 特别说明: 该字段的含义是追加到的数量。 不可减少,只能增加。",
  61465. "example" : "100"
  61466. }
  61467. }
  61468. },
  61469. "AlipayMarketingActivityVoucherAppendResponseModel" : {
  61470. "type" : "object",
  61471. "properties" : {
  61472. "recharge_url" : {
  61473. "type" : "string",
  61474. "description" : "预充值链接\t\t限制\t有效时间3天",
  61475. "example" : "https://voucherprod.alipay.com/coupon/templatepayment.htm?templateId=20210829000730015448005XXOO&authNo=2021082910002001170507729XX5&operationId=202X0829X45X35X1170X"
  61476. }
  61477. }
  61478. },
  61479. "AlipayMarketingActivityVoucherCreateErrorResponseModel" : {
  61480. "required" : [ "code", "message" ],
  61481. "type" : "object",
  61482. "properties" : {
  61483. "code" : {
  61484. "type" : "string",
  61485. "description" : "错误码",
  61486. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "MATERIAL_AUDIT_WAITING" ]
  61487. },
  61488. "links" : {
  61489. "type" : "string",
  61490. "description" : "解决方案链接"
  61491. },
  61492. "message" : {
  61493. "type" : "string",
  61494. "description" : "错误描述"
  61495. }
  61496. }
  61497. },
  61498. "AlipayMarketingActivityVoucherCreateModel" : {
  61499. "type" : "object",
  61500. "properties" : {
  61501. "activity_base_info" : {
  61502. "$ref" : "#/components/schemas/ActivityBaseInfo"
  61503. },
  61504. "activity_name" : {
  61505. "type" : "string",
  61506. "description" : "活动名称。 不对用户进行展示,仅供商家在后台管理活动使用。",
  61507. "example" : "满10减1活动"
  61508. },
  61509. "belong_merchant_info" : {
  61510. "$ref" : "#/components/schemas/PaymentVoucherBelongMerchantInfo"
  61511. },
  61512. "merchant_access_mode" : {
  61513. "type" : "string",
  61514. "description" : "商户接入模式",
  61515. "example" : "AGENCY_MODE"
  61516. },
  61517. "out_biz_no" : {
  61518. "type" : "string",
  61519. "description" : "用作幂等控制。\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t外部接入方需保证业务单号唯一。",
  61520. "example" : "asdh12394nb23941234xasd2021"
  61521. },
  61522. "publish_end_time" : {
  61523. "type" : "string",
  61524. "description" : "券发放结束时间。 格式为:yyyy-MM-dd HH:mm:ss 限制: 券发放结束时间 publish_end_time 与 券发放开始时间 publish_start_time 间隔必须小于等于180天",
  61525. "example" : "2017-01-29 23:59:59"
  61526. },
  61527. "publish_start_time" : {
  61528. "type" : "string",
  61529. "description" : "券发放开始时间。 格式为:yyyy-MM-dd HH:mm:ss",
  61530. "example" : "2017-01-01 00:00:01"
  61531. },
  61532. "voucher_available_scope_info" : {
  61533. "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
  61534. },
  61535. "voucher_budget_info" : {
  61536. "$ref" : "#/components/schemas/PaymentVoucherBudgetInfo"
  61537. },
  61538. "voucher_budget_supply_info" : {
  61539. "$ref" : "#/components/schemas/VoucherBudgetSupplyInfo"
  61540. },
  61541. "voucher_customer_guide_info" : {
  61542. "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
  61543. },
  61544. "voucher_deduct_info" : {
  61545. "$ref" : "#/components/schemas/VoucherDeductInfo"
  61546. },
  61547. "voucher_display_info" : {
  61548. "$ref" : "#/components/schemas/PaymentVoucherDisplayInfo"
  61549. },
  61550. "voucher_display_pattern_info" : {
  61551. "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
  61552. },
  61553. "voucher_send_mode_info" : {
  61554. "$ref" : "#/components/schemas/VoucherSendModeInfo"
  61555. },
  61556. "voucher_send_rule" : {
  61557. "$ref" : "#/components/schemas/PaymentVoucherSendRule"
  61558. },
  61559. "voucher_type" : {
  61560. "type" : "string",
  61561. "description" : "优惠类型\t\t枚举值:\tFIX_VOUCHER:固定面额满减券",
  61562. "example" : "FIX_VOUCHER"
  61563. },
  61564. "voucher_use_rule" : {
  61565. "$ref" : "#/components/schemas/PaymentVoucherUseRule"
  61566. },
  61567. "voucher_use_rule_info" : {
  61568. "$ref" : "#/components/schemas/VoucherUseRuleInfo"
  61569. }
  61570. }
  61571. },
  61572. "AlipayMarketingActivityVoucherCreateResponseModel" : {
  61573. "type" : "object",
  61574. "properties" : {
  61575. "activity_id" : {
  61576. "type" : "string",
  61577. "description" : "活动id",
  61578. "example" : "2016042700826004508401111111"
  61579. }
  61580. }
  61581. },
  61582. "AlipayMarketingActivityVoucherModifyErrorResponseModel" : {
  61583. "required" : [ "code", "message" ],
  61584. "type" : "object",
  61585. "properties" : {
  61586. "code" : {
  61587. "type" : "string",
  61588. "description" : "错误码",
  61589. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  61590. },
  61591. "links" : {
  61592. "type" : "string",
  61593. "description" : "解决方案链接"
  61594. },
  61595. "message" : {
  61596. "type" : "string",
  61597. "description" : "错误描述"
  61598. }
  61599. }
  61600. },
  61601. "AlipayMarketingActivityVoucherModifyModel" : {
  61602. "type" : "object",
  61603. "properties" : {
  61604. "activity_base_info" : {
  61605. "$ref" : "#/components/schemas/ActivityBaseInfo"
  61606. },
  61607. "activity_id" : {
  61608. "type" : "string",
  61609. "description" : "活动id",
  61610. "example" : "2016042700826004508401111111"
  61611. },
  61612. "merchant_access_mode" : {
  61613. "type" : "string",
  61614. "description" : "商户接入模式",
  61615. "example" : "AGENCY_MODE"
  61616. },
  61617. "out_biz_no" : {
  61618. "type" : "string",
  61619. "description" : "外部业务单号,用作幂等控制。 幂等作用: 参数不变的情况下,再次请求返回与上一次相同的结果。",
  61620. "example" : "20170101000001654bb46ba"
  61621. },
  61622. "publish_end_time" : {
  61623. "type" : "string",
  61624. "description" : "券发放结束时间。格式为:yyyy-MM-dd HH:mm:ss",
  61625. "example" : "2017-01-29 23:59:59"
  61626. },
  61627. "voucher_available_scope_info" : {
  61628. "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
  61629. },
  61630. "voucher_send_mode_info" : {
  61631. "$ref" : "#/components/schemas/VoucherSendModeInfo"
  61632. },
  61633. "voucher_use_rule" : {
  61634. "$ref" : "#/components/schemas/PaymentVoucherUseRuleModify"
  61635. },
  61636. "voucher_use_rule_info" : {
  61637. "$ref" : "#/components/schemas/VoucherUseRuleInfo"
  61638. }
  61639. }
  61640. },
  61641. "AlipayMarketingActivityVoucherModifyResponseModel" : {
  61642. "type" : "object"
  61643. },
  61644. "AlipayMarketingActivityVoucherPublishErrorResponseModel" : {
  61645. "required" : [ "code", "message" ],
  61646. "type" : "object",
  61647. "properties" : {
  61648. "code" : {
  61649. "type" : "string",
  61650. "description" : "错误码",
  61651. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
  61652. },
  61653. "links" : {
  61654. "type" : "string",
  61655. "description" : "解决方案链接"
  61656. },
  61657. "message" : {
  61658. "type" : "string",
  61659. "description" : "错误描述"
  61660. }
  61661. }
  61662. },
  61663. "AlipayMarketingActivityVoucherPublishModel" : {
  61664. "type" : "object",
  61665. "properties" : {
  61666. "activity_id" : {
  61667. "type" : "string",
  61668. "description" : "活动id",
  61669. "example" : "2016042700826004508401111111"
  61670. },
  61671. "merchant_access_mode" : {
  61672. "type" : "string",
  61673. "description" : "商户接入模式",
  61674. "example" : "AGENCY_MODE"
  61675. },
  61676. "out_biz_no" : {
  61677. "type" : "string",
  61678. "description" : "用作幂等控制\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t外部接入方需保证业务单号唯一。",
  61679. "example" : "20170101000001654bb46ba"
  61680. }
  61681. }
  61682. },
  61683. "AlipayMarketingActivityVoucherPublishResponseModel" : {
  61684. "type" : "object",
  61685. "properties" : {
  61686. "recharge_url" : {
  61687. "type" : "string",
  61688. "description" : "预充值链接",
  61689. "example" : "https://voucherprod.alipay.com/coupon/templatepayment.htm?templateId=20210829000730015448005XXOO&authNo=2021082910002001170507729XX5&operationId=202X0829X45X35X1170X"
  61690. }
  61691. }
  61692. },
  61693. "AlipayMarketingActivityVoucherQueryErrorResponseModel" : {
  61694. "required" : [ "code", "message" ],
  61695. "type" : "object",
  61696. "properties" : {
  61697. "code" : {
  61698. "type" : "string",
  61699. "description" : "错误码",
  61700. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  61701. },
  61702. "links" : {
  61703. "type" : "string",
  61704. "description" : "解决方案链接"
  61705. },
  61706. "message" : {
  61707. "type" : "string",
  61708. "description" : "错误描述"
  61709. }
  61710. }
  61711. },
  61712. "AlipayMarketingActivityVoucherQueryResponseModel" : {
  61713. "type" : "object",
  61714. "properties" : {
  61715. "activity_base_info" : {
  61716. "$ref" : "#/components/schemas/ActivityBaseInfo"
  61717. },
  61718. "activity_id" : {
  61719. "type" : "string",
  61720. "description" : "活动 ID",
  61721. "example" : "2016042700826004508401111111"
  61722. },
  61723. "activity_name" : {
  61724. "type" : "string",
  61725. "description" : "活动名称。 不对用户进行展示,仅供商家在后台管理活动使用。",
  61726. "example" : "满10减1活动"
  61727. },
  61728. "activity_status" : {
  61729. "type" : "string",
  61730. "description" : "活动状态。\t如果该值为空,说明活动还未创建成功。",
  61731. "example" : "ACTIVE"
  61732. },
  61733. "belong_merchant_info" : {
  61734. "$ref" : "#/components/schemas/PaymentVoucherBelongMerchantInfo"
  61735. },
  61736. "publish_end_time" : {
  61737. "type" : "string",
  61738. "description" : "券发放结束时间。 格式为:yyyy-MM-dd HH:mm:ss。",
  61739. "example" : "2017-01-29 23:59:59"
  61740. },
  61741. "publish_start_time" : {
  61742. "type" : "string",
  61743. "description" : "券发放开始时间。 格式为:yyyy-MM-dd HH:mm:ss",
  61744. "example" : "2017-01-01 00:00:01"
  61745. },
  61746. "summary" : {
  61747. "$ref" : "#/components/schemas/VoucherSummary"
  61748. },
  61749. "voucher_available_scope_info" : {
  61750. "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
  61751. },
  61752. "voucher_budget_info" : {
  61753. "$ref" : "#/components/schemas/PaymentVoucherBudgetInfo"
  61754. },
  61755. "voucher_budget_supply_info" : {
  61756. "$ref" : "#/components/schemas/VoucherBudgetSupplyInfo"
  61757. },
  61758. "voucher_customer_guide_info" : {
  61759. "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
  61760. },
  61761. "voucher_deduct_info" : {
  61762. "$ref" : "#/components/schemas/VoucherDeductInfo"
  61763. },
  61764. "voucher_display_info" : {
  61765. "$ref" : "#/components/schemas/PaymentVoucherDisplayInfo"
  61766. },
  61767. "voucher_display_pattern_info" : {
  61768. "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
  61769. },
  61770. "voucher_inventory_info" : {
  61771. "$ref" : "#/components/schemas/VoucherInventoryInfo"
  61772. },
  61773. "voucher_send_mode_info" : {
  61774. "$ref" : "#/components/schemas/VoucherSendModeInfo"
  61775. },
  61776. "voucher_send_rule" : {
  61777. "$ref" : "#/components/schemas/PaymentVoucherSendRule"
  61778. },
  61779. "voucher_type" : {
  61780. "type" : "string",
  61781. "description" : "优惠类型。",
  61782. "example" : "FIX_VOUCHER"
  61783. },
  61784. "voucher_use_rule" : {
  61785. "$ref" : "#/components/schemas/PaymentVoucherUseRuleDetail"
  61786. },
  61787. "voucher_use_rule_info" : {
  61788. "$ref" : "#/components/schemas/VoucherUseRuleInfo"
  61789. }
  61790. }
  61791. },
  61792. "AlipayMarketingActivityVoucherSendErrorResponseModel" : {
  61793. "required" : [ "code", "message" ],
  61794. "type" : "object",
  61795. "properties" : {
  61796. "code" : {
  61797. "type" : "string",
  61798. "description" : "错误码",
  61799. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ACTIVITY_NOT_ACTIVE", "ACTIVITY_NOT_START", "ACTIVITY_IS_END", "ACTIVITY_IS_STOPED", "BUDGET_NOT_ENOUGH", "COUNT_OVER_LIMIT" ]
  61800. },
  61801. "links" : {
  61802. "type" : "string",
  61803. "description" : "解决方案链接"
  61804. },
  61805. "message" : {
  61806. "type" : "string",
  61807. "description" : "错误描述"
  61808. }
  61809. }
  61810. },
  61811. "AlipayMarketingActivityVoucherSendModel" : {
  61812. "type" : "object",
  61813. "properties" : {
  61814. "activity_id" : {
  61815. "type" : "string",
  61816. "description" : "优惠券活动id",
  61817. "example" : "2016042700826004508401111111"
  61818. },
  61819. "merchant_access_mode" : {
  61820. "type" : "string",
  61821. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  61822. "example" : "AGENCY_MODE"
  61823. },
  61824. "open_id" : {
  61825. "type" : "string",
  61826. "description" : "领券的支付宝用户openId",
  61827. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  61828. },
  61829. "out_biz_no" : {
  61830. "type" : "string",
  61831. "description" : "外部业务单号,用作幂等控制。\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t外部接入方需保证业务单号唯一。",
  61832. "example" : "20170101000001654bb46ba"
  61833. },
  61834. "user_id" : {
  61835. "type" : "string",
  61836. "description" : "领券的支付宝user_id账号",
  61837. "example" : "2088XXXX"
  61838. }
  61839. }
  61840. },
  61841. "AlipayMarketingActivityVoucherSendResponseModel" : {
  61842. "type" : "object",
  61843. "properties" : {
  61844. "voucher_id" : {
  61845. "type" : "string",
  61846. "description" : "本次发放的支付券id",
  61847. "example" : "2021072600073002785300065Q39"
  61848. }
  61849. }
  61850. },
  61851. "AlipayMarketingActivityVoucherStopErrorResponseModel" : {
  61852. "required" : [ "code", "message" ],
  61853. "type" : "object",
  61854. "properties" : {
  61855. "code" : {
  61856. "type" : "string",
  61857. "description" : "错误码",
  61858. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  61859. },
  61860. "links" : {
  61861. "type" : "string",
  61862. "description" : "解决方案链接"
  61863. },
  61864. "message" : {
  61865. "type" : "string",
  61866. "description" : "错误描述"
  61867. }
  61868. }
  61869. },
  61870. "AlipayMarketingActivityVoucherStopModel" : {
  61871. "type" : "object",
  61872. "properties" : {
  61873. "activity_id" : {
  61874. "type" : "string",
  61875. "description" : "活动id",
  61876. "example" : "2016042700826004508401111111"
  61877. },
  61878. "merchant_access_mode" : {
  61879. "type" : "string",
  61880. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  61881. "example" : "AGENCY_MODE"
  61882. },
  61883. "out_biz_no" : {
  61884. "type" : "string",
  61885. "description" : "64\t外部业务单号,用作幂等控制。\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t外部接入方需保证业务单号唯一。",
  61886. "example" : "20170101000001654bb46ba"
  61887. }
  61888. }
  61889. },
  61890. "AlipayMarketingActivityVoucherStopResponseModel" : {
  61891. "type" : "object"
  61892. },
  61893. "AlipayMarketingActivityVoucherpackageBatchqueryErrorResponseModel" : {
  61894. "required" : [ "code", "message" ],
  61895. "type" : "object",
  61896. "properties" : {
  61897. "code" : {
  61898. "type" : "string",
  61899. "description" : "错误码",
  61900. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  61901. },
  61902. "links" : {
  61903. "type" : "string",
  61904. "description" : "解决方案链接"
  61905. },
  61906. "message" : {
  61907. "type" : "string",
  61908. "description" : "错误描述"
  61909. }
  61910. }
  61911. },
  61912. "AlipayMarketingActivityVoucherpackageBatchqueryModel" : {
  61913. "type" : "object",
  61914. "properties" : {
  61915. "page_num" : {
  61916. "type" : "integer",
  61917. "description" : "分页参数,需要查询的页码,起始页是1",
  61918. "example" : "1"
  61919. },
  61920. "page_size" : {
  61921. "type" : "integer",
  61922. "description" : "分页参数,每页记录数,最大不可超过30",
  61923. "example" : "10"
  61924. },
  61925. "voucher_package_purchase_start_time" : {
  61926. "type" : "string",
  61927. "description" : "券包购买开始时间。 格式为:yyyy-MM-dd HH:mm:ss",
  61928. "example" : "2017-01-01 00:00:01"
  61929. },
  61930. "voucher_package_status" : {
  61931. "type" : "string",
  61932. "description" : "券包状态:不指定可查全部状态,指定时只支持查单个状态\t枚举值:\tCREATED:已创建,\tENABLE:已发布(包含过期),\tPAUSED:已暂停,\tDISABLE:已停止;",
  61933. "example" : "ENABLE"
  61934. }
  61935. }
  61936. },
  61937. "AlipayMarketingActivityVoucherpackageBatchqueryResponseModel" : {
  61938. "type" : "object",
  61939. "properties" : {
  61940. "page_num" : {
  61941. "type" : "integer",
  61942. "description" : "分页参数,当前所在的页码",
  61943. "example" : "1"
  61944. },
  61945. "page_size" : {
  61946. "type" : "integer",
  61947. "description" : "分页参数,每页记录数,最大不可超过30",
  61948. "example" : "10"
  61949. },
  61950. "total_size" : {
  61951. "type" : "integer",
  61952. "description" : "券包总数量",
  61953. "example" : "100"
  61954. },
  61955. "voucher_package_info" : {
  61956. "type" : "array",
  61957. "description" : "券包信息",
  61958. "items" : {
  61959. "$ref" : "#/components/schemas/VoucherPackageInfo"
  61960. }
  61961. }
  61962. }
  61963. },
  61964. "AlipayMarketingActivityVoucherpackageConsultErrorResponseModel" : {
  61965. "required" : [ "code", "message" ],
  61966. "type" : "object",
  61967. "properties" : {
  61968. "code" : {
  61969. "type" : "string",
  61970. "description" : "错误码",
  61971. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  61972. },
  61973. "links" : {
  61974. "type" : "string",
  61975. "description" : "解决方案链接"
  61976. },
  61977. "message" : {
  61978. "type" : "string",
  61979. "description" : "错误描述"
  61980. }
  61981. }
  61982. },
  61983. "AlipayMarketingActivityVoucherpackageConsultModel" : {
  61984. "type" : "object",
  61985. "properties" : {
  61986. "voucher_package_id_list" : {
  61987. "type" : "array",
  61988. "description" : "券包id列表",
  61989. "items" : {
  61990. "type" : "string"
  61991. },
  61992. "example" : "[\"IP20220628016671405804297103167741\"]"
  61993. }
  61994. }
  61995. },
  61996. "AlipayMarketingActivityVoucherpackageConsultResponseModel" : {
  61997. "type" : "object",
  61998. "properties" : {
  61999. "voucher_package_consult_result" : {
  62000. "type" : "array",
  62001. "description" : "券包购买咨询结果",
  62002. "items" : {
  62003. "$ref" : "#/components/schemas/VoucherPackageConsultResult"
  62004. }
  62005. }
  62006. }
  62007. },
  62008. "AlipayMarketingActivityVoucherpackageQueryErrorResponseModel" : {
  62009. "required" : [ "code", "message" ],
  62010. "type" : "object",
  62011. "properties" : {
  62012. "code" : {
  62013. "type" : "string",
  62014. "description" : "错误码",
  62015. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "VOUCHER_PACKAGE_NOT_EXIST" ]
  62016. },
  62017. "links" : {
  62018. "type" : "string",
  62019. "description" : "解决方案链接"
  62020. },
  62021. "message" : {
  62022. "type" : "string",
  62023. "description" : "错误描述"
  62024. }
  62025. }
  62026. },
  62027. "AlipayMarketingActivityVoucherpackageQueryResponseModel" : {
  62028. "type" : "object",
  62029. "properties" : {
  62030. "voucher_package_activity_info" : {
  62031. "type" : "array",
  62032. "description" : "券包活动信息",
  62033. "items" : {
  62034. "$ref" : "#/components/schemas/VoucherPackageActivityInfo"
  62035. }
  62036. },
  62037. "voucher_package_base_info" : {
  62038. "$ref" : "#/components/schemas/VoucherPackageBaseInfo"
  62039. },
  62040. "voucher_package_sales_info" : {
  62041. "$ref" : "#/components/schemas/VoucherPackageSalesInfo"
  62042. },
  62043. "voucher_package_use_rule" : {
  62044. "$ref" : "#/components/schemas/VoucherPackageUseRule"
  62045. }
  62046. }
  62047. },
  62048. "AlipayMarketingCampaignCashCreateErrorResponseModel" : {
  62049. "required" : [ "code", "message" ],
  62050. "type" : "object",
  62051. "properties" : {
  62052. "code" : {
  62053. "type" : "string",
  62054. "description" : "错误码",
  62055. "enum" : [ "UNKNOW_SYSTEM_ERROR", "SENSITIVE_WORD_CHECK_FAILED", "CASH_PRIZE_TYPE_ERROR", "CASH_TIME_CHECK_FAILED", "CASH_COUNT_TOO_SMALL", "CASH_AMOUNT_TOO_MUCH", "CASH_PER_AMOUNT_TOO_MUCH", "CASH_COUNT_TOO_MUCH", "CASH_AMOUNT_TOO_SMALL", "CASH_COUPON_NAME_CHECK_FAILED", "CASH_PRIZE_MSG_CHECK_FAILED", "BIZ_CONTENT_IS_EMPTY", "BIZ_CONTENT_FORMAT_ERROR", "PRODUCT_IS_NOT_OPENED", "CALL_TOO_FREQUENCY", "CREATOR_LIMIT_ERROR", "CREATOR_NOT_REALNAME", "SYSTEM_LIMIT_ERROR", "CASH_MERCHANT_LINK_CHECK_FAILED", "CASH_PER_AMOUNT_TOO_SMALL", "CASH_SEND_FREQUENCY_ERROR" ]
  62056. },
  62057. "links" : {
  62058. "type" : "string",
  62059. "description" : "解决方案链接"
  62060. },
  62061. "message" : {
  62062. "type" : "string",
  62063. "description" : "错误描述"
  62064. }
  62065. }
  62066. },
  62067. "AlipayMarketingCampaignCashCreateModel" : {
  62068. "type" : "object",
  62069. "properties" : {
  62070. "coupon_name" : {
  62071. "type" : "string",
  62072. "description" : "红包名称,商户在查询列表、详情看到的名字,同时也会显示在商户付款页面。",
  62073. "example" : "XXX周年庆红包"
  62074. },
  62075. "end_time" : {
  62076. "type" : "string",
  62077. "description" : "活动结束时间,必须大于活动开始时间, 基本格式:yyyy-MM-dd HH:mm:ss,活动有效时间最长为6个月,过期后需要创建新的活动。",
  62078. "example" : "2016-09-20 22:48:30"
  62079. },
  62080. "merchant_link" : {
  62081. "type" : "string",
  62082. "description" : "商户打款后的跳转链接,从支付宝收银台打款成功后的跳转链接。不填时,打款后停留在支付宝支付成功页。商户实际跳转会自动添加crowdNo作为跳转参数。示例: http://www.yourhomepage.com?crowdNo=XXX",
  62083. "example" : "http://www.weibo.com"
  62084. },
  62085. "prize_msg" : {
  62086. "type" : "string",
  62087. "description" : "活动文案,用户在账单、红包中看到的账单描述、红包描述。",
  62088. "example" : "XXX送您大红包"
  62089. },
  62090. "prize_type" : {
  62091. "type" : "string",
  62092. "description" : "现金红包的发放形式,。枚举支持:\t*fixed:固定金额。\t*random:随机金额。选择随机金额时,单个红包的金额在平均金额的0.5~1.5倍之间浮动。\t",
  62093. "example" : "random"
  62094. },
  62095. "send_freqency" : {
  62096. "type" : "string",
  62097. "description" : "用户在当前活动参与次数、频率限制。支持日(D)、周(W)、月(M)、终身(L)维度的限制,整个字段不填时默认值为L1(即用户终生仅能参与1次)。\t注意:\t 1. 终身(L)限制必选且最大值为 100。\t 2. 日(D)、周(W)、月(M)限制可选且最多只能选择一个(即限制日领取次数就不能再限制月领取次数),频率设置必须小于等于终身(L)的次数。\t 3. 多个配置之间使用\"|\"进行分隔。如 D3|L4(表示限制用户终生只能参与4次,单日只能参与3次)。\t 4. 允许多次领取时,活动触发接口需要传入out_biz_no来配合。",
  62098. "example" : "D3|L10"
  62099. },
  62100. "start_time" : {
  62101. "type" : "string",
  62102. "description" : "活动开始时间,必须大于活动创建的时间。入参支持如下两种形式:\t 1. 填入固定时间,时间格式为 yyyy-MM-dd HH:mm:ss,如 2020-12-10 22:28:30\t 2. 填字符串 NowTime,表示创建即生效。",
  62103. "example" : "NowTime"
  62104. },
  62105. "total_money" : {
  62106. "type" : "string",
  62107. "description" : "活动发放的现金总金额,最小金额1.00元,最大金额10000000.00元。每个红包的最大金额不允许超过200元,最小金额不得低于0.20元。 实际的金额限制可能会根据业务进行动态调整。",
  62108. "example" : "10000000.00"
  62109. },
  62110. "total_num" : {
  62111. "type" : "string",
  62112. "description" : "红包发放个数,最小为 1 个,最大10000000个。\t说明:不同的发放形式(即prize_type)会使得发放个数含义不同:\t 1. 若prize_type 为 fixed(固定金额),则每个用户领取的红包金额为total_money除以total_num得到固定金额。\t 2. 若prize_type为 random(随机金额),则每个用户领取的红包金额为total_money除以total_num得到的平均金额值的0.5~1.5倍。由于金额是随机的,在红包金额全部被领取完时,有可能total_num有所剩余、或者大于设置值的情况。",
  62113. "example" : "1000"
  62114. }
  62115. }
  62116. },
  62117. "AlipayMarketingCampaignCashCreateResponseModel" : {
  62118. "type" : "object",
  62119. "properties" : {
  62120. "crowd_no" : {
  62121. "type" : "string",
  62122. "description" : "生成的现金红包活动号",
  62123. "example" : "EPOJZsBg3A-CZOJE4qlbAueA7By4oJLDwEeYZlAiAnbMnSZ96O-zxUfKlHp5cxmx"
  62124. },
  62125. "origin_crowd_no" : {
  62126. "type" : "string",
  62127. "description" : "原始活动号,商户排查问题时提供的活动依据",
  62128. "example" : "20160901109410190092922300444004"
  62129. },
  62130. "pay_url" : {
  62131. "type" : "string",
  62132. "description" : "活动创建后的付款链接,返回的是urlencode编码后的字符串。需要先进行urldecode解码,然后在浏览器中进行访问,会先进行支付宝登录引导,然后商户进行付款,付款有效期24小时。",
  62133. "example" : "http%3a%2f%2fcashier.stable.alipay.net%2fstandard%2flightpay%2flightPayCashier.htm%3forderId%3d0826e2e3984d6fa7b92046.rz0NN4263%"
  62134. }
  62135. }
  62136. },
  62137. "AlipayMarketingCampaignCashDetailQueryErrorResponseModel" : {
  62138. "required" : [ "code", "message" ],
  62139. "type" : "object",
  62140. "properties" : {
  62141. "code" : {
  62142. "type" : "string",
  62143. "description" : "错误码",
  62144. "enum" : [ "UNKNOW_SYSTEM_ERROR", "CASH_CAMPAIGN_NOT_EXIST", "BIZ_CONTENT_IS_EMPTY", "BIZ_CONTENT_FORMAT_ERROR", "PRODUCT_IS_NOT_OPENED", "CALL_TOO_FREQUENCY", "CAMP_OPERATOR_ILLEGAL" ]
  62145. },
  62146. "links" : {
  62147. "type" : "string",
  62148. "description" : "解决方案链接"
  62149. },
  62150. "message" : {
  62151. "type" : "string",
  62152. "description" : "错误描述"
  62153. }
  62154. }
  62155. },
  62156. "AlipayMarketingCampaignCashDetailQueryResponseModel" : {
  62157. "type" : "object",
  62158. "properties" : {
  62159. "camp_status" : {
  62160. "type" : "string",
  62161. "description" : "活动状态,CREATED: 已创建未打款\tPAID:已打款\tREADY:活动已开始\tPAUSE:活动已暂停\tCLOSED:活动已结束\tSETTLED:活动已清算",
  62162. "example" : "CREATED、PAID、READY、PAUSE、CLOSED、SETTLED"
  62163. },
  62164. "coupon_name" : {
  62165. "type" : "string",
  62166. "description" : "红包名称",
  62167. "example" : "XXX周年庆红包"
  62168. },
  62169. "crowd_no" : {
  62170. "type" : "string",
  62171. "description" : "活动号",
  62172. "example" : "POYb84lfiKVdIfERAYsqPL_KQRIpfQbl47xfRmmPBlDMnSZ96O-zxUfKlHp5cxmx"
  62173. },
  62174. "end_time" : {
  62175. "type" : "string",
  62176. "description" : "活动结束时间",
  62177. "example" : "2016-08-10 22:28:30"
  62178. },
  62179. "origin_crowd_no" : {
  62180. "type" : "string",
  62181. "description" : "原始活动号,商户排查问题时提供的活动依据",
  62182. "example" : "20160901029410190092922308762004"
  62183. },
  62184. "prize_msg" : {
  62185. "type" : "string",
  62186. "description" : "活动文案,用户在账单中看到的红包描述",
  62187. "example" : "XX送您大红包"
  62188. },
  62189. "prize_type" : {
  62190. "type" : "string",
  62191. "description" : "现金红包的发放形式, fixed为固定金额,random为随机金额",
  62192. "example" : "random"
  62193. },
  62194. "send_amount" : {
  62195. "type" : "string",
  62196. "description" : "活动已发放金额",
  62197. "example" : "200000.00"
  62198. },
  62199. "start_time" : {
  62200. "type" : "string",
  62201. "description" : "活动开始时间",
  62202. "example" : "2016-08-10 22:28:30"
  62203. },
  62204. "total_amount" : {
  62205. "type" : "string",
  62206. "description" : "活动总金额",
  62207. "example" : "20000.00"
  62208. },
  62209. "total_count" : {
  62210. "type" : "integer",
  62211. "description" : "红包总个数",
  62212. "example" : "1000"
  62213. },
  62214. "total_num" : {
  62215. "type" : "integer",
  62216. "description" : "红包总个数(废弃)",
  62217. "example" : "1000"
  62218. }
  62219. }
  62220. },
  62221. "AlipayMarketingCampaignCashListQueryErrorResponseModel" : {
  62222. "required" : [ "code", "message" ],
  62223. "type" : "object",
  62224. "properties" : {
  62225. "code" : {
  62226. "type" : "string",
  62227. "description" : "错误码",
  62228. "enum" : [ "BIZ_CONTENT_IS_EMPTY", "CASH_LIST_PAGE_CHECK_FAILED", "BIZ_CONTENT_FORMAT_ERROR", "CALL_TOO_FREQUENCY", "PRODUCT_IS_NOT_OPENED" ]
  62229. },
  62230. "links" : {
  62231. "type" : "string",
  62232. "description" : "解决方案链接"
  62233. },
  62234. "message" : {
  62235. "type" : "string",
  62236. "description" : "错误描述"
  62237. }
  62238. }
  62239. },
  62240. "AlipayMarketingCampaignCashListQueryResponseModel" : {
  62241. "type" : "object",
  62242. "properties" : {
  62243. "camp_list" : {
  62244. "type" : "array",
  62245. "description" : "活动列表",
  62246. "items" : {
  62247. "$ref" : "#/components/schemas/CashCampaignInfo"
  62248. }
  62249. },
  62250. "page_index" : {
  62251. "type" : "string",
  62252. "description" : "分页的页码,起始从1开始",
  62253. "example" : "1"
  62254. },
  62255. "page_size" : {
  62256. "type" : "string",
  62257. "description" : "分页每页大小",
  62258. "example" : "10"
  62259. },
  62260. "total_size" : {
  62261. "type" : "string",
  62262. "description" : "活动总个数",
  62263. "example" : "20"
  62264. }
  62265. }
  62266. },
  62267. "AlipayMarketingCampaignCashStatusModifyErrorResponseModel" : {
  62268. "required" : [ "code", "message" ],
  62269. "type" : "object",
  62270. "properties" : {
  62271. "code" : {
  62272. "type" : "string",
  62273. "description" : "错误码",
  62274. "enum" : [ "UNKNOW_SYSTEM_ERROR", "CASH_CURRENT_STATE_CANNOT_MODIFY", "CASH_TARGET_STATE_NOT_ILLEGAL", "CASH_CAMPAIGN_NOT_EXIST", "BIZ_CONTENT_IS_EMPTY", "BIZ_CONTENT_FORMAT_ERROR", "PRODUCT_IS_NOT_OPENED", "CALL_TOO_FREQUENCY", "CAMPAIGN_CREATE_OVER_LIMIT", "CAMP_OPERATOR_ILLEGAL" ]
  62275. },
  62276. "links" : {
  62277. "type" : "string",
  62278. "description" : "解决方案链接"
  62279. },
  62280. "message" : {
  62281. "type" : "string",
  62282. "description" : "错误描述"
  62283. }
  62284. }
  62285. },
  62286. "AlipayMarketingCampaignCashStatusModifyModel" : {
  62287. "type" : "object",
  62288. "properties" : {
  62289. "camp_status" : {
  62290. "type" : "string",
  62291. "description" : "金活动修改后的状态。支持修改为:\t*PAUSE:活动暂停。\t*READY:活动开始。\t*CLOSED:活动结束。",
  62292. "example" : "PAUSE"
  62293. },
  62294. "crowd_no" : {
  62295. "type" : "string",
  62296. "description" : "现金活动号,通过<a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.campaign.cash.create\">alipay.marketing.campaign.cash.create</a>(创建现金活动)接口创建现金活动获取。",
  62297. "example" : "HHV-vl7IKtHddoWgpHTOdL_KQRIpfQbl47xfRmmPBlDMnSZ96O-zxUfKlHp5cxmx"
  62298. }
  62299. }
  62300. },
  62301. "AlipayMarketingCampaignCashStatusModifyResponseModel" : {
  62302. "type" : "object"
  62303. },
  62304. "AlipayMarketingCampaignCashTriggerErrorResponseModel" : {
  62305. "required" : [ "code", "message" ],
  62306. "type" : "object",
  62307. "properties" : {
  62308. "code" : {
  62309. "type" : "string",
  62310. "description" : "错误码",
  62311. "enum" : [ "BIZ_CONTENT_IS_EMPTY", "BIZ_CONTENT_FORMAT_ERROR", "PRODUCT_IS_NOT_OPENED", "CASH_CROWD_NO_ILLEGAL", "CASH_CAMPAIGN_NOT_EXIST", "CASH_CAMPAIGN_NOT_START", "CASH_CAMPAIGN_IS_OVER", "CASH_CAMP_BUDGET_INSUFFICIENT", "CASH_CAMP_NOT_ALLOW_TRIGGER_OWN", "CASH_CAMPAIGN_SEND_LOG_ILLEGAL", "UNKNOW_SYSTEM_ERROR", "USER_ID_ILLEGAL", "USER_NOT_EXIST", "ENTERPRISE_USER_NOT_SUPPORT", "CASH_CAMPAIGN_EMERGENCY_STOP", "CAMP_OPERATOR_ILLEGAL", "CTU_HAS_RISK", "USER_ACCESS_TOTAL_LIMIT", "USER_ACCESS_FREQUENCY_LIMIT", "OUT_BIZ_NO_ILLEGAL", "CALL_TOO_FREQUENCY", "USER_CERT_NOT_PASS" ]
  62312. },
  62313. "links" : {
  62314. "type" : "string",
  62315. "description" : "解决方案链接"
  62316. },
  62317. "message" : {
  62318. "type" : "string",
  62319. "description" : "错误描述"
  62320. }
  62321. }
  62322. },
  62323. "AlipayMarketingCampaignCashTriggerModel" : {
  62324. "type" : "object",
  62325. "properties" : {
  62326. "crowd_no" : {
  62327. "type" : "string",
  62328. "description" : "现金活动号,通过<a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.campaign.cash.create\">alipay.marketing.campaign.cash.create</a>(创建现金活动)接口创建现金活动获取。",
  62329. "example" : "3DpriXtAGxmDPi7QyeoKeX8wwS3qbKCcnigowys220Lxs"
  62330. },
  62331. "login_id" : {
  62332. "type" : "string",
  62333. "description" : "用户登录账号名,一般为邮箱或手机号。\t注意:user_id与login_id二选一必填,同时传入时以user_id为准。",
  62334. "example" : "username@gmail.com"
  62335. },
  62336. "open_id" : {
  62337. "type" : "string",
  62338. "description" : "open_id",
  62339. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  62340. },
  62341. "order_price" : {
  62342. "type" : "string",
  62343. "description" : "此字段如果传入金额,就忽略prize_type算法,按照传入的金额发奖。如果不传或者小于等于0,则按照活动创建时指定的prize_type为fixed或者random算法发奖",
  62344. "example" : "100,单位为分,代表1元"
  62345. },
  62346. "out_biz_no" : {
  62347. "type" : "string",
  62348. "description" : "领取红包的外部业务号,只由可由字母、数字、下划线组成。同一个活动中不可重复,相同的外部业务号会被幂等并返回之前的结果。不填时,系统会生成一个默认固定的外部业务号。",
  62349. "example" : "201702101356"
  62350. },
  62351. "user_id" : {
  62352. "type" : "string",
  62353. "description" : "用户支付宝唯一标识,2088开头。\t注意:user_id与login_id二选一必填,同时传入时以user_id为准。",
  62354. "example" : "2088102164186692"
  62355. }
  62356. }
  62357. },
  62358. "AlipayMarketingCampaignCashTriggerResponseModel" : {
  62359. "type" : "object",
  62360. "properties" : {
  62361. "biz_no" : {
  62362. "type" : "string",
  62363. "description" : "支付宝业务号,发奖成功时返回,调用者可提供此字符串进行问题排查与核对等",
  62364. "example" : "20170117110070001502640004976114"
  62365. },
  62366. "coupon_name" : {
  62367. "type" : "string",
  62368. "description" : "红包名称,创建活动时设置,用于账单列表和详情、红包列表和详情的展示",
  62369. "example" : "***周年庆红包"
  62370. },
  62371. "error_msg" : {
  62372. "type" : "string",
  62373. "description" : "用户领取失败的错误信息描述",
  62374. "example" : "用户实名验证不通过"
  62375. },
  62376. "merchant_logo" : {
  62377. "type" : "string",
  62378. "description" : "商户头像logo的图片url地址,用于账单和红包列表、详情的展示",
  62379. "example" : "http://tfs.alipay.com/images/partner/1111111xxxxxxx_160x160"
  62380. },
  62381. "out_biz_no" : {
  62382. "type" : "string",
  62383. "description" : "外部业务号,回填请求中的out_biz_no,请求参数中传了out_biz_no就会回传回去,如果不传就回传默认的\"default_out_biz_no\",请求者可用于日志记录与核对等",
  62384. "example" : "2017021319450001"
  62385. },
  62386. "partner_id" : {
  62387. "type" : "string",
  62388. "description" : "发送红包商户签约pid,发奖成功时非空",
  62389. "example" : "2088123456789012"
  62390. },
  62391. "prize_amount" : {
  62392. "type" : "string",
  62393. "description" : "现金红包金额,发奖成功时非空,单位为元,保留两位小数",
  62394. "example" : "234.40"
  62395. },
  62396. "prize_msg" : {
  62397. "type" : "string",
  62398. "description" : "活动文案,用于账单的备注展示、红包详情页的文案展示",
  62399. "example" : "XXX送您大红包,祝您中秋快乐"
  62400. },
  62401. "repeat_trigger_flag" : {
  62402. "type" : "string",
  62403. "description" : "用户是否重复领取,如果重复领取,返回的是之前的中奖结果,如果是首次领取,则走发奖流程",
  62404. "example" : "true或false"
  62405. },
  62406. "trigger_result" : {
  62407. "type" : "string",
  62408. "description" : "是否中奖结果状态,取值为true或false。如果为true表示发奖成功,这时返回的结果中的其他字段非空;如果为false表示发奖失败,这时返回的其他字段为空",
  62409. "example" : "true"
  62410. }
  62411. }
  62412. },
  62413. "AlipayMarketingCampaignOrderVoucherConsultErrorResponseModel" : {
  62414. "required" : [ "code", "message" ],
  62415. "type" : "object",
  62416. "properties" : {
  62417. "code" : {
  62418. "type" : "string",
  62419. "description" : "错误码",
  62420. "enum" : [ "ILLEGAL_ARGUMENT_EXCEPTION", "CONSULT_EXCEPTION" ]
  62421. },
  62422. "links" : {
  62423. "type" : "string",
  62424. "description" : "解决方案链接"
  62425. },
  62426. "message" : {
  62427. "type" : "string",
  62428. "description" : "错误描述"
  62429. }
  62430. }
  62431. },
  62432. "AlipayMarketingCampaignOrderVoucherConsultModel" : {
  62433. "type" : "object",
  62434. "properties" : {
  62435. "business_param" : {
  62436. "type" : "string",
  62437. "description" : "业务参数大字段,优惠咨询的控制参数,json格式;目前支持传入useBigAmountSkipOrderThold为N来控制不使用大金额跳过优惠的订单门槛检查;默认不传;",
  62438. "example" : "{\"useBigAmountSkipOrderThold\":\"N\"}"
  62439. },
  62440. "item_consult_list" : {
  62441. "type" : "array",
  62442. "description" : "商品咨询请求列表(当需要咨询单品券时必传,如果某商品不希望参与本次单品优惠咨询则不传递对应信息即可)",
  62443. "items" : {
  62444. "$ref" : "#/components/schemas/ItemConsultRequest"
  62445. }
  62446. },
  62447. "order_amount" : {
  62448. "type" : "string",
  62449. "description" : "订单金额(如同时享受商户自有优惠请先扣除后传入),单位为元,最多2位小数",
  62450. "example" : "120.87"
  62451. },
  62452. "scene_code" : {
  62453. "type" : "array",
  62454. "description" : "场景码:默认(DEFAULT)",
  62455. "items" : {
  62456. "type" : "string"
  62457. },
  62458. "example" : "[\"DEFAULT\"]"
  62459. },
  62460. "specified_app_id" : {
  62461. "type" : "string",
  62462. "description" : "券指定的核销appid(如果配券时指定了核销范围为线上小程序及相应的appid则此处必传)",
  62463. "example" : "2021001159604390"
  62464. }
  62465. }
  62466. },
  62467. "AlipayMarketingCampaignOrderVoucherConsultResponseModel" : {
  62468. "type" : "object",
  62469. "properties" : {
  62470. "optimal_total_promo_amount" : {
  62471. "type" : "string",
  62472. "description" : "最优券叠加总优惠金额,单位为元",
  62473. "example" : "15.50"
  62474. },
  62475. "voucher_consult_list" : {
  62476. "type" : "array",
  62477. "description" : "优惠券咨询结果列表",
  62478. "items" : {
  62479. "$ref" : "#/components/schemas/VoucherConsultInfo"
  62480. }
  62481. }
  62482. }
  62483. },
  62484. "AlipayMarketingCardActivateformQueryErrorResponseModel" : {
  62485. "required" : [ "code", "message" ],
  62486. "type" : "object",
  62487. "properties" : {
  62488. "code" : {
  62489. "type" : "string",
  62490. "description" : "错误码",
  62491. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "OPEN_PROFILE_QUERY_FAIL", "REQUEST_ID_EXPIRE", "REQUEST_ID_INVALID", "ILLEGAL_NULL_ARGUMENT" ]
  62492. },
  62493. "links" : {
  62494. "type" : "string",
  62495. "description" : "解决方案链接"
  62496. },
  62497. "message" : {
  62498. "type" : "string",
  62499. "description" : "错误描述"
  62500. }
  62501. }
  62502. },
  62503. "AlipayMarketingCardActivateformQueryResponseModel" : {
  62504. "type" : "object",
  62505. "properties" : {
  62506. "infos" : {
  62507. "type" : "string",
  62508. "description" : "表单提交信息各个字段的值JSON数组\r\t\r\t通用表单字段名称如下示例:\r\tOPEN_FORM_FIELD_MOBILE – 手机号\r\tOPEN_FORM_FIELD_GENDER – 性别\r\tOPEN_FORM_FIELD_NAME – 姓名\r\tOPEN_FORM_FIELD_BIRTHDAY – 生日\r\tOPEN_FORM_FIELD_IDCARD – 身份证\r\tOPEN_FORM_FIELD_EMAIL – 邮箱\r\tOPEN_FORM_FIELD_ADDRESS – 地址\r\t\r\t详细字段名称列表见会员卡开卡表单模板配置接口:alipay.marketing.card.formtemplate.set\r\t\r\t注:\r\t1. 证件类型字段(OPEN_FORM_FIELD_CERT_TYPE)返回结果取值如下:\r\t 0 -- 身份证\r\t 1 -- 护照\r\t 2 -- 港澳居民通行证\r\t 3 -- 台湾居民通行证",
  62509. "example" : "[{\"OPEN_FORM_FIELD_GENDER\":\"男\"},{\"OPEN_FORM_FIELD_MOBILE\":\"13888888888\"},{\"OPEN_FORM_FIELD_NAME\":\"李四\"}]"
  62510. }
  62511. }
  62512. },
  62513. "AlipayMarketingCardActivateurlApplyErrorResponseModel" : {
  62514. "required" : [ "code", "message" ],
  62515. "type" : "object",
  62516. "properties" : {
  62517. "code" : {
  62518. "type" : "string",
  62519. "description" : "错误码",
  62520. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "CARD_TEMPLATE_NOT_EXIST", "OPEN_FORM_TEMPLATE_NOT_EXIST", "ILLEGAL_ARGUMENT_OUT_STRING", "ILLEGAL_NULL_ARGUMENT" ]
  62521. },
  62522. "links" : {
  62523. "type" : "string",
  62524. "description" : "解决方案链接"
  62525. },
  62526. "message" : {
  62527. "type" : "string",
  62528. "description" : "错误描述"
  62529. }
  62530. }
  62531. },
  62532. "AlipayMarketingCardActivateurlApplyModel" : {
  62533. "type" : "object",
  62534. "properties" : {
  62535. "callback" : {
  62536. "type" : "string",
  62537. "description" : "会员卡开卡表单提交后回调地址。要求必须是单纯的服务端接收回调。\t说明:\t1.该地址不可带参数,如需回传参数,可设置out_string入参。",
  62538. "example" : "https://alipay.com/card/demo.htm"
  62539. },
  62540. "follow_app_id" : {
  62541. "type" : "string",
  62542. "description" : "需要关注的生活号AppId。若需要在领卡页面展示“关注生活号”提示,需开通生活号并绑定会员卡。生活号快速接入详见:https://doc.open.alipay.com/docs/doc.htm?treeId=193&articleId=105933&docType=1",
  62543. "example" : "20150000000000000"
  62544. },
  62545. "out_string" : {
  62546. "type" : "string",
  62547. "description" : "该值为商家拉起开卡组件的传递的 out_string 值。通常可用于区分不同业务场景,禁止将该字段作为开卡流程的必要字段,否则会导致会员推广场景下的入会失败",
  62548. "example" : "201928393932"
  62549. },
  62550. "template_id" : {
  62551. "type" : "string",
  62552. "description" : "会员卡模板id。使用会员卡模板创建接口(alipay.marketing.card.template.create)返回的结果",
  62553. "example" : "20170228000000000210102000300974"
  62554. }
  62555. }
  62556. },
  62557. "AlipayMarketingCardActivateurlApplyResponseModel" : {
  62558. "type" : "object",
  62559. "properties" : {
  62560. "apply_card_url" : {
  62561. "type" : "string",
  62562. "description" : "会员卡领卡链接(使用时需URLDecode解码)。商户获取此链接后可投放到服务窗消息、店铺二维码等。",
  62563. "example" : "https%3A%2F%2Fmemberprod.alipay.com%2Faccount%2Fopenform%2Factivecard.htm%3Fapp_id%3D2017051007191443%26template_id%3D2017053100"
  62564. }
  62565. }
  62566. },
  62567. "AlipayMarketingCardBenefitCreateErrorResponseModel" : {
  62568. "required" : [ "code", "message" ],
  62569. "type" : "object",
  62570. "properties" : {
  62571. "code" : {
  62572. "type" : "string",
  62573. "description" : "错误码",
  62574. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIST" ]
  62575. },
  62576. "links" : {
  62577. "type" : "string",
  62578. "description" : "解决方案链接"
  62579. },
  62580. "message" : {
  62581. "type" : "string",
  62582. "description" : "错误描述"
  62583. }
  62584. }
  62585. },
  62586. "AlipayMarketingCardBenefitCreateModel" : {
  62587. "type" : "object",
  62588. "properties" : {
  62589. "mcard_template_benefit" : {
  62590. "$ref" : "#/components/schemas/McardTemplateBenefit"
  62591. }
  62592. }
  62593. },
  62594. "AlipayMarketingCardBenefitCreateResponseModel" : {
  62595. "type" : "object",
  62596. "properties" : {
  62597. "benefit_id" : {
  62598. "type" : "string",
  62599. "description" : "权益ID",
  62600. "example" : "2017040600077000000002409504"
  62601. }
  62602. }
  62603. },
  62604. "AlipayMarketingCardBenefitDeleteErrorResponseModel" : {
  62605. "required" : [ "code", "message" ],
  62606. "type" : "object",
  62607. "properties" : {
  62608. "code" : {
  62609. "type" : "string",
  62610. "description" : "错误码",
  62611. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIST", "BENEFIT_NOT_EXIST" ]
  62612. },
  62613. "links" : {
  62614. "type" : "string",
  62615. "description" : "解决方案链接"
  62616. },
  62617. "message" : {
  62618. "type" : "string",
  62619. "description" : "错误描述"
  62620. }
  62621. }
  62622. },
  62623. "AlipayMarketingCardBenefitDeleteResponseModel" : {
  62624. "type" : "object",
  62625. "properties" : {
  62626. "result" : {
  62627. "type" : "boolean",
  62628. "description" : "权益删除结果;true成功,false失败",
  62629. "example" : "true"
  62630. }
  62631. }
  62632. },
  62633. "AlipayMarketingCardBenefitModifyErrorResponseModel" : {
  62634. "required" : [ "code", "message" ],
  62635. "type" : "object",
  62636. "properties" : {
  62637. "code" : {
  62638. "type" : "string",
  62639. "description" : "错误码",
  62640. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIST", "BENEFIT_NOT_EXIST" ]
  62641. },
  62642. "links" : {
  62643. "type" : "string",
  62644. "description" : "解决方案链接"
  62645. },
  62646. "message" : {
  62647. "type" : "string",
  62648. "description" : "错误描述"
  62649. }
  62650. }
  62651. },
  62652. "AlipayMarketingCardBenefitModifyModel" : {
  62653. "type" : "object",
  62654. "properties" : {
  62655. "benefit_id" : {
  62656. "type" : "string",
  62657. "description" : "权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。",
  62658. "example" : "2017040600077000000002409504"
  62659. },
  62660. "mcard_template_benefit" : {
  62661. "$ref" : "#/components/schemas/McardTemplateBenefit"
  62662. }
  62663. }
  62664. },
  62665. "AlipayMarketingCardBenefitModifyResponseModel" : {
  62666. "type" : "object",
  62667. "properties" : {
  62668. "result" : {
  62669. "type" : "boolean",
  62670. "description" : "权益修改结果;true成功:false失败",
  62671. "example" : "true"
  62672. }
  62673. }
  62674. },
  62675. "AlipayMarketingCardBenefitQueryErrorResponseModel" : {
  62676. "required" : [ "code", "message" ],
  62677. "type" : "object",
  62678. "properties" : {
  62679. "code" : {
  62680. "type" : "string",
  62681. "description" : "错误码",
  62682. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIST", "BENEFIT_NOT_EXIST" ]
  62683. },
  62684. "links" : {
  62685. "type" : "string",
  62686. "description" : "解决方案链接"
  62687. },
  62688. "message" : {
  62689. "type" : "string",
  62690. "description" : "错误描述"
  62691. }
  62692. }
  62693. },
  62694. "AlipayMarketingCardBenefitQueryResponseModel" : {
  62695. "type" : "object",
  62696. "properties" : {
  62697. "mcard_template_benefit_query" : {
  62698. "type" : "array",
  62699. "description" : "会员卡模板外部权益列表",
  62700. "items" : {
  62701. "$ref" : "#/components/schemas/McardTemplateBenefitQuery"
  62702. }
  62703. }
  62704. }
  62705. },
  62706. "AlipayMarketingCardConsumeSyncErrorResponseModel" : {
  62707. "required" : [ "code", "message" ],
  62708. "type" : "object",
  62709. "properties" : {
  62710. "code" : {
  62711. "type" : "string",
  62712. "description" : "错误码",
  62713. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "CARD_NOT_EXIT", "NO_CARD_TYPE" ]
  62714. },
  62715. "links" : {
  62716. "type" : "string",
  62717. "description" : "解决方案链接"
  62718. },
  62719. "message" : {
  62720. "type" : "string",
  62721. "description" : "错误描述"
  62722. }
  62723. }
  62724. },
  62725. "AlipayMarketingCardConsumeSyncModel" : {
  62726. "type" : "object",
  62727. "properties" : {
  62728. "act_pay_amount" : {
  62729. "type" : "string",
  62730. "description" : "用户实际付的现金金额\r\t1.针对预付卡面额的核销金额在use_benefit_list展现,作为权益金额\r\t2.权益金额不叠加在该金额上",
  62731. "example" : "23.9"
  62732. },
  62733. "card_info" : {
  62734. "$ref" : "#/components/schemas/MerchantCard"
  62735. },
  62736. "gain_benefit_list" : {
  62737. "type" : "array",
  62738. "description" : "获取权益列表",
  62739. "items" : {
  62740. "$ref" : "#/components/schemas/BenefitInfoDetail"
  62741. }
  62742. },
  62743. "memo" : {
  62744. "type" : "string",
  62745. "description" : "备注信息,现有直接填写球房信息",
  62746. "example" : "用户球房充值100"
  62747. },
  62748. "shop_code" : {
  62749. "type" : "string",
  62750. "description" : "球房编号",
  62751. "example" : "201606270000001"
  62752. },
  62753. "swipe_cert_type" : {
  62754. "type" : "string",
  62755. "description" : "产生该笔交易时,用户出具的凭证类型。枚举支持:\t*ALIPAY:支付宝电子卡;\t*ENTITY:实体卡;\t*OTHER:其他。",
  62756. "example" : "ALIPAY"
  62757. },
  62758. "target_card_no" : {
  62759. "type" : "string",
  62760. "description" : "支付宝业务卡号,即通过<a href=\"https://opendocs.alipay.com/apis/009zw3\">alipay.marketing.card.open</a>(会员卡开卡)接口开卡后获取的 card_info.biz_card_no 值。",
  62761. "example" : "0000001"
  62762. },
  62763. "target_card_no_type" : {
  62764. "type" : "string",
  62765. "description" : "卡号ID类型。支持:\t*BIZ_CARD:支付宝业务卡号(商户会员卡场景使用)。",
  62766. "example" : "BIZ_CARD"
  62767. },
  62768. "trade_amount" : {
  62769. "type" : "string",
  62770. "description" : "交易金额:本次交易的实际总金额(可认为标价金额)",
  62771. "example" : "67.5"
  62772. },
  62773. "trade_name" : {
  62774. "type" : "string",
  62775. "description" : "交易名称。为空时支付宝将根据交易类型提供默认名称。",
  62776. "example" : "预付卡充值100元"
  62777. },
  62778. "trade_no" : {
  62779. "type" : "string",
  62780. "description" : "支付宝交易号",
  62781. "example" : "201606270000000001"
  62782. },
  62783. "trade_time" : {
  62784. "type" : "string",
  62785. "description" : "线下交易时间,为用户付款的交易时间。\t说明:当交易时间晚于上次消费记录同步时间时,将变更会员卡信息。",
  62786. "example" : "2012-11-22 10:47:20"
  62787. },
  62788. "trade_type" : {
  62789. "type" : "string",
  62790. "description" : "交易类型。枚举支持:\t*开卡:OPEN;\t*消费:TRADE;\t*充值:DEPOSIT;\t*退卡:RETURN。",
  62791. "example" : "DEPOSIT"
  62792. },
  62793. "use_benefit_list" : {
  62794. "type" : "array",
  62795. "description" : "实际消耗的权益",
  62796. "items" : {
  62797. "$ref" : "#/components/schemas/BenefitInfoDetail"
  62798. }
  62799. }
  62800. }
  62801. },
  62802. "AlipayMarketingCardConsumeSyncResponseModel" : {
  62803. "type" : "object",
  62804. "properties" : {
  62805. "external_card_no" : {
  62806. "type" : "string",
  62807. "description" : "外部卡号",
  62808. "example" : "EXT10000001"
  62809. }
  62810. }
  62811. },
  62812. "AlipayMarketingCardDeleteErrorResponseModel" : {
  62813. "required" : [ "code", "message" ],
  62814. "type" : "object",
  62815. "properties" : {
  62816. "code" : {
  62817. "type" : "string",
  62818. "description" : "错误码",
  62819. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "CARD_NOT_EXIT", "NO_CARD_TYPE", "CARD_IS_DELETED_ALREADY" ]
  62820. },
  62821. "links" : {
  62822. "type" : "string",
  62823. "description" : "解决方案链接"
  62824. },
  62825. "message" : {
  62826. "type" : "string",
  62827. "description" : "错误描述"
  62828. }
  62829. }
  62830. },
  62831. "AlipayMarketingCardDeleteResponseModel" : {
  62832. "type" : "object",
  62833. "properties" : {
  62834. "biz_serial_no" : {
  62835. "type" : "string",
  62836. "description" : "支付宝端删卡业务流水号",
  62837. "example" : "2016062700001"
  62838. }
  62839. }
  62840. },
  62841. "AlipayMarketingCardFormtemplateSetErrorResponseModel" : {
  62842. "required" : [ "code", "message" ],
  62843. "type" : "object",
  62844. "properties" : {
  62845. "code" : {
  62846. "type" : "string",
  62847. "description" : "错误码",
  62848. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "CARD_TEMPLATE_NOT_EXIST", "DUPLICATE_FORM_FIELD", "FORM_FIELD_INVALID", "OPEN_FORM_SET_FAIL", "DUPLICATE_BIRTHDAY_FIELD", "DUPLICATE_CERT_NO", "INVALID_CERT_TYPE_AND_NO", "ILLEGAL_NULL_ARGUMENT" ]
  62849. },
  62850. "links" : {
  62851. "type" : "string",
  62852. "description" : "解决方案链接"
  62853. },
  62854. "message" : {
  62855. "type" : "string",
  62856. "description" : "错误描述"
  62857. }
  62858. }
  62859. },
  62860. "AlipayMarketingCardFormtemplateSetModel" : {
  62861. "type" : "object",
  62862. "properties" : {
  62863. "fields" : {
  62864. "$ref" : "#/components/schemas/OpenFormFieldDO"
  62865. },
  62866. "template_id" : {
  62867. "type" : "string",
  62868. "description" : "会员卡模板id。调用alipay.marketing.card.template.create(会员卡模板创建接口)创建模板后同步返回。",
  62869. "example" : "20170228000000000210102000300974"
  62870. }
  62871. }
  62872. },
  62873. "AlipayMarketingCardFormtemplateSetResponseModel" : {
  62874. "type" : "object"
  62875. },
  62876. "AlipayMarketingCardMessageNotifyErrorResponseModel" : {
  62877. "required" : [ "code", "message" ],
  62878. "type" : "object",
  62879. "properties" : {
  62880. "code" : {
  62881. "type" : "string",
  62882. "description" : "错误码",
  62883. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "CARD_NOT_EXIT" ]
  62884. },
  62885. "links" : {
  62886. "type" : "string",
  62887. "description" : "解决方案链接"
  62888. },
  62889. "message" : {
  62890. "type" : "string",
  62891. "description" : "错误描述"
  62892. }
  62893. }
  62894. },
  62895. "AlipayMarketingCardMessageNotifyModel" : {
  62896. "type" : "object",
  62897. "properties" : {
  62898. "notify_info" : {
  62899. "type" : "string",
  62900. "description" : "消息通知详情,包含消息通知需要的信息,map 格式存储。\t积分过期提醒:\t<br>expired_point 过期积分值\t<br>expired_time 过期时间",
  62901. "example" : "{\"expired_point\":\"121\"}"
  62902. },
  62903. "notify_no" : {
  62904. "type" : "string",
  62905. "description" : "消息通知幂等标识,业务流水号",
  62906. "example" : "2000000000001"
  62907. },
  62908. "notify_type" : {
  62909. "type" : "string",
  62910. "description" : "消息通知类型,\t<br>POINT_REMIND 积分过期提醒",
  62911. "example" : "POINT_REMIND"
  62912. },
  62913. "occur_time" : {
  62914. "type" : "string",
  62915. "description" : "标识业务发生时间,时间格式为\"yyyy-MM-dd HH:mm:ss\"。",
  62916. "example" : "2020-12-27 12:12:12"
  62917. },
  62918. "target_card_no" : {
  62919. "type" : "string",
  62920. "description" : "支付宝业务卡号,即通过 alipay.marketing.card.open 接口开卡后获取的 card_info.biz_card_no 值。",
  62921. "example" : "000001"
  62922. },
  62923. "target_card_no_type" : {
  62924. "type" : "string",
  62925. "description" : "卡号ID类型。支持: BIZ_CARD:支付宝业务卡号(商户会员卡场景使用)。",
  62926. "example" : "BIZ_CARD"
  62927. }
  62928. }
  62929. },
  62930. "AlipayMarketingCardMessageNotifyResponseModel" : {
  62931. "type" : "object",
  62932. "properties" : {
  62933. "result_code" : {
  62934. "type" : "string",
  62935. "description" : "二级错误处理结果(如果公用返回结果为false,则可以看这个接口判断明细原因) 如果公用返回为true,则该字段为空",
  62936. "example" : "isv.update-usercard-fail"
  62937. }
  62938. }
  62939. },
  62940. "AlipayMarketingCardOpenErrorResponseModel" : {
  62941. "required" : [ "code", "message" ],
  62942. "type" : "object",
  62943. "properties" : {
  62944. "code" : {
  62945. "type" : "string",
  62946. "description" : "错误码",
  62947. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIT", "NO_CARD_TYPE", "OPEN_CARD_NEED_OPENFORM", "OPEN_CARD_CONCURRENTLY", "USER_AUTH_FAIL", "CARD_HAS_OPENED", "PAID_OUTER_CARD_LACK_TEMPLATE_CONFIG" ]
  62948. },
  62949. "links" : {
  62950. "type" : "string",
  62951. "description" : "解决方案链接"
  62952. },
  62953. "message" : {
  62954. "type" : "string",
  62955. "description" : "错误描述"
  62956. }
  62957. }
  62958. },
  62959. "AlipayMarketingCardOpenModel" : {
  62960. "type" : "object",
  62961. "properties" : {
  62962. "card_ext_info" : {
  62963. "$ref" : "#/components/schemas/MerchantCard"
  62964. },
  62965. "card_template_id" : {
  62966. "type" : "string",
  62967. "description" : "支付宝分配的卡模板Id(卡模板创建接口返回的模板ID)",
  62968. "example" : "201606270000001"
  62969. },
  62970. "card_user_info" : {
  62971. "$ref" : "#/components/schemas/CardUserInfo"
  62972. },
  62973. "member_ext_info" : {
  62974. "$ref" : "#/components/schemas/MerchantMenber"
  62975. },
  62976. "open_card_channel" : {
  62977. "type" : "string",
  62978. "description" : "领卡渠道,用于记录外部商户端领卡来源的渠道信息,渠道值可自行定义(仅限数字、字母、下划线) \r\t可直接标识领卡渠道,也可配合open_card_channel_id标识领卡渠道类型:\r\t例如:\r\t线下球房领取:20161534000000000008863(直接标识领卡渠道,球房shopId)\r\t线下扫二维码领取:QR(标识领卡类型);\r\t线下活动领取:20170522000000000003609(直接标识领卡渠道,商户活动ID)",
  62979. "example" : "20161534000000000008863"
  62980. },
  62981. "open_card_channel_id" : {
  62982. "type" : "string",
  62983. "description" : "领卡来源的渠道id,注意区别于open_card_channel领卡渠道;\r\t一般使用场景:\r\topen_card_channel用于区分渠道类型,例如取值为\"SHOP\"(球房),\"ACTIVITY\"(活动);\r\t则open_card_channel_id可用于区分同渠道的不同实体,对应取各球房ID或各活动的标识ID等;",
  62984. "example" : "123123123123"
  62985. },
  62986. "out_serial_no" : {
  62987. "type" : "string",
  62988. "description" : "外部商户流水号。由商户自定义,需保证商户系统中唯一。",
  62989. "example" : "201606270000001"
  62990. },
  62991. "paid_outer_card_info" : {
  62992. "$ref" : "#/components/schemas/PaidOuterCardExtraInfoDTO"
  62993. }
  62994. }
  62995. },
  62996. "AlipayMarketingCardOpenResponseModel" : {
  62997. "type" : "object",
  62998. "properties" : {
  62999. "card_info" : {
  63000. "$ref" : "#/components/schemas/MerchantCard"
  63001. },
  63002. "open_card_channel" : {
  63003. "type" : "string",
  63004. "description" : "实际记录的领卡渠道(可能跟商户传入值不同);\r\t可直接标识领卡渠道,也可配合open_card_channel_id标识领卡渠道类型:\r\t例如:\r\t线下球房领取:20161534000000000008863(直接标识领卡渠道,球房shopId)\r\t线下扫二维码领取:QR(标识领卡类型);\r\t线下活动领取:20170522000000000003609(直接标识领卡渠道,商户活动ID)",
  63005. "example" : "QR"
  63006. },
  63007. "open_card_channel_id" : {
  63008. "type" : "string",
  63009. "description" : "实际记录的领卡来源渠道id(可能跟商户传入值不同);\r\t区别于open_card_channel领卡渠道;\r\t一般使用场景:\r\topen_card_channel用于区分渠道类型,例如取值为\"SHOP\"(球房),\"ACTIVITY\"(活动);\r\t则open_card_channel_id可用于区分同渠道的不同实体,对应取各球房ID或各活动的标识ID等;",
  63010. "example" : "123123123123"
  63011. }
  63012. }
  63013. },
  63014. "AlipayMarketingCardQueryErrorResponseModel" : {
  63015. "required" : [ "code", "message" ],
  63016. "type" : "object",
  63017. "properties" : {
  63018. "code" : {
  63019. "type" : "string",
  63020. "description" : "错误码",
  63021. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "CARD_NOT_EXIT", "NO_CARD_TYPE" ]
  63022. },
  63023. "links" : {
  63024. "type" : "string",
  63025. "description" : "解决方案链接"
  63026. },
  63027. "message" : {
  63028. "type" : "string",
  63029. "description" : "错误描述"
  63030. }
  63031. }
  63032. },
  63033. "AlipayMarketingCardQueryModel" : {
  63034. "type" : "object",
  63035. "properties" : {
  63036. "card_user_info" : {
  63037. "$ref" : "#/components/schemas/CardUserInfo"
  63038. },
  63039. "ext_info" : {
  63040. "type" : "string",
  63041. "description" : "扩展信息,暂时没有",
  63042. "example" : "\"\""
  63043. },
  63044. "target_card_no" : {
  63045. "type" : "string",
  63046. "description" : "操作卡号。\t若target_card_no_type为 BIZ_CARD,则该值为业务卡号,即alipay.marketing.card.open(会员卡开卡)返回结果中的card_info#biz_card_no。\t若target_card_no_type为 D_QR_CODE 或D_BAR_CODE,则该值为动态码值。\t若target_card_no_type为 EXTERNAL_CARD,则该值为外部卡号。",
  63047. "example" : "0000001"
  63048. },
  63049. "target_card_no_type" : {
  63050. "type" : "string",
  63051. "description" : "卡号ID类型(会员卡查询,只能提供支付宝端的卡号)\tBIZ_CARD:支付宝卡号\tD_QR_CODE:动态二维码(业务卡号对应的)\tD_BAR_CODE:动态条码(业务卡号对应的)\tEXTERNAL_CARD:外部卡号(业务卡号对应的)",
  63052. "example" : "BIZ_CARD"
  63053. }
  63054. }
  63055. },
  63056. "AlipayMarketingCardQueryResponseModel" : {
  63057. "type" : "object",
  63058. "properties" : {
  63059. "card_info" : {
  63060. "$ref" : "#/components/schemas/MerchantCard"
  63061. },
  63062. "paid_outer_card_info" : {
  63063. "$ref" : "#/components/schemas/PaidOuterCardExtraInfoDTO"
  63064. },
  63065. "pass_id" : {
  63066. "type" : "string",
  63067. "description" : "商家会员卡页面跳转到支付宝卡券详情页的pass_id,对应schema地址中的参数p,\t主要用于小程序跳往会员卡详情的链接拼接",
  63068. "example" : "21942125"
  63069. },
  63070. "schema_url" : {
  63071. "type" : "string",
  63072. "description" : "商家会员卡页面跳转到支付宝卡券详情页面的schema地址",
  63073. "example" : "alipays://platformapi/startapp?appId=20000021&b=m&p=111"
  63074. }
  63075. }
  63076. },
  63077. "AlipayMarketingCardTemplateBatchqueryErrorResponseModel" : {
  63078. "required" : [ "code", "message" ],
  63079. "type" : "object",
  63080. "properties" : {
  63081. "code" : {
  63082. "type" : "string",
  63083. "description" : "错误码",
  63084. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  63085. },
  63086. "links" : {
  63087. "type" : "string",
  63088. "description" : "解决方案链接"
  63089. },
  63090. "message" : {
  63091. "type" : "string",
  63092. "description" : "错误描述"
  63093. }
  63094. }
  63095. },
  63096. "AlipayMarketingCardTemplateBatchqueryModel" : {
  63097. "type" : "object",
  63098. "properties" : {
  63099. "page_no" : {
  63100. "type" : "integer",
  63101. "description" : " 查询起始页码,第一页为 1。",
  63102. "example" : "1"
  63103. },
  63104. "page_size" : {
  63105. "type" : "integer",
  63106. "description" : "每页数据大小,默认 20条,最大支持20条。",
  63107. "example" : "20"
  63108. }
  63109. }
  63110. },
  63111. "AlipayMarketingCardTemplateBatchqueryResponseModel" : {
  63112. "type" : "object",
  63113. "properties" : {
  63114. "mcard_template" : {
  63115. "type" : "array",
  63116. "description" : "会员卡模板基本信息",
  63117. "items" : {
  63118. "$ref" : "#/components/schemas/McardTemplate"
  63119. }
  63120. },
  63121. "template_total" : {
  63122. "type" : "integer",
  63123. "description" : "会员卡模板总数",
  63124. "example" : "10"
  63125. }
  63126. }
  63127. },
  63128. "AlipayMarketingCardTemplateCreateErrorResponseModel" : {
  63129. "required" : [ "code", "message" ],
  63130. "type" : "object",
  63131. "properties" : {
  63132. "code" : {
  63133. "type" : "string",
  63134. "description" : "错误码",
  63135. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIT", "NO_CARD_TYPE", "TEMPLATE_OVER_LIMIT" ]
  63136. },
  63137. "links" : {
  63138. "type" : "string",
  63139. "description" : "解决方案链接"
  63140. },
  63141. "message" : {
  63142. "type" : "string",
  63143. "description" : "错误描述"
  63144. }
  63145. }
  63146. },
  63147. "AlipayMarketingCardTemplateCreateModel" : {
  63148. "type" : "object",
  63149. "properties" : {
  63150. "biz_no_prefix" : {
  63151. "type" : "string",
  63152. "description" : "业务卡号前缀,由商户指定\r\t支付宝业务卡号生成规则:biz_no_prefix(商户指定)卡号前缀 + biz_no_suffix(实时生成)卡号后缀",
  63153. "example" : "prex"
  63154. },
  63155. "biz_no_suffix_len" : {
  63156. "type" : "string",
  63157. "description" : "业务卡号后缀长度,与biz_no_prefix配合,扣除系统预留2位,剩下对应seq长度。在生成卡号时,若seq位数不足前置补0,若seq位数超出则以实际为准。举例:设为10,其中8位用于生成seq,可覆盖1亿用户,即使seq超过1亿,生成卡号也不报错,但总长度不得超过32位。建议按需设置合适的值,以获得长度一致的业务卡号,建议长度20,性能更好。",
  63158. "example" : "20"
  63159. },
  63160. "card_action_list" : {
  63161. "type" : "array",
  63162. "description" : "卡行动点配置;\t行动点,即用户可点击跳转的区块,类似按钮控件的交互;\t单张卡最多定制3个行动点。如果各项的配置内容完全一样,展示时会进行去重。",
  63163. "items" : {
  63164. "$ref" : "#/components/schemas/TemplateActionInfoDTO"
  63165. }
  63166. },
  63167. "card_level_conf" : {
  63168. "type" : "array",
  63169. "description" : "卡级别配置",
  63170. "items" : {
  63171. "$ref" : "#/components/schemas/TemplateCardLevelConfDTO"
  63172. }
  63173. },
  63174. "card_spec_tag" : {
  63175. "type" : "string",
  63176. "description" : "卡特定标签,只供特定业务使用,通常接入无需关注",
  63177. "example" : "NONE"
  63178. },
  63179. "card_type" : {
  63180. "type" : "string",
  63181. "description" : "卡类型。可选类型如下:\tOUT_MEMBER_CARD:外部权益卡",
  63182. "example" : "OUT_MEMBER_CARD"
  63183. },
  63184. "column_info_list" : {
  63185. "type" : "array",
  63186. "description" : "栏位信息",
  63187. "items" : {
  63188. "$ref" : "#/components/schemas/TemplateColumnInfoDTO"
  63189. }
  63190. },
  63191. "field_rule_list" : {
  63192. "type" : "array",
  63193. "description" : "字段规则列表,会员卡开卡过程中,会员卡信息的生成规则,\r\t例如:卡有效期为开卡后两年内有效,则设置为:DATE_IN_FUTURE",
  63194. "items" : {
  63195. "$ref" : "#/components/schemas/TemplateFieldRuleDTO"
  63196. }
  63197. },
  63198. "mdcode_notify_conf" : {
  63199. "$ref" : "#/components/schemas/TemplateMdcodeNotifyConfDTO"
  63200. },
  63201. "notify_url" : {
  63202. "type" : "string",
  63203. "description" : "通知地址"
  63204. },
  63205. "open_card_conf" : {
  63206. "$ref" : "#/components/schemas/TemplateOpenCardConfDTO"
  63207. },
  63208. "paid_outer_card_conf" : {
  63209. "$ref" : "#/components/schemas/PaidOuterCardTemplateConfDTO"
  63210. },
  63211. "pub_channels" : {
  63212. "type" : "array",
  63213. "description" : "卡模板投放渠道",
  63214. "items" : {
  63215. "$ref" : "#/components/schemas/PubChannelDTO"
  63216. }
  63217. },
  63218. "request_id" : {
  63219. "type" : "string",
  63220. "description" : "请求ID,商家自定义且并保证唯一性。",
  63221. "example" : "2016072600000000000000001"
  63222. },
  63223. "service_label_list" : {
  63224. "type" : "array",
  63225. "description" : "服务Code\r\tHUABEI_FUWU:花呗服务(只有需要花呗服务时,才需要加入该标识)",
  63226. "items" : {
  63227. "type" : "string"
  63228. },
  63229. "example" : "HUABEI_FUWU"
  63230. },
  63231. "shop_ids" : {
  63232. "type" : "array",
  63233. "description" : "会员卡上架球房id(支付宝球房id),即发放会员卡的商家球房id",
  63234. "items" : {
  63235. "type" : "string"
  63236. },
  63237. "example" : "2015122900077000000002409504"
  63238. },
  63239. "spi_app_id" : {
  63240. "type" : "string",
  63241. "description" : "spi_app_id:若使用openspi模式开卡,该字段必填,为实现spi.alipay.user.opencard.get接口的app_id",
  63242. "example" : "2021001160639010"
  63243. },
  63244. "template_benefit_info" : {
  63245. "type" : "array",
  63246. "description" : "权益信息,\r\t1、在卡包的卡详情页面会自动添加“会员权益”栏位,展现此字段配置的会员卡权益信息,\r\t2、如果添加球房渠道,则可在球房页展现会员卡的权益",
  63247. "items" : {
  63248. "$ref" : "#/components/schemas/TemplateBenefitInfoDTO"
  63249. }
  63250. },
  63251. "template_style_info" : {
  63252. "$ref" : "#/components/schemas/TemplateStyleInfoDTO"
  63253. },
  63254. "write_off_type" : {
  63255. "type" : "string",
  63256. "description" : "卡包详情页面中展现出的卡码(可用于扫码核销)\t\t(1) 静态码\tqrcode: 二维码,扫码得商户开卡传入的external_card_no\tbarcode: 条形码,扫码得商户开卡传入的external_card_no\t\t(2) 动态码-支付宝生成码值(动态码会在2分钟左右后过期)\tdqrcode: 动态二维码,扫码得到的码值可配合会员卡查询接口使用\tdbarcode: 动态条形码,扫码得到的码值可配合会员卡查询接口使用\t\t(3) 动态码-商家自主生成码值(码值、时效性都由商户控制)\tmdqrcode: 商户动态二维码,扫码得商户自主传入的码值\tmdbarcode: 商户动态条码,扫码得商户自主传入的码值\t如需使用商户动态码,对接详情参见 <a href=\"https://opendocs.alipay.com/open/02y7gt\">商户动态发码</a>。",
  63257. "example" : "qrcode"
  63258. }
  63259. }
  63260. },
  63261. "AlipayMarketingCardTemplateCreateResponseModel" : {
  63262. "type" : "object",
  63263. "properties" : {
  63264. "template_id" : {
  63265. "type" : "string",
  63266. "description" : "支付宝卡模板ID",
  63267. "example" : "201607180000001"
  63268. }
  63269. }
  63270. },
  63271. "AlipayMarketingCardTemplateModifyErrorResponseModel" : {
  63272. "required" : [ "code", "message" ],
  63273. "type" : "object",
  63274. "properties" : {
  63275. "code" : {
  63276. "type" : "string",
  63277. "description" : "错误码",
  63278. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIT" ]
  63279. },
  63280. "links" : {
  63281. "type" : "string",
  63282. "description" : "解决方案链接"
  63283. },
  63284. "message" : {
  63285. "type" : "string",
  63286. "description" : "错误描述"
  63287. }
  63288. }
  63289. },
  63290. "AlipayMarketingCardTemplateModifyModel" : {
  63291. "type" : "object",
  63292. "properties" : {
  63293. "biz_no_prefix" : {
  63294. "type" : "string",
  63295. "description" : "业务卡号前缀,由商户指定\r\t支付宝业务卡号生成规则:biz_no_prefix(商户指定)卡号前缀 + biz_no_suffix(实时生成)卡号后缀",
  63296. "example" : "prex"
  63297. },
  63298. "biz_no_suffix_len" : {
  63299. "type" : "string",
  63300. "description" : "业务卡号后缀长度,与biz_no_prefix配合,扣除系统预留2位,剩下对应seq长度。在生成卡号时,若seq位数不足前置补0,若seq位数超出则以实际为准。举例:设为10,其中8位用于生成seq,可覆盖1亿用户,即使seq超过1亿,生成卡号也不报错,但总长度不得超过32位。建议按需设置合适的值,以获得长度一致的业务卡号,建议长度20,性能更好。",
  63301. "example" : "20"
  63302. },
  63303. "card_action_list" : {
  63304. "type" : "array",
  63305. "description" : "卡行动点配置;\r\t行动点,即用户可点击跳转的区块,类似按钮控件的交互;\r\t单张卡最多定制4个行动点。",
  63306. "items" : {
  63307. "$ref" : "#/components/schemas/TemplateActionInfoDTO"
  63308. }
  63309. },
  63310. "card_level_conf" : {
  63311. "type" : "array",
  63312. "description" : "卡级别配置",
  63313. "items" : {
  63314. "$ref" : "#/components/schemas/TemplateCardLevelConfDTO"
  63315. }
  63316. },
  63317. "card_spec_tag" : {
  63318. "type" : "string",
  63319. "description" : "卡特定标签,只供特定业务使用,通常接入无需关注",
  63320. "example" : "NONE"
  63321. },
  63322. "column_info_list" : {
  63323. "type" : "array",
  63324. "description" : "栏位信息(卡包详情页面展现的栏位)",
  63325. "items" : {
  63326. "$ref" : "#/components/schemas/TemplateColumnInfoDTO"
  63327. }
  63328. },
  63329. "field_rule_list" : {
  63330. "type" : "array",
  63331. "description" : "字段规则列表,会员卡开卡过程中,会员卡信息的生成规则,\t例如:卡有效期为开卡后两年内有效,则设置为:DATE_IN_FUTURE\t注意:商家会员卡场景不支持修改该内容。\t",
  63332. "items" : {
  63333. "$ref" : "#/components/schemas/TemplateFieldRuleDTO"
  63334. }
  63335. },
  63336. "mdcode_notify_conf" : {
  63337. "$ref" : "#/components/schemas/TemplateMdcodeNotifyConfDTO"
  63338. },
  63339. "open_card_conf" : {
  63340. "$ref" : "#/components/schemas/TemplateOpenCardConfDTO"
  63341. },
  63342. "paid_outer_card_conf" : {
  63343. "$ref" : "#/components/schemas/PaidOuterCardTemplateConfDTO"
  63344. },
  63345. "pub_channels" : {
  63346. "type" : "array",
  63347. "description" : "卡模板投放渠道",
  63348. "items" : {
  63349. "$ref" : "#/components/schemas/PubChannelDTO"
  63350. }
  63351. },
  63352. "request_id" : {
  63353. "type" : "string",
  63354. "description" : "请求 ID,商户自定义且需确保每次请求唯一。",
  63355. "example" : "2016072100000000001"
  63356. },
  63357. "shop_ids" : {
  63358. "type" : "array",
  63359. "description" : "会员卡上架球房 id(支付宝球房id),即发放会员卡的商家球房id。不传则保持创建模板时信息。\t注意:不支持删除已有shop_id,仅支持新增。",
  63360. "items" : {
  63361. "type" : "string"
  63362. },
  63363. "example" : "2015122900077000000002409504"
  63364. },
  63365. "spi_app_id" : {
  63366. "type" : "string",
  63367. "description" : "spi_app_id:若使用openspi模式开卡,该字段必填,为实现spi.alipay.user.opencard.get接口的app_id",
  63368. "example" : "2014072300007148"
  63369. },
  63370. "template_benefit_info" : {
  63371. "type" : "array",
  63372. "description" : "权益信息,\r\t1、在卡包的卡详情页面会自动添加权益栏位,展现会员卡特权,\r\t2、如果添加球房渠道,则可在球房页展现会员卡的权益",
  63373. "items" : {
  63374. "$ref" : "#/components/schemas/TemplateBenefitInfoDTO"
  63375. }
  63376. },
  63377. "template_id" : {
  63378. "type" : "string",
  63379. "description" : "会员卡模板id。调用alipay.marketing.card.template.create(会员卡模板创建接口)创建模板后同步返回。",
  63380. "example" : "201607180000001"
  63381. },
  63382. "template_style_info" : {
  63383. "$ref" : "#/components/schemas/TemplateStyleInfoDTO"
  63384. },
  63385. "write_off_type" : {
  63386. "type" : "string",
  63387. "description" : "卡包详情页面中展现出的卡码(可用于扫码核销)\t\t(1) 静态码\tqrcode: 二维码,扫码得商户开卡传入的external_card_no\tbarcode: 条形码,扫码得商户开卡传入的external_card_no\t\t(2) 动态码-支付宝生成码值(动态码会在2分钟左右后过期)\tdqrcode: 动态二维码,扫码得到的码值可配合会员卡查询接口使用\tdbarcode: 动态条形码,扫码得到的码值可配合会员卡查询接口使用\t\t(3) 动态码-商家自主生成码值(码值、时效性都由商户控制)\tmdqrcode: 商户动态二维码,扫码得商户自主传入的码值\tmdbarcode: 商户动态条码,扫码得商户自主传入的码值。\t如需使用商户动态码,请联系支付宝技术支持获取相关文档。",
  63388. "example" : "qrcode"
  63389. }
  63390. }
  63391. },
  63392. "AlipayMarketingCardTemplateModifyResponseModel" : {
  63393. "type" : "object",
  63394. "properties" : {
  63395. "template_id" : {
  63396. "type" : "string",
  63397. "description" : "模板ID",
  63398. "example" : "2016071800000000001"
  63399. }
  63400. }
  63401. },
  63402. "AlipayMarketingCardTemplateQueryErrorResponseModel" : {
  63403. "required" : [ "code", "message" ],
  63404. "type" : "object",
  63405. "properties" : {
  63406. "code" : {
  63407. "type" : "string",
  63408. "description" : "错误码",
  63409. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIT" ]
  63410. },
  63411. "links" : {
  63412. "type" : "string",
  63413. "description" : "解决方案链接"
  63414. },
  63415. "message" : {
  63416. "type" : "string",
  63417. "description" : "错误描述"
  63418. }
  63419. }
  63420. },
  63421. "AlipayMarketingCardTemplateQueryResponseModel" : {
  63422. "type" : "object",
  63423. "properties" : {
  63424. "biz_no_prefix" : {
  63425. "type" : "string",
  63426. "description" : "业务卡号前缀,由商户指定\r\t支付宝业务卡号生成规则:biz_no_prefix(商户指定)卡号前缀 + biz_no_suffix(实时生成)卡号后缀",
  63427. "example" : "prex"
  63428. },
  63429. "biz_no_suffix_len" : {
  63430. "type" : "string",
  63431. "description" : "业务卡号后缀的长度\r\t支付宝业务卡号生成规则:biz_no_prefix(商户指定)卡号前缀 + biz_no_suffix(实时生成)卡号后缀",
  63432. "example" : "10"
  63433. },
  63434. "card_action_list" : {
  63435. "type" : "array",
  63436. "description" : "卡行动点配置;\r\t行动点,即用户可点击跳转的区块,类似按钮控件的交互;\r\t单张卡最多4个行动点。",
  63437. "items" : {
  63438. "$ref" : "#/components/schemas/TemplateActionInfoDTO"
  63439. }
  63440. },
  63441. "card_level_confs" : {
  63442. "type" : "array",
  63443. "description" : "卡等级配置",
  63444. "items" : {
  63445. "$ref" : "#/components/schemas/TemplateCardLevelConfDTO"
  63446. }
  63447. },
  63448. "card_spec_tag" : {
  63449. "type" : "string",
  63450. "description" : "卡特定标签,只供特定业务使用,通常接入无需关注",
  63451. "example" : "NONE"
  63452. },
  63453. "card_type" : {
  63454. "type" : "string",
  63455. "description" : "会员卡类型:\r\tOUT_MEMBER_CARD:外部权益卡",
  63456. "example" : "OUT_MEMBER_CARD"
  63457. },
  63458. "column_info_list" : {
  63459. "type" : "array",
  63460. "description" : "栏位信息(卡包详情页面展现的栏位)",
  63461. "items" : {
  63462. "$ref" : "#/components/schemas/TemplateColumnInfoDTO"
  63463. }
  63464. },
  63465. "field_rule_list" : {
  63466. "type" : "array",
  63467. "description" : "字段规则列表,会员卡开卡过程中,会员卡信息的生成规则,\r\t例如:卡有效期为开卡后两年内有效,则设置为:DATE_IN_FUTURE",
  63468. "items" : {
  63469. "$ref" : "#/components/schemas/TemplateFieldRuleDTO"
  63470. }
  63471. },
  63472. "mdcode_notify_conf" : {
  63473. "$ref" : "#/components/schemas/TemplateMdcodeNotifyConfDTO"
  63474. },
  63475. "open_card_conf" : {
  63476. "$ref" : "#/components/schemas/TemplateOpenCardConfDTO"
  63477. },
  63478. "paid_outer_card_conf" : {
  63479. "$ref" : "#/components/schemas/PaidOuterCardTemplateConfDTO"
  63480. },
  63481. "pub_channels" : {
  63482. "type" : "array",
  63483. "description" : "卡模板投放渠道",
  63484. "items" : {
  63485. "$ref" : "#/components/schemas/PubChannelDTO"
  63486. }
  63487. },
  63488. "service_label_list" : {
  63489. "type" : "array",
  63490. "description" : "服务标签列表",
  63491. "items" : {
  63492. "type" : "string"
  63493. },
  63494. "example" : "Checklater"
  63495. },
  63496. "shop_ids" : {
  63497. "type" : "array",
  63498. "description" : "球房ids",
  63499. "items" : {
  63500. "type" : "string"
  63501. },
  63502. "example" : "[\"2015122900077000000002409504\"]"
  63503. },
  63504. "spi_app_id" : {
  63505. "type" : "string",
  63506. "description" : "spi_app_id:若使用openspi模式开卡,该字段为创建模版时,设置的实现spi.alipay.user.opencard.get接口的app_id",
  63507. "example" : "2014072300007148"
  63508. },
  63509. "template_benefit_info" : {
  63510. "type" : "array",
  63511. "description" : "权益信息,\r\t1、在卡包的卡详情页面会自动添加权益栏位,展现会员卡特权,\r\t2、如果添加球房渠道,则可在球房页展现会员卡的权益",
  63512. "items" : {
  63513. "$ref" : "#/components/schemas/TemplateBenefitInfoDTO"
  63514. }
  63515. },
  63516. "template_style_info" : {
  63517. "$ref" : "#/components/schemas/TemplateStyleInfoDTO"
  63518. }
  63519. }
  63520. },
  63521. "AlipayMarketingCardUpdateErrorResponseModel" : {
  63522. "required" : [ "code", "message" ],
  63523. "type" : "object",
  63524. "properties" : {
  63525. "code" : {
  63526. "type" : "string",
  63527. "description" : "错误码",
  63528. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_CARD_TYPE", "CARD_NOT_EXIT" ]
  63529. },
  63530. "links" : {
  63531. "type" : "string",
  63532. "description" : "解决方案链接"
  63533. },
  63534. "message" : {
  63535. "type" : "string",
  63536. "description" : "错误描述"
  63537. }
  63538. }
  63539. },
  63540. "AlipayMarketingCardUpdateModel" : {
  63541. "type" : "object",
  63542. "properties" : {
  63543. "card_info" : {
  63544. "$ref" : "#/components/schemas/MerchantCard"
  63545. },
  63546. "ext_info" : {
  63547. "type" : "string",
  63548. "description" : "扩展信息(暂时无用)",
  63549. "example" : "\"\""
  63550. },
  63551. "mcard_style_info" : {
  63552. "$ref" : "#/components/schemas/McardStylInfo"
  63553. },
  63554. "merchant_card_msg_info" : {
  63555. "$ref" : "#/components/schemas/MerchantCardMsgInfo"
  63556. },
  63557. "notify_messages" : {
  63558. "type" : "array",
  63559. "description" : "注意:此字段已废弃。\t卡信息变更通知消息\t1、在列表中定义的消息,才会发送给用户,消息格式一定。\t2、根据卡信息变更情况,一次可发送多个消息",
  63560. "items" : {
  63561. "$ref" : "#/components/schemas/McardNotifyMessage"
  63562. }
  63563. },
  63564. "occur_time" : {
  63565. "type" : "string",
  63566. "description" : "标识业务发生时间,时间格式为\"yyyy-MM-dd HH:mm:ss\"。",
  63567. "example" : "2020-12-27 12:12:12"
  63568. },
  63569. "paid_outer_card_info" : {
  63570. "$ref" : "#/components/schemas/PaidOuterCardExtraInfoDTO"
  63571. },
  63572. "target_card_no" : {
  63573. "type" : "string",
  63574. "description" : "支付宝业务卡号,即通过<a href=\"https://opendocs.alipay.com/apis/009zw3\">alipay.marketing.card.open</a>(会员卡开卡)接口开卡后获取的 card_info.biz_card_no 值。",
  63575. "example" : "000001"
  63576. },
  63577. "target_card_no_type" : {
  63578. "type" : "string",
  63579. "description" : "卡号ID类型。支持:\tBIZ_CARD:支付宝业务卡号(商家会员卡场景使用)。",
  63580. "example" : "BIZ_CARD"
  63581. }
  63582. }
  63583. },
  63584. "AlipayMarketingCardUpdateResponseModel" : {
  63585. "type" : "object",
  63586. "properties" : {
  63587. "result_code" : {
  63588. "type" : "string",
  63589. "description" : "二级错误处理结果(如果公用返回结果为false,则可以看这个接口判断明细原因)\r\t如果公用返回为true,则该字段为空",
  63590. "example" : "isv.update-usercard-fail"
  63591. }
  63592. }
  63593. },
  63594. "AlipayMarketingMaterialCreateErrorResponseModel" : {
  63595. "required" : [ "code", "message" ],
  63596. "type" : "object",
  63597. "properties" : {
  63598. "code" : {
  63599. "type" : "string",
  63600. "description" : "错误码",
  63601. "enum" : [ "SYSTEM_ERROR", "MATERIALSPECID_NOT_EXIST", "INVALID_PARAMETER", "MATERIALSPEC_CHECK_FAILED" ]
  63602. },
  63603. "links" : {
  63604. "type" : "string",
  63605. "description" : "解决方案链接"
  63606. },
  63607. "message" : {
  63608. "type" : "string",
  63609. "description" : "错误描述"
  63610. }
  63611. }
  63612. },
  63613. "AlipayMarketingMaterialCreateModel" : {
  63614. "type" : "object",
  63615. "properties" : {
  63616. "material_fields" : {
  63617. "type" : "array",
  63618. "description" : "素材字段列表,素材提报的具体内容,包含三种类型:图片、文本、链接。图片类型,则根据“图片资源上传接口(https://opendocs.alipay.com/pre-open/02bhlj)”中返回的resource_id字段值进行素材字段的设值。文本或链接类型,则按照实际需要设值即可,需满足具体的规范要求。规范要求详情请参见产品文档。",
  63619. "items" : {
  63620. "$ref" : "#/components/schemas/MaterialField"
  63621. }
  63622. },
  63623. "material_name" : {
  63624. "type" : "string",
  63625. "description" : "素材名称,接入方自行生成,建议命名时遵循一定的规律以方便管理。",
  63626. "example" : "测试素材名称"
  63627. },
  63628. "material_spec_id" : {
  63629. "type" : "string",
  63630. "description" : "素材规范ID,用于标识具体场景下的素材规范,根据具体的使用场景获取对应的素材规范ID。",
  63631. "example" : "2019041301000200000077970001"
  63632. },
  63633. "out_biz_no" : {
  63634. "type" : "string",
  63635. "description" : "外部业务单号,用作幂等控制,相同单号会返回上一次的结果,接入方需保证单号唯一。",
  63636. "example" : "21ba1e1c16456985463242192e4d"
  63637. }
  63638. }
  63639. },
  63640. "AlipayMarketingMaterialCreateResponseModel" : {
  63641. "type" : "object",
  63642. "properties" : {
  63643. "material_id" : {
  63644. "type" : "string",
  63645. "description" : "素材id",
  63646. "example" : "2019070100903002019700470001"
  63647. }
  63648. }
  63649. },
  63650. "AlipayMarketingMaterialImageUploadErrorResponseModel" : {
  63651. "required" : [ "code", "message" ],
  63652. "type" : "object",
  63653. "properties" : {
  63654. "code" : {
  63655. "type" : "string",
  63656. "description" : "错误码",
  63657. "enum" : [ "SYSTEM_ERROR", "FILE_SIZE_OUT_OF_RANGE", "PIC_SUFFIX_ILLEGAL", "FILE_TYPE_ERROR", "MATERIAL_ERROR", "INVALID_PARAMETER" ]
  63658. },
  63659. "links" : {
  63660. "type" : "string",
  63661. "description" : "解决方案链接"
  63662. },
  63663. "message" : {
  63664. "type" : "string",
  63665. "description" : "错误描述"
  63666. }
  63667. }
  63668. },
  63669. "AlipayMarketingMaterialImageUploadModel" : {
  63670. "type" : "object",
  63671. "properties" : {
  63672. "belong_merchant_info" : {
  63673. "$ref" : "#/components/schemas/BelongMerchantInfo"
  63674. },
  63675. "file_key" : {
  63676. "type" : "string",
  63677. "description" : "文件业务标识。\t\t枚举值\talipay.marketing.activity.delivery.create接口中\tdelivery_base_info.delivery_material.delivery_single_material.delivery_image\t当delivery_booth_code=PUBLIC_UNION,上传图片接口需指定file_key=PUBLIC_UNION_CHANNEL_PIC。上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过200kb;\t当delivery_booth_code=PAYMENT_RESULT,上传图片接口需指定file_key=DELIVERY_CHANNEL_PIC。上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过200kb。\t上传图片更多要求参考文档: https://render.alipay.com/p/c/18tpirlg12e8?operateFrom=BALIPAY\t\talipay.marketing.activity.ordervoucher.create接口中\tvoucher_display_info.brand_logo字段,file_key=PROMO_BRAND_LOGO,上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过2MB\tvoucher_display_info.voucher_image字段,file_key=PROMO_VOUCHER_IMAGE,上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过2MB",
  63678. "example" : "PROMO_VOUCHER_IMAGE"
  63679. },
  63680. "merchant_access_mode" : {
  63681. "type" : "string",
  63682. "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
  63683. "example" : "SELF_MODE"
  63684. }
  63685. }
  63686. },
  63687. "AlipayMarketingMaterialImageUploadResponseModel" : {
  63688. "type" : "object",
  63689. "properties" : {
  63690. "resource_enhance" : {
  63691. "type" : "boolean",
  63692. "description" : "图片是否优化过。系统会根据要求,若上传的图片不符合要求的尺寸,会对上传的图片做尺寸的优化。",
  63693. "example" : "false"
  63694. },
  63695. "resource_id" : {
  63696. "type" : "string",
  63697. "description" : "图片唯一资源ID",
  63698. "example" : "adeDSktiQO-u5vJUqVbcQwAAACMAAQED"
  63699. },
  63700. "resource_url" : {
  63701. "type" : "string",
  63702. "description" : "上传后图片的url地址",
  63703. "example" : "https://mdn.alipayobjects.com/afts/img/A*o-BSQa2Pnq4mIFdCjUnmqAAAARwnAQ/original?bz=promo_merchant"
  63704. }
  63705. }
  63706. },
  63707. "AlipayMarketingRecruitEnrollCloseErrorResponseModel" : {
  63708. "required" : [ "code", "message" ],
  63709. "type" : "object",
  63710. "properties" : {
  63711. "code" : {
  63712. "type" : "string",
  63713. "description" : "错误码",
  63714. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
  63715. },
  63716. "links" : {
  63717. "type" : "string",
  63718. "description" : "解决方案链接"
  63719. },
  63720. "message" : {
  63721. "type" : "string",
  63722. "description" : "错误描述"
  63723. }
  63724. }
  63725. },
  63726. "AlipayMarketingRecruitEnrollCloseModel" : {
  63727. "type" : "object",
  63728. "properties" : {
  63729. "enroll_id" : {
  63730. "type" : "string",
  63731. "description" : "报名ID",
  63732. "example" : "2021042101000200000001330047"
  63733. }
  63734. }
  63735. },
  63736. "AlipayMarketingRecruitEnrollCloseResponseModel" : {
  63737. "type" : "object"
  63738. },
  63739. "AlipayMarketingRecruitEnrollCreateErrorResponseModel" : {
  63740. "required" : [ "code", "message" ],
  63741. "type" : "object",
  63742. "properties" : {
  63743. "code" : {
  63744. "type" : "string",
  63745. "description" : "错误码",
  63746. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
  63747. },
  63748. "links" : {
  63749. "type" : "string",
  63750. "description" : "解决方案链接"
  63751. },
  63752. "message" : {
  63753. "type" : "string",
  63754. "description" : "错误描述"
  63755. }
  63756. }
  63757. },
  63758. "AlipayMarketingRecruitEnrollCreateModel" : {
  63759. "type" : "object",
  63760. "properties" : {
  63761. "enroll_info" : {
  63762. "$ref" : "#/components/schemas/RecruitEnrollInfo"
  63763. },
  63764. "enroll_scene_type" : {
  63765. "type" : "string",
  63766. "description" : "活动报名场景配置。\t枚举值:\tVOUCHER:券报名场景的报名;\tMINI_APP:小程序报名场景的报名;",
  63767. "example" : "VOUCHER"
  63768. },
  63769. "out_biz_no" : {
  63770. "type" : "string",
  63771. "description" : "外部操作流水号。由商家/ISV 自定义,仅支持字母、数字、下划线且需保证每次操作唯一。",
  63772. "example" : "21ba1e1c16456985463242192e4d"
  63773. },
  63774. "plan_id" : {
  63775. "type" : "string",
  63776. "description" : "要报名的招商方案ID",
  63777. "example" : "2021041301000200000077974217"
  63778. }
  63779. }
  63780. },
  63781. "AlipayMarketingRecruitEnrollCreateResponseModel" : {
  63782. "type" : "object",
  63783. "properties" : {
  63784. "enroll_id" : {
  63785. "type" : "string",
  63786. "description" : "报名ID",
  63787. "example" : "2021041301000200000077974217"
  63788. },
  63789. "out_biz_no" : {
  63790. "type" : "string",
  63791. "description" : "外部操作流水号。由商家/ISV 自定义,仅支持字母、数字、下划线且需保证每次操作唯一。",
  63792. "example" : "21ba1e1c16456985463242192e4d"
  63793. }
  63794. }
  63795. },
  63796. "AlipayMarketingRecruitEnrollQueryErrorResponseModel" : {
  63797. "required" : [ "code", "message" ],
  63798. "type" : "object",
  63799. "properties" : {
  63800. "code" : {
  63801. "type" : "string",
  63802. "description" : "错误码",
  63803. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
  63804. },
  63805. "links" : {
  63806. "type" : "string",
  63807. "description" : "解决方案链接"
  63808. },
  63809. "message" : {
  63810. "type" : "string",
  63811. "description" : "错误描述"
  63812. }
  63813. }
  63814. },
  63815. "AlipayMarketingRecruitEnrollQueryResponseModel" : {
  63816. "type" : "object",
  63817. "properties" : {
  63818. "enroll_id" : {
  63819. "type" : "string",
  63820. "description" : "报名ID",
  63821. "example" : "2021041301000200000000000000"
  63822. },
  63823. "enroll_info" : {
  63824. "$ref" : "#/components/schemas/RecruitEnrollInfo"
  63825. },
  63826. "enroll_scene_type" : {
  63827. "type" : "string",
  63828. "description" : "报名所属的活动报名场景。\t枚举值: VOUCHER:属于券报名场景;\tMINI_APP:属于小程序报名场景;",
  63829. "example" : "VOUCHER"
  63830. },
  63831. "enroll_time" : {
  63832. "type" : "string",
  63833. "description" : "报名时间",
  63834. "example" : "2020-10-10 10:10:10"
  63835. },
  63836. "memo" : {
  63837. "type" : "string",
  63838. "description" : "备注字段",
  63839. "example" : "报名审核不通过"
  63840. },
  63841. "out_biz_no" : {
  63842. "type" : "string",
  63843. "description" : "外部操作流水号。由商家/ISV 自定义,仅支持字母、数字、下划线且需保证每次操作唯一。",
  63844. "example" : "21ba1e1c16456985463242192e4d"
  63845. },
  63846. "plan_id" : {
  63847. "type" : "string",
  63848. "description" : "招商方案ID",
  63849. "example" : "2021041301000200000000000000"
  63850. },
  63851. "status" : {
  63852. "type" : "string",
  63853. "description" : "报名状态: AUDITING 审核中; ENABLED 通过 ; REJECTED 不通过 ; CLOSING 下线审核中 ; CLOSED 已下线;",
  63854. "example" : "ENABLED"
  63855. }
  63856. }
  63857. },
  63858. "AlipayMarketingRecruitPlanQueryErrorResponseModel" : {
  63859. "required" : [ "code", "message" ],
  63860. "type" : "object",
  63861. "properties" : {
  63862. "code" : {
  63863. "type" : "string",
  63864. "description" : "错误码",
  63865. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BUSINESS_FAILED" ]
  63866. },
  63867. "links" : {
  63868. "type" : "string",
  63869. "description" : "解决方案链接"
  63870. },
  63871. "message" : {
  63872. "type" : "string",
  63873. "description" : "错误描述"
  63874. }
  63875. }
  63876. },
  63877. "AlipayMarketingRecruitPlanQueryModel" : {
  63878. "type" : "object",
  63879. "properties" : {
  63880. "enroll_merchant" : {
  63881. "$ref" : "#/components/schemas/RecruitEnrollMerchant"
  63882. },
  63883. "plan_id" : {
  63884. "type" : "string",
  63885. "description" : "招商方案ID",
  63886. "example" : "2021042001000100000000668277"
  63887. }
  63888. }
  63889. },
  63890. "AlipayMarketingRecruitPlanQueryResponseModel" : {
  63891. "type" : "object",
  63892. "properties" : {
  63893. "description" : {
  63894. "type" : "string",
  63895. "description" : "招商方案描述:富文本内容,可能包含html标签",
  63896. "example" : "<p><span style=\\\"color:#000000\\\"><span style=\\\"font-size:14px\\\"><span style=\\\"background-color:#ffffff\\\">招商规则说明</span></span></span></p>"
  63897. },
  63898. "enroll_end_time" : {
  63899. "type" : "string",
  63900. "description" : "报名结束时间",
  63901. "example" : "2021-01-01 01:01:01"
  63902. },
  63903. "enroll_rules" : {
  63904. "type" : "array",
  63905. "description" : "招商报名规则。\t说明:\t1. 查询到的规则将用于 alipay.marketing.recruit.enroll.create(招商报名提交)接口。\t2. enroll_rules.required 为 true 时,enroll_rules.type 对应的内容类型在报名提交时必填。",
  63906. "items" : {
  63907. "$ref" : "#/components/schemas/RecruitEnrollRule"
  63908. }
  63909. },
  63910. "enroll_scene_type" : {
  63911. "type" : "string",
  63912. "description" : "招商方案所属报名场景 枚举值: VOUCHER:券报名场景; MINI_APP:小程序报名场景;",
  63913. "example" : "VOUCHER"
  63914. },
  63915. "enroll_start_time" : {
  63916. "type" : "string",
  63917. "description" : "报名开始时间",
  63918. "example" : "2021-01-01 01:01:01"
  63919. },
  63920. "logo" : {
  63921. "type" : "string",
  63922. "description" : "方案头图链接,150x150 以上尺寸的方形图片",
  63923. "example" : "https://xxxx"
  63924. },
  63925. "plan_id" : {
  63926. "type" : "string",
  63927. "description" : "招商方案ID",
  63928. "example" : "2021042001000100000000668277"
  63929. },
  63930. "plan_name" : {
  63931. "type" : "string",
  63932. "description" : "招商方案名称",
  63933. "example" : "招商方案名称"
  63934. },
  63935. "status" : {
  63936. "type" : "string",
  63937. "description" : "方案状态: 不可用:DISABLED;可用:ENABLED",
  63938. "example" : "ENABLED"
  63939. }
  63940. }
  63941. },
  63942. "AlipayMarketingRecruitPlanlistQueryErrorResponseModel" : {
  63943. "required" : [ "code", "message" ],
  63944. "type" : "object",
  63945. "properties" : {
  63946. "code" : {
  63947. "type" : "string",
  63948. "description" : "错误码",
  63949. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BUSINESS_FAILED" ]
  63950. },
  63951. "links" : {
  63952. "type" : "string",
  63953. "description" : "解决方案链接"
  63954. },
  63955. "message" : {
  63956. "type" : "string",
  63957. "description" : "错误描述"
  63958. }
  63959. }
  63960. },
  63961. "AlipayMarketingRecruitPlanlistQueryModel" : {
  63962. "type" : "object",
  63963. "properties" : {
  63964. "enroll_merchant" : {
  63965. "$ref" : "#/components/schemas/RecruitEnrollMerchant"
  63966. },
  63967. "enroll_scene_type" : {
  63968. "type" : "string",
  63969. "description" : "活动报名场景配置。 \t枚举值:\tVOUCHER:券报名场景查询;\tMINI_APP:小程序报名场景查询;\tVOUCHER,MINI_APP:同时进行券报名场景和小程序报名场景的查询;",
  63970. "example" : "VOUCHER"
  63971. },
  63972. "page_num" : {
  63973. "type" : "integer",
  63974. "description" : "第几页,默认1(需要在1和999之间)",
  63975. "example" : "1"
  63976. },
  63977. "page_size" : {
  63978. "type" : "integer",
  63979. "description" : "每页记录条数,默认20,需要在1和100之间",
  63980. "example" : "20"
  63981. }
  63982. }
  63983. },
  63984. "AlipayMarketingRecruitPlanlistQueryResponseModel" : {
  63985. "type" : "object",
  63986. "properties" : {
  63987. "data" : {
  63988. "type" : "array",
  63989. "description" : "方案列表",
  63990. "items" : {
  63991. "$ref" : "#/components/schemas/RecruitPlanLight"
  63992. }
  63993. },
  63994. "page_num" : {
  63995. "type" : "integer",
  63996. "description" : "第几页,默认1(从1开始计数)",
  63997. "example" : "1"
  63998. },
  63999. "page_size" : {
  64000. "type" : "integer",
  64001. "description" : "每页记录条数,默认20",
  64002. "example" : "20"
  64003. },
  64004. "total" : {
  64005. "type" : "integer",
  64006. "description" : "总数",
  64007. "example" : "15"
  64008. }
  64009. }
  64010. },
  64011. "AlipayMarketingXuanyitestTransferErrorResponseModel" : {
  64012. "required" : [ "code", "message" ],
  64013. "type" : "object",
  64014. "properties" : {
  64015. "code" : {
  64016. "type" : "string",
  64017. "description" : "错误码",
  64018. "enum" : [ "INVALID_PARAMETER" ]
  64019. },
  64020. "links" : {
  64021. "type" : "string",
  64022. "description" : "解决方案链接"
  64023. },
  64024. "message" : {
  64025. "type" : "string",
  64026. "description" : "错误描述"
  64027. }
  64028. }
  64029. },
  64030. "AlipayMarketingXuanyitestTransferModel" : {
  64031. "type" : "object",
  64032. "properties" : {
  64033. "test" : {
  64034. "type" : "array",
  64035. "description" : "测试的基础描述",
  64036. "items" : {
  64037. "type" : "string"
  64038. },
  64039. "example" : "[\"11\",\"12\"]"
  64040. },
  64041. "test_21" : {
  64042. "type" : "array",
  64043. "description" : "测试复杂类型描述",
  64044. "items" : {
  64045. "$ref" : "#/components/schemas/Marketingtest"
  64046. }
  64047. },
  64048. "test_22" : {
  64049. "$ref" : "#/components/schemas/Marketingtestt"
  64050. }
  64051. }
  64052. },
  64053. "AlipayMarketingXuanyitestTransferResponseModel" : {
  64054. "type" : "object",
  64055. "properties" : {
  64056. "test" : {
  64057. "type" : "array",
  64058. "description" : "12",
  64059. "items" : {
  64060. "type" : "string"
  64061. },
  64062. "example" : "[\"11\",\"12\"]"
  64063. },
  64064. "test_21" : {
  64065. "type" : "array",
  64066. "description" : "测试复杂类型描述",
  64067. "items" : {
  64068. "$ref" : "#/components/schemas/Marketingtest"
  64069. }
  64070. }
  64071. }
  64072. },
  64073. "AlipayMerchantAnchorInfoQueryErrorResponseModel" : {
  64074. "required" : [ "code", "message" ],
  64075. "type" : "object",
  64076. "properties" : {
  64077. "code" : {
  64078. "type" : "string",
  64079. "description" : "错误码",
  64080. "enum" : [ "NO_ACCESS_TO_MESSAGE", "APPID_NOT_AUTHENTICATION", "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  64081. },
  64082. "links" : {
  64083. "type" : "string",
  64084. "description" : "解决方案链接"
  64085. },
  64086. "message" : {
  64087. "type" : "string",
  64088. "description" : "错误描述"
  64089. }
  64090. }
  64091. },
  64092. "AlipayMerchantAnchorInfoQueryResponseModel" : {
  64093. "type" : "object",
  64094. "properties" : {
  64095. "anchor_id" : {
  64096. "type" : "string",
  64097. "description" : "主播ID+唯一+天猫好房带货+根据uid获取",
  64098. "example" : "2242419387"
  64099. }
  64100. }
  64101. },
  64102. "AlipayMerchantImageUploadErrorResponseModel" : {
  64103. "required" : [ "code", "message" ],
  64104. "type" : "object",
  64105. "properties" : {
  64106. "code" : {
  64107. "type" : "string",
  64108. "description" : "错误码",
  64109. "enum" : [ "SYSTEM_ERROR", "IMAGE_SIZE_OVERRANGE", "PARAM_ILLEGAL" ]
  64110. },
  64111. "links" : {
  64112. "type" : "string",
  64113. "description" : "解决方案链接"
  64114. },
  64115. "message" : {
  64116. "type" : "string",
  64117. "description" : "错误描述"
  64118. }
  64119. }
  64120. },
  64121. "AlipayMerchantImageUploadModel" : {
  64122. "type" : "object",
  64123. "properties" : {
  64124. "image_type" : {
  64125. "type" : "string",
  64126. "description" : "图片格式,支持格式:jpg、jpeg、png",
  64127. "example" : "jpg"
  64128. }
  64129. }
  64130. },
  64131. "AlipayMerchantImageUploadResponseModel" : {
  64132. "type" : "object",
  64133. "properties" : {
  64134. "image_id" : {
  64135. "type" : "string",
  64136. "description" : "图片在文件存储平台的标识",
  64137. "example" : "ySYHS5CtTCmag14Wk8jeNAAAACMAAQED"
  64138. }
  64139. }
  64140. },
  64141. "AlipayMerchantIndirectAuthorderCloseErrorResponseModel" : {
  64142. "required" : [ "code", "message" ],
  64143. "type" : "object",
  64144. "properties" : {
  64145. "code" : {
  64146. "type" : "string",
  64147. "description" : "错误码",
  64148. "enum" : [ "ILLEGAL_PARAMETER", "AUTH_ORDER_NOT_EXIST", "DEPEND_FAILURE", "AUTH_ORDER_CANCEL_ILLEGAL", "AUTH_ORDER_CANCEL_FAILED" ]
  64149. },
  64150. "links" : {
  64151. "type" : "string",
  64152. "description" : "解决方案链接"
  64153. },
  64154. "message" : {
  64155. "type" : "string",
  64156. "description" : "错误描述"
  64157. }
  64158. }
  64159. },
  64160. "AlipayMerchantIndirectAuthorderCloseModel" : {
  64161. "type" : "object",
  64162. "properties" : {
  64163. "order_no" : {
  64164. "type" : "string",
  64165. "description" : "意愿申请单号,参数二选一",
  64166. "example" : "20220000666660001"
  64167. },
  64168. "out_biz_no" : {
  64169. "type" : "string",
  64170. "description" : "外部业务号,参数二选一,业务自定义,保证唯一",
  64171. "example" : "0000001"
  64172. }
  64173. }
  64174. },
  64175. "AlipayMerchantIndirectAuthorderCloseResponseModel" : {
  64176. "type" : "object"
  64177. },
  64178. "AlipayMerchantIndirectAuthorderCreateErrorResponseModel" : {
  64179. "required" : [ "code", "message" ],
  64180. "type" : "object",
  64181. "properties" : {
  64182. "code" : {
  64183. "type" : "string",
  64184. "description" : "错误码",
  64185. "enum" : [ "AUTH_IDENTITY_TYPE_ILLEGAL", "AUTH_ORDER_CREATE_FAILED", "AUTH_ORDER_ISV_HAS_RISK", "DEPEND_FAILURE", "CREATE_ORDER_INFO_FAIL", "SERVICE_UNAVAILABLE", "INVALID_PARAMETER", "LEGAL_PERSON_NAME_NOT_EQUAL", "BIZ_CERT_ILLEGAL_CERT_NO" ]
  64186. },
  64187. "links" : {
  64188. "type" : "string",
  64189. "description" : "解决方案链接"
  64190. },
  64191. "message" : {
  64192. "type" : "string",
  64193. "description" : "错误描述"
  64194. }
  64195. }
  64196. },
  64197. "AlipayMerchantIndirectAuthorderCreateModel" : {
  64198. "type" : "object",
  64199. "properties" : {
  64200. "auth_identity_info" : {
  64201. "$ref" : "#/components/schemas/AuthIdentityInfo"
  64202. },
  64203. "benefit_person_info" : {
  64204. "$ref" : "#/components/schemas/IndirectBenefitPersonInfo"
  64205. },
  64206. "contact_person_info" : {
  64207. "$ref" : "#/components/schemas/IndirectContactPersonInfo"
  64208. },
  64209. "extra_credentials" : {
  64210. "$ref" : "#/components/schemas/IndirectExtraCredentials"
  64211. },
  64212. "legal_person_info" : {
  64213. "$ref" : "#/components/schemas/IndirectLegalPersonInfo"
  64214. },
  64215. "out_biz_no" : {
  64216. "type" : "string",
  64217. "description" : "外部业务号",
  64218. "example" : "00000001"
  64219. },
  64220. "source" : {
  64221. "type" : "string",
  64222. "description" : "1. 收单机构调用API提交申请单时,可选择是否指定单个服务商范围。非收单机构无需填写此字段。\t2. 此字段填写单个服务商pid信息:填写(即:单服务商提交认证方式),查询申请单返回的认证二维码qr_code和填写服务商对应,仅能认证填写服务商下的商户;不填写(即:全服务商提交认证方式),查询申请单返回的认证二维码qr_code和收单机构对应,可认证收单机构下全部商户。",
  64223. "example" : "2088000000000001"
  64224. }
  64225. }
  64226. },
  64227. "AlipayMerchantIndirectAuthorderCreateResponseModel" : {
  64228. "type" : "object",
  64229. "properties" : {
  64230. "order_no" : {
  64231. "type" : "string",
  64232. "description" : "申请单号",
  64233. "example" : "20001101"
  64234. },
  64235. "order_status" : {
  64236. "type" : "string",
  64237. "description" : "意愿申请单状态,枚举值:审核中(AUDITING)、待联系人确认(CONTACT_CONFIRM),待法人确认(LEGAL_CONFIRM)、审核通过(AUDIT_PASS)、审核失败(AUDIT_REJECT)、已冻结(AUDIT_FREEZE)、已撤回(CANCELED)、联系人处理中(CONTACT_PROCESSING)",
  64238. "example" : "AUDITING"
  64239. }
  64240. }
  64241. },
  64242. "AlipayMerchantIndirectAuthorderQuerystatusErrorResponseModel" : {
  64243. "required" : [ "code", "message" ],
  64244. "type" : "object",
  64245. "properties" : {
  64246. "code" : {
  64247. "type" : "string",
  64248. "description" : "错误码",
  64249. "enum" : [ "ILLEGAL_PARAMETER", "AUTH_ORDER_NOT_EXIST", "DEPEND_FAILURE" ]
  64250. },
  64251. "links" : {
  64252. "type" : "string",
  64253. "description" : "解决方案链接"
  64254. },
  64255. "message" : {
  64256. "type" : "string",
  64257. "description" : "错误描述"
  64258. }
  64259. }
  64260. },
  64261. "AlipayMerchantIndirectAuthorderQuerystatusModel" : {
  64262. "type" : "object",
  64263. "properties" : {
  64264. "order_no" : {
  64265. "type" : "string",
  64266. "description" : "商家认证申请单号,参数二选一",
  64267. "example" : "20220000666660001"
  64268. },
  64269. "out_biz_no" : {
  64270. "type" : "string",
  64271. "description" : "外部业务号,参数二选一,业务自定义,保证唯一",
  64272. "example" : "0000001"
  64273. },
  64274. "source" : {
  64275. "type" : "string",
  64276. "description" : "1. 收单机构调用API提交申请单时,可选择是否指定单个服务商范围。非收单机构无需填写此字段。\t2. 此字段填写单个服务商pid信息:填写(即:单服务商提交认证方式),查询申请单返回的认证二维码qr_code和填写服务商对应,仅能认证填写服务商下的商户;不填写(即:全服务商提交认证方式),查询申请单返回的认证二维码qr_code和收单机构对应,可认证收单机构下全部商户。",
  64277. "example" : "2088000000000001"
  64278. }
  64279. }
  64280. },
  64281. "AlipayMerchantIndirectAuthorderQuerystatusResponseModel" : {
  64282. "type" : "object",
  64283. "properties" : {
  64284. "order_no" : {
  64285. "type" : "string",
  64286. "description" : "商家认证申请单号",
  64287. "example" : "20220000666660001"
  64288. },
  64289. "order_status" : {
  64290. "type" : "string",
  64291. "description" : "商家认证申请单状态,枚举值:审核中(AUDITING)、待联系人确认(CONTACT_CONFIRM),待法人确认(LEGAL_CONFIRM)、审核通过(AUDIT_PASS)、审核失败(AUDIT_REJECT)、已冻结(AUDIT_FREEZE)、已撤回(CANCELED)、联系人处理中(CONTACT_PROCESSING)",
  64292. "example" : "AUDITING"
  64293. },
  64294. "qr_code" : {
  64295. "type" : "string",
  64296. "description" : "商家认证小程序二维码图片链接,申请单状态处于审核通过、待联系人确认、待法人确认、已冻结、审核失败时返回,商户使用支付宝APP扫码后完成后续确认、修改信息等动作。\t此字段是平台生成并返回的二维码码值,通过浏览器访问即可获得一个二维码的图片。服务商在推广过程中,可引导商家使用支付宝APP扫描此二维码,进入认证申请单页面,完成认证申请的后续确认操作。",
  64297. "example" : "https://qrcode.alipay.com/token/test"
  64298. },
  64299. "verify_list" : {
  64300. "type" : "array",
  64301. "description" : "申请单审核失败时的原因描述列表",
  64302. "items" : {
  64303. "$ref" : "#/components/schemas/IndirectAuthOrderFailedReason"
  64304. }
  64305. }
  64306. }
  64307. },
  64308. "AlipayMerchantIndirectSmidbindQueryErrorResponseModel" : {
  64309. "required" : [ "code", "message" ],
  64310. "type" : "object",
  64311. "properties" : {
  64312. "code" : {
  64313. "type" : "string",
  64314. "description" : "错误码",
  64315. "enum" : [ "ILLEGAL_PARAMETER", "DEPEND_FAILURE", "SMID_QUERY_NOT_EXIST" ]
  64316. },
  64317. "links" : {
  64318. "type" : "string",
  64319. "description" : "解决方案链接"
  64320. },
  64321. "message" : {
  64322. "type" : "string",
  64323. "description" : "错误描述"
  64324. }
  64325. }
  64326. },
  64327. "AlipayMerchantIndirectSmidbindQueryResponseModel" : {
  64328. "type" : "object",
  64329. "properties" : {
  64330. "check_result" : {
  64331. "type" : "string",
  64332. "description" : "确认状态,枚举:已确认(AUTHORIZED)/未确认(UNAUTHORIZED)/已销户(CLOSED)/smid不存在(SMID_NOT_EXIST)",
  64333. "example" : "AUTHORIZED"
  64334. }
  64335. }
  64336. },
  64337. "AlipayMerchantIotDeviceBindErrorResponseModel" : {
  64338. "required" : [ "code", "message" ],
  64339. "type" : "object",
  64340. "properties" : {
  64341. "code" : {
  64342. "type" : "string",
  64343. "description" : "错误码",
  64344. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "DEVICE_NOT_EXIST", "TRADE_NOT_EXIST", "MERCHANT_ID_UNMATCHED", "SMID_UNMATCHED", "SHOP_ID_UNMATCHED", "BIND_FAIL", "OPERATION_PERMISSION_DENIED" ]
  64345. },
  64346. "links" : {
  64347. "type" : "string",
  64348. "description" : "解决方案链接"
  64349. },
  64350. "message" : {
  64351. "type" : "string",
  64352. "description" : "错误描述"
  64353. }
  64354. }
  64355. },
  64356. "AlipayMerchantIotDeviceBindModel" : {
  64357. "type" : "object",
  64358. "properties" : {
  64359. "biz_tid" : {
  64360. "type" : "string",
  64361. "description" : "设备 ID ,仅device_id_type 为 ID 时填写。",
  64362. "example" : "01017gV1CZ1XxASNbqkTJqchletNyVXtsKy1PAs4FKZ6tjRMqyMG2Zk"
  64363. },
  64364. "device_id_type" : {
  64365. "type" : "string",
  64366. "description" : "可选方式。枚举支持:\t* ID:表示使用 biztid 作为设备唯一识别标识,\t* SN:表示使用 supplier_id、device_sn联合作为设备唯一识别标识。\t注意:由于不同机型的supplier_id不同,推荐使用 ID 。",
  64367. "example" : "SN"
  64368. },
  64369. "device_sn" : {
  64370. "type" : "string",
  64371. "description" : "设备序列号 ,device_id_type 为 SN 时填写。需配合supplier_id使用。",
  64372. "example" : "QCF420190316000107"
  64373. },
  64374. "merchant_type" : {
  64375. "type" : "string",
  64376. "description" : "商户类型。枚举支持:\t* direct:直连商户;\t* indirect:间连商户。",
  64377. "example" : "indirect"
  64378. },
  64379. "pid" : {
  64380. "type" : "string",
  64381. "description" : "直连场景填写商户收单pid。间连场景填写smid绑定的pid(可通过代运营授权API获取)。",
  64382. "example" : "2088101112139885"
  64383. },
  64384. "shop_id" : {
  64385. "type" : "string",
  64386. "description" : "商户pid名下的球房 ID。可通过球房管理API获取,需注意请勿使用smid创建球房 ID。",
  64387. "example" : "2020081700502012300038796029"
  64388. },
  64389. "smid" : {
  64390. "type" : "string",
  64391. "description" : "直连场景不填,间连场景填写商户收单smid",
  64392. "example" : "2088101112139886"
  64393. },
  64394. "supplier_id" : {
  64395. "type" : "string",
  64396. "description" : "设备供应商ID ,device_id_type 为 SN 时填写。需注意不同机型的供应商ID可能不同。",
  64397. "example" : "201812271300540049"
  64398. }
  64399. }
  64400. },
  64401. "AlipayMerchantIotDeviceBindResponseModel" : {
  64402. "type" : "object"
  64403. },
  64404. "AlipayMerchantIotDeviceQueryErrorResponseModel" : {
  64405. "required" : [ "code", "message" ],
  64406. "type" : "object",
  64407. "properties" : {
  64408. "code" : {
  64409. "type" : "string",
  64410. "description" : "错误码",
  64411. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "DEVICE_NOT_EXIST", "ACCESS_DENIED", "RECORD_NOT_EXIST" ]
  64412. },
  64413. "links" : {
  64414. "type" : "string",
  64415. "description" : "解决方案链接"
  64416. },
  64417. "message" : {
  64418. "type" : "string",
  64419. "description" : "错误描述"
  64420. }
  64421. }
  64422. },
  64423. "AlipayMerchantIotDeviceQueryResponseModel" : {
  64424. "type" : "object",
  64425. "properties" : {
  64426. "merchant_type" : {
  64427. "type" : "string",
  64428. "description" : "商户类型。direct表示直连商户,indirect表示间连商户。",
  64429. "example" : "indirect"
  64430. },
  64431. "pid" : {
  64432. "type" : "string",
  64433. "description" : "设备绑定的商户支付宝pid。直连场景为商户收单pid,间连场景为商户smid绑定的pid。",
  64434. "example" : "2088101112139885"
  64435. },
  64436. "shop_id" : {
  64437. "type" : "string",
  64438. "description" : "设备绑定的球房ID。",
  64439. "example" : "2020081700502012300038796029"
  64440. },
  64441. "smid" : {
  64442. "type" : "string",
  64443. "description" : "商户smid。直连场景为空。",
  64444. "example" : "2088101112139886"
  64445. }
  64446. }
  64447. },
  64448. "AlipayMerchantIotDeviceVerifyErrorResponseModel" : {
  64449. "required" : [ "code", "message" ],
  64450. "type" : "object",
  64451. "properties" : {
  64452. "code" : {
  64453. "type" : "string",
  64454. "description" : "错误码",
  64455. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "DEVICE_NOT_EXIST", "TRADE_NOT_EXIST", "MERCHANT_ID_UNMATCHED" ]
  64456. },
  64457. "links" : {
  64458. "type" : "string",
  64459. "description" : "解决方案链接"
  64460. },
  64461. "message" : {
  64462. "type" : "string",
  64463. "description" : "错误描述"
  64464. }
  64465. }
  64466. },
  64467. "AlipayMerchantIotDeviceVerifyModel" : {
  64468. "type" : "object",
  64469. "properties" : {
  64470. "biz_tid" : {
  64471. "type" : "string",
  64472. "description" : "设备 ID ,device_id_type 为 ID 时填写。",
  64473. "example" : "01017gV1CZ1XxASNbqkTJqchletNyVXtsKy1PAs4FKZ6tjRMqyMG2Zk"
  64474. },
  64475. "device_id_type" : {
  64476. "type" : "string",
  64477. "description" : "可选方式 [ID,SN]。ID-使用biztid作为设备唯一识别标识;SN-使用supplier_id、device_sn联合作为设备唯一识别标识。由于不同机型的supplier_id不同,推荐使用 ID 。",
  64478. "example" : "SN"
  64479. },
  64480. "device_sn" : {
  64481. "type" : "string",
  64482. "description" : "设备序列号 ,device_id_type 为 SN 时填写。需配合supplier_id使用。",
  64483. "example" : "QCF420190316000107"
  64484. },
  64485. "merchant_type" : {
  64486. "type" : "string",
  64487. "description" : "商户类型,直连商户填写direct,间连商户填写indirect",
  64488. "example" : "indirect"
  64489. },
  64490. "pid" : {
  64491. "type" : "string",
  64492. "description" : "直连场景填写商户收单pid,间连场景不填",
  64493. "example" : "2088101112139885"
  64494. },
  64495. "smid" : {
  64496. "type" : "string",
  64497. "description" : "直连场景不填,间连场景填写商户收单smid",
  64498. "example" : "2088101112139886"
  64499. },
  64500. "supplier_id" : {
  64501. "type" : "string",
  64502. "description" : "设备供应商ID ,device_id_type 为 SN 时填写。需注意不同机型的供应商ID可能不同。",
  64503. "example" : "201812271300540049"
  64504. }
  64505. }
  64506. },
  64507. "AlipayMerchantIotDeviceVerifyResponseModel" : {
  64508. "type" : "object"
  64509. },
  64510. "AlipayMerchantItemFileUploadErrorResponseModel" : {
  64511. "required" : [ "code", "message" ],
  64512. "type" : "object",
  64513. "properties" : {
  64514. "code" : {
  64515. "type" : "string",
  64516. "description" : "错误码",
  64517. "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL", "INFO_SEC_ERROR" ]
  64518. },
  64519. "links" : {
  64520. "type" : "string",
  64521. "description" : "解决方案链接"
  64522. },
  64523. "message" : {
  64524. "type" : "string",
  64525. "description" : "错误描述"
  64526. }
  64527. }
  64528. },
  64529. "AlipayMerchantItemFileUploadModel" : {
  64530. "type" : "object",
  64531. "properties" : {
  64532. "scene" : {
  64533. "type" : "string",
  64534. "description" : "业务场景描述。\t小程序订单中心场景固定为 SYNC_ORDER。",
  64535. "example" : "SYNC_ORDER"
  64536. }
  64537. }
  64538. },
  64539. "AlipayMerchantItemFileUploadResponseModel" : {
  64540. "type" : "object",
  64541. "properties" : {
  64542. "material_id" : {
  64543. "type" : "string",
  64544. "description" : "文件在商品中心的素材标识(素材ID长期有效)",
  64545. "example" : "2019010100502200000000000001"
  64546. },
  64547. "material_key" : {
  64548. "type" : "string",
  64549. "description" : "文件在商品中心的素材标示,创建/更新商品时使用",
  64550. "example" : "A*bJXMRYFoBcIAAAGGGGAAAABjAQWWWW"
  64551. }
  64552. }
  64553. },
  64554. "AlipayMerchantLiveChannelQueryErrorResponseModel" : {
  64555. "required" : [ "code", "message" ],
  64556. "type" : "object",
  64557. "properties" : {
  64558. "code" : {
  64559. "type" : "string",
  64560. "description" : "错误码",
  64561. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  64562. },
  64563. "links" : {
  64564. "type" : "string",
  64565. "description" : "解决方案链接"
  64566. },
  64567. "message" : {
  64568. "type" : "string",
  64569. "description" : "错误描述"
  64570. }
  64571. }
  64572. },
  64573. "AlipayMerchantLiveChannelQueryResponseModel" : {
  64574. "type" : "object",
  64575. "properties" : {
  64576. "channel_content" : {
  64577. "type" : "string",
  64578. "description" : "渠道内容,包含主播、文章的上游信息。字符串内容为Map,需要转换",
  64579. "example" : "{}"
  64580. },
  64581. "channel_identity" : {
  64582. "type" : "string",
  64583. "description" : "渠道业务标识",
  64584. "example" : "A202212020736054901000799_2292541656"
  64585. },
  64586. "channel_secret" : {
  64587. "type" : "string",
  64588. "description" : "渠道密文",
  64589. "example" : "b07d6694341b69c406522d3ff28d9807"
  64590. },
  64591. "channel_type" : {
  64592. "type" : "string",
  64593. "description" : "渠道类型",
  64594. "example" : "LIVE_POCKET"
  64595. }
  64596. }
  64597. },
  64598. "AlipayMerchantLiveItemplanModifyErrorResponseModel" : {
  64599. "required" : [ "code", "message" ],
  64600. "type" : "object",
  64601. "properties" : {
  64602. "code" : {
  64603. "type" : "string",
  64604. "description" : "错误码",
  64605. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  64606. },
  64607. "links" : {
  64608. "type" : "string",
  64609. "description" : "解决方案链接"
  64610. },
  64611. "message" : {
  64612. "type" : "string",
  64613. "description" : "错误描述"
  64614. }
  64615. }
  64616. },
  64617. "AlipayMerchantLiveItemplanModifyModel" : {
  64618. "type" : "object",
  64619. "properties" : {
  64620. "content" : {
  64621. "type" : "array",
  64622. "description" : "投放内容,数组,内容为具体条目",
  64623. "items" : {
  64624. "$ref" : "#/components/schemas/ItemPlanContentDO"
  64625. }
  64626. },
  64627. "end_time" : {
  64628. "type" : "string",
  64629. "description" : "可空,计划截止时间",
  64630. "example" : "2022-01-01 00:00:01"
  64631. },
  64632. "op_type" : {
  64633. "type" : "string",
  64634. "description" : "针对投放内容的操作, 包含3种类型:\t覆盖:OVERRIDE \t追加:APPEND \t删除:DELETE",
  64635. "example" : "APPEND"
  64636. },
  64637. "operator_appid" : {
  64638. "type" : "string",
  64639. "description" : "投放方标识,一般为小程序id",
  64640. "example" : "2021003126612033"
  64641. },
  64642. "operator_type" : {
  64643. "type" : "string",
  64644. "description" : "投放方类型,生活号:LIFE_APP 达人:CONTENT_USER 小程序:TINYAPP",
  64645. "example" : "TINYAPP"
  64646. },
  64647. "plan_name" : {
  64648. "type" : "string",
  64649. "description" : "投放计划名,可空",
  64650. "example" : "测试计划"
  64651. },
  64652. "start_time" : {
  64653. "type" : "string",
  64654. "description" : "可空,计划生效时间",
  64655. "example" : "2022-01-01 00:00:01"
  64656. },
  64657. "status" : {
  64658. "type" : "integer",
  64659. "description" : "计划状态 0待生效 1生效中 -1已作废",
  64660. "example" : "1"
  64661. },
  64662. "target_id" : {
  64663. "type" : "string",
  64664. "description" : "投放目标,一般为生活号id,多个逗号隔开",
  64665. "example" : "2021003126612050"
  64666. },
  64667. "target_range" : {
  64668. "type" : "string",
  64669. "description" : "投放范围, 指主体内的具体子渠道,为空则任意子渠道",
  64670. "example" : "空"
  64671. },
  64672. "target_type" : {
  64673. "type" : "string",
  64674. "description" : "投放目标类型\t生活号:LIFE_APP \t达人:CONTENT_USER \t小程序:TINYAPP",
  64675. "example" : "PUBLICAPP"
  64676. }
  64677. }
  64678. },
  64679. "AlipayMerchantLiveItemplanModifyResponseModel" : {
  64680. "type" : "object",
  64681. "properties" : {
  64682. "msg_info" : {
  64683. "type" : "string",
  64684. "description" : "针对操作结果的说明",
  64685. "example" : "成功"
  64686. }
  64687. }
  64688. },
  64689. "AlipayMerchantOrderSyncErrorResponseModel" : {
  64690. "required" : [ "code", "message" ],
  64691. "type" : "object",
  64692. "properties" : {
  64693. "code" : {
  64694. "type" : "string",
  64695. "description" : "错误码",
  64696. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "MATERIAL_ID_ILLEGAL", "CONTENT_ILLEGAL", "TINY_APP_ID_NULL", "TINY_APP_ID_ILLEGAL", "LOGISTICS_INFO_EXIST", "TRADE_NOT_EXIST", "ITEM_INFO_NOT_COMPLETE", "NO_PERMISSOON", "ORDER_ERROR_STATUS", "LOGISTICS_SIZE_LARGE", "ITEM_HAS_EXIST", "AMOUNT_ILLEGAL", "RECORD_NOT_EXIST", "DATA_INCONSISTENT", "ITEM_DUPLICATED", "BUYER_STATUS_ERROR", "RECORD_ID_IS_NULL", "OUT_BIZ_NO_IS_NULL", "BUYER_ID_IS_NULL", "BUYER_INFO_IS_NULL", "BUYER_NAME_IS_NULL", "BUYER_MOBILE_ILLEGAL", "BUYER_MOBILE_IS_NULL", "BUYER_CERT_NO_IS_NULL", "SELLER_ID_IS_NULL", "AMOUNT_IS_NULL", "PAY_AMOUNT_IS_NULL", "PAY_TIMEOUT_EXPRESS_ILLEGAL", "MERCHANT_ORDER_STATUS_ILLEGAL", "BUYER_NOT_FOUND", "BUYER_INFO_ERROR", "RECORD_ID_ILLEGAL", "MINICENTER_INVOKE_ERROR", "SETTLEQUERY_INVOKE_ERROR", "TRADEQUERY_INVOKE_ERROR", "MERCHANT_LINK_EXIST", "ARGUMENT_NULL", "PAY_CHANNEL_IS_NULL", "PAY_CHANNEL_ERROR", "TRADE_NO_NOT_MATCH", "INFO_SEC_ERROR", "ITEM_NOT_MATCH", "TINY_APP_IS_NOT_ONLINE", "TINY_APP_ID_NOT_SYNC_EQUAL_TRADE", "DATA_ACCESS_EXCEPTION", "INVALID_ORDER_AUTH_CODE", "SERVICE_REFUSED", "DUPLICATE_REQUEST", "NO_NEED_RETRY_ERROR", "SERVICE_CODE_STATUS_ERROR", "USER_NOT_AUTHORIZED" ]
  64697. },
  64698. "links" : {
  64699. "type" : "string",
  64700. "description" : "解决方案链接"
  64701. },
  64702. "message" : {
  64703. "type" : "string",
  64704. "description" : "错误描述"
  64705. }
  64706. }
  64707. },
  64708. "AlipayMerchantOrderSyncModel" : {
  64709. "type" : "object",
  64710. "properties" : {
  64711. "amount" : {
  64712. "type" : "string",
  64713. "description" : "订单金额,单位为【元】。SERVICE_ORDER且不涉及金额可不传入该字段,其他场景必传",
  64714. "example" : "12.34"
  64715. },
  64716. "buyer_id" : {
  64717. "type" : "string",
  64718. "description" : "买家userId",
  64719. "example" : "2088102165400195"
  64720. },
  64721. "buyer_info" : {
  64722. "$ref" : "#/components/schemas/UserInfomation"
  64723. },
  64724. "buyer_open_id" : {
  64725. "type" : "string",
  64726. "description" : "OpenId是用户(buyer_id)在应用(AppId)下的唯一用户标识.",
  64727. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  64728. },
  64729. "category_id" : {
  64730. "type" : "string",
  64731. "description" : "标准服务类目",
  64732. "example" : "C000003191"
  64733. },
  64734. "discount_amount" : {
  64735. "type" : "string",
  64736. "description" : "优惠金额,单位为【元】",
  64737. "example" : "2.44"
  64738. },
  64739. "discount_info_list" : {
  64740. "type" : "array",
  64741. "description" : "订单优惠信息",
  64742. "items" : {
  64743. "$ref" : "#/components/schemas/DiscountInfoData"
  64744. }
  64745. },
  64746. "ext_info" : {
  64747. "type" : "array",
  64748. "description" : "扩展信息,请参见 <a href=\"https://opendocs.alipay.com/mini/introduce/ordercenter\">小程序订单中心</a>;<a href=\"https://opendocs.alipay.com/mini/00nnt3\">扫码点餐</a>产品文档。",
  64749. "items" : {
  64750. "$ref" : "#/components/schemas/OrderExtInfo"
  64751. }
  64752. },
  64753. "item_order_list" : {
  64754. "type" : "array",
  64755. "description" : "商品信息列表",
  64756. "items" : {
  64757. "$ref" : "#/components/schemas/ItemOrderInfo"
  64758. }
  64759. },
  64760. "journey_order_list" : {
  64761. "type" : "array",
  64762. "description" : "行程信息",
  64763. "items" : {
  64764. "$ref" : "#/components/schemas/OrderJourneyInfo"
  64765. }
  64766. },
  64767. "logistics_info_list" : {
  64768. "type" : "array",
  64769. "description" : "物流信息\r\t列表最多支持物流信息个数,请参考产品文档\r\t注:若该值不为空,且物流信息同步至我的快递,则在查询订单时可返回具体物流信息",
  64770. "items" : {
  64771. "$ref" : "#/components/schemas/OrderLogisticsInformationRequest"
  64772. }
  64773. },
  64774. "order_auth_code" : {
  64775. "type" : "string",
  64776. "description" : "本字段已废弃,无需填写!",
  64777. "example" : "DFSDLIGWGDF5SDLFA"
  64778. },
  64779. "order_create_time" : {
  64780. "type" : "string",
  64781. "description" : "订单创建时间\t当order_type为SERVICE_ORDER时必传",
  64782. "example" : "2020-01-01 08:00:00"
  64783. },
  64784. "order_modified_time" : {
  64785. "type" : "string",
  64786. "description" : "订单修改时间。用于订单状态或数据变化较快的顺序控制,SERVICE_ORDER按照行业标准化接入场景必须传入该字段控制乱序。order_modified_time较晚的同步会被最终存储,order_modified_time相同的两次同步会被幂等处理",
  64787. "example" : "2020-01-01 08:00:01.123"
  64788. },
  64789. "order_pay_time" : {
  64790. "type" : "string",
  64791. "description" : "订单支付时间\t当pay_channel为非ALIPAY时,且订单状态已流转到“支付”或支付后时,需要将支付时间传入",
  64792. "example" : "2020-01-02 08:00:00"
  64793. },
  64794. "order_type" : {
  64795. "type" : "string",
  64796. "description" : "订单类型,新接入商户统一传入SERVICE_ORDER(服务订单)",
  64797. "example" : "SERVICE_ORDER"
  64798. },
  64799. "out_biz_no" : {
  64800. "type" : "string",
  64801. "description" : "外部订单号\tout_biz_no唯一对应一笔订单,相同的订单需传入相同的out_biz_no",
  64802. "example" : "1234"
  64803. },
  64804. "partner_id" : {
  64805. "type" : "string",
  64806. "description" : "交易对应的签约商户userId\t注意:该字段自2020-02-16日起,可以不传入",
  64807. "example" : "2088301176313427"
  64808. },
  64809. "pay_amount" : {
  64810. "type" : "string",
  64811. "description" : "支付金额,单位为【元】,需要实际支付的金额。SERVICE_ORDER且不涉及金额可不传入该字段,其他场景必传",
  64812. "example" : "9.90"
  64813. },
  64814. "pay_timeout_express" : {
  64815. "type" : "string",
  64816. "description" : "支付超时时间,超过时间支付宝自行关闭订单",
  64817. "example" : "15h"
  64818. },
  64819. "record_id" : {
  64820. "type" : "string",
  64821. "description" : "商户订单同步记录id",
  64822. "example" : "2019103000502300270200000001268074"
  64823. },
  64824. "seller_id" : {
  64825. "type" : "string",
  64826. "description" : "卖家userId\t注意:该字段自2020-02-16日起,可以不传入",
  64827. "example" : "2088301176313427"
  64828. },
  64829. "send_msg" : {
  64830. "type" : "string",
  64831. "description" : "是否需要小程序订单代理发送模版消息,Y代表需要发送,N代表不需要发送,不传默认不发送",
  64832. "example" : "Y"
  64833. },
  64834. "service_code" : {
  64835. "type" : "string",
  64836. "description" : "服务code:传入小程序后台提报的服务id,将订单与服务关联,有利于提高服务曝光机会;入参服务id的类目须与订单类型相符,若不相符将会报错;如订单类型为“外卖”,则入参的服务ID所对应的服务类目也必须得是”外卖“;service_code 通过 alipay.open.app.service.apply,(服务提报申请)接口创建服务后获取。",
  64837. "example" : "2018072411000000099497"
  64838. },
  64839. "shop_info" : {
  64840. "$ref" : "#/components/schemas/OrderShopInfo"
  64841. },
  64842. "source_app" : {
  64843. "type" : "string",
  64844. "description" : "用于区分用户下单的订单来源,如\tAlipay-支付宝端内(默认)\tDingTalk-钉钉小程序",
  64845. "example" : "Alipay"
  64846. },
  64847. "sync_content" : {
  64848. "type" : "string",
  64849. "description" : "同步内容\t-JOURNEY_ONLY 仅行程信息\t-ALL 全部(默认)",
  64850. "example" : "JOURNEY_ONLY"
  64851. },
  64852. "ticket_info" : {
  64853. "$ref" : "#/components/schemas/TicketInfo"
  64854. },
  64855. "ticket_order_list" : {
  64856. "type" : "array",
  64857. "description" : "凭证信息",
  64858. "items" : {
  64859. "$ref" : "#/components/schemas/TicketOrderInfo"
  64860. }
  64861. },
  64862. "trade_no" : {
  64863. "type" : "string",
  64864. "description" : "订单所对应的支付宝交易号",
  64865. "example" : "2019052322001400191000023731"
  64866. },
  64867. "trade_type" : {
  64868. "type" : "string",
  64869. "description" : "交易号类型\t1. TRADE-交易,为空默认为TRADE\t2. TRANSFER-转账\t3. ENTRUST-受托",
  64870. "example" : "TRADE"
  64871. }
  64872. }
  64873. },
  64874. "AlipayMerchantOrderSyncResponseModel" : {
  64875. "type" : "object",
  64876. "properties" : {
  64877. "distribute_result" : {
  64878. "type" : "array",
  64879. "description" : "分发结果\t若未分发到场景侧,则会返回具体的未分发原因",
  64880. "items" : {
  64881. "$ref" : "#/components/schemas/OrderDataDistributeInfo"
  64882. }
  64883. },
  64884. "order_id" : {
  64885. "type" : "string",
  64886. "description" : "支付宝订单号",
  64887. "example" : "2019052300502300190500000000102188"
  64888. },
  64889. "order_status" : {
  64890. "type" : "string",
  64891. "description" : "订单状态",
  64892. "example" : "PAID"
  64893. },
  64894. "record_id" : {
  64895. "type" : "string",
  64896. "description" : "同步订单记录id\t(自2022年5月19日起,新接入商户,除点餐场景,该字段不再返回)",
  64897. "example" : "2019103000502300270200000001268074"
  64898. },
  64899. "sync_suggestions" : {
  64900. "type" : "array",
  64901. "description" : "订单同步优化建议,供开发者参考",
  64902. "items" : {
  64903. "$ref" : "#/components/schemas/OrderDataSyncSuggestion"
  64904. }
  64905. }
  64906. }
  64907. },
  64908. "AlipayMerchantTradecomplainBatchqueryErrorResponseModel" : {
  64909. "required" : [ "code", "message" ],
  64910. "type" : "object",
  64911. "properties" : {
  64912. "code" : {
  64913. "type" : "string",
  64914. "description" : "错误码",
  64915. "enum" : [ "AUTHORITY_ILLEGAL", "PARAM_ILLEGAL", "SYSTEM_ERROR" ]
  64916. },
  64917. "links" : {
  64918. "type" : "string",
  64919. "description" : "解决方案链接"
  64920. },
  64921. "message" : {
  64922. "type" : "string",
  64923. "description" : "错误描述"
  64924. }
  64925. }
  64926. },
  64927. "AlipayMerchantTradecomplainBatchqueryModel" : {
  64928. "type" : "object",
  64929. "properties" : {
  64930. "begin_time" : {
  64931. "type" : "string",
  64932. "description" : "查询开始时间\t时间格式:yyyy-MM-dd HH:mm:ss\t若不填写,则默认当前时间30天前。\t注意:begin_time和end_time时间跨度最大一年",
  64933. "example" : "\"2020-02-14 14:23:12\""
  64934. },
  64935. "end_time" : {
  64936. "type" : "string",
  64937. "description" : "查询结束时间\t时间格式:yyyy-MM-dd HH:mm:ss\t若不填写,则默认当前时间。\t注意:begin_time和end_time时间跨度最大一年",
  64938. "example" : "\"2020-02-14 14:23:12\""
  64939. },
  64940. "page_num" : {
  64941. "type" : "integer",
  64942. "description" : "当前页,从1开始",
  64943. "example" : "1"
  64944. },
  64945. "page_size" : {
  64946. "type" : "integer",
  64947. "description" : "每页条数,默认10条,最多支持20条",
  64948. "example" : "10"
  64949. },
  64950. "status" : {
  64951. "type" : "string",
  64952. "description" : "状态如下\t待处理:MERCHANT_PROCESSING \t已处理:MERCHANT_FEEDBACKED \t投诉完结:FINISHED \t投诉关闭:CANCELLED \t客服处理中:PLATFORM_PROCESSING \t客服处理完结:PLATFORM_FINISH \t投诉关闭:CLOSED",
  64953. "example" : "MERCHANT_PROCESSING"
  64954. },
  64955. "target_infos" : {
  64956. "type" : "array",
  64957. "description" : "应用信息",
  64958. "items" : {
  64959. "$ref" : "#/components/schemas/TargetInfo"
  64960. }
  64961. }
  64962. }
  64963. },
  64964. "AlipayMerchantTradecomplainBatchqueryResponseModel" : {
  64965. "type" : "object",
  64966. "properties" : {
  64967. "page_num" : {
  64968. "type" : "integer",
  64969. "description" : "当前页码数",
  64970. "example" : "1"
  64971. },
  64972. "page_size" : {
  64973. "type" : "integer",
  64974. "description" : "每页记录数",
  64975. "example" : "10"
  64976. },
  64977. "total_num" : {
  64978. "type" : "integer",
  64979. "description" : "总条数",
  64980. "example" : "55"
  64981. },
  64982. "total_page_num" : {
  64983. "type" : "integer",
  64984. "description" : "总页码数",
  64985. "example" : "5"
  64986. },
  64987. "trade_complain_infos" : {
  64988. "type" : "array",
  64989. "description" : "交易纠纷工单列表信息",
  64990. "items" : {
  64991. "$ref" : "#/components/schemas/TradeComplainQueryResponse"
  64992. }
  64993. }
  64994. }
  64995. },
  64996. "AlipayMerchantTradecomplainFeedbackSubmitErrorResponseModel" : {
  64997. "required" : [ "code", "message" ],
  64998. "type" : "object",
  64999. "properties" : {
  65000. "code" : {
  65001. "type" : "string",
  65002. "description" : "错误码",
  65003. "enum" : [ "SYSTEM_ERROR", "SUBMIT_CONTENT_VIOLATION", "AUTHORITY_ILLEGAL", "PARAM_ILLEGAL", "REFUND_FEEDBACK_FAILED", "STATUS_CHANGED", "WAITING_REFUND", "REFUND_ALREADY_SUCCEED", "SECURITY_INTERCEPT" ]
  65004. },
  65005. "links" : {
  65006. "type" : "string",
  65007. "description" : "解决方案链接"
  65008. },
  65009. "message" : {
  65010. "type" : "string",
  65011. "description" : "错误描述"
  65012. }
  65013. }
  65014. },
  65015. "AlipayMerchantTradecomplainFeedbackSubmitModel" : {
  65016. "type" : "object",
  65017. "properties" : {
  65018. "complain_event_id" : {
  65019. "type" : "string",
  65020. "description" : "支付宝侧投诉单号",
  65021. "example" : "2020092300102000000001459758"
  65022. },
  65023. "feedback_code" : {
  65024. "type" : "string",
  65025. "description" : "反馈类目ID\t00:使用体验保障金退款;\t02:通过其他方式退款;\t03:已发货;\t04:其他;\t05:已完成售后服务;\t06:非我方责任范围;",
  65026. "example" : "02"
  65027. },
  65028. "feedback_content" : {
  65029. "type" : "string",
  65030. "description" : "反馈内容,字数不超过200个字",
  65031. "example" : "钱已退款给您,请查收"
  65032. },
  65033. "feedback_images" : {
  65034. "type" : "string",
  65035. "description" : "商家处理投诉时反馈凭证的图片id,多个逗号隔开(图片id可以通过\"商户上传处理图片\"接口获取)",
  65036. "example" : "wAe1XmjGS8mBSV0FFklAUgAAACMAAQED,A*C5jFT7v7SIMAAAAAAAAAAAAADpp1AQ"
  65037. },
  65038. "operator" : {
  65039. "type" : "string",
  65040. "description" : "处理投诉人,字数不超过6个字",
  65041. "example" : "王芳"
  65042. }
  65043. }
  65044. },
  65045. "AlipayMerchantTradecomplainFeedbackSubmitResponseModel" : {
  65046. "type" : "object"
  65047. },
  65048. "AlipayMerchantTradecomplainQueryErrorResponseModel" : {
  65049. "required" : [ "code", "message" ],
  65050. "type" : "object",
  65051. "properties" : {
  65052. "code" : {
  65053. "type" : "string",
  65054. "description" : "错误码",
  65055. "enum" : [ "AUTHORITY_ILLEGAL", "PARAM_ILLEGAL", "SYSTEM_ERROR" ]
  65056. },
  65057. "links" : {
  65058. "type" : "string",
  65059. "description" : "解决方案链接"
  65060. },
  65061. "message" : {
  65062. "type" : "string",
  65063. "description" : "错误描述"
  65064. }
  65065. }
  65066. },
  65067. "AlipayMerchantTradecomplainQueryResponseModel" : {
  65068. "type" : "object",
  65069. "properties" : {
  65070. "complain_event_id" : {
  65071. "type" : "string",
  65072. "description" : "支付宝侧投诉单号",
  65073. "example" : "2020092300102000000001459758"
  65074. },
  65075. "complain_reason" : {
  65076. "type" : "string",
  65077. "description" : "用户投诉原因",
  65078. "example" : "重复扣款"
  65079. },
  65080. "content" : {
  65081. "type" : "string",
  65082. "description" : "用户投诉内容",
  65083. "example" : "已经扣除了我的钱,为什么再次扣款???"
  65084. },
  65085. "gmt_create" : {
  65086. "type" : "string",
  65087. "description" : "投诉单创建时间",
  65088. "example" : "2020-02-14 14:23:12"
  65089. },
  65090. "gmt_finished" : {
  65091. "type" : "string",
  65092. "description" : "投诉单完结时间",
  65093. "example" : "2020-02-14 14:23:12"
  65094. },
  65095. "gmt_modified" : {
  65096. "type" : "string",
  65097. "description" : "投诉单修改时间",
  65098. "example" : "2020-02-14 14:23:12"
  65099. },
  65100. "images" : {
  65101. "type" : "array",
  65102. "description" : "投诉图片",
  65103. "items" : {
  65104. "type" : "string"
  65105. },
  65106. "example" : "[\"http://mdn.alipay.com/wsdk/img?fileid=A*ME4GQq2j-5oAAAAAAAAAAAAAAQAAAQ&amp;t=83fed12ef006ebcd8df04dfe79faad6c&amp;bi=openpunsh&amp;ts=0&amp;zoom=original\"]"
  65107. },
  65108. "leaf_category_name" : {
  65109. "type" : "string",
  65110. "description" : "用户投诉诉求",
  65111. "example" : "我要退款"
  65112. },
  65113. "merchant_order_no" : {
  65114. "type" : "string",
  65115. "description" : "商家订单号",
  65116. "example" : "tp1234567899"
  65117. },
  65118. "phone_no" : {
  65119. "type" : "string",
  65120. "description" : "投诉人电话号码",
  65121. "example" : "13656767876"
  65122. },
  65123. "reply_detail_infos" : {
  65124. "type" : "array",
  65125. "description" : "用户与商家之间的协商记录",
  65126. "items" : {
  65127. "$ref" : "#/components/schemas/ReplyRecordResponse"
  65128. }
  65129. },
  65130. "status" : {
  65131. "type" : "string",
  65132. "description" : "状态 \t待处理:MERCHANT_PROCESSING \t已处理:MERCHANT_FEEDBACKED \t投诉完结:FINISHED \t投诉关闭:CANCELLED \t客服处理中:PLATFORM_PROCESSING \t客服处理完结:PLATFORM_FINISH \t投诉关闭:CLOSED",
  65133. "example" : "MERCHANT_PROCESSING"
  65134. },
  65135. "target_id" : {
  65136. "type" : "string",
  65137. "description" : "应用id,例如小程序id、生活号id、商家pid",
  65138. "example" : "2018001307627807"
  65139. },
  65140. "target_type" : {
  65141. "type" : "string",
  65142. "description" : "应用类型 例如小程序:APPID 生活号:PUBLICID 商家账户:PID",
  65143. "example" : "APPID"
  65144. },
  65145. "trade_amount" : {
  65146. "type" : "string",
  65147. "description" : "交易金额,单位元",
  65148. "example" : "0.04"
  65149. },
  65150. "trade_no" : {
  65151. "type" : "string",
  65152. "description" : "支付宝交易号",
  65153. "example" : "2020092322001448341410785740"
  65154. }
  65155. }
  65156. },
  65157. "AlipayMerchantTradecomplainReplySubmitErrorResponseModel" : {
  65158. "required" : [ "code", "message" ],
  65159. "type" : "object",
  65160. "properties" : {
  65161. "code" : {
  65162. "type" : "string",
  65163. "description" : "错误码",
  65164. "enum" : [ "WAITING_REFUND", "PARAM_ILLEGAL", "AUTHORITY_ILLEGAL", "SYSTEM_ERROR", "STATUS_CHANGED", "SUBMIT_CONTENT_VIOLATION" ]
  65165. },
  65166. "links" : {
  65167. "type" : "string",
  65168. "description" : "解决方案链接"
  65169. },
  65170. "message" : {
  65171. "type" : "string",
  65172. "description" : "错误描述"
  65173. }
  65174. }
  65175. },
  65176. "AlipayMerchantTradecomplainReplySubmitModel" : {
  65177. "type" : "object",
  65178. "properties" : {
  65179. "complain_event_id" : {
  65180. "type" : "string",
  65181. "description" : "支付宝侧投诉单号",
  65182. "example" : "2022032200102000000001459758"
  65183. },
  65184. "reply_content" : {
  65185. "type" : "string",
  65186. "description" : "回复留言内容",
  65187. "example" : "你好,已发货,快递单号:*****"
  65188. },
  65189. "reply_images" : {
  65190. "type" : "string",
  65191. "description" : "商家处理问题反馈时的回复凭证的图片id,多个逗号隔开(图片id可以通过\"商户上传处理图片\"接口获取)",
  65192. "example" : "ySYHS5CtTCmag14Wk8jeNAAAACMAAQEW,ySYHS5CtTCmag14Wk8jeNAAAACMAAQAX"
  65193. }
  65194. }
  65195. },
  65196. "AlipayMerchantTradecomplainReplySubmitResponseModel" : {
  65197. "type" : "object"
  65198. },
  65199. "AlipayMerchantTradecomplainSupplementSubmitErrorResponseModel" : {
  65200. "required" : [ "code", "message" ],
  65201. "type" : "object",
  65202. "properties" : {
  65203. "code" : {
  65204. "type" : "string",
  65205. "description" : "错误码",
  65206. "enum" : [ "WAITING_REFUND", "PARAM_ILLEGAL", "AUTHORITY_ILLEGAL", "SYSTEM_ERROR", "STATUS_CHANGED", "SUBMIT_CONTENT_VIOLATION" ]
  65207. },
  65208. "links" : {
  65209. "type" : "string",
  65210. "description" : "解决方案链接"
  65211. },
  65212. "message" : {
  65213. "type" : "string",
  65214. "description" : "错误描述"
  65215. }
  65216. }
  65217. },
  65218. "AlipayMerchantTradecomplainSupplementSubmitModel" : {
  65219. "type" : "object",
  65220. "properties" : {
  65221. "complain_event_id" : {
  65222. "type" : "string",
  65223. "description" : "支付宝侧投诉单号",
  65224. "example" : "2020092300102000000001459758"
  65225. },
  65226. "supplement_content" : {
  65227. "type" : "string",
  65228. "description" : "回复内容,最多不超过200个字",
  65229. "example" : "已发货,快递单号详见截图"
  65230. },
  65231. "supplement_images" : {
  65232. "type" : "string",
  65233. "description" : "商家补充凭证时的图片id,多个逗号隔开(图片id可以通过\"商户上传处理图片\"接口获取)",
  65234. "example" : "ySYHS5CtTCmag14Wk8jeNAAAACMAAQEW,ySYHS5CtTCmag14Wk8jeNAAAACMAAQAX"
  65235. }
  65236. }
  65237. },
  65238. "AlipayMerchantTradecomplainSupplementSubmitResponseModel" : {
  65239. "type" : "object"
  65240. },
  65241. "AlipayMobilePublicFollowListErrorResponseModel" : {
  65242. "required" : [ "code", "message" ],
  65243. "type" : "object",
  65244. "properties" : {
  65245. "code" : {
  65246. "type" : "string",
  65247. "description" : "错误码"
  65248. },
  65249. "links" : {
  65250. "type" : "string",
  65251. "description" : "解决方案链接"
  65252. },
  65253. "message" : {
  65254. "type" : "string",
  65255. "description" : "错误描述"
  65256. }
  65257. }
  65258. },
  65259. "AlipayMobilePublicFollowListResponseModel" : {
  65260. "type" : "object",
  65261. "properties" : {
  65262. "code" : {
  65263. "type" : "integer",
  65264. "description" : "返回结果码,如200,标识成功",
  65265. "example" : "200"
  65266. },
  65267. "count" : {
  65268. "type" : "string",
  65269. "description" : "当前组的值",
  65270. "example" : "10000"
  65271. },
  65272. "data" : {
  65273. "$ref" : "#/components/schemas/Data"
  65274. },
  65275. "next_alipay_user_id" : {
  65276. "type" : "string",
  65277. "description" : "与nextUserId对应,标准Alipay UserId",
  65278. "example" : "2088102146158132"
  65279. },
  65280. "next_user_id" : {
  65281. "type" : "string",
  65282. "description" : "查询分组的userid",
  65283. "example" : "2088102123322367"
  65284. }
  65285. }
  65286. },
  65287. "AlipayMobilePublicInfoQueryErrorResponseModel" : {
  65288. "required" : [ "code", "message" ],
  65289. "type" : "object",
  65290. "properties" : {
  65291. "code" : {
  65292. "type" : "string",
  65293. "description" : "错误码",
  65294. "enum" : [ "SYSTEM_ERROR" ]
  65295. },
  65296. "links" : {
  65297. "type" : "string",
  65298. "description" : "解决方案链接"
  65299. },
  65300. "message" : {
  65301. "type" : "string",
  65302. "description" : "错误描述"
  65303. }
  65304. }
  65305. },
  65306. "AlipayMobilePublicInfoQueryResponseModel" : {
  65307. "type" : "object",
  65308. "properties" : {
  65309. "app_name" : {
  65310. "type" : "string",
  65311. "description" : "服务窗名称",
  65312. "example" : "服务窗2015082953269057"
  65313. },
  65314. "audit_desc" : {
  65315. "type" : "string",
  65316. "description" : "服务窗审核状态描述,如果审核驳回则有相关的驳回理由",
  65317. "example" : "logo图片不符合规范"
  65318. },
  65319. "audit_status" : {
  65320. "type" : "string",
  65321. "description" : "服务窗审核状态,对于系统商而言,只有三个状态,AUDITING:审核中,AUDIT_FAILED:审核驳回,AUDIT_SUCCESS:审核通过",
  65322. "example" : "AUDITING"
  65323. },
  65324. "is_online" : {
  65325. "type" : "string",
  65326. "description" : "服务窗是否上线,T表示上线,F表示未上线",
  65327. "example" : "T"
  65328. },
  65329. "is_release" : {
  65330. "type" : "string",
  65331. "description" : "服务窗是否上架,T表示上架,上架即可在支付宝客户端被搜索到,F表示未上架",
  65332. "example" : "F"
  65333. },
  65334. "logo_url" : {
  65335. "type" : "string",
  65336. "description" : "服务窗头像地址",
  65337. "example" : "http://pic.alipayobjects.com/e/201311/1ZQ"
  65338. },
  65339. "public_greeting" : {
  65340. "type" : "string",
  65341. "description" : "服务窗欢迎语",
  65342. "example" : "欢迎光临"
  65343. }
  65344. }
  65345. },
  65346. "AlipayMobilePublicMenuAddErrorResponseModel" : {
  65347. "required" : [ "code", "message" ],
  65348. "type" : "object",
  65349. "properties" : {
  65350. "code" : {
  65351. "type" : "string",
  65352. "description" : "错误码"
  65353. },
  65354. "links" : {
  65355. "type" : "string",
  65356. "description" : "解决方案链接"
  65357. },
  65358. "message" : {
  65359. "type" : "string",
  65360. "description" : "错误描述"
  65361. }
  65362. }
  65363. },
  65364. "AlipayMobilePublicMenuAddModel" : {
  65365. "type" : "object",
  65366. "properties" : {
  65367. "biz_content" : {
  65368. "type" : "string",
  65369. "description" : "json串,<a href=\"https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7386797.0.0.1l7WMo&treeId=53&articleId=103480&docType=1\">详情请见</a>",
  65370. "example" : "{\"button\": [{\"actionParam\": \"D\", \"actionType\": \"out\", \"name\": \"账户\"}]}"
  65371. }
  65372. }
  65373. },
  65374. "AlipayMobilePublicMenuAddResponseModel" : {
  65375. "type" : "object",
  65376. "properties" : {
  65377. "code" : {
  65378. "type" : "string",
  65379. "description" : "结果码",
  65380. "example" : "200"
  65381. },
  65382. "msg" : {
  65383. "type" : "string",
  65384. "description" : "成功",
  65385. "example" : "success"
  65386. }
  65387. }
  65388. },
  65389. "AlipayMobilePublicMenuGetErrorResponseModel" : {
  65390. "required" : [ "code", "message" ],
  65391. "type" : "object",
  65392. "properties" : {
  65393. "code" : {
  65394. "type" : "string",
  65395. "description" : "错误码"
  65396. },
  65397. "links" : {
  65398. "type" : "string",
  65399. "description" : "解决方案链接"
  65400. },
  65401. "message" : {
  65402. "type" : "string",
  65403. "description" : "错误描述"
  65404. }
  65405. }
  65406. },
  65407. "AlipayMobilePublicMenuGetResponseModel" : {
  65408. "type" : "object",
  65409. "properties" : {
  65410. "code" : {
  65411. "type" : "string",
  65412. "description" : "success",
  65413. "example" : "200"
  65414. },
  65415. "menu_content" : {
  65416. "type" : "string",
  65417. "description" : "菜单内容",
  65418. "example" : "{\"button\":[{\"actionParam\":\"menu_v01_pay\",\"actionType\":\"in\",\"name\":\"支付\"}"
  65419. },
  65420. "msg" : {
  65421. "type" : "string",
  65422. "description" : "成功",
  65423. "example" : "成功"
  65424. }
  65425. }
  65426. },
  65427. "AlipayMobilePublicMenuUpdateErrorResponseModel" : {
  65428. "required" : [ "code", "message" ],
  65429. "type" : "object",
  65430. "properties" : {
  65431. "code" : {
  65432. "type" : "string",
  65433. "description" : "错误码"
  65434. },
  65435. "links" : {
  65436. "type" : "string",
  65437. "description" : "解决方案链接"
  65438. },
  65439. "message" : {
  65440. "type" : "string",
  65441. "description" : "错误描述"
  65442. }
  65443. }
  65444. },
  65445. "AlipayMobilePublicMenuUpdateModel" : {
  65446. "type" : "object",
  65447. "properties" : {
  65448. "biz_content" : {
  65449. "type" : "string",
  65450. "description" : "json串,<a href=\"https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7386797.0.0.1l7WMo&treeId=53&articleId=103481&docType=1\">详情请见</a>",
  65451. "example" : "{\"button\": [{\"actionParam\": \"D\", \"actionType\": \"out\", \"name\": \"账户\"}]}"
  65452. }
  65453. }
  65454. },
  65455. "AlipayMobilePublicMenuUpdateResponseModel" : {
  65456. "type" : "object",
  65457. "properties" : {
  65458. "code" : {
  65459. "type" : "string",
  65460. "description" : "结果码",
  65461. "example" : "200"
  65462. },
  65463. "msg" : {
  65464. "type" : "string",
  65465. "description" : "成功",
  65466. "example" : "success"
  65467. }
  65468. }
  65469. },
  65470. "AlipayMobilePublicMessageCustomSendErrorResponseModel" : {
  65471. "required" : [ "code", "message" ],
  65472. "type" : "object",
  65473. "properties" : {
  65474. "code" : {
  65475. "type" : "string",
  65476. "description" : "错误码",
  65477. "enum" : [ "MSG_SD_NOBEHAVIOR", "MSG_TYPE_ILLEGAL", "OPEN_ID_IS_ILLEGAL", "SYSTEM_ERROR", "MSG_SD_EVENT_TYPE_NOT_EXISTS", "MSG_SD_FOLLOW_NOT_EXISTS", "MSG_SD_OVER_TIME", "MSG_ENTER_EVENT_OVER_LIMIT" ]
  65478. },
  65479. "links" : {
  65480. "type" : "string",
  65481. "description" : "解决方案链接"
  65482. },
  65483. "message" : {
  65484. "type" : "string",
  65485. "description" : "错误描述"
  65486. }
  65487. }
  65488. },
  65489. "AlipayMobilePublicMessageCustomSendModel" : {
  65490. "type" : "object",
  65491. "properties" : {
  65492. "biz_content" : {
  65493. "type" : "string",
  65494. "description" : "业务内容,其中包括消息类型msgType、消息体和消息接受人toUserId三大块,在toUserId这一层级新加eventType参数,该字段取值为follow:表示关注事件,click:表示菜单点击事件,enter_ppchat:代表进入事件。具体参见“表1-2 服务窗单发客服消息的biz_content参数说明”。\r\t<a href=\"https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7386797.0.0.eZqycg&treeId=53&articleId=103448&docType=1\">详情请见</a>",
  65495. "example" : "{\"msgType\":\"text\",\"text\":{\"content\":\"你好。\"},\"toUserId\":\"2088302216448608\",\"eventType\":\"follow\"}"
  65496. }
  65497. }
  65498. },
  65499. "AlipayMobilePublicMessageCustomSendResponseModel" : {
  65500. "type" : "object",
  65501. "properties" : {
  65502. "code" : {
  65503. "type" : "string",
  65504. "description" : "结果码",
  65505. "example" : "200"
  65506. },
  65507. "msg" : {
  65508. "type" : "string",
  65509. "description" : "结果描述",
  65510. "example" : "成功"
  65511. }
  65512. }
  65513. },
  65514. "AlipayMobilePublicMessageSingleSendErrorResponseModel" : {
  65515. "required" : [ "code", "message" ],
  65516. "type" : "object",
  65517. "properties" : {
  65518. "code" : {
  65519. "type" : "string",
  65520. "description" : "错误码",
  65521. "enum" : [ "OPENID_INVALID" ]
  65522. },
  65523. "links" : {
  65524. "type" : "string",
  65525. "description" : "解决方案链接"
  65526. },
  65527. "message" : {
  65528. "type" : "string",
  65529. "description" : "错误描述"
  65530. }
  65531. }
  65532. },
  65533. "AlipayMobilePublicMessageSingleSendModel" : {
  65534. "type" : "object",
  65535. "properties" : {
  65536. "biz_content" : {
  65537. "type" : "string",
  65538. "description" : "业务内容,其中包括模板template和消息接收人toUserId两大块,具体参见“表1-2 服务窗单发模板消息的biz_content参数说明”。\r\t<a href=\"https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7386797.0.0.eZqycg&treeId=53&articleId=103463&docType=1\">详情请见</a>",
  65539. "example" : "{\"toUserId\":\"208876427\",\"template\":{\"context\":{\"amount\":\"20元\",\"cardNo\":\"1855\"},\"templateId\":\"1ff2840464c4463187f5451119de8fea\"}}"
  65540. }
  65541. }
  65542. },
  65543. "AlipayMobilePublicMessageSingleSendResponseModel" : {
  65544. "type" : "object",
  65545. "properties" : {
  65546. "code" : {
  65547. "type" : "string",
  65548. "description" : "结果码",
  65549. "example" : "200"
  65550. },
  65551. "msg" : {
  65552. "type" : "string",
  65553. "description" : "结果描述",
  65554. "example" : "成功"
  65555. }
  65556. }
  65557. },
  65558. "AlipayMobilePublicMessageTotalSendErrorResponseModel" : {
  65559. "required" : [ "code", "message" ],
  65560. "type" : "object",
  65561. "properties" : {
  65562. "code" : {
  65563. "type" : "string",
  65564. "description" : "错误码"
  65565. },
  65566. "links" : {
  65567. "type" : "string",
  65568. "description" : "解决方案链接"
  65569. },
  65570. "message" : {
  65571. "type" : "string",
  65572. "description" : "错误描述"
  65573. }
  65574. }
  65575. },
  65576. "AlipayMobilePublicMessageTotalSendModel" : {
  65577. "type" : "object",
  65578. "properties" : {
  65579. "biz_content" : {
  65580. "type" : "string",
  65581. "description" : "业务内容,其中包括消息类型msgType和消息体两部分,具体参见“表1-2 服务窗群发消息的biz_content参数说明”。",
  65582. "example" : "{\"msgType\":\"text\",\"text\":{\"content\":\"你好!\"}}"
  65583. }
  65584. }
  65585. },
  65586. "AlipayMobilePublicMessageTotalSendResponseModel" : {
  65587. "type" : "object",
  65588. "properties" : {
  65589. "code" : {
  65590. "type" : "string",
  65591. "description" : "结果码",
  65592. "example" : "200"
  65593. },
  65594. "data" : {
  65595. "type" : "string",
  65596. "description" : "消息ID",
  65597. "example" : "2013121100055554f1000b64-3f05-4581-a5e1-16e29d242950"
  65598. },
  65599. "msg" : {
  65600. "type" : "string",
  65601. "description" : "结果描述",
  65602. "example" : "成功"
  65603. }
  65604. }
  65605. },
  65606. "AlipayMobilePublicQrcodeCreateErrorResponseModel" : {
  65607. "required" : [ "code", "message" ],
  65608. "type" : "object",
  65609. "properties" : {
  65610. "code" : {
  65611. "type" : "string",
  65612. "description" : "错误码"
  65613. },
  65614. "links" : {
  65615. "type" : "string",
  65616. "description" : "解决方案链接"
  65617. },
  65618. "message" : {
  65619. "type" : "string",
  65620. "description" : "错误描述"
  65621. }
  65622. }
  65623. },
  65624. "AlipayMobilePublicQrcodeCreateModel" : {
  65625. "type" : "object",
  65626. "properties" : {
  65627. "biz_content" : {
  65628. "type" : "string",
  65629. "description" : "json串,<a href=\"https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7386797.0.0.1l7WMo&treeId=53&articleId=103490&docType=1\">详情请见</a>",
  65630. "example" : "{\"codeType\":\"TEMP\", \"expireSecond\":1800, \"codeInfo\":{ \"scene\":{ \"sceneId\":\"123456\" },\"gotoUrl\":\"url\" }, \"showLogo\":\"Y\" }"
  65631. }
  65632. }
  65633. },
  65634. "AlipayMobilePublicQrcodeCreateResponseModel" : {
  65635. "type" : "object",
  65636. "properties" : {
  65637. "code" : {
  65638. "type" : "integer",
  65639. "description" : "返回结果码,如200,标识成功",
  65640. "example" : "200"
  65641. },
  65642. "code_img" : {
  65643. "type" : "string",
  65644. "description" : "图片地址",
  65645. "example" : "图片地址"
  65646. },
  65647. "expire_second" : {
  65648. "type" : "integer",
  65649. "description" : "码过期时间,单位:秒",
  65650. "example" : "1800"
  65651. },
  65652. "msg" : {
  65653. "type" : "string",
  65654. "description" : "结果吗描述信息",
  65655. "example" : "成功"
  65656. }
  65657. }
  65658. },
  65659. "AlipayMobilePublicShortlinkCreateErrorResponseModel" : {
  65660. "required" : [ "code", "message" ],
  65661. "type" : "object",
  65662. "properties" : {
  65663. "code" : {
  65664. "type" : "string",
  65665. "description" : "错误码"
  65666. },
  65667. "links" : {
  65668. "type" : "string",
  65669. "description" : "解决方案链接"
  65670. },
  65671. "message" : {
  65672. "type" : "string",
  65673. "description" : "错误描述"
  65674. }
  65675. }
  65676. },
  65677. "AlipayMobilePublicShortlinkCreateModel" : {
  65678. "type" : "object",
  65679. "properties" : {
  65680. "biz_content" : {
  65681. "type" : "string",
  65682. "description" : "json串,<a href=\"https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7386797.0.0.pGdb8h&treeId=53&articleId=103491&docType=1\">详情请见</a>",
  65683. "example" : "{\r\n \"sceneId\": \"store_pay_1\",\r\n \"remark\": \"球房1支付推广\"\r\n}"
  65684. }
  65685. }
  65686. },
  65687. "AlipayMobilePublicShortlinkCreateResponseModel" : {
  65688. "type" : "object",
  65689. "properties" : {
  65690. "code" : {
  65691. "type" : "string",
  65692. "description" : "结果码",
  65693. "example" : "200"
  65694. },
  65695. "msg" : {
  65696. "type" : "string",
  65697. "description" : "成功",
  65698. "example" : "结果信息"
  65699. },
  65700. "shortlink" : {
  65701. "type" : "string",
  65702. "description" : "短链接url",
  65703. "example" : "http://t.alipay.com/I/Ev62jVRm"
  65704. }
  65705. }
  65706. },
  65707. "AlipayMobilePublicTemplateMessageDeleteErrorResponseModel" : {
  65708. "required" : [ "code", "message" ],
  65709. "type" : "object",
  65710. "properties" : {
  65711. "code" : {
  65712. "type" : "string",
  65713. "description" : "错误码"
  65714. },
  65715. "links" : {
  65716. "type" : "string",
  65717. "description" : "解决方案链接"
  65718. },
  65719. "message" : {
  65720. "type" : "string",
  65721. "description" : "错误描述"
  65722. }
  65723. }
  65724. },
  65725. "AlipayMobilePublicTemplateMessageDeleteModel" : {
  65726. "type" : "object",
  65727. "properties" : {
  65728. "template_id" : {
  65729. "type" : "string",
  65730. "description" : "模板id",
  65731. "example" : "e58e4db6af7d4f63b2649c48e49824ba"
  65732. }
  65733. }
  65734. },
  65735. "AlipayMobilePublicTemplateMessageDeleteResponseModel" : {
  65736. "type" : "object"
  65737. },
  65738. "AlipayMobilePublicTemplateMessageGetErrorResponseModel" : {
  65739. "required" : [ "code", "message" ],
  65740. "type" : "object",
  65741. "properties" : {
  65742. "code" : {
  65743. "type" : "string",
  65744. "description" : "错误码",
  65745. "enum" : [ "PUB.TEMPLATE_MESSAGE_ID_INVAILD", "PUB.BUSINESS_ERROR", "PUB.ILLEGAL_BIZ_PARAMS", "PUB.APPINFO_NOT_EXIST", "PUB.PUBLIC_NOT_ONLINE", "PUB.NEED_SELECT_INDUSTRY", "PUB.EXCEED_MAX_TEMPLATE_NUM" ]
  65746. },
  65747. "links" : {
  65748. "type" : "string",
  65749. "description" : "解决方案链接"
  65750. },
  65751. "message" : {
  65752. "type" : "string",
  65753. "description" : "错误描述"
  65754. }
  65755. }
  65756. },
  65757. "AlipayMobilePublicTemplateMessageGetResponseModel" : {
  65758. "type" : "object",
  65759. "properties" : {
  65760. "msg_template_id" : {
  65761. "type" : "string",
  65762. "description" : "消息模板id--商户领取母版后生成的唯一模板id",
  65763. "example" : "14330d60f0ab4516853a0900827cee35"
  65764. },
  65765. "template" : {
  65766. "type" : "string",
  65767. "description" : "模板内容",
  65768. "example" : "{\"appId\":\"${ALIPAY.appId}\",\"createTime\":${ALIPAY.createTime},\"toUserId\":\"${ALIPAY.toUserId}\",\"msgType\":\"text\",\"push\":\"true\"}"
  65769. }
  65770. }
  65771. },
  65772. "AlipayMobilePublicTemplateMessageQueryErrorResponseModel" : {
  65773. "required" : [ "code", "message" ],
  65774. "type" : "object",
  65775. "properties" : {
  65776. "code" : {
  65777. "type" : "string",
  65778. "description" : "错误码"
  65779. },
  65780. "links" : {
  65781. "type" : "string",
  65782. "description" : "解决方案链接"
  65783. },
  65784. "message" : {
  65785. "type" : "string",
  65786. "description" : "错误描述"
  65787. }
  65788. }
  65789. },
  65790. "AlipayMobilePublicTemplateMessageQueryModel" : {
  65791. "type" : "object",
  65792. "properties" : {
  65793. "template" : {
  65794. "type" : "string",
  65795. "description" : "模板",
  65796. "example" : "{\"appId\":\"${ALIPAY.appId}\",\"createTime\":${ALIPAY.createTime},\"toUserId\":\"${ALIPAY.toUserId}\",\"msgType\":\"text\",\"push\":\"true\"}"
  65797. },
  65798. "template_id" : {
  65799. "type" : "string",
  65800. "description" : "模板id",
  65801. "example" : "6900b58b65ce457eb67ad94cadadc64e"
  65802. }
  65803. }
  65804. },
  65805. "AlipayMobilePublicTemplateMessageQueryResponseModel" : {
  65806. "type" : "object",
  65807. "properties" : {
  65808. "result" : {
  65809. "type" : "string",
  65810. "description" : "结果值",
  65811. "example" : "true"
  65812. }
  65813. }
  65814. },
  65815. "AlipayMobileStdPublicMessageCustomSendErrorResponseModel" : {
  65816. "required" : [ "code", "message" ],
  65817. "type" : "object",
  65818. "properties" : {
  65819. "code" : {
  65820. "type" : "string",
  65821. "description" : "错误码"
  65822. },
  65823. "links" : {
  65824. "type" : "string",
  65825. "description" : "解决方案链接"
  65826. },
  65827. "message" : {
  65828. "type" : "string",
  65829. "description" : "错误描述"
  65830. }
  65831. }
  65832. },
  65833. "AlipayMobileStdPublicMessageCustomSendModel" : {
  65834. "type" : "object",
  65835. "properties" : {
  65836. "biz_content" : {
  65837. "type" : "string",
  65838. "description" : "业务内容,其中包括消息类型msgType、消息体和消息接受人toUserId三大块,具体参见“表1-2 服务窗单发客服消息的biz_content参数说明”。",
  65839. "example" : "{\"msgType\":\"text\",\"text\":{\"content\":\"你好。\"},\"toUserId\":\"m7DZN0VfcHYP6IRA1sP1gBuSX3JjLZtwilbxOzPGDUrbq9FV8CBamV+6ZPDwOg7401\"}"
  65840. }
  65841. }
  65842. },
  65843. "AlipayMobileStdPublicMessageCustomSendResponseModel" : {
  65844. "type" : "object"
  65845. },
  65846. "AlipayOfflineMarketApplyorderBatchqueryErrorResponseModel" : {
  65847. "required" : [ "code", "message" ],
  65848. "type" : "object",
  65849. "properties" : {
  65850. "code" : {
  65851. "type" : "string",
  65852. "description" : "错误码",
  65853. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  65854. },
  65855. "links" : {
  65856. "type" : "string",
  65857. "description" : "解决方案链接"
  65858. },
  65859. "message" : {
  65860. "type" : "string",
  65861. "description" : "错误描述"
  65862. }
  65863. }
  65864. },
  65865. "AlipayOfflineMarketApplyorderBatchqueryModel" : {
  65866. "type" : "object",
  65867. "properties" : {
  65868. "action" : {
  65869. "type" : "string",
  65870. "description" : "操作动作",
  65871. "example" : "CREATE_SHOP"
  65872. },
  65873. "apply_ids" : {
  65874. "type" : "array",
  65875. "description" : "支付宝流水ID列表,最大不超过100个",
  65876. "items" : {
  65877. "type" : "string"
  65878. },
  65879. "example" : "2015052100077000000000120773,2015052100077000000000120774"
  65880. },
  65881. "biz_id" : {
  65882. "type" : "string",
  65883. "description" : "业务主体ID。根据biz_type不同可能对应shop_id或item_id。",
  65884. "example" : "2015052100077000000000120774"
  65885. },
  65886. "biz_type" : {
  65887. "type" : "string",
  65888. "description" : "业务类型:SHOP-店铺,ITEM-商品。",
  65889. "example" : "SHOP"
  65890. },
  65891. "end_time" : {
  65892. "type" : "string",
  65893. "description" : "查询的流水创建时间最后值。格式:yyyy-MM-dd HH:mm:ss",
  65894. "example" : "2015-10-29 10:51:57"
  65895. },
  65896. "op_id" : {
  65897. "type" : "string",
  65898. "description" : "操作用户的支付账号id",
  65899. "example" : "2088001969784501"
  65900. },
  65901. "op_role" : {
  65902. "type" : "string",
  65903. "description" : "系统集成商统一传入ISV",
  65904. "example" : "ISV"
  65905. },
  65906. "page_no" : {
  65907. "type" : "integer",
  65908. "description" : "页码,留空标示第一页,默认20个结果为一页",
  65909. "example" : "1"
  65910. },
  65911. "page_size" : {
  65912. "type" : "integer",
  65913. "description" : "每页记录数。默认20,最大100。",
  65914. "example" : "20"
  65915. },
  65916. "request_ids" : {
  65917. "type" : "array",
  65918. "description" : "请求ID列表,最大不超过100个。\r\t注意:暂时不支持此字段查询。",
  65919. "items" : {
  65920. "type" : "string"
  65921. },
  65922. "example" : "2015123235324534,2015123235324535"
  65923. },
  65924. "start_time" : {
  65925. "type" : "string",
  65926. "description" : "查询的流水创建时间起始值,只能查询近3个月数据。格式:yyyy-MM-dd HH:mm:ss",
  65927. "example" : "2015-10-27 10:51:57"
  65928. },
  65929. "status" : {
  65930. "type" : "string",
  65931. "description" : "流水状态:INIT-初始,PROCESS-处理中,SUCCESS-成功,FAIL-失败。",
  65932. "example" : "FAIL"
  65933. }
  65934. }
  65935. },
  65936. "AlipayOfflineMarketApplyorderBatchqueryResponseModel" : {
  65937. "type" : "object",
  65938. "properties" : {
  65939. "biz_order_infos" : {
  65940. "type" : "array",
  65941. "description" : "支付宝操作流水信息列表",
  65942. "items" : {
  65943. "$ref" : "#/components/schemas/BizOrderQueryResponse"
  65944. }
  65945. },
  65946. "current_page_no" : {
  65947. "type" : "integer",
  65948. "description" : "当前页码",
  65949. "example" : "1"
  65950. },
  65951. "page_size" : {
  65952. "type" : "integer",
  65953. "description" : "每页记录数",
  65954. "example" : "20"
  65955. },
  65956. "total_items" : {
  65957. "type" : "integer",
  65958. "description" : "总记录数",
  65959. "example" : "50"
  65960. },
  65961. "total_page_no" : {
  65962. "type" : "integer",
  65963. "description" : "总页码数目",
  65964. "example" : "3"
  65965. }
  65966. }
  65967. },
  65968. "AlipayOfflineMarketShopBatchqueryErrorResponseModel" : {
  65969. "required" : [ "code", "message" ],
  65970. "type" : "object",
  65971. "properties" : {
  65972. "code" : {
  65973. "type" : "string",
  65974. "description" : "错误码",
  65975. "enum" : [ "INVALID_PARAM", "SYSTEM_ERROR" ]
  65976. },
  65977. "links" : {
  65978. "type" : "string",
  65979. "description" : "解决方案链接"
  65980. },
  65981. "message" : {
  65982. "type" : "string",
  65983. "description" : "错误描述"
  65984. }
  65985. }
  65986. },
  65987. "AlipayOfflineMarketShopBatchqueryModel" : {
  65988. "type" : "object",
  65989. "properties" : {
  65990. "biz_channel" : {
  65991. "type" : "string",
  65992. "description" : "表示接口查询球房的业务渠道限制:ALL、 POS、不传。不传代表只查询普通球房,传入POS代表只查询简易球房,传入ALL代表查询普通球房和简易球房。",
  65993. "example" : "POS、ALL"
  65994. },
  65995. "page_no" : {
  65996. "type" : "string",
  65997. "description" : "页码,第一页传入\"1\",默认500个结果为一页。此参数必须是大于0的正整数,为0时将查询报错。",
  65998. "example" : "1"
  65999. }
  66000. }
  66001. },
  66002. "AlipayOfflineMarketShopBatchqueryResponseModel" : {
  66003. "type" : "object",
  66004. "properties" : {
  66005. "current_pageno" : {
  66006. "type" : "string",
  66007. "description" : "当前页码",
  66008. "example" : "1"
  66009. },
  66010. "shop_ids" : {
  66011. "type" : "array",
  66012. "description" : "球房列表ID,逗号分隔",
  66013. "items" : {
  66014. "type" : "string"
  66015. },
  66016. "example" : "\"2015052100077000000000120773\",\"2015052100077000000000120774\""
  66017. },
  66018. "total_pageno" : {
  66019. "type" : "string",
  66020. "description" : "总页码数目",
  66021. "example" : "3"
  66022. }
  66023. }
  66024. },
  66025. "AlipayOfflineMarketShopCategoryQueryErrorResponseModel" : {
  66026. "required" : [ "code", "message" ],
  66027. "type" : "object",
  66028. "properties" : {
  66029. "code" : {
  66030. "type" : "string",
  66031. "description" : "错误码",
  66032. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  66033. },
  66034. "links" : {
  66035. "type" : "string",
  66036. "description" : "解决方案链接"
  66037. },
  66038. "message" : {
  66039. "type" : "string",
  66040. "description" : "错误描述"
  66041. }
  66042. }
  66043. },
  66044. "AlipayOfflineMarketShopCategoryQueryResponseModel" : {
  66045. "type" : "object",
  66046. "properties" : {
  66047. "shop_category_config_infos" : {
  66048. "type" : "array",
  66049. "description" : "球房类目配置信息,包括能够开店的叶子节点类目信息,以及类目约束配置信息。",
  66050. "items" : {
  66051. "$ref" : "#/components/schemas/ShopCategoryConfigInfo"
  66052. }
  66053. }
  66054. }
  66055. },
  66056. "AlipayOfflineMarketShopCreateErrorResponseModel" : {
  66057. "required" : [ "code", "message" ],
  66058. "type" : "object",
  66059. "properties" : {
  66060. "code" : {
  66061. "type" : "string",
  66062. "description" : "错误码",
  66063. "enum" : [ "SHOP_CREATE_SYSTEM_ERROR", "SHOP_CREATE_INVALID_PARAM", "SHOP_CREATE_UNIQUE_CONSTRAINT_SHOP_ERROR", "SHOP_CREATE_UNIQUE_CONSTRAINT_IMPLEMENTID_ERROR", "SHOP_CREATE_UNIQUE_CONSTRAINT_OUTSHOPID_ERROR", "SHOP_CREATE_CATOGORY_NOT_EXISTS", "SHOP_CREATE_NO_CONTRACT", "SHOP_CREATE_NO_PROVIDER_CONTRACT", "SHOP_CREATE_NO_PROVIDER_MERCHANT_RELATION", "SHOP_CREATE_INVALID_PROVIDER_STAFF", "SHOP_CREATE_SHOP_JUDGE_FAIL", "SHOP_CREATE_LICENSE_EXPIRES", "SHOP_CREATE_CTU_FAIL", "LICENSE_IS_REQUIRED", "CERTIFICATE_IS_REQUIRED", "SHOP_CATEGORY_NOT_MATCH_CITY", "BRAND_CATEGORY_NOT_MATCH", "IMPLEMENT_ID_INVALID", "EXIST_FORBIDDEN_WORD", "MERCHANT_NOT_EXIST", "LICENSE_CODE_REPEAT_ERROR", "SHOP_CREATE_LICENSE_PRINCIPAL_NOT_MATCH", "SHOP_CREATE_LOCATION_VALIDATE_FAIL", "MERCHANT_NOT_A_CERTIFIED", "SHOP_CREATE_REPEAT_REQUEST", "MERCHANT_CAN_NOT_SIGN_KOUBEI", "AREA_CAN_NOT_NULL", "AREA_NOT_LEGALITY", "LICENSE_NO_RULE_ERROR", "BUSINESS_TIME_RULE_ERROR", "OUT_SHOP_ID_RULE_ERROR", "VALIDITYDATE_RULE_ERROR", "RATE_STANDARD_NOT_EXIST", "RATE_EXCEED_STANDARD_RANGE", "SUBJECT_NO_SUPPORT_RATE", "RATE_PATTERN_ERROR", "RATE_PAY_CATEGORY_ERROR" ]
  66064. },
  66065. "links" : {
  66066. "type" : "string",
  66067. "description" : "解决方案链接"
  66068. },
  66069. "message" : {
  66070. "type" : "string",
  66071. "description" : "错误描述"
  66072. }
  66073. }
  66074. },
  66075. "AlipayOfflineMarketShopCreateModel" : {
  66076. "type" : "object",
  66077. "properties" : {
  66078. "address" : {
  66079. "type" : "string",
  66080. "description" : "球房详细地址,地址字符长度在4-50个字符,注:不含省市区。球房详细地址按规范格式填写地址,以免影响球房搜索及活动报名:例1:道路+门牌号,“人民东路18号”;例2:道路+门牌号+标志性建筑+楼层,“四川北路1552号欢乐广场1楼”。",
  66081. "example" : "万塘路18号黄龙时代广场"
  66082. },
  66083. "audit_images" : {
  66084. "type" : "string",
  66085. "description" : "球房审核时需要的图片;至少包含一张门头照片,两张内景照片,必须反映真实的球房情况,审核才能够通过;多个图片之间以英文逗号分隔。",
  66086. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC,4Q8Pp00AT7eo9NoAJkMR3AAAACMAAUYT"
  66087. },
  66088. "auth_letter" : {
  66089. "type" : "string",
  66090. "description" : "球房授权函,营业执照与签约账号主体不一致时需要。",
  66091. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  66092. },
  66093. "biz_version" : {
  66094. "type" : "string",
  66095. "description" : "店铺接口业务版本号,新接入的ISV,请统一传入2.0。",
  66096. "example" : "2.0"
  66097. },
  66098. "box" : {
  66099. "type" : "string",
  66100. "description" : "球房是否有包厢,T表示有,F表示没有,不传在客户端不作展示。",
  66101. "example" : "T"
  66102. },
  66103. "branch_shop_name" : {
  66104. "type" : "string",
  66105. "description" : "分店名称,比如:万塘路店,与主球房名合并在客户端显示为:肯德基(万塘路店)。",
  66106. "example" : "万塘路店"
  66107. },
  66108. "brand_logo" : {
  66109. "type" : "string",
  66110. "description" : "品牌LOGO; 图片ID,不填写则默认为球房首图main_image。",
  66111. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  66112. },
  66113. "brand_name" : {
  66114. "type" : "string",
  66115. "description" : "品牌名,不填写则默认为“其它品牌”。",
  66116. "example" : "肯德基"
  66117. },
  66118. "business_certificate" : {
  66119. "type" : "string",
  66120. "description" : "许可证,各行业所需的证照资质参见<a href=\"https://doc.open.alipay.com/doc2/detail.htm?treeId=205&articleId=104497&docType=1\">商户入驻要求</a>;该字段只能上传一张许可证,一张以外的许可证、除营业执照和许可证之外其他证照请放在其他资质字段上传。",
  66121. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  66122. },
  66123. "business_certificate_expires" : {
  66124. "type" : "string",
  66125. "description" : "许可证有效期,格式:2020-03-20或长期。严格按照格式填写。",
  66126. "example" : "2020-03-20"
  66127. },
  66128. "business_time" : {
  66129. "type" : "string",
  66130. "description" : "请严格按\"周一-周五 09:00-20:00,周六-周日 10:00-22:00\"的格式进行填写,时间段不能重复,最多支持两个时间段,24小时营业请填写\"00:00-23:59\"",
  66131. "example" : "周一-周五 09:00-20:00,周六-周日 10:00-22:00"
  66132. },
  66133. "category_id" : {
  66134. "type" : "string",
  66135. "description" : "类目id,请参考<a href=\"https://doc.open.alipay.com/doc2/detail.htm?treeId=205&articleId=104497&docType=1\">商户入驻要求</a>。",
  66136. "example" : "2015050700000018"
  66137. },
  66138. "city_code" : {
  66139. "type" : "string",
  66140. "description" : "城市编码,国标码,详见国家统计局数据 <a href=\"https://gw.alipayobjects.com/os/basement_prod/92d874c4-39a9-4977-b710-d55dad374b7f.csv\">点此下载</a>。",
  66141. "example" : "140500"
  66142. },
  66143. "contact_number" : {
  66144. "type" : "string",
  66145. "description" : "球房电话号码;支持座机和手机,只支持数字和+-号,在客户端对用户展现, 支持多个电话, 以英文逗号分隔。",
  66146. "example" : "13612344321,021-12336754"
  66147. },
  66148. "creator" : {
  66149. "type" : "string",
  66150. "description" : "(支付宝内部参数)小二的支付宝账号。",
  66151. "example" : "2088100000000011"
  66152. },
  66153. "district_code" : {
  66154. "type" : "string",
  66155. "description" : "区县编码,国标码,详见国家统计局数据 <a href=\"https://gw.alipayobjects.com/os/basement_prod/92d874c4-39a9-4977-b710-d55dad374b7f.csv\">点此下载</a>。",
  66156. "example" : "140521"
  66157. },
  66158. "enterprise_logon_id" : {
  66159. "type" : "string",
  66160. "description" : "(支付宝内部参数)企业支付宝账号。",
  66161. "example" : "test@sina.com"
  66162. },
  66163. "enterprise_name" : {
  66164. "type" : "string",
  66165. "description" : "(支付宝内部参数)企业支付宝账户名称。",
  66166. "example" : "测试商户有限公司"
  66167. },
  66168. "implement_id" : {
  66169. "type" : "string",
  66170. "description" : "机具号,多个之间以英文逗号分隔。",
  66171. "example" : "HU002,HT002"
  66172. },
  66173. "is_operating_online" : {
  66174. "type" : "string",
  66175. "description" : "是否在其他平台开店,T表示有开店,F表示未开店。",
  66176. "example" : "T"
  66177. },
  66178. "isv_uid" : {
  66179. "type" : "string",
  66180. "description" : "ISV返佣id,球房创建、或者球房交易的返佣将通过此账号反给ISV,如果有口碑签订了返佣协议,则该字段作为返佣数据提取的依据。此字段必须是个合法uid,2088开头的16位支付宝会员账号,如果传入错误将无法创建球房。",
  66181. "example" : "2088001969784501"
  66182. },
  66183. "latitude" : {
  66184. "type" : "string",
  66185. "description" : "纬度;最长15位字符(包括小数点), 注:高德坐标系。经纬度是球房搜索和活动推荐的重要参数,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
  66186. "example" : "30.548828"
  66187. },
  66188. "leads_id" : {
  66189. "type" : "string",
  66190. "description" : "(支付宝内部参数)leads的编号。",
  66191. "example" : "2016060600077001000000301619"
  66192. },
  66193. "licence" : {
  66194. "type" : "string",
  66195. "description" : "球房营业执照图片,各行业所需的证照资质参见<a href=\"https://doc.open.alipay.com/doc2/detail.htm?treeId=205&articleId=104497&docType=1\">商户入驻要求</a>。",
  66196. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  66197. },
  66198. "licence_code" : {
  66199. "type" : "string",
  66200. "description" : "球房营业执照编号,只支持输入中文,英文和数字,营业执照信息与is_operating_online至少填一项。",
  66201. "example" : "H001232"
  66202. },
  66203. "licence_expires" : {
  66204. "type" : "string",
  66205. "description" : "营业执照过期时间。格式:2020-10-20或长期。严格按照格式填写。",
  66206. "example" : "2020-10-20"
  66207. },
  66208. "licence_name" : {
  66209. "type" : "string",
  66210. "description" : "球房营业执照名称。",
  66211. "example" : "来伊份上海分公司"
  66212. },
  66213. "longitude" : {
  66214. "type" : "string",
  66215. "description" : "经度;最长15位字符(包括小数点), 注:高德坐标系。经纬度是球房搜索和活动推荐的重要参数,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
  66216. "example" : "114.266418"
  66217. },
  66218. "main_image" : {
  66219. "type" : "string",
  66220. "description" : "球房首图,非常重要,推荐尺寸2000*1500。",
  66221. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  66222. },
  66223. "main_shop_name" : {
  66224. "type" : "string",
  66225. "description" : "主球房名 比如:肯德基;主店名里不要包含分店名,如“万塘路店”。主店名长度不能超过20个字符。",
  66226. "example" : "海底捞"
  66227. },
  66228. "no_smoking" : {
  66229. "type" : "string",
  66230. "description" : "是否有无烟区,T表示有无烟区,F表示没有无烟区,不传在客户端不展示。",
  66231. "example" : "T"
  66232. },
  66233. "notify_mobile" : {
  66234. "type" : "string",
  66235. "description" : "球房店长电话号码;用于接收球房状态变更通知,收款成功通知等通知消息, 不在客户端展示。",
  66236. "example" : "13867498729"
  66237. },
  66238. "notify_url" : {
  66239. "type" : "string",
  66240. "description" : "通知地址"
  66241. },
  66242. "online_image" : {
  66243. "type" : "string",
  66244. "description" : "废弃字段,请使用online_url字段替代。",
  66245. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  66246. },
  66247. "online_url" : {
  66248. "type" : "string",
  66249. "description" : "其他平台开店的店铺链接url,多个url使用英文逗号隔开,isv迁移到新接口使用此字段,与is_operating_online=T配套使用。",
  66250. "example" : "http://www.******.com/shop/21831830"
  66251. },
  66252. "op_role" : {
  66253. "type" : "string",
  66254. "description" : "表示以系统集成商的身份开店,开放平台现在统一传入ISV。",
  66255. "example" : "ISV"
  66256. },
  66257. "operate_notify_url" : {
  66258. "type" : "string",
  66259. "description" : "当商户的球房审核状态发生变化时,会向该地址推送消息。",
  66260. "example" : "http://abc.com"
  66261. },
  66262. "other_authorization" : {
  66263. "type" : "string",
  66264. "description" : "其他资质。用于上传营业证照、许可证照外的其他资质,除已上传许可证外的其他许可证也可以在该字段上传。",
  66265. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC,1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  66266. },
  66267. "parking" : {
  66268. "type" : "string",
  66269. "description" : "球房是否支持停车,T表示支持,F表示不支持,不传在客户端不作展示。",
  66270. "example" : "F"
  66271. },
  66272. "partner_id" : {
  66273. "type" : "string",
  66274. "description" : "(支付宝内部参数)服务商要操作的商户PID。",
  66275. "example" : "2088001969784001"
  66276. },
  66277. "pay_type" : {
  66278. "type" : "string",
  66279. "description" : "(支付宝内部参数)付款方式:code_scanned_pay:付款码 \r\tonline_pay:在线买单。ISV不可以指定此字段,ISV泛行业开店默认为在线买单,云纵开店可以指定支付方式。",
  66280. "example" : "code_scanned_pay"
  66281. },
  66282. "province_code" : {
  66283. "type" : "string",
  66284. "description" : "省份编码,国标码,详见国家统计局数据 <a href=\"https://gw.alipayobjects.com/os/basement_prod/92d874c4-39a9-4977-b710-d55dad374b7f.csv\">点此下载</a>。",
  66285. "example" : "110000"
  66286. },
  66287. "ref_apply_id" : {
  66288. "type" : "string",
  66289. "description" : "(支付宝内部参数)leads开店重试支付宝流水ID。",
  66290. "example" : "201602270011030000001"
  66291. },
  66292. "request_id" : {
  66293. "type" : "string",
  66294. "description" : "支持英文字母和数字,由开发者自行定义(不允许重复),在球房notify消息中也会带有该参数,以此标明本次notify消息是对哪个请求的回应。",
  66295. "example" : "2015123235324534"
  66296. },
  66297. "store_id" : {
  66298. "type" : "string",
  66299. "description" : "外部球房编号;最长32位字符,该编号将作为收单接口的入参, 请开发者自行确保其唯一性。",
  66300. "example" : "hz001"
  66301. },
  66302. "value_added" : {
  66303. "type" : "string",
  66304. "description" : "球房其他的服务,球房与用户线下兑现。",
  66305. "example" : "免费茶水、免费糖果"
  66306. },
  66307. "version" : {
  66308. "type" : "string",
  66309. "description" : "废弃字段,使用biz_version字段替代。",
  66310. "example" : "2.0"
  66311. },
  66312. "wifi" : {
  66313. "type" : "string",
  66314. "description" : "球房是否支持WIFI,T表示支持,F表示不支持,不传在客户端不作展示。",
  66315. "example" : "T"
  66316. }
  66317. }
  66318. },
  66319. "AlipayOfflineMarketShopCreateResponseModel" : {
  66320. "type" : "object",
  66321. "properties" : {
  66322. "apply_id" : {
  66323. "type" : "string",
  66324. "description" : "开店请求受理成功后返回的支付宝流水ID,根据此ID调用接口\r\talipay.offline.market.applyorder.batchquery,能够获取当前开店请求审核状态、驳回原因等信息。",
  66325. "example" : "2015111410223410000001"
  66326. },
  66327. "audit_desc" : {
  66328. "type" : "string",
  66329. "description" : "废弃字段。",
  66330. "example" : "信息不准确"
  66331. },
  66332. "audit_status" : {
  66333. "type" : "string",
  66334. "description" : "同步请求如果支付宝受理成功,将返回AUDITING状态。",
  66335. "example" : "AUDITING"
  66336. },
  66337. "is_online" : {
  66338. "type" : "string",
  66339. "description" : "废弃字段,T表示上架,F表示未上架。",
  66340. "example" : "T"
  66341. },
  66342. "is_show" : {
  66343. "type" : "string",
  66344. "description" : "废弃字段,T表示显示,F表示隐藏。",
  66345. "example" : "F"
  66346. },
  66347. "rate" : {
  66348. "type" : "string",
  66349. "description" : "球房费率值,指定的ISV可用。创建球房时,为符合情况的球房,进行费率单独设置。若费率不符合球房类目的设置,则会创建球房失败。",
  66350. "example" : "0.006"
  66351. },
  66352. "result_code" : {
  66353. "type" : "string",
  66354. "description" : "开店请求结果码:\r\tWAIT_MERCHANT_CONFIRM:等待商户确认\r\t当开店需要商户确认时返回此结果码,商户需要登录到商家中心e.alipay.com进行开店确认。例如,ISV帮商户开店时,出现需要改签口碑当面付主体,接口同步返回此错误码,并且支付宝发送短信告知商户登录商家中心进行改签确认,确认后进入到后续审核流程。",
  66355. "example" : "WAIT_MERCHANT_CONFIRM"
  66356. },
  66357. "shop_id" : {
  66358. "type" : "string",
  66359. "description" : "废弃字段,支付宝球房ID。",
  66360. "example" : "2015052100077000000000120773"
  66361. }
  66362. }
  66363. },
  66364. "AlipayOfflineMarketShopModifyErrorResponseModel" : {
  66365. "required" : [ "code", "message" ],
  66366. "type" : "object",
  66367. "properties" : {
  66368. "code" : {
  66369. "type" : "string",
  66370. "description" : "错误码",
  66371. "enum" : [ "SHOP_MODIFY_SYSTEM_ERROR", "SHOP_MODIFY_INVALID_PARAM", "SHOP_MODIFY_UNIQUE_CONSTRAINT_SHOP_ERROR", "SHOP_MODIFY_UNIQUE_CONSTRAINT_IMPLEMENTID_ERROR", "SHOP_MODIFY_UNIQUE_CONSTRAINT_OUTSHOPID_ERROR", "SHOP_MODIFY_CATOGORY_NOT_EXISTS", "SHOP_MODIFY_NO_CONTRACT", "SHOP_MODIFY_NO_PROVIDER_CONTRACT", "SHOP_MODIFY_NO_PROVIDER_MERCHANT_RELATION", "SHOP_MODIFY_SHOP_JUDGE_FAIL", "SHOP_MODIFY_NO_PROVIDER_SHOP_RELATION", "SHOP_MODIFY_LICENSE_EXPIRES", "SHOP_MODIFY_SHOP_NOT_EXISTS", "LICENSE_IS_REQUIRED", "CERTIFICATE_IS_REQUIRED", "SHOP_CATEGORY_NOT_MATCH_CITY", "BRAND_CATEGORY_NOT_MATCH", "IMPLEMENT_ID_INVALID", "EXIST_FORBIDDEN_WORD", "MERCHANT_NOT_EXIST", "LICENSE_CODE_REPEAT_ERROR", "SHOP_CTU_RISK", "SHOP_STATUS_CANOT_MODIFY", "SHOP_BRAND_PROTECTED", "PROVINCE_CITY_CANOT_MODIFY", "CATEGORY_CANOT_MODIFY", "NOT_ALLOWED_CONCURRENT_MODIFY", "SHOP_MODIFY_LICENSE_PRINCIPAL_NOT_MATCH", "SHOP_MODIFY_LOCATION_VALIDATE_FAIL", "AREA_CAN_NOT_NULL", "AREA_NOT_LEGALITY", "LICENSE_NO_RULE_ERROR", "BUSINESS_TIME_RULE_ERROR", "OUT_SHOP_ID_RULE_ERROR", "VALIDITYDATE_RULE_ERROR" ]
  66372. },
  66373. "links" : {
  66374. "type" : "string",
  66375. "description" : "解决方案链接"
  66376. },
  66377. "message" : {
  66378. "type" : "string",
  66379. "description" : "错误描述"
  66380. }
  66381. }
  66382. },
  66383. "AlipayOfflineMarketShopModifyModel" : {
  66384. "type" : "object",
  66385. "properties" : {
  66386. "address" : {
  66387. "type" : "string",
  66388. "description" : "球房详细地址,地址字符长度在4-50个字符。球房详细地址,格式(不含省市区):例1:道路+门牌号,“人民东路18号”;例2:道路+门牌号+标志性建筑+楼层;注:球房详细地址按规范格式填写地址,以免影响球房搜索及活动报名",
  66389. "example" : "万塘路18号黄龙时代广场"
  66390. },
  66391. "audit_images" : {
  66392. "type" : "string",
  66393. "description" : "球房审核时需要的图片; 至少包含一张门头照片,两张内景照片,必须反映真实的球房情况,审核才能够通过, 多个以英文逗号分隔。",
  66394. "example" : "02hkCZKaRgmLyirx4If6nAAAACMAAQED"
  66395. },
  66396. "auth_letter" : {
  66397. "type" : "string",
  66398. "description" : "球房授权函。",
  66399. "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
  66400. },
  66401. "avg_price" : {
  66402. "type" : "string",
  66403. "description" : "人均消费价格,最少1元,最大不超过99999元,请按实际情况填写,单位元。",
  66404. "example" : "56.73"
  66405. },
  66406. "biz_version" : {
  66407. "type" : "string",
  66408. "description" : "店铺接口业务版本号,新接入的ISV,请统一传入2.0。",
  66409. "example" : "2.0"
  66410. },
  66411. "box" : {
  66412. "type" : "string",
  66413. "description" : "包厢支持,T表示有包厢,F表示无包厢;不传值默认F。",
  66414. "example" : "T"
  66415. },
  66416. "branch_shop_name" : {
  66417. "type" : "string",
  66418. "description" : "分店名称,比如:万塘路店,与主球房名合并在客户端显示为:肯德基(万塘路店)。分店名长度需在2~20个字符之间。",
  66419. "example" : "万塘路店"
  66420. },
  66421. "brand_logo" : {
  66422. "type" : "string",
  66423. "description" : "品牌LOGO; 图片ID,不填写则默认为球房首图main_image。",
  66424. "example" : "4G8gtQGKT7Ga1lS2_CkMBAAAACMAAQED"
  66425. },
  66426. "brand_name" : {
  66427. "type" : "string",
  66428. "description" : "品牌名称;不填写则默认为“其它品牌”。",
  66429. "example" : "海底捞"
  66430. },
  66431. "business_certificate" : {
  66432. "type" : "string",
  66433. "description" : "许可证,各行业所需的证照资质参见<a href=\"https://doc.open.alipay.com/doc2/detail.htm?treeId=205&articleId=104497&docType=1\">商户入驻要求</a>;该字段只能上传一张许可证,一张以外的许可证、除营业执照和许可证之外其他证照请放在其他资质字段上传。",
  66434. "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
  66435. },
  66436. "business_certificate_expires" : {
  66437. "type" : "string",
  66438. "description" : "许可证有效期,格式:2020-03-20或长期。严格按照格式填写。",
  66439. "example" : "2020-03-20"
  66440. },
  66441. "business_time" : {
  66442. "type" : "string",
  66443. "description" : "请严格按\"周一-周五 09:00-20:00,周六-周日 10:00-22:00\"的格式进行填写,时间段不能重复,最多支持两个时间段,24小时营业请填写\"00:00-23:59\"",
  66444. "example" : "周一-周五 09:00-20:00,周六-周日 10:00-22:00"
  66445. },
  66446. "category_id" : {
  66447. "type" : "string",
  66448. "description" : "废弃字段,不支持修改类目。\r\t类目id,请参考<a href=\"https://doc.open.alipay.com/doc2/detail.htm?treeId=205&articleId=104497&docType=1\">商户入驻要求</a>。",
  66449. "example" : "2015063000020189"
  66450. },
  66451. "city_code" : {
  66452. "type" : "string",
  66453. "description" : "城市编码,国标码,详见国家统计局数据 <a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/2016.xls\">点此下载</a>。",
  66454. "example" : "522400"
  66455. },
  66456. "contact_number" : {
  66457. "type" : "string",
  66458. "description" : "球房电话号码;支持座机和手机,在客户端对用户展现,支持多个电话,以英文逗号分隔。",
  66459. "example" : "13534567652,021-76391728"
  66460. },
  66461. "district_code" : {
  66462. "type" : "string",
  66463. "description" : "区县编码,国标码,详见国家统计局数据 <a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/2016.xls\">点此下载</a>。",
  66464. "example" : "522401"
  66465. },
  66466. "implement_id" : {
  66467. "type" : "string",
  66468. "description" : "店铺使用的机具编号,多个以英文逗号分隔。",
  66469. "example" : "UO001,TY002"
  66470. },
  66471. "is_operating_online" : {
  66472. "type" : "string",
  66473. "description" : "是否在其他平台开店,T表示有开店,F表示未开店。",
  66474. "example" : "F"
  66475. },
  66476. "is_show" : {
  66477. "type" : "string",
  66478. "description" : "废弃字段,T表示显示,F表示隐藏,默认为T。",
  66479. "example" : "F"
  66480. },
  66481. "latitude" : {
  66482. "type" : "string",
  66483. "description" : "纬度,注:高德坐标系。经纬度是球房搜索和活动推荐的重要参数,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
  66484. "example" : "27.296891"
  66485. },
  66486. "licence" : {
  66487. "type" : "string",
  66488. "description" : "球房营业执照图片,各行业所需的证照资质参见:https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.NBvQVP&treeId=78&articleId=104497&docType=1。",
  66489. "example" : "En00j29-TGyXNVEPXIssFQAAACMAAQED"
  66490. },
  66491. "licence_code" : {
  66492. "type" : "string",
  66493. "description" : "球房营业执照编号。只支持输入中文,英文和数字。",
  66494. "example" : "HZ001"
  66495. },
  66496. "licence_expires" : {
  66497. "type" : "string",
  66498. "description" : "营业执照过期时间。格式:2020-10-20或长期。严格按照格式填写。",
  66499. "example" : "2020-10-20"
  66500. },
  66501. "licence_name" : {
  66502. "type" : "string",
  66503. "description" : "球房营业执照名称。",
  66504. "example" : "杭州市西湖区万塘路支小宝美甲店"
  66505. },
  66506. "longitude" : {
  66507. "type" : "string",
  66508. "description" : "经度,注:高德坐标系。经纬度是球房搜索和活动推荐的重要参数,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
  66509. "example" : "105.291027"
  66510. },
  66511. "main_image" : {
  66512. "type" : "string",
  66513. "description" : "球房首图;非常重要,推荐尺寸2000*1500。",
  66514. "example" : "4G8gtQGKT7Ga1lS2_CkMBAAAACMAAQED"
  66515. },
  66516. "main_shop_name" : {
  66517. "type" : "string",
  66518. "description" : "主球房名 比如:肯德基;主店名里不要包含分店名,如“万塘路店”。主店名长度不能超过20个字符。【xxx店】、(xxx店)、(xxx店)、[xxx店]、<xxx店>、xxx店,等类似的主店名都是不合法的,如果需要录入分店,请填写到branch_shop_name字段中。",
  66519. "example" : "肯德基"
  66520. },
  66521. "no_smoking" : {
  66522. "type" : "string",
  66523. "description" : "无烟区支持,T表示禁烟,F表示不禁烟;不传值默认F。",
  66524. "example" : "T"
  66525. },
  66526. "notify_mobile" : {
  66527. "type" : "string",
  66528. "description" : "球房店长电话号码;用于接收球房状态变更通知,收款成功通知等通知消息,不在客户端展示;多个以引文逗号分隔。",
  66529. "example" : "13827197382"
  66530. },
  66531. "notify_url" : {
  66532. "type" : "string",
  66533. "description" : "通知地址"
  66534. },
  66535. "online_image" : {
  66536. "type" : "string",
  66537. "description" : "废弃字段,请使用online_url字段替代。",
  66538. "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
  66539. },
  66540. "online_url" : {
  66541. "type" : "string",
  66542. "description" : "其他平台开店的店铺链接url,多个url使用英文逗号隔开,isv迁移到新接口使用此字段,与is_operating_online=T配套使用。",
  66543. "example" : "http://www.******.com/shop/21831830"
  66544. },
  66545. "op_id" : {
  66546. "type" : "string",
  66547. "description" : "(支付宝内部参数)操作员的支付账号ID(服务商ID、城市经理ID)。",
  66548. "example" : "2088001969784501"
  66549. },
  66550. "op_role" : {
  66551. "type" : "string",
  66552. "description" : "表示以系统集成商的身份开店,开放平台现在统一传入ISV。",
  66553. "example" : "ISV、PROVIDER"
  66554. },
  66555. "operate_notify_url" : {
  66556. "type" : "string",
  66557. "description" : "通知发送url;当商户的球房审核状态发生变化时,会向该地址推送消息。",
  66558. "example" : "http://example.com/gateway.do"
  66559. },
  66560. "other_authorization" : {
  66561. "type" : "string",
  66562. "description" : "其他资质。用于上传营业证照、许可证照外的其他资质,除已上传许可证外的其他许可证也可以在该字段上传。",
  66563. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC,1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  66564. },
  66565. "parking" : {
  66566. "type" : "string",
  66567. "description" : "球房是否支持停车,T表示支持,F表示不支持,不传在客户端不作展示。",
  66568. "example" : "F"
  66569. },
  66570. "partner_id" : {
  66571. "type" : "string",
  66572. "description" : "(支付宝内部参数)服务商要操作的商户PID。",
  66573. "example" : "2088001969784001"
  66574. },
  66575. "pay_type" : {
  66576. "type" : "string",
  66577. "description" : "(支付宝内部参数)付款方式:code_scanned_pay:付款码 \r\tonline_pay:在线买单。ISV不可以指定此字段,ISV泛行业开店默认为在线买单,云纵开店可以指定支付方式。",
  66578. "example" : "code_scanned_pay"
  66579. },
  66580. "province_code" : {
  66581. "type" : "string",
  66582. "description" : "省份编码,国标码,详见国家统计局数据 <a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/2016.xls\">点此下载”</a>。",
  66583. "example" : "520000"
  66584. },
  66585. "request_id" : {
  66586. "type" : "string",
  66587. "description" : "外部请求ID; 标识ISV本次修改的请求,由开发者自定义,不同的请求使用不同的ID,在球房notify消息中也会带有该参数,以此标明本次notify消息是对哪个请求的回应",
  66588. "example" : "20151234321423"
  66589. },
  66590. "shop_id" : {
  66591. "type" : "string",
  66592. "description" : "支付宝球房ID。",
  66593. "example" : "2015052100077000000000120773"
  66594. },
  66595. "store_id" : {
  66596. "type" : "string",
  66597. "description" : "外部球房编号;最长32位字符,该编号将作为收单接口的入参, 请开发者自行确保其唯一性。",
  66598. "example" : "hz001"
  66599. },
  66600. "value_added" : {
  66601. "type" : "string",
  66602. "description" : "球房其他的服务,球房与用户线下兑现。",
  66603. "example" : "免费茶水"
  66604. },
  66605. "version" : {
  66606. "type" : "string",
  66607. "description" : "废弃字段,使用biz_version字段替代。",
  66608. "example" : "2.0"
  66609. },
  66610. "wifi" : {
  66611. "type" : "string",
  66612. "description" : "球房是否支持WIFI,T表示支持,F表示不支持,不传在客户端不作展示。",
  66613. "example" : "F"
  66614. }
  66615. }
  66616. },
  66617. "AlipayOfflineMarketShopModifyResponseModel" : {
  66618. "type" : "object",
  66619. "properties" : {
  66620. "apply_id" : {
  66621. "type" : "string",
  66622. "description" : "修改球房请求受理成功后返回的支付宝流水ID,根据此ID调用接口\r\talipay.offline.market.applyorder.batchquery,能够获取当前修改店铺请求审核状态、驳回原因等信息。",
  66623. "example" : "2015111410223410000001"
  66624. },
  66625. "audit_desc" : {
  66626. "type" : "string",
  66627. "description" : "废弃字段。",
  66628. "example" : "球房首图不符合规范"
  66629. },
  66630. "audit_status" : {
  66631. "type" : "string",
  66632. "description" : "同步请求如果支付宝受理成功,将返回AUDITING状态。",
  66633. "example" : "AUDITING"
  66634. },
  66635. "is_online" : {
  66636. "type" : "string",
  66637. "description" : "废弃字段,T表示上架,F表示未上架。",
  66638. "example" : "T"
  66639. },
  66640. "is_show" : {
  66641. "type" : "string",
  66642. "description" : "废弃字段,T表示显示,F表示隐藏。",
  66643. "example" : "T"
  66644. }
  66645. }
  66646. },
  66647. "AlipayOfflineMarketShopQuerydetailErrorResponseModel" : {
  66648. "required" : [ "code", "message" ],
  66649. "type" : "object",
  66650. "properties" : {
  66651. "code" : {
  66652. "type" : "string",
  66653. "description" : "错误码",
  66654. "enum" : [ "INVALID_PARAM", "SYSTEM_ERROR", "INVALID_SHOPID", "NO_PROVIDER_SHOP_RELATION" ]
  66655. },
  66656. "links" : {
  66657. "type" : "string",
  66658. "description" : "解决方案链接"
  66659. },
  66660. "message" : {
  66661. "type" : "string",
  66662. "description" : "错误描述"
  66663. }
  66664. }
  66665. },
  66666. "AlipayOfflineMarketShopQuerydetailResponseModel" : {
  66667. "type" : "object",
  66668. "properties" : {
  66669. "address" : {
  66670. "type" : "string",
  66671. "description" : "球房详细地址,注:不含省市区",
  66672. "example" : "万塘路18号黄龙时代广场"
  66673. },
  66674. "audit_desc" : {
  66675. "type" : "string",
  66676. "description" : "球房审核状态描述,如果审核驳回则有相关的驳回理由",
  66677. "example" : "球房首图不符合规范"
  66678. },
  66679. "audit_images" : {
  66680. "type" : "string",
  66681. "description" : "球房审核时需要的图片; 至少包含一张门头照片,两张内景照片,必须反映真实的球房情况,审核才能够通过, 多个以英文逗号分隔",
  66682. "example" : "fTwPcLSxSa2VdNag2PqeKQAAACMAAQEC,bGG2pMF-SAGY444rjAEVigAAACMAAQEC"
  66683. },
  66684. "audit_status" : {
  66685. "type" : "string",
  66686. "description" : "球房审核状态,对于系统商而言,只有三个状态,AUDITING:审核中,AUDIT_FAILED:审核驳回,AUDIT_SUCCESS:审核通过。第一次审核通过会触发球房上架。",
  66687. "example" : "AUDITING"
  66688. },
  66689. "auth_letter" : {
  66690. "type" : "string",
  66691. "description" : "授权函图片",
  66692. "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
  66693. },
  66694. "avg_price" : {
  66695. "type" : "string",
  66696. "description" : "人均消费价格,最少1元,最大不超过99999元,请按实际情况填写;单位元;",
  66697. "example" : "63"
  66698. },
  66699. "box" : {
  66700. "type" : "string",
  66701. "description" : "球房是否有包厢,T表示有,F表示没有,不传在客户端不作展示",
  66702. "example" : "T"
  66703. },
  66704. "branch_shop_name" : {
  66705. "type" : "string",
  66706. "description" : "分店名称,比如:万塘路店,与主球房名合并在客户端显示为:肯德基(万塘路店)",
  66707. "example" : "万塘路店"
  66708. },
  66709. "brand_logo" : {
  66710. "type" : "string",
  66711. "description" : "品牌LOGO; 图片ID,不填写则默认为球房首图main_image",
  66712. "example" : "hOTQ1lT1TtOjcxGflvnUXgAAACMAAQED"
  66713. },
  66714. "brand_name" : {
  66715. "type" : "string",
  66716. "description" : "品牌名称;不填写则默认为“其它品牌”",
  66717. "example" : "其它品牌"
  66718. },
  66719. "business_certificate" : {
  66720. "type" : "string",
  66721. "description" : "经营许可证,只有餐饮类目需要",
  66722. "example" : "hdYiHK85fHks"
  66723. },
  66724. "business_certificate_expires" : {
  66725. "type" : "string",
  66726. "description" : "经营许可证有效期,格式:2020-03-20,只有餐饮类目需要",
  66727. "example" : "长期"
  66728. },
  66729. "business_time" : {
  66730. "type" : "string",
  66731. "description" : "营业时间;支持分段营业时间,以英文逗号分隔",
  66732. "example" : "10:00-23:00"
  66733. },
  66734. "category_id" : {
  66735. "type" : "string",
  66736. "description" : "类目ID,类目初始数据由口碑提供",
  66737. "example" : "203"
  66738. },
  66739. "city_code" : {
  66740. "type" : "string",
  66741. "description" : "城市编码,国标码,详见国家统计局数据",
  66742. "example" : "330100"
  66743. },
  66744. "contact_number" : {
  66745. "type" : "string",
  66746. "description" : "球房电话号码;支持座机和手机,在客户端对用户展现,支持多个电话,以英文逗号分隔",
  66747. "example" : "057126888888,18666668888"
  66748. },
  66749. "create_channel" : {
  66750. "type" : "string",
  66751. "description" : "球房创建来源;如:开放平台、支付宝客户端、口碑商家app、商家自主开店、服务商开店、全民开店-支付宝客户端、全民开店-商户app、其它",
  66752. "example" : "开放平台"
  66753. },
  66754. "district_code" : {
  66755. "type" : "string",
  66756. "description" : "区县编码,国标码,详见国家统计局数据",
  66757. "example" : "330101"
  66758. },
  66759. "gmt_shop_create" : {
  66760. "type" : "string",
  66761. "description" : "球房创建时间",
  66762. "example" : "2016-03-13 16:56:45"
  66763. },
  66764. "gmt_shop_modified" : {
  66765. "type" : "string",
  66766. "description" : "球房修改时间",
  66767. "example" : "2016-03-13 16:56:45"
  66768. },
  66769. "implement_id" : {
  66770. "type" : "string",
  66771. "description" : "店铺使用的机具编号,多个以英文逗号分隔",
  66772. "example" : "HA111,HA112"
  66773. },
  66774. "is_online" : {
  66775. "type" : "string",
  66776. "description" : "球房是否上架,T表示上架,F表示未上架,第一次球房审核通过后会触发上架",
  66777. "example" : "T"
  66778. },
  66779. "is_operating_online" : {
  66780. "type" : "string",
  66781. "description" : "是否在其他平台开店,T表示有开店,F表示未开店,用于证明其开店资质",
  66782. "example" : "F"
  66783. },
  66784. "is_show" : {
  66785. "type" : "string",
  66786. "description" : "球房是否在客户端显示,T表示显示,F表示隐藏",
  66787. "example" : "T"
  66788. },
  66789. "isv_uid" : {
  66790. "type" : "string",
  66791. "description" : "开发者返佣ID,重要:如果有口碑签订了返佣协议,则该字段作为返佣数据提取的依据,需要与签约协议的PID保持一致, 该字段只能在创建接口中传入,不能在修改接口中被修改",
  66792. "example" : "2088xxx"
  66793. },
  66794. "latitude" : {
  66795. "type" : "string",
  66796. "description" : "纬度,最长15位字符(包括小数点), 注:高德坐标系",
  66797. "example" : "38.65777"
  66798. },
  66799. "licence" : {
  66800. "type" : "string",
  66801. "description" : "球房营业执照图片",
  66802. "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
  66803. },
  66804. "licence_code" : {
  66805. "type" : "string",
  66806. "description" : "球房营业执照编号",
  66807. "example" : "4406xxx"
  66808. },
  66809. "licence_expires" : {
  66810. "type" : "string",
  66811. "description" : "营业执照过期时间",
  66812. "example" : "20200101 或长期"
  66813. },
  66814. "licence_name" : {
  66815. "type" : "string",
  66816. "description" : "球房营业执照名称",
  66817. "example" : "杭州市西湖区万塘路支小宝美甲店"
  66818. },
  66819. "longitude" : {
  66820. "type" : "string",
  66821. "description" : "经度,最长15位字符(包括小数点), 注:高德坐标系",
  66822. "example" : "104.08296"
  66823. },
  66824. "main_image" : {
  66825. "type" : "string",
  66826. "description" : "球房首图;非常重要,推荐尺寸2000*1500",
  66827. "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
  66828. },
  66829. "main_shop_name" : {
  66830. "type" : "string",
  66831. "description" : "主店名;比如:肯德基",
  66832. "example" : "肯德基"
  66833. },
  66834. "no_smoking" : {
  66835. "type" : "string",
  66836. "description" : "是否有无烟区,T表示有无烟区,F表示没有无烟区,不传在客户端不展示",
  66837. "example" : "T"
  66838. },
  66839. "notify_mobile" : {
  66840. "type" : "string",
  66841. "description" : "球房店长电话号码;用于接收球房状态变更通知,收款成功通知等通知消息,不在客户端展示;多个以引文逗号分隔",
  66842. "example" : "13800000000,13688888888"
  66843. },
  66844. "online_image" : {
  66845. "type" : "string",
  66846. "description" : "在其他平台的开店图片,支持多张,逗号分隔",
  66847. "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
  66848. },
  66849. "operate_notify_url" : {
  66850. "type" : "string",
  66851. "description" : "通知发送url;当商户的球房审核状态发生变化时,会向该地址推送消息",
  66852. "example" : "http://example.com/gateway.do"
  66853. },
  66854. "other_auth_images" : {
  66855. "type" : "string",
  66856. "description" : "其它资质证明图片集;支持多张,逗号分隔",
  66857. "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
  66858. },
  66859. "parking" : {
  66860. "type" : "string",
  66861. "description" : "球房是否支持停车,T表示支持,F表示不支持,不传在客户端不作展示",
  66862. "example" : "T"
  66863. },
  66864. "partner_id" : {
  66865. "type" : "string",
  66866. "description" : "球房的签约ID",
  66867. "example" : "2088101117656381"
  66868. },
  66869. "pay_type" : {
  66870. "type" : "string",
  66871. "description" : "默认付款类型;如:付款码、扫码付、声波支付、在线买单、其它",
  66872. "example" : "付款码"
  66873. },
  66874. "payment_account" : {
  66875. "type" : "string",
  66876. "description" : "球房收款账户,球房收款账户只能被查询,不能通过接口修改。如果为空,则表示球房收款账户为商户签约账户",
  66877. "example" : "testyufabu07@alipay.com"
  66878. },
  66879. "pic_coll" : {
  66880. "type" : "string",
  66881. "description" : "图片集,是map转化成的json串,key是图片id,value是图片url",
  66882. "example" : "{\"IUFIDASFIEUIOFKSFIUFE83IEI\":\"http://object.alipay.com/getpic.do?kjkdjkjj\"}"
  66883. },
  66884. "processed_qr_code" : {
  66885. "type" : "string",
  66886. "description" : "经过加工后的球房收款二维码",
  66887. "example" : "https://tfs.alipay.com/files/alipaygif***/T1WQhXXmtjX***7d20ca1072"
  66888. },
  66889. "provider_xiaoer_uid" : {
  66890. "type" : "string",
  66891. "description" : "球房运营归属人uid",
  66892. "example" : "2088*******"
  66893. },
  66894. "province_code" : {
  66895. "type" : "string",
  66896. "description" : "省份编码,国标码,详见国家统计局数据",
  66897. "example" : "330000"
  66898. },
  66899. "qr_code" : {
  66900. "type" : "string",
  66901. "description" : "球房收款二维码裸码",
  66902. "example" : "https://tfs.alipay.com/images/mobilecodec/T1Y***QhXXhBe"
  66903. },
  66904. "shop_tags" : {
  66905. "type" : "string",
  66906. "description" : "球房标签;JSON格式。包括:keyMerchant-是否重点商户(T/F);isHallMeal-堂食(T/F);注:若标签 key 不存在,则球房无对应的标签",
  66907. "example" : "{\"keyMerchant\":\"T\"}"
  66908. },
  66909. "store_id" : {
  66910. "type" : "string",
  66911. "description" : "外部球房编号;最长54位字符,该编号将作为收单接口的入参, 请开发者自行确保其唯一性",
  66912. "example" : "hz001"
  66913. },
  66914. "value_added" : {
  66915. "type" : "string",
  66916. "description" : "球房其他的服务,球房与用户线下兑现",
  66917. "example" : "生日专享:生日当天美甲享半价优惠"
  66918. },
  66919. "wifi" : {
  66920. "type" : "string",
  66921. "description" : "球房是否支持WIFI,T表示支持,F表示不支持,不传在客户端不作展示",
  66922. "example" : "T"
  66923. }
  66924. }
  66925. },
  66926. "AlipayOfflineMarketShopSummaryBatchqueryErrorResponseModel" : {
  66927. "required" : [ "code", "message" ],
  66928. "type" : "object",
  66929. "properties" : {
  66930. "code" : {
  66931. "type" : "string",
  66932. "description" : "错误码",
  66933. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ILLEGAL_PRIVILEGE" ]
  66934. },
  66935. "links" : {
  66936. "type" : "string",
  66937. "description" : "解决方案链接"
  66938. },
  66939. "message" : {
  66940. "type" : "string",
  66941. "description" : "错误描述"
  66942. }
  66943. }
  66944. },
  66945. "AlipayOfflineMarketShopSummaryBatchqueryModel" : {
  66946. "type" : "object",
  66947. "properties" : {
  66948. "biz_channel" : {
  66949. "type" : "string",
  66950. "description" : "表示接口查询球房的业务渠道限制:ALL、 POS、不传。不传代表只查询普通球房,传入POS代表只查询简易球房,传入ALL代表查询普通球房和简易球房。",
  66951. "example" : "POS、ALL"
  66952. },
  66953. "brand_name" : {
  66954. "type" : "string",
  66955. "description" : "品牌名",
  66956. "example" : "麦当劳"
  66957. },
  66958. "city_code" : {
  66959. "type" : "string",
  66960. "description" : "城市编码,国标码,如:120100表示天津市",
  66961. "example" : "120100"
  66962. },
  66963. "district_code" : {
  66964. "type" : "string",
  66965. "description" : "区域编码,如:120104表示南开区",
  66966. "example" : "120104"
  66967. },
  66968. "op_role" : {
  66969. "type" : "string",
  66970. "description" : "表示接口业务的调用方身份:ISV、 服务商身份标识。传入ISV代表系统集成商身份。传入PROVIDER代表服务商。",
  66971. "example" : "ISV、PROVIDER"
  66972. },
  66973. "page_no" : {
  66974. "type" : "integer",
  66975. "description" : "页码,留空标示第一页,默认 20个结果为一页",
  66976. "example" : "1"
  66977. },
  66978. "page_size" : {
  66979. "type" : "integer",
  66980. "description" : "每页记录数,默认20,最大 100",
  66981. "example" : "20"
  66982. },
  66983. "province_code" : {
  66984. "type" : "string",
  66985. "description" : "省份编码,国标码,如:120000表示天津",
  66986. "example" : "120000"
  66987. },
  66988. "query_type" : {
  66989. "type" : "string",
  66990. "description" : "球房数据查询类型,根据类型可以返回指定的球房数据,目前支持的类型如下:\r\tBRAND_RELATION : 品牌商关联店铺\r\tMALL_SELF :MALL自己的球房\r\tMALL_RELATION:MALL关联下的球房\r\tMERCHANT_SELF:商户自己的球房\r\tKB_PROMOTER:口碑客推广者",
  66991. "example" : "BRAND_RELATION"
  66992. },
  66993. "related_partner_id" : {
  66994. "type" : "string",
  66995. "description" : "query_type查询类型下所关联的商户PID",
  66996. "example" : "2088001969784501"
  66997. },
  66998. "shop_id" : {
  66999. "type" : "string",
  67000. "description" : "球房ID",
  67001. "example" : "2015062100077000000000120773"
  67002. },
  67003. "shop_status" : {
  67004. "type" : "string",
  67005. "description" : "球房状态,传入多个状态,多个状态使用英文逗号隔开,例如:PAUSED,OPEN\r\t店铺状态:OPEN(营业)、PAUSED(暂停)、INIT(初始)、FREEZE(冻结)、CLOSED(关店)",
  67006. "example" : "PAUSED"
  67007. }
  67008. }
  67009. },
  67010. "AlipayOfflineMarketShopSummaryBatchqueryResponseModel" : {
  67011. "type" : "object",
  67012. "properties" : {
  67013. "current_page_no" : {
  67014. "type" : "string",
  67015. "description" : "当前页码",
  67016. "example" : "1"
  67017. },
  67018. "page_size" : {
  67019. "type" : "string",
  67020. "description" : "每页记录数",
  67021. "example" : "20"
  67022. },
  67023. "shop_summary_infos" : {
  67024. "type" : "array",
  67025. "description" : "支付宝球房摘要信息列表",
  67026. "items" : {
  67027. "$ref" : "#/components/schemas/ShopSummaryQueryResponse"
  67028. }
  67029. },
  67030. "total_items" : {
  67031. "type" : "string",
  67032. "description" : "总记录数",
  67033. "example" : "50"
  67034. },
  67035. "total_page_no" : {
  67036. "type" : "string",
  67037. "description" : "总页码数目",
  67038. "example" : "3"
  67039. }
  67040. }
  67041. },
  67042. "AlipayOfflineMaterialImageUploadErrorResponseModel" : {
  67043. "required" : [ "code", "message" ],
  67044. "type" : "object",
  67045. "properties" : {
  67046. "code" : {
  67047. "type" : "string",
  67048. "description" : "错误码",
  67049. "enum" : [ "isv.invalid-arguments", "isv.exceed-max-size", "isv.unknown-fomat", "isv.image-unsafe", "isv.unknown-error", "INVALID_PARAM", "SYSTEM_ERROR", "EXCEED_MAX_SIZE", "UNKNOWN_FORMAT", "INVALID_FILE_BYTES", "CAPACITY_EXCEEDED" ]
  67050. },
  67051. "links" : {
  67052. "type" : "string",
  67053. "description" : "解决方案链接"
  67054. },
  67055. "message" : {
  67056. "type" : "string",
  67057. "description" : "错误描述"
  67058. }
  67059. }
  67060. },
  67061. "AlipayOfflineMaterialImageUploadModel" : {
  67062. "type" : "object",
  67063. "properties" : {
  67064. "image_name" : {
  67065. "type" : "string",
  67066. "description" : "图片/视频名称",
  67067. "example" : "海底捞"
  67068. },
  67069. "image_pid" : {
  67070. "type" : "string",
  67071. "description" : "用于显示指定图片/视频所属的partnerId(支付宝内部使用,外部商户无需填写此字段)",
  67072. "example" : "2088021822217233"
  67073. },
  67074. "image_type" : {
  67075. "type" : "string",
  67076. "description" : "图片/视频格式",
  67077. "example" : "jpg或mp4"
  67078. }
  67079. }
  67080. },
  67081. "AlipayOfflineMaterialImageUploadResponseModel" : {
  67082. "type" : "object",
  67083. "properties" : {
  67084. "image_id" : {
  67085. "type" : "string",
  67086. "description" : "图片/视频在商家中心的唯一标识",
  67087. "example" : "hOTQ1lT1TtOjcxGflvnUXgAAACMAAQED"
  67088. },
  67089. "image_url" : {
  67090. "type" : "string",
  67091. "description" : "图片/视频的访问地址(为了防止盗链,该地址不允许嵌在其他页面展示,只能在新页面展示)",
  67092. "example" : "http://dl.django.t.taobao.com/rest/1.0/image?fileIds=V9rfg69SSimLZg5wDA3yEgAAACMA..."
  67093. }
  67094. }
  67095. },
  67096. "AlipayOpenAgentCancelErrorResponseModel" : {
  67097. "required" : [ "code", "message" ],
  67098. "type" : "object",
  67099. "properties" : {
  67100. "code" : {
  67101. "type" : "string",
  67102. "description" : "错误码",
  67103. "enum" : [ "INVALID_PARAMETER", "INVALID_BATCH_NO", "NO_APP_PERMISSION", "BATCH_STATUS_IS_FINAL", "BATCH_IS_NOT_EXIST" ]
  67104. },
  67105. "links" : {
  67106. "type" : "string",
  67107. "description" : "解决方案链接"
  67108. },
  67109. "message" : {
  67110. "type" : "string",
  67111. "description" : "错误描述"
  67112. }
  67113. }
  67114. },
  67115. "AlipayOpenAgentCancelModel" : {
  67116. "type" : "object",
  67117. "properties" : {
  67118. "batch_no" : {
  67119. "type" : "string",
  67120. "description" : "ISV 代商户操作事务编号,通过事务开启接口alipay.open.agent.create调用返回。",
  67121. "example" : "2017110616474516400082883"
  67122. }
  67123. }
  67124. },
  67125. "AlipayOpenAgentCancelResponseModel" : {
  67126. "type" : "object"
  67127. },
  67128. "AlipayOpenAgentCommonSignErrorResponseModel" : {
  67129. "required" : [ "code", "message" ],
  67130. "type" : "object",
  67131. "properties" : {
  67132. "code" : {
  67133. "type" : "string",
  67134. "description" : "错误码",
  67135. "enum" : [ "INVALID_PARAMETER", "INVALID_BATCH_NO", "BATCH_IS_NOT_EXIST", "BATCH_STATUS_IS_FINAL", "SYSTEM_ERROR", "ISV_APP_ORDER_PACKAGE_EMPTY", "ISV_APP_NO_ORDER_PACKAGE", "MERCHANT_SIGN_PRODUCT_IN_AUDIT", "MERCHANT_SIGN_PRODUCT_IN_FORBIDD", "NO_APP_PERMISSION", "FILE_SIZE_OUT_LIMIT", "FILE_SIZE_MIN_LIMIT", "FILE_FORMAT_IS_INVALID", "MERCHANT_NEED_FACE_CERTIFY", "MERCHANT_STATE_NOT_SATISFY", "UN_SUPPORT_ACCOUNT_CERTIFY_LEVEL", "UN_SUPPORT_ACCOUNT_TYPE", "ANT_PRODUCT_CONFLICT", "USER_CARD_BALANCE_PAY_CLOSED", "CHECK_AGDS_SELLER_ACCESS_FAILED", "ANT_PRODUCT_DEPENDENCY_REQUIRED", "RISK_ADVICE_ERROR", "USER_ACCOUNT_IS_BLOCK", "NOT_MATCHED_SSU_OR_PS", "BUSINESS_LICENSE_PIC_RISK", "SHOP_SIGN_BOARD_PIC_RISK", "OPEN_API_SIGN_ISV_NOT_IN_WHITELIST", "OPEN_API_SIGN_PRODUCT_NOT_SUPPORT", "UNKNOWN_EXCEPTION", "BIZ_ERROR", "ISV_IDENTITY_NOT_SATISFY" ]
  67136. },
  67137. "links" : {
  67138. "type" : "string",
  67139. "description" : "解决方案链接"
  67140. },
  67141. "message" : {
  67142. "type" : "string",
  67143. "description" : "错误描述"
  67144. }
  67145. }
  67146. },
  67147. "AlipayOpenAgentCommonSignModel" : {
  67148. "type" : "object",
  67149. "properties" : {
  67150. "alipay_life_name" : {
  67151. "type" : "string",
  67152. "description" : "支付宝生活号(原服务窗)名称(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)",
  67153. "example" : "杭州xx报社"
  67154. },
  67155. "app_name" : {
  67156. "type" : "string",
  67157. "description" : "商户的APP应用名称(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)",
  67158. "example" : "应用名称"
  67159. },
  67160. "batch_no" : {
  67161. "type" : "string",
  67162. "description" : "代商户操作事务编号,通过alipay.open.agent.create接口进行创建。",
  67163. "example" : "2020062409585609100024230"
  67164. },
  67165. "business_license_no" : {
  67166. "type" : "string",
  67167. "description" : "营业执照号码",
  67168. "example" : "1532501100006302"
  67169. },
  67170. "date_limitation" : {
  67171. "type" : "string",
  67172. "description" : "营业期限",
  67173. "example" : "2017-11-11"
  67174. },
  67175. "life_app_id" : {
  67176. "type" : "string",
  67177. "description" : "请输入被签约商户的支付宝生活号ID编号",
  67178. "example" : "2030020837517348"
  67179. },
  67180. "long_term" : {
  67181. "type" : "boolean",
  67182. "description" : "营业期限是否长期有效",
  67183. "example" : "true"
  67184. },
  67185. "mcc_code" : {
  67186. "type" : "string",
  67187. "description" : "<a href=\"https://opendocs.alipay.com/common/02khjv\">商家经营类目</a> 中的“经营类目编码”",
  67188. "example" : "A_A03_4582"
  67189. },
  67190. "mini_app_id" : {
  67191. "type" : "string",
  67192. "description" : "请输入被签约商家下任意小程序APPID ID编号",
  67193. "example" : "2021003187665167"
  67194. },
  67195. "product_code" : {
  67196. "type" : "string",
  67197. "description" : "isv要代商户签约产品码,产品码是支付宝内部对产品的唯一标识",
  67198. "example" : "FACE_TO_FACE_PAYMENT"
  67199. },
  67200. "rate" : {
  67201. "type" : "string",
  67202. "description" : "服务费率(%),例如:请输入0.38~0.6 之间(小数点后两位,可取0.38%及0.6%),直播买卖通涉及JSAPI支付产品,交易手续费为 0.38%-0.6%,后续费率变化可参考支付宝标准服务费。\t当签约且授权标识 sign_and_auth=true 时,该费率信息必填。",
  67203. "example" : "0.38"
  67204. },
  67205. "special_license_type" : {
  67206. "type" : "string",
  67207. "description" : "合约特殊资质的类型,不传默认99",
  67208. "example" : "99"
  67209. },
  67210. "web_sites" : {
  67211. "type" : "array",
  67212. "description" : "接入网址信息(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)",
  67213. "items" : {
  67214. "type" : "string"
  67215. },
  67216. "example" : "www.web.com"
  67217. },
  67218. "web_status" : {
  67219. "type" : "string",
  67220. "description" : "网站状态,枚举值为:已上线,未上线",
  67221. "example" : "已上线"
  67222. },
  67223. "web_test_account" : {
  67224. "type" : "string",
  67225. "description" : "可以登录此网站的测试账户",
  67226. "example" : "testAccount"
  67227. },
  67228. "web_test_account_password" : {
  67229. "type" : "string",
  67230. "description" : "可以登录此网站的账户的密码。对应web_test_account的登录密码",
  67231. "example" : "testPassword"
  67232. },
  67233. "wechat_official_account_name" : {
  67234. "type" : "string",
  67235. "description" : "微信公众号名称(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)",
  67236. "example" : "杭州xx报社"
  67237. }
  67238. }
  67239. },
  67240. "AlipayOpenAgentCommonSignResponseModel" : {
  67241. "type" : "object"
  67242. },
  67243. "AlipayOpenAgentCommonsignConfirmErrorResponseModel" : {
  67244. "required" : [ "code", "message" ],
  67245. "type" : "object",
  67246. "properties" : {
  67247. "code" : {
  67248. "type" : "string",
  67249. "description" : "错误码",
  67250. "enum" : [ "INVALID_PARAMETER", "INVALID_BATCH_NO", "NO_APP_PERMISSION", "BATCH_STATUS_IS_FINAL", "BATCH_IS_NOT_EXIST", "BATCH_IS_EMPTY", "BUSINESS_LICENSE_NO_EMPTY", "FEERATE_NOT_INTERAVL", "BIZ_ERROR", "OPEN_API_SIGN_PRODUCT_NOT_SUPPORT", "OPEN_API_SIGN_ISV_NOT_IN_WHITELIST", "UNKNOWN_EXCEPTION", "SYSTEM_ERROR", "MERCHANT_SIGN_PRODUCT_IN_AUDIT", "ANT_PRODUCT_CONFLICT", "NOT_MATCHED_SSU_OR_PS", "OPEN_API_SIGN_PRODUCT_NUM_TOO_BIG", "MERCHANT_INTERFACE_INFO_ERR", "ORDER_TYPE_NULL_ERROR", "RESTRICT_VALID_ERROR", "NEW_LINK_CANNOT_BATCH_SIGN", "PRODUCT_CANNOT_MIX_SIGN", "PRODUCT_OPEN_FAIL" ]
  67251. },
  67252. "links" : {
  67253. "type" : "string",
  67254. "description" : "解决方案链接"
  67255. },
  67256. "message" : {
  67257. "type" : "string",
  67258. "description" : "错误描述"
  67259. }
  67260. }
  67261. },
  67262. "AlipayOpenAgentCommonsignConfirmModel" : {
  67263. "type" : "object",
  67264. "properties" : {
  67265. "batch_no" : {
  67266. "type" : "string",
  67267. "description" : "ISV 代商户操作事务编号,通过事务开启接口alipay.open.agent.create调用返回。",
  67268. "example" : "2017110616474516400082883"
  67269. }
  67270. }
  67271. },
  67272. "AlipayOpenAgentCommonsignConfirmResponseModel" : {
  67273. "type" : "object",
  67274. "properties" : {
  67275. "order_no" : {
  67276. "type" : "string",
  67277. "description" : "签约单号",
  67278. "example" : "20211102034000100000023843766649"
  67279. }
  67280. }
  67281. },
  67282. "AlipayOpenAgentConfirmErrorResponseModel" : {
  67283. "required" : [ "code", "message" ],
  67284. "type" : "object",
  67285. "properties" : {
  67286. "code" : {
  67287. "type" : "string",
  67288. "description" : "错误码",
  67289. "enum" : [ "INVALID_PARAMETER", "INVALID_BATCH_NO", "NO_APP_PERMISSION", "BATCH_STATUS_IS_FINAL", "BATCH_IS_NOT_EXIST", "BATCH_IS_EMPTY", "PRE_AUTH_INVALID_AUTH_TICKET", "PRE_AUTH_INVALID_AUTH_TOKEN", "PRE_AUTH_INVOKE_API_NOT_PERMITTE", "PRE_AUTH_INVALID_AUTH_APP_ID", "PRE_AUTH_TICKET_EXCHANGE_FAILED", "PRE_AUTH_TICKET_CREATE_APP_ONCE", "PRE_AUTH_TICKET_NEED_CREATE_APP", "BUSINESS_LICENSE_NO_EMPTY", "FEERATE_NOT_INTERAVL", "BIZ_ERROR", "SYSTEM_ERROR", "NEW_LINK_CANNOT_BATCH_SIGN", "PRODUCT_CANNOT_MIX_SIGN", "PRODUCT_OPEN_FAIL" ]
  67290. },
  67291. "links" : {
  67292. "type" : "string",
  67293. "description" : "解决方案链接"
  67294. },
  67295. "message" : {
  67296. "type" : "string",
  67297. "description" : "错误描述"
  67298. }
  67299. }
  67300. },
  67301. "AlipayOpenAgentConfirmModel" : {
  67302. "type" : "object",
  67303. "properties" : {
  67304. "batch_no" : {
  67305. "type" : "string",
  67306. "description" : "ISV 代商户操作事务编号,通过调用alipay.open.agent.create(开启代商户签约、创建应用事务)接口返回,详见 https://opendocs.alipay.com/apis/api_50/alipay.open.agent.create/ 。",
  67307. "example" : "2017110616474516400082883"
  67308. }
  67309. }
  67310. },
  67311. "AlipayOpenAgentConfirmResponseModel" : {
  67312. "type" : "object",
  67313. "properties" : {
  67314. "app_auth_token" : {
  67315. "type" : "string",
  67316. "description" : "应用授权令牌",
  67317. "example" : "201509BBeff9351ad1874306903e96b91d248A36"
  67318. },
  67319. "app_refresh_token" : {
  67320. "type" : "string",
  67321. "description" : "刷新令牌",
  67322. "example" : "201509BBdcba1e3347de4e75ba3fed2c9abebE36"
  67323. },
  67324. "auth_app_id" : {
  67325. "type" : "string",
  67326. "description" : "授权商户的appid",
  67327. "example" : "2013121100055554"
  67328. },
  67329. "expires_in" : {
  67330. "type" : "string",
  67331. "description" : "应用授权令牌的有效时间(从接口调用时间作为起始时间),单位到秒",
  67332. "example" : "123456"
  67333. },
  67334. "open_id" : {
  67335. "type" : "string",
  67336. "description" : "授权商户的user_id",
  67337. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  67338. },
  67339. "order_no" : {
  67340. "type" : "string",
  67341. "description" : "签约单号,如果是签约必返回",
  67342. "example" : "20211020034000100000027428505085"
  67343. },
  67344. "re_expires_in" : {
  67345. "type" : "string",
  67346. "description" : "刷新令牌的有效时间(从接口调用时间作为起始时间),单位到秒",
  67347. "example" : "123456"
  67348. },
  67349. "user_id" : {
  67350. "type" : "string",
  67351. "description" : "授权商户的user_id",
  67352. "example" : "2088102150527498"
  67353. }
  67354. }
  67355. },
  67356. "AlipayOpenAgentCreateErrorResponseModel" : {
  67357. "required" : [ "code", "message" ],
  67358. "type" : "object",
  67359. "properties" : {
  67360. "code" : {
  67361. "type" : "string",
  67362. "description" : "错误码",
  67363. "enum" : [ "INVALID_PARAMETER", "APP_INFO_NOT_EXIST", "NOT_ISV_APP_TYPE", "MERCHANT_IS_NOT_EXIST", "MERCHANT_NOT_ACTIVED", "MERCHANT_CAN_NOT_LOGON", "MERCHANT_NOT_ENABLED", "MERCHANT_NOT_CERTIFIED", "INVALID_CONTACT_NAME", "INVALID_CONTACT_MOBILE", "INVALID_CONTACT_EMAIL", "SYSTEM_ERROR", "PRE_AUTH_TICKET_NOT_EXIST", "PRE_AUTH_INVALID_AUTH_TICKET", "PRE_AUTH_INVALID_AUTH_TOKEN", "PRE_AUTH_INVOKE_API_NOT_PERMITTE", "PRE_AUTH_INVALID_AUTH_APP_ID", "PRE_AUTH_INVALID_AUTH_USER_ID", "UNKNOWN_EXCEPTION" ]
  67364. },
  67365. "links" : {
  67366. "type" : "string",
  67367. "description" : "解决方案链接"
  67368. },
  67369. "message" : {
  67370. "type" : "string",
  67371. "description" : "错误描述"
  67372. }
  67373. }
  67374. },
  67375. "AlipayOpenAgentCreateModel" : {
  67376. "type" : "object",
  67377. "properties" : {
  67378. "account" : {
  67379. "type" : "string",
  67380. "description" : "isv代操作的商户账号,可以是支付宝账号,也可以是pid(2088开头)",
  67381. "example" : "test@alipay.com"
  67382. },
  67383. "contact_info" : {
  67384. "$ref" : "#/components/schemas/ContactModel"
  67385. },
  67386. "order_ticket" : {
  67387. "type" : "string",
  67388. "description" : "订单授权凭证。若传入本参数,则对应事务提交后进入预授权模式。",
  67389. "example" : "00ee2d475f374ad097ee0f1ac223fX00"
  67390. }
  67391. }
  67392. },
  67393. "AlipayOpenAgentCreateResponseModel" : {
  67394. "type" : "object",
  67395. "properties" : {
  67396. "batch_no" : {
  67397. "type" : "string",
  67398. "description" : "本次代商户操作的全局唯一事务编号,后续代商户创建小程序、代签约当面付等产品、提交事务等接口都需要传递该batch_no值,且要确认只有 init 状态的batch_no才能发起调用。",
  67399. "example" : "2017110616474516400082883"
  67400. },
  67401. "batch_status" : {
  67402. "type" : "string",
  67403. "description" : "ISV 代商户操作事务状态,事务状态包括:\r\tinit=初始状态,本接口alipay.open.agent.create返回 init 状态,只有init状态允许进行各种业务接口调用;\r\tsubmit=提交状态,事务已经到达终态,调用alipay.open.agent.confirm接口可以提交init状态的事务\r\tcancel=取消状态,事务已经到达终态,调用alipay.open.agent.cancel接口可以取消init状态的事务\r\ttimeout=超时状态,事务已经到达终态,init状态的事务,在【1个小时】后会自动超时\r\t注意:只有 init 状态才允许进行接口调用,其它状态都是终态,不允许继续进行接口调用。",
  67404. "example" : "init"
  67405. }
  67406. }
  67407. },
  67408. "AlipayOpenAgentFacetofaceSignErrorResponseModel" : {
  67409. "required" : [ "code", "message" ],
  67410. "type" : "object",
  67411. "properties" : {
  67412. "code" : {
  67413. "type" : "string",
  67414. "description" : "错误码",
  67415. "enum" : [ "INVALID_PARAMETER", "INVALID_BATCH_NO", "BATCH_IS_NOT_EXIST", "BATCH_STATUS_IS_FINAL", "SYSTEM_ERROR", "ISV_APP_ORDER_PACKAGE_EMPTY", "ISV_APP_NO_ORDER_PACKAGE", "MERCHANT_SIGN_PRODUCT_IN_AUDIT", "MERCHANT_SIGN_PRODUCT_IN_FORBIDD", "NO_APP_PERMISSION", "FILE_SIZE_OUT_LIMIT", "FILE_SIZE_MIN_LIMIT", "FILE_FORMAT_IS_INVALID", "PRE_AUTH_INVALID_AUTH_TICKET", "PRE_AUTH_INVALID_AUTH_TOKEN", "PRE_AUTH_INVOKE_API_NOT_PERMITTE", "PRE_AUTH_INVALID_PACKAGE", "PRE_AUTH_INVALID_AUTH_APP_ID", "MERCHANT_NEED_FACE_CERTIFY", "MERCHANT_STATE_NOT_SATISFY", "UN_SUPPORT_ACCOUNT_CERTIFY_LEVEL", "UN_SUPPORT_ACCOUNT_TYPE", "ANT_PRODUCT_CONFLICT", "USER_CARD_BALANCE_PAY_CLOSED", "CHECK_AGDS_SELLER_ACCESS_FAILED", "ANT_PRODUCT_DEPENDENCY_REQUIRED", "FACE_TO_FACE_RATE_PARAM_ERROR", "RISK_ADVICE_ERROR", "USER_ACCOUNT_IS_BLOCK", "NOT_MATCHED_SSU_OR_PS", "BUSINESS_LICENSE_PIC_RISK", "SHOP_SIGN_BOARD_PIC_RISK", "UNKNOWN_EXCEPTION", "BIZ_ERROR", "ISV_IDENTITY_NOT_SATISFY" ]
  67416. },
  67417. "links" : {
  67418. "type" : "string",
  67419. "description" : "解决方案链接"
  67420. },
  67421. "message" : {
  67422. "type" : "string",
  67423. "description" : "错误描述"
  67424. }
  67425. }
  67426. },
  67427. "AlipayOpenAgentFacetofaceSignModel" : {
  67428. "type" : "object",
  67429. "properties" : {
  67430. "batch_no" : {
  67431. "type" : "string",
  67432. "description" : "代商户操作事务编号,通过https://opendocs.alipay.com/apis/api_50/alipay.open.agent.create (开启代商户签约、创建应用事务)接口进行事务创建后获取。",
  67433. "example" : "2017110616474516400082883"
  67434. },
  67435. "business_license_mobile" : {
  67436. "type" : "string",
  67437. "description" : "被邀请授权的营业执照法人手机号码,上传非同人营业执照时必填",
  67438. "example" : "13189652239"
  67439. },
  67440. "business_license_no" : {
  67441. "type" : "string",
  67442. "description" : "营业执照号码",
  67443. "example" : "1532501100006302"
  67444. },
  67445. "date_limitation" : {
  67446. "type" : "string",
  67447. "description" : "营业期限",
  67448. "example" : "2017-11-11"
  67449. },
  67450. "long_term" : {
  67451. "type" : "boolean",
  67452. "description" : "营业期限是否长期有效",
  67453. "example" : "true"
  67454. },
  67455. "mcc_code" : {
  67456. "type" : "string",
  67457. "description" : "商家经营类目编码。参见 <a href=\"https://opendocs.alipay.com/open/01n22g#%E5%95%86%E5%AE%B6%E7%BB%8F%E8%90%A5%E7%B1%BB%E7%9B%AE\">商家经营类目2.0</a> 中的“一级类目code_二级类目code”。",
  67458. "example" : "A0001_B0199"
  67459. },
  67460. "rate" : {
  67461. "type" : "string",
  67462. "description" : "服务费率(%),0.38~0.6 之间(小数点后两位,可取0.38%及0.6%)。\t当签约且授权标识 sign_and_auth=true 时,该费率信息必填。",
  67463. "example" : "0.38"
  67464. },
  67465. "shop_address" : {
  67466. "$ref" : "#/components/schemas/SignAddressInfo"
  67467. },
  67468. "shop_name" : {
  67469. "type" : "string",
  67470. "description" : "店铺名称",
  67471. "example" : "-"
  67472. },
  67473. "sign_and_auth" : {
  67474. "type" : "boolean",
  67475. "description" : "签约且授权标识,默认为false,只进行签约操作; 如果设置为true,则表示签约成功后,会自动进行应用授权操作。",
  67476. "example" : "false"
  67477. }
  67478. }
  67479. },
  67480. "AlipayOpenAgentFacetofaceSignResponseModel" : {
  67481. "type" : "object"
  67482. },
  67483. "AlipayOpenAgentMiniCreateErrorResponseModel" : {
  67484. "required" : [ "code", "message" ],
  67485. "type" : "object",
  67486. "properties" : {
  67487. "code" : {
  67488. "type" : "string",
  67489. "description" : "错误码",
  67490. "enum" : [ "INVALID_PARAMETER", "INVALID_BATCH_NO", "NO_APP_PERMISSION", "BATCH_STATUS_IS_FINAL", "APP_INFO_NOT_EXIST", "ISV_APP_NO_TINYAPP_SCENE", "BATCH_IS_NOT_EXIST", "MERCHANT_NOT_ENTERPRISE", "APP_NAME_IS_BLANK", "INVALID_MINI_APP_NAME", "INVALID_MINI_APP_NAME_LENGTH", "MINI_APP_NAME_DUPLICATE", "MINI_APP_NAME_SENSITIVE", "ENGLISH_NAME_IS_BLANK", "INVALID_MINI_APP_EN_NAME", "INVALID_MINI_APP_EN_NAME_LENGTH", "MINI_APP_EN_NAME_DUPLICATE", "MINI_APP_EN_NAME_SENSITIVE", "LOGO_IS_BLANK", "SLOGAN_IS_BLANK", "INVALID_MINI_APP_SLOGAN_LENGTH", "INVALID_MINI_APP_SLOGAN", "MINI_APP_SLOGAN_SENSITIVE", "SERVICE_TEL_AND_MAIL_BOTH_BLANK", "INVALID_MINI_APP_SERVICE_TEL", "INVALID_MINI_APP_SERVICE_MAIL", "MINI_APP_SERVICE_MAIL_SENSITIVE", "CATEGORY_IS_BLANK", "CATEGOTY_NUM_IS_INVALID", "INVALID_CATEGORY", "APP_DESC_IS_BLANK", "INVALID_MINI_APP_DESC_LENGTH", "INVALID_MINI_APP_DESC", "PID_IS_BLANK", "CREATE_MINI_APP_EXCEED_MAX_COUNT", "CREATE_MINI_APP_PID_PUNISH", "FILE_FORMAT_IS_INVALID", "FILE_SIZE_OUT_LIMIT", "PRE_AUTH_INVALID_AUTH_TICKET", "PRE_AUTH_INVALID_AUTH_TOKEN", "PRE_AUTH_INVOKE_API_NOT_PERMITTE", "PRE_AUTH_INVALID_CREATE_APPLICAT", "PRE_AUTH_INVALID_AUTH_APP_ID", "PRE_AUTH_TICKET_CREATE_APP_ONCE", "BLACK_LIST_CHECK_FAIL", "RISK_DECISION_CHECK_FAIL", "RISK_DECISION_HIT_BRAND", "INVALID_CONTACT_MOBILE", "INVALID_CONTACT_NAME", "INVALID_CONTACT_EMAIL", "MERCHANT_IS_NOT_EXIST", "MERCHANT_NOT_ACTIVED", "MERCHANT_CAN_NOT_LOGON", "MERCHANT_NOT_ENABLED", "MERCHANT_NOT_CERTIFIED" ]
  67491. },
  67492. "links" : {
  67493. "type" : "string",
  67494. "description" : "解决方案链接"
  67495. },
  67496. "message" : {
  67497. "type" : "string",
  67498. "description" : "错误描述"
  67499. }
  67500. }
  67501. },
  67502. "AlipayOpenAgentMiniCreateModel" : {
  67503. "type" : "object",
  67504. "properties" : {
  67505. "app_category_ids" : {
  67506. "type" : "string",
  67507. "description" : "小程序类目,必填,可以支持最多三个类目,最少一个,参数格式:一级类目1_二级类目1;一级类目2_二级类目2。\t类目可以通过以下接口查询:alipay.open.mini.category.query",
  67508. "example" : "107397_107223"
  67509. },
  67510. "app_desc" : {
  67511. "type" : "string",
  67512. "description" : "商家小程序描述信息,简要描述小程序主要功能(20-200个字),例:xx小程序提供了xx功能,主要解决了XX问题。",
  67513. "example" : "测试小程序描述信息"
  67514. },
  67515. "app_english_name" : {
  67516. "type" : "string",
  67517. "description" : "小程序英文名称,长度3~20个字符",
  67518. "example" : "testapp"
  67519. },
  67520. "app_name" : {
  67521. "type" : "string",
  67522. "description" : "代商家创建的小程序应用名称。名称可以由中文、数字、英文及下划线组成,长度在3-20个字符之间,一个中文字等于2个字符,更多名称规则见:https://docs.alipay.com/mini/operation/name",
  67523. "example" : "示例小程序"
  67524. },
  67525. "app_slogan" : {
  67526. "type" : "string",
  67527. "description" : "代商家创建的小程序的简介,请用一句话简要描述小程序提供的服务;应用上架后一个自然月可修改5次(10~32个字符)",
  67528. "example" : "测试小程序,专业的小程序"
  67529. },
  67530. "batch_no" : {
  67531. "type" : "string",
  67532. "description" : "ISV 代商家操作事务编号,通过事务开启接口alipay.open.agent.create调用返回。",
  67533. "example" : "2017110616474516400082883"
  67534. },
  67535. "mini_category_ids" : {
  67536. "type" : "string",
  67537. "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query接口查询mini_category_list。使用后不再读取app_category_ids值,老前台类目将废弃\t",
  67538. "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
  67539. },
  67540. "service_email" : {
  67541. "type" : "string",
  67542. "description" : "商家小程序客服邮箱\r\t商家小程序客服电话和邮箱,可以二选一填写,但不能同时为空",
  67543. "example" : "test@alipay.com"
  67544. },
  67545. "service_phone" : {
  67546. "type" : "string",
  67547. "description" : "商家小程序的客服电话,推荐填写\r\t商家小程序客服电话和邮箱,可以二选一填写,但不能同时为空",
  67548. "example" : "057112345678"
  67549. }
  67550. }
  67551. },
  67552. "AlipayOpenAgentMiniCreateResponseModel" : {
  67553. "type" : "object"
  67554. },
  67555. "AlipayOpenAgentMobilepaySignErrorResponseModel" : {
  67556. "required" : [ "code", "message" ],
  67557. "type" : "object",
  67558. "properties" : {
  67559. "code" : {
  67560. "type" : "string",
  67561. "description" : "错误码",
  67562. "enum" : [ "INVALID_PARAMETER", "INVALID_BATCH_NO", "BATCH_STATUS_IS_FINAL", "BATCH_IS_NOT_EXIST", "SYSTEM_ERROR", "ISV_APP_ORDER_PACKAGE_EMPTY", "ISV_APP_NO_ORDER_PACKAGE", "MERCHANT_SIGN_PRODUCT_IN_AUDIT", "MERCHANT_SIGN_PRODUCT_IN_FORBIDD", "NO_APP_PERMISSION", "FILE_SIZE_OUT_LIMIT", "FILE_SIZE_MIN_LIMIT", "FILE_FORMAT_IS_INVALID", "PRE_AUTH_INVALID_AUTH_TICKET", "PRE_AUTH_INVALID_AUTH_TOKEN", "PRE_AUTH_INVOKE_API_NOT_PERMITTE", "PRE_AUTH_INVALID_PACKAGE", "PRE_AUTH_INVALID_AUTH_APP_ID", "MERCHANT_NEED_FACE_CERTIFY", "MERCHANT_STATE_NOT_SATISFY", "UN_SUPPORT_ACCOUNT_CERTIFY_LEVEL", "UN_SUPPORT_ACCOUNT_TYPE", "ANT_PRODUCT_CONFLICT", "USER_CARD_BALANCE_PAY_CLOSED", "CHECK_AGDS_SELLER_ACCESS_FAILED", "ANT_PRODUCT_DEPENDENCY_REQUIRED", "ISV_IDENTITY_NOT_SATISFY" ]
  67563. },
  67564. "links" : {
  67565. "type" : "string",
  67566. "description" : "解决方案链接"
  67567. },
  67568. "message" : {
  67569. "type" : "string",
  67570. "description" : "错误描述"
  67571. }
  67572. }
  67573. },
  67574. "AlipayOpenAgentMobilepaySignModel" : {
  67575. "type" : "object",
  67576. "properties" : {
  67577. "app_market" : {
  67578. "type" : "array",
  67579. "description" : "应用在哪些市场上架,枚举值为:苹果,应用宝,豌豆荚,其他",
  67580. "items" : {
  67581. "type" : "string"
  67582. },
  67583. "example" : "应用宝"
  67584. },
  67585. "app_name" : {
  67586. "type" : "string",
  67587. "description" : "商户的APP应用名称",
  67588. "example" : "应用名称"
  67589. },
  67590. "app_status" : {
  67591. "type" : "string",
  67592. "description" : "应用上架状态,枚举值为 已上架,未上架",
  67593. "example" : "已上架"
  67594. },
  67595. "app_test_account" : {
  67596. "type" : "string",
  67597. "description" : "可以登录该应用的测试账户",
  67598. "example" : "testAccount"
  67599. },
  67600. "app_test_account_password" : {
  67601. "type" : "string",
  67602. "description" : "可以登录此应用的账户的密码。对应app_test_account的登录密码",
  67603. "example" : "testPassword"
  67604. },
  67605. "app_type" : {
  67606. "type" : "array",
  67607. "description" : "应用类型,枚举值为:IOS,安卓",
  67608. "items" : {
  67609. "type" : "string"
  67610. },
  67611. "example" : "安卓"
  67612. },
  67613. "batch_no" : {
  67614. "type" : "string",
  67615. "description" : "代商户操作事务编号,通过alipay.open.isv.agent.create接口进行创建。",
  67616. "example" : "2017110616474516400082883"
  67617. },
  67618. "business_license_mobile" : {
  67619. "type" : "string",
  67620. "description" : "营业执照法人手机号码",
  67621. "example" : "13189652239"
  67622. },
  67623. "business_license_no" : {
  67624. "type" : "string",
  67625. "description" : "营业执照号码。",
  67626. "example" : "1532501100006302"
  67627. },
  67628. "date_limitation" : {
  67629. "type" : "string",
  67630. "description" : "营业期限",
  67631. "example" : "2017-11-11"
  67632. },
  67633. "download_link" : {
  67634. "type" : "string",
  67635. "description" : "应用下载链接",
  67636. "example" : "http://demo.com/demo.apk"
  67637. },
  67638. "long_term" : {
  67639. "type" : "boolean",
  67640. "description" : "营业期限是否长期有效",
  67641. "example" : "true"
  67642. },
  67643. "mcc_code" : {
  67644. "type" : "string",
  67645. "description" : "所属MCCCode,详情可参考\t<a href=\"https://opendocs.alipay.com/open/01n22g#%E5%95%86%E5%AE%B6%E7%BB%8F%E8%90%A5%E7%B1%BB%E7%9B%AE\">商家经营类目</a> 中的“经营类目编码”",
  67646. "example" : "A_A03_4582"
  67647. }
  67648. }
  67649. },
  67650. "AlipayOpenAgentMobilepaySignResponseModel" : {
  67651. "type" : "object"
  67652. },
  67653. "AlipayOpenAgentOfflinepaymentSignErrorResponseModel" : {
  67654. "required" : [ "code", "message" ],
  67655. "type" : "object",
  67656. "properties" : {
  67657. "code" : {
  67658. "type" : "string",
  67659. "description" : "错误码",
  67660. "enum" : [ "INVALID_PARAMETER", "INVALID_BATCH_NO", "BATCH_IS_NOT_EXIST", "BATCH_STATUS_IS_FINAL", "SYSTEM_ERROR", "ISV_APP_ORDER_PACKAGE_EMPTY", "ISV_APP_NO_ORDER_PACKAGE", "MERCHANT_SIGN_PRODUCT_IN_AUDIT", "MERCHANT_SIGN_PRODUCT_IN_FORBIDD", "NO_APP_PERMISSION", "FILE_SIZE_OUT_LIMIT", "FILE_SIZE_MIN_LIMIT", "FILE_FORMAT_IS_INVALID", "PRE_AUTH_INVALID_AUTH_TICKET", "PRE_AUTH_INVALID_AUTH_TOKEN", "PRE_AUTH_INVOKE_API_NOT_PERMITTE", "PRE_AUTH_INVALID_PACKAGE", "PRE_AUTH_INVALID_AUTH_APP_ID", "MERCHANT_NEED_FACE_CERTIFY", "MERCHANT_STATE_NOT_SATISFY", "UN_SUPPORT_ACCOUNT_CERTIFY_LEVEL", "UN_SUPPORT_ACCOUNT_TYPE", "ANT_PRODUCT_CONFLICT", "USER_CARD_BALANCE_PAY_CLOSED", "CHECK_AGDS_SELLER_ACCESS_FAILED", "ANT_PRODUCT_DEPENDENCY_REQUIRED", "ISV_NO_PERMISSION", "AGENT_SIGN_IN_AUDIT_BY_SAME_ISV", "AGENT_SIGN_IN_AUDIT_BY_DIFF_ISV", "AGENT_SIGN_CONFIRM_BY_SAME_ISV", "AGENT_SIGN_CONFIRM_BY_DIFF_ISV", "AGENT_SIGN_VALID_BY_SAME_ISV", "SHOP_SIGN_BOARD_PIC_RISK", "BUSINESS_LICENSE_PIC_RISK", "AGENT_SIGN_PRODUCT_IN_FORBIDDEN", "BIZ_ERROR", "ISV_IDENTITY_NOT_SATISFY" ]
  67661. },
  67662. "links" : {
  67663. "type" : "string",
  67664. "description" : "解决方案链接"
  67665. },
  67666. "message" : {
  67667. "type" : "string",
  67668. "description" : "错误描述"
  67669. }
  67670. }
  67671. },
  67672. "AlipayOpenAgentOfflinepaymentSignModel" : {
  67673. "type" : "object",
  67674. "properties" : {
  67675. "batch_no" : {
  67676. "type" : "string",
  67677. "description" : "代商户操作事务编号,通过alipay.open.agent.create接口进行创建。",
  67678. "example" : "2017110616474516400082883"
  67679. },
  67680. "business_license_mobile" : {
  67681. "type" : "string",
  67682. "description" : "被邀请授权的营业执照法人手机号码,上传非同人营业执照时必填",
  67683. "example" : "13189652239"
  67684. },
  67685. "business_license_no" : {
  67686. "type" : "string",
  67687. "description" : "营业执照号码。若填写,请与以下营业执照图片、期限、一起提供。",
  67688. "example" : "1532501100006302"
  67689. },
  67690. "date_limitation" : {
  67691. "type" : "string",
  67692. "description" : "营业期限",
  67693. "example" : "2017-11-11"
  67694. },
  67695. "delivery_address" : {
  67696. "$ref" : "#/components/schemas/SignAddressInfo"
  67697. },
  67698. "long_term" : {
  67699. "type" : "boolean",
  67700. "description" : "营业期限是否长期有效",
  67701. "example" : "true"
  67702. },
  67703. "mcc_code" : {
  67704. "type" : "string",
  67705. "description" : "所属MCCCode,可参考\t<a href=\"https://opendocs.alipay.com/open/01n22g#%E5%95%86%E5%AE%B6%E7%BB%8F%E8%90%A5%E7%B1%BB%E7%9B%AE\">商家经营类目</a> 中的“经营类目编码”",
  67706. "example" : "A_A03_4582"
  67707. },
  67708. "rate" : {
  67709. "type" : "string",
  67710. "description" : "服务费率(%),0.38~3之间,精确到0.01",
  67711. "example" : "0.38"
  67712. },
  67713. "shop_address" : {
  67714. "$ref" : "#/components/schemas/SignAddressInfo"
  67715. },
  67716. "shop_name" : {
  67717. "type" : "string",
  67718. "description" : "店铺名称",
  67719. "example" : "-"
  67720. }
  67721. }
  67722. },
  67723. "AlipayOpenAgentOfflinepaymentSignResponseModel" : {
  67724. "type" : "object"
  67725. },
  67726. "AlipayOpenAgentOrderQueryErrorResponseModel" : {
  67727. "required" : [ "code", "message" ],
  67728. "type" : "object",
  67729. "properties" : {
  67730. "code" : {
  67731. "type" : "string",
  67732. "description" : "错误码",
  67733. "enum" : [ "INVALID_BATCH_NO", "BATCH_IS_NOT_EXIST", "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_APP_PERMISSION", "BATCH_STATUS_NOT_SUBMIT" ]
  67734. },
  67735. "links" : {
  67736. "type" : "string",
  67737. "description" : "解决方案链接"
  67738. },
  67739. "message" : {
  67740. "type" : "string",
  67741. "description" : "错误描述"
  67742. }
  67743. }
  67744. },
  67745. "AlipayOpenAgentOrderQueryResponseModel" : {
  67746. "type" : "object",
  67747. "properties" : {
  67748. "agent_app_id" : {
  67749. "type" : "string",
  67750. "description" : "代理创建的应用ID,如果有代理商户创建应用,商户确认成功后,才返回应用ID,否则不返回。",
  67751. "example" : "2017111108241348"
  67752. },
  67753. "confirm_url" : {
  67754. "type" : "string",
  67755. "description" : "只有申请单状态在MERCHANT_CONFIRM状态下,才会返回商户确认签约链接",
  67756. "example" : "https://openhome.alipay.com/isv/settling/confirm.htm?orderNo=20180627015000000000009202531926"
  67757. },
  67758. "merchant_pid" : {
  67759. "type" : "string",
  67760. "description" : "商户pid",
  67761. "example" : "390284792319804"
  67762. },
  67763. "order_no" : {
  67764. "type" : "string",
  67765. "description" : "签约单号",
  67766. "example" : "20211020034000100000027428505085"
  67767. },
  67768. "order_status" : {
  67769. "type" : "string",
  67770. "description" : "支付宝商户入驻申请单状态,申请单状态包括:\r\tMERCHANT_INFO_HOLD=暂存,提交事务出现业务校验异常时,会暂存申请单信息,可以调用业务接口修正参数,并重新提交\r\tMERCHANT_AUDITING=审核中,申请信息正在人工审核中\r\tMERCHANT_CONFIRM=待商户确认,申请信息审核通过,等待联系人确认签约或授权\r\tMERCHANT_CONFIRM_SUCCESS=商户确认成功,商户同意签约或授权\r\tMERCHANT_CONFIRM_TIME_OUT=商户超时未确认,如果商户受到确认信息15天内未确认,则需要重新提交申请信息\r\tMERCHANT_APPLY_ORDER_CANCELED=审核失败或商户拒绝,申请信息审核被驳回,或者商户选择拒绝签约或授权",
  67771. "example" : "MERCHANT_INFO_HOLD"
  67772. },
  67773. "product_agent_status_infos" : {
  67774. "type" : "array",
  67775. "description" : "申请单中每个产品的签约状态",
  67776. "items" : {
  67777. "$ref" : "#/components/schemas/ProductAgentStatusInfo"
  67778. }
  67779. },
  67780. "reject_reason" : {
  67781. "type" : "string",
  67782. "description" : "审核失败的拒绝原因,只有审核失败才会返回该值",
  67783. "example" : "图片涉黄"
  67784. },
  67785. "restrict_infos" : {
  67786. "type" : "array",
  67787. "description" : "受限信息",
  67788. "items" : {
  67789. "$ref" : "#/components/schemas/SignRestrictInfo"
  67790. }
  67791. }
  67792. }
  67793. },
  67794. "AlipayOpenAgentSignstatusQueryErrorResponseModel" : {
  67795. "required" : [ "code", "message" ],
  67796. "type" : "object",
  67797. "properties" : {
  67798. "code" : {
  67799. "type" : "string",
  67800. "description" : "错误码",
  67801. "enum" : [ "INVALID_PARAMETER", "QUERY_SIGN_STATUS_AUTH_NOT_MATCH", "QUERY_SIGN_STATUS_NOT_AUTH", "MERCHANT_IS_NOT_EXIST" ]
  67802. },
  67803. "links" : {
  67804. "type" : "string",
  67805. "description" : "解决方案链接"
  67806. },
  67807. "message" : {
  67808. "type" : "string",
  67809. "description" : "错误描述"
  67810. }
  67811. }
  67812. },
  67813. "AlipayOpenAgentSignstatusQueryModel" : {
  67814. "type" : "object",
  67815. "properties" : {
  67816. "pid" : {
  67817. "type" : "string",
  67818. "description" : "isv要查询签约状态的商户账号,可以是支付宝账号pid(2088开头),也可以是商户的登录账号(邮箱或手机号)",
  67819. "example" : "支付宝账号:2088123451234543或手机号:13811111111或邮箱:123@xxx.com"
  67820. },
  67821. "product_codes" : {
  67822. "type" : "array",
  67823. "description" : "isv要查询商户签约状态的产品码,产品码是支付宝内部对产品的唯一标识。目前支持查询产品及产品码详情参见 https://opendocs.alipay.com/isv/01cv77#%E8%83%BD%E5%8A%9B%E4%BA%A7%E5%93%81%E7%A0%81 。\t",
  67824. "items" : {
  67825. "type" : "string"
  67826. },
  67827. "example" : "I1011000100000000001"
  67828. }
  67829. }
  67830. },
  67831. "AlipayOpenAgentSignstatusQueryResponseModel" : {
  67832. "type" : "object",
  67833. "properties" : {
  67834. "sign_status_list" : {
  67835. "type" : "array",
  67836. "description" : "商户产品签约状态结果对象数组,返回本次查询的产品的签约状态",
  67837. "items" : {
  67838. "$ref" : "#/components/schemas/ProductSignStatusInfo"
  67839. }
  67840. }
  67841. }
  67842. },
  67843. "AlipayOpenAppApiFieldApplyErrorResponseModel" : {
  67844. "required" : [ "code", "message" ],
  67845. "type" : "object",
  67846. "properties" : {
  67847. "code" : {
  67848. "type" : "string",
  67849. "description" : "错误码",
  67850. "enum" : [ "BIZ_ERROR", "SYSTEM_ERROR", "APP_ID_IS_BLANK", "APP_INFO_NOT_EXIST", "AUTHFIELDAPPLY_IS_BLANK", "API_NAME_IS_BLANK", "FIELD_NAME_IS_BLANK", "PACKAGE_CODE_IS_BLANK", "SCENE_CODE_IS_BLANK", "QPS_ANSWER_IS_BLANK", "CUSTOMER_ANSWER_IS_BLANK", "FILE_ITEMS_IS_BLANK", "AUTH_FIELD_SCENE_IS_BLANK", "SCENE_CODE_ERROR", "USER_ID_NO_PERMISSION", "SHOW_PACKAGE_IS_BLANK", "PACKAGE_CODE_ERROR", "TINYAPP_HEALTH_CHECK_INVALID", "TINYAPP_SAFETY_CHECK_INVALID", "API_NAME_ERROR", "AUTH_API_FIELD_IS_BLANK", "AUTH_API_APPLY_IS_PASS", "FILE_FORMAT_IS_INVALID", "FILE_SIZE_MIN_LIMIT", "FILE_SIZE_OUT_LIMIT", "FILE_QUALITY_IS_INVALID", "AUTH_API_FIELD_IS_AUDITING", "ACCOUNT_TYPE_ERROR" ]
  67851. },
  67852. "links" : {
  67853. "type" : "string",
  67854. "description" : "解决方案链接"
  67855. },
  67856. "message" : {
  67857. "type" : "string",
  67858. "description" : "错误描述"
  67859. }
  67860. }
  67861. },
  67862. "AlipayOpenAppApiFieldApplyModel" : {
  67863. "type" : "object",
  67864. "properties" : {
  67865. "auth_field_apply" : {
  67866. "$ref" : "#/components/schemas/AuthFieldApply"
  67867. }
  67868. }
  67869. },
  67870. "AlipayOpenAppApiFieldApplyResponseModel" : {
  67871. "type" : "object"
  67872. },
  67873. "AlipayOpenAppApiFieldQueryErrorResponseModel" : {
  67874. "required" : [ "code", "message" ],
  67875. "type" : "object",
  67876. "properties" : {
  67877. "code" : {
  67878. "type" : "string",
  67879. "description" : "错误码",
  67880. "enum" : [ "INVALID_PARAM", "SYSTEM_ERROR" ]
  67881. },
  67882. "links" : {
  67883. "type" : "string",
  67884. "description" : "解决方案链接"
  67885. },
  67886. "message" : {
  67887. "type" : "string",
  67888. "description" : "错误描述"
  67889. }
  67890. }
  67891. },
  67892. "AlipayOpenAppApiFieldQueryResponseModel" : {
  67893. "type" : "object",
  67894. "properties" : {
  67895. "auth_field_response" : {
  67896. "$ref" : "#/components/schemas/AuthFieldResponse"
  67897. }
  67898. }
  67899. },
  67900. "AlipayOpenAppApiQueryErrorResponseModel" : {
  67901. "required" : [ "code", "message" ],
  67902. "type" : "object",
  67903. "properties" : {
  67904. "code" : {
  67905. "type" : "string",
  67906. "description" : "错误码",
  67907. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  67908. },
  67909. "links" : {
  67910. "type" : "string",
  67911. "description" : "解决方案链接"
  67912. },
  67913. "message" : {
  67914. "type" : "string",
  67915. "description" : "错误描述"
  67916. }
  67917. }
  67918. },
  67919. "AlipayOpenAppApiQueryResponseModel" : {
  67920. "type" : "object",
  67921. "properties" : {
  67922. "apis" : {
  67923. "type" : "array",
  67924. "description" : "应用可申请的接口出参敏感字段列表",
  67925. "items" : {
  67926. "$ref" : "#/components/schemas/AuthApiDTO"
  67927. }
  67928. }
  67929. }
  67930. },
  67931. "AlipayOpenAppApiSceneQueryErrorResponseModel" : {
  67932. "required" : [ "code", "message" ],
  67933. "type" : "object",
  67934. "properties" : {
  67935. "code" : {
  67936. "type" : "string",
  67937. "description" : "错误码",
  67938. "enum" : [ "INVALID_PARAM", "SYSTEM_ERROR" ]
  67939. },
  67940. "links" : {
  67941. "type" : "string",
  67942. "description" : "解决方案链接"
  67943. },
  67944. "message" : {
  67945. "type" : "string",
  67946. "description" : "错误描述"
  67947. }
  67948. }
  67949. },
  67950. "AlipayOpenAppApiSceneQueryResponseModel" : {
  67951. "type" : "object",
  67952. "properties" : {
  67953. "auth_field_scene" : {
  67954. "type" : "array",
  67955. "description" : "接口信息字段应用场景",
  67956. "items" : {
  67957. "$ref" : "#/components/schemas/AuthFieldSceneDTO"
  67958. }
  67959. }
  67960. }
  67961. },
  67962. "AlipayOpenAppMembersCreateErrorResponseModel" : {
  67963. "required" : [ "code", "message" ],
  67964. "type" : "object",
  67965. "properties" : {
  67966. "code" : {
  67967. "type" : "string",
  67968. "description" : "错误码",
  67969. "enum" : [ "INVALID_LOGON_ID", "INVALID_ROLE", "USER_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "CANNOT_INVITE_MANAGER", "EXPERIENCER_ALREADY_REFUSED", "EXPERIENCER_ALREADY_EXIST", "DEVELOPER_ALREADY_REFUSED", "DEVELOPER_ALREADY_EXSIT", "DEV_MANAGER_ALREADY_EXIST", "ROLE_OVER_LIMIT", "SYSTEM_ERROR" ]
  67970. },
  67971. "links" : {
  67972. "type" : "string",
  67973. "description" : "解决方案链接"
  67974. },
  67975. "message" : {
  67976. "type" : "string",
  67977. "description" : "错误描述"
  67978. }
  67979. }
  67980. },
  67981. "AlipayOpenAppMembersCreateModel" : {
  67982. "type" : "object",
  67983. "properties" : {
  67984. "logon_id" : {
  67985. "type" : "string",
  67986. "description" : "支付宝登录账号。",
  67987. "example" : "test@alipay.com"
  67988. },
  67989. "role" : {
  67990. "type" : "string",
  67991. "description" : "为成员添加的角色类型,支持:\tDEVELOPER-开发者;\tEXPERIENCER-体验者。",
  67992. "example" : "DEVELOPER"
  67993. }
  67994. }
  67995. },
  67996. "AlipayOpenAppMembersCreateResponseModel" : {
  67997. "type" : "object"
  67998. },
  67999. "AlipayOpenAppMembersDeleteErrorResponseModel" : {
  68000. "required" : [ "code", "message" ],
  68001. "type" : "object",
  68002. "properties" : {
  68003. "code" : {
  68004. "type" : "string",
  68005. "description" : "错误码",
  68006. "enum" : [ "USER_ID_IS_BLANK", "INVALID_ROLE", "APPLICATION_TYPE_NOT_MINIAPP", "ROLE_NOT_EXSIT", "SYSTEM_ERROR" ]
  68007. },
  68008. "links" : {
  68009. "type" : "string",
  68010. "description" : "解决方案链接"
  68011. },
  68012. "message" : {
  68013. "type" : "string",
  68014. "description" : "错误描述"
  68015. }
  68016. }
  68017. },
  68018. "AlipayOpenAppMembersDeleteResponseModel" : {
  68019. "type" : "object"
  68020. },
  68021. "AlipayOpenAppMembersQueryErrorResponseModel" : {
  68022. "required" : [ "code", "message" ],
  68023. "type" : "object",
  68024. "properties" : {
  68025. "code" : {
  68026. "type" : "string",
  68027. "description" : "错误码",
  68028. "enum" : [ "SYSTEM_ERROR", "INVALID_ROLE", "APPLICATION_TYPE_NOT_MINIAPP" ]
  68029. },
  68030. "links" : {
  68031. "type" : "string",
  68032. "description" : "解决方案链接"
  68033. },
  68034. "message" : {
  68035. "type" : "string",
  68036. "description" : "错误描述"
  68037. }
  68038. }
  68039. },
  68040. "AlipayOpenAppMembersQueryResponseModel" : {
  68041. "type" : "object",
  68042. "properties" : {
  68043. "app_member_info_list" : {
  68044. "type" : "array",
  68045. "description" : "小程序成员模型",
  68046. "items" : {
  68047. "$ref" : "#/components/schemas/AppMemberInfo"
  68048. }
  68049. }
  68050. }
  68051. },
  68052. "AlipayOpenAppMessagetemplateSubscribeQueryErrorResponseModel" : {
  68053. "required" : [ "code", "message" ],
  68054. "type" : "object",
  68055. "properties" : {
  68056. "code" : {
  68057. "type" : "string",
  68058. "description" : "错误码",
  68059. "enum" : [ "MSG_TEMPLATE_INVALID", "OPENID_INVALID", "ILLEGAL_ARGUMENT_PARAMS", "SYSTEM_ERROR", "SUBSCRIBE_TEMPLATE_OVER_LIMIT", "MSG_TEMPLATE_NOT_EXIST" ]
  68060. },
  68061. "links" : {
  68062. "type" : "string",
  68063. "description" : "解决方案链接"
  68064. },
  68065. "message" : {
  68066. "type" : "string",
  68067. "description" : "错误描述"
  68068. }
  68069. }
  68070. },
  68071. "AlipayOpenAppMessagetemplateSubscribeQueryModel" : {
  68072. "type" : "object",
  68073. "properties" : {
  68074. "open_id" : {
  68075. "type" : "string",
  68076. "description" : "支付宝openId,用于支付宝用户在当前应用下的用户标识。",
  68077. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  68078. },
  68079. "template_id_list" : {
  68080. "type" : "array",
  68081. "description" : "消息模板id,可以填写多个,最多不超过3个。模板id需要保持同一个应用主体,并且展示在同一个订阅组件中的模板id。\t模板id获取详情参见<a href=\"https://opendocs.alipay.com/mini/01rnqx\">模板消息</a>。",
  68082. "items" : {
  68083. "type" : "string"
  68084. },
  68085. "example" : "[\"6511999536b14ba5830e3a0289ea69a\",\"0b1fcca882aa435382ae98641e14d37\",\"a3b396be6fd345579221af5dea35028\"]"
  68086. },
  68087. "user_id" : {
  68088. "type" : "string",
  68089. "description" : "订阅消息模板用户的支付宝唯一标识,2088开头。",
  68090. "example" : "2088202882050410"
  68091. }
  68092. }
  68093. },
  68094. "AlipayOpenAppMessagetemplateSubscribeQueryResponseModel" : {
  68095. "type" : "object",
  68096. "properties" : {
  68097. "show_component" : {
  68098. "type" : "boolean",
  68099. "description" : "是否显示订阅组件。枚举值:\ttrue:显示订阅组件。\tfalse:不显示订阅组件",
  68100. "example" : "true"
  68101. },
  68102. "subscribe_relations" : {
  68103. "type" : "array",
  68104. "description" : "用户对消息模板的订阅关系列表,为入参中的用户id对消息模板id的订阅关系。\t限制:用户未订阅消息,该参数不返回。",
  68105. "items" : {
  68106. "$ref" : "#/components/schemas/SubscribeRelation"
  68107. }
  68108. }
  68109. }
  68110. },
  68111. "AlipayOpenAppMiniTemplatemessageSendErrorResponseModel" : {
  68112. "required" : [ "code", "message" ],
  68113. "type" : "object",
  68114. "properties" : {
  68115. "code" : {
  68116. "type" : "string",
  68117. "description" : "错误码",
  68118. "enum" : [ "FORM_ID_SEND_LIMIT", "TEMPLATE_ILLEGAL", "MESSAGE_TEMPLATE_KEYWORD_ILLEGAL", "USER_TEMPLATE_ILLEGAL", "USER_TEMPLATE_LACK_KEYWORD", "FORM_ID_INVALID", "FORM_ID_NOT_MATCH_APPID", "FORM_ID_OVER_TIME", "USER_KEYWORD_LENGTH_ERROR", "PAGE_OVER_LIMIT", "TRADE_NO_NOT_MATCH_USERID", "QUERY_CONSUMER_REQEUST_ERROR", "BIZ_CONTENT_FORMAT_ERROR", "DATA_CONTENT_FORMAT_ERROR", "DATA_SENSITIVE", "USER_ID_INVALID", "NO_BIND_PUBLIC_APP", "MESSAGE_SEND_AUTH_ERROR", "USER_TEMPLATE_STATUS_ILLEGAL", "APP_TYPE_ERROR", "MSG_SEND_ERROR", "ILLEGAL_ARGUMENT_PARAMS", "NO_RECENT_VISIT_RECORD", "MSG_SINGLE_SD_OVER", "NO_PLACE_ORDER_RECORD", "MSG_UNSUBSCRIBED", "MSG_CONTENT_NOT_INTERESTED", "MSG_REJECTED", "MSG_TEMPLATE_ID_VALID", "DATA_IS_EMPTY", "MSG_UNAUTHORIZED" ]
  68119. },
  68120. "links" : {
  68121. "type" : "string",
  68122. "description" : "解决方案链接"
  68123. },
  68124. "message" : {
  68125. "type" : "string",
  68126. "description" : "错误描述"
  68127. }
  68128. }
  68129. },
  68130. "AlipayOpenAppMiniTemplatemessageSendModel" : {
  68131. "type" : "object",
  68132. "properties" : {
  68133. "data" : {
  68134. "type" : "string",
  68135. "description" : "模板消息内容。商家/开发者将模板占位符替换为自定义内容。\t\t注意:\t* 选用模板时配置的关键字顺序与keyword_ X相互对应,填写时需注意。\t\t* 自定义消息内容仅需替换 value 后内容即可,其余内容请勿修改。如 {\"keyword1\": {\"value\" : \"2021年01月\"}。表示第一个关键字数据为\"2021年01月\" 。\t\t* value 最长为 50 个字符。",
  68136. "example" : "{\"keyword1\": {\"value\" : \"12:00\"},\"keyword2\": {\"value\" : \"20180808\"},\"keyword3\": {\"value\" : \"支付宝\"}}"
  68137. },
  68138. "form_id" : {
  68139. "type" : "string",
  68140. "description" : "*支付消息模板:需传入用户发生的交易行为的支付宝交易号 trade_no;\t*表单提交模板:需传入用户在小程序触发表单提交事件获得的表单号;\t*刷脸消息模板:需传入在IOT刷脸后得到的ftoken等,用于信息发送的校验。\t说明:订阅消息模板无需传入本参数。",
  68141. "example" : "2017010100000000580012345678"
  68142. },
  68143. "page" : {
  68144. "type" : "string",
  68145. "description" : "小程序的跳转页面。用于用户点击模板消息 进入小程序查看 按钮后,跳转至商家小程序对应页面。",
  68146. "example" : "page/component/index"
  68147. },
  68148. "to_open_id" : {
  68149. "type" : "string",
  68150. "description" : "支付宝openId,用于支付宝用户在当前应用下的用户标识。",
  68151. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  68152. },
  68153. "to_user_id" : {
  68154. "type" : "string",
  68155. "description" : "接收模板消息的用户 user_id,一般为2088开头的16为数字。\t注意:需为实际支付/提交表单/刷脸/订阅消息的用户。",
  68156. "example" : "2088102122458832"
  68157. },
  68158. "user_template_id" : {
  68159. "type" : "string",
  68160. "description" : "商家在商家自运营中心选用的消息模板ID,详情参见 <a href=\"https://opendocs.alipay.com/mini/01rnqx#%E8%AE%A2%E9%98%85%E6%B6%88%E6%81%AF\">选用消息模板</a> 。",
  68161. "example" : "MDI4YzIxMDE2M2I5YTQzYjUxNWE4MjA4NmU1MTIyYmM="
  68162. }
  68163. }
  68164. },
  68165. "AlipayOpenAppMiniTemplatemessageSendResponseModel" : {
  68166. "type" : "object"
  68167. },
  68168. "AlipayOpenAppQrcodeCreateErrorResponseModel" : {
  68169. "required" : [ "code", "message" ],
  68170. "type" : "object",
  68171. "properties" : {
  68172. "code" : {
  68173. "type" : "string",
  68174. "description" : "错误码",
  68175. "enum" : [ "INVALID_PARAMETER", "APPQRCODE_NOT_TINYAPP", "SYSTEM_ERROR", "APP_QUERY_ERROR" ]
  68176. },
  68177. "links" : {
  68178. "type" : "string",
  68179. "description" : "解决方案链接"
  68180. },
  68181. "message" : {
  68182. "type" : "string",
  68183. "description" : "错误描述"
  68184. }
  68185. }
  68186. },
  68187. "AlipayOpenAppQrcodeCreateModel" : {
  68188. "type" : "object",
  68189. "properties" : {
  68190. "color" : {
  68191. "type" : "string",
  68192. "description" : "圆形二维码颜色(十六进制颜色色值),仅圆形二维码支持颜色设置,方形二维码默认为黑色。",
  68193. "example" : "0x00BFFF"
  68194. },
  68195. "describe" : {
  68196. "type" : "string",
  68197. "description" : "对应的二维码描述",
  68198. "example" : "二维码描述"
  68199. },
  68200. "query_param" : {
  68201. "type" : "string",
  68202. "description" : "小程序的启动参数,打开小程序的query ,在小程序 onLaunch的方法中获取。可查看 <a href= \"https://opendocs.alipay.com/support/01rb2a\">如何获取各种场景的启动参数</a>。",
  68203. "example" : "x=1"
  68204. },
  68205. "size" : {
  68206. "type" : "string",
  68207. "description" : "合成后图片的大小\t(s -- 8cm, m -- 12cm, l -- 30cm)",
  68208. "example" : "s"
  68209. },
  68210. "url_param" : {
  68211. "type" : "string",
  68212. "description" : "page/component/component-pages/view/view为小程序中能访问到的页面路径",
  68213. "example" : "page/component/component-pages/view/view"
  68214. }
  68215. }
  68216. },
  68217. "AlipayOpenAppQrcodeCreateResponseModel" : {
  68218. "type" : "object",
  68219. "properties" : {
  68220. "qr_code_url" : {
  68221. "type" : "string",
  68222. "description" : "方形二维码图片链接地址",
  68223. "example" : "http://mmtcdp.stable.alipay.net/wsdk/img?fileid=A*lSbPT5i9C1wAAAAAAAAAAABjAQAAAA&t=9005d7f574f30246b89c20c17302115f&bz=mmtcafts&"
  68224. },
  68225. "qr_code_url_circle_blue" : {
  68226. "type" : "string",
  68227. "description" : "圆形二维码地址,蓝色slogan",
  68228. "example" : "https://mdgwdev.alipay.net/wsdk/img?fileid=A*KUfuQrWzFdsAAAAAAAAAAAAAAQAAAQ&bz=am_afts_openhome&zoom=800w_800h"
  68229. },
  68230. "qr_code_url_circle_white" : {
  68231. "type" : "string",
  68232. "description" : "圆形二维码地址,白色slogan",
  68233. "example" : "https://mdgwdev.alipay.net/wsdk/img?fileid=A*fRfsRq-nXbkAAAAAAAAAAAAAAQAAAQ&bz=am_afts_openhome&zoom=800w_800h"
  68234. }
  68235. }
  68236. },
  68237. "AlipayOpenAppServiceApplyErrorResponseModel" : {
  68238. "required" : [ "code", "message" ],
  68239. "type" : "object",
  68240. "properties" : {
  68241. "code" : {
  68242. "type" : "string",
  68243. "description" : "错误码",
  68244. "enum" : [ "XML_FORMAT_ERROR", "ATTR_MISS_ID", "ATTR_MISS_TYPE", "ATTR_TYPE_ERROR", "ATTR_VALUE_ERROR", "ATTR_VALUETYPE_ERROR", "ATTR_RULE_NAME_ERROR", "ATTR_RULE_VALUE_ERROR", "ATTR_RULE_TYPE_ERROR", "OPTION_NAME_ERROR", "OPTION_VALUE_ERROR", "ADDRESS_OR_CITYCODE_ERROR", "SHOP_ID_IS_ERROR", "ATTR_NOT_MATCH_SERVICE_SCHEMA", "MINI_APP_NOT_ONLINE", "SERVICE_URL_REPEAT_ERROR", "SERVICE_NAME_REPEAT_ERROR", "PERMISSION_CHECK_ERROR", "SERVICE_NULL", "SERVICE_IS_INVALID", "SERVICE_URL_ERROR", "ATTR_RULE_CHECK_ERROR", "BIZ_ERROR", "INVALID_PARAMETER", "AREA_CODE_ERROR", "IDEMPOTENT_CONFLICTED", "SERVICE_APPID_NOT_IN_URL", "SERVICE_NOT_EXIST", "SYSTEM_ERROR" ]
  68245. },
  68246. "links" : {
  68247. "type" : "string",
  68248. "description" : "解决方案链接"
  68249. },
  68250. "message" : {
  68251. "type" : "string",
  68252. "description" : "错误描述"
  68253. }
  68254. }
  68255. },
  68256. "AlipayOpenAppServiceApplyModel" : {
  68257. "type" : "object",
  68258. "properties" : {
  68259. "category_id" : {
  68260. "type" : "string",
  68261. "description" : "行业类目id",
  68262. "example" : "C102423081"
  68263. },
  68264. "out_biz_no" : {
  68265. "type" : "string",
  68266. "description" : "外部业务编号,平台会基于appId+out_biz_no做幂等控制,如果出现幂等,会返回幂等的service_code",
  68267. "example" : "12345678"
  68268. },
  68269. "schema_version" : {
  68270. "type" : "string",
  68271. "description" : "服务schema版本",
  68272. "example" : "1"
  68273. },
  68274. "service_code" : {
  68275. "type" : "string",
  68276. "description" : "服务编码, 首次提报时设置空值,支付宝侧返回ServiceCode;当传入serviceCode,则对已提报服务做编辑操作。",
  68277. "example" : "2021011521000858813900"
  68278. },
  68279. "service_xml" : {
  68280. "type" : "string",
  68281. "description" : "服务xml",
  68282. "example" : "<serviceSchema></serviceSchema>"
  68283. },
  68284. "template_type" : {
  68285. "type" : "string",
  68286. "description" : "服务模版。若当前服务类目只有一个服务模版,可不填。",
  68287. "example" : "DEFAULT"
  68288. }
  68289. }
  68290. },
  68291. "AlipayOpenAppServiceApplyResponseModel" : {
  68292. "type" : "object",
  68293. "properties" : {
  68294. "service_code" : {
  68295. "type" : "string",
  68296. "description" : "服务id",
  68297. "example" : "1111"
  68298. }
  68299. }
  68300. },
  68301. "AlipayOpenAppServiceDeleteErrorResponseModel" : {
  68302. "required" : [ "code", "message" ],
  68303. "type" : "object",
  68304. "properties" : {
  68305. "code" : {
  68306. "type" : "string",
  68307. "description" : "错误码",
  68308. "enum" : [ "PERMISSION_CHECK_ERROR", "SERVICE_CAN_NOT_INVALID", "SERVICE_STATUS_IS_AUDITING", "SERVICE_NULL", "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  68309. },
  68310. "links" : {
  68311. "type" : "string",
  68312. "description" : "解决方案链接"
  68313. },
  68314. "message" : {
  68315. "type" : "string",
  68316. "description" : "错误描述"
  68317. }
  68318. }
  68319. },
  68320. "AlipayOpenAppServiceDeleteResponseModel" : {
  68321. "type" : "object"
  68322. },
  68323. "AlipayOpenAppServiceListQueryErrorResponseModel" : {
  68324. "required" : [ "code", "message" ],
  68325. "type" : "object",
  68326. "properties" : {
  68327. "code" : {
  68328. "type" : "string",
  68329. "description" : "错误码",
  68330. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "PERMISSION_CHECK_ERROR", "MINI_APP_NOT_ONLINE", "SERVICE_IS_INVALID" ]
  68331. },
  68332. "links" : {
  68333. "type" : "string",
  68334. "description" : "解决方案链接"
  68335. },
  68336. "message" : {
  68337. "type" : "string",
  68338. "description" : "错误描述"
  68339. }
  68340. }
  68341. },
  68342. "AlipayOpenAppServiceListQueryResponseModel" : {
  68343. "type" : "object",
  68344. "properties" : {
  68345. "page_num" : {
  68346. "type" : "integer",
  68347. "description" : "页码",
  68348. "example" : "2"
  68349. },
  68350. "page_size" : {
  68351. "type" : "integer",
  68352. "description" : "每页记录数",
  68353. "example" : "10"
  68354. },
  68355. "records" : {
  68356. "type" : "array",
  68357. "description" : "服务列表",
  68358. "items" : {
  68359. "$ref" : "#/components/schemas/StandardServiceBaseInfo"
  68360. }
  68361. },
  68362. "total" : {
  68363. "type" : "integer",
  68364. "description" : "总记录数",
  68365. "example" : "500"
  68366. }
  68367. }
  68368. },
  68369. "AlipayOpenAppServiceQueryErrorResponseModel" : {
  68370. "required" : [ "code", "message" ],
  68371. "type" : "object",
  68372. "properties" : {
  68373. "code" : {
  68374. "type" : "string",
  68375. "description" : "错误码",
  68376. "enum" : [ "SYSTEM_ERROR", "SERVICE_NOT_EXIST", "INVALID_PARAMETER" ]
  68377. },
  68378. "links" : {
  68379. "type" : "string",
  68380. "description" : "解决方案链接"
  68381. },
  68382. "message" : {
  68383. "type" : "string",
  68384. "description" : "错误描述"
  68385. }
  68386. }
  68387. },
  68388. "AlipayOpenAppServiceQueryResponseModel" : {
  68389. "type" : "object",
  68390. "properties" : {
  68391. "reject_reason" : {
  68392. "type" : "string",
  68393. "description" : "驳回理由",
  68394. "example" : "不符合运营规范"
  68395. },
  68396. "service_code" : {
  68397. "type" : "string",
  68398. "description" : "服务id",
  68399. "example" : "s1111"
  68400. },
  68401. "service_xml" : {
  68402. "type" : "string",
  68403. "description" : "服务描述xml格式",
  68404. "example" : "<?xml version=\"1.0\" encoding=\"utf-8\"?</serviceSchema>...<serviceSchema>"
  68405. },
  68406. "status" : {
  68407. "type" : "string",
  68408. "description" : "服务状态,EDITING(编辑中)/AUDITING(审核中)/AUDIT_REJECT(审核驳回)/PROMOTION(可推广)/STOP_PROMOTION(停止推广)/INVALID(失效)/PUNISHED(处罚)",
  68409. "example" : "AUDITING"
  68410. },
  68411. "template_type" : {
  68412. "type" : "string",
  68413. "description" : "服务模板类型",
  68414. "example" : "DEFAULT"
  68415. }
  68416. }
  68417. },
  68418. "AlipayOpenAppServiceSchemaQueryErrorResponseModel" : {
  68419. "required" : [ "code", "message" ],
  68420. "type" : "object",
  68421. "properties" : {
  68422. "code" : {
  68423. "type" : "string",
  68424. "description" : "错误码",
  68425. "enum" : [ "SYSTEM_ERROR", "SERVICE_SCHEMA_NOT_EXIST", "INVALID_PARAMETER" ]
  68426. },
  68427. "links" : {
  68428. "type" : "string",
  68429. "description" : "解决方案链接"
  68430. },
  68431. "message" : {
  68432. "type" : "string",
  68433. "description" : "错误描述"
  68434. }
  68435. }
  68436. },
  68437. "AlipayOpenAppServiceSchemaQueryResponseModel" : {
  68438. "type" : "object",
  68439. "properties" : {
  68440. "category_id" : {
  68441. "type" : "string",
  68442. "description" : "类目id",
  68443. "example" : "c11111"
  68444. },
  68445. "schema_version" : {
  68446. "type" : "string",
  68447. "description" : "服务schema版本",
  68448. "example" : "v1.0"
  68449. },
  68450. "schema_xml" : {
  68451. "type" : "string",
  68452. "description" : "服务schema",
  68453. "example" : "<serviceSchema><attribute id=\"serviceName\" name=\"服务名称\" type=\"single\" valueType=\"text\"><rules><rule type=\"valid\" code=\"maxLength\" name=\"最大长度\" value=\"10\"/><rule type=\"valid\" code=\"reg\" name=\"正则表达式\" value=\"[^A-Za-z0-9一-龥]\"/><rule type=\"tips\" code=\"inputTip\" name=\"底纹提示文案\" value=\"请输入服务名称,不超过8个字符,不含特殊字符\"/></rules></attribute></serviceSchema>"
  68454. },
  68455. "template_type" : {
  68456. "type" : "string",
  68457. "description" : "服务模版类型",
  68458. "example" : "DEFAULT"
  68459. }
  68460. }
  68461. },
  68462. "AlipayOpenAppTestGrayCreateErrorResponseModel" : {
  68463. "required" : [ "code", "message" ],
  68464. "type" : "object",
  68465. "properties" : {
  68466. "code" : {
  68467. "type" : "string",
  68468. "description" : "错误码",
  68469. "enum" : [ "SYSTEM_ERROR" ]
  68470. },
  68471. "links" : {
  68472. "type" : "string",
  68473. "description" : "解决方案链接"
  68474. },
  68475. "message" : {
  68476. "type" : "string",
  68477. "description" : "错误描述"
  68478. }
  68479. }
  68480. },
  68481. "AlipayOpenAppTestGrayCreateModel" : {
  68482. "type" : "object",
  68483. "properties" : {
  68484. "body" : {
  68485. "type" : "string",
  68486. "description" : "b1",
  68487. "example" : "b1"
  68488. },
  68489. "body_1" : {
  68490. "type" : "string",
  68491. "description" : "body",
  68492. "example" : "1"
  68493. },
  68494. "complex_param" : {
  68495. "$ref" : "#/components/schemas/OpenidComplex"
  68496. },
  68497. "open_id" : {
  68498. "type" : "string",
  68499. "description" : "xx",
  68500. "example" : "xxx"
  68501. },
  68502. "user_id" : {
  68503. "type" : "string",
  68504. "description" : "1",
  68505. "example" : "2088001159940003"
  68506. }
  68507. }
  68508. },
  68509. "AlipayOpenAppTestGrayCreateResponseModel" : {
  68510. "type" : "object",
  68511. "properties" : {
  68512. "zone_name" : {
  68513. "type" : "string",
  68514. "description" : "1",
  68515. "example" : "cz00b"
  68516. }
  68517. }
  68518. },
  68519. "AlipayOpenAppTestGrayQueryErrorResponseModel" : {
  68520. "required" : [ "code", "message" ],
  68521. "type" : "object",
  68522. "properties" : {
  68523. "code" : {
  68524. "type" : "string",
  68525. "description" : "错误码",
  68526. "enum" : [ "SYSTEM_ERROR", "MANJIANG_UNIFY_TEST" ]
  68527. },
  68528. "links" : {
  68529. "type" : "string",
  68530. "description" : "解决方案链接"
  68531. },
  68532. "message" : {
  68533. "type" : "string",
  68534. "description" : "错误描述"
  68535. }
  68536. }
  68537. },
  68538. "AlipayOpenAppTestGrayQueryResponseModel" : {
  68539. "type" : "object",
  68540. "properties" : {
  68541. "res" : {
  68542. "type" : "string",
  68543. "description" : "1",
  68544. "example" : "1"
  68545. }
  68546. }
  68547. },
  68548. "AlipayOpenAuthAppAesGetErrorResponseModel" : {
  68549. "required" : [ "code", "message" ],
  68550. "type" : "object",
  68551. "properties" : {
  68552. "code" : {
  68553. "type" : "string",
  68554. "description" : "错误码",
  68555. "enum" : [ "INVALID_PARAMETER", "ACCESS_DENIED" ]
  68556. },
  68557. "links" : {
  68558. "type" : "string",
  68559. "description" : "解决方案链接"
  68560. },
  68561. "message" : {
  68562. "type" : "string",
  68563. "description" : "错误描述"
  68564. }
  68565. }
  68566. },
  68567. "AlipayOpenAuthAppAesGetResponseModel" : {
  68568. "type" : "object",
  68569. "properties" : {
  68570. "aes_key" : {
  68571. "type" : "string",
  68572. "description" : "商家应用AES KEY密文,需要ISV使用三方应用配置的AES密钥内容进行解密。详情参见 <a href=\"https://opendocs.alipay.com/isv/grefvl/getaes\">应用AES密钥管理</a>。",
  68573. "example" : "s6p0cLTHCy7jtJyTKnh"
  68574. }
  68575. }
  68576. },
  68577. "AlipayOpenAuthAppAesSetErrorResponseModel" : {
  68578. "required" : [ "code", "message" ],
  68579. "type" : "object",
  68580. "properties" : {
  68581. "code" : {
  68582. "type" : "string",
  68583. "description" : "错误码",
  68584. "enum" : [ "INVALID_PARAMETER", "ACCESS_DENIED" ]
  68585. },
  68586. "links" : {
  68587. "type" : "string",
  68588. "description" : "解决方案链接"
  68589. },
  68590. "message" : {
  68591. "type" : "string",
  68592. "description" : "错误描述"
  68593. }
  68594. }
  68595. },
  68596. "AlipayOpenAuthAppAesSetModel" : {
  68597. "type" : "object",
  68598. "properties" : {
  68599. "merchant_app_id" : {
  68600. "type" : "string",
  68601. "description" : "商家应用appId",
  68602. "example" : "20191223601234564"
  68603. }
  68604. }
  68605. },
  68606. "AlipayOpenAuthAppAesSetResponseModel" : {
  68607. "type" : "object",
  68608. "properties" : {
  68609. "aes_key" : {
  68610. "type" : "string",
  68611. "description" : "商家应用AES KEY密文,需要ISV使用三方应用配置的AES密钥内容进行解密。详情参见 <a href=\"https://opendocs.alipay.com/isv/grefvl/getaes\">应用AES密钥管理</a>。",
  68612. "example" : "s6p0cLTHCy7jtJyTKnh"
  68613. }
  68614. }
  68615. },
  68616. "AlipayOpenAuthTokenAppErrorResponseModel" : {
  68617. "required" : [ "code", "message" ],
  68618. "type" : "object",
  68619. "properties" : {
  68620. "code" : {
  68621. "type" : "string",
  68622. "description" : "错误码",
  68623. "enum" : [ "APP_NOT_ISV", "REFRESH_TOKEN_NOT_VALID", "GRANT_TYPE_INVALID", "AUTH_CODE_NOT_EXIST", "APP_ID_NOT_CONSISTENT", "AUTH_CODE_NOT_VALID", "AUTH_TOKEN_NOT_FOUND", "REFRESH_TOKEN_NOT_EXIST", "REFRESH_TOKEN_TIME_OUT" ]
  68624. },
  68625. "links" : {
  68626. "type" : "string",
  68627. "description" : "解决方案链接"
  68628. },
  68629. "message" : {
  68630. "type" : "string",
  68631. "description" : "错误描述"
  68632. }
  68633. }
  68634. },
  68635. "AlipayOpenAuthTokenAppModel" : {
  68636. "type" : "object",
  68637. "properties" : {
  68638. "code" : {
  68639. "type" : "string",
  68640. "description" : "应用授权码,传入应用授权后得到的 app_auth_code。\t说明:\tgrant_type 为 authorization_code 时,本参数必填;\tgrant_type 为 refresh_token 时不填。",
  68641. "example" : "1cc19911172e4f8aaa509c8fb5d12F56"
  68642. },
  68643. "grant_type" : {
  68644. "type" : "string",
  68645. "description" : "授权方式。支持:\tauthorization_code:使用应用授权码换取应用授权令牌app_auth_token。\trefresh_token:使用app_refresh_token刷新获取新授权令牌。\t",
  68646. "example" : "authorization_code或者refresh_token"
  68647. },
  68648. "refresh_token" : {
  68649. "type" : "string",
  68650. "description" : "刷新令牌,上次换取访问令牌时得到。本参数在 grant_type 为 authorization_code 时不填;为 refresh_token 时必填,且该值来源于此接口的返回值 app_refresh_token(即至少需要通过 grant_type=authorization_code 调用此接口一次才能获取)。",
  68651. "example" : "201509BBdcba1e3347de4e75ba3fed2c9abebE36"
  68652. }
  68653. }
  68654. },
  68655. "AlipayOpenAuthTokenAppQueryErrorResponseModel" : {
  68656. "required" : [ "code", "message" ],
  68657. "type" : "object",
  68658. "properties" : {
  68659. "code" : {
  68660. "type" : "string",
  68661. "description" : "错误码",
  68662. "enum" : [ "ILLEGAL_PARAM", "APP_NOT_ISV", "AUTH_TOKEN_NOT_EXISTED", "SYSTEM_ERROR", "AUTH_TOKEN_NOT_CONSISTENT" ]
  68663. },
  68664. "links" : {
  68665. "type" : "string",
  68666. "description" : "解决方案链接"
  68667. },
  68668. "message" : {
  68669. "type" : "string",
  68670. "description" : "错误描述"
  68671. }
  68672. }
  68673. },
  68674. "AlipayOpenAuthTokenAppQueryResponseModel" : {
  68675. "type" : "object",
  68676. "properties" : {
  68677. "auth_app_id" : {
  68678. "type" : "string",
  68679. "description" : "授权商户的appid",
  68680. "example" : "2013121100055554"
  68681. },
  68682. "auth_end" : {
  68683. "type" : "string",
  68684. "description" : "授权失效时间",
  68685. "example" : "2016-11-03 01:59:57"
  68686. },
  68687. "auth_methods" : {
  68688. "type" : "array",
  68689. "description" : "当前app_auth_token的授权接口列表",
  68690. "items" : {
  68691. "type" : "string"
  68692. },
  68693. "example" : "\"alipay.open.auth.token.app.query\",\"alipay.system.oauth.token\",\"alipay.open.auth.token.app\""
  68694. },
  68695. "auth_start" : {
  68696. "type" : "string",
  68697. "description" : "授权生效时间",
  68698. "example" : "2015-11-03 01:59:57"
  68699. },
  68700. "expires_in" : {
  68701. "type" : "integer",
  68702. "description" : "应用授权令牌失效时间,单位到秒",
  68703. "example" : "31536000"
  68704. },
  68705. "is_by_app_auth" : {
  68706. "type" : "boolean",
  68707. "description" : "当商家选择全权委托授权时值为true,未选择时为false。",
  68708. "example" : "true"
  68709. },
  68710. "status" : {
  68711. "type" : "string",
  68712. "description" : "valid:有效状态;invalid:无效状态",
  68713. "example" : "valid"
  68714. },
  68715. "user_id" : {
  68716. "type" : "string",
  68717. "description" : "授权商户的user_id",
  68718. "example" : "2088102150527498"
  68719. }
  68720. }
  68721. },
  68722. "AlipayOpenAuthTokenAppResponseModel" : {
  68723. "type" : "object",
  68724. "properties" : {
  68725. "app_auth_token" : {
  68726. "type" : "string",
  68727. "description" : "应用授权令牌",
  68728. "example" : "201509BBeff9351ad1874306903e96b91d248A36"
  68729. },
  68730. "app_refresh_token" : {
  68731. "type" : "string",
  68732. "description" : "刷新令牌",
  68733. "example" : "201509BBdcba1e3347de4e75ba3fed2c9abebE36"
  68734. },
  68735. "auth_app_id" : {
  68736. "type" : "string",
  68737. "description" : "授权商户的appid",
  68738. "example" : "2013121100055554"
  68739. },
  68740. "expires_in" : {
  68741. "type" : "string",
  68742. "description" : "该字段已作废,应用令牌长期有效,接入方不需要消费该字段",
  68743. "example" : "123456"
  68744. },
  68745. "re_expires_in" : {
  68746. "type" : "string",
  68747. "description" : "刷新令牌的有效时间(从接口调用时间作为起始时间),单位到秒",
  68748. "example" : "123456"
  68749. },
  68750. "tokens" : {
  68751. "type" : "array",
  68752. "description" : "批量授权换码访问令牌列表",
  68753. "items" : {
  68754. "$ref" : "#/components/schemas/AppTokenExchangeSubElement"
  68755. }
  68756. },
  68757. "user_id" : {
  68758. "type" : "string",
  68759. "description" : "授权商户的user_id",
  68760. "example" : "2088102150527498"
  68761. }
  68762. }
  68763. },
  68764. "AlipayOpenAuthUserauthRelationshipQueryErrorResponseModel" : {
  68765. "required" : [ "code", "message" ],
  68766. "type" : "object",
  68767. "properties" : {
  68768. "code" : {
  68769. "type" : "string",
  68770. "description" : "错误码",
  68771. "enum" : [ "INVALID_PARAMETER" ]
  68772. },
  68773. "links" : {
  68774. "type" : "string",
  68775. "description" : "解决方案链接"
  68776. },
  68777. "message" : {
  68778. "type" : "string",
  68779. "description" : "错误描述"
  68780. }
  68781. }
  68782. },
  68783. "AlipayOpenAuthUserauthRelationshipQueryResponseModel" : {
  68784. "type" : "object",
  68785. "properties" : {
  68786. "query_detail" : {
  68787. "type" : "string",
  68788. "description" : "授权结果查询结果,可以转换为为Map<String,Boolean>格式",
  68789. "example" : "{\"auth_user\":true,\"auth_zhima\":false}"
  68790. }
  68791. }
  68792. },
  68793. "AlipayOpenBizCreateErrorResponseModel" : {
  68794. "required" : [ "code", "message" ],
  68795. "type" : "object",
  68796. "properties" : {
  68797. "code" : {
  68798. "type" : "string",
  68799. "description" : "错误码",
  68800. "enum" : [ "BIZ_ERROR" ]
  68801. },
  68802. "links" : {
  68803. "type" : "string",
  68804. "description" : "解决方案链接"
  68805. },
  68806. "message" : {
  68807. "type" : "string",
  68808. "description" : "错误描述"
  68809. }
  68810. }
  68811. },
  68812. "AlipayOpenBizCreateModel" : {
  68813. "type" : "object",
  68814. "properties" : {
  68815. "a" : {
  68816. "$ref" : "#/components/schemas/Gavintest"
  68817. },
  68818. "b" : {
  68819. "type" : "string",
  68820. "description" : "1",
  68821. "example" : "21"
  68822. },
  68823. "de" : {
  68824. "$ref" : "#/components/schemas/GavintestNewLeveaOne"
  68825. },
  68826. "stringbuff" : {
  68827. "type" : "string",
  68828. "description" : "1",
  68829. "example" : "1"
  68830. }
  68831. }
  68832. },
  68833. "AlipayOpenBizCreateResponseModel" : {
  68834. "type" : "object",
  68835. "properties" : {
  68836. "a" : {
  68837. "type" : "string",
  68838. "description" : "1",
  68839. "example" : "1"
  68840. },
  68841. "b" : {
  68842. "$ref" : "#/components/schemas/GavintestNewonline"
  68843. },
  68844. "c" : {
  68845. "type" : "string",
  68846. "description" : "1",
  68847. "example" : "21"
  68848. }
  68849. }
  68850. },
  68851. "AlipayOpenFeeAdjustApplyErrorResponseModel" : {
  68852. "required" : [ "code", "message" ],
  68853. "type" : "object",
  68854. "properties" : {
  68855. "code" : {
  68856. "type" : "string",
  68857. "description" : "错误码",
  68858. "enum" : [ "SYSTEM_ERROR", "SIZE_OUT_LIMIT", "SIZE_MIN_LIMIT", "FILE_FORMAT_INVALID", "INVALID_PARAMS", "NO_PERMISSION", "CERT_TYPE_ILLEGAL", "CERT_PIC_NULL", "ATTACHMENT_IS_NULL", "MERCHANT_ACCOUNT_ERROR", "PRODUCT_NOT_SUPPORT", "DAYS_LIMIT_ERROR", "MERCHANT_REALTION_ERROR", "CHANGE_RATE_ERROR", "RATE_LIMIT_ERROR", "MERCHANT_NOT_SUPPORT", "PRODUCT_UN_VALID", "ARRANGEMENT_INEFFECTIVE_ERROR", "APPLY_IS_PROCESSING", "NKA_MERCHANT_NOT_SUPPORT" ]
  68859. },
  68860. "links" : {
  68861. "type" : "string",
  68862. "description" : "解决方案链接"
  68863. },
  68864. "message" : {
  68865. "type" : "string",
  68866. "description" : "错误描述"
  68867. }
  68868. }
  68869. },
  68870. "AlipayOpenFeeAdjustApplyModel" : {
  68871. "type" : "object",
  68872. "properties" : {
  68873. "account" : {
  68874. "type" : "string",
  68875. "description" : "服务商代申请特殊费率的商家支付宝账户",
  68876. "example" : "test@alipay.com"
  68877. },
  68878. "application_fee" : {
  68879. "type" : "string",
  68880. "description" : "服务商代商家申请特殊费率的费率值(%),如0.38表示0.38%",
  68881. "example" : "0.38"
  68882. },
  68883. "cert_no" : {
  68884. "type" : "string",
  68885. "description" : "对应证件类型(certType)的证件号,如营业执照为营业执照号",
  68886. "example" : "1532501100006302"
  68887. },
  68888. "cert_type" : {
  68889. "type" : "string",
  68890. "description" : "证件类型,枚举值为\t餐饮服务许可证 FOOD_SERVICE_LICENSE,\t食品卫生许可证 FOOD_HEALTH_LICENSE,\t食品经营许可证 FOOD_BUSINESS_LICENSE,\t食品流通许可证 FOOD_CIRCULATE_LICENSE,\t食品生产许可证 FOOD_PRODUCTION_LICENS,\t营业执照 DEFAULT_LICENSE,\t烟草资质 TOBACCO_PRODUCTION_LICENSE",
  68891. "example" : "DEFAULT_LICENSE"
  68892. },
  68893. "city_code" : {
  68894. "type" : "string",
  68895. "description" : "市",
  68896. "example" : "370900"
  68897. },
  68898. "detail_address" : {
  68899. "type" : "string",
  68900. "description" : "详细地址",
  68901. "example" : "人民路10号"
  68902. },
  68903. "district_code" : {
  68904. "type" : "string",
  68905. "description" : "区/县",
  68906. "example" : "370902"
  68907. },
  68908. "product_code" : {
  68909. "type" : "string",
  68910. "description" : "服务商代商家申请调整费率的产品码",
  68911. "example" : "FACE_TO_FACE_PAYMENT"
  68912. },
  68913. "province_code" : {
  68914. "type" : "string",
  68915. "description" : "省份",
  68916. "example" : "370000"
  68917. }
  68918. }
  68919. },
  68920. "AlipayOpenFeeAdjustApplyResponseModel" : {
  68921. "type" : "object"
  68922. },
  68923. "AlipayOpenFileUploadErrorResponseModel" : {
  68924. "required" : [ "code", "message" ],
  68925. "type" : "object",
  68926. "properties" : {
  68927. "code" : {
  68928. "type" : "string",
  68929. "description" : "错误码",
  68930. "enum" : [ "FILE_CHECK_FAIL", "BIZ_ERROR" ]
  68931. },
  68932. "links" : {
  68933. "type" : "string",
  68934. "description" : "解决方案链接"
  68935. },
  68936. "message" : {
  68937. "type" : "string",
  68938. "description" : "错误描述"
  68939. }
  68940. }
  68941. },
  68942. "AlipayOpenFileUploadModel" : {
  68943. "type" : "object",
  68944. "properties" : {
  68945. "biz_code" : {
  68946. "type" : "string",
  68947. "description" : "素材使用场景,请关联其他开放平台接口联合使用。如果素材用于内容发布,请必传入content_creation",
  68948. "example" : "content_creation"
  68949. },
  68950. "extra_parameters" : {
  68951. "$ref" : "#/components/schemas/FileUploadExtraParam"
  68952. },
  68953. "md5" : {
  68954. "type" : "string",
  68955. "description" : "文件的md5值,如果不传则不校验md5",
  68956. "example" : "9cff2d79bc81acf12abbaca7328a4dc5"
  68957. }
  68958. }
  68959. },
  68960. "AlipayOpenFileUploadResponseModel" : {
  68961. "type" : "object",
  68962. "properties" : {
  68963. "extern_id" : {
  68964. "type" : "string",
  68965. "description" : "视频资源id,同步外部渠道后,外部渠道返回的id。目前支持同步优酷场景,返回优酷视频id,用于支付宝客户端播放视频使用",
  68966. "example" : "XNTk0NjE5NjI4OA=="
  68967. },
  68968. "file_id" : {
  68969. "type" : "string",
  68970. "description" : "文件id,用于提供后后续业务调用使用",
  68971. "example" : "A*6XqwQKpS1t0AAAAAAAAAAAAADi92AA"
  68972. }
  68973. }
  68974. },
  68975. "AlipayOpenInstantdeliveryAccountCreateErrorResponseModel" : {
  68976. "required" : [ "code", "message" ],
  68977. "type" : "object",
  68978. "properties" : {
  68979. "code" : {
  68980. "type" : "string",
  68981. "description" : "错误码",
  68982. "enum" : [ "UNKNOWN_EXCEPTION", "INVALID_PARAMETER", "RESULT_IS_NOT_EXPECTED", "SYSTEM_ERROR" ]
  68983. },
  68984. "links" : {
  68985. "type" : "string",
  68986. "description" : "解决方案链接"
  68987. },
  68988. "message" : {
  68989. "type" : "string",
  68990. "description" : "错误描述"
  68991. }
  68992. }
  68993. },
  68994. "AlipayOpenInstantdeliveryAccountCreateModel" : {
  68995. "type" : "object",
  68996. "properties" : {
  68997. "logistics_codes" : {
  68998. "type" : "array",
  68999. "description" : "配送公司编码",
  69000. "items" : {
  69001. "type" : "string"
  69002. },
  69003. "example" : "ISTD"
  69004. },
  69005. "out_biz_no" : {
  69006. "type" : "string",
  69007. "description" : "外部业务号",
  69008. "example" : "out_biz_no_202008311750000"
  69009. }
  69010. }
  69011. },
  69012. "AlipayOpenInstantdeliveryAccountCreateResponseModel" : {
  69013. "type" : "object",
  69014. "properties" : {
  69015. "logistics_account_status" : {
  69016. "type" : "array",
  69017. "description" : "配送公司账户创建结果列表",
  69018. "items" : {
  69019. "$ref" : "#/components/schemas/LogisticsAccountStatusDTO"
  69020. }
  69021. }
  69022. }
  69023. },
  69024. "AlipayOpenInstantdeliveryAccountQueryErrorResponseModel" : {
  69025. "required" : [ "code", "message" ],
  69026. "type" : "object",
  69027. "properties" : {
  69028. "code" : {
  69029. "type" : "string",
  69030. "description" : "错误码",
  69031. "enum" : [ "UNKNOWN_EXCEPTION", "INVALID_PARAMETER", "RESULT_IS_NOT_EXPECTED" ]
  69032. },
  69033. "links" : {
  69034. "type" : "string",
  69035. "description" : "解决方案链接"
  69036. },
  69037. "message" : {
  69038. "type" : "string",
  69039. "description" : "错误描述"
  69040. }
  69041. }
  69042. },
  69043. "AlipayOpenInstantdeliveryAccountQueryResponseModel" : {
  69044. "type" : "object",
  69045. "properties" : {
  69046. "balance" : {
  69047. "type" : "string",
  69048. "description" : "账户余额",
  69049. "example" : "1.3"
  69050. },
  69051. "business_license" : {
  69052. "type" : "string",
  69053. "description" : "企业营业执照图片正反面",
  69054. "example" : "http://xxx"
  69055. },
  69056. "business_scope" : {
  69057. "type" : "string",
  69058. "description" : "经营范围",
  69059. "example" : "XXX"
  69060. },
  69061. "credit_code" : {
  69062. "type" : "string",
  69063. "description" : "统一社会信用代码",
  69064. "example" : "XXX"
  69065. },
  69066. "email" : {
  69067. "type" : "string",
  69068. "description" : "联系人邮箱",
  69069. "example" : "xxx@alipay.com"
  69070. },
  69071. "enterprise_address" : {
  69072. "type" : "string",
  69073. "description" : "企业地址",
  69074. "example" : "XXX街道108号"
  69075. },
  69076. "enterprise_city" : {
  69077. "type" : "string",
  69078. "description" : "企业所在地,市编码",
  69079. "example" : "XX"
  69080. },
  69081. "enterprise_district" : {
  69082. "type" : "string",
  69083. "description" : "企业所在地,区编码",
  69084. "example" : "XX"
  69085. },
  69086. "enterprise_name" : {
  69087. "type" : "string",
  69088. "description" : "企业全称",
  69089. "example" : "淘宝"
  69090. },
  69091. "enterprise_province" : {
  69092. "type" : "string",
  69093. "description" : "企业所在地,省编码",
  69094. "example" : "XX"
  69095. },
  69096. "enterprise_type" : {
  69097. "type" : "string",
  69098. "description" : "企业类型",
  69099. "example" : "01"
  69100. },
  69101. "logistics_account_status" : {
  69102. "type" : "array",
  69103. "description" : "在配送公司的账户状态信息",
  69104. "items" : {
  69105. "$ref" : "#/components/schemas/LogisticsAccountStatusDTO"
  69106. }
  69107. },
  69108. "phone" : {
  69109. "type" : "string",
  69110. "description" : "联系人手机号",
  69111. "example" : "138xxxxxxxx"
  69112. }
  69113. }
  69114. },
  69115. "AlipayOpenInstantdeliveryMerchantagreementQueryErrorResponseModel" : {
  69116. "required" : [ "code", "message" ],
  69117. "type" : "object",
  69118. "properties" : {
  69119. "code" : {
  69120. "type" : "string",
  69121. "description" : "错误码",
  69122. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  69123. },
  69124. "links" : {
  69125. "type" : "string",
  69126. "description" : "解决方案链接"
  69127. },
  69128. "message" : {
  69129. "type" : "string",
  69130. "description" : "错误描述"
  69131. }
  69132. }
  69133. },
  69134. "AlipayOpenInstantdeliveryMerchantagreementQueryResponseModel" : {
  69135. "type" : "object",
  69136. "properties" : {
  69137. "agreement_detail" : {
  69138. "$ref" : "#/components/schemas/AgreementDetail"
  69139. }
  69140. }
  69141. },
  69142. "AlipayOpenInstantdeliveryMerchantagreementSignErrorResponseModel" : {
  69143. "required" : [ "code", "message" ],
  69144. "type" : "object",
  69145. "properties" : {
  69146. "code" : {
  69147. "type" : "string",
  69148. "description" : "错误码",
  69149. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  69150. },
  69151. "links" : {
  69152. "type" : "string",
  69153. "description" : "解决方案链接"
  69154. },
  69155. "message" : {
  69156. "type" : "string",
  69157. "description" : "错误描述"
  69158. }
  69159. }
  69160. },
  69161. "AlipayOpenInstantdeliveryMerchantagreementSignModel" : {
  69162. "type" : "object",
  69163. "properties" : {
  69164. "open_id" : {
  69165. "type" : "string",
  69166. "description" : "蚂蚁统一会员ID",
  69167. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  69168. },
  69169. "user_id" : {
  69170. "type" : "string",
  69171. "description" : "蚂蚁统一会员ID",
  69172. "example" : "2088000000000000"
  69173. }
  69174. }
  69175. },
  69176. "AlipayOpenInstantdeliveryMerchantagreementSignResponseModel" : {
  69177. "type" : "object",
  69178. "properties" : {
  69179. "sign_url" : {
  69180. "type" : "string",
  69181. "description" : "授权二维码的url, 必须用传入的uid进行扫码",
  69182. "example" : "https://openapi.alipay.com/gateway.do?***"
  69183. }
  69184. }
  69185. },
  69186. "AlipayOpenInstantdeliveryMerchantshopBatchqueryErrorResponseModel" : {
  69187. "required" : [ "code", "message" ],
  69188. "type" : "object",
  69189. "properties" : {
  69190. "code" : {
  69191. "type" : "string",
  69192. "description" : "错误码",
  69193. "enum" : [ "UNKNOWN_EXCEPTION", "INVALID_PARAMETER", "RESULT_IS_NOT_EXPECTED", "SYSTEM_ERROR" ]
  69194. },
  69195. "links" : {
  69196. "type" : "string",
  69197. "description" : "解决方案链接"
  69198. },
  69199. "message" : {
  69200. "type" : "string",
  69201. "description" : "错误描述"
  69202. }
  69203. }
  69204. },
  69205. "AlipayOpenInstantdeliveryMerchantshopBatchqueryModel" : {
  69206. "type" : "object",
  69207. "properties" : {
  69208. "page_no" : {
  69209. "type" : "integer",
  69210. "description" : "当前页码",
  69211. "example" : "1"
  69212. },
  69213. "page_size" : {
  69214. "type" : "integer",
  69215. "description" : "分页数量, 最大50。",
  69216. "example" : "20"
  69217. },
  69218. "shop_name" : {
  69219. "type" : "string",
  69220. "description" : "球房名称",
  69221. "example" : "球房1"
  69222. },
  69223. "shop_no" : {
  69224. "type" : "string",
  69225. "description" : "商家球房编码。",
  69226. "example" : "10000"
  69227. }
  69228. }
  69229. },
  69230. "AlipayOpenInstantdeliveryMerchantshopBatchqueryResponseModel" : {
  69231. "type" : "object",
  69232. "properties" : {
  69233. "page_no" : {
  69234. "type" : "integer",
  69235. "description" : "当前页码",
  69236. "example" : "1"
  69237. },
  69238. "page_size" : {
  69239. "type" : "integer",
  69240. "description" : "分页数量, 最大50。",
  69241. "example" : "20"
  69242. },
  69243. "records" : {
  69244. "type" : "array",
  69245. "description" : "球房列表数据。",
  69246. "items" : {
  69247. "$ref" : "#/components/schemas/MerchantShopDTO"
  69248. }
  69249. },
  69250. "total_no" : {
  69251. "type" : "integer",
  69252. "description" : "总数量",
  69253. "example" : "100"
  69254. }
  69255. }
  69256. },
  69257. "AlipayOpenInstantdeliveryMerchantshopCreateErrorResponseModel" : {
  69258. "required" : [ "code", "message" ],
  69259. "type" : "object",
  69260. "properties" : {
  69261. "code" : {
  69262. "type" : "string",
  69263. "description" : "错误码",
  69264. "enum" : [ "UNKNOWN_EXCEPTION", "INVALID_PARAMETER", "RESULT_IS_NOT_EXPECTED", "SYSTEM_ERROR", "SYSTEM_EXCEPTION", "NO_ACCOUNT", "ACCOUNT_CREATING", "ACCOUNT_AUDITING" ]
  69265. },
  69266. "links" : {
  69267. "type" : "string",
  69268. "description" : "解决方案链接"
  69269. },
  69270. "message" : {
  69271. "type" : "string",
  69272. "description" : "错误描述"
  69273. }
  69274. }
  69275. },
  69276. "AlipayOpenInstantdeliveryMerchantshopCreateModel" : {
  69277. "type" : "object",
  69278. "properties" : {
  69279. "contact_name" : {
  69280. "type" : "string",
  69281. "description" : "联系人姓名",
  69282. "example" : "张三"
  69283. },
  69284. "detail_address" : {
  69285. "type" : "string",
  69286. "description" : "地址。商户详细经营地址或人员所在地点",
  69287. "example" : "万塘路18号黄龙时代广场B座"
  69288. },
  69289. "enterprise_city" : {
  69290. "type" : "string",
  69291. "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  69292. "example" : "371000"
  69293. },
  69294. "enterprise_district" : {
  69295. "type" : "string",
  69296. "description" : "区县编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  69297. "example" : "371002"
  69298. },
  69299. "enterprise_province" : {
  69300. "type" : "string",
  69301. "description" : "省份编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  69302. "example" : "370000"
  69303. },
  69304. "latitude" : {
  69305. "type" : "string",
  69306. "description" : "纬度,浮点型,小数点后最多保留6位 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
  69307. "example" : "60.270001"
  69308. },
  69309. "longitude" : {
  69310. "type" : "string",
  69311. "description" : "经度,浮点型, 小数点后最多保留6位。 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
  69312. "example" : "120.760001"
  69313. },
  69314. "out_biz_no" : {
  69315. "type" : "string",
  69316. "description" : "外部业务号",
  69317. "example" : "out_biz_no_202008311750003"
  69318. },
  69319. "phone" : {
  69320. "type" : "string",
  69321. "description" : "联系人电话/手机号",
  69322. "example" : "13888888888"
  69323. },
  69324. "poiid" : {
  69325. "type" : "string",
  69326. "description" : "高德poiid",
  69327. "example" : "B0FFIVU189"
  69328. },
  69329. "shop_category" : {
  69330. "type" : "string",
  69331. "description" : "店铺类目,取值参见文件https://mif-pub.alipayobjects.com/ShopCategory.xlsx 中的三级球房类目",
  69332. "example" : "1001"
  69333. },
  69334. "shop_name" : {
  69335. "type" : "string",
  69336. "description" : "球房名称,最长不超过256个字符。名称+地址需要全局唯一。",
  69337. "example" : "球房1"
  69338. },
  69339. "shop_no" : {
  69340. "type" : "string",
  69341. "description" : "商家球房编码,可自定义,但必须唯一",
  69342. "example" : "1000"
  69343. }
  69344. }
  69345. },
  69346. "AlipayOpenInstantdeliveryMerchantshopCreateResponseModel" : {
  69347. "type" : "object",
  69348. "properties" : {
  69349. "logistics_shop_status" : {
  69350. "type" : "array",
  69351. "description" : "球房创建返回的结果。",
  69352. "items" : {
  69353. "$ref" : "#/components/schemas/LogisticsShopStatusDTO"
  69354. }
  69355. }
  69356. }
  69357. },
  69358. "AlipayOpenInstantdeliveryMerchantshopModifyErrorResponseModel" : {
  69359. "required" : [ "code", "message" ],
  69360. "type" : "object",
  69361. "properties" : {
  69362. "code" : {
  69363. "type" : "string",
  69364. "description" : "错误码",
  69365. "enum" : [ "UNKNOWN_EXCEPTION", "INVALID_PARAMETER", "SHOP_CREATING", "SYSTEM_ERROR", "SHOP_AUDITING", "SHOP_UPDATING", "NO_ACCOUNT", "ACCOUNT_CREATING", "ACCOUNT_AUDITING" ]
  69366. },
  69367. "links" : {
  69368. "type" : "string",
  69369. "description" : "解决方案链接"
  69370. },
  69371. "message" : {
  69372. "type" : "string",
  69373. "description" : "错误描述"
  69374. }
  69375. }
  69376. },
  69377. "AlipayOpenInstantdeliveryMerchantshopModifyModel" : {
  69378. "type" : "object",
  69379. "properties" : {
  69380. "contact_name" : {
  69381. "type" : "string",
  69382. "description" : "联系人姓名",
  69383. "example" : "张三"
  69384. },
  69385. "logistics_codes" : {
  69386. "type" : "array",
  69387. "description" : "要更新的配送公司列表,必须包含已经创建过该球房的配送公司,可以新增开通了账户的配送公司",
  69388. "items" : {
  69389. "type" : "string"
  69390. },
  69391. "example" : "ISTD"
  69392. },
  69393. "out_biz_no" : {
  69394. "type" : "string",
  69395. "description" : "外部业务号",
  69396. "example" : "out_biz_no_202008311750004"
  69397. },
  69398. "phone" : {
  69399. "type" : "string",
  69400. "description" : "联系人电话/手机号",
  69401. "example" : "13666666666"
  69402. },
  69403. "shop_no" : {
  69404. "type" : "string",
  69405. "description" : "商家球房编码",
  69406. "example" : "1000"
  69407. }
  69408. }
  69409. },
  69410. "AlipayOpenInstantdeliveryMerchantshopModifyResponseModel" : {
  69411. "type" : "object",
  69412. "properties" : {
  69413. "logistics_shop_status" : {
  69414. "type" : "array",
  69415. "description" : "球房创建返回的结果",
  69416. "items" : {
  69417. "$ref" : "#/components/schemas/LogisticsShopStatusDTO"
  69418. }
  69419. }
  69420. }
  69421. },
  69422. "AlipayOpenInstantdeliveryMerchantshopQueryErrorResponseModel" : {
  69423. "required" : [ "code", "message" ],
  69424. "type" : "object",
  69425. "properties" : {
  69426. "code" : {
  69427. "type" : "string",
  69428. "description" : "错误码",
  69429. "enum" : [ "UNKNOWN_EXCEPTION", "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  69430. },
  69431. "links" : {
  69432. "type" : "string",
  69433. "description" : "解决方案链接"
  69434. },
  69435. "message" : {
  69436. "type" : "string",
  69437. "description" : "错误描述"
  69438. }
  69439. }
  69440. },
  69441. "AlipayOpenInstantdeliveryMerchantshopQueryResponseModel" : {
  69442. "type" : "object",
  69443. "properties" : {
  69444. "contact_name" : {
  69445. "type" : "string",
  69446. "description" : "联系人姓名",
  69447. "example" : "张三"
  69448. },
  69449. "detail_address" : {
  69450. "type" : "string",
  69451. "description" : "地址。商户详细经营地址或人员所在地点。",
  69452. "example" : "万塘路18号黄龙时代广场B座"
  69453. },
  69454. "enterprise_city" : {
  69455. "type" : "string",
  69456. "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  69457. "example" : "371000"
  69458. },
  69459. "enterprise_district" : {
  69460. "type" : "string",
  69461. "description" : "区县编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  69462. "example" : "371002"
  69463. },
  69464. "enterprise_province" : {
  69465. "type" : "string",
  69466. "description" : "省份编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  69467. "example" : "370000"
  69468. },
  69469. "latitude" : {
  69470. "type" : "string",
  69471. "description" : "纬度,浮点型,小数点后最多保留6位 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
  69472. "example" : "60.270001"
  69473. },
  69474. "logistics_shop_status" : {
  69475. "type" : "array",
  69476. "description" : "在配送公司的球房状态。",
  69477. "items" : {
  69478. "$ref" : "#/components/schemas/LogisticsShopStatusDTO"
  69479. }
  69480. },
  69481. "longitude" : {
  69482. "type" : "string",
  69483. "description" : "经度,浮点型, 小数点后最多保留6位。 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
  69484. "example" : "120.760001"
  69485. },
  69486. "phone" : {
  69487. "type" : "string",
  69488. "description" : "联系人电话/手机号。",
  69489. "example" : "13888888888"
  69490. },
  69491. "poiid" : {
  69492. "type" : "string",
  69493. "description" : "高德poiid",
  69494. "example" : "B0FFIVU189"
  69495. },
  69496. "shop_category" : {
  69497. "type" : "string",
  69498. "description" : "店铺类目,取值参见文件https://mif-pub.alipayobjects.com/ShopCategory.xlsx 中的三级球房类目",
  69499. "example" : "1001"
  69500. },
  69501. "shop_name" : {
  69502. "type" : "string",
  69503. "description" : "球房名称,最长不超过256个字符",
  69504. "example" : "球房1"
  69505. },
  69506. "shop_no" : {
  69507. "type" : "string",
  69508. "description" : "商家球房编码。",
  69509. "example" : "1000"
  69510. }
  69511. }
  69512. },
  69513. "AlipayOpenInviteOrderQueryErrorResponseModel" : {
  69514. "required" : [ "code", "message" ],
  69515. "type" : "object",
  69516. "properties" : {
  69517. "code" : {
  69518. "type" : "string",
  69519. "description" : "错误码",
  69520. "enum" : [ "INVALID_PARAMS", "INVITE_ISV_BIZ_ID_INVALID", "INVITE_ISV_BIZ_ID_NOT_EXIST", "MERCHANT_LOGON_ID_NOT_MATCH" ]
  69521. },
  69522. "links" : {
  69523. "type" : "string",
  69524. "description" : "解决方案链接"
  69525. },
  69526. "message" : {
  69527. "type" : "string",
  69528. "description" : "错误描述"
  69529. }
  69530. }
  69531. },
  69532. "AlipayOpenInviteOrderQueryResponseModel" : {
  69533. "type" : "object",
  69534. "properties" : {
  69535. "merchant_pid" : {
  69536. "type" : "string",
  69537. "description" : "商家支付宝账号对应的ID,2088开头",
  69538. "example" : "2088532075393645"
  69539. },
  69540. "sign_status_list" : {
  69541. "type" : "array",
  69542. "description" : "产品签约状态对象",
  69543. "items" : {
  69544. "$ref" : "#/components/schemas/ProductInviteStatusInfo"
  69545. }
  69546. }
  69547. }
  69548. },
  69549. "AlipayOpenMiniAppdeployByappidQueryErrorResponseModel" : {
  69550. "required" : [ "code", "message" ],
  69551. "type" : "object",
  69552. "properties" : {
  69553. "code" : {
  69554. "type" : "string",
  69555. "description" : "错误码"
  69556. },
  69557. "links" : {
  69558. "type" : "string",
  69559. "description" : "解决方案链接"
  69560. },
  69561. "message" : {
  69562. "type" : "string",
  69563. "description" : "错误描述"
  69564. }
  69565. }
  69566. },
  69567. "AlipayOpenMiniAppdeployByappidQueryResponseModel" : {
  69568. "type" : "object",
  69569. "properties" : {
  69570. "deploys" : {
  69571. "type" : "array",
  69572. "description" : "小程序发布信息",
  69573. "items" : {
  69574. "$ref" : "#/components/schemas/MiniAppDeployResponse"
  69575. }
  69576. },
  69577. "total" : {
  69578. "type" : "integer",
  69579. "description" : "总数",
  69580. "example" : "245"
  69581. }
  69582. }
  69583. },
  69584. "AlipayOpenMiniAppdeployByappversionQueryErrorResponseModel" : {
  69585. "required" : [ "code", "message" ],
  69586. "type" : "object",
  69587. "properties" : {
  69588. "code" : {
  69589. "type" : "string",
  69590. "description" : "错误码"
  69591. },
  69592. "links" : {
  69593. "type" : "string",
  69594. "description" : "解决方案链接"
  69595. },
  69596. "message" : {
  69597. "type" : "string",
  69598. "description" : "错误描述"
  69599. }
  69600. }
  69601. },
  69602. "AlipayOpenMiniAppdeployByappversionQueryResponseModel" : {
  69603. "type" : "object",
  69604. "properties" : {
  69605. "deploys" : {
  69606. "type" : "array",
  69607. "description" : "发布信息",
  69608. "items" : {
  69609. "$ref" : "#/components/schemas/MiniAppDeployResponse"
  69610. }
  69611. }
  69612. }
  69613. },
  69614. "AlipayOpenMiniAppdeployBydeployversionQueryErrorResponseModel" : {
  69615. "required" : [ "code", "message" ],
  69616. "type" : "object",
  69617. "properties" : {
  69618. "code" : {
  69619. "type" : "string",
  69620. "description" : "错误码"
  69621. },
  69622. "links" : {
  69623. "type" : "string",
  69624. "description" : "解决方案链接"
  69625. },
  69626. "message" : {
  69627. "type" : "string",
  69628. "description" : "错误描述"
  69629. }
  69630. }
  69631. },
  69632. "AlipayOpenMiniAppdeployBydeployversionQueryResponseModel" : {
  69633. "type" : "object",
  69634. "properties" : {
  69635. "deploys" : {
  69636. "type" : "array",
  69637. "description" : "小程序发布信息",
  69638. "items" : {
  69639. "$ref" : "#/components/schemas/MiniAppDeployResponse"
  69640. }
  69641. }
  69642. }
  69643. },
  69644. "AlipayOpenMiniBaseinfoModifyErrorResponseModel" : {
  69645. "required" : [ "code", "message" ],
  69646. "type" : "object",
  69647. "properties" : {
  69648. "code" : {
  69649. "type" : "string",
  69650. "description" : "错误码",
  69651. "enum" : [ "SYSTEM_ERROR", "MODIFY_PARAMS_ARE_BLANK", "CAN_NOT_MODIFY_BASE_INFO", "INVALID_MINI_APP_NAME", "INVALID_MINI_APP_NAME_LENGTH", "MINI_APP_NAME_DUPLICATE", "MINI_APP_NAME_SENSITIVE", "INVALID_MINI_APP_EN_NAME", "INVALID_MINI_APP_EN_NAME_LENGTH", "MINI_APP_EN_NAME_DUPLICATE", "MINI_APP_EN_NAME_SENSITIVE", "INVALID_MINI_APP_SLOGAN_LENGTH", "MINI_APP_SLOGAN_SENSITIVE", "CATEGOTY_NUM_IS_INVALID", "INVALID_CATEGOTY", "INVALID_LOGO_EXT", "LOGO_EXCEED_MAX_SIZE", "LOGO_HEIGHT_NOT_EQUAL_WIDTH", "MINI_APP_DESC_SENSITIVE", "INVALID_MINI_APP_DESC_LENGTH", "INVALID_MINI_APP_SERVICE_PHONE", "INVALID_MINI_APP_SERVICE_EMAIL", "MINI_APP_SERVICE_EMAIL_SENSITIVE", "APPLICATION_TYPE_NOT_MINIAPP", "INVALID_MINI_APP_DESC", "INVALID_MINI_APP_SLOGAN", "RISK_DECISION_CHECK_FAIL", "RISK_DECISION_HIT_BRAND", "SERVICE_TEL_AND_MAIL_BOTH_BLANK", "APP_DESC_IS_BLANK", "MINI_APP_NOT_ONLINE", "LOGO_SIZE_EXCEED", "CATEGORY_IS_BLANK", "PRIVATE_NOT_ALLOW_CATEGORY", "CANNOT_MODIFY_CATEGORY_WITH_RELATION_VERSION", "MINI_APP_INFO_AUDIT_CONTAINS", "CATEGORY_NUM_IS_INVALID", "SLOGAN_IS_BLANK", "OP_FREQUENCY_LIMIT", "LOGO_IS_BLANK", "INVALID_LOGO", "INVALID_PARAMETER", "NOT_ALLOW_BETA_CATEGORY" ]
  69652. },
  69653. "links" : {
  69654. "type" : "string",
  69655. "description" : "解决方案链接"
  69656. },
  69657. "message" : {
  69658. "type" : "string",
  69659. "description" : "错误描述"
  69660. }
  69661. }
  69662. },
  69663. "AlipayOpenMiniBaseinfoModifyModel" : {
  69664. "type" : "object",
  69665. "properties" : {
  69666. "app_category_ids" : {
  69667. "type" : "string",
  69668. "description" : "11_12;12_13。小程序类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目,详细类目可以参考https://docs.open.alipay.com/api_49/alipay.open.mini.category.query接口查询mini_category_list 。",
  69669. "example" : "11_12;12_13"
  69670. },
  69671. "app_desc" : {
  69672. "type" : "string",
  69673. "description" : "小程序描述,长度限制 20~400 个字符。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过https://opendocs.alipay.com/mini/03l21r查询当前小程序信息\t",
  69674. "example" : "这是一个小程序的描述这是一个小程序的描述这是一个小程序的描述这是一个小程序的描述"
  69675. },
  69676. "app_english_name" : {
  69677. "type" : "string",
  69678. "description" : "小程序应用英文名称。长度限制 3~30 个字符,仅支持包含中文、数字、英文、下划线、+、-。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过alipay.open.mini.baseinfo.query查询当前小程序信息",
  69679. "example" : "demoexample"
  69680. },
  69681. "app_name" : {
  69682. "type" : "string",
  69683. "description" : "小程序名称。长度限制 3~30 个字符,仅支持包含中文、数字、英文、下划线、+、-。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过alipay.open.mini.baseinfo.query查询当前小程序信息",
  69684. "example" : "杭州支小宝潮流女装店"
  69685. },
  69686. "app_slogan" : {
  69687. "type" : "string",
  69688. "description" : "小程序简介,一句话描述小程序功能,长度限制 10~32个字符。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过alipay.open.mini.baseinfo.query查询当前小程序信息",
  69689. "example" : "专注潮流女装20年"
  69690. },
  69691. "mini_category_ids" : {
  69692. "type" : "string",
  69693. "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query\t接口查询mini_category_list。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过https://opendocs.alipay.com/mini/03l21r查询当前小程序信息\t注意:个人开发者不得使用企业类目。",
  69694. "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
  69695. },
  69696. "service_email" : {
  69697. "type" : "string",
  69698. "description" : "小程序客服邮箱,如果不填默认采用当前小程序的应用客服邮箱,小程序客服电话和邮箱至少输入一个。如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。\t注意:2021年7月1日后,该字段将逐步灰度为可选字段,请按可选开发。",
  69699. "example" : "example@mail.com"
  69700. },
  69701. "service_phone" : {
  69702. "type" : "string",
  69703. "description" : "小程序客服电话,长度限制5~30个字符,仅支持包含数字和-。如果不填默认采用当前小程序的应用客服电话,小程序客服电话和邮箱至少输入一个。如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。\t注意:2021年7月1日后,该字段将逐步灰度为必填字段,请按必填开发。",
  69704. "example" : "13110101010"
  69705. }
  69706. }
  69707. },
  69708. "AlipayOpenMiniBaseinfoModifyResponseModel" : {
  69709. "type" : "object"
  69710. },
  69711. "AlipayOpenMiniBaseinfoNameCheckErrorResponseModel" : {
  69712. "required" : [ "code", "message" ],
  69713. "type" : "object",
  69714. "properties" : {
  69715. "code" : {
  69716. "type" : "string",
  69717. "description" : "错误码",
  69718. "enum" : [ "INVALID_PARAMETER", "SYSTEM_LIMIT", "SYSTEM_ERROR" ]
  69719. },
  69720. "links" : {
  69721. "type" : "string",
  69722. "description" : "解决方案链接"
  69723. },
  69724. "message" : {
  69725. "type" : "string",
  69726. "description" : "错误描述"
  69727. }
  69728. }
  69729. },
  69730. "AlipayOpenMiniBaseinfoNameCheckResponseModel" : {
  69731. "type" : "object",
  69732. "properties" : {
  69733. "check_code" : {
  69734. "type" : "string",
  69735. "description" : "校验结果code",
  69736. "example" : "NONE"
  69737. },
  69738. "check_memo" : {
  69739. "type" : "string",
  69740. "description" : "校验说明",
  69741. "example" : "无"
  69742. }
  69743. }
  69744. },
  69745. "AlipayOpenMiniBaseinfoQueryErrorResponseModel" : {
  69746. "required" : [ "code", "message" ],
  69747. "type" : "object",
  69748. "properties" : {
  69749. "code" : {
  69750. "type" : "string",
  69751. "description" : "错误码",
  69752. "enum" : [ "SYSTEM_ERROR", "APPLICATION_TYPE_NOT_MINIAPP", "APP_INFO_NOT_EXIST" ]
  69753. },
  69754. "links" : {
  69755. "type" : "string",
  69756. "description" : "解决方案链接"
  69757. },
  69758. "message" : {
  69759. "type" : "string",
  69760. "description" : "错误描述"
  69761. }
  69762. }
  69763. },
  69764. "AlipayOpenMiniBaseinfoQueryResponseModel" : {
  69765. "type" : "object",
  69766. "properties" : {
  69767. "app_desc" : {
  69768. "type" : "string",
  69769. "description" : "小程序应用描述",
  69770. "example" : "小程序官方示例Demo,展示已支持的接口能力及组件。"
  69771. },
  69772. "app_english_name" : {
  69773. "type" : "string",
  69774. "description" : "小程序应用英文名称",
  69775. "example" : "demoexample"
  69776. },
  69777. "app_logo" : {
  69778. "type" : "string",
  69779. "description" : "小程序应用logo图标",
  69780. "example" : "https://appstoreisvpic.alipayobjects.com/prod/04843e84-f1fd-4717-a230-1c72de99aa5d.png"
  69781. },
  69782. "app_name" : {
  69783. "type" : "string",
  69784. "description" : "小程序应用名称",
  69785. "example" : "小程序示例"
  69786. },
  69787. "app_slogan" : {
  69788. "type" : "string",
  69789. "description" : "小程序应用简介,一句话描述小程序功能",
  69790. "example" : "提供小程序示例功能"
  69791. },
  69792. "category_names" : {
  69793. "type" : "string",
  69794. "description" : "类目名称,格式为第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目;",
  69795. "example" : "航空票务_航空公司;生活服务_室内清洁服务;"
  69796. },
  69797. "package_names" : {
  69798. "type" : "array",
  69799. "description" : "功能包名称",
  69800. "items" : {
  69801. "type" : "string"
  69802. },
  69803. "example" : "小程序基础功能"
  69804. },
  69805. "safe_domains" : {
  69806. "type" : "array",
  69807. "description" : "域白名单",
  69808. "items" : {
  69809. "type" : "string"
  69810. },
  69811. "example" : "example.com"
  69812. },
  69813. "service_email" : {
  69814. "type" : "string",
  69815. "description" : "小程序客服邮箱",
  69816. "example" : "example@mail.com"
  69817. },
  69818. "service_phone" : {
  69819. "type" : "string",
  69820. "description" : "小程序客服电话",
  69821. "example" : "13110101010"
  69822. }
  69823. }
  69824. },
  69825. "AlipayOpenMiniCategoryQueryErrorResponseModel" : {
  69826. "required" : [ "code", "message" ],
  69827. "type" : "object",
  69828. "properties" : {
  69829. "code" : {
  69830. "type" : "string",
  69831. "description" : "错误码",
  69832. "enum" : [ "SYSTEM_ERROR" ]
  69833. },
  69834. "links" : {
  69835. "type" : "string",
  69836. "description" : "解决方案链接"
  69837. },
  69838. "message" : {
  69839. "type" : "string",
  69840. "description" : "错误描述"
  69841. }
  69842. }
  69843. },
  69844. "AlipayOpenMiniCategoryQueryResponseModel" : {
  69845. "type" : "object",
  69846. "properties" : {
  69847. "category_list" : {
  69848. "type" : "array",
  69849. "description" : "小程序类目列表",
  69850. "items" : {
  69851. "$ref" : "#/components/schemas/MiniAppCategory"
  69852. }
  69853. },
  69854. "mini_category_list" : {
  69855. "type" : "array",
  69856. "description" : "小程序新类目列表。小程序新类目列表,为三级类目。创建、修改、提审传入mini_category_ids,资质相关请参考https://opendocs.alipay.com/mini/operation/material\t",
  69857. "items" : {
  69858. "$ref" : "#/components/schemas/MiniAppCategory"
  69859. }
  69860. }
  69861. }
  69862. },
  69863. "AlipayOpenMiniCategoryRequireQueryErrorResponseModel" : {
  69864. "required" : [ "code", "message" ],
  69865. "type" : "object",
  69866. "properties" : {
  69867. "code" : {
  69868. "type" : "string",
  69869. "description" : "错误码",
  69870. "enum" : [ "CATEGORY_IS_BLANK", "PARAMETER_ERROR", "SYSTEM_ERROR", "CATEGORY_ERROR", "INVALID_PARAMS" ]
  69871. },
  69872. "links" : {
  69873. "type" : "string",
  69874. "description" : "解决方案链接"
  69875. },
  69876. "message" : {
  69877. "type" : "string",
  69878. "description" : "错误描述"
  69879. }
  69880. }
  69881. },
  69882. "AlipayOpenMiniCategoryRequireQueryModel" : {
  69883. "type" : "object",
  69884. "properties" : {
  69885. "category_code_list" : {
  69886. "type" : "array",
  69887. "description" : "类目列表,不超过五个",
  69888. "items" : {
  69889. "type" : "string"
  69890. },
  69891. "example" : "[ \"XS1001_XS2002_XS3008\",\"XS1022_XS2182\"]"
  69892. }
  69893. }
  69894. },
  69895. "AlipayOpenMiniCategoryRequireQueryResponseModel" : {
  69896. "type" : "object",
  69897. "properties" : {
  69898. "category_require_info_list" : {
  69899. "type" : "array",
  69900. "description" : "类目对应资质列表",
  69901. "items" : {
  69902. "$ref" : "#/components/schemas/CategoryRequireInfo"
  69903. }
  69904. }
  69905. }
  69906. },
  69907. "AlipayOpenMiniExperienceCancelErrorResponseModel" : {
  69908. "required" : [ "code", "message" ],
  69909. "type" : "object",
  69910. "properties" : {
  69911. "code" : {
  69912. "type" : "string",
  69913. "description" : "错误码",
  69914. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_CANCEL_WITHOUT_PACKAGED", "MINI_APP_NOT_ONLINE", "APPID_IS_BLANK", "BUNDLE_ID_NOT_EXIST", "CAN_NOT_CANCEL_EXP_WITH_INVALID_STATUS", "INVALID_PARAMS" ]
  69915. },
  69916. "links" : {
  69917. "type" : "string",
  69918. "description" : "解决方案链接"
  69919. },
  69920. "message" : {
  69921. "type" : "string",
  69922. "description" : "错误描述"
  69923. }
  69924. }
  69925. },
  69926. "AlipayOpenMiniExperienceCancelModel" : {
  69927. "type" : "object",
  69928. "properties" : {
  69929. "app_version" : {
  69930. "type" : "string",
  69931. "description" : "小程序版本号",
  69932. "example" : "0.0.1"
  69933. },
  69934. "bundle_id" : {
  69935. "type" : "string",
  69936. "description" : "小程序客户端类型,默认为支付宝端。支付宝端:com.alipay.alipaywallet,DINGDING端:com.alibaba.android.rimet,高德端:com.amap.app,天猫精灵端:com.alibaba.ailabs.genie.webapps,支付宝IOT:com.alipay.iot.xpaas",
  69937. "example" : "com.alipay.alipaywallet"
  69938. }
  69939. }
  69940. },
  69941. "AlipayOpenMiniExperienceCancelResponseModel" : {
  69942. "type" : "object"
  69943. },
  69944. "AlipayOpenMiniExperienceCreateErrorResponseModel" : {
  69945. "required" : [ "code", "message" ],
  69946. "type" : "object",
  69947. "properties" : {
  69948. "code" : {
  69949. "type" : "string",
  69950. "description" : "错误码",
  69951. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_SET_EXP_REPEAT", "CAN_NOT_SET_EXP_INVALID_STATUS", "CAN_NOT_SET_WITHOUT_SCAN_PASS", "INVALID_PARAMS", "APP_INFO_NOT_EXIST", "MINI_APP_NOT_ONLINE" ]
  69952. },
  69953. "links" : {
  69954. "type" : "string",
  69955. "description" : "解决方案链接"
  69956. },
  69957. "message" : {
  69958. "type" : "string",
  69959. "description" : "错误描述"
  69960. }
  69961. }
  69962. },
  69963. "AlipayOpenMiniExperienceCreateModel" : {
  69964. "type" : "object",
  69965. "properties" : {
  69966. "app_version" : {
  69967. "type" : "string",
  69968. "description" : "商家小程序版本号。",
  69969. "example" : "0.0.1"
  69970. },
  69971. "bundle_id" : {
  69972. "type" : "string",
  69973. "description" : "小程序客户端类型,默认为支付宝端。支持如下客户端:\tcom.alipay.alipaywallet:支付宝端;\tcom.alibaba.android.rimet:DINGDING端;\tcom.amap.app:高德端;\tcom.alibaba.ailabs.genie.webapps:天猫精灵端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
  69974. "example" : "com.alipay.alipaywallet"
  69975. }
  69976. }
  69977. },
  69978. "AlipayOpenMiniExperienceCreateResponseModel" : {
  69979. "type" : "object"
  69980. },
  69981. "AlipayOpenMiniExperienceQueryErrorResponseModel" : {
  69982. "required" : [ "code", "message" ],
  69983. "type" : "object",
  69984. "properties" : {
  69985. "code" : {
  69986. "type" : "string",
  69987. "description" : "错误码",
  69988. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "INVALID_PARAMS" ]
  69989. },
  69990. "links" : {
  69991. "type" : "string",
  69992. "description" : "解决方案链接"
  69993. },
  69994. "message" : {
  69995. "type" : "string",
  69996. "description" : "错误描述"
  69997. }
  69998. }
  69999. },
  70000. "AlipayOpenMiniExperienceQueryResponseModel" : {
  70001. "type" : "object",
  70002. "properties" : {
  70003. "exp_qr_code_url" : {
  70004. "type" : "string",
  70005. "description" : "小程序体验版二维码地址",
  70006. "example" : "https://mobilecodec.alipay.com/show.htm?code=s4x06980mfxeaok1f3zvq8d"
  70007. },
  70008. "exp_schema_url" : {
  70009. "type" : "string",
  70010. "description" : "体验版schema",
  70011. "example" : "alipays://xxx"
  70012. },
  70013. "status" : {
  70014. "type" : "string",
  70015. "description" : "体验版打包状态。状态枚举如下:\texpVersionPackged:体验版打包成功;\texpVersionPackaging:体验版打包中;\tnotExpVersion:非体验版。",
  70016. "example" : "notExpVersion"
  70017. }
  70018. }
  70019. },
  70020. "AlipayOpenMiniIndividualBusinessCertifyErrorResponseModel" : {
  70021. "required" : [ "code", "message" ],
  70022. "type" : "object",
  70023. "properties" : {
  70024. "code" : {
  70025. "type" : "string",
  70026. "description" : "错误码",
  70027. "enum" : [ "NOT_PRIVATE", "INVALID_PARAMS", "DUPLICATED_CERTIFY", "SYSTEM_ERROR", "PRIVATE_NOT_CERTIFY", "BIZ_ERROR", "INVALID_PARAMETER", "USER_NOT_EXIST" ]
  70028. },
  70029. "links" : {
  70030. "type" : "string",
  70031. "description" : "解决方案链接"
  70032. },
  70033. "message" : {
  70034. "type" : "string",
  70035. "description" : "错误描述"
  70036. }
  70037. }
  70038. },
  70039. "AlipayOpenMiniIndividualBusinessCertifyModel" : {
  70040. "type" : "object",
  70041. "properties" : {
  70042. "license_no" : {
  70043. "type" : "string",
  70044. "description" : "营业执照注册号即营业执照的编号。",
  70045. "example" : "1235234234123124234234"
  70046. },
  70047. "license_pic" : {
  70048. "type" : "string",
  70049. "description" : "营业执照图片的Base64编码字符串,图片大小不能超过2M",
  70050. "example" : "/9j/Qnl0ZUFycmF5T3V0cHV0U3RyZWFtIG91dHB1dCA9IG5ldyBCeXRlQ中间缩略Skge30="
  70051. }
  70052. }
  70053. },
  70054. "AlipayOpenMiniIndividualBusinessCertifyResponseModel" : {
  70055. "type" : "object",
  70056. "properties" : {
  70057. "certify_result" : {
  70058. "type" : "boolean",
  70059. "description" : "个体工商户认证结果,true代表认证成功,false代表认证失败",
  70060. "example" : "true"
  70061. }
  70062. }
  70063. },
  70064. "AlipayOpenMiniInnerExperienceCancelErrorResponseModel" : {
  70065. "required" : [ "code", "message" ],
  70066. "type" : "object",
  70067. "properties" : {
  70068. "code" : {
  70069. "type" : "string",
  70070. "description" : "错误码",
  70071. "enum" : [ "INNER_APP_ID_IS_BLANK", "INNER_VERSION_IS_BLANK", "INNER_APP_ORIGIN_IS_BLANK", "INNER_APP_ORIGIN_NOT_EXIT", "APPID_NOT_EXIST", "NOT_TINYAPP" ]
  70072. },
  70073. "links" : {
  70074. "type" : "string",
  70075. "description" : "解决方案链接"
  70076. },
  70077. "message" : {
  70078. "type" : "string",
  70079. "description" : "错误描述"
  70080. }
  70081. }
  70082. },
  70083. "AlipayOpenMiniInnerExperienceCancelModel" : {
  70084. "type" : "object",
  70085. "properties" : {
  70086. "app_origin" : {
  70087. "type" : "string",
  70088. "description" : "业务来源",
  70089. "example" : "alipay"
  70090. },
  70091. "app_version" : {
  70092. "type" : "string",
  70093. "description" : "小程序版本号",
  70094. "example" : "0.0.1"
  70095. },
  70096. "bundle_id" : {
  70097. "type" : "string",
  70098. "description" : "端id",
  70099. "example" : "com.alipay.alipaywallet"
  70100. },
  70101. "mini_app_id" : {
  70102. "type" : "string",
  70103. "description" : "业务小程序appid",
  70104. "example" : "2021001129671018"
  70105. },
  70106. "oid" : {
  70107. "type" : "string",
  70108. "description" : "oid",
  70109. "example" : "2088xxxxxxxxxxxx"
  70110. },
  70111. "operator_id" : {
  70112. "type" : "string",
  70113. "description" : "操作员id",
  70114. "example" : "操作员id"
  70115. }
  70116. }
  70117. },
  70118. "AlipayOpenMiniInnerExperienceCancelResponseModel" : {
  70119. "type" : "object"
  70120. },
  70121. "AlipayOpenMiniInnerMembersAddErrorResponseModel" : {
  70122. "required" : [ "code", "message" ],
  70123. "type" : "object",
  70124. "properties" : {
  70125. "code" : {
  70126. "type" : "string",
  70127. "description" : "错误码",
  70128. "enum" : [ "APPID_NOT_EXIST", "NOT_TINYAPP", "INNER_APP_ORIGIN_IS_BLANK", "INNER_APP_ORIGIN_NOT_EXIT", "INVALID_PARAMS" ]
  70129. },
  70130. "links" : {
  70131. "type" : "string",
  70132. "description" : "解决方案链接"
  70133. },
  70134. "message" : {
  70135. "type" : "string",
  70136. "description" : "错误描述"
  70137. }
  70138. }
  70139. },
  70140. "AlipayOpenMiniInnerMembersAddModel" : {
  70141. "type" : "object",
  70142. "properties" : {
  70143. "app_origin" : {
  70144. "type" : "string",
  70145. "description" : "业务来源",
  70146. "example" : "ALIPAY"
  70147. },
  70148. "domain_account" : {
  70149. "type" : "string",
  70150. "description" : "域账号(不为空时会添加联系人)",
  70151. "example" : "域账号"
  70152. },
  70153. "login_id" : {
  70154. "type" : "string",
  70155. "description" : "支付宝登陆账号",
  70156. "example" : "支付宝登陆账号"
  70157. },
  70158. "mini_app_id" : {
  70159. "type" : "string",
  70160. "description" : "业务appId",
  70161. "example" : "2021125678974521"
  70162. },
  70163. "type" : {
  70164. "type" : "string",
  70165. "description" : "成员类型",
  70166. "example" : "DEVELOPER"
  70167. }
  70168. }
  70169. },
  70170. "AlipayOpenMiniInnerMembersAddResponseModel" : {
  70171. "type" : "object"
  70172. },
  70173. "AlipayOpenMiniInnerMembersDeleteErrorResponseModel" : {
  70174. "required" : [ "code", "message" ],
  70175. "type" : "object",
  70176. "properties" : {
  70177. "code" : {
  70178. "type" : "string",
  70179. "description" : "错误码",
  70180. "enum" : [ "APPID_NOT_EXIST", "NOT_TINYAPP", "INNER_APP_ORIGIN_IS_BLANK", "INNER_APP_ORIGIN_NOT_EXIT", "INVALID_PARAMS" ]
  70181. },
  70182. "links" : {
  70183. "type" : "string",
  70184. "description" : "解决方案链接"
  70185. },
  70186. "message" : {
  70187. "type" : "string",
  70188. "description" : "错误描述"
  70189. }
  70190. }
  70191. },
  70192. "AlipayOpenMiniInnerMembersDeleteResponseModel" : {
  70193. "type" : "object"
  70194. },
  70195. "AlipayOpenMiniInnerMembersQueryErrorResponseModel" : {
  70196. "required" : [ "code", "message" ],
  70197. "type" : "object",
  70198. "properties" : {
  70199. "code" : {
  70200. "type" : "string",
  70201. "description" : "错误码",
  70202. "enum" : [ "APPID_NOT_EXIST", "NOT_TINYAPP", "INNER_APP_ORIGIN_IS_BLANK", "INNER_APP_ORIGIN_NOT_EXIT" ]
  70203. },
  70204. "links" : {
  70205. "type" : "string",
  70206. "description" : "解决方案链接"
  70207. },
  70208. "message" : {
  70209. "type" : "string",
  70210. "description" : "错误描述"
  70211. }
  70212. }
  70213. },
  70214. "AlipayOpenMiniInnerMembersQueryResponseModel" : {
  70215. "type" : "object",
  70216. "properties" : {
  70217. "open_app_operator_vo" : {
  70218. "type" : "array",
  70219. "description" : "查询结果",
  70220. "items" : {
  70221. "$ref" : "#/components/schemas/OpenAppOperatorVo"
  70222. }
  70223. }
  70224. }
  70225. },
  70226. "AlipayOpenMiniInnerappCreateErrorResponseModel" : {
  70227. "required" : [ "code", "message" ],
  70228. "type" : "object",
  70229. "properties" : {
  70230. "code" : {
  70231. "type" : "string",
  70232. "description" : "错误码",
  70233. "enum" : [ "INVALID_PARAMS_WARN", "APP_NAME_IS_BLANK", "INVALID_MINI_APP_NAME", "INVALID_MINI_APP_NAME_LENGTH", "ENGLISH_NAME_IS_BLANK", "INVALID_MINI_APP_EN_NAME", "INVALID_MINI_APP_EN_NAME_LENGTH", "SLOGAN_IS_BLANK", "INVALID_MINI_APP_SLOGAN_LENGTH", "SERVICE_TEL_IS_BLANK", "INVALID_MINI_APP_SERVICE_TEL", "CATEGORY_IS_BLANK", "CATEGORY_NUM_IS_INVALID", "APP_DESC_IS_BLANK", "MINI_APP_NAME_DUPLICATE", "MINI_APP_EN_NAME_DUPLICATE", "INVALID_CATEGORY", "INVALID_MINI_APP_DESC_LENGTH", "SUB_APPLICATION_TYPE_ERROR", "INVALID_PARAMS", "APP_ORIGIN_NOT_EXIST", "RISK_DECISION_CHECK_FAIL", "LOGO_IS_BLANK", "DESCRIPTION_IS_BLANK", "SERVICE_TEL_AND_MAIL_BOTH_BLANK", "ISV_APP_ID_IS_BLANK", "MINI_APP_ID_EXIST", "CREATE_MINI_APP_EXCEED_MAX_COUNT", "APP_ID_ILLEGAL", "APP_ID_EXIST", "INVALID_MINI_PLUGIN_NAME" ]
  70234. },
  70235. "links" : {
  70236. "type" : "string",
  70237. "description" : "解决方案链接"
  70238. },
  70239. "message" : {
  70240. "type" : "string",
  70241. "description" : "错误描述"
  70242. }
  70243. }
  70244. },
  70245. "AlipayOpenMiniInnerappCreateModel" : {
  70246. "type" : "object",
  70247. "properties" : {
  70248. "app_category_ids" : {
  70249. "type" : "string",
  70250. "description" : "小程序类目,二级类目与三级类目下划线隔开,最多可以选择3个类目,类目之间以;隔开",
  70251. "example" : "107211_107236"
  70252. },
  70253. "app_desc" : {
  70254. "type" : "string",
  70255. "description" : "小程序描述,20-200个字符",
  70256. "example" : "我的一个计算小程序,这里注意长度是20-200个字符,10-100中文字"
  70257. },
  70258. "app_english_name" : {
  70259. "type" : "string",
  70260. "description" : "小程序英文名称,插件不填",
  70261. "example" : "tinyName"
  70262. },
  70263. "app_logo" : {
  70264. "type" : "string",
  70265. "description" : "小程序logo",
  70266. "example" : "http://appstoreisvpic.alipayobjects.com/0aef2a4a-0b90-444d-916b-e8b25cd787c9.png"
  70267. },
  70268. "app_name" : {
  70269. "type" : "string",
  70270. "description" : "小程序名称",
  70271. "example" : "我的小程序"
  70272. },
  70273. "app_origin" : {
  70274. "type" : "string",
  70275. "description" : "来源的业务方,接入文档中申请的业务来源",
  70276. "example" : "AAA"
  70277. },
  70278. "app_slogan" : {
  70279. "type" : "string",
  70280. "description" : "小程序简介,在搜索透出,插件不需要填",
  70281. "example" : "我的小程序"
  70282. },
  70283. "app_sub_type" : {
  70284. "type" : "string",
  70285. "description" : "应用子类型",
  70286. "example" : "TINYAPP_NORMAL,TINYAPP_TEMPLATE,TINYAPP_PLUGIN"
  70287. },
  70288. "app_type" : {
  70289. "type" : "string",
  70290. "description" : "应用类型",
  70291. "example" : "TINYAPP"
  70292. },
  70293. "isv_app_id" : {
  70294. "type" : "string",
  70295. "description" : "三方应用ID,仅在创建模板小程序时需要传入",
  70296. "example" : "2019****"
  70297. },
  70298. "mini_app_id" : {
  70299. "type" : "string",
  70300. "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
  70301. "example" : "300*****"
  70302. },
  70303. "mini_category_ids" : {
  70304. "type" : "string",
  70305. "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query接口查询mini_category_list。使用后不再读取app_category_ids值,老前台类目将废弃",
  70306. "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
  70307. },
  70308. "pid" : {
  70309. "type" : "string",
  70310. "description" : "创建的小程序所属的PID",
  70311. "example" : "2088****"
  70312. },
  70313. "service_email" : {
  70314. "type" : "string",
  70315. "description" : "邮箱,与客服电话二选一",
  70316. "example" : "123@alibaba.cn"
  70317. },
  70318. "service_phone" : {
  70319. "type" : "string",
  70320. "description" : "客服电话,插件不需要",
  70321. "example" : "021-333333"
  70322. }
  70323. }
  70324. },
  70325. "AlipayOpenMiniInnerappCreateResponseModel" : {
  70326. "type" : "object",
  70327. "properties" : {
  70328. "mini_app_id" : {
  70329. "type" : "string",
  70330. "description" : "小程序ID",
  70331. "example" : "2018****"
  70332. }
  70333. }
  70334. },
  70335. "AlipayOpenMiniInnerappPluginOrderErrorResponseModel" : {
  70336. "required" : [ "code", "message" ],
  70337. "type" : "object",
  70338. "properties" : {
  70339. "code" : {
  70340. "type" : "string",
  70341. "description" : "错误码",
  70342. "enum" : [ "INVALID_PARAMETER", "PLUGIN_CAN_NOT_ORDER", "SYSTEM_ERROR", "APP_ORIGIN_NOT_EXIST", "INVALID_PARAMS", "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "SUB_APPLICATION_TYPE_ERROR", "NO_PERMISSION", "BIZ_ERROR" ]
  70343. },
  70344. "links" : {
  70345. "type" : "string",
  70346. "description" : "解决方案链接"
  70347. },
  70348. "message" : {
  70349. "type" : "string",
  70350. "description" : "错误描述"
  70351. }
  70352. }
  70353. },
  70354. "AlipayOpenMiniInnerappPluginOrderModel" : {
  70355. "type" : "object",
  70356. "properties" : {
  70357. "app_origin" : {
  70358. "type" : "string",
  70359. "description" : "业务来源",
  70360. "example" : "ASTORE"
  70361. },
  70362. "merchandise_id" : {
  70363. "type" : "string",
  70364. "description" : "订购的服务商品ID",
  70365. "example" : "I1060100001000050367,插件发布接口返回的商品ID"
  70366. },
  70367. "mini_app_id" : {
  70368. "type" : "string",
  70369. "description" : "一二方支持传入appId",
  70370. "example" : "123123"
  70371. },
  70372. "request_id" : {
  70373. "type" : "string",
  70374. "description" : "业务幂等号,规则为商品id+appOrigin+requestId 作为幂等流水号\t非必填,不传则默认生成一个8位requestId",
  70375. "example" : "fd434frr"
  70376. }
  70377. }
  70378. },
  70379. "AlipayOpenMiniInnerappPluginOrderResponseModel" : {
  70380. "type" : "object",
  70381. "properties" : {
  70382. "order_id" : {
  70383. "type" : "string",
  70384. "description" : "订单号",
  70385. "example" : "2018071900000015585789"
  70386. }
  70387. }
  70388. },
  70389. "AlipayOpenMiniInnerappPluginrelationQueryErrorResponseModel" : {
  70390. "required" : [ "code", "message" ],
  70391. "type" : "object",
  70392. "properties" : {
  70393. "code" : {
  70394. "type" : "string",
  70395. "description" : "错误码",
  70396. "enum" : [ "INVALID_PARAMS" ]
  70397. },
  70398. "links" : {
  70399. "type" : "string",
  70400. "description" : "解决方案链接"
  70401. },
  70402. "message" : {
  70403. "type" : "string",
  70404. "description" : "错误描述"
  70405. }
  70406. }
  70407. },
  70408. "AlipayOpenMiniInnerappPluginrelationQueryModel" : {
  70409. "type" : "object",
  70410. "properties" : {
  70411. "mini_app_id_list" : {
  70412. "type" : "array",
  70413. "description" : "应用ID列表",
  70414. "items" : {
  70415. "type" : "string"
  70416. },
  70417. "example" : "['2012211102012056','2012211102012057']"
  70418. },
  70419. "page_num" : {
  70420. "type" : "integer",
  70421. "description" : "页码",
  70422. "example" : "1"
  70423. },
  70424. "page_size" : {
  70425. "type" : "integer",
  70426. "description" : "页大小",
  70427. "example" : "10"
  70428. },
  70429. "plugin_id" : {
  70430. "type" : "string",
  70431. "description" : "插件ID",
  70432. "example" : "2012211102012088"
  70433. },
  70434. "plugin_relation_status_list" : {
  70435. "type" : "array",
  70436. "description" : "插件使用关系状态,取值包括WORKING/WAIT_WORKING/STOP_WORKING/EXECUTING",
  70437. "items" : {
  70438. "type" : "string"
  70439. },
  70440. "example" : "[\"WORKING\"]"
  70441. },
  70442. "run_model_type" : {
  70443. "type" : "string",
  70444. "description" : "运行类型,取值包括ONLINE/TRIAL/REVIEW/DEBUG",
  70445. "example" : "ONLINE"
  70446. },
  70447. "show_beta_info" : {
  70448. "type" : "boolean",
  70449. "description" : "是否展示邀测信息",
  70450. "example" : "true"
  70451. }
  70452. }
  70453. },
  70454. "AlipayOpenMiniInnerappPluginrelationQueryResponseModel" : {
  70455. "type" : "object",
  70456. "properties" : {
  70457. "page" : {
  70458. "type" : "integer",
  70459. "description" : "页码",
  70460. "example" : "1"
  70461. },
  70462. "page_size" : {
  70463. "type" : "integer",
  70464. "description" : "页大小",
  70465. "example" : "10"
  70466. },
  70467. "plugin_relation_info_list" : {
  70468. "type" : "array",
  70469. "description" : "插件关联关系信息",
  70470. "items" : {
  70471. "$ref" : "#/components/schemas/PluginUseRelationInfo"
  70472. }
  70473. },
  70474. "total_count" : {
  70475. "type" : "integer",
  70476. "description" : "总数",
  70477. "example" : "10"
  70478. }
  70479. }
  70480. },
  70481. "AlipayOpenMiniInnerappPluginservicePublishErrorResponseModel" : {
  70482. "required" : [ "code", "message" ],
  70483. "type" : "object",
  70484. "properties" : {
  70485. "code" : {
  70486. "type" : "string",
  70487. "description" : "错误码",
  70488. "enum" : [ "APP_ORIGIN_NOT_EXIST", "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "SYSTEM_ERROR", "APPID_IS_BLANK", "PUBLISH_PLUGIN_FAIL", "PLUGIN_HAS_NO_ONLINE_VERSION", "NOT_NORMAL_PLUGIN", "PUBLISH_PLUGIN_DUPLICATE_FAIL", "INVALID_SERVICE_TITLE_LENGTH", "LOGO_IS_BLANK", "INVALID_SERVICE_DESCRIPTION_LENGTH", "ABILITY_TYPE_LIST_IS_BLANK", "SELL_CROWD_INVALID", "SHOW_TYPE_INVALID", "INVALID_SERVICE_DETAIL_PC_LENGTH", "INVALID_SERVICE_DETAIL_MOBILE_LENGTH", "INVALID_PARAMS" ]
  70489. },
  70490. "links" : {
  70491. "type" : "string",
  70492. "description" : "解决方案链接"
  70493. },
  70494. "message" : {
  70495. "type" : "string",
  70496. "description" : "错误描述"
  70497. }
  70498. }
  70499. },
  70500. "AlipayOpenMiniInnerappPluginservicePublishModel" : {
  70501. "type" : "object",
  70502. "properties" : {
  70503. "ability_type_list" : {
  70504. "type" : "array",
  70505. "description" : "功能类型,目前支持的有:1039支付, 1040会员, 1041基础, 1056资金, 1058信用, 1111口碑, 330120安全, 360101营销",
  70506. "items" : {
  70507. "type" : "string"
  70508. },
  70509. "example" : "1040"
  70510. },
  70511. "app_logo" : {
  70512. "type" : "string",
  70513. "description" : "服务发布logo",
  70514. "example" : "https://appstoreisvpic.alipayobjects.com/prod/f9e291ed-0de5-4f5e-97ec-f76b8414a3e0.png"
  70515. },
  70516. "app_origin" : {
  70517. "type" : "string",
  70518. "description" : "业务来源",
  70519. "example" : "TAOBAO"
  70520. },
  70521. "description" : {
  70522. "type" : "string",
  70523. "description" : "服务描述",
  70524. "example" : "这是一段关于插件的描述"
  70525. },
  70526. "detail_for_client" : {
  70527. "type" : "string",
  70528. "description" : "移动端详情,用于能力中心展示",
  70529. "example" : "<p>client detail</p>"
  70530. },
  70531. "detail_for_pc" : {
  70532. "type" : "string",
  70533. "description" : "pc端详情,用于能力中心展示",
  70534. "example" : "<p>pc detail</p>"
  70535. },
  70536. "mini_app_id" : {
  70537. "type" : "string",
  70538. "description" : "插件id",
  70539. "example" : "2012211102012056"
  70540. },
  70541. "sell_crowd" : {
  70542. "type" : "string",
  70543. "description" : "可订购人群,1003个人, 1004企业,-1无限制",
  70544. "example" : "-1"
  70545. },
  70546. "show_type" : {
  70547. "type" : "string",
  70548. "description" : "发布后是否展示,01展示(默认)、02隐藏",
  70549. "example" : "01"
  70550. },
  70551. "title" : {
  70552. "type" : "string",
  70553. "description" : "服务标题",
  70554. "example" : "互投插件"
  70555. },
  70556. "visit_url_for_pc" : {
  70557. "type" : "string",
  70558. "description" : "pc端url地址,不需要则为空",
  70559. "example" : "https://nengli.alipay.com/abilityprod/detail?abilityCode=SM010000000000001100"
  70560. }
  70561. }
  70562. },
  70563. "AlipayOpenMiniInnerappPluginservicePublishResponseModel" : {
  70564. "type" : "object",
  70565. "properties" : {
  70566. "ability_id" : {
  70567. "type" : "string",
  70568. "description" : "PL2012211102012056",
  70569. "example" : "能力中心id"
  70570. }
  70571. }
  70572. },
  70573. "AlipayOpenMiniInnerappPluginsyncmodeModifyErrorResponseModel" : {
  70574. "required" : [ "code", "message" ],
  70575. "type" : "object",
  70576. "properties" : {
  70577. "code" : {
  70578. "type" : "string",
  70579. "description" : "错误码",
  70580. "enum" : [ "INVALID_PARAMS", "UPDATE_PLUGIN_SERVICE_FAIL", "SUB_APPLICATION_TYPE_ERROR" ]
  70581. },
  70582. "links" : {
  70583. "type" : "string",
  70584. "description" : "解决方案链接"
  70585. },
  70586. "message" : {
  70587. "type" : "string",
  70588. "description" : "错误描述"
  70589. }
  70590. }
  70591. },
  70592. "AlipayOpenMiniInnerappPluginsyncmodeModifyModel" : {
  70593. "type" : "object",
  70594. "properties" : {
  70595. "app_origin" : {
  70596. "type" : "string",
  70597. "description" : "来源",
  70598. "example" : "-"
  70599. },
  70600. "mini_app_id" : {
  70601. "type" : "string",
  70602. "description" : "小程序应用 ID,",
  70603. "example" : "2021001177654214"
  70604. },
  70605. "plugin_id" : {
  70606. "type" : "string",
  70607. "description" : "插件id",
  70608. "example" : "2021002146679702"
  70609. },
  70610. "sync_mode" : {
  70611. "type" : "string",
  70612. "description" : "模式,SYNC/NONE",
  70613. "example" : "SYNC"
  70614. }
  70615. }
  70616. },
  70617. "AlipayOpenMiniInnerappPluginsyncmodeModifyResponseModel" : {
  70618. "type" : "object"
  70619. },
  70620. "AlipayOpenMiniInnerappPluginuseconfigCancelErrorResponseModel" : {
  70621. "required" : [ "code", "message" ],
  70622. "type" : "object",
  70623. "properties" : {
  70624. "code" : {
  70625. "type" : "string",
  70626. "description" : "错误码",
  70627. "enum" : [ "CAN_NOT_GRAY_EXIST_VERSION", "CURRENT_VERSION_IS_ONLINE", "APP_INFO_NOT_EXIST", "PLUGIN_NOT_ORDERED" ]
  70628. },
  70629. "links" : {
  70630. "type" : "string",
  70631. "description" : "解决方案链接"
  70632. },
  70633. "message" : {
  70634. "type" : "string",
  70635. "description" : "错误描述"
  70636. }
  70637. }
  70638. },
  70639. "AlipayOpenMiniInnerappPluginuseconfigCancelModel" : {
  70640. "type" : "object",
  70641. "properties" : {
  70642. "app_origin" : {
  70643. "type" : "string",
  70644. "description" : "来源",
  70645. "example" : "-"
  70646. },
  70647. "bundle_id" : {
  70648. "type" : "string",
  70649. "description" : "端id",
  70650. "example" : "com.alipay.alipaywallet"
  70651. },
  70652. "mini_app_id" : {
  70653. "type" : "string",
  70654. "description" : "小程序应用 ID",
  70655. "example" : "2021002146679701"
  70656. },
  70657. "plugin_dev_version" : {
  70658. "type" : "string",
  70659. "description" : "插件研发版本",
  70660. "example" : "0.0.3"
  70661. },
  70662. "plugin_id" : {
  70663. "type" : "string",
  70664. "description" : "插件id",
  70665. "example" : "2021002146679702"
  70666. }
  70667. }
  70668. },
  70669. "AlipayOpenMiniInnerappPluginuseconfigCancelResponseModel" : {
  70670. "type" : "object"
  70671. },
  70672. "AlipayOpenMiniInnerappPluginuseconfigOnlineErrorResponseModel" : {
  70673. "required" : [ "code", "message" ],
  70674. "type" : "object",
  70675. "properties" : {
  70676. "code" : {
  70677. "type" : "string",
  70678. "description" : "错误码",
  70679. "enum" : [ "INVALID_PARAMS", "PLUGIN_NOT_ORDERED", "APP_INFO_NOT_EXIST", "CAN_NOT_GRAY_EXIST_VERSION", "CURRENT_VERSION_IS_ONLINE" ]
  70680. },
  70681. "links" : {
  70682. "type" : "string",
  70683. "description" : "解决方案链接"
  70684. },
  70685. "message" : {
  70686. "type" : "string",
  70687. "description" : "错误描述"
  70688. }
  70689. }
  70690. },
  70691. "AlipayOpenMiniInnerappPluginuseconfigOnlineModel" : {
  70692. "type" : "object",
  70693. "properties" : {
  70694. "app_origin" : {
  70695. "type" : "string",
  70696. "description" : "来源",
  70697. "example" : "-"
  70698. },
  70699. "bundle_id" : {
  70700. "type" : "string",
  70701. "description" : "端id",
  70702. "example" : "com.alipay.alipaywallet"
  70703. },
  70704. "mini_app_id" : {
  70705. "type" : "string",
  70706. "description" : "小程序应用 ID",
  70707. "example" : "2021002146679701"
  70708. },
  70709. "plugin_dev_version" : {
  70710. "type" : "string",
  70711. "description" : "插件研发版本",
  70712. "example" : "0.0.3"
  70713. },
  70714. "plugin_id" : {
  70715. "type" : "string",
  70716. "description" : "插件id",
  70717. "example" : "2021002146679702"
  70718. }
  70719. }
  70720. },
  70721. "AlipayOpenMiniInnerappPluginuseconfigOnlineResponseModel" : {
  70722. "type" : "object"
  70723. },
  70724. "AlipayOpenMiniInnerappPluginuseconfigUpgradeErrorResponseModel" : {
  70725. "required" : [ "code", "message" ],
  70726. "type" : "object",
  70727. "properties" : {
  70728. "code" : {
  70729. "type" : "string",
  70730. "description" : "错误码",
  70731. "enum" : [ "INVALID_PARAMS", "PLUGIN_NOT_ORDERED", "APP_INFO_NOT_EXIST", "CAN_NOT_GRAY_EXIST_VERSION", "CURRENT_VERSION_IS_ONLINE" ]
  70732. },
  70733. "links" : {
  70734. "type" : "string",
  70735. "description" : "解决方案链接"
  70736. },
  70737. "message" : {
  70738. "type" : "string",
  70739. "description" : "错误描述"
  70740. }
  70741. }
  70742. },
  70743. "AlipayOpenMiniInnerappPluginuseconfigUpgradeModel" : {
  70744. "type" : "object",
  70745. "properties" : {
  70746. "app_origin" : {
  70747. "type" : "string",
  70748. "description" : "来源",
  70749. "example" : "-"
  70750. },
  70751. "bundle_id" : {
  70752. "type" : "string",
  70753. "description" : "端id",
  70754. "example" : "com.alipay.alipaywallet"
  70755. },
  70756. "mini_app_id" : {
  70757. "type" : "string",
  70758. "description" : "小程序应用 ID",
  70759. "example" : "2021002146679701"
  70760. },
  70761. "plugin_dev_version" : {
  70762. "type" : "string",
  70763. "description" : "插件研发版本",
  70764. "example" : "0.0.3"
  70765. },
  70766. "plugin_id" : {
  70767. "type" : "string",
  70768. "description" : "插件id",
  70769. "example" : "2021002146679702"
  70770. },
  70771. "strategy_value" : {
  70772. "type" : "string",
  70773. "description" : "灰度值",
  70774. "example" : "p50"
  70775. }
  70776. }
  70777. },
  70778. "AlipayOpenMiniInnerappPluginuseconfigUpgradeResponseModel" : {
  70779. "type" : "object"
  70780. },
  70781. "AlipayOpenMiniInnerappServicePublishErrorResponseModel" : {
  70782. "required" : [ "code", "message" ],
  70783. "type" : "object",
  70784. "properties" : {
  70785. "code" : {
  70786. "type" : "string",
  70787. "description" : "错误码",
  70788. "enum" : [ "APP_ORIGIN_NOT_EXIST", "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "BUNDLE_ID_NOT_EXIST", "SYSTEM_ERROR" ]
  70789. },
  70790. "links" : {
  70791. "type" : "string",
  70792. "description" : "解决方案链接"
  70793. },
  70794. "message" : {
  70795. "type" : "string",
  70796. "description" : "错误描述"
  70797. }
  70798. }
  70799. },
  70800. "AlipayOpenMiniInnerappServicePublishModel" : {
  70801. "type" : "object",
  70802. "properties" : {
  70803. "app_logo" : {
  70804. "type" : "string",
  70805. "description" : "服务发布logo",
  70806. "example" : "https://appstoreisvpic.alipayobjects.com/prod/f9e291ed-0de5-4f5e-97ec-f76b8414a3e0.png"
  70807. },
  70808. "app_origin" : {
  70809. "type" : "string",
  70810. "description" : "业务来源",
  70811. "example" : "AAA"
  70812. },
  70813. "mini_app_id" : {
  70814. "type" : "string",
  70815. "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。",
  70816. "example" : "2019****"
  70817. },
  70818. "pid" : {
  70819. "type" : "string",
  70820. "description" : "小程序模板所属PID",
  70821. "example" : "2088****"
  70822. },
  70823. "sub_title" : {
  70824. "type" : "string",
  70825. "description" : "服务子标题",
  70826. "example" : "服务子标题"
  70827. },
  70828. "title" : {
  70829. "type" : "string",
  70830. "description" : "服务名称",
  70831. "example" : "服务名称"
  70832. }
  70833. }
  70834. },
  70835. "AlipayOpenMiniInnerappServicePublishResponseModel" : {
  70836. "type" : "object",
  70837. "properties" : {
  70838. "merchandise_id" : {
  70839. "type" : "string",
  70840. "description" : "服务ID",
  70841. "example" : "I1060100001000050361"
  70842. }
  70843. }
  70844. },
  70845. "AlipayOpenMiniInnerappServiceQueryErrorResponseModel" : {
  70846. "required" : [ "code", "message" ],
  70847. "type" : "object",
  70848. "properties" : {
  70849. "code" : {
  70850. "type" : "string",
  70851. "description" : "错误码",
  70852. "enum" : [ "INVALID_PAGE_NUM", "INVALID_PAGE_SIZE", "INVALID_PARAMS", "BIZ_ERROR", "APP_ORIGIN_NOT_EXIST" ]
  70853. },
  70854. "links" : {
  70855. "type" : "string",
  70856. "description" : "解决方案链接"
  70857. },
  70858. "message" : {
  70859. "type" : "string",
  70860. "description" : "错误描述"
  70861. }
  70862. }
  70863. },
  70864. "AlipayOpenMiniInnerappServiceQueryResponseModel" : {
  70865. "type" : "object",
  70866. "properties" : {
  70867. "mini_app_service_info_list" : {
  70868. "type" : "array",
  70869. "description" : "小程序服务信息",
  70870. "items" : {
  70871. "$ref" : "#/components/schemas/MiniAppServiceInfo"
  70872. }
  70873. },
  70874. "page" : {
  70875. "type" : "integer",
  70876. "description" : "当前页数",
  70877. "example" : "1"
  70878. },
  70879. "page_size" : {
  70880. "type" : "integer",
  70881. "description" : "页大小",
  70882. "example" : "10"
  70883. },
  70884. "total_count" : {
  70885. "type" : "integer",
  70886. "description" : "总数",
  70887. "example" : "100"
  70888. }
  70889. }
  70890. },
  70891. "AlipayOpenMiniInnerbaseinfoApplogoUploadErrorResponseModel" : {
  70892. "required" : [ "code", "message" ],
  70893. "type" : "object",
  70894. "properties" : {
  70895. "code" : {
  70896. "type" : "string",
  70897. "description" : "错误码",
  70898. "enum" : [ "INVALID_LOGO_EXT", "LOGO_IS_BLANK", "LOGO_SIZE_EXCEED", "LOGO_HEIGHT_NOT_EQUAL_WIDTH" ]
  70899. },
  70900. "links" : {
  70901. "type" : "string",
  70902. "description" : "解决方案链接"
  70903. },
  70904. "message" : {
  70905. "type" : "string",
  70906. "description" : "错误描述"
  70907. }
  70908. }
  70909. },
  70910. "AlipayOpenMiniInnerbaseinfoApplogoUploadModel" : {
  70911. "type" : "object"
  70912. },
  70913. "AlipayOpenMiniInnerbaseinfoApplogoUploadResponseModel" : {
  70914. "type" : "object",
  70915. "properties" : {
  70916. "app_logo" : {
  70917. "type" : "string",
  70918. "description" : "上传图片结果地址。\t图片要求:\t1、不能超过256kb 2、支持的图片格式为jpg、jpeg、png 3、长宽比例必须为为1:1",
  70919. "example" : "http://appstoreisvpic.alipayobjects.com/6c19accf-1343-4c5d-be62-3964144b3944.png"
  70920. }
  70921. }
  70922. },
  70923. "AlipayOpenMiniInnerbaseinfoQueryErrorResponseModel" : {
  70924. "required" : [ "code", "message" ],
  70925. "type" : "object",
  70926. "properties" : {
  70927. "code" : {
  70928. "type" : "string",
  70929. "description" : "错误码",
  70930. "enum" : [ "APPID_IS_BLANK", "APP_INFO_NOT_EXIST", "DEVELOPER_INFO_NOT_EXIST", "SYSTEM_ERROR", "MERCHANT_NOT_EXESIT", "INVALID_PARAMS" ]
  70931. },
  70932. "links" : {
  70933. "type" : "string",
  70934. "description" : "解决方案链接"
  70935. },
  70936. "message" : {
  70937. "type" : "string",
  70938. "description" : "错误描述"
  70939. }
  70940. }
  70941. },
  70942. "AlipayOpenMiniInnerbaseinfoQueryResponseModel" : {
  70943. "type" : "object",
  70944. "properties" : {
  70945. "app_alias_name" : {
  70946. "type" : "string",
  70947. "description" : "小程序别名,简称",
  70948. "example" : "小程序别名,简称"
  70949. },
  70950. "app_category_ids" : {
  70951. "type" : "string",
  70952. "description" : "类目Id列表",
  70953. "example" : "107209_107226;107209_107227"
  70954. },
  70955. "app_desc" : {
  70956. "type" : "string",
  70957. "description" : "小程序应用描述",
  70958. "example" : "小程序官方示例Demo,展示已支持的接口能力及组件。"
  70959. },
  70960. "app_english_name" : {
  70961. "type" : "string",
  70962. "description" : "小程序英文名称",
  70963. "example" : "tinyapp"
  70964. },
  70965. "app_key" : {
  70966. "type" : "string",
  70967. "description" : "手淘开放平台鉴权key,支付宝不需要",
  70968. "example" : "test"
  70969. },
  70970. "app_logo" : {
  70971. "type" : "string",
  70972. "description" : "小程序应用logo图标",
  70973. "example" : "https://appstoreisvpic.alipayobjects.com/prod/04843e84-f1fd-4717-a230-1c72de99aa5d.png"
  70974. },
  70975. "app_name" : {
  70976. "type" : "string",
  70977. "description" : "小程序名称",
  70978. "example" : "小程序名称"
  70979. },
  70980. "app_slogan" : {
  70981. "type" : "string",
  70982. "description" : "小程序简介",
  70983. "example" : "小程序简介"
  70984. },
  70985. "app_sub_type" : {
  70986. "type" : "string",
  70987. "description" : "小程序类型,TINYAPP_TEMPLATE,TINYAPP_NORMAL,TINYAPP_PLUGIN",
  70988. "example" : "TINYAPP_TEMPLATE"
  70989. },
  70990. "dev_id" : {
  70991. "type" : "string",
  70992. "description" : "小程序所属主体信息",
  70993. "example" : "2088301139347331"
  70994. },
  70995. "gmt_create" : {
  70996. "type" : "string",
  70997. "description" : "小程序主体创建时间",
  70998. "example" : "2017-12-12 12:00:00"
  70999. },
  71000. "gmt_modified" : {
  71001. "type" : "string",
  71002. "description" : "小程序主体更新时间",
  71003. "example" : "2017-12-12 12:00:00"
  71004. },
  71005. "mini_app_id" : {
  71006. "type" : "string",
  71007. "description" : "小程序Id",
  71008. "example" : "3000000000001501"
  71009. },
  71010. "mini_category_ids" : {
  71011. "type" : "string",
  71012. "description" : "新小程序前台类目,一级与二级、三级用下划线隔开,最多可以选四个类目,类目之间;隔开。使用后不再读取app_category_ids值,老前台类目将废弃",
  71013. "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
  71014. },
  71015. "origin" : {
  71016. "type" : "string",
  71017. "description" : "应用创建来源,alipay = 支付宝,taobao = 淘宝",
  71018. "example" : "alipay"
  71019. },
  71020. "owner_entity" : {
  71021. "type" : "string",
  71022. "description" : "小程序主体信息",
  71023. "example" : "0001"
  71024. },
  71025. "owner_portrait" : {
  71026. "type" : "string",
  71027. "description" : "小程序主体头像信息",
  71028. "example" : "http://www.alipay.icon.com"
  71029. },
  71030. "plugin_refresh_type" : {
  71031. "type" : "string",
  71032. "description" : "AUTO/自动更新、MANUAL/手动更新",
  71033. "example" : "MANUAL"
  71034. },
  71035. "service_email" : {
  71036. "type" : "string",
  71037. "description" : "小程序客服邮箱",
  71038. "example" : "example@mail.com"
  71039. },
  71040. "service_phone" : {
  71041. "type" : "string",
  71042. "description" : "小程序客服电话",
  71043. "example" : "13110101010"
  71044. }
  71045. }
  71046. },
  71047. "AlipayOpenMiniInnerversionAuditCancelErrorResponseModel" : {
  71048. "required" : [ "code", "message" ],
  71049. "type" : "object",
  71050. "properties" : {
  71051. "code" : {
  71052. "type" : "string",
  71053. "description" : "错误码",
  71054. "enum" : [ "APPID_IS_BLANK", "VERSION_IS_BLANK", "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "TINYAPP_STATUS_INVALID", "MULTI_CLIENT_NOT_PACKAGED_STATUS", "APPSTORE_RPC_INVOKE_ERROR", "NO_PERMISSION", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST" ]
  71055. },
  71056. "links" : {
  71057. "type" : "string",
  71058. "description" : "解决方案链接"
  71059. },
  71060. "message" : {
  71061. "type" : "string",
  71062. "description" : "错误描述"
  71063. }
  71064. }
  71065. },
  71066. "AlipayOpenMiniInnerversionAuditCancelModel" : {
  71067. "type" : "object",
  71068. "properties" : {
  71069. "app_origin" : {
  71070. "type" : "string",
  71071. "description" : "业务来源",
  71072. "example" : "AAA"
  71073. },
  71074. "app_version" : {
  71075. "type" : "string",
  71076. "description" : "小程序版本",
  71077. "example" : "0.0.1"
  71078. },
  71079. "bundle_id" : {
  71080. "type" : "string",
  71081. "description" : "端信息",
  71082. "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
  71083. },
  71084. "mini_app_id" : {
  71085. "type" : "string",
  71086. "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
  71087. "example" : "2019****"
  71088. },
  71089. "pid" : {
  71090. "type" : "string",
  71091. "description" : "小程序所属PID",
  71092. "example" : "2088****"
  71093. }
  71094. }
  71095. },
  71096. "AlipayOpenMiniInnerversionAuditCancelResponseModel" : {
  71097. "type" : "object"
  71098. },
  71099. "AlipayOpenMiniInnerversionAuditSubmitErrorResponseModel" : {
  71100. "required" : [ "code", "message" ],
  71101. "type" : "object",
  71102. "properties" : {
  71103. "code" : {
  71104. "type" : "string",
  71105. "description" : "错误码",
  71106. "enum" : [ "INVALID_MINI_APP_NAME_LENGTH", "SPECIAL_LICENSE_PICS_ARE_BLANK", "INVALID_MINI_APP_NAME", "INVALID_MINI_APP_EN_NAME", "INVALID_MINI_APP_EN_NAME_LENGTH", "INVALID_MINI_APP_SLOGAN", "SERVICE_TEL_AND_MAIL_BOTH_BLANK", "INVALID_MINI_APP_SERVICE_TEL", "INVALID_MINI_APP_SERVICE_MAIL", "CATEGORY_NUM_IS_INVALID", "CATEGORY_IS_BLANK", "APP_DESC_IS_BLANK", "INVALID_MINI_APP_DESC_LENGTH", "INVALID_MINI_APP_DESC", "APP_VERSION_IS_BLANK", "VERSION_DESC_IS_BLANK", "INVALID_VERSION_DESC_LENGTH", "INVALID_MINI_APP_VERSION_DESC", "SCREEN_SHOTS_ARE_BLANK", "SCREEN_SHOT_NUM_IS_INVALID", "INVALID_MINI_APP_MEMO_LENGTH", "APPLICATION_TYPE_NOT_MINIAPP", "INVALID_MINI_APP_SAFE_DOMAIN", "CAN_NOT_SUBMIT_WITH_ALI_CLOUD", "MINI_APP_NAME_DUPLICATE", "MINI_APP_EN_NAME_DUPLICATE", "INVALID_CATEGORY", "MINI_APP_NAME_SENSITIVE", "MINI_APP_EN_NAME_SENSITIVE", "MINI_APP_SLOGAN_SENSITIVE", "MINI_APP_MEMO_SENSITIVE", "MINI_APP_DESC_SENSITIVE", "MINI_APP_SERVICE_MAIL_SENSITIVE", "MINI_APP_VERSION_DESC_SENSITIVE", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_MODIFY_NAME_ONCE_ONLINE", "CAN_NOT_MODIFY_EN_ONCE_ONLINE", "MODIFY_SLOGAN_EXCEED_COUNT", "MODIFY_CATEGORY_ID_EXCEED_COUNT", "MODIFY_DESC_EXCEED_COUNT", "CAN_NOT_SUBMIT_WITH_AUDIT", "CAN_NOT_SUBMIT_WITHOUT_INIT", "CAN_NOT_SUBMIT_WITHOUT_SCAN_PASS", "CAN_NOT_SUBMIT_WITH_AUDIT_GRAY", "EXIST_LARGER_ONLINED_VERSION", "LICENSE_NO_IS_BLANK", "LICENSE_VALID_DATE_IS_BLANK", "LICENSE_VALID_DATE_IS_INVALID", "OUT_DOOR_PIC_IS_BLANK", "LICENSE_PICS_ARE_BLANK", "LICENSE_PIC_NUM_IS_INVALID", "LICENSE_CHECK_FAIL", "LOGO_HEIGHT_NOT_EQUAL_WIDTH", "INVALID_SCREEN_SHOT_EXT", "SCREEN_SHOT_EXCEED_MAX_SIZE", "INVALID_LICENSE_PIC_EXT", "LICENSE_PIC_EXCEED_MAX_SIZE", "INVALID_OUT_DOOR_PIC_EXT", "OUT_DOOR_PIC_EXCEED_MAX_SIZE", "LOGO_EXCEED_MAX_SIZE", "INVALID_LOGO_EXT", "INVALID_PARAMS", "INVALID_LOGO", "INVALID_IMAGE", "RISK_DECISION_CHECK_FAIL", "TINY_APP_AUDIT_NOT_PERMIT", "APP_ORIGIN_NOT_EXIST", "DEFAULT_LOGO", "SLOGAN_IS_BLANK", "INVALID_PARAMETER" ]
  71107. },
  71108. "links" : {
  71109. "type" : "string",
  71110. "description" : "解决方案链接"
  71111. },
  71112. "message" : {
  71113. "type" : "string",
  71114. "description" : "错误描述"
  71115. }
  71116. }
  71117. },
  71118. "AlipayOpenMiniInnerversionAuditSubmitModel" : {
  71119. "type" : "object",
  71120. "properties" : {
  71121. "app_category_ids" : {
  71122. "type" : "string",
  71123. "description" : "小程序类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目,详细类目可以参考<a href=‘https://opendocs.alipay.com/b/03al2m’>开放服务类目</a>,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。",
  71124. "example" : "107211_ 107427"
  71125. },
  71126. "app_desc" : {
  71127. "type" : "string",
  71128. "description" : "小程序应用描述,20-200个字,如果不填默认采用当前小程序的应用描述",
  71129. "example" : "这是一个小程序的描述这是一个小程序的描述这是一个小程序的描述这是一个小程序的描述"
  71130. },
  71131. "app_english_name" : {
  71132. "type" : "string",
  71133. "description" : "小程序应用英文名称,如果不填默认采用当前小程序应用英文名称,3~30个字符。插件不填",
  71134. "example" : "demoenname"
  71135. },
  71136. "app_logo" : {
  71137. "type" : "string",
  71138. "description" : "小程序logo图标,图片格式必须为:png、jpeg、jpg,比例必须为1:1,建议上传像素为180*180,不超过256kb, 如果不填默认采用当前小程序应用logo图标",
  71139. "example" : "https://appstoreisvpic.alipayobjects.com/prod/f9e291ed-0de5-4f5e-97ec-f76b8414a3e0.png"
  71140. },
  71141. "app_name" : {
  71142. "type" : "string",
  71143. "description" : "小程序应用名称,如果不填默认采用当前小程序应用名称,名称3-40个字符,一个中文算两个字符",
  71144. "example" : "XXX的应用"
  71145. },
  71146. "app_origin" : {
  71147. "type" : "string",
  71148. "description" : "来源类型,新接入方需要向支付宝申请专用来源,否则不予接入,申请方式请参见接入手册。",
  71149. "example" : "AAA"
  71150. },
  71151. "app_slogan" : {
  71152. "type" : "string",
  71153. "description" : "小程序应用简介,一句话描述小程序功能,如果不填默认采用当前小程序应用简介,10~32个字符",
  71154. "example" : "示例slogan"
  71155. },
  71156. "app_version" : {
  71157. "type" : "string",
  71158. "description" : "需要提交审核的小程序版本号,格式为: x.y.z,其中x、y、z均为整型数字,一个应用最多只能有一个审核中、审核通过或者审核驳回的版本。",
  71159. "example" : "0.0.1"
  71160. },
  71161. "bundle_id" : {
  71162. "type" : "string",
  71163. "description" : "端ID,多端场景下区分不同端",
  71164. "example" : "com.alipay.alipaywallet"
  71165. },
  71166. "license_info" : {
  71167. "$ref" : "#/components/schemas/AuditLicenseInfo"
  71168. },
  71169. "memo" : {
  71170. "type" : "string",
  71171. "description" : "小程序备注",
  71172. "example" : "小程序备注示例"
  71173. },
  71174. "mini_app_id" : {
  71175. "type" : "string",
  71176. "description" : "小程序ID,特殊场景专用,普通业务方无需关注该参数。",
  71177. "example" : "2019051464523527"
  71178. },
  71179. "mini_category_ids" : {
  71180. "type" : "string",
  71181. "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 <a href='https://opendocs.alipay.com/mini/03l8c6'>alipay.open.mini.category.query</a>(小程序类目树查询接口)查询mini_category_list,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。使用后不再读取app_category_ids值,老前台类目将废弃",
  71182. "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
  71183. },
  71184. "open_id" : {
  71185. "type" : "string",
  71186. "description" : "小程序所属PID",
  71187. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  71188. },
  71189. "out_door_pic" : {
  71190. "type" : "string",
  71191. "description" : "门头照图片地址,部分小程序类目需要提交,参照 <a href=‘https://opendocs.alipay.com/b/03al2m’>开放服务类目</a> 中是否需要营业执照信息,如果不填默认采用当前小程序门头照图片",
  71192. "example" : "https://appstoreisvpic.alipayobjects.com/prod/c74a6310-4695-48d7-8f1b-4e5cc11c7615.jpg"
  71193. },
  71194. "pid" : {
  71195. "type" : "string",
  71196. "description" : "小程序所属PID",
  71197. "example" : "2088****"
  71198. },
  71199. "screen_shot_list" : {
  71200. "type" : "array",
  71201. "description" : "小程序应用截图列表,逗号分割,需要2-5张图片,单张图片不能超过4MB,图片格式只支持jpg,png;通过模板实例化小程序不需要传递此参数。",
  71202. "items" : {
  71203. "type" : "string"
  71204. },
  71205. "example" : "https://appstoreisvpic.alipayobjects.com/prod/c74a6310-4695-48d7-8f1b-4e5cc11c7615.jpg,https://app.alipayobjects.com/ss.jpg"
  71206. },
  71207. "service_email" : {
  71208. "type" : "string",
  71209. "description" : "小程序客服邮箱,如果不填默认采用当前小程序的应用客服邮箱,和客服电话至少填写一个",
  71210. "example" : "example@mail.com"
  71211. },
  71212. "service_phone" : {
  71213. "type" : "string",
  71214. "description" : "小程序客服电话,如果不填默认采用当前小程序的应用客服电话,和客服邮箱至少填写一个。插件不填",
  71215. "example" : "13110101010"
  71216. },
  71217. "special_license_pic_list" : {
  71218. "type" : "string",
  71219. "description" : "特殊资质图片地址列表,逗号分隔;部分类目需要特殊资质,如果需要特殊资质,最少一张,最多三张。模板和插件不需要特殊资质",
  71220. "example" : "https://appstoreisvpic.alipayobjects.com/prod/c74a6310-4695-48d7-8f1b-4e5cc11c7615.jpg,https://appstoreisvpic.alipayobjects.com/prod/c74a6310-4695-48d7-8f1b-4e5cc11c7615.jpg"
  71221. },
  71222. "version_desc" : {
  71223. "type" : "string",
  71224. "description" : "小程序版本变更描述,30-500个字符,区分于app_desc",
  71225. "example" : "本版本主要新增了XXX功能:1、xxxxxxx; 2、xxxxxx;修复了XXXbug:1、xxxxxx;2、xxxxxx"
  71226. }
  71227. }
  71228. },
  71229. "AlipayOpenMiniInnerversionAuditSubmitResponseModel" : {
  71230. "type" : "object"
  71231. },
  71232. "AlipayOpenMiniInnerversionBackdevPublishErrorResponseModel" : {
  71233. "required" : [ "code", "message" ],
  71234. "type" : "object",
  71235. "properties" : {
  71236. "code" : {
  71237. "type" : "string",
  71238. "description" : "错误码",
  71239. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_BACK_DEV_WITHOUT_AUDIT", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "APP_INFO_NOT_EXIST" ]
  71240. },
  71241. "links" : {
  71242. "type" : "string",
  71243. "description" : "解决方案链接"
  71244. },
  71245. "message" : {
  71246. "type" : "string",
  71247. "description" : "错误描述"
  71248. }
  71249. }
  71250. },
  71251. "AlipayOpenMiniInnerversionBackdevPublishModel" : {
  71252. "type" : "object",
  71253. "properties" : {
  71254. "app_origin" : {
  71255. "type" : "string",
  71256. "description" : "业务来源",
  71257. "example" : "AAA"
  71258. },
  71259. "app_version" : {
  71260. "type" : "string",
  71261. "description" : "小程序版本",
  71262. "example" : "0.0.1"
  71263. },
  71264. "bundle_id" : {
  71265. "type" : "string",
  71266. "description" : "端信息",
  71267. "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
  71268. },
  71269. "mini_app_id" : {
  71270. "type" : "string",
  71271. "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
  71272. "example" : "2019****"
  71273. },
  71274. "pid" : {
  71275. "type" : "string",
  71276. "description" : "小程序所属PID",
  71277. "example" : "2088****"
  71278. }
  71279. }
  71280. },
  71281. "AlipayOpenMiniInnerversionBackdevPublishResponseModel" : {
  71282. "type" : "object"
  71283. },
  71284. "AlipayOpenMiniInnerversionBetaConfirmErrorResponseModel" : {
  71285. "required" : [ "code", "message" ],
  71286. "type" : "object",
  71287. "properties" : {
  71288. "code" : {
  71289. "type" : "string",
  71290. "description" : "错误码",
  71291. "enum" : [ "SYSTEM_ERROR", "PLUGIN_BETA_RELATION_NOT_EXIST" ]
  71292. },
  71293. "links" : {
  71294. "type" : "string",
  71295. "description" : "解决方案链接"
  71296. },
  71297. "message" : {
  71298. "type" : "string",
  71299. "description" : "错误描述"
  71300. }
  71301. }
  71302. },
  71303. "AlipayOpenMiniInnerversionBetaConfirmModel" : {
  71304. "type" : "object",
  71305. "properties" : {
  71306. "app_origin" : {
  71307. "type" : "string",
  71308. "description" : "业务来源",
  71309. "example" : "AAA"
  71310. },
  71311. "memo" : {
  71312. "type" : "string",
  71313. "description" : "拒绝理由",
  71314. "example" : "业务验证不通过"
  71315. },
  71316. "mini_app_id" : {
  71317. "type" : "string",
  71318. "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
  71319. "example" : "2019*****"
  71320. },
  71321. "operate" : {
  71322. "type" : "string",
  71323. "description" : "操作:pass/reject。接受或者拒绝",
  71324. "example" : "pass"
  71325. },
  71326. "pid" : {
  71327. "type" : "string",
  71328. "description" : "小程序所属PID",
  71329. "example" : "2088****"
  71330. },
  71331. "plugin_id" : {
  71332. "type" : "string",
  71333. "description" : "要确认邀测结果的插件appid",
  71334. "example" : "2019*****"
  71335. }
  71336. }
  71337. },
  71338. "AlipayOpenMiniInnerversionBetaConfirmResponseModel" : {
  71339. "type" : "object"
  71340. },
  71341. "AlipayOpenMiniInnerversionBetainfoQueryErrorResponseModel" : {
  71342. "required" : [ "code", "message" ],
  71343. "type" : "object",
  71344. "properties" : {
  71345. "code" : {
  71346. "type" : "string",
  71347. "description" : "错误码",
  71348. "enum" : [ "SYSTEM_ERROR", "PACKAGE_VERSION_IS_BLANK", "PLUGINID_IS_BLANK", "APP_ORIGIN_NOT_EXIST" ]
  71349. },
  71350. "links" : {
  71351. "type" : "string",
  71352. "description" : "解决方案链接"
  71353. },
  71354. "message" : {
  71355. "type" : "string",
  71356. "description" : "错误描述"
  71357. }
  71358. }
  71359. },
  71360. "AlipayOpenMiniInnerversionBetainfoQueryResponseModel" : {
  71361. "type" : "object",
  71362. "properties" : {
  71363. "plugin_beta_item_list" : {
  71364. "type" : "array",
  71365. "description" : "邀测结果列表",
  71366. "items" : {
  71367. "$ref" : "#/components/schemas/PluginBetaItemInfo"
  71368. }
  71369. },
  71370. "status" : {
  71371. "type" : "string",
  71372. "description" : "邀测状态,待确认WAITCHECK/确认CHECKED/拒绝REJECT",
  71373. "example" : "WAITCHECK"
  71374. }
  71375. }
  71376. },
  71377. "AlipayOpenMiniInnerversionBuildauditSubmitErrorResponseModel" : {
  71378. "required" : [ "code", "message" ],
  71379. "type" : "object",
  71380. "properties" : {
  71381. "code" : {
  71382. "type" : "string",
  71383. "description" : "错误码",
  71384. "enum" : [ "INVALID_MINI_APP_NAME_LENGTH", "SPECIAL_LICENSE_PICS_ARE_BLANK", "INVALID_MINI_APP_NAME", "INVALID_MINI_APP_EN_NAME", "INVALID_MINI_APP_EN_NAME_LENGTH", "INVALID_MINI_APP_SLOGAN", "SERVICE_TEL_AND_MAIL_BOTH_BLANK", "INVALID_MINI_APP_SERVICE_TEL", "CATEGORY_NUM_IS_INVALID", "CATEGORY_IS_BLANK", "APP_DESC_IS_BLANK", "INVALID_MINI_APP_DESC_LENGTH", "INVALID_MINI_APP_DESC", "APP_VERSION_IS_BLANK", "VERSION_DESC_IS_BLANK", "INVALID_VERSION_DESC_LENGTH", "INVALID_MINI_APP_VERSION_DESC", "SCREEN_SHOTS_ARE_BLANK", "SCREEN_SHOT_NUM_IS_INVALID", "INVALID_MINI_APP_MEMO_LENGTH", "APPLICATION_TYPE_NOT_MINIAPP", "INVALID_MINI_APP_SAFE_DOMAIN", "CAN_NOT_SUBMIT_WITH_ALI_CLOUD", "MINI_APP_NAME_DUPLICATE", "MINI_APP_EN_NAME_DUPLICATE", "INVALID_CATEGORY", "INVALID_REGION", "MINI_APP_NAME_SENSITIVE", "MINI_APP_EN_NAME_SENSITIVE", "MINI_APP_SLOGAN_SENSITIVE", "MINI_APP_MEMO_SENSITIVE", "MINI_APP_DESC_SENSITIVE", "MINI_APP_SERVICE_MAIL_SENSITIVE", "MINI_APP_VERSION_DESC_SENSITIVE", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_MODIFY_NAME_ONCE_ONLINE", "CAN_NOT_MODIFY_EN_ONCE_ONLINE", "MODIFY_SLOGAN_EXCEED_COUNT", "MODIFY_CATEGORY_ID_EXCEED_COUNT", "MODIFY_DESC_EXCEED_COUNT", "CAN_NOT_SUBMIT_WITH_AUDIT", "CAN_NOT_SUBMIT_WITHOUT_INIT", "CAN_NOT_SUBMIT_WITHOUT_SCAN_PASS", "CAN_NOT_SUBMIT_WITH_AUDIT_GRAY", "EXIST_LARGER_ONLINED_VERSION", "LICENSE_NO_IS_BLANK", "LICENSE_VALID_DATE_IS_BLANK", "LICENSE_VALID_DATE_IS_INVALID", "OUT_DOOR_PIC_IS_BLANK", "LICENSE_PICS_ARE_BLANK", "LICENSE_PIC_NUM_IS_INVALID", "LICENSE_CHECK_FAIL", "LOGO_HEIGHT_NOT_EQUAL_WIDTH", "INVALID_SCREEN_SHOT_EXT", "SCREEN_SHOT_EXCEED_MAX_SIZE", "INVALID_LICENSE_PIC_EXT", "LICENSE_PIC_EXCEED_MAX_SIZE", "INVALID_OUT_DOOR_PIC_EXT", "OUT_DOOR_PIC_EXCEED_MAX_SIZE", "LOGO_EXCEED_MAX_SIZE", "INVALID_LOGO_EXT", "INVALID_PARAMS", "INVALID_LOGO", "INVALID_IMAGE", "RISK_DECISION_CHECK_FAIL", "TINY_APP_AUDIT_NOT_PERMIT", "RISK_DECISION_HIT_BRAND", "BRAND_TORT_NOT_END", "SYSTEM_ERROR", "MINI_APP_INFO_AUDIT_CONTAINS", "DEFAULT_LOGO" ]
  71385. },
  71386. "links" : {
  71387. "type" : "string",
  71388. "description" : "解决方案链接"
  71389. },
  71390. "message" : {
  71391. "type" : "string",
  71392. "description" : "错误描述"
  71393. }
  71394. }
  71395. },
  71396. "AlipayOpenMiniInnerversionBuildauditSubmitModel" : {
  71397. "type" : "object",
  71398. "properties" : {
  71399. "app_category_ids" : {
  71400. "type" : "string",
  71401. "description" : "小程序类目,可不传,不传取基础信息中的小程序类目",
  71402. "example" : "107209_107226"
  71403. },
  71404. "app_desc" : {
  71405. "type" : "string",
  71406. "description" : "小程序描述,可不传,不传取基础信息中的小程序描述",
  71407. "example" : "小程序描述"
  71408. },
  71409. "app_english_name" : {
  71410. "type" : "string",
  71411. "description" : "小程序在从未上架过版本之前,英文名称是可以修改的,该字段用于在提交审核时候修改小程序英文名称。注意:小程序一旦有过上架版本之后就不可以修改英文名称。",
  71412. "example" : "小程序英文名称"
  71413. },
  71414. "app_logo" : {
  71415. "type" : "string",
  71416. "description" : "小程序logo,可不传,不传取基础信息中的小程序logo,请调用专用的logo上传接口上传logo文件,并将返回的地址作为本字段传入",
  71417. "example" : "https://appstoreisvpic.alipayobjects.com/prod/e2bcf04b-da46-4b7f-a020-e9d224df7689.png"
  71418. },
  71419. "app_name" : {
  71420. "type" : "string",
  71421. "description" : "小程序在从未上架过版本之前,中文名称是可以修改的,该字段用于在提交审核时候修改小程序中文名称。注意:小程序一旦有过上架版本之后就不可以修改中文名称。",
  71422. "example" : "小程序名称"
  71423. },
  71424. "app_origin" : {
  71425. "type" : "string",
  71426. "description" : "来源类型,新接入方需要向支付宝申请专用来源,否则不予接入,申请方式请参见接入手册。",
  71427. "example" : "AAA"
  71428. },
  71429. "app_slogan" : {
  71430. "type" : "string",
  71431. "description" : "小程序应用简介,一句话描述小程序功能,如果不填默认采用当前小程序应用简介,10~32个字符",
  71432. "example" : "小程序简介"
  71433. },
  71434. "app_version" : {
  71435. "type" : "string",
  71436. "description" : "小程序版本号",
  71437. "example" : "1.0.1"
  71438. },
  71439. "build_ext" : {
  71440. "type" : "string",
  71441. "description" : "构建扩展参数",
  71442. "example" : "{\"ext\":{\"appId\":\"2019********\",\"pid\":\"2088*******\"},\"extEnable\":true}"
  71443. },
  71444. "bundle_id" : {
  71445. "type" : "string",
  71446. "description" : "端信息",
  71447. "example" : "com.alipay.alipaywallet"
  71448. },
  71449. "isv_app_id" : {
  71450. "type" : "string",
  71451. "description" : "三方应用ID",
  71452. "example" : "2018********"
  71453. },
  71454. "license_info" : {
  71455. "$ref" : "#/components/schemas/AuditLicenseInfo"
  71456. },
  71457. "mini_app_id" : {
  71458. "type" : "string",
  71459. "description" : "小程序ID,特殊场景专用,普通业务方无需关注该参数。",
  71460. "example" : "2018********"
  71461. },
  71462. "mini_category_ids" : {
  71463. "type" : "string",
  71464. "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query接口查询mini_category_list,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。使用后不再读取app_category_ids值,老前台类目将废弃",
  71465. "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
  71466. },
  71467. "pid" : {
  71468. "type" : "string",
  71469. "description" : "小程序开发者ID,可不传,不传取基础信息中的小程序开发者ID",
  71470. "example" : "2088********"
  71471. },
  71472. "region_type" : {
  71473. "type" : "string",
  71474. "description" : "服务区域类型,可不传,不传取基础信息中的小程序服务区域类型",
  71475. "example" : "GLOBAL"
  71476. },
  71477. "screen_shot_list" : {
  71478. "type" : "string",
  71479. "description" : "版本截图,最少2张,最多5张,必传",
  71480. "example" : "https://appstoreisvpic.alipayobjects.com/prod/e2bcf04b-da46-4b7f-a020-e9d224df7689.png,https://appstoreisvpic.alipayobjects.com/prod/e2bcf04b-da46-4b7f-a020-e9d224df7689.png"
  71481. },
  71482. "service_phone" : {
  71483. "type" : "string",
  71484. "description" : "客服电话,可不传,不传取基础信息中的小程序客服电话",
  71485. "example" : "021-2222222"
  71486. },
  71487. "special_license_pic_list" : {
  71488. "type" : "string",
  71489. "description" : "特殊资质图片地址列表,逗号分割,",
  71490. "example" : "https://appstoreisvpic.alipayobjects.com/prod/f2e32236-b537-405b-8764-613ea50c2f6b.png,https://appstoreisvpic.alipayobjects.com/prod/f2e32236-b537-405b-8764-613ea50c2f6b.png"
  71491. },
  71492. "template_id" : {
  71493. "type" : "string",
  71494. "description" : "小程序模板ID",
  71495. "example" : "2018********"
  71496. },
  71497. "template_version" : {
  71498. "type" : "string",
  71499. "description" : "模板的版本号,如果不填写,则默认用模板当前最新的在架版本",
  71500. "example" : "1.0.0"
  71501. },
  71502. "version_desc" : {
  71503. "type" : "string",
  71504. "description" : "小程序版本描述,30-500个字符,一个中文占两个字符,一个英文或者数字占一个字符",
  71505. "example" : "本版本新增了XXX功能,修复了XXXbug,解决了XXX问题,欢迎大家体验提出意见。"
  71506. }
  71507. }
  71508. },
  71509. "AlipayOpenMiniInnerversionBuildauditSubmitResponseModel" : {
  71510. "type" : "object"
  71511. },
  71512. "AlipayOpenMiniInnerversionConditionBatchqueryErrorResponseModel" : {
  71513. "required" : [ "code", "message" ],
  71514. "type" : "object",
  71515. "properties" : {
  71516. "code" : {
  71517. "type" : "string",
  71518. "description" : "错误码",
  71519. "enum" : [ "APPID_IS_BLANK", "VERSION_STATUS_LIST_IS_BLANK", "APP_ORIGIN_IS_BLANK", "BUNDLE_ID_IS_BLANK", "NO_PERMISSION", "INVALID_PAGE_NUM", "INVALID_PAGE_SIZE", "PAGE_NUM_LESS_ONE", "PAGE_SIZE_MORE_TEN", "PAGE_SIZE_LESS_ZERO", "INVALID_VERSION_STATUS", "MINICORE_INVOKE_ERROR", "PAGE_NUM_LESS_ZERO", "BUNDLE_ID_NOT_EXIST" ]
  71520. },
  71521. "links" : {
  71522. "type" : "string",
  71523. "description" : "解决方案链接"
  71524. },
  71525. "message" : {
  71526. "type" : "string",
  71527. "description" : "错误描述"
  71528. }
  71529. }
  71530. },
  71531. "AlipayOpenMiniInnerversionConditionBatchqueryModel" : {
  71532. "type" : "object",
  71533. "properties" : {
  71534. "app_origin" : {
  71535. "type" : "string",
  71536. "description" : "业务来源",
  71537. "example" : "AAA"
  71538. },
  71539. "bundle_id" : {
  71540. "type" : "string",
  71541. "description" : "com.alipay.alipaywallet:支付宝,com.amap.app:高德",
  71542. "example" : "com.alipay.alipaywallet"
  71543. },
  71544. "mini_app_id" : {
  71545. "type" : "string",
  71546. "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。",
  71547. "example" : "2019*********"
  71548. },
  71549. "page_num" : {
  71550. "type" : "string",
  71551. "description" : "页码",
  71552. "example" : "1"
  71553. },
  71554. "page_size" : {
  71555. "type" : "string",
  71556. "description" : "分页数",
  71557. "example" : "10"
  71558. },
  71559. "version_status" : {
  71560. "type" : "string",
  71561. "description" : "INIT:开发中,RELEASE:上架,OFFLINE:下架,AUDITING:审核中,AUDIT_REJECT:审核驳回,WAIT_RELEASE:待上架,GRAY:灰度中,以,号隔开",
  71562. "example" : "INIT"
  71563. }
  71564. }
  71565. },
  71566. "AlipayOpenMiniInnerversionConditionBatchqueryResponseModel" : {
  71567. "type" : "object",
  71568. "properties" : {
  71569. "mini_version_base_info_list" : {
  71570. "type" : "array",
  71571. "description" : "小程序版本信息",
  71572. "items" : {
  71573. "$ref" : "#/components/schemas/MiniVersionBaseInfo"
  71574. }
  71575. }
  71576. }
  71577. },
  71578. "AlipayOpenMiniInnerversionContentRollbackErrorResponseModel" : {
  71579. "required" : [ "code", "message" ],
  71580. "type" : "object",
  71581. "properties" : {
  71582. "code" : {
  71583. "type" : "string",
  71584. "description" : "错误码",
  71585. "enum" : [ "APP_ORIGIN_IS_BLANK", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "BUNDLE_ID_IS_BLANK", "PID_IS_BLANK", "APPID_IS_BLANK" ]
  71586. },
  71587. "links" : {
  71588. "type" : "string",
  71589. "description" : "解决方案链接"
  71590. },
  71591. "message" : {
  71592. "type" : "string",
  71593. "description" : "错误描述"
  71594. }
  71595. }
  71596. },
  71597. "AlipayOpenMiniInnerversionContentRollbackModel" : {
  71598. "type" : "object",
  71599. "properties" : {
  71600. "app_origin" : {
  71601. "type" : "string",
  71602. "description" : "业务场景来源",
  71603. "example" : "AAA"
  71604. },
  71605. "app_version" : {
  71606. "type" : "string",
  71607. "description" : "小程序当前上架版本号",
  71608. "example" : "1.0.0"
  71609. },
  71610. "bundle_id" : {
  71611. "type" : "string",
  71612. "description" : "端",
  71613. "example" : "com.alipay.alipaywallet"
  71614. },
  71615. "mini_app_id" : {
  71616. "type" : "string",
  71617. "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。",
  71618. "example" : "2018********"
  71619. },
  71620. "pid" : {
  71621. "type" : "string",
  71622. "description" : "小程序所属主体",
  71623. "example" : "2088********"
  71624. }
  71625. }
  71626. },
  71627. "AlipayOpenMiniInnerversionContentRollbackResponseModel" : {
  71628. "type" : "object"
  71629. },
  71630. "AlipayOpenMiniInnerversionGrayFinishErrorResponseModel" : {
  71631. "required" : [ "code", "message" ],
  71632. "type" : "object",
  71633. "properties" : {
  71634. "code" : {
  71635. "type" : "string",
  71636. "description" : "错误码",
  71637. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_END_GRAY_WITHOUT_GRAY", "MINI_APP_NOT_ONLINE", "NO_PERMISSION", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "APP_INFO_NOT_EXIST" ]
  71638. },
  71639. "links" : {
  71640. "type" : "string",
  71641. "description" : "解决方案链接"
  71642. },
  71643. "message" : {
  71644. "type" : "string",
  71645. "description" : "错误描述"
  71646. }
  71647. }
  71648. },
  71649. "AlipayOpenMiniInnerversionGrayFinishModel" : {
  71650. "type" : "object",
  71651. "properties" : {
  71652. "app_origin" : {
  71653. "type" : "string",
  71654. "description" : "业务来源",
  71655. "example" : "AAA"
  71656. },
  71657. "app_version" : {
  71658. "type" : "string",
  71659. "description" : "小程序版本",
  71660. "example" : "0.0.1"
  71661. },
  71662. "bundle_id" : {
  71663. "type" : "string",
  71664. "description" : "端信息",
  71665. "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
  71666. },
  71667. "mini_app_id" : {
  71668. "type" : "string",
  71669. "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
  71670. "example" : "2019****"
  71671. },
  71672. "pid" : {
  71673. "type" : "string",
  71674. "description" : "小程序所属PID",
  71675. "example" : "2088****"
  71676. }
  71677. }
  71678. },
  71679. "AlipayOpenMiniInnerversionGrayFinishResponseModel" : {
  71680. "type" : "object"
  71681. },
  71682. "AlipayOpenMiniInnerversionGrayPublishErrorResponseModel" : {
  71683. "required" : [ "code", "message" ],
  71684. "type" : "object",
  71685. "properties" : {
  71686. "code" : {
  71687. "type" : "string",
  71688. "description" : "错误码",
  71689. "enum" : [ "GRAY_ONLINE_FAILURE", "PARAMS_VALID_ERROR", "APP_INFO_NOT_EXISTS", "APP_VERSION_NOT_EXIST", "NO_PERMISSION", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "CAN_NOT_GRAY_ALIBABA_PASS", "CAN_NOT_GRAY_WITHOUT_AUDIT_PASS", "PLUGIN_NOT_ALLOWED_GRAY" ]
  71690. },
  71691. "links" : {
  71692. "type" : "string",
  71693. "description" : "解决方案链接"
  71694. },
  71695. "message" : {
  71696. "type" : "string",
  71697. "description" : "错误描述"
  71698. }
  71699. }
  71700. },
  71701. "AlipayOpenMiniInnerversionGrayPublishModel" : {
  71702. "type" : "object",
  71703. "properties" : {
  71704. "app_origin" : {
  71705. "type" : "string",
  71706. "description" : "业务来源",
  71707. "example" : "AAA"
  71708. },
  71709. "app_version" : {
  71710. "type" : "string",
  71711. "description" : "小程序版本",
  71712. "example" : "0.0.1"
  71713. },
  71714. "beta_app_id_list" : {
  71715. "type" : "array",
  71716. "description" : "待邀测应用列表,灰度插件时使用,如无邀测必要请不要传入",
  71717. "items" : {
  71718. "type" : "string"
  71719. },
  71720. "example" : "[\"2021xxxxx\"]"
  71721. },
  71722. "bundle_id" : {
  71723. "type" : "string",
  71724. "description" : "端信息",
  71725. "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
  71726. },
  71727. "gray_strategy" : {
  71728. "type" : "string",
  71729. "description" : "灰度值",
  71730. "example" : "gray_mayi_rule、gray_alibaba_rule"
  71731. },
  71732. "mini_app_id" : {
  71733. "type" : "string",
  71734. "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
  71735. "example" : "2019****"
  71736. },
  71737. "pid" : {
  71738. "type" : "string",
  71739. "description" : "小程序所属PID",
  71740. "example" : "2088****"
  71741. }
  71742. }
  71743. },
  71744. "AlipayOpenMiniInnerversionGrayPublishResponseModel" : {
  71745. "type" : "object"
  71746. },
  71747. "AlipayOpenMiniInnerversionInfoDeleteErrorResponseModel" : {
  71748. "required" : [ "code", "message" ],
  71749. "type" : "object",
  71750. "properties" : {
  71751. "code" : {
  71752. "type" : "string",
  71753. "description" : "错误码",
  71754. "enum" : [ "APPID_IS_BLANK", "PACKAGE_VERSION_IS_BLANK", "BUNDLE_ID_IS_BLANK", "PID_IS_BLANK", "BUNDLE_ID_NOT_EXIST", "VERSION_LENGTH_ERROR", "VERSION_EXCEEDED_LENGTH", "APP_ORIGIN_NOT_EXIST", "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "SYSTEM_ERROR", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_DELETE_WITH_SCANNING", "CAN_NOT_DELETE_WITH_EXPERIENCE", "CAN_NOT_DELETE_WITHOUT_DEV" ]
  71755. },
  71756. "links" : {
  71757. "type" : "string",
  71758. "description" : "解决方案链接"
  71759. },
  71760. "message" : {
  71761. "type" : "string",
  71762. "description" : "错误描述"
  71763. }
  71764. }
  71765. },
  71766. "AlipayOpenMiniInnerversionInfoDeleteResponseModel" : {
  71767. "type" : "object"
  71768. },
  71769. "AlipayOpenMiniInnerversionInfoQueryErrorResponseModel" : {
  71770. "required" : [ "code", "message" ],
  71771. "type" : "object",
  71772. "properties" : {
  71773. "code" : {
  71774. "type" : "string",
  71775. "description" : "错误码",
  71776. "enum" : [ "SYSTEM_ERROR", "PARAMS_VALID_ERROR", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "APP_INFO_NOT_EXIST" ]
  71777. },
  71778. "links" : {
  71779. "type" : "string",
  71780. "description" : "解决方案链接"
  71781. },
  71782. "message" : {
  71783. "type" : "string",
  71784. "description" : "错误描述"
  71785. }
  71786. }
  71787. },
  71788. "AlipayOpenMiniInnerversionInfoQueryResponseModel" : {
  71789. "type" : "object",
  71790. "properties" : {
  71791. "app_version" : {
  71792. "type" : "string",
  71793. "description" : "版本号",
  71794. "example" : "0.0.1"
  71795. },
  71796. "build_source" : {
  71797. "type" : "string",
  71798. "description" : "版本构建类型",
  71799. "example" : "01 自创建 02 模板构建"
  71800. },
  71801. "bundle_id" : {
  71802. "type" : "string",
  71803. "description" : "端信息",
  71804. "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
  71805. },
  71806. "create_time" : {
  71807. "type" : "string",
  71808. "description" : "版本创建时间",
  71809. "example" : "2019-01-01 12:00:22"
  71810. },
  71811. "description" : {
  71812. "type" : "string",
  71813. "description" : "版本描述",
  71814. "example" : "我是小程序版本描述"
  71815. },
  71816. "ext_json" : {
  71817. "type" : "string",
  71818. "description" : "实例化模板参数",
  71819. "example" : "{}"
  71820. },
  71821. "gmt_modified" : {
  71822. "type" : "string",
  71823. "description" : "版本更新时间",
  71824. "example" : "2019-01-01 12:12:12"
  71825. },
  71826. "gray_start_time" : {
  71827. "type" : "string",
  71828. "description" : "版本灰度时间",
  71829. "example" : "2019-01-01 12:00:22"
  71830. },
  71831. "gray_strategy" : {
  71832. "type" : "string",
  71833. "description" : "小程序灰度比例值",
  71834. "example" : "p10-10%的用户,p30-30%的用户,p50-50%的用户"
  71835. },
  71836. "mini_app_id" : {
  71837. "type" : "string",
  71838. "description" : "小程序ID",
  71839. "example" : "2019****"
  71840. },
  71841. "offline_time" : {
  71842. "type" : "string",
  71843. "description" : "版本下架时间",
  71844. "example" : "2019-01-01 12:00:22"
  71845. },
  71846. "package_url" : {
  71847. "type" : "string",
  71848. "description" : "包地址",
  71849. "example" : "http://alipay-offline.cn-hangzhou.alipay.aliyun-inc.com/pkgcore/pMugqXnuGsXecwEvlsuQ.amr"
  71850. },
  71851. "plugin_refs" : {
  71852. "type" : "array",
  71853. "description" : "引用插件信息",
  71854. "items" : {
  71855. "$ref" : "#/components/schemas/MiniAppPluginInfo"
  71856. }
  71857. },
  71858. "process_task_id" : {
  71859. "type" : "string",
  71860. "description" : "流程id",
  71861. "example" : "123"
  71862. },
  71863. "reject_reason" : {
  71864. "type" : "string",
  71865. "description" : "审核失败原因",
  71866. "example" : "名称过于宽泛"
  71867. },
  71868. "rollback_time" : {
  71869. "type" : "string",
  71870. "description" : "版本回滚时间",
  71871. "example" : "2019-01-01 12:00:22"
  71872. },
  71873. "scan_result" : {
  71874. "type" : "string",
  71875. "description" : "安全扫描结果",
  71876. "example" : "True"
  71877. },
  71878. "screen_shot_list" : {
  71879. "type" : "string",
  71880. "description" : "小程序版本截图,多个截图以逗号隔开",
  71881. "example" : "http://image.aaa.alipay.com"
  71882. },
  71883. "shelf_time" : {
  71884. "type" : "string",
  71885. "description" : "版本上架时间",
  71886. "example" : "2019-01-01 12:00:22"
  71887. },
  71888. "source_url" : {
  71889. "type" : "string",
  71890. "description" : "源码包地址",
  71891. "example" : "http://alipay-offline.cn-hangzhou.alipay.aliyun-inc.com/pkgcore/pMugqXnuGsXecwEvlsuQ.amr"
  71892. },
  71893. "status" : {
  71894. "type" : "string",
  71895. "description" : "版本状态",
  71896. "example" : "小程序版本状态,INIT-开发中,AUDITING-审核中,WAIT_RELEASE-审核通过,AUDIT_REJECT-审核驳回,RELEASE-已上架,GRAY-灰度中,OFFLINE-下架"
  71897. },
  71898. "template_extra" : {
  71899. "type" : "string",
  71900. "description" : "模板构建参数",
  71901. "example" : "{\"tinycliversion\":\"1.1.1\"}"
  71902. },
  71903. "template_version" : {
  71904. "type" : "string",
  71905. "description" : "模板版本号",
  71906. "example" : "0.0.1"
  71907. }
  71908. }
  71909. },
  71910. "AlipayOpenMiniInnerversionInstantiationQueryErrorResponseModel" : {
  71911. "required" : [ "code", "message" ],
  71912. "type" : "object",
  71913. "properties" : {
  71914. "code" : {
  71915. "type" : "string",
  71916. "description" : "错误码",
  71917. "enum" : [ "APPID_IS_BLANK", "BUNDLE_ID_IS_BLANK", "MINI_APP_VERSION_IS_BLANK", "VERSION_LENGTH_ERROR", "VERSION_EXCEEDED_LENGTH", "APP_ORIGIN_NOT_EXIST", "APP_INFO_NOT_EXIST", "SUB_APPLICATION_TYPE_ERROR", "APPLICATION_TYPE_NOT_MINIAPP" ]
  71918. },
  71919. "links" : {
  71920. "type" : "string",
  71921. "description" : "解决方案链接"
  71922. },
  71923. "message" : {
  71924. "type" : "string",
  71925. "description" : "错误描述"
  71926. }
  71927. }
  71928. },
  71929. "AlipayOpenMiniInnerversionInstantiationQueryResponseModel" : {
  71930. "type" : "object",
  71931. "properties" : {
  71932. "app_version" : {
  71933. "type" : "string",
  71934. "description" : "小程序版本号",
  71935. "example" : "0.0.1"
  71936. },
  71937. "bundle_id" : {
  71938. "type" : "string",
  71939. "description" : "端id",
  71940. "example" : "com.alipay.alipaywallet"
  71941. },
  71942. "mini_app_id" : {
  71943. "type" : "string",
  71944. "description" : "小程序appId",
  71945. "example" : "2021000116680014"
  71946. },
  71947. "template_id" : {
  71948. "type" : "string",
  71949. "description" : "模板id",
  71950. "example" : "2019042861090647"
  71951. },
  71952. "template_version" : {
  71953. "type" : "string",
  71954. "description" : "模板的版本号",
  71955. "example" : "0.0.3"
  71956. }
  71957. }
  71958. },
  71959. "AlipayOpenMiniInnerversionLastQueryErrorResponseModel" : {
  71960. "required" : [ "code", "message" ],
  71961. "type" : "object",
  71962. "properties" : {
  71963. "code" : {
  71964. "type" : "string",
  71965. "description" : "错误码",
  71966. "enum" : [ "MINICORE_INVOKE_ERROR", "OPENCORE_RPC_INVOKE_ERROR", "APP_ORIGIN_IS_BLANK", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "BUNDLE_ID_IS_BLANK", "PID_IS_BLANK", "APPID_IS_BLANK" ]
  71967. },
  71968. "links" : {
  71969. "type" : "string",
  71970. "description" : "解决方案链接"
  71971. },
  71972. "message" : {
  71973. "type" : "string",
  71974. "description" : "错误描述"
  71975. }
  71976. }
  71977. },
  71978. "AlipayOpenMiniInnerversionLastQueryResponseModel" : {
  71979. "type" : "object",
  71980. "properties" : {
  71981. "app_desc" : {
  71982. "type" : "string",
  71983. "description" : "小程序应用描述",
  71984. "example" : "小程序官方示例Demo,展示已支持的接口能力及组件"
  71985. },
  71986. "app_name" : {
  71987. "type" : "string",
  71988. "description" : "小程序的名称",
  71989. "example" : "小程序名称"
  71990. },
  71991. "app_version" : {
  71992. "type" : "string",
  71993. "description" : "版本号",
  71994. "example" : "1.0.1"
  71995. },
  71996. "bundle_id" : {
  71997. "type" : "string",
  71998. "description" : "端信息",
  71999. "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
  72000. },
  72001. "category_ids" : {
  72002. "type" : "string",
  72003. "description" : "小程序所属类目",
  72004. "example" : "107209_107226"
  72005. },
  72006. "english_name" : {
  72007. "type" : "string",
  72008. "description" : "小程序英文名称",
  72009. "example" : "xiaochengxu"
  72010. },
  72011. "logo_url" : {
  72012. "type" : "string",
  72013. "description" : "小程序应用logo图标",
  72014. "example" : "https://appstoreisvpic.alipayobjects.com/prod/04843e84-f1fd-4717-a230-1c72de99aa5d.png"
  72015. },
  72016. "mini_app_id" : {
  72017. "type" : "string",
  72018. "description" : "小程序ID",
  72019. "example" : "2018********"
  72020. },
  72021. "service_phone" : {
  72022. "type" : "string",
  72023. "description" : "小程序客服电话",
  72024. "example" : "13110101010"
  72025. },
  72026. "slogan" : {
  72027. "type" : "string",
  72028. "description" : "小程序应用简介,一句话描述小程序功能",
  72029. "example" : "提供小程序示例功能"
  72030. },
  72031. "status" : {
  72032. "type" : "string",
  72033. "description" : "版本状态",
  72034. "example" : "INIT"
  72035. },
  72036. "sub_application_type" : {
  72037. "type" : "string",
  72038. "description" : "小程序子类型,自研、模板类型",
  72039. "example" : "TINY_NORMAL"
  72040. }
  72041. }
  72042. },
  72043. "AlipayOpenMiniInnerversionModelforofflineQueryErrorResponseModel" : {
  72044. "required" : [ "code", "message" ],
  72045. "type" : "object",
  72046. "properties" : {
  72047. "code" : {
  72048. "type" : "string",
  72049. "description" : "错误码",
  72050. "enum" : [ "SYSTEM_ERROR" ]
  72051. },
  72052. "links" : {
  72053. "type" : "string",
  72054. "description" : "解决方案链接"
  72055. },
  72056. "message" : {
  72057. "type" : "string",
  72058. "description" : "错误描述"
  72059. }
  72060. }
  72061. },
  72062. "AlipayOpenMiniInnerversionModelforofflineQueryResponseModel" : {
  72063. "type" : "object",
  72064. "properties" : {
  72065. "model_json" : {
  72066. "type" : "string",
  72067. "description" : "线上版本包数据",
  72068. "example" : "{}"
  72069. },
  72070. "sync_id" : {
  72071. "type" : "string",
  72072. "description" : "同步ID,同步失败时便于去线上追溯",
  72073. "example" : "abcasdasda1217893189389asdasda98"
  72074. }
  72075. }
  72076. },
  72077. "AlipayOpenMiniInnerversionNobuildUploadErrorResponseModel" : {
  72078. "required" : [ "code", "message" ],
  72079. "type" : "object",
  72080. "properties" : {
  72081. "code" : {
  72082. "type" : "string",
  72083. "description" : "错误码",
  72084. "enum" : [ "SYSTEM_ERROR", "DEV_VERSION_EXCEED_MAX_COUNT", "APP_NOT_EXSIT", "VERSION_EXCEEDED_LENGTH", "PACKAGE_VERSION_IS_BLANK", "BUILD_VERSION_ALREADY_EXIST", "BIZ_ERROR", "PLUGIN_REF_OVER_LIMIT", "DATA_DUPLICATE_WITH_BUILD", "APP_INFO_NOT_EXIST", "PLUGIN_NOT_EXIST", "PLUGIN_PACKAGE_NOT_FOUND", "PACKAGE_SIZE_IS_BLANK", "SUB_PACKAGE_PARAM_EXIST_EMPTY", "BUILD_VERSION_COMPARE_ERROR", "START_BUILD_ERROR", "BUNDLE_ID_NOT_EXIST", "INVALID_PARAMS", "PACKAGE_URL_IS_BLANK" ]
  72085. },
  72086. "links" : {
  72087. "type" : "string",
  72088. "description" : "解决方案链接"
  72089. },
  72090. "message" : {
  72091. "type" : "string",
  72092. "description" : "错误描述"
  72093. }
  72094. }
  72095. },
  72096. "AlipayOpenMiniInnerversionNobuildUploadModel" : {
  72097. "type" : "object",
  72098. "properties" : {
  72099. "build_extra_info" : {
  72100. "type" : "string",
  72101. "description" : "扩展信息,比如adaptorName、tinycliVersion、tinycliName、import-module、allowPrecompile、extJson、allowInstallDependency、aggregationMainAppId,如果没有特殊要求,tinycliVersion版本请用最新的: https://registry.npm.alibaba-inc.com/@alipay/tiny-cli/huoban-prod",
  72102. "example" : "{\"tinycliVersion\":\"1.5.20200213201649\"}"
  72103. },
  72104. "build_js_permission" : {
  72105. "type" : "string",
  72106. "description" : "jsapi权限文件",
  72107. "example" : "{\"permissionJSON\":[1, 2, 3, 4, 5]}"
  72108. },
  72109. "build_main_url" : {
  72110. "type" : "string",
  72111. "description" : "小程序页面主入口。/index.html#page/component/index,该值需要和extendInfo中的page参数保持一致",
  72112. "example" : "/index.html#page/component/index"
  72113. },
  72114. "build_qcloud_info" : {
  72115. "type" : "string",
  72116. "description" : "打包平台扩展信息",
  72117. "example" : "{\"launchParams\":{\"enableTabBar\":\"YES\",\"enableJSC\":\"YES\",\"page\":\"page/component/index\",\"enableKeepAlive\":\"YES\",\"enableWK\":\"YES\"}}"
  72118. },
  72119. "build_version" : {
  72120. "type" : "string",
  72121. "description" : "小程序版本",
  72122. "example" : "0.0.1"
  72123. },
  72124. "builded_package_size" : {
  72125. "type" : "string",
  72126. "description" : "已经构建过的amr包大小,单位是字节,建议如实填写",
  72127. "example" : "20"
  72128. },
  72129. "builded_package_url" : {
  72130. "type" : "string",
  72131. "description" : "已经构建的包地址,目前主要自行构建的场景使用",
  72132. "example" : "产物包地址"
  72133. },
  72134. "builded_plugin_size" : {
  72135. "type" : "string",
  72136. "description" : "构建好的插件包amr大小",
  72137. "example" : "100"
  72138. },
  72139. "builded_plugin_url" : {
  72140. "type" : "string",
  72141. "description" : "构建好的插件包地址",
  72142. "example" : "构建好的插件包地址"
  72143. },
  72144. "bundle_id" : {
  72145. "type" : "string",
  72146. "description" : "一个端的标识,用于区分不同的客户端,每接入一个客户端,都需要向小程序应用中心申请bundleId入驻",
  72147. "example" : "com.alipay.alipaywallet"
  72148. },
  72149. "components" : {
  72150. "type" : "string",
  72151. "description" : "组件参数",
  72152. "example" : "{}"
  72153. },
  72154. "inst_code" : {
  72155. "type" : "string",
  72156. "description" : "上传调试版的接入租户类型",
  72157. "example" : "taobao"
  72158. },
  72159. "mini_app_id" : {
  72160. "type" : "string",
  72161. "description" : "小程序id",
  72162. "example" : "2017122101357757"
  72163. },
  72164. "new_builded_package_size" : {
  72165. "type" : "string",
  72166. "description" : "2.0已经构建过的amr包大小,单位是字节,主要是给自行构建的场景使用",
  72167. "example" : "100"
  72168. },
  72169. "new_builded_package_url" : {
  72170. "type" : "string",
  72171. "description" : "2.0产物包地址",
  72172. "example" : "2.0产物包地址"
  72173. },
  72174. "new_builded_plugin_size" : {
  72175. "type" : "string",
  72176. "description" : "构建好的插件包amr大小",
  72177. "example" : "100"
  72178. },
  72179. "new_builded_plugin_url" : {
  72180. "type" : "string",
  72181. "description" : "构建好的插件包地址",
  72182. "example" : "构建好的插件包地址"
  72183. },
  72184. "no_sign" : {
  72185. "type" : "boolean",
  72186. "description" : "否免加签, true的时候代表传过来的是加签后的包地址",
  72187. "example" : "true"
  72188. },
  72189. "plugin_refs" : {
  72190. "type" : "array",
  72191. "description" : "小程序代码中引用的插件列表,包含插件id和插件版本信息,业务方需要自行解析源码包的app.json里面的plugins信息",
  72192. "items" : {
  72193. "$ref" : "#/components/schemas/MiniAppPluginReference"
  72194. }
  72195. },
  72196. "sub_packages" : {
  72197. "type" : "array",
  72198. "description" : "构建好的分包信息",
  72199. "items" : {
  72200. "$ref" : "#/components/schemas/SubPackageInfo"
  72201. }
  72202. }
  72203. }
  72204. },
  72205. "AlipayOpenMiniInnerversionNobuildUploadResponseModel" : {
  72206. "type" : "object"
  72207. },
  72208. "AlipayOpenMiniInnerversionOfflinePublishErrorResponseModel" : {
  72209. "required" : [ "code", "message" ],
  72210. "type" : "object",
  72211. "properties" : {
  72212. "code" : {
  72213. "type" : "string",
  72214. "description" : "错误码",
  72215. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "MINI_APP_NOT_ONLINE", "NO_PERMISSION", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST" ]
  72216. },
  72217. "links" : {
  72218. "type" : "string",
  72219. "description" : "解决方案链接"
  72220. },
  72221. "message" : {
  72222. "type" : "string",
  72223. "description" : "错误描述"
  72224. }
  72225. }
  72226. },
  72227. "AlipayOpenMiniInnerversionOfflinePublishModel" : {
  72228. "type" : "object",
  72229. "properties" : {
  72230. "app_origin" : {
  72231. "type" : "string",
  72232. "description" : "业务来源",
  72233. "example" : "AAA"
  72234. },
  72235. "app_version" : {
  72236. "type" : "string",
  72237. "description" : "版本号",
  72238. "example" : "0.0.1"
  72239. },
  72240. "bundle_id" : {
  72241. "type" : "string",
  72242. "description" : "端信息",
  72243. "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
  72244. },
  72245. "mini_app_id" : {
  72246. "type" : "string",
  72247. "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
  72248. "example" : "2019****"
  72249. },
  72250. "pid" : {
  72251. "type" : "string",
  72252. "description" : "小程序所属PID",
  72253. "example" : "2088*****"
  72254. }
  72255. }
  72256. },
  72257. "AlipayOpenMiniInnerversionOfflinePublishResponseModel" : {
  72258. "type" : "object"
  72259. },
  72260. "AlipayOpenMiniInnerversionOnlineErrorResponseModel" : {
  72261. "required" : [ "code", "message" ],
  72262. "type" : "object",
  72263. "properties" : {
  72264. "code" : {
  72265. "type" : "string",
  72266. "description" : "错误码",
  72267. "enum" : [ "SYSTEM_ERROR", "ONLINE_FAILURE", "PARAMS_VALID_ERROR", "MINI_APP_VERSION_NOT_EXISTS", "MINI_APP_VERSION_STATUS_ILLEGAL" ]
  72268. },
  72269. "links" : {
  72270. "type" : "string",
  72271. "description" : "解决方案链接"
  72272. },
  72273. "message" : {
  72274. "type" : "string",
  72275. "description" : "错误描述"
  72276. }
  72277. }
  72278. },
  72279. "AlipayOpenMiniInnerversionOnlineModel" : {
  72280. "type" : "object",
  72281. "properties" : {
  72282. "app_offline_version" : {
  72283. "type" : "string",
  72284. "description" : "下架版本",
  72285. "example" : "0.0.5"
  72286. },
  72287. "app_online_version" : {
  72288. "type" : "string",
  72289. "description" : "上架版本",
  72290. "example" : "0.0.6"
  72291. },
  72292. "app_origin" : {
  72293. "type" : "string",
  72294. "description" : "业务来源",
  72295. "example" : "ASTORE"
  72296. },
  72297. "bundle_id" : {
  72298. "type" : "string",
  72299. "description" : "一个端的标识,用于区分不同的客户端,每接入一个客户端,都需要向小程序应用中心申请bundelId入驻",
  72300. "example" : "com.alipay.alipaywallet"
  72301. },
  72302. "inst_code" : {
  72303. "type" : "string",
  72304. "description" : "租户code,alipay or taobao",
  72305. "example" : "taobao"
  72306. },
  72307. "mini_app_id" : {
  72308. "type" : "string",
  72309. "description" : "小程序ID",
  72310. "example" : "2018012201365222"
  72311. }
  72312. }
  72313. },
  72314. "AlipayOpenMiniInnerversionOnlinePublishErrorResponseModel" : {
  72315. "required" : [ "code", "message" ],
  72316. "type" : "object",
  72317. "properties" : {
  72318. "code" : {
  72319. "type" : "string",
  72320. "description" : "错误码",
  72321. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_ONLINE_WITHOUT_GRAY", "MINI_APP_NOT_ONLINE", "NO_PERMISSION", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "CAN_NOT_ONLINE_WITHOUT_AUDIT" ]
  72322. },
  72323. "links" : {
  72324. "type" : "string",
  72325. "description" : "解决方案链接"
  72326. },
  72327. "message" : {
  72328. "type" : "string",
  72329. "description" : "错误描述"
  72330. }
  72331. }
  72332. },
  72333. "AlipayOpenMiniInnerversionOnlinePublishModel" : {
  72334. "type" : "object",
  72335. "properties" : {
  72336. "app_origin" : {
  72337. "type" : "string",
  72338. "description" : "业务来源",
  72339. "example" : "AAA"
  72340. },
  72341. "app_version" : {
  72342. "type" : "string",
  72343. "description" : "小程序版本",
  72344. "example" : "0.0.1"
  72345. },
  72346. "bundle_id" : {
  72347. "type" : "string",
  72348. "description" : "端信息",
  72349. "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
  72350. },
  72351. "downgrade" : {
  72352. "type" : "boolean",
  72353. "description" : "否服务降级,如果降级,拉包策略如果端上有本地包,则使用本地包打开,同时异步下载新包,待下次打开则使用新包",
  72354. "example" : "true"
  72355. },
  72356. "mini_app_id" : {
  72357. "type" : "string",
  72358. "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
  72359. "example" : "2019*****"
  72360. },
  72361. "pid" : {
  72362. "type" : "string",
  72363. "description" : "小程序所属PID",
  72364. "example" : "2088****"
  72365. },
  72366. "release_type" : {
  72367. "type" : "string",
  72368. "description" : "normal默认普通发布,high 高保发布",
  72369. "example" : "normal/high"
  72370. }
  72371. }
  72372. },
  72373. "AlipayOpenMiniInnerversionOnlinePublishResponseModel" : {
  72374. "type" : "object"
  72375. },
  72376. "AlipayOpenMiniInnerversionOnlineResponseModel" : {
  72377. "type" : "object"
  72378. },
  72379. "AlipayOpenMiniInnerversionPackageCreateErrorResponseModel" : {
  72380. "required" : [ "code", "message" ],
  72381. "type" : "object",
  72382. "properties" : {
  72383. "code" : {
  72384. "type" : "string",
  72385. "description" : "错误码",
  72386. "enum" : [ "PACKAGE_TYPE_NOT_EXIST", "PARAMS_VALID_ERROR", "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "NO_PERMISSION", "PACKAGE_VERSION_IS_BLANK", "VERSION_LENGTH_ERROR", "VERSION_EXCEEDED_LENGTH", "BUNDLE_ID_NOT_EXIST", "INVALID_PARAMS_WARN", "MINI_APP_VERSION_NOT_EXIST", "APP_ORIGIN_IS_BLANK", "APP_ORIGIN_NOT_EXIST", "APP_IS_NOT_HUOBAN", "APP_IS_BUILD_BY_TEMPLATE", "MINI_APP_VERSION_NOT_INIT", "BUNDLE_ID_IS_BLANK", "NOT_CREATE_COVERAGE_NOT_ALIPAY", "APP_IS_NOT_INNER" ]
  72387. },
  72388. "links" : {
  72389. "type" : "string",
  72390. "description" : "解决方案链接"
  72391. },
  72392. "message" : {
  72393. "type" : "string",
  72394. "description" : "错误描述"
  72395. }
  72396. }
  72397. },
  72398. "AlipayOpenMiniInnerversionPackageCreateModel" : {
  72399. "type" : "object",
  72400. "properties" : {
  72401. "app_origin" : {
  72402. "type" : "string",
  72403. "description" : "业务来源",
  72404. "example" : "AAA"
  72405. },
  72406. "app_version" : {
  72407. "type" : "string",
  72408. "description" : "小程序版本",
  72409. "example" : "0.0.1"
  72410. },
  72411. "bundle_id" : {
  72412. "type" : "string",
  72413. "description" : "端信息",
  72414. "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
  72415. },
  72416. "mini_app_id" : {
  72417. "type" : "string",
  72418. "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。",
  72419. "example" : "2019****"
  72420. },
  72421. "package_type" : {
  72422. "type" : "string",
  72423. "description" : "打包类型。预发包和覆盖率包",
  72424. "example" : "PRE_ONLINE"
  72425. },
  72426. "pid" : {
  72427. "type" : "string",
  72428. "description" : "pid. 伙伴链路(app_origin='HUOBAN')时必填",
  72429. "example" : "2019****"
  72430. }
  72431. }
  72432. },
  72433. "AlipayOpenMiniInnerversionPackageCreateResponseModel" : {
  72434. "type" : "object"
  72435. },
  72436. "AlipayOpenMiniInnerversionSyncErrorResponseModel" : {
  72437. "required" : [ "code", "message" ],
  72438. "type" : "object",
  72439. "properties" : {
  72440. "code" : {
  72441. "type" : "string",
  72442. "description" : "错误码",
  72443. "enum" : [ "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "APP_ORIGIN_IS_BLANK", "APP_ORIGIN_NOT_EXIST", "SYNC_TYPE_IS_BLANK", "SYNC_TYPE_NOT_EXIST", "BUNDLE_ID_IS_BLANK", "BUNDLE_ID_NOT_EXIST", "BUNDLE_ID_NOT_IN_SYNC", "SYNC_WITHOUT_ONLINE_ERROR", "PKGCORE_INVOKE_ERROR", "SYSTEM_ERROR", "MINICORE_INVOKE_ERROR" ]
  72444. },
  72445. "links" : {
  72446. "type" : "string",
  72447. "description" : "解决方案链接"
  72448. },
  72449. "message" : {
  72450. "type" : "string",
  72451. "description" : "错误描述"
  72452. }
  72453. }
  72454. },
  72455. "AlipayOpenMiniInnerversionSyncModel" : {
  72456. "type" : "object",
  72457. "properties" : {
  72458. "app_origin" : {
  72459. "type" : "string",
  72460. "description" : "业务参数来源",
  72461. "example" : "AAA"
  72462. },
  72463. "app_version" : {
  72464. "type" : "string",
  72465. "description" : "推送的小程序版本号",
  72466. "example" : "1.0.0"
  72467. },
  72468. "bundle_id" : {
  72469. "type" : "string",
  72470. "description" : "端信息",
  72471. "example" : "com.alipay.alipaywallet"
  72472. },
  72473. "dev_id" : {
  72474. "type" : "string",
  72475. "description" : "操作人ID",
  72476. "example" : "2088******"
  72477. },
  72478. "mini_app_id" : {
  72479. "type" : "string",
  72480. "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。",
  72481. "example" : "2019*******"
  72482. },
  72483. "sync_type" : {
  72484. "type" : "string",
  72485. "description" : "同送方式",
  72486. "example" : "global:全量,recent:定向"
  72487. }
  72488. }
  72489. },
  72490. "AlipayOpenMiniInnerversionSyncResponseModel" : {
  72491. "type" : "object"
  72492. },
  72493. "AlipayOpenMiniInnerversionTemplatedUploadErrorResponseModel" : {
  72494. "required" : [ "code", "message" ],
  72495. "type" : "object",
  72496. "properties" : {
  72497. "code" : {
  72498. "type" : "string",
  72499. "description" : "错误码",
  72500. "enum" : [ "APP_VERSION_IS_BLANK", "TEMPLATE_ID_IS_BLANK", "VERSION_HAS_EXISTED", "LARGER_VERSION_HAS_EXISTED", "APPLICATION_TYPE_NOT_MINIAPP", "INVALID_VERSION", "DEV_VERSION_EXCEED_MAX_COUNT", "TEMPLATE_NOT_ONLINE_OR_OFFLINE", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "TEMPLATE_MINIAPP_NOT_ALLOWED", "VERSION_EXCEEDED_LENGTH", "INVALID_EXT_JSON", "TEMPLATE_ID_ISVAPPID_NOT_MATCH", "NO_AUTH_RELATION" ]
  72501. },
  72502. "links" : {
  72503. "type" : "string",
  72504. "description" : "解决方案链接"
  72505. },
  72506. "message" : {
  72507. "type" : "string",
  72508. "description" : "错误描述"
  72509. }
  72510. }
  72511. },
  72512. "AlipayOpenMiniInnerversionTemplatedUploadModel" : {
  72513. "type" : "object",
  72514. "properties" : {
  72515. "app_origin" : {
  72516. "type" : "string",
  72517. "description" : "来源类型,新接入方需要向支付宝申请专用来源,否则不予接入。",
  72518. "example" : "AAA"
  72519. },
  72520. "app_version" : {
  72521. "type" : "string",
  72522. "description" : "格式为: x.y.z,其中x、y、z均为整型数字,版本不能重复构建,且新版本号必须高于旧版本",
  72523. "example" : "0.0.1"
  72524. },
  72525. "bundle_id" : {
  72526. "type" : "string",
  72527. "description" : "端id",
  72528. "example" : "com.alipay.alipaywallet"
  72529. },
  72530. "ext" : {
  72531. "type" : "string",
  72532. "description" : "模板的配置参数,完整内容请参见:https://docs.alipay.com/mini/isv/ortga1",
  72533. "example" : "{\"extEnable\": true, \"extPages\": {\"pages/face/index\": {\"defaultTitle\": \"默认页面标题\"}},\"window\": {\"defaultTitle\": \"默认标题\"}}"
  72534. },
  72535. "mini_app_id" : {
  72536. "type" : "string",
  72537. "description" : "小程序ID,特殊场景专用,普通业务方无需关注该参数。",
  72538. "example" : "2019051464523527"
  72539. },
  72540. "template_id" : {
  72541. "type" : "string",
  72542. "description" : "模板id,模板必须已经处于上架/下架状态",
  72543. "example" : "2019032163637014"
  72544. },
  72545. "template_version" : {
  72546. "type" : "string",
  72547. "description" : "模板版本,必须处于上架/下架状态。如果为空,默认取当前在架,或者最新下架的版本。",
  72548. "example" : "0.0.1"
  72549. }
  72550. }
  72551. },
  72552. "AlipayOpenMiniInnerversionTemplatedUploadResponseModel" : {
  72553. "type" : "object"
  72554. },
  72555. "AlipayOpenMiniInnerversionUpgradeErrorResponseModel" : {
  72556. "required" : [ "code", "message" ],
  72557. "type" : "object",
  72558. "properties" : {
  72559. "code" : {
  72560. "type" : "string",
  72561. "description" : "错误码",
  72562. "enum" : [ "INVALID_PARAMS", "TEMPLATE_NOT_ONLINE_OR_OFFLINE", "MINI_APP_AUDITING", "TEMPLATE_VERSION_NOT_EXIST", "CAN_NOT_BATCH_UPGRADE_WITHOUT_ONLINE_OR_OFFLINE", "SYSTEM_ERROR" ]
  72563. },
  72564. "links" : {
  72565. "type" : "string",
  72566. "description" : "解决方案链接"
  72567. },
  72568. "message" : {
  72569. "type" : "string",
  72570. "description" : "错误描述"
  72571. }
  72572. }
  72573. },
  72574. "AlipayOpenMiniInnerversionUpgradeModel" : {
  72575. "type" : "object",
  72576. "properties" : {
  72577. "app_origin" : {
  72578. "type" : "string",
  72579. "description" : "来源类型,新接入方需要向支付宝申请专用来源,否则不予接入。",
  72580. "example" : "AAA"
  72581. },
  72582. "bundle_id" : {
  72583. "type" : "string",
  72584. "description" : "端ID,多端场景下区分不同端",
  72585. "example" : "com.alipay.alipaywallet"
  72586. },
  72587. "mini_app_id" : {
  72588. "type" : "string",
  72589. "description" : "小程序ID,特殊场景专用,普通业务方无需关注该参数。",
  72590. "example" : "2019032163637016"
  72591. },
  72592. "template_id" : {
  72593. "type" : "string",
  72594. "description" : "用于升级的模板id",
  72595. "example" : "2019032163637014"
  72596. },
  72597. "template_version" : {
  72598. "type" : "string",
  72599. "description" : "用于升级的模板版本号,版本号必须满足 x.y.z, 且均为数字",
  72600. "example" : "0.0.3"
  72601. }
  72602. }
  72603. },
  72604. "AlipayOpenMiniInnerversionUpgradeResponseModel" : {
  72605. "type" : "object"
  72606. },
  72607. "AlipayOpenMiniInnerversionUploadErrorResponseModel" : {
  72608. "required" : [ "code", "message" ],
  72609. "type" : "object",
  72610. "properties" : {
  72611. "code" : {
  72612. "type" : "string",
  72613. "description" : "错误码",
  72614. "enum" : [ "SYSTEM_ERROR", "DEV_VERSION_EXCEED_MAX_COUNT", "APP_NOT_EXSIT", "START_BUILD_ERROR", "BUILD_DATA_ERROR", "VERSION_EXCEEDED_LENGTH", "PACKAGE_VERSION_IS_BLANK", "CLIENT_VERSION_HAS_NULL", "MIN_CLIENT_VERSION_GREATER_THAN_", "INVALID_MAX_CLIENT_VERSION", "INVALID_CLIENT_VERSION", "BUILD_VERSION_ALREADY_EXIST", "BIZ_ERROR", "PLUGIN_REF_OVER_LIMIT", "DATA_DUPLICATE_WITH_BUILD", "PLUGIN__NOT_ORDERED", "APP_INFO_NOT_EXIST", "PLUGIN_NOT_EXIST", "PLUGIN_PACKAGE_NOT_FOUND" ]
  72615. },
  72616. "links" : {
  72617. "type" : "string",
  72618. "description" : "解决方案链接"
  72619. },
  72620. "message" : {
  72621. "type" : "string",
  72622. "description" : "错误描述"
  72623. }
  72624. }
  72625. },
  72626. "AlipayOpenMiniInnerversionUploadModel" : {
  72627. "type" : "object",
  72628. "properties" : {
  72629. "app_origin" : {
  72630. "type" : "string",
  72631. "description" : "业务来源,新接入方需要向支付宝申请专用来源,否则不予接入。https://yuque.antfin-inc.com/tinyapp-all/qddncu/bidushixiang",
  72632. "example" : "https://yuque.antfin-inc.com/tinyapp-all/qddncu/bidushixiang"
  72633. },
  72634. "build_app_type" : {
  72635. "type" : "string",
  72636. "description" : "IDE开发打包类型,写死tinyApp",
  72637. "example" : "tinyApp"
  72638. },
  72639. "build_extra_info" : {
  72640. "type" : "string",
  72641. "description" : "扩展信息,比如adaptorName、tinycliVersion、tinycliName、import-module、allowPrecompile、extJson、allowInstallDependency、aggregationMainAppId,如果没有特殊要求,tinycliVersion版本请用最新的:\thttps://registry.npm.alibaba-inc.com/@alipay/tiny-cli/huoban-prod",
  72642. "example" : "{\"tinycliVersion\":\"1.5.20200213201649\"}"
  72643. },
  72644. "build_extra_mini_project_config" : {
  72645. "type" : "string",
  72646. "description" : "用于覆盖开发者配置字段,实现止血和灰度逻辑",
  72647. "example" : "{\"enableAppxNg\":\"YES\"}"
  72648. },
  72649. "build_js_permission" : {
  72650. "type" : "string",
  72651. "description" : "jsapi 权限文件,钉钉外请勿传",
  72652. "example" : "{\"permissionJSON\":[1, 2, 3, 4, 5]}"
  72653. },
  72654. "build_main_url" : {
  72655. "type" : "string",
  72656. "description" : "小程序页面主入口。/index.html#page/component/index,该值需要和extendInfo中的page参数保持一致",
  72657. "example" : "/index.html#page/component/index"
  72658. },
  72659. "build_max_android_client_version" : {
  72660. "type" : "string",
  72661. "description" : "最大Android客户端版本号,禁止使用,如果需要使用请联系小程序平台评估,否则端上会出现问题",
  72662. "example" : "100.0.0"
  72663. },
  72664. "build_max_ios_client_version" : {
  72665. "type" : "string",
  72666. "description" : "最大iOS客户单版本号,禁止使用,如果需要使用请联系小程序平台评估,否则端上会出现问题",
  72667. "example" : "100.0.0"
  72668. },
  72669. "build_min_android_client_version" : {
  72670. "type" : "string",
  72671. "description" : "最小Android客户端版本号,禁止使用,如果需要使用请联系小程序平台评估,否则端上会出现问题",
  72672. "example" : "10.1.35"
  72673. },
  72674. "build_min_ios_client_version" : {
  72675. "type" : "string",
  72676. "description" : "最小iOS客户单版本号,禁止使用,如果需要使用请联系小程序平台评估,否则端上会出现问题",
  72677. "example" : "10.1.35"
  72678. },
  72679. "build_package_md_5" : {
  72680. "type" : "string",
  72681. "description" : "源码包文件流的MD5字符串",
  72682. "example" : "源码包"
  72683. },
  72684. "build_package_name" : {
  72685. "type" : "string",
  72686. "description" : "包名称",
  72687. "example" : "dist.amr"
  72688. },
  72689. "build_package_stream" : {
  72690. "type" : "string",
  72691. "description" : "base64编码后的小程序源码包文件流",
  72692. "example" : "小程序源码包"
  72693. },
  72694. "build_qcloud_info" : {
  72695. "type" : "string",
  72696. "description" : "打包平台扩展信息",
  72697. "example" : "{\"launchParams\":{\"enableTabBar\":\"YES\",\"enableJSC\":\"YES\",\"page\":\"page/component/index\",\"enableKeepAlive\":\"YES\",\"enableWK\":\"YES\"}}"
  72698. },
  72699. "build_signed_pkg_url" : {
  72700. "type" : "string",
  72701. "description" : "已经构建加签过的包地址",
  72702. "example" : "已经构建加签过的包地址"
  72703. },
  72704. "build_source_pkg_size" : {
  72705. "type" : "string",
  72706. "description" : "源码包大小",
  72707. "example" : "10000"
  72708. },
  72709. "build_source_pkg_url" : {
  72710. "type" : "string",
  72711. "description" : "源码包地址,源码包大小不能超过20M且地址必须永久有效,若超20M,将限制业务来源调用。将源码文件夹整个用zip格式压缩成后缀amr文件传至文件服务器",
  72712. "example" : "http://alipay-offline.cn-hangzhou.alipay.aliyun-inc.com/pkgcore/DMDjCdOCtERoGgyrJZzq.amr"
  72713. },
  72714. "build_sub_url" : {
  72715. "type" : "string",
  72716. "description" : "子入口",
  72717. "example" : "/index.html#pages/todos/todos"
  72718. },
  72719. "build_version" : {
  72720. "type" : "string",
  72721. "description" : "小程序版本",
  72722. "example" : "0.0.1"
  72723. },
  72724. "builded_package_size" : {
  72725. "type" : "string",
  72726. "description" : "已经构建过的包大小,单位是字节,主要是给自行构建的场景使用",
  72727. "example" : "10000"
  72728. },
  72729. "builded_package_url" : {
  72730. "type" : "string",
  72731. "description" : "已经构建的包地址,目前主要自行构建的场景使用",
  72732. "example" : "已经构建的包地址"
  72733. },
  72734. "bundle_id" : {
  72735. "type" : "string",
  72736. "description" : "一个端的标识,用于区分不同的客户端,每接入一个客户端,都需要向小程序应用中心申请bundleId入驻",
  72737. "example" : "com.alipay.alipaywallet"
  72738. },
  72739. "client_type" : {
  72740. "type" : "string",
  72741. "description" : "多端类型,除了钉钉外其他业务方禁止使用",
  72742. "example" : "DINGDING"
  72743. },
  72744. "inst_code" : {
  72745. "type" : "string",
  72746. "description" : "上传调试版的接入租户类型。",
  72747. "example" : "taobao"
  72748. },
  72749. "mini_app_id" : {
  72750. "type" : "string",
  72751. "description" : "小程序ID",
  72752. "example" : "2017122101357757"
  72753. },
  72754. "plugin_refs" : {
  72755. "type" : "array",
  72756. "description" : "小程序代码中引用的插件列表,包含插件id和插件版本信息,业务方需要自行解析源码包的app.json里面的plugins信息",
  72757. "items" : {
  72758. "$ref" : "#/components/schemas/MiniAppPluginReference"
  72759. }
  72760. }
  72761. }
  72762. },
  72763. "AlipayOpenMiniInnerversionUploadResponseModel" : {
  72764. "type" : "object",
  72765. "properties" : {
  72766. "build_info" : {
  72767. "type" : "string",
  72768. "description" : "构建信息",
  72769. "example" : "构建信息"
  72770. },
  72771. "build_package_url" : {
  72772. "type" : "string",
  72773. "description" : "包地址",
  72774. "example" : "http://alipay-rmsdeploy-image.cn-hangzhou.alipay.aliyun-inc.com/qcloud/build-target-c1d90a3bcf354803ad01b28cdccd83a4.tar"
  72775. },
  72776. "build_status" : {
  72777. "type" : "string",
  72778. "description" : "构建状态",
  72779. "example" : "构建状态"
  72780. },
  72781. "build_version" : {
  72782. "type" : "string",
  72783. "description" : "构建版本",
  72784. "example" : "0.0.5"
  72785. },
  72786. "need_rotation" : {
  72787. "type" : "string",
  72788. "description" : "是否需要轮询",
  72789. "example" : "TRUE"
  72790. },
  72791. "new_build_package_url" : {
  72792. "type" : "string",
  72793. "description" : "appx构建返回值",
  72794. "example" : "http://alipay-rmsdeploy-image.cn-hangzhou.alipay.aliyun-inc.com/qcloud/build-target-c1d90a3bcf354803ad01b28cdccd83a4.tar"
  72795. },
  72796. "package_id" : {
  72797. "type" : "string",
  72798. "description" : "包管理包ID",
  72799. "example" : "34845"
  72800. },
  72801. "version_created" : {
  72802. "type" : "string",
  72803. "description" : "版本创建结果",
  72804. "example" : "TRUE"
  72805. }
  72806. }
  72807. },
  72808. "AlipayOpenMiniInnerversionUploadstatusQueryErrorResponseModel" : {
  72809. "required" : [ "code", "message" ],
  72810. "type" : "object",
  72811. "properties" : {
  72812. "code" : {
  72813. "type" : "string",
  72814. "description" : "错误码",
  72815. "enum" : [ "SYSTEM_ERROR", "POLLING_BUILD_VERSION_NOT_EXIST" ]
  72816. },
  72817. "links" : {
  72818. "type" : "string",
  72819. "description" : "解决方案链接"
  72820. },
  72821. "message" : {
  72822. "type" : "string",
  72823. "description" : "错误描述"
  72824. }
  72825. }
  72826. },
  72827. "AlipayOpenMiniInnerversionUploadstatusQueryResponseModel" : {
  72828. "type" : "object",
  72829. "properties" : {
  72830. "build_info" : {
  72831. "type" : "string",
  72832. "description" : "构建信息",
  72833. "example" : "构建信息"
  72834. },
  72835. "build_package_url" : {
  72836. "type" : "string",
  72837. "description" : "构建好的包地址",
  72838. "example" : "http://alipay-rmsdeploy-image.cn-hangzhou.alipay.aliyun-inc.com/qcloud/build-target-c1d90a3bcf354803ad01b28cdccd83a4.tar"
  72839. },
  72840. "build_status" : {
  72841. "type" : "string",
  72842. "description" : "构建状态",
  72843. "example" : "构建状态"
  72844. },
  72845. "log_url" : {
  72846. "type" : "string",
  72847. "description" : "构建日志地址",
  72848. "example" : "https://tfapi.alipay.com/logs/5c1ac74d0c5e1d85b8c618dd"
  72849. },
  72850. "need_rotation" : {
  72851. "type" : "string",
  72852. "description" : "是否需要轮询",
  72853. "example" : "TRUE"
  72854. },
  72855. "new_build_package_url" : {
  72856. "type" : "string",
  72857. "description" : "构建好的appx2.0包地址",
  72858. "example" : "http://alipay-rmsdeploy-image.cn-hangzhou.alipay.aliyun-inc.com/qcloud/build-target-c1d90a3bcf354803ad01b28cdccd83a4.tar"
  72859. },
  72860. "new_result_url" : {
  72861. "type" : "string",
  72862. "description" : "构建的结果地址",
  72863. "example" : "https://tfapi.alipay.com/logs/5c1ac75f4b6ce5884ced6f00"
  72864. },
  72865. "result_url" : {
  72866. "type" : "string",
  72867. "description" : "构建的结果地址",
  72868. "example" : "https://tfapi.alipay.com/logs/5c1ac75f4b6ce5884ced6f00"
  72869. },
  72870. "version_created" : {
  72871. "type" : "string",
  72872. "description" : "创建版本结果",
  72873. "example" : "TRUE"
  72874. }
  72875. }
  72876. },
  72877. "AlipayOpenMiniIsvCreateErrorResponseModel" : {
  72878. "required" : [ "code", "message" ],
  72879. "type" : "object",
  72880. "properties" : {
  72881. "code" : {
  72882. "type" : "string",
  72883. "description" : "错误码",
  72884. "enum" : [ "INVALID_PARAMS", "SYSTEM_ERROR", "ONGOING_ORDER_EXIST", "DAILY_REJECT_EXCEEDS", "PROVIDER_ROLE_INVALID", "APP_NAME_DUPLICATED", "CERTIFICATE_INVALID", "PERMISSION_DENIED", "REJECT_COUNTS_EXCEEDS", "NOT_UNIQUE", "OPERATION_INVALID", "HAS_RISK", "ORDER_FINISHED", "INVALID_MINI_APP_NAME_LENGTH", "PARAM_INVALID" ]
  72885. },
  72886. "links" : {
  72887. "type" : "string",
  72888. "description" : "解决方案链接"
  72889. },
  72890. "message" : {
  72891. "type" : "string",
  72892. "description" : "错误描述"
  72893. }
  72894. }
  72895. },
  72896. "AlipayOpenMiniIsvCreateModel" : {
  72897. "type" : "object",
  72898. "properties" : {
  72899. "create_mini_request" : {
  72900. "$ref" : "#/components/schemas/CreateMiniRequest"
  72901. }
  72902. }
  72903. },
  72904. "AlipayOpenMiniIsvCreateResponseModel" : {
  72905. "type" : "object",
  72906. "properties" : {
  72907. "order_no" : {
  72908. "type" : "string",
  72909. "description" : "小程序代创建订单号",
  72910. "example" : "2387429847238743"
  72911. }
  72912. }
  72913. },
  72914. "AlipayOpenMiniIsvFastregisterCreateErrorResponseModel" : {
  72915. "required" : [ "code", "message" ],
  72916. "type" : "object",
  72917. "properties" : {
  72918. "code" : {
  72919. "type" : "string",
  72920. "description" : "错误码",
  72921. "enum" : [ "INVALID_MINI_APP_NAME_LENGTH", "ILLEGAL_PARAMS", "PRECREATE_MINI_ERROR", "OPENCORE_APP_NAME_EXIST", "PROVIDER_ROLE_INVALID", "SYSTEM_ERROR", "OPENID_QUERY_ERROR" ]
  72922. },
  72923. "links" : {
  72924. "type" : "string",
  72925. "description" : "解决方案链接"
  72926. },
  72927. "message" : {
  72928. "type" : "string",
  72929. "description" : "错误描述"
  72930. }
  72931. }
  72932. },
  72933. "AlipayOpenMiniIsvFastregisterCreateModel" : {
  72934. "type" : "object",
  72935. "properties" : {
  72936. "app_name" : {
  72937. "type" : "string",
  72938. "description" : "小程序名称,昵称半自动设定,强制后缀“的试用小程序”。且该参数会进行关键字检查,如果命中品牌关键字则会报错。\t如遇到品牌大客户要用试用小程序,建议用户先换个名字,认证后再修改成品牌名。",
  72939. "example" : "张三的小程序"
  72940. },
  72941. "auth_notify_url" : {
  72942. "type" : "string",
  72943. "description" : "授权确认成功后回调h5链接或小程序页面",
  72944. "example" : "pages/notify/index"
  72945. },
  72946. "out_order_no" : {
  72947. "type" : "string",
  72948. "description" : "外部订单号",
  72949. "example" : "202132131232131231231231231"
  72950. },
  72951. "uid" : {
  72952. "type" : "string",
  72953. "description" : "商户2088",
  72954. "example" : "20881232424234234234234"
  72955. }
  72956. }
  72957. },
  72958. "AlipayOpenMiniIsvFastregisterCreateResponseModel" : {
  72959. "type" : "object",
  72960. "properties" : {
  72961. "authorize_url" : {
  72962. "type" : "string",
  72963. "description" : "授权确认跳转url",
  72964. "example" : "alipays://xxxxxxxxxxxxxxxx"
  72965. },
  72966. "order_no" : {
  72967. "type" : "string",
  72968. "description" : "代创建试用小程序单号",
  72969. "example" : "2022120716532186600070121"
  72970. }
  72971. }
  72972. },
  72973. "AlipayOpenMiniIsvFastregisterQueryErrorResponseModel" : {
  72974. "required" : [ "code", "message" ],
  72975. "type" : "object",
  72976. "properties" : {
  72977. "code" : {
  72978. "type" : "string",
  72979. "description" : "错误码",
  72980. "enum" : [ "NO_PERMISSION", "ILLEGAL_PARAMS", "SYSTEM_ERROR", "ORDER_NOT_EXIST", "ORDER_TYPE_NOT_MATCH" ]
  72981. },
  72982. "links" : {
  72983. "type" : "string",
  72984. "description" : "解决方案链接"
  72985. },
  72986. "message" : {
  72987. "type" : "string",
  72988. "description" : "错误描述"
  72989. }
  72990. }
  72991. },
  72992. "AlipayOpenMiniIsvFastregisterQueryResponseModel" : {
  72993. "type" : "object",
  72994. "properties" : {
  72995. "app_name" : {
  72996. "type" : "string",
  72997. "description" : "小程序应用名",
  72998. "example" : "张三的试用小程序"
  72999. },
  73000. "isv_app_id" : {
  73001. "type" : "string",
  73002. "description" : "appid",
  73003. "example" : "202212121324324343"
  73004. },
  73005. "mini_app_id" : {
  73006. "type" : "string",
  73007. "description" : "小程序appid",
  73008. "example" : "20212323243534535"
  73009. },
  73010. "order_no" : {
  73011. "type" : "string",
  73012. "description" : "代创建试用小程序单号",
  73013. "example" : "2202324344343435353"
  73014. },
  73015. "out_order_no" : {
  73016. "type" : "string",
  73017. "description" : "商户传入的外部订单号",
  73018. "example" : "23948392483253534535"
  73019. },
  73020. "status" : {
  73021. "type" : "string",
  73022. "description" : "WAIT_CONFIRM待确认创建,\tCONFIRM_TIMEOUT待创建确认授权超时,\tCREATE_MINI_APP_SUCCESS创建应用成功,CREATE_MINI_APP_FAILED创建应用失败,CANCELLED已注销,CERTIFY_SUCCESS认证成功,CERTIFY_FAILED认证失败,CERTIFY_OPERATOR管理员认证中,CERTIFY_MERCHANT法人认证中",
  73023. "example" : "WAIT_CONFIRM"
  73024. }
  73025. }
  73026. },
  73027. "AlipayOpenMiniIsvQueryErrorResponseModel" : {
  73028. "required" : [ "code", "message" ],
  73029. "type" : "object",
  73030. "properties" : {
  73031. "code" : {
  73032. "type" : "string",
  73033. "description" : "错误码",
  73034. "enum" : [ "INVALID_PARAMS", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
  73035. },
  73036. "links" : {
  73037. "type" : "string",
  73038. "description" : "解决方案链接"
  73039. },
  73040. "message" : {
  73041. "type" : "string",
  73042. "description" : "错误描述"
  73043. }
  73044. }
  73045. },
  73046. "AlipayOpenMiniIsvQueryResponseModel" : {
  73047. "type" : "object",
  73048. "properties" : {
  73049. "min_app_id" : {
  73050. "type" : "string",
  73051. "description" : "小程序appId,商家确认后非空,若商家未确认或超时返回空",
  73052. "example" : "20218324729872"
  73053. },
  73054. "order_no" : {
  73055. "type" : "string",
  73056. "description" : "订单号",
  73057. "example" : "239238834234344"
  73058. },
  73059. "out_order_no" : {
  73060. "type" : "string",
  73061. "description" : "外部订单号,开发者帐号+外部订单号维度来控制请求务幂等",
  73062. "example" : "23948392483253534535"
  73063. },
  73064. "pid" : {
  73065. "type" : "string",
  73066. "description" : "商户pid",
  73067. "example" : "2088002306330746"
  73068. },
  73069. "status" : {
  73070. "type" : "string",
  73071. "description" : "PROCESS处理中,TIMEOUT超时,AGREED同意, REJECTED拒绝",
  73072. "example" : "PROCESS"
  73073. }
  73074. }
  73075. },
  73076. "AlipayOpenMiniMiniappBrandCancelErrorResponseModel" : {
  73077. "required" : [ "code", "message" ],
  73078. "type" : "object",
  73079. "properties" : {
  73080. "code" : {
  73081. "type" : "string",
  73082. "description" : "错误码",
  73083. "enum" : [ "SYSTEM_ERROR" ]
  73084. },
  73085. "links" : {
  73086. "type" : "string",
  73087. "description" : "解决方案链接"
  73088. },
  73089. "message" : {
  73090. "type" : "string",
  73091. "description" : "错误描述"
  73092. }
  73093. }
  73094. },
  73095. "AlipayOpenMiniMiniappBrandCancelResponseModel" : {
  73096. "type" : "object"
  73097. },
  73098. "AlipayOpenMiniMiniappBrandQueryErrorResponseModel" : {
  73099. "required" : [ "code", "message" ],
  73100. "type" : "object",
  73101. "properties" : {
  73102. "code" : {
  73103. "type" : "string",
  73104. "description" : "错误码",
  73105. "enum" : [ "SYSTEM_ERROR" ]
  73106. },
  73107. "links" : {
  73108. "type" : "string",
  73109. "description" : "解决方案链接"
  73110. },
  73111. "message" : {
  73112. "type" : "string",
  73113. "description" : "错误描述"
  73114. }
  73115. }
  73116. },
  73117. "AlipayOpenMiniMiniappBrandQueryResponseModel" : {
  73118. "type" : "object",
  73119. "properties" : {
  73120. "merchant_brand_list_result" : {
  73121. "$ref" : "#/components/schemas/MerchantBrandListResult"
  73122. },
  73123. "miniapp_brand_audit_result" : {
  73124. "$ref" : "#/components/schemas/MiniappBrandAuditResult"
  73125. }
  73126. }
  73127. },
  73128. "AlipayOpenMiniMiniappBrandSubmitErrorResponseModel" : {
  73129. "required" : [ "code", "message" ],
  73130. "type" : "object",
  73131. "properties" : {
  73132. "code" : {
  73133. "type" : "string",
  73134. "description" : "错误码",
  73135. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  73136. },
  73137. "links" : {
  73138. "type" : "string",
  73139. "description" : "解决方案链接"
  73140. },
  73141. "message" : {
  73142. "type" : "string",
  73143. "description" : "错误描述"
  73144. }
  73145. }
  73146. },
  73147. "AlipayOpenMiniMiniappBrandSubmitModel" : {
  73148. "type" : "object",
  73149. "properties" : {
  73150. "apply_type" : {
  73151. "type" : "string",
  73152. "description" : "申请的资质类型\tSELF_BRAND_APPLY 自有品牌申请(当需要一个新的品牌时选择此项)\tAUTHORIZE_BRAND_APPLY 授权品牌申请(当需要授权一个已有的品牌给商户时选择此项)\tEXIST_BRAND_BIND 品牌绑定,适用于品牌已申请成功的情况(当需要将已有品牌绑定到无品牌小程序时选择此项)",
  73153. "example" : "AUTHORIZE_BRAND_APPLY"
  73154. },
  73155. "authorize_info" : {
  73156. "$ref" : "#/components/schemas/AuthorizeInfo"
  73157. },
  73158. "brand_id" : {
  73159. "type" : "string",
  73160. "description" : "商户已有品牌Id(只有申请的资质类型为EXIST_BRAND_BIND 时需要填写)",
  73161. "example" : "brand2020091614782813"
  73162. },
  73163. "brand_name" : {
  73164. "type" : "string",
  73165. "description" : "品牌名称",
  73166. "example" : "CR7合作"
  73167. },
  73168. "brand_registration_info" : {
  73169. "$ref" : "#/components/schemas/BrandRegistrationInfo"
  73170. },
  73171. "id_materials" : {
  73172. "type" : "array",
  73173. "description" : "申请人身份证明材料(当前只支持图片类型,请调用alipay.open.mini.miniapp.brand.upload接口上传图片,可以上传多个身份证明材料)",
  73174. "items" : {
  73175. "type" : "string"
  73176. },
  73177. "example" : "[\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\",\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\"]"
  73178. }
  73179. }
  73180. },
  73181. "AlipayOpenMiniMiniappBrandSubmitResponseModel" : {
  73182. "type" : "object"
  73183. },
  73184. "AlipayOpenMiniMiniappBrandUploadErrorResponseModel" : {
  73185. "required" : [ "code", "message" ],
  73186. "type" : "object",
  73187. "properties" : {
  73188. "code" : {
  73189. "type" : "string",
  73190. "description" : "错误码",
  73191. "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
  73192. },
  73193. "links" : {
  73194. "type" : "string",
  73195. "description" : "解决方案链接"
  73196. },
  73197. "message" : {
  73198. "type" : "string",
  73199. "description" : "错误描述"
  73200. }
  73201. }
  73202. },
  73203. "AlipayOpenMiniMiniappBrandUploadModel" : {
  73204. "type" : "object"
  73205. },
  73206. "AlipayOpenMiniMiniappBrandUploadResponseModel" : {
  73207. "type" : "object",
  73208. "properties" : {
  73209. "file_key" : {
  73210. "type" : "string",
  73211. "description" : "图片上传成功后的图片存储键(可用于填写调用alipay.open.mini.miniapp.brand.submit时需要的图片类型的字段)",
  73212. "example" : "A*BTRVJSTHEBRE784685"
  73213. }
  73214. }
  73215. },
  73216. "AlipayOpenMiniMiniappServiceconfigModifyErrorResponseModel" : {
  73217. "required" : [ "code", "message" ],
  73218. "type" : "object",
  73219. "properties" : {
  73220. "code" : {
  73221. "type" : "string",
  73222. "description" : "错误码",
  73223. "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  73224. },
  73225. "links" : {
  73226. "type" : "string",
  73227. "description" : "解决方案链接"
  73228. },
  73229. "message" : {
  73230. "type" : "string",
  73231. "description" : "错误描述"
  73232. }
  73233. }
  73234. },
  73235. "AlipayOpenMiniMiniappServiceconfigModifyModel" : {
  73236. "type" : "object",
  73237. "properties" : {
  73238. "home_open" : {
  73239. "type" : "boolean",
  73240. "description" : "云客服是否在小程序首页透出,true-开启,false-不开启",
  73241. "example" : "true"
  73242. },
  73243. "service_config" : {
  73244. "type" : "string",
  73245. "description" : "客服方式,目前支持ANTCLOUD-云客服",
  73246. "example" : "ANTCLOUD"
  73247. }
  73248. }
  73249. },
  73250. "AlipayOpenMiniMiniappServiceconfigModifyResponseModel" : {
  73251. "type" : "object"
  73252. },
  73253. "AlipayOpenMiniQrcodeBindErrorResponseModel" : {
  73254. "required" : [ "code", "message" ],
  73255. "type" : "object",
  73256. "properties" : {
  73257. "code" : {
  73258. "type" : "string",
  73259. "description" : "错误码",
  73260. "enum" : [ "APP_IS_NOT_EXIST", "ROUTE_CREATE_NEED_VERSION", "ROUTE_OVER_LIMIT", "ROUTE_RULE_CONFLICT", "HOST_VERIFY_FAILD", "INVALID_PARAM", "APPQRCODE_NOT_TINYAPP", "ONLINE_VERSION_NOT_EXIST", "TEMPLATE_NOT_HAVE_HOST", "TEMPLATE_MISMATCH_ISVAPPID", "BUILDED_NOT_BY_TEMPLATE", "NOT_CURRENTLY_AVALIALBE", "ROUTE_RULE_CONFLICT_OTHER", "QRCODE_ROUTE_URL_INVALID", "APP_IS_NOT_ONLINE", "QRCODE_ROUTE_PATTERN_NOT_MATCH", "QRCODE_ROUTE_PATTERN_NOT_EXIST", "QRCODE_ROUTE_PATTERN_NOT_PERMISSION" ]
  73261. },
  73262. "links" : {
  73263. "type" : "string",
  73264. "description" : "解决方案链接"
  73265. },
  73266. "message" : {
  73267. "type" : "string",
  73268. "description" : "错误描述"
  73269. }
  73270. }
  73271. },
  73272. "AlipayOpenMiniQrcodeBindModel" : {
  73273. "type" : "object",
  73274. "properties" : {
  73275. "mode" : {
  73276. "type" : "string",
  73277. "description" : "匹配规则,仅支持EXACT(精确匹配)、FUZZY(模糊匹配)两个值。\r\t精确匹配:根据填写的二维码地址精确匹配,地址完全一致时才能唤起小程序(如:配置二维码地址为https://www.alipay.com/my?id=123,当用户扫这个地址的二维码可唤起小程序)。\r\t模糊匹配:根据填写的二维码地址模糊匹配,只要地址前缀匹配即可唤起小程序(如:配置二维码地址为https://www.alipay.com/my/,当用户扫的二维码地址为https://www.alipay.com/my/id=123,可唤起小程序)。",
  73278. "example" : "FUZZY"
  73279. },
  73280. "page_redirection" : {
  73281. "type" : "string",
  73282. "description" : "小程序功能页,配置扫描二维码后打开的小程序功能页面路径",
  73283. "example" : "pages/index/index"
  73284. },
  73285. "route_pattern" : {
  73286. "type" : "string",
  73287. "description" : "模式,用于描述通用的路由url格式,适用于同一个host下面存在大量路由的场景,主要用于提升路由性能,其中{0}、{1} 代表路径中的变量",
  73288. "example" : "http://yoursite.com/merchant/{0}/shop/{1}"
  73289. },
  73290. "route_url" : {
  73291. "type" : "string",
  73292. "description" : "二维码域名,须通过ICP备案验证,支持http、https、ftp开头的链接",
  73293. "example" : "https://www.yoursite.com/"
  73294. }
  73295. }
  73296. },
  73297. "AlipayOpenMiniQrcodeBindResponseModel" : {
  73298. "type" : "object",
  73299. "properties" : {
  73300. "route_group" : {
  73301. "type" : "string",
  73302. "description" : "路由规则组,用于唯一标记一条路由规则",
  73303. "example" : "78b59c5b6b2946448bc77e17e544b813"
  73304. }
  73305. }
  73306. },
  73307. "AlipayOpenMiniQrcodeQueryErrorResponseModel" : {
  73308. "required" : [ "code", "message" ],
  73309. "type" : "object",
  73310. "properties" : {
  73311. "code" : {
  73312. "type" : "string",
  73313. "description" : "错误码",
  73314. "enum" : [ "SYSTEM_ERROR", "PAGE_PARAM_NULL_FAIL", "PAGE_SIZE_OUT_LIMIT_FAIL", "PAGE_PARAM_MIN_LIMIT_FAIL" ]
  73315. },
  73316. "links" : {
  73317. "type" : "string",
  73318. "description" : "解决方案链接"
  73319. },
  73320. "message" : {
  73321. "type" : "string",
  73322. "description" : "错误描述"
  73323. }
  73324. }
  73325. },
  73326. "AlipayOpenMiniQrcodeQueryResponseModel" : {
  73327. "type" : "object",
  73328. "properties" : {
  73329. "qr_code_route_groups" : {
  73330. "type" : "array",
  73331. "description" : "规则路由数据列表",
  73332. "items" : {
  73333. "$ref" : "#/components/schemas/QrCodeRouteGroup"
  73334. }
  73335. },
  73336. "total_items" : {
  73337. "type" : "integer",
  73338. "description" : "数据总数",
  73339. "example" : "20"
  73340. }
  73341. }
  73342. },
  73343. "AlipayOpenMiniQrcodeUnbindErrorResponseModel" : {
  73344. "required" : [ "code", "message" ],
  73345. "type" : "object",
  73346. "properties" : {
  73347. "code" : {
  73348. "type" : "string",
  73349. "description" : "错误码",
  73350. "enum" : [ "INVALID_PARAM", "TINY_APP_NOT_EXIST", "ROUTE_GROUP_NOT_EXIST", "NO_PERMISSION", "QRCODE_ROUTE_PATTERN_DELETE_NOT_SUPPORT" ]
  73351. },
  73352. "links" : {
  73353. "type" : "string",
  73354. "description" : "解决方案链接"
  73355. },
  73356. "message" : {
  73357. "type" : "string",
  73358. "description" : "错误描述"
  73359. }
  73360. }
  73361. },
  73362. "AlipayOpenMiniQrcodeUnbindModel" : {
  73363. "type" : "object",
  73364. "properties" : {
  73365. "route_group" : {
  73366. "type" : "string",
  73367. "description" : "路由规则组,用于唯一标记一条路由规则。调用 https://opendocs.alipay.com/apis/00rkye 接口关联普通二维码后的返回值。",
  73368. "example" : "78b59c5b6b2946448bc77e17e544b813"
  73369. }
  73370. }
  73371. },
  73372. "AlipayOpenMiniQrcodeUnbindResponseModel" : {
  73373. "type" : "object"
  73374. },
  73375. "AlipayOpenMiniResourcePromotionsourceNotifyErrorResponseModel" : {
  73376. "required" : [ "code", "message" ],
  73377. "type" : "object",
  73378. "properties" : {
  73379. "code" : {
  73380. "type" : "string",
  73381. "description" : "错误码",
  73382. "enum" : [ "PARAM_APP_ID_IS_BLANK", "PARAM_PROMOTION_ID_IS_BLANK", "PARAM_PROMOTION_NAME_IS_BLANK", "RESOURCE_SOURCE_IS_NOT_EXIST" ]
  73383. },
  73384. "links" : {
  73385. "type" : "string",
  73386. "description" : "解决方案链接"
  73387. },
  73388. "message" : {
  73389. "type" : "string",
  73390. "description" : "错误描述"
  73391. }
  73392. }
  73393. },
  73394. "AlipayOpenMiniResourcePromotionsourceNotifyModel" : {
  73395. "type" : "object",
  73396. "properties" : {
  73397. "author_id" : {
  73398. "type" : "string",
  73399. "description" : "媒体唤起时传入的支付宝id",
  73400. "example" : "201***********"
  73401. },
  73402. "params" : {
  73403. "type" : "string",
  73404. "description" : "媒体唤起时提供的额外参数值列表,这里可能有多个值,打平以后拼入。即url_decode(authcbparams)",
  73405. "example" : "app_id=1024562&a=1&b=2&c=3&bind_entry=12"
  73406. },
  73407. "promotion_id" : {
  73408. "type" : "string",
  73409. "description" : "推广位id",
  73410. "example" : "mm_mm_123213123123131_21"
  73411. },
  73412. "promotion_name" : {
  73413. "type" : "string",
  73414. "description" : "推广位名称",
  73415. "example" : "推广位名称"
  73416. },
  73417. "source" : {
  73418. "type" : "string",
  73419. "description" : "媒体来源,标识调用方",
  73420. "example" : "zfb_xcx"
  73421. }
  73422. }
  73423. },
  73424. "AlipayOpenMiniResourcePromotionsourceNotifyResponseModel" : {
  73425. "type" : "object"
  73426. },
  73427. "AlipayOpenMiniResourceRecordNotifyErrorResponseModel" : {
  73428. "required" : [ "code", "message" ],
  73429. "type" : "object",
  73430. "properties" : {
  73431. "code" : {
  73432. "type" : "string",
  73433. "description" : "错误码",
  73434. "enum" : [ "PARAM_APP_ID_IS_BLANK", "PARAM_TAOBAO_ID_IS_BLANK", "PARAM_TAOBAO_NICK_IS_BLANK", "RESOURCE_SOURCE_IS_NOT_EXIST" ]
  73435. },
  73436. "links" : {
  73437. "type" : "string",
  73438. "description" : "解决方案链接"
  73439. },
  73440. "message" : {
  73441. "type" : "string",
  73442. "description" : "错误描述"
  73443. }
  73444. }
  73445. },
  73446. "AlipayOpenMiniResourceRecordNotifyModel" : {
  73447. "type" : "object",
  73448. "properties" : {
  73449. "author_id" : {
  73450. "type" : "string",
  73451. "description" : "媒体唤起时传入的支付宝id",
  73452. "example" : "2121******"
  73453. },
  73454. "mini_app_id" : {
  73455. "type" : "string",
  73456. "description" : "支付宝appid,代表一个小程序的唯一标识",
  73457. "example" : "201***********"
  73458. },
  73459. "params" : {
  73460. "type" : "string",
  73461. "description" : "媒体唤起时提供的额外参数值列表,这里可能有多个值,打平以后拼入。即url_decode(authcbparams)",
  73462. "example" : "app_id=1024562&a=1&b=2&c=3&bind_entry=12"
  73463. },
  73464. "site_id" : {
  73465. "type" : "string",
  73466. "description" : "回调的siteid 淘宝账号唯一",
  73467. "example" : "12323232"
  73468. },
  73469. "source" : {
  73470. "type" : "string",
  73471. "description" : "媒体来源,标识调用方",
  73472. "example" : "zfb_xcx"
  73473. },
  73474. "taobao_id" : {
  73475. "type" : "string",
  73476. "description" : "淘宝id",
  73477. "example" : "1***********"
  73478. },
  73479. "taobao_nick" : {
  73480. "type" : "string",
  73481. "description" : "淘宝昵称",
  73482. "example" : "**昵称"
  73483. }
  73484. }
  73485. },
  73486. "AlipayOpenMiniResourceRecordNotifyResponseModel" : {
  73487. "type" : "object"
  73488. },
  73489. "AlipayOpenMiniSafedomainCreateErrorResponseModel" : {
  73490. "required" : [ "code", "message" ],
  73491. "type" : "object",
  73492. "properties" : {
  73493. "code" : {
  73494. "type" : "string",
  73495. "description" : "错误码",
  73496. "enum" : [ "SYSTEM_ERROR", "SAFE_DOMAIN_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "SAFEDOMAIN_FORBID", "SAFEDOMAIN_EXCEED_LENGTH", "SAFEDOMAIN_VOER_LIMIT", "SAFEDOMAIN_EXSIT", "ANTI_PHISHING_EXIST", "INVALID_SAFE_DOMAIN" ]
  73497. },
  73498. "links" : {
  73499. "type" : "string",
  73500. "description" : "解决方案链接"
  73501. },
  73502. "message" : {
  73503. "type" : "string",
  73504. "description" : "错误描述"
  73505. }
  73506. }
  73507. },
  73508. "AlipayOpenMiniSafedomainCreateModel" : {
  73509. "type" : "object",
  73510. "properties" : {
  73511. "safe_domain" : {
  73512. "type" : "string",
  73513. "description" : "服务器域名白名单。支付宝小程序在HTTP请求、上传文件等场景只能与域名白名单中的域名进行通讯 。\t新添加域白名单后需重新上传应用版本(模板模式下小程序模板及商家应用都需重新上传、实例化版本)才会生效。老版本应用继续使用老版本名单。\t每个应用最多可添加30个 URL。",
  73514. "example" : "example.com"
  73515. }
  73516. }
  73517. },
  73518. "AlipayOpenMiniSafedomainCreateResponseModel" : {
  73519. "type" : "object"
  73520. },
  73521. "AlipayOpenMiniSafedomainDeleteErrorResponseModel" : {
  73522. "required" : [ "code", "message" ],
  73523. "type" : "object",
  73524. "properties" : {
  73525. "code" : {
  73526. "type" : "string",
  73527. "description" : "错误码",
  73528. "enum" : [ "SYSTEM_ERROR", "APPLICATION_TYPE_NOT_MINIAPP", "SAFE_DOMAIN_IS_BLANK" ]
  73529. },
  73530. "links" : {
  73531. "type" : "string",
  73532. "description" : "解决方案链接"
  73533. },
  73534. "message" : {
  73535. "type" : "string",
  73536. "description" : "错误描述"
  73537. }
  73538. }
  73539. },
  73540. "AlipayOpenMiniSafedomainDeleteResponseModel" : {
  73541. "type" : "object"
  73542. },
  73543. "AlipayOpenMiniTemplateMarketingCreateErrorResponseModel" : {
  73544. "required" : [ "code", "message" ],
  73545. "type" : "object",
  73546. "properties" : {
  73547. "code" : {
  73548. "type" : "string",
  73549. "description" : "错误码",
  73550. "enum" : [ "ACTIVITY_ID_IS_NULL", "TEMPLATE_ID_IS_NULL", "END_TIME_IS_VALID", "TEMPLATE_ID_OVER_LIMIT", "ACTIVITY_IS_NOT_EXIST", "HAS_NO_AUTH_FOR_ACTIVITY" ]
  73551. },
  73552. "links" : {
  73553. "type" : "string",
  73554. "description" : "解决方案链接"
  73555. },
  73556. "message" : {
  73557. "type" : "string",
  73558. "description" : "错误描述"
  73559. }
  73560. }
  73561. },
  73562. "AlipayOpenMiniTemplateMarketingCreateModel" : {
  73563. "type" : "object",
  73564. "properties" : {
  73565. "activity_id" : {
  73566. "type" : "string",
  73567. "description" : "营销活动id",
  73568. "example" : "2022xxxx"
  73569. },
  73570. "gmt_end" : {
  73571. "type" : "string",
  73572. "description" : "活动结束时间",
  73573. "example" : "2022-01-10 22:00:00"
  73574. },
  73575. "gmt_start" : {
  73576. "type" : "string",
  73577. "description" : "活动开始时间",
  73578. "example" : "2022-01-01 10:00:00"
  73579. },
  73580. "template_ids" : {
  73581. "type" : "array",
  73582. "description" : "消息模板id列表,最多50个模板id",
  73583. "items" : {
  73584. "type" : "string"
  73585. },
  73586. "example" : "[\"a\",\"b\",\"c\"]"
  73587. },
  73588. "title" : {
  73589. "type" : "string",
  73590. "description" : "消息运营位名称,不填默认使用券名称",
  73591. "example" : "优惠活动xxx"
  73592. }
  73593. }
  73594. },
  73595. "AlipayOpenMiniTemplateMarketingCreateResponseModel" : {
  73596. "type" : "object",
  73597. "properties" : {
  73598. "detail_id" : {
  73599. "type" : "string",
  73600. "description" : "投放详情主键id",
  73601. "example" : "MDDdejifjeifjoe30fr4j3ifo3f3f3"
  73602. }
  73603. }
  73604. },
  73605. "AlipayOpenMiniTemplateUsageQueryErrorResponseModel" : {
  73606. "required" : [ "code", "message" ],
  73607. "type" : "object",
  73608. "properties" : {
  73609. "code" : {
  73610. "type" : "string",
  73611. "description" : "错误码",
  73612. "enum" : [ "SYSTEM_ERROR", "INVALID_PAGE_NUM", "INVALID_PAGE_SIZE", "PAGE_SIZE_EXCEED_MAX_QUERY_SIZE", "APPLICATION_TYPE_NOT_ISVAPP", "TEMPLATE_ID_IS_BLANK", "ISV_APP_ID_IS_BLANK", "TEMPLATE_ID_ISVAPPID_NOT_MATCH", "BUNDLE_ID_NOT_EXIST", "TEMPLATE_NO_RELATION_ERROR", "INVALID_PARAMS" ]
  73613. },
  73614. "links" : {
  73615. "type" : "string",
  73616. "description" : "解决方案链接"
  73617. },
  73618. "message" : {
  73619. "type" : "string",
  73620. "description" : "错误描述"
  73621. }
  73622. }
  73623. },
  73624. "AlipayOpenMiniTemplateUsageQueryResponseModel" : {
  73625. "type" : "object",
  73626. "properties" : {
  73627. "app_ids" : {
  73628. "type" : "array",
  73629. "description" : "小程序appId列表",
  73630. "items" : {
  73631. "type" : "string"
  73632. },
  73633. "example" : "208812345678"
  73634. },
  73635. "template_usage_info_list" : {
  73636. "type" : "array",
  73637. "description" : "模板使用信息",
  73638. "items" : {
  73639. "$ref" : "#/components/schemas/TemplateUsageInfo"
  73640. }
  73641. }
  73642. }
  73643. },
  73644. "AlipayOpenMiniTemplatemessageUsertemplateApplyErrorResponseModel" : {
  73645. "required" : [ "code", "message" ],
  73646. "type" : "object",
  73647. "properties" : {
  73648. "code" : {
  73649. "type" : "string",
  73650. "description" : "错误码",
  73651. "enum" : [ "MESSAGE_LIBRARY_ILLEGAL", "MESSAGE_TEMPLATE_KEYWORD_ILLEGAL", "KEYWORDS_NUMBER_INVALID", "USER_TEMPLATE_OVER_LIMIT" ]
  73652. },
  73653. "links" : {
  73654. "type" : "string",
  73655. "description" : "解决方案链接"
  73656. },
  73657. "message" : {
  73658. "type" : "string",
  73659. "description" : "错误描述"
  73660. }
  73661. }
  73662. },
  73663. "AlipayOpenMiniTemplatemessageUsertemplateApplyModel" : {
  73664. "type" : "object",
  73665. "properties" : {
  73666. "keyword_list" : {
  73667. "type" : "string",
  73668. "description" : "开发者自行组合好的模板关键词列表,关键词之间使用英文的逗号“,”进行分割,关键词顺序可以自由搭配,最多支持10个关键词组合,这里组织的关键词,在发送模板消息接口中,按照这里的顺序进行占位符替换",
  73669. "example" : "1,2,3"
  73670. },
  73671. "template_library_id" : {
  73672. "type" : "string",
  73673. "description" : "模板库id,可登录小程序后台查看获取",
  73674. "example" : "AT0001"
  73675. }
  73676. }
  73677. },
  73678. "AlipayOpenMiniTemplatemessageUsertemplateApplyResponseModel" : {
  73679. "type" : "object",
  73680. "properties" : {
  73681. "user_template_id" : {
  73682. "type" : "string",
  73683. "description" : "开发者申请的模板id号,使用该模板id号,开发者可以调用alipay.open.app.mini.templatemessage.send接口进行模板消息发送",
  73684. "example" : "MDI4YzIxMDE2M2I5YTQzYjUxNWE4MjA4NmU1MTIyYmM="
  73685. }
  73686. }
  73687. },
  73688. "AlipayOpenMiniTemplatemsgMaketingBatchqueryErrorResponseModel" : {
  73689. "required" : [ "code", "message" ],
  73690. "type" : "object",
  73691. "properties" : {
  73692. "code" : {
  73693. "type" : "string",
  73694. "description" : "错误码",
  73695. "enum" : [ "PAG_NUM_NOT_VALID", "PAG_SIZE_NOT_VALID", "SYSTEM_ERROR" ]
  73696. },
  73697. "links" : {
  73698. "type" : "string",
  73699. "description" : "解决方案链接"
  73700. },
  73701. "message" : {
  73702. "type" : "string",
  73703. "description" : "错误描述"
  73704. }
  73705. }
  73706. },
  73707. "AlipayOpenMiniTemplatemsgMaketingBatchqueryModel" : {
  73708. "type" : "object",
  73709. "properties" : {
  73710. "page_num" : {
  73711. "type" : "integer",
  73712. "description" : "分页查询页码",
  73713. "example" : "1"
  73714. },
  73715. "page_size" : {
  73716. "type" : "integer",
  73717. "description" : "每页展示条数,最大支持50个",
  73718. "example" : "10"
  73719. }
  73720. }
  73721. },
  73722. "AlipayOpenMiniTemplatemsgMaketingBatchqueryResponseModel" : {
  73723. "type" : "object",
  73724. "properties" : {
  73725. "marketing_delivery_detail_list" : {
  73726. "type" : "array",
  73727. "description" : "投放详情列表",
  73728. "items" : {
  73729. "$ref" : "#/components/schemas/MarketingDeliveryDetail"
  73730. }
  73731. },
  73732. "total" : {
  73733. "type" : "integer",
  73734. "description" : "投放详情总条数",
  73735. "example" : "100"
  73736. }
  73737. }
  73738. },
  73739. "AlipayOpenMiniTemplatemsgMaketingstatusModifyErrorResponseModel" : {
  73740. "required" : [ "code", "message" ],
  73741. "type" : "object",
  73742. "properties" : {
  73743. "code" : {
  73744. "type" : "string",
  73745. "description" : "错误码",
  73746. "enum" : [ "DELIVERY_DETAIL_ID_IS_NULL", "DELIVERY_DETAIL_STATUS_NOT_VALID", "DELIVERY_APP_AUTH_NOT_VALID", "DELETE_STATUS_CANNOT_UPDATE", "DELIVERY_STATUS_IS_ONLINE", "DELIVERY_STATUS_IS_INIT", "SYSTEM_ERROR" ]
  73747. },
  73748. "links" : {
  73749. "type" : "string",
  73750. "description" : "解决方案链接"
  73751. },
  73752. "message" : {
  73753. "type" : "string",
  73754. "description" : "错误描述"
  73755. }
  73756. }
  73757. },
  73758. "AlipayOpenMiniTemplatemsgMaketingstatusModifyModel" : {
  73759. "type" : "object",
  73760. "properties" : {
  73761. "detail_id" : {
  73762. "type" : "string",
  73763. "description" : "营销投放详情id",
  73764. "example" : "MDDadsfeeijdfiedfef32r3jkdeaqee"
  73765. },
  73766. "status" : {
  73767. "type" : "string",
  73768. "description" : "投放详情状态值,如:INIT:下线状态,ON_LINE:上线状态,DELETED:删除状态",
  73769. "example" : "DELETED"
  73770. }
  73771. }
  73772. },
  73773. "AlipayOpenMiniTemplatemsgMaketingstatusModifyResponseModel" : {
  73774. "type" : "object"
  73775. },
  73776. "AlipayOpenMiniTemplatemsgTinypayswitchConfirmErrorResponseModel" : {
  73777. "required" : [ "code", "message" ],
  73778. "type" : "object",
  73779. "properties" : {
  73780. "code" : {
  73781. "type" : "string",
  73782. "description" : "错误码",
  73783. "enum" : [ "SYSTEM_ERROR", "APPINFO_NOT_EXIST", "BIZ_CONTENT_IS_NULL" ]
  73784. },
  73785. "links" : {
  73786. "type" : "string",
  73787. "description" : "解决方案链接"
  73788. },
  73789. "message" : {
  73790. "type" : "string",
  73791. "description" : "错误描述"
  73792. }
  73793. }
  73794. },
  73795. "AlipayOpenMiniTemplatemsgTinypayswitchConfirmResponseModel" : {
  73796. "type" : "object"
  73797. },
  73798. "AlipayOpenMiniTipsDeliveryBatchqueryErrorResponseModel" : {
  73799. "required" : [ "code", "message" ],
  73800. "type" : "object",
  73801. "properties" : {
  73802. "code" : {
  73803. "type" : "string",
  73804. "description" : "错误码",
  73805. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  73806. },
  73807. "links" : {
  73808. "type" : "string",
  73809. "description" : "解决方案链接"
  73810. },
  73811. "message" : {
  73812. "type" : "string",
  73813. "description" : "错误描述"
  73814. }
  73815. }
  73816. },
  73817. "AlipayOpenMiniTipsDeliveryBatchqueryModel" : {
  73818. "type" : "object",
  73819. "properties" : {
  73820. "page_number" : {
  73821. "type" : "string",
  73822. "description" : "每页记录条数,最小1,最大20",
  73823. "example" : "1"
  73824. },
  73825. "page_size" : {
  73826. "type" : "string",
  73827. "description" : "查询的页数,从1开始,最大1000",
  73828. "example" : "5"
  73829. }
  73830. }
  73831. },
  73832. "AlipayOpenMiniTipsDeliveryBatchqueryResponseModel" : {
  73833. "type" : "object",
  73834. "properties" : {
  73835. "tips_delivery_list" : {
  73836. "type" : "array",
  73837. "description" : "收藏引导活动信息列表。根据活动状态排序,顺序为:生效中,暂停,审核中,白名单生效中,初始化,审核失败,结束。相同状态优先展示状态更新时间最迟的活动。",
  73838. "items" : {
  73839. "$ref" : "#/components/schemas/TipsDelivery"
  73840. }
  73841. },
  73842. "total_pages" : {
  73843. "type" : "integer",
  73844. "description" : "总页数",
  73845. "example" : "1"
  73846. },
  73847. "total_size" : {
  73848. "type" : "integer",
  73849. "description" : "收藏引导数据总数量",
  73850. "example" : "20"
  73851. }
  73852. }
  73853. },
  73854. "AlipayOpenMiniTipsDeliveryCreateErrorResponseModel" : {
  73855. "required" : [ "code", "message" ],
  73856. "type" : "object",
  73857. "properties" : {
  73858. "code" : {
  73859. "type" : "string",
  73860. "description" : "错误码",
  73861. "enum" : [ "EXIST_INDEX_TIPS_DELIVERY", "EXIST_TARGET_TIPS_DELIVERY", "TIPS_DELIVERY_EXCEED_LIMIT", "SYSTEM_ERROR", "INVALID_DELIVERY_TIME", "INVALID_MATCH_URL", "INVALID_MATCH_TYPE" ]
  73862. },
  73863. "links" : {
  73864. "type" : "string",
  73865. "description" : "解决方案链接"
  73866. },
  73867. "message" : {
  73868. "type" : "string",
  73869. "description" : "错误描述"
  73870. }
  73871. }
  73872. },
  73873. "AlipayOpenMiniTipsDeliveryCreateModel" : {
  73874. "type" : "object",
  73875. "properties" : {
  73876. "delivery_content" : {
  73877. "type" : "string",
  73878. "description" : "收藏引导文案内容,不得超过14个字",
  73879. "example" : "点击收藏,下次使用更方便"
  73880. },
  73881. "delivery_name" : {
  73882. "type" : "string",
  73883. "description" : "收藏引导活动名称",
  73884. "example" : "收藏引导首页投放活动"
  73885. },
  73886. "end_time" : {
  73887. "type" : "string",
  73888. "description" : "活动结束时间",
  73889. "example" : "2022-12-31 15:23:43"
  73890. },
  73891. "match_type" : {
  73892. "type" : "string",
  73893. "description" : "匹配类型:GLOBAL为全局生效,TARGETURL为目标页面生效,需配置相应页面地址match_url。",
  73894. "example" : "TARGETURL"
  73895. },
  73896. "match_url" : {
  73897. "type" : "string",
  73898. "description" : "目标页面地址",
  73899. "example" : "/page/web"
  73900. },
  73901. "start_time" : {
  73902. "type" : "string",
  73903. "description" : "活动开始时间",
  73904. "example" : "2021-11-25 15:23:43"
  73905. }
  73906. }
  73907. },
  73908. "AlipayOpenMiniTipsDeliveryCreateResponseModel" : {
  73909. "type" : "object",
  73910. "properties" : {
  73911. "delivery_id" : {
  73912. "type" : "string",
  73913. "description" : "收藏引导活动ID",
  73914. "example" : "20211111000000797023"
  73915. }
  73916. }
  73917. },
  73918. "AlipayOpenMiniTipsDeliveryModifyErrorResponseModel" : {
  73919. "required" : [ "code", "message" ],
  73920. "type" : "object",
  73921. "properties" : {
  73922. "code" : {
  73923. "type" : "string",
  73924. "description" : "错误码",
  73925. "enum" : [ "INVALID_PARAMETER", "DELIVER_NOT_EXIST", "TIPS_DELIVERY_AUDITING", "SAME_MODIFY_OPERATION_TYPE", "INVALID_OPERATE_TYPE", "STATUS_NOT_ALLOWED" ]
  73926. },
  73927. "links" : {
  73928. "type" : "string",
  73929. "description" : "解决方案链接"
  73930. },
  73931. "message" : {
  73932. "type" : "string",
  73933. "description" : "错误描述"
  73934. }
  73935. }
  73936. },
  73937. "AlipayOpenMiniTipsDeliveryModifyModel" : {
  73938. "type" : "object",
  73939. "properties" : {
  73940. "delivery_id" : {
  73941. "type" : "string",
  73942. "description" : "收藏引导投放活动ID",
  73943. "example" : "20211114000003057595"
  73944. },
  73945. "operate_type" : {
  73946. "type" : "string",
  73947. "description" : "活动投放操作类型。枚举值:恢复-RESUME,暂停-PAUSE,终止-STOP",
  73948. "example" : "RESUME"
  73949. }
  73950. }
  73951. },
  73952. "AlipayOpenMiniTipsDeliveryModifyResponseModel" : {
  73953. "type" : "object"
  73954. },
  73955. "AlipayOpenMiniTipsDeliveryQueryErrorResponseModel" : {
  73956. "required" : [ "code", "message" ],
  73957. "type" : "object",
  73958. "properties" : {
  73959. "code" : {
  73960. "type" : "string",
  73961. "description" : "错误码",
  73962. "enum" : [ "DELIVER_NOT_EXIST", "NO_PERMISSION" ]
  73963. },
  73964. "links" : {
  73965. "type" : "string",
  73966. "description" : "解决方案链接"
  73967. },
  73968. "message" : {
  73969. "type" : "string",
  73970. "description" : "错误描述"
  73971. }
  73972. }
  73973. },
  73974. "AlipayOpenMiniTipsDeliveryQueryResponseModel" : {
  73975. "type" : "object",
  73976. "properties" : {
  73977. "delivery_content" : {
  73978. "type" : "string",
  73979. "description" : "收藏引导文案内容",
  73980. "example" : "点击收藏,下次访问更方便"
  73981. },
  73982. "delivery_id" : {
  73983. "type" : "string",
  73984. "description" : "收藏引导投放活动ID",
  73985. "example" : "20211114000003057595"
  73986. },
  73987. "delivery_name" : {
  73988. "type" : "string",
  73989. "description" : "收藏引导配置投放活动的名称",
  73990. "example" : "收藏引导配置投放活动"
  73991. },
  73992. "end_time" : {
  73993. "type" : "string",
  73994. "description" : "活动结束时间",
  73995. "example" : "2021-11-12 14:31:13"
  73996. },
  73997. "fail_reason" : {
  73998. "type" : "string",
  73999. "description" : "文案审核驳回理由,仅AUDIT_REJECTED生效",
  74000. "example" : "当前文案语义不通顺,请修改"
  74001. },
  74002. "match_type" : {
  74003. "type" : "string",
  74004. "description" : "匹配类型:GLOBAL为全局生效,TARGETURL为目标页面生效,需配置相应页面地址match_url",
  74005. "example" : "TARGETURL"
  74006. },
  74007. "match_url" : {
  74008. "type" : "string",
  74009. "description" : "目标页面地址",
  74010. "example" : "/page/web"
  74011. },
  74012. "start_time" : {
  74013. "type" : "string",
  74014. "description" : "活动开始时间",
  74015. "example" : "2021-11-11 14:31:13"
  74016. },
  74017. "status" : {
  74018. "type" : "string",
  74019. "description" : "活动状态。 枚举值: INIT: 初始化;AUDITING: 审核中;AUDIT_REJECTED:审核驳回;WORKING: 生效中;PUASE: 暂停;FINISHED 已结束;",
  74020. "example" : "WORKING"
  74021. }
  74022. }
  74023. },
  74024. "AlipayOpenMiniTipsStatisticQueryErrorResponseModel" : {
  74025. "required" : [ "code", "message" ],
  74026. "type" : "object",
  74027. "properties" : {
  74028. "code" : {
  74029. "type" : "string",
  74030. "description" : "错误码",
  74031. "enum" : [ "NO_QUERY_DELIVERY_ID", "INVALID_QUERY_TYPE", "INVALID_QUERY_TIME", "DELIVER_NOT_EXIST" ]
  74032. },
  74033. "links" : {
  74034. "type" : "string",
  74035. "description" : "解决方案链接"
  74036. },
  74037. "message" : {
  74038. "type" : "string",
  74039. "description" : "错误描述"
  74040. }
  74041. }
  74042. },
  74043. "AlipayOpenMiniTipsStatisticQueryResponseModel" : {
  74044. "type" : "object",
  74045. "properties" : {
  74046. "app_collect_cnt" : {
  74047. "type" : "integer",
  74048. "description" : "昨日(接口调用当日的前一天)小程序收藏人数,时间内未创建投放活动,则响应时不传出参数。",
  74049. "example" : "4798780"
  74050. },
  74051. "app_uv" : {
  74052. "type" : "integer",
  74053. "description" : "昨日(接口调用当日的前一天)小程序访问人数。当小程序日访问量为0,或以活动维度查询,或时间内未创建投放活动,则响应时不传出参数。",
  74054. "example" : "3080000"
  74055. },
  74056. "delivery_content" : {
  74057. "type" : "string",
  74058. "description" : "收藏文案内容(仅以app维度查询时为空),仅活动维度查询成功时返回。",
  74059. "example" : "点击收藏,下次使用更方便"
  74060. },
  74061. "delivery_id" : {
  74062. "type" : "string",
  74063. "description" : "收藏引导投放活动ID(仅以app维度查询时为空),仅活动维度查询成功时返回。",
  74064. "example" : "2018092061468502"
  74065. },
  74066. "tips_collect_rate" : {
  74067. "type" : "string",
  74068. "description" : "昨日(接口调用当日的前一天)收藏引导文案收藏转化率,数据为小数字符串类型,取小数点后两位,单位为百分比。小程序曝光数为0,或时间内未创建投放活动,则响应时不传出参数。",
  74069. "example" : "33.33"
  74070. },
  74071. "tips_collect_uv" : {
  74072. "type" : "integer",
  74073. "description" : "昨日(接口调用当日的前一天)收藏引导文案收藏用户数,时间内未创建投放活动,则响应时不传出参数。",
  74074. "example" : "440000"
  74075. },
  74076. "tips_expo_uv" : {
  74077. "type" : "integer",
  74078. "description" : "昨日(接口调用当日的前一天)收藏引导文案曝光用户数,时间内未创建投放活动,则响应时不传出参数。",
  74079. "example" : "434000"
  74080. },
  74081. "total_app_collect_cnt" : {
  74082. "type" : "integer",
  74083. "description" : "时间段内累计小程序收藏人数,时间内未创建投放活动,则响应时不传出参数。",
  74084. "example" : "7800000"
  74085. },
  74086. "total_app_uv" : {
  74087. "type" : "integer",
  74088. "description" : "时间段内累计小程序访问人数。当小程序日访问量为0,或以活动维度查询,或时间内未创建投放活动,则响应时不传出参数。",
  74089. "example" : "79980000"
  74090. },
  74091. "total_tips_collect_rate" : {
  74092. "type" : "string",
  74093. "description" : "时间段内收藏引导文案收藏转化率,数据为小数字符串类型,取小数点后两位,单位为百分比。小程序曝光数为0,或时间内未创建投放活动,则响应时不传出参数。",
  74094. "example" : "33.33"
  74095. },
  74096. "total_tips_collect_uv" : {
  74097. "type" : "integer",
  74098. "description" : "时间段内累计收藏引导文案收藏用户数,时间内未创建投放活动,则响应时不传出参数。",
  74099. "example" : "5030000"
  74100. },
  74101. "total_tips_expo_uv" : {
  74102. "type" : "integer",
  74103. "description" : "时间段内累计收藏引导文案曝光用户数,仅当小程序/活动投放活动时返回。时间内未创建投放活动,则响应时不传出参数。",
  74104. "example" : "2333900"
  74105. }
  74106. }
  74107. },
  74108. "AlipayOpenMiniVersionAuditApplyErrorResponseModel" : {
  74109. "required" : [ "code", "message" ],
  74110. "type" : "object",
  74111. "properties" : {
  74112. "code" : {
  74113. "type" : "string",
  74114. "description" : "错误码",
  74115. "enum" : [ "SYSTEM_ERROR", "APP_NAME_IS_BLANK", "INVALID_MINI_APP_NAME_LENGTH", "INVALID_MINI_APP_NAME", "ENGLISH_NAME_IS_BLANK", "INVALID_MINI_APP_EN_NAME", "INVALID_MINI_APP_EN_NAME_LENGTH", "SLOGAN_IS_BLANK", "INVALID_MINI_APP_SLOGAN_LENGTH", "INVALID_MINI_APP_SLOGAN", "SERVICE_TEL_AND_MAIL_BOTH_BLANK", "INVALID_MINI_APP_SERVICE_TEL", "INVALID_MINI_APP_SERVICE_MAIL", "CATEGORY_IS_BLANK", "CATEGORY_NUM_IS_INVALID", "APP_DESC_IS_BLANK", "INVALID_MINI_APP_DESC_LENGTH", "INVALID_MINI_APP_DESC", "REGION_TYPE_IS_BLANK", "REGION_TYPE_IS_INVALID", "REGION_CODE_IS_BLANK", "APP_VERSION_IS_BLANK", "VERSION_DESC_IS_BLANK", "INVALID_VERSION_DESC_LENGTH", "INVALID_MINI_APP_VERSION_DESC", "SCREEN_SHOTS_ARE_BLANK", "SCREEN_SHOT_NUM_IS_INVALID", "INVALID_MINI_APP_MEMO_LENGTH", "APPLICATION_TYPE_NOT_MINIAPP", "INVALID_MINI_APP_SAFE_DOMAIN", "CAN_NOT_SUBMIT_WITH_ALI_CLOUD", "MINI_APP_NAME_DUPLICATE", "MINI_APP_EN_NAME_DUPLICATE", "INVALID_CATEGORY", "INVALID_REGION", "MINI_APP_NAME_SENSITIVE", "MINI_APP_EN_NAME_SENSITIVE", "MINI_APP_SLOGAN_SENSITIVE", "MINI_APP_MEMO_SENSITIVE", "MINI_APP_DESC_SENSITIVE", "MINI_APP_SERVICE_MAIL_SENSITIVE", "MINI_APP_VERSION_DESC_SENSITIVE", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_MODIFY_NAME_ONCE_ONLINE", "CAN_NOT_MODIFY_EN_ONCE_ONLINE", "MODIFY_SLOGAN_EXCEED_COUNT", "MODIFY_CATEGORY_ID_EXCEED_COUNT", "MODIFY_DESC_EXCEED_COUNT", "CAN_NOT_SUBMIT_WITH_AUDIT", "CAN_NOT_SUBMIT_WITHOUT_INIT", "CAN_NOT_SUBMIT_WITHOUT_SCAN_PASS", "CAN_NOT_SUBMIT_WITH_AUDIT_GRAY", "EXIST_LARGER_ONLINED_VERSION", "LICENSE_NO_IS_BLANK", "LICENSE_VALID_DATE_IS_BLANK", "LICENSE_VALID_DATE_IS_INVALID", "OUT_DOOR_PIC_IS_BLANK", "LICENSE_PICS_ARE_BLANK", "LICENSE_PIC_NUM_IS_INVALID", "LICENSE_CHECK_FAIL", "LOGO_HEIGHT_NOT_EQUAL_WIDTH", "INVALID_SCREEN_SHOT_EXT", "SCREEN_SHOT_EXCEED_MAX_SIZE", "INVALID_PARAMETER", "LOGO_EXCEED_MAX_SIZE", "INVALID_LOGO_EXT", "INVALID_PARAMS", "INVALID_LOGO", "RISK_DECISION_CHECK_FAIL", "TINY_APP_AUDIT_NOT_PERMIT", "RISK_DECISION_HIT_BRAND", "BRAND_TORT_NOT_END", "SPECIAL_LICENSE_PICS_ARE_BLANK", "FILE_IS_BLANK", "INVALID_FILE_EXT", "FILE_SIZE_EXCEED", "INVALID_SPECIAL_LICENSE_NUM", "BUNDLE_ID_NOT_EXIST", "DEFAULT_LOGO", "SUBMIT_REPEAT", "PRIVATE_NOT_ALLOW_CATEGORY", "MINI_APP_INFO_AUDIT_CONTAINS", "MINI_VERSION_NAME_DUPLICATE", "LOGO_SIZE_EXCEED", "APP_INFO_NOT_EXIST", "USER_NOT_EXIST", "REGION_CODE_IS_INVALID", "SERVICE_TEL_IS_BLANK", "INVALID_MINI_APP_NAME_PREFIX", "SYSTEM_LIMIT", "LOGO_IS_BLANK" ]
  74116. },
  74117. "links" : {
  74118. "type" : "string",
  74119. "description" : "解决方案链接"
  74120. },
  74121. "message" : {
  74122. "type" : "string",
  74123. "description" : "错误描述"
  74124. }
  74125. }
  74126. },
  74127. "AlipayOpenMiniVersionAuditApplyModel" : {
  74128. "type" : "object",
  74129. "properties" : {
  74130. "app_category_ids" : {
  74131. "type" : "string",
  74132. "description" : "小程序类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query接口查询,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。",
  74133. "example" : "11_12;12_13"
  74134. },
  74135. "app_desc" : {
  74136. "type" : "string",
  74137. "description" : "小程序描述,长度限制 20~400 个字符。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过https://opendocs.alipay.com/mini/03l21r查询当前小程序信息",
  74138. "example" : "一家专注做潮流女装的店铺,带给消费者价格便宜、质量上乘的衣服"
  74139. },
  74140. "app_english_name" : {
  74141. "type" : "string",
  74142. "description" : "小程序应用英文名称,长度限制 3~30 个字符;仅支持英文和数字。\t如果不填默认采用当前小程序应用英文名称,如无默认值则必填,不可为空。",
  74143. "example" : "demoexample"
  74144. },
  74145. "app_name" : {
  74146. "type" : "string",
  74147. "description" : "小程序名称,长度限制 3~30 个字符,仅支持包含中文、数字、英文、下划线、+、-。\t如果不填默认采用当前小程序应用名称,如无默认值则必填,不可为空。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过https://opendocs.alipay.com/mini/03l21r查询当前小程序信息",
  74148. "example" : "杭州支小宝潮流女装店"
  74149. },
  74150. "app_slogan" : {
  74151. "type" : "string",
  74152. "description" : "小程序简介,一句话描述小程序功能,长度限制 10~32个字符。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过https://opendocs.alipay.com/mini/03l21r查询当前小程序信息",
  74153. "example" : "专注潮流女装20年"
  74154. },
  74155. "app_version" : {
  74156. "type" : "string",
  74157. "description" : "小程序版本号,请选择开发版本执行提交审核操作。",
  74158. "example" : "0.0.1"
  74159. },
  74160. "audit_rule" : {
  74161. "type" : "string",
  74162. "description" : "审核类型:\tNONE: 不拆分准入、营销(默认)\tBASE_PROMOTE:准入、营销拆分审核\t建议设置成“BASE_PROMOTE”,小程序将会更容易上架。将小程序发布审核拆分成“准入”、“营销”。原先小程序需要两个环节都审核通过才能上架,现在小程序只需要准入通过即可上架,但是无法在营销场景(支付宝泛搜、支付宝首页推荐等)展现给用户,小程序可通过精搜或者扫码等方式使用。如果小程序需要进行营销,可发布新版本,当准入&营销都通过后,小程序也可被营销。点击查看支付宝小程序营销规范:https://opendocs.alipay.com/b/03al2q",
  74163. "example" : "BASE_PROMOTE"
  74164. },
  74165. "auto_online" : {
  74166. "type" : "string",
  74167. "description" : "审核通过后是否自动上架,\t自动上架:true;不自动上架(默认):false。\t如果小程序上架前无需特殊处理,建议设置成true,平台将会在小程序审核通过时自动将其上架",
  74168. "example" : "true"
  74169. },
  74170. "bundle_id" : {
  74171. "type" : "string",
  74172. "description" : "小程序投放的端参数。例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
  74173. "example" : "com.alipay.alipaywallet"
  74174. },
  74175. "license_name" : {
  74176. "type" : "string",
  74177. "description" : "营业执照名称,部分小程序类目需要提交,可通过https://opendocs.alipay.com/mini/03l8c8 查询类目是否需要上传营业执照信息。参照https://opendocs.alipay.com/mini/operation/material 要求填写营业执照信息。\t如果选择的类目不需要该信息,则可不填。如果选择的类目需要该信息,如果商户之前在平台上传过该信息,也允许不填",
  74178. "example" : "营业执照名称"
  74179. },
  74180. "license_no" : {
  74181. "type" : "string",
  74182. "description" : "营业执照证件号,部分小程序类目需要提交,可通过https://opendocs.alipay.com/mini/03l8c8 查询类目是否需要上传营业执照信息。参照https://opendocs.alipay.com/mini/operation/material 要求填写营业执照信息。\t\t如果选择的类目不需要该信息,则可不填。如果选择的类目需要该信息,如果商户之前在平台上传过该信息,也允许不填",
  74183. "example" : "licenseNo"
  74184. },
  74185. "license_valid_date" : {
  74186. "type" : "string",
  74187. "description" : "营业执照有效期,格式为 yyyy-MM-dd,9999-12-31表示长期有效。\t部分小程序类目需要提交,可通过https://opendocs.alipay.com/mini/03l8c8 查询类目是否需要上传营业执照信息。参照https://opendocs.alipay.com/mini/operation/material 要求填写营业执照信息。\t如果选择的类目不需要该信息,则可不填。如果选择的类目需要该信息,如果商户之前在平台上传过该信息,也允许不填",
  74188. "example" : "9999-12-31"
  74189. },
  74190. "memo" : {
  74191. "type" : "string",
  74192. "description" : "小程序备注,小程序备注最多500字符。",
  74193. "example" : "小程序示例"
  74194. },
  74195. "mini_category_ids" : {
  74196. "type" : "string",
  74197. "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query\t接口查询mini_category_list。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过https://opendocs.alipay.com/mini/03l21r查询当前小程序信息\t注意:个人开发者不得使用企业类目。",
  74198. "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
  74199. },
  74200. "region_type" : {
  74201. "type" : "string",
  74202. "description" : "小程序服务区域类型,支持:\tGLOBAL-全球\tCHINA-中国\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。\tLOCATION-指定区域",
  74203. "example" : "CHINA"
  74204. },
  74205. "service_email" : {
  74206. "type" : "string",
  74207. "description" : "小程序客服邮箱,如果不填默认采用当前小程序的应用客服邮箱,小程序客服电话和邮箱至少输入一个。如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。\t注意:2021年7月1日后,该字段将逐步灰度为可选字段,请按可选开发。",
  74208. "example" : "example@mail.com"
  74209. },
  74210. "service_phone" : {
  74211. "type" : "string",
  74212. "description" : "小程序客服电话,长度限制5~30个字符,仅支持包含数字和-。如果不填默认采用当前小程序的应用客服电话,小程序客服电话和邮箱至少输入一个。如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。\t注意:2021年7月1日后,该字段将逐步灰度为必填字段,请按必填开发。",
  74213. "example" : "13110101010"
  74214. },
  74215. "service_region_info" : {
  74216. "type" : "array",
  74217. "description" : "省市区信息。当region_type为LOCATION或传入city_code时,province_code不能为空;填写area_code时,province_code和city_code不能为空。只填province_code则全选该省;填写province_code和city_code则全选该市,以此类推。省市区code参见https://gw.alipayobjects.com/os/bmw-prod/0aab0319-13de-42b9-85cf-13877a5f78ed.xlsx\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。",
  74218. "items" : {
  74219. "$ref" : "#/components/schemas/RegionInfo"
  74220. }
  74221. },
  74222. "speed_up" : {
  74223. "type" : "string",
  74224. "description" : "如果有审核加急权益,是否使用审核加急权益加速审核:\t加速(默认):true\t不加速:false",
  74225. "example" : "true"
  74226. },
  74227. "test_accout" : {
  74228. "type" : "string",
  74229. "description" : "测试账号,是否需要填写请参见https://opendocs.alipay.com/mini/operation/standard/case/akxg6r#3.%20%E6%B5%8B%E8%AF%95%E5%86%85%E5%AE%B9%E6%8F%90%E4%BA%A4%E4%B8%8D%E5%AE%8C%E6%95%B4",
  74230. "example" : "12122"
  74231. },
  74232. "test_password" : {
  74233. "type" : "string",
  74234. "description" : "测试账号密码",
  74235. "example" : "12121"
  74236. },
  74237. "version_desc" : {
  74238. "type" : "string",
  74239. "description" : "小程序版本描述,30-500个字符。",
  74240. "example" : "本次版本更新优化了3项功能,修复了5个BUG"
  74241. }
  74242. }
  74243. },
  74244. "AlipayOpenMiniVersionAuditApplyResponseModel" : {
  74245. "type" : "object",
  74246. "properties" : {
  74247. "speed_up" : {
  74248. "type" : "string",
  74249. "description" : "是否加速审核\t加速:true;\t不加速:false",
  74250. "example" : "true"
  74251. },
  74252. "speed_up_memo" : {
  74253. "type" : "string",
  74254. "description" : "提审加速审核说明",
  74255. "example" : "绿通权益使用限流"
  74256. }
  74257. }
  74258. },
  74259. "AlipayOpenMiniVersionAuditCancelErrorResponseModel" : {
  74260. "required" : [ "code", "message" ],
  74261. "type" : "object",
  74262. "properties" : {
  74263. "code" : {
  74264. "type" : "string",
  74265. "description" : "错误码",
  74266. "enum" : [ "APPID_IS_BLANK", "AUDITING_VERSION_NOT_EXIST", "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "TINYAPP_STATUS_INVALID", "MULTI_CLIENT_NOT_PACKAGED_STATUS", "APPSTORE_RPC_INVOKE_ERROR", "BUNDLE_ID_NOT_EXIST", "INVALID_VERSION_STATUS", "SYSTEM_ERROR" ]
  74267. },
  74268. "links" : {
  74269. "type" : "string",
  74270. "description" : "解决方案链接"
  74271. },
  74272. "message" : {
  74273. "type" : "string",
  74274. "description" : "错误描述"
  74275. }
  74276. }
  74277. },
  74278. "AlipayOpenMiniVersionAuditCancelModel" : {
  74279. "type" : "object",
  74280. "properties" : {
  74281. "app_version" : {
  74282. "type" : "string",
  74283. "description" : "商家小程序审核中的版本号, 不传默认撤消正在审核中的版本。",
  74284. "example" : "0.0.1"
  74285. },
  74286. "bundle_id" : {
  74287. "type" : "string",
  74288. "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
  74289. "example" : "com.alipay.alipaywallet"
  74290. }
  74291. }
  74292. },
  74293. "AlipayOpenMiniVersionAuditCancelResponseModel" : {
  74294. "type" : "object"
  74295. },
  74296. "AlipayOpenMiniVersionAuditedCancelErrorResponseModel" : {
  74297. "required" : [ "code", "message" ],
  74298. "type" : "object",
  74299. "properties" : {
  74300. "code" : {
  74301. "type" : "string",
  74302. "description" : "错误码",
  74303. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_BACK_DEV_WITHOUT_AUDIT", "BUNDLE_ID_NOT_EXIST", "MINIAPP_VERSION_NOT_EXSIT", "APP_INFO_NOT_EXIST" ]
  74304. },
  74305. "links" : {
  74306. "type" : "string",
  74307. "description" : "解决方案链接"
  74308. },
  74309. "message" : {
  74310. "type" : "string",
  74311. "description" : "错误描述"
  74312. }
  74313. }
  74314. },
  74315. "AlipayOpenMiniVersionAuditedCancelModel" : {
  74316. "type" : "object",
  74317. "properties" : {
  74318. "app_version" : {
  74319. "type" : "string",
  74320. "description" : "商家小程序版本号。可将已过审、审核被驳回的小程序版本退回到开发中的状态。",
  74321. "example" : "0.0.1"
  74322. },
  74323. "bundle_id" : {
  74324. "type" : "string",
  74325. "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
  74326. "example" : "com.alipay.alipaywallet"
  74327. }
  74328. }
  74329. },
  74330. "AlipayOpenMiniVersionAuditedCancelResponseModel" : {
  74331. "type" : "object"
  74332. },
  74333. "AlipayOpenMiniVersionBuildQueryErrorResponseModel" : {
  74334. "required" : [ "code", "message" ],
  74335. "type" : "object",
  74336. "properties" : {
  74337. "code" : {
  74338. "type" : "string",
  74339. "description" : "错误码",
  74340. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "CODE_TEMPLATE_NOT_EXIST", "NO_AUTH_RELATION", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "ISV_APP_ID_IS_BLANK", "BUILD_VERSION_NOT_EXISTED", "BUNDLE_ID_NOT_EXIST", "APPLICATION_TYPE_ILLEGAL", "NO_TEMPLATE_INSTANTIATE_RELATION", "PACKAGE_ID_IS_BLANK", "POLLING_BUILDING_ERROR" ]
  74341. },
  74342. "links" : {
  74343. "type" : "string",
  74344. "description" : "解决方案链接"
  74345. },
  74346. "message" : {
  74347. "type" : "string",
  74348. "description" : "错误描述"
  74349. }
  74350. }
  74351. },
  74352. "AlipayOpenMiniVersionBuildQueryResponseModel" : {
  74353. "type" : "object",
  74354. "properties" : {
  74355. "build_status" : {
  74356. "type" : "string",
  74357. "description" : "构建的状态,0-构建排队中;1-正在构建;2-构建成功;3-构建失败;5-构建超时",
  74358. "example" : "0"
  74359. },
  74360. "create_status" : {
  74361. "type" : "string",
  74362. "description" : "创建版本的状态,状态说明如下:\t0:构建排队中;\t1:正在构建;\t2:构建成功;\t3:构建失败;\t5:构建超时;\t6:版本创建成功。",
  74363. "example" : "6"
  74364. },
  74365. "need_rotation" : {
  74366. "type" : "string",
  74367. "description" : "是否需要轮询",
  74368. "example" : "\"true\""
  74369. },
  74370. "version_created" : {
  74371. "type" : "string",
  74372. "description" : "是否创建版本",
  74373. "example" : "\"true\""
  74374. }
  74375. }
  74376. },
  74377. "AlipayOpenMiniVersionDeleteErrorResponseModel" : {
  74378. "required" : [ "code", "message" ],
  74379. "type" : "object",
  74380. "properties" : {
  74381. "code" : {
  74382. "type" : "string",
  74383. "description" : "错误码",
  74384. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "CAN_NOT_DELETE_WITHOUT_DEV", "CAN_NOT_DELETE_WITH_SCANNING", "CAN_NOT_DELETE_WITH_EXPERIENCE", "BUNDLE_ID_NOT_EXIST", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_DELETE_WITH_INSTANTIATE", "APP_INFO_NOT_EXIST" ]
  74385. },
  74386. "links" : {
  74387. "type" : "string",
  74388. "description" : "解决方案链接"
  74389. },
  74390. "message" : {
  74391. "type" : "string",
  74392. "description" : "错误描述"
  74393. }
  74394. }
  74395. },
  74396. "AlipayOpenMiniVersionDeleteModel" : {
  74397. "type" : "object",
  74398. "properties" : {
  74399. "app_version" : {
  74400. "type" : "string",
  74401. "description" : " 小程序版本号。只有状态为开发中的版本才能被删除。",
  74402. "example" : "0.0.1"
  74403. },
  74404. "bundle_id" : {
  74405. "type" : "string",
  74406. "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
  74407. "example" : "com.alipay.alipaywallet"
  74408. }
  74409. }
  74410. },
  74411. "AlipayOpenMiniVersionDeleteResponseModel" : {
  74412. "type" : "object"
  74413. },
  74414. "AlipayOpenMiniVersionDetailQueryErrorResponseModel" : {
  74415. "required" : [ "code", "message" ],
  74416. "type" : "object",
  74417. "properties" : {
  74418. "code" : {
  74419. "type" : "string",
  74420. "description" : "错误码",
  74421. "enum" : [ "SYSTEM_ERROR", "APPLICATION_TYPE_NOT_MINIAPP", "APP_VERSION_IS_BLANK", "BUNDLE_ID_NOT_EXIST", "VERSION_IS_BLANK" ]
  74422. },
  74423. "links" : {
  74424. "type" : "string",
  74425. "description" : "解决方案链接"
  74426. },
  74427. "message" : {
  74428. "type" : "string",
  74429. "description" : "错误描述"
  74430. }
  74431. }
  74432. },
  74433. "AlipayOpenMiniVersionDetailQueryResponseModel" : {
  74434. "type" : "object",
  74435. "properties" : {
  74436. "app_desc" : {
  74437. "type" : "string",
  74438. "description" : "小程序应用描述",
  74439. "example" : "小程序demo的相关示例"
  74440. },
  74441. "app_english_name" : {
  74442. "type" : "string",
  74443. "description" : "小程序应用英文名称",
  74444. "example" : "demoexample"
  74445. },
  74446. "app_logo" : {
  74447. "type" : "string",
  74448. "description" : "小程序应用logo图标",
  74449. "example" : "http://image.aaaa.alipay.com"
  74450. },
  74451. "app_name" : {
  74452. "type" : "string",
  74453. "description" : "小程序应用名称",
  74454. "example" : "小程序demo"
  74455. },
  74456. "app_slogan" : {
  74457. "type" : "string",
  74458. "description" : "小程序应用简介,一句话描述小程序功能",
  74459. "example" : "小程序demo简介"
  74460. },
  74461. "app_version" : {
  74462. "type" : "string",
  74463. "description" : "小程序版本号",
  74464. "example" : "0.0.1"
  74465. },
  74466. "base_audit" : {
  74467. "type" : "string",
  74468. "description" : "准入审核结果:\tPASS:通过\tREJECT:驳回\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)",
  74469. "example" : "PASS"
  74470. },
  74471. "base_audit_record" : {
  74472. "$ref" : "#/components/schemas/MiniAppAuditReason"
  74473. },
  74474. "can_release" : {
  74475. "type" : "string",
  74476. "description" : "是否可上架-true/false\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)",
  74477. "example" : "true"
  74478. },
  74479. "gmt_apply_audit" : {
  74480. "type" : "string",
  74481. "description" : "小程序版本提交审核的时间",
  74482. "example" : "2017-12-12 12:00:00"
  74483. },
  74484. "gmt_audit_end" : {
  74485. "type" : "string",
  74486. "description" : "小程序版本审核结束时间",
  74487. "example" : "2017-12-12 12:00:00"
  74488. },
  74489. "gmt_create" : {
  74490. "type" : "string",
  74491. "description" : "小程序版本创建时间",
  74492. "example" : "2017-12-12 12:00:00"
  74493. },
  74494. "gmt_offline" : {
  74495. "type" : "string",
  74496. "description" : "小程序版本下架时间",
  74497. "example" : "2017-12-12 12:00:00"
  74498. },
  74499. "gmt_online" : {
  74500. "type" : "string",
  74501. "description" : "小程序版本上架时间",
  74502. "example" : "2017-12-12 12:00:00"
  74503. },
  74504. "gray_strategy" : {
  74505. "type" : "string",
  74506. "description" : "小程序灰度比例值,p10-10%的用户,p30-30%的用户,p50-50%的用户",
  74507. "example" : "p10"
  74508. },
  74509. "memo" : {
  74510. "type" : "string",
  74511. "description" : "小程序备注",
  74512. "example" : "这是一个demo示例"
  74513. },
  74514. "mini_app_category_info_list" : {
  74515. "type" : "array",
  74516. "description" : "小程序类目列表",
  74517. "items" : {
  74518. "$ref" : "#/components/schemas/MiniAppCategoryInfo"
  74519. }
  74520. },
  74521. "mini_category_info_list" : {
  74522. "type" : "array",
  74523. "description" : "新小程序类目列表",
  74524. "items" : {
  74525. "$ref" : "#/components/schemas/MiniAppCategoryInfo"
  74526. }
  74527. },
  74528. "package_info_list" : {
  74529. "type" : "array",
  74530. "description" : "小程序功能包列表",
  74531. "items" : {
  74532. "$ref" : "#/components/schemas/MiniPackageInfo"
  74533. }
  74534. },
  74535. "promote_audit" : {
  74536. "type" : "string",
  74537. "description" : "营销审核结果:\tPASS:通过\tREJECT:驳回\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)",
  74538. "example" : "PASS"
  74539. },
  74540. "promote_audit_record" : {
  74541. "$ref" : "#/components/schemas/MiniAppAuditReason"
  74542. },
  74543. "reject_reason" : {
  74544. "type" : "string",
  74545. "description" : "审核驳回原因",
  74546. "example" : "名称太宽泛"
  74547. },
  74548. "scan_result" : {
  74549. "type" : "string",
  74550. "description" : "安全扫描结果,True-安全扫描通过,False-安全扫描不通过,NAN-扫描中",
  74551. "example" : "True"
  74552. },
  74553. "screen_shot_list" : {
  74554. "type" : "array",
  74555. "description" : "小程序版本截图,多个截图以逗号隔开",
  74556. "items" : {
  74557. "type" : "string"
  74558. },
  74559. "example" : "http://image.aaa.alipay.com"
  74560. },
  74561. "service_email" : {
  74562. "type" : "string",
  74563. "description" : "客服邮箱",
  74564. "example" : "example@mail.com"
  74565. },
  74566. "service_phone" : {
  74567. "type" : "string",
  74568. "description" : "客服电话",
  74569. "example" : "13110101010"
  74570. },
  74571. "service_region_info" : {
  74572. "type" : "array",
  74573. "description" : "小程序服务区域信息,当服务区域类型是LOCATION时,这里明确指出具体的服务区域信息",
  74574. "items" : {
  74575. "$ref" : "#/components/schemas/RegionInfo"
  74576. }
  74577. },
  74578. "service_region_type" : {
  74579. "type" : "string",
  74580. "description" : "小程序服务区域类型,GLOBLE-全球,CHINA-中国,LOCATION-指定区域",
  74581. "example" : "LOCATION"
  74582. },
  74583. "status" : {
  74584. "type" : "string",
  74585. "description" : "小程序版本状态,INIT-开发中,AUDITING-审核中,WAIT_RELEASE-待上架,BASE_AUDIT_PASS-准入不可营销,AUDIT_REJECT-审核驳回,RELEASE-已上架,GRAY-灰度中,OFFLINE-已下架,AUDIT_OFFLINE-已被强制下架",
  74586. "example" : "INIT"
  74587. },
  74588. "version_desc" : {
  74589. "type" : "string",
  74590. "description" : "小程序版本描述",
  74591. "example" : "这是一个简单的版本描述"
  74592. }
  74593. }
  74594. },
  74595. "AlipayOpenMiniVersionGrayCancelErrorResponseModel" : {
  74596. "required" : [ "code", "message" ],
  74597. "type" : "object",
  74598. "properties" : {
  74599. "code" : {
  74600. "type" : "string",
  74601. "description" : "错误码",
  74602. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_END_GRAY_WITHOUT_GRAY", "MINI_APP_NOT_ONLINE", "BUNDLE_ID_NOT_EXIST", "MINI_APP_VERSION_NOT_EXIST", "MINI_APP_VERSION_STATUS_ILLEGAL" ]
  74603. },
  74604. "links" : {
  74605. "type" : "string",
  74606. "description" : "解决方案链接"
  74607. },
  74608. "message" : {
  74609. "type" : "string",
  74610. "description" : "错误描述"
  74611. }
  74612. }
  74613. },
  74614. "AlipayOpenMiniVersionGrayCancelModel" : {
  74615. "type" : "object",
  74616. "properties" : {
  74617. "app_version" : {
  74618. "type" : "string",
  74619. "description" : "商家灰度中的小程序版本号,结束灰度后小程序将回到审核通过状态。",
  74620. "example" : "0.0.1"
  74621. },
  74622. "bundle_id" : {
  74623. "type" : "string",
  74624. "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
  74625. "example" : "com.alipay.alipaywallet"
  74626. }
  74627. }
  74628. },
  74629. "AlipayOpenMiniVersionGrayCancelResponseModel" : {
  74630. "type" : "object"
  74631. },
  74632. "AlipayOpenMiniVersionGrayOnlineErrorResponseModel" : {
  74633. "required" : [ "code", "message" ],
  74634. "type" : "object",
  74635. "properties" : {
  74636. "code" : {
  74637. "type" : "string",
  74638. "description" : "错误码",
  74639. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "GRAY_STRATEGY_IS_BLANK", "GRAY_STRATEGY_IS_INVALID", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "MINI_APP_NOT_ONLINE", "GRAY_STRATEGY_NOT_ALLOW_REDUCE", "CAN_NOT_GRAY_WITHOUT_AUDIT_PASS", "BUNDLE_ID_NOT_EXIST", "CAN_NOT_GRAY_WITHOUT_INNER_PASS", "MINIAPP_VERSION_NOT_EXSIT", "CAN_NOT_GRAY_WITH_RISK_VERSION", "APP_OPERATOR_QUERY_ERROR", "CREATE_GRAY_RULE_ERROR", "EXECUTE_GRAY_FAILED" ]
  74640. },
  74641. "links" : {
  74642. "type" : "string",
  74643. "description" : "解决方案链接"
  74644. },
  74645. "message" : {
  74646. "type" : "string",
  74647. "description" : "错误描述"
  74648. }
  74649. }
  74650. },
  74651. "AlipayOpenMiniVersionGrayOnlineModel" : {
  74652. "type" : "object",
  74653. "properties" : {
  74654. "app_version" : {
  74655. "type" : "string",
  74656. "description" : "商家小程序版本号,需为审核通过状态的小程序版本。",
  74657. "example" : "0.0.1"
  74658. },
  74659. "bundle_id" : {
  74660. "type" : "string",
  74661. "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
  74662. "example" : "com.alipay.alipaywallet"
  74663. },
  74664. "gray_strategy" : {
  74665. "type" : "string",
  74666. "description" : "小程序灰度策略值。枚举支持:p10、p30、p50。其中 p10 代表 10% 的用户,p30 代表 30% 的用户,p50 代表 50% 的用户。",
  74667. "example" : "p10"
  74668. }
  74669. }
  74670. },
  74671. "AlipayOpenMiniVersionGrayOnlineResponseModel" : {
  74672. "type" : "object"
  74673. },
  74674. "AlipayOpenMiniVersionListQueryErrorResponseModel" : {
  74675. "required" : [ "code", "message" ],
  74676. "type" : "object",
  74677. "properties" : {
  74678. "code" : {
  74679. "type" : "string",
  74680. "description" : "错误码",
  74681. "enum" : [ "SYSTEM_ERROR", "APPLICATION_TYPE_NOT_MINIAPP", "NO_TEMPLATE_INSTANTIATE_RELATION" ]
  74682. },
  74683. "links" : {
  74684. "type" : "string",
  74685. "description" : "解决方案链接"
  74686. },
  74687. "message" : {
  74688. "type" : "string",
  74689. "description" : "错误描述"
  74690. }
  74691. }
  74692. },
  74693. "AlipayOpenMiniVersionListQueryResponseModel" : {
  74694. "type" : "object",
  74695. "properties" : {
  74696. "app_version_infos" : {
  74697. "type" : "array",
  74698. "description" : "版本列表,根据版本号倒叙排列,即版本号大的在前面;如果不存在任何版本,返回空列表",
  74699. "items" : {
  74700. "$ref" : "#/components/schemas/AppVersionInfo"
  74701. }
  74702. },
  74703. "app_versions" : {
  74704. "type" : "array",
  74705. "description" : "小程序支付宝端每个状态的最新版本号列表(历史返回值,已不推荐使用,逐渐废弃)",
  74706. "items" : {
  74707. "type" : "string"
  74708. },
  74709. "example" : "0.0.1"
  74710. }
  74711. }
  74712. },
  74713. "AlipayOpenMiniVersionOfflineErrorResponseModel" : {
  74714. "required" : [ "code", "message" ],
  74715. "type" : "object",
  74716. "properties" : {
  74717. "code" : {
  74718. "type" : "string",
  74719. "description" : "错误码",
  74720. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_OFFLINE_WITHOUT_ONLINE", "CAN_NOT_OFFLINE_WITH_GRAY", "MINI_APP_NOT_ONLINE", "BUNDLE_ID_NOT_EXIST", "APP_INFO_NOT_EXIST", "MINI_APP_VERSION_NOT_EXIST", "TEMPLATE_NOT_ALLOWED_OFFLINE" ]
  74721. },
  74722. "links" : {
  74723. "type" : "string",
  74724. "description" : "解决方案链接"
  74725. },
  74726. "message" : {
  74727. "type" : "string",
  74728. "description" : "错误描述"
  74729. }
  74730. }
  74731. },
  74732. "AlipayOpenMiniVersionOfflineModel" : {
  74733. "type" : "object",
  74734. "properties" : {
  74735. "app_version" : {
  74736. "type" : "string",
  74737. "description" : "商家小程序已上架版本号。",
  74738. "example" : "0.0.1"
  74739. },
  74740. "bundle_id" : {
  74741. "type" : "string",
  74742. "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
  74743. "example" : "com.alipay.alipaywallet"
  74744. }
  74745. }
  74746. },
  74747. "AlipayOpenMiniVersionOfflineResponseModel" : {
  74748. "type" : "object"
  74749. },
  74750. "AlipayOpenMiniVersionOnlineErrorResponseModel" : {
  74751. "required" : [ "code", "message" ],
  74752. "type" : "object",
  74753. "properties" : {
  74754. "code" : {
  74755. "type" : "string",
  74756. "description" : "错误码",
  74757. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_ONLINE_WITHOUT_GRAY", "MINI_APP_NOT_ONLINE", "CAN_NOT_ONLINE_WITHOUT_AUDIT", "MINI_APP_VERSION_NOT_EXIST", "CAN_NOT_ONLINE_NOT_GRAY_OR_WAITRELEASE", "CAN_NOT_ONLINE_NO_PROMOTE", "APP_INFO_NOT_EXIST", "MERCHANT_NOT_EXESIT" ]
  74758. },
  74759. "links" : {
  74760. "type" : "string",
  74761. "description" : "解决方案链接"
  74762. },
  74763. "message" : {
  74764. "type" : "string",
  74765. "description" : "错误描述"
  74766. }
  74767. }
  74768. },
  74769. "AlipayOpenMiniVersionOnlineModel" : {
  74770. "type" : "object",
  74771. "properties" : {
  74772. "app_version" : {
  74773. "type" : "string",
  74774. "description" : "商家小程序版本号,需为审核通过状态或灰度中版本。",
  74775. "example" : "0.0.1"
  74776. },
  74777. "bundle_id" : {
  74778. "type" : "string",
  74779. "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
  74780. "example" : "com.alipay.alipaywallet"
  74781. }
  74782. }
  74783. },
  74784. "AlipayOpenMiniVersionOnlineResponseModel" : {
  74785. "type" : "object"
  74786. },
  74787. "AlipayOpenMiniVersionRollbackErrorResponseModel" : {
  74788. "required" : [ "code", "message" ],
  74789. "type" : "object",
  74790. "properties" : {
  74791. "code" : {
  74792. "type" : "string",
  74793. "description" : "错误码",
  74794. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "MINI_APP_NOT_ONLINE", "CAN_NOT_ROLLBACK_WITHOUT_ONLINE", "CAN_NOT_CONTINUOUS_ROLLBACK", "CAN_NOT_ROLLBACK_WITH_GRAY", "CAN_NOT_ROLLBACK_WITHOUT_OFFLINE", "CAN_NOT_ROLLBACK_PUNISH", "BUNDLE_ID_NOT_EXIST", "APP_INFO_NOT_EXIST" ]
  74795. },
  74796. "links" : {
  74797. "type" : "string",
  74798. "description" : "解决方案链接"
  74799. },
  74800. "message" : {
  74801. "type" : "string",
  74802. "description" : "错误描述"
  74803. }
  74804. }
  74805. },
  74806. "AlipayOpenMiniVersionRollbackModel" : {
  74807. "type" : "object",
  74808. "properties" : {
  74809. "app_version" : {
  74810. "type" : "string",
  74811. "description" : "商家小程序已上架版本。下架后将自动回滚至上一(已上架)小程序版本。\t例如:商家小程序有 0.01(上一上架版本)、0.02(未上架版本)、0.03(当前上架版本) 三个版本,回滚时需传入商家小程序版本 0.03 表示将 0.03 版本回滚至上一个已上架版本即此处 0.01 版本,同时 0.03 版本将自动下架,0.01 版本自动上架(无需审核)。",
  74812. "example" : "0.0.1"
  74813. },
  74814. "bundle_id" : {
  74815. "type" : "string",
  74816. "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
  74817. "example" : "com.alipay.alipaywallet"
  74818. }
  74819. }
  74820. },
  74821. "AlipayOpenMiniVersionRollbackResponseModel" : {
  74822. "type" : "object"
  74823. },
  74824. "AlipayOpenMiniVersionUploadErrorResponseModel" : {
  74825. "required" : [ "code", "message" ],
  74826. "type" : "object",
  74827. "properties" : {
  74828. "code" : {
  74829. "type" : "string",
  74830. "description" : "错误码",
  74831. "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "TEMPLATE_ID_IS_BLANK", "CODE_TEMPLATE_NOT_EXIST", "CODE_TEMPLATE_NOT_SAFE", "CODE_TEMPLATE_DELETED", "NO_AUTH_RELATION", "VERSION_HAS_EXISTED", "LARGER_VERSION_HAS_EXISTED", "APPLICATION_TYPE_NOT_MINIAPP", "ISV_APP_ID_IS_BLANK", "INVALID_VERSION", "DEV_VERSION_EXCEED_MAX_COUNT", "TEMPLATE_NOT_ONLINE_OR_OFFLINE", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "TEMPLATE_MINIAPP_NOT_ALLOWED", "VERSION_EXCEEDED_LENGTH", "TEMPLATE_ID_ISVAPPID_NOT_MATCH", "BUNDLE_ID_NOT_EXIST", "INVALID_EXT_JSON", "APP_INFO_NOT_EXIST", "APP_TYPE_ERROR", "TEMPLATE_STATUS_PUNISHED", "TEMPLATE_STATUS_CAN_NOT_BUILD", "INVALID_PARAMS", "TEMPLATE_EXTRA_INFO_INVALID" ]
  74832. },
  74833. "links" : {
  74834. "type" : "string",
  74835. "description" : "解决方案链接"
  74836. },
  74837. "message" : {
  74838. "type" : "string",
  74839. "description" : "错误描述"
  74840. }
  74841. }
  74842. },
  74843. "AlipayOpenMiniVersionUploadModel" : {
  74844. "type" : "object",
  74845. "properties" : {
  74846. "app_version" : {
  74847. "type" : "string",
  74848. "description" : "商家小程序版本号。版本号必须满足 x.y.z, 且均为数字。要求版本号比商户之前最新的版本号高。",
  74849. "example" : "0.0.1"
  74850. },
  74851. "bundle_id" : {
  74852. "type" : "string",
  74853. "description" : "小程序投放的端参数,默认支付宝端 。支持:com.alipay.alipaywallet:支付宝端。\tcom.alipay.iot.xpaas:支付宝IoT端。\t例如投放到支付宝钱包是支付宝端。",
  74854. "example" : "com.alipay.alipaywallet"
  74855. },
  74856. "ext" : {
  74857. "type" : "string",
  74858. "description" : "自定义参数,用于配置商家小程序的个性化内容,具体使用方法参见示例代码。\t在小程序中可以通过 <a href=\"https://opendocs.alipay.com/mini/api/getExtConfig\">my.getExtConfig()</a> 或 <a href=\"https://opendocs.alipay.com/mini/api/getExtConfigSync\">my.getExtConfigSync()</a> 获取 ext 参数内容(建议支付宝版本 > 10.1.38,并使用 <a href=\"https://opendocs.alipay.com/mini/api/can-i-use\">my.canIUse</a> 做兼容处理)。",
  74859. "example" : "{\"extEnable\": true, \"extPages\": {\"pages/face/index\": {\"defaultTitle\": \"哈哈哈哈\"}},\"window\": {\"defaultTitle\": \"AI2\"}}"
  74860. },
  74861. "template_id" : {
  74862. "type" : "string",
  74863. "description" : "小程序模板 APPID。",
  74864. "example" : "1"
  74865. },
  74866. "template_version" : {
  74867. "type" : "string",
  74868. "description" : "小程序模板版本号。版本号必须满足 x.y.z, 且均为数字。不传默认使用最新在架(已上架)模板版本。",
  74869. "example" : "0.0.1"
  74870. }
  74871. }
  74872. },
  74873. "AlipayOpenMiniVersionUploadResponseModel" : {
  74874. "type" : "object",
  74875. "properties" : {
  74876. "build_status" : {
  74877. "type" : "string",
  74878. "description" : "构建的状态,0-构建排队中;1-正在构建;2-构建成功;3-构建失败;5-构建超时",
  74879. "example" : "0"
  74880. },
  74881. "create_status" : {
  74882. "type" : "string",
  74883. "description" : "创建版本的状态,0-构建排队中;1-正在构建;2-构建成功;3-构建失败;5-构建超时;6-版本创建成功",
  74884. "example" : "6"
  74885. },
  74886. "need_rotation" : {
  74887. "type" : "string",
  74888. "description" : "是否需要轮询",
  74889. "example" : "\"true\""
  74890. },
  74891. "version_created" : {
  74892. "type" : "string",
  74893. "description" : "是否创建了版本",
  74894. "example" : "true"
  74895. }
  74896. }
  74897. },
  74898. "AlipayOpenMiniWidgetDataSyncErrorResponseModel" : {
  74899. "required" : [ "code", "message" ],
  74900. "type" : "object",
  74901. "properties" : {
  74902. "code" : {
  74903. "type" : "string",
  74904. "description" : "错误码",
  74905. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "MINI_APP_ID_ILLEGAL", "PID_ILLEGAL", "APP_INFO_NOT_EXIST", "APP_IS_NOT_WIDGET", "AUDITING_VERSION_EXIST", "WIDGET_DATA_UPLOAD_FREQUENCY", "WIDGET_DATA_MAX_SIZE_LIMIT", "APP_ID_NOT_EXIST", "APP_TYPE_INVALID", "PICTURE_SIZE_MORETHEN_MAX", "CLICK_URL_SIZE_MORETHEN_MAX" ]
  74906. },
  74907. "links" : {
  74908. "type" : "string",
  74909. "description" : "解决方案链接"
  74910. },
  74911. "message" : {
  74912. "type" : "string",
  74913. "description" : "错误描述"
  74914. }
  74915. }
  74916. },
  74917. "AlipayOpenMiniWidgetDataSyncModel" : {
  74918. "type" : "object",
  74919. "properties" : {
  74920. "activity_list" : {
  74921. "type" : "array",
  74922. "description" : "活动信息列表",
  74923. "items" : {
  74924. "$ref" : "#/components/schemas/WidgetActivityInfo"
  74925. }
  74926. },
  74927. "data_type" : {
  74928. "type" : "string",
  74929. "description" : "数据类型,可选值:ACTIVITY(活动数据)、GOODS(商品数据)",
  74930. "example" : "ACTIVITY"
  74931. },
  74932. "goods_list" : {
  74933. "type" : "array",
  74934. "description" : "商品信息列表",
  74935. "items" : {
  74936. "$ref" : "#/components/schemas/WidgetGoodsInfo"
  74937. }
  74938. },
  74939. "mini_app_id" : {
  74940. "type" : "string",
  74941. "description" : "商家小程序ID",
  74942. "example" : "2017072607907880"
  74943. },
  74944. "pid" : {
  74945. "type" : "string",
  74946. "description" : "小程序背后的商家,和mini_app_id要求对应",
  74947. "example" : "2088xxxxxxxxx"
  74948. }
  74949. }
  74950. },
  74951. "AlipayOpenMiniWidgetDataSyncResponseModel" : {
  74952. "type" : "object",
  74953. "properties" : {
  74954. "commit_id" : {
  74955. "type" : "string",
  74956. "description" : "同步接口生成的唯一标识,用于查询提交数据的审核状态",
  74957. "example" : "20220829000000000101"
  74958. }
  74959. }
  74960. },
  74961. "AlipayOpenMiniWidgetGoodsModifyErrorResponseModel" : {
  74962. "required" : [ "code", "message" ],
  74963. "type" : "object",
  74964. "properties" : {
  74965. "code" : {
  74966. "type" : "string",
  74967. "description" : "错误码",
  74968. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "GOODS_NOT_EXIST", "AUDITING_VERSION_EXIST", "APP_IS_NOT_WIDGET", "PARSE_JSON_ERROR", "APP_INFO_NOT_EXIST", "PARAM_IS_NULL", "WIDGET_DATA_UPLOAD_FREQUENCY" ]
  74969. },
  74970. "links" : {
  74971. "type" : "string",
  74972. "description" : "解决方案链接"
  74973. },
  74974. "message" : {
  74975. "type" : "string",
  74976. "description" : "错误描述"
  74977. }
  74978. }
  74979. },
  74980. "AlipayOpenMiniWidgetGoodsModifyModel" : {
  74981. "type" : "object",
  74982. "properties" : {
  74983. "buying_url" : {
  74984. "type" : "string",
  74985. "description" : "需要修改的商品小程序购买链接",
  74986. "example" : "alipays://platformapi/startapp?appId= 2017072607907880&page=pages/index/index?param=xxxx"
  74987. },
  74988. "goods_brand" : {
  74989. "type" : "string",
  74990. "description" : "需要修改的商品品牌",
  74991. "example" : "肯德基"
  74992. },
  74993. "goods_comment" : {
  74994. "type" : "string",
  74995. "description" : "需要修改的商品辅助说明文案",
  74996. "example" : "这是一个商品辅助说明文案"
  74997. },
  74998. "goods_description_label" : {
  74999. "type" : "string",
  75000. "description" : "需要修改的商品说明标签(如-随心退)",
  75001. "example" : "随心退"
  75002. },
  75003. "goods_id" : {
  75004. "type" : "string",
  75005. "description" : "商品的唯一标识,根据该字段修改商品",
  75006. "example" : "8948968498"
  75007. },
  75008. "goods_label" : {
  75009. "type" : "string",
  75010. "description" : "需要修改的商品营销标签(如-限量特价),每个商品仅支持一个营销标签",
  75011. "example" : "限量特价"
  75012. },
  75013. "goods_name" : {
  75014. "type" : "string",
  75015. "description" : "需要修改的商品名称",
  75016. "example" : "这是一个商品名称"
  75017. },
  75018. "goods_type" : {
  75019. "type" : "string",
  75020. "description" : "需要修改的商品所属品类",
  75021. "example" : "服装"
  75022. },
  75023. "main_pic_url" : {
  75024. "type" : "string",
  75025. "description" : "需要修改的商品主图片地址",
  75026. "example" : "https://xxx.xxx.com/xxx.jpg"
  75027. },
  75028. "need_public_promo" : {
  75029. "type" : "boolean",
  75030. "description" : "是否需要进行公域推广",
  75031. "example" : "true"
  75032. },
  75033. "order_number" : {
  75034. "type" : "integer",
  75035. "description" : "需要修改的商品排序,自然整数, 数字越小越靠前",
  75036. "example" : "1"
  75037. },
  75038. "original_price" : {
  75039. "type" : "string",
  75040. "description" : "需要修改的商品原价,单位\"元\",传入数字,不需要传入\"元\"",
  75041. "example" : "88.88"
  75042. },
  75043. "publish_cities" : {
  75044. "type" : "string",
  75045. "description" : "需要修改的商品投放城市的列表,详见https://www.mca.gov.cn/article/sj/xzqh/2020/2020/202007170301.html,有多个用英文,分隔。如果没有限制则不传入",
  75046. "example" : "110000"
  75047. },
  75048. "sell_price" : {
  75049. "type" : "string",
  75050. "description" : "需要修改的商品售价,位\"元\",传入数字,不需要传入\"元\"",
  75051. "example" : "66.66"
  75052. },
  75053. "sell_tag_list" : {
  75054. "type" : "array",
  75055. "description" : "需要修改的商品卖点标签",
  75056. "items" : {
  75057. "type" : "string"
  75058. },
  75059. "example" : "[\"特惠\",\"热卖\"]"
  75060. }
  75061. }
  75062. },
  75063. "AlipayOpenMiniWidgetGoodsModifyResponseModel" : {
  75064. "type" : "object",
  75065. "properties" : {
  75066. "commit_id" : {
  75067. "type" : "string",
  75068. "description" : "商品修改返回的提交ID,用于查询商品信息的审核状态",
  75069. "example" : "20220829000000000101"
  75070. }
  75071. }
  75072. },
  75073. "AlipayOpenMiniWidgetGoodsQueryErrorResponseModel" : {
  75074. "required" : [ "code", "message" ],
  75075. "type" : "object",
  75076. "properties" : {
  75077. "code" : {
  75078. "type" : "string",
  75079. "description" : "错误码",
  75080. "enum" : [ "GOODS_PAGE_SIZE_LIMIT", "PAGE_NUM_NO_LESS_ONE", "PARAM_IS_NULL" ]
  75081. },
  75082. "links" : {
  75083. "type" : "string",
  75084. "description" : "解决方案链接"
  75085. },
  75086. "message" : {
  75087. "type" : "string",
  75088. "description" : "错误描述"
  75089. }
  75090. }
  75091. },
  75092. "AlipayOpenMiniWidgetGoodsQueryResponseModel" : {
  75093. "type" : "object",
  75094. "properties" : {
  75095. "data_list" : {
  75096. "type" : "array",
  75097. "description" : "商品信息列表",
  75098. "items" : {
  75099. "$ref" : "#/components/schemas/GoodsQueryResponse"
  75100. }
  75101. },
  75102. "page_num" : {
  75103. "type" : "integer",
  75104. "description" : "查询第几页",
  75105. "example" : "1"
  75106. },
  75107. "page_size" : {
  75108. "type" : "integer",
  75109. "description" : "查询页面数量",
  75110. "example" : "10"
  75111. },
  75112. "total" : {
  75113. "type" : "integer",
  75114. "description" : "查询结果总数",
  75115. "example" : "10"
  75116. }
  75117. }
  75118. },
  75119. "AlipayOpenMiniWidgetGoodsUploadErrorResponseModel" : {
  75120. "required" : [ "code", "message" ],
  75121. "type" : "object",
  75122. "properties" : {
  75123. "code" : {
  75124. "type" : "string",
  75125. "description" : "错误码",
  75126. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "MINI_APP_ID_ILLEGAL", "PID_ILLEGAL", "GOODS_INFO_ILLEGAL", "PARSE_JSON_ERROR", "PARAM_IS_NULL", "APP_INFO_NOT_EXIST", "GOODS_UPLOAD_FREQUENCY", "APP_IS_NOT_WIDGET", "AUDITING_VERSION_EXIST", "GOODS_EXIST", "WIDGET_DATA_UPLOAD_FREQUENCY" ]
  75127. },
  75128. "links" : {
  75129. "type" : "string",
  75130. "description" : "解决方案链接"
  75131. },
  75132. "message" : {
  75133. "type" : "string",
  75134. "description" : "错误描述"
  75135. }
  75136. }
  75137. },
  75138. "AlipayOpenMiniWidgetGoodsUploadModel" : {
  75139. "type" : "object",
  75140. "properties" : {
  75141. "goods_list" : {
  75142. "type" : "array",
  75143. "description" : "商品信息列表",
  75144. "items" : {
  75145. "$ref" : "#/components/schemas/WidgetGoodsInfo"
  75146. }
  75147. },
  75148. "mini_app_id" : {
  75149. "type" : "string",
  75150. "description" : "用于承接品的商家小程序ID",
  75151. "example" : "2017072607907880"
  75152. },
  75153. "pid" : {
  75154. "type" : "string",
  75155. "description" : "品的售卖商家,即承接该品的小程序背后的商家。和mini_app_id要求对应",
  75156. "example" : "2088xxxxxxxxx"
  75157. }
  75158. }
  75159. },
  75160. "AlipayOpenMiniWidgetGoodsUploadResponseModel" : {
  75161. "type" : "object",
  75162. "properties" : {
  75163. "commit_id" : {
  75164. "type" : "string",
  75165. "description" : "商品提交生成的唯一标识,用于查询商品信息的审核状态",
  75166. "example" : "20220829000000000101"
  75167. }
  75168. }
  75169. },
  75170. "AlipayOpenOperationOpenbizmockTestpathkeyQueryErrorResponseModel" : {
  75171. "required" : [ "code", "message" ],
  75172. "type" : "object",
  75173. "properties" : {
  75174. "code" : {
  75175. "type" : "string",
  75176. "description" : "错误码",
  75177. "enum" : [ "LALALA" ]
  75178. },
  75179. "links" : {
  75180. "type" : "string",
  75181. "description" : "解决方案链接"
  75182. },
  75183. "message" : {
  75184. "type" : "string",
  75185. "description" : "错误描述"
  75186. }
  75187. }
  75188. },
  75189. "AlipayOpenOperationOpenbizmockTestpathkeyQueryModel" : {
  75190. "type" : "object",
  75191. "properties" : {
  75192. "d" : {
  75193. "type" : "string",
  75194. "description" : "4",
  75195. "example" : "d"
  75196. }
  75197. }
  75198. },
  75199. "AlipayOpenOperationOpenbizmockTestpathkeyQueryResponseModel" : {
  75200. "type" : "object",
  75201. "properties" : {
  75202. "result" : {
  75203. "type" : "string",
  75204. "description" : "测试",
  75205. "example" : "success"
  75206. }
  75207. }
  75208. },
  75209. "AlipayOpenPublicAccountCreateErrorResponseModel" : {
  75210. "required" : [ "code", "message" ],
  75211. "type" : "object",
  75212. "properties" : {
  75213. "code" : {
  75214. "type" : "string",
  75215. "description" : "错误码",
  75216. "enum" : [ "MENUKEY_NOT_EXIST", "OPEN_ID_IS_ILLEGAL", "BIND_ACCOUNT_FORMAT_ERROR", "APP_INFO_ILLEGAL", "FROM_USER_ID_NULL", "ADD_BIND_ACCOUNT_FAIL", "SAVE_THIRD_ACCOUNT_FAIL", "USERINFO_NOT_EXIST", "BIND_ACCOUNT_NO_NULL", "DISPLAY_NAME_IS_NULL", "DISPLAY_NAME_EXCEED_LENGTH", "REAL_NAME_EXCEED_LENGTH", "EXCEED_THIRD_ACCOUNT_LIMIT", "SYSTEM_ERROR" ]
  75217. },
  75218. "links" : {
  75219. "type" : "string",
  75220. "description" : "解决方案链接"
  75221. },
  75222. "message" : {
  75223. "type" : "string",
  75224. "description" : "错误描述"
  75225. }
  75226. }
  75227. },
  75228. "AlipayOpenPublicAccountCreateModel" : {
  75229. "type" : "object",
  75230. "properties" : {
  75231. "agreement_id" : {
  75232. "type" : "string",
  75233. "description" : "账户添加成功,在支付宝与其对应的协议号。如果账户重复添加,接口保证幂等依然视为添加成功,返回此前该账户在支付宝对应的协议号。其他异常该字段不存在。",
  75234. "example" : "29022222"
  75235. },
  75236. "bind_account_no" : {
  75237. "type" : "string",
  75238. "description" : "绑定帐号,建议在开发者的系统中保持唯一性",
  75239. "example" : "test001"
  75240. },
  75241. "display_name" : {
  75242. "type" : "string",
  75243. "description" : "开发者期望在服务窗首页看到的关于该用户的显示信息,最长10个字符",
  75244. "example" : "test001"
  75245. },
  75246. "from_user_id" : {
  75247. "type" : "string",
  75248. "description" : "要绑定的商户会员对应的支付宝userid,2088开头长度为16位的字符串",
  75249. "example" : "2088801234567890"
  75250. },
  75251. "open_id" : {
  75252. "type" : "string",
  75253. "description" : "支付宝用户的唯一标识",
  75254. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  75255. },
  75256. "real_name" : {
  75257. "type" : "string",
  75258. "description" : "要绑定的商户会员的真实姓名,最长10个汉字",
  75259. "example" : "张三"
  75260. },
  75261. "remark" : {
  75262. "type" : "string",
  75263. "description" : "备注信息,开发者可以通过该字段纪录其他的额外信息",
  75264. "example" : "备注信息"
  75265. }
  75266. }
  75267. },
  75268. "AlipayOpenPublicAccountCreateResponseModel" : {
  75269. "type" : "object",
  75270. "properties" : {
  75271. "agreement_id" : {
  75272. "type" : "string",
  75273. "description" : "协议号,商户会员在支付宝服务窗账号中的唯一标识",
  75274. "example" : "29022222"
  75275. }
  75276. }
  75277. },
  75278. "AlipayOpenPublicAccountDeleteErrorResponseModel" : {
  75279. "required" : [ "code", "message" ],
  75280. "type" : "object",
  75281. "properties" : {
  75282. "code" : {
  75283. "type" : "string",
  75284. "description" : "错误码",
  75285. "enum" : [ "OPEN_ID_IS_ILLEGAL", "ACCOUNT_PARAMS_NOT_ENOUGH", "FORBIT_REMOVE_BIND_ACCOUNT", "REMOVE_BIND_ACCOUNT_FAIL", "SYSTEM_ERROR" ]
  75286. },
  75287. "links" : {
  75288. "type" : "string",
  75289. "description" : "解决方案链接"
  75290. },
  75291. "message" : {
  75292. "type" : "string",
  75293. "description" : "错误描述"
  75294. }
  75295. }
  75296. },
  75297. "AlipayOpenPublicAccountDeleteResponseModel" : {
  75298. "type" : "object"
  75299. },
  75300. "AlipayOpenPublicAccountQueryErrorResponseModel" : {
  75301. "required" : [ "code", "message" ],
  75302. "type" : "object",
  75303. "properties" : {
  75304. "code" : {
  75305. "type" : "string",
  75306. "description" : "错误码",
  75307. "enum" : [ "OPEN_ID_IS_ILLEGAL", "SYSTEM_ERROR" ]
  75308. },
  75309. "links" : {
  75310. "type" : "string",
  75311. "description" : "解决方案链接"
  75312. },
  75313. "message" : {
  75314. "type" : "string",
  75315. "description" : "错误描述"
  75316. }
  75317. }
  75318. },
  75319. "AlipayOpenPublicAccountQueryResponseModel" : {
  75320. "type" : "object",
  75321. "properties" : {
  75322. "public_bind_accounts" : {
  75323. "type" : "array",
  75324. "description" : "绑定账户列表",
  75325. "items" : {
  75326. "$ref" : "#/components/schemas/StdPublicBindAccount"
  75327. }
  75328. }
  75329. }
  75330. },
  75331. "AlipayOpenPublicAccountResetErrorResponseModel" : {
  75332. "required" : [ "code", "message" ],
  75333. "type" : "object",
  75334. "properties" : {
  75335. "code" : {
  75336. "type" : "string",
  75337. "description" : "错误码",
  75338. "enum" : [ "MENUKEY_NOT_EXIST", "OPEN_ID_IS_ILLEGAL", "BIND_ACCOUNT_FORMAT_ERROR", "APP_INFO_ILLEGAL", "AGREEMENT_ID_NULL", "FROM_USER_ID_NULL", "FORBIT_REMOVE_BIND_ACCOUNT", "REMOVE_BIND_ACCOUNT_FAIL", "DELETE_THIRD_ACCOUNT_FAIL", "FORBIT_REMOVE_OTHER_USER_BIND_AC", "SAVE_THIRD_ACCOUNT_FAIL", "ADD_BIND_ACCOUNT_FAIL", "BIND_ACCOUNT_NO_NULL", "DISPLAY_NAME_IS_NULL", "DISPLAY_NAME_EXCEED_LENGTH", "REAL_NAME_EXCEED_LENGTH", "EXCEED_THIRD_ACCOUNT_LIMIT", "SYSTEM_ERROR" ]
  75339. },
  75340. "links" : {
  75341. "type" : "string",
  75342. "description" : "解决方案链接"
  75343. },
  75344. "message" : {
  75345. "type" : "string",
  75346. "description" : "错误描述"
  75347. }
  75348. }
  75349. },
  75350. "AlipayOpenPublicAccountResetModel" : {
  75351. "type" : "object",
  75352. "properties" : {
  75353. "agreement_id" : {
  75354. "type" : "string",
  75355. "description" : "需要重置的协议号,商户会员在支付宝生活号账号中的唯一标识。",
  75356. "example" : "29022222"
  75357. },
  75358. "bind_account_no" : {
  75359. "type" : "string",
  75360. "description" : "绑定帐号,建议在开发者的系统中保持唯一性",
  75361. "example" : "test002"
  75362. },
  75363. "display_name" : {
  75364. "type" : "string",
  75365. "description" : "商户期望在生活号首页看到的关于该用户的显示信息,最长10个字符。\t",
  75366. "example" : "test002"
  75367. },
  75368. "from_user_id" : {
  75369. "type" : "string",
  75370. "description" : "要绑定的商户会员对应的支付宝唯一标识,2088开头长度为16位的字符串。\t",
  75371. "example" : "2088801234567890"
  75372. },
  75373. "open_id" : {
  75374. "type" : "string",
  75375. "description" : "支付宝用户的唯一标识",
  75376. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  75377. },
  75378. "real_name" : {
  75379. "type" : "string",
  75380. "description" : "要绑定的商户会员的真实姓名,最长10个汉字",
  75381. "example" : "张三"
  75382. },
  75383. "remark" : {
  75384. "type" : "string",
  75385. "description" : "备注信息,开发者可以通过该字段纪录其他的额外信息",
  75386. "example" : "备注信息"
  75387. }
  75388. }
  75389. },
  75390. "AlipayOpenPublicAccountResetResponseModel" : {
  75391. "type" : "object",
  75392. "properties" : {
  75393. "agreement_id" : {
  75394. "type" : "string",
  75395. "description" : "重置后的协议号,商户会员在支付宝服务窗账号中的唯一标识",
  75396. "example" : "29022223"
  75397. }
  75398. }
  75399. },
  75400. "AlipayOpenPublicAdvertBatchqueryErrorResponseModel" : {
  75401. "required" : [ "code", "message" ],
  75402. "type" : "object",
  75403. "properties" : {
  75404. "code" : {
  75405. "type" : "string",
  75406. "description" : "错误码",
  75407. "enum" : [ "SYSTEM_ERROR", "BUSINESS_ERROR", "APP_NO_AVAIABLE" ]
  75408. },
  75409. "links" : {
  75410. "type" : "string",
  75411. "description" : "解决方案链接"
  75412. },
  75413. "message" : {
  75414. "type" : "string",
  75415. "description" : "错误描述"
  75416. }
  75417. }
  75418. },
  75419. "AlipayOpenPublicAdvertBatchqueryResponseModel" : {
  75420. "type" : "object",
  75421. "properties" : {
  75422. "advert_list" : {
  75423. "type" : "array",
  75424. "description" : "广告位列表 。目前只有一个广告位。",
  75425. "items" : {
  75426. "$ref" : "#/components/schemas/Advert"
  75427. }
  75428. },
  75429. "count" : {
  75430. "type" : "integer",
  75431. "description" : "广告组数量",
  75432. "example" : "1"
  75433. }
  75434. }
  75435. },
  75436. "AlipayOpenPublicAdvertCreateErrorResponseModel" : {
  75437. "required" : [ "code", "message" ],
  75438. "type" : "object",
  75439. "properties" : {
  75440. "code" : {
  75441. "type" : "string",
  75442. "description" : "错误码",
  75443. "enum" : [ "INVALID_PARAMETER", "PUBLIC_ADVERT_SIZE_INVALID", "PUBLIC_ADVERT_IMGURL_IS_BLANK", "PUBLIC_ADVERT_IMGURL_ILLEGAL", "PUBLIC_ADVERT_LINKURL_IS_BLANK", "PUBLIC_ADVERT_LINKURL_ILLEGAL", "PUBLIC_ADVERT_IMGURL_OVERSIZE", "PUBLIC_ADVERT_LINKURL_OVERSIZE", "LIFE_APP_FILE_TOO_LARGE", "PUBLIC_IMG_TYPE_INVALID", "PUBLIC_ADVERT_EXISTS", "SYSTEM_ERROR", "BUSINESS_ERROR", "SECURITY_CHECK_FAILED" ]
  75444. },
  75445. "links" : {
  75446. "type" : "string",
  75447. "description" : "解决方案链接"
  75448. },
  75449. "message" : {
  75450. "type" : "string",
  75451. "description" : "错误描述"
  75452. }
  75453. }
  75454. },
  75455. "AlipayOpenPublicAdvertCreateModel" : {
  75456. "type" : "object",
  75457. "properties" : {
  75458. "advert_items" : {
  75459. "type" : "array",
  75460. "description" : " 广告位轮播内容列表。数量限制:大于1个,小于5个。广告位轮播内容顺序:与接口传入的顺序排列一致。",
  75461. "items" : {
  75462. "$ref" : "#/components/schemas/AdvertItem"
  75463. }
  75464. }
  75465. }
  75466. },
  75467. "AlipayOpenPublicAdvertCreateResponseModel" : {
  75468. "type" : "object",
  75469. "properties" : {
  75470. "advert_group" : {
  75471. "type" : "string",
  75472. "description" : "广告分组标识",
  75473. "example" : "default"
  75474. },
  75475. "advert_id" : {
  75476. "type" : "string",
  75477. "description" : "广告位id",
  75478. "example" : "123"
  75479. }
  75480. }
  75481. },
  75482. "AlipayOpenPublicAdvertDeleteErrorResponseModel" : {
  75483. "required" : [ "code", "message" ],
  75484. "type" : "object",
  75485. "properties" : {
  75486. "code" : {
  75487. "type" : "string",
  75488. "description" : "错误码",
  75489. "enum" : [ "ILLEGAL_BIZ_PARAMS", "PUBLIC_ADVERT_ID_INVALID", "PUBLIC_ADVERT_NOT_EXISTS", "SYSTEM_ERROR", "BUSINESS_ERROR" ]
  75490. },
  75491. "links" : {
  75492. "type" : "string",
  75493. "description" : "解决方案链接"
  75494. },
  75495. "message" : {
  75496. "type" : "string",
  75497. "description" : "错误描述"
  75498. }
  75499. }
  75500. },
  75501. "AlipayOpenPublicAdvertDeleteResponseModel" : {
  75502. "type" : "object"
  75503. },
  75504. "AlipayOpenPublicAdvertModifyErrorResponseModel" : {
  75505. "required" : [ "code", "message" ],
  75506. "type" : "object",
  75507. "properties" : {
  75508. "code" : {
  75509. "type" : "string",
  75510. "description" : "错误码",
  75511. "enum" : [ "INVALID_PARAMETER", "PUBLIC_ADVERT_SIZE_INVALID", "PUBLIC_ADVERT_IMGURL_IS_BLANK", "PUBLIC_ADVERT_IMGURL_ILLEGAL", "PUBLIC_ADVERT_LINKURL_IS_BLANK", "PUBLIC_ADVERT_LINKURL_ILLEGAL", "PUBLIC_ADVERT_IMGURL_OVERSIZE", "PUBLIC_ADVERT_LINKURL_OVERSIZE", "LIFE_APP_FILE_TOO_LARGE", "PUBLIC_IMG_TYPE_INVALID", "PUBLIC_ADVERT_EXISTS", "PUBLIC_ADVERT_ID_INVALID", "PUBLIC_ADVERT_NOT_EXISTS", "SYSTEM_ERROR", "BUSINESS_ERROR", "SECURITY_CHECK_FAILED" ]
  75512. },
  75513. "links" : {
  75514. "type" : "string",
  75515. "description" : "解决方案链接"
  75516. },
  75517. "message" : {
  75518. "type" : "string",
  75519. "description" : "错误描述"
  75520. }
  75521. }
  75522. },
  75523. "AlipayOpenPublicAdvertModifyModel" : {
  75524. "type" : "object",
  75525. "properties" : {
  75526. "advert_id" : {
  75527. "type" : "string",
  75528. "description" : "广告位id,通过<a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.advert.create\">alipay.open.public.advert.create</a>(生活号广告位添加接口)添加广告位获取。",
  75529. "example" : "123"
  75530. },
  75531. "advert_items" : {
  75532. "type" : "array",
  75533. "description" : "广告位轮播内容列表。数量限制:大于1个,小于5个。广告位轮播内容顺序:与接口传入的顺序排列一致。",
  75534. "items" : {
  75535. "$ref" : "#/components/schemas/AdvertItem"
  75536. }
  75537. }
  75538. }
  75539. },
  75540. "AlipayOpenPublicAdvertModifyResponseModel" : {
  75541. "type" : "object"
  75542. },
  75543. "AlipayOpenPublicArticlesummaryDataBatchqueryErrorResponseModel" : {
  75544. "required" : [ "code", "message" ],
  75545. "type" : "object",
  75546. "properties" : {
  75547. "code" : {
  75548. "type" : "string",
  75549. "description" : "错误码",
  75550. "enum" : [ "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "QUERY_DATE_INVALID" ]
  75551. },
  75552. "links" : {
  75553. "type" : "string",
  75554. "description" : "解决方案链接"
  75555. },
  75556. "message" : {
  75557. "type" : "string",
  75558. "description" : "错误描述"
  75559. }
  75560. }
  75561. },
  75562. "AlipayOpenPublicArticlesummaryDataBatchqueryModel" : {
  75563. "type" : "object",
  75564. "properties" : {
  75565. "begin_date" : {
  75566. "type" : "string",
  75567. "description" : "数据开始日期,时间格式为 \"yyyyMMdd\" 。",
  75568. "example" : "20171101"
  75569. },
  75570. "end_date" : {
  75571. "type" : "string",
  75572. "description" : "数据结束日期,时间格式为\"yyyyMMdd\"。查询数据开始日期/结束日期时间跨度最大30天。",
  75573. "example" : "20171108"
  75574. }
  75575. }
  75576. },
  75577. "AlipayOpenPublicArticlesummaryDataBatchqueryResponseModel" : {
  75578. "type" : "object",
  75579. "properties" : {
  75580. "data_list" : {
  75581. "type" : "array",
  75582. "description" : "文章分析数据列表",
  75583. "items" : {
  75584. "$ref" : "#/components/schemas/ArticleSummaryAnalysisData"
  75585. }
  75586. }
  75587. }
  75588. },
  75589. "AlipayOpenPublicContactFollowBatchqueryErrorResponseModel" : {
  75590. "required" : [ "code", "message" ],
  75591. "type" : "object",
  75592. "properties" : {
  75593. "code" : {
  75594. "type" : "string",
  75595. "description" : "错误码",
  75596. "enum" : [ "ILLEGAL_BIZ_PARAMS", "QUERY_CONTACT_FOLLOWER_FORBIDDEN", "SYSTEM_ERROR" ]
  75597. },
  75598. "links" : {
  75599. "type" : "string",
  75600. "description" : "解决方案链接"
  75601. },
  75602. "message" : {
  75603. "type" : "string",
  75604. "description" : "错误描述"
  75605. }
  75606. }
  75607. },
  75608. "AlipayOpenPublicContactFollowBatchqueryResponseModel" : {
  75609. "type" : "object",
  75610. "properties" : {
  75611. "contact_follow_list" : {
  75612. "type" : "array",
  75613. "description" : "联系人关注者列表",
  75614. "items" : {
  75615. "$ref" : "#/components/schemas/ContactFollower"
  75616. }
  75617. }
  75618. }
  75619. },
  75620. "AlipayOpenPublicDefaultExtensionCreateErrorResponseModel" : {
  75621. "required" : [ "code", "message" ],
  75622. "type" : "object",
  75623. "properties" : {
  75624. "code" : {
  75625. "type" : "string",
  75626. "description" : "错误码",
  75627. "enum" : [ "EXTENSION_AREAS_IS_EMPTY", "AREA_COUNT_INVALID", "ILLEGAL_BIZ_PARAMS", "EXTENSION_PARAM_URL_ERROR", "EXTENSION_PARAM_TYPE_ERROR", "AREA_HEIGHT_IS_INVALID", "GOTO_URL_IS_INVALID", "DEFAULT_EXTENSION_EXIST", "EXTENSION_NAME_TOO_LONG" ]
  75628. },
  75629. "links" : {
  75630. "type" : "string",
  75631. "description" : "解决方案链接"
  75632. },
  75633. "message" : {
  75634. "type" : "string",
  75635. "description" : "错误描述"
  75636. }
  75637. }
  75638. },
  75639. "AlipayOpenPublicDefaultExtensionCreateModel" : {
  75640. "type" : "object",
  75641. "properties" : {
  75642. "areas" : {
  75643. "type" : "array",
  75644. "description" : "默认扩展区列表,最多包含3个扩展区",
  75645. "items" : {
  75646. "$ref" : "#/components/schemas/ExtensionArea"
  75647. }
  75648. }
  75649. }
  75650. },
  75651. "AlipayOpenPublicDefaultExtensionCreateResponseModel" : {
  75652. "type" : "object",
  75653. "properties" : {
  75654. "extension_key" : {
  75655. "type" : "string",
  75656. "description" : "一套扩展区的key,创建一套扩展区成功后,支付宝会将该字段返回,后续对扩展区进行删除等操作都会用到这个值。",
  75657. "example" : "10000"
  75658. }
  75659. }
  75660. },
  75661. "AlipayOpenPublicFollowBatchqueryErrorResponseModel" : {
  75662. "required" : [ "code", "message" ],
  75663. "type" : "object",
  75664. "properties" : {
  75665. "code" : {
  75666. "type" : "string",
  75667. "description" : "错误码",
  75668. "enum" : [ "QUERY_FOLLOWER_FORBIDDEN", "OPENID_INVALID", "SYSTEM_ERROR" ]
  75669. },
  75670. "links" : {
  75671. "type" : "string",
  75672. "description" : "解决方案链接"
  75673. },
  75674. "message" : {
  75675. "type" : "string",
  75676. "description" : "错误描述"
  75677. }
  75678. }
  75679. },
  75680. "AlipayOpenPublicFollowBatchqueryModel" : {
  75681. "type" : "object",
  75682. "properties" : {
  75683. "next_user_id" : {
  75684. "type" : "string",
  75685. "description" : "当关注者数量超过10000时使用,本次拉取数据中第一个用户的userId,从上次接口调用返回值中获取。第一次调用置空",
  75686. "example" : "2088102146158132"
  75687. },
  75688. "open_id" : {
  75689. "type" : "string",
  75690. "description" : "支付宝用户的唯一标识",
  75691. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  75692. }
  75693. }
  75694. },
  75695. "AlipayOpenPublicFollowBatchqueryResponseModel" : {
  75696. "type" : "object",
  75697. "properties" : {
  75698. "count" : {
  75699. "type" : "string",
  75700. "description" : "本次调用获取的userId个数,最大值为10000",
  75701. "example" : "10000"
  75702. },
  75703. "next_user_id" : {
  75704. "type" : "string",
  75705. "description" : "查询分组的userid",
  75706. "example" : "2088102123322367"
  75707. },
  75708. "open_id" : {
  75709. "type" : "string",
  75710. "description" : "支付宝用户的",
  75711. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  75712. },
  75713. "open_id_list" : {
  75714. "type" : "array",
  75715. "description" : "支付宝用户的唯一标识列表",
  75716. "items" : {
  75717. "type" : "string"
  75718. },
  75719. "example" : "[\"074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5\"]"
  75720. },
  75721. "user_id_list" : {
  75722. "type" : "array",
  75723. "description" : "用户的userId列表",
  75724. "items" : {
  75725. "type" : "string"
  75726. },
  75727. "example" : "[\"2088102146158132\",\"2088102150429794\",\"2088102150477652\" ]"
  75728. }
  75729. }
  75730. },
  75731. "AlipayOpenPublicGroupBatchqueryErrorResponseModel" : {
  75732. "required" : [ "code", "message" ],
  75733. "type" : "object",
  75734. "properties" : {
  75735. "code" : {
  75736. "type" : "string",
  75737. "description" : "错误码",
  75738. "enum" : [ "SYSTEM_ERROR" ]
  75739. },
  75740. "links" : {
  75741. "type" : "string",
  75742. "description" : "解决方案链接"
  75743. },
  75744. "message" : {
  75745. "type" : "string",
  75746. "description" : "错误描述"
  75747. }
  75748. }
  75749. },
  75750. "AlipayOpenPublicGroupBatchqueryResponseModel" : {
  75751. "type" : "object",
  75752. "properties" : {
  75753. "groups" : {
  75754. "type" : "array",
  75755. "description" : "用户分组列表,包含每个分组的id、name、以及规则模型",
  75756. "items" : {
  75757. "$ref" : "#/components/schemas/QueryGroup"
  75758. }
  75759. }
  75760. }
  75761. },
  75762. "AlipayOpenPublicGroupCreateErrorResponseModel" : {
  75763. "required" : [ "code", "message" ],
  75764. "type" : "object",
  75765. "properties" : {
  75766. "code" : {
  75767. "type" : "string",
  75768. "description" : "错误码",
  75769. "enum" : [ "SYSTEM_ERROR", "GROUP_CROWD_TOO_SMALL", "GROUP_NAME_IS_EMPTY", "GROUP_NAME_TOO_LONG", "GROUP_NAME_IS_INVALID", "GROUP_NAME_EXISTED", "LABEL_IS_REUSED", "LABEL_ID_IS_EMPTY", "OPERATOR_IS_EMPTY", "OPERATOR_IS_INVALID", "LABEL_VALUE_IS_EMPTY", "LABEL_VALUE_INVALID", "LABEL_NOT_EXISTS" ]
  75770. },
  75771. "links" : {
  75772. "type" : "string",
  75773. "description" : "解决方案链接"
  75774. },
  75775. "message" : {
  75776. "type" : "string",
  75777. "description" : "错误描述"
  75778. }
  75779. }
  75780. },
  75781. "AlipayOpenPublicGroupCreateModel" : {
  75782. "type" : "object",
  75783. "properties" : {
  75784. "label_rule" : {
  75785. "type" : "array",
  75786. "description" : "标签规则,满足该规则的粉丝将被圈定,标签id不能重复",
  75787. "items" : {
  75788. "$ref" : "#/components/schemas/ComplexLabelRule"
  75789. }
  75790. },
  75791. "name" : {
  75792. "type" : "string",
  75793. "description" : "分组名称,仅支持中文、字母、数字、下划线的组合。",
  75794. "example" : "测试分组"
  75795. }
  75796. }
  75797. },
  75798. "AlipayOpenPublicGroupCreateResponseModel" : {
  75799. "type" : "object",
  75800. "properties" : {
  75801. "group_id" : {
  75802. "type" : "string",
  75803. "description" : "分组id",
  75804. "example" : "10000"
  75805. }
  75806. }
  75807. },
  75808. "AlipayOpenPublicGroupCrowdQueryErrorResponseModel" : {
  75809. "required" : [ "code", "message" ],
  75810. "type" : "object",
  75811. "properties" : {
  75812. "code" : {
  75813. "type" : "string",
  75814. "description" : "错误码",
  75815. "enum" : [ "SYSTEM_ERROR", "GROUP_CROWD_TOO_SMALL", "LABEL_IS_REUSED", "LABEL_ID_IS_EMPTY", "OPERATOR_IS_EMPTY", "OPERATOR_IS_INVALID", "LABEL_VALUE_IS_EMPTY", "LABEL_VALUE_INVALID", "LABEL_NOT_EXISTS" ]
  75816. },
  75817. "links" : {
  75818. "type" : "string",
  75819. "description" : "解决方案链接"
  75820. },
  75821. "message" : {
  75822. "type" : "string",
  75823. "description" : "错误描述"
  75824. }
  75825. }
  75826. },
  75827. "AlipayOpenPublicGroupCrowdQueryModel" : {
  75828. "type" : "object",
  75829. "properties" : {
  75830. "label_rule" : {
  75831. "type" : "array",
  75832. "description" : "用户分组的规则项列表,规则项之间元素是与的逻辑,每个规则项内部用多个值表示或的逻辑",
  75833. "items" : {
  75834. "$ref" : "#/components/schemas/ComplexLabelRule"
  75835. }
  75836. }
  75837. }
  75838. },
  75839. "AlipayOpenPublicGroupCrowdQueryResponseModel" : {
  75840. "type" : "object",
  75841. "properties" : {
  75842. "count" : {
  75843. "type" : "string",
  75844. "description" : "分组圈出的人群数量",
  75845. "example" : "2000000"
  75846. }
  75847. }
  75848. },
  75849. "AlipayOpenPublicGroupDeleteErrorResponseModel" : {
  75850. "required" : [ "code", "message" ],
  75851. "type" : "object",
  75852. "properties" : {
  75853. "code" : {
  75854. "type" : "string",
  75855. "description" : "错误码",
  75856. "enum" : [ "SYSTEM_ERROR", "GROUP_ID_INVALID", "GROUP_NOT_EXISTED", "GROUP_NOT_ALLOW_DELETE" ]
  75857. },
  75858. "links" : {
  75859. "type" : "string",
  75860. "description" : "解决方案链接"
  75861. },
  75862. "message" : {
  75863. "type" : "string",
  75864. "description" : "错误描述"
  75865. }
  75866. }
  75867. },
  75868. "AlipayOpenPublicGroupDeleteResponseModel" : {
  75869. "type" : "object"
  75870. },
  75871. "AlipayOpenPublicGroupModifyErrorResponseModel" : {
  75872. "required" : [ "code", "message" ],
  75873. "type" : "object",
  75874. "properties" : {
  75875. "code" : {
  75876. "type" : "string",
  75877. "description" : "错误码",
  75878. "enum" : [ "GROUP_CROWD_TOO_SMALL", "GROUP_NOT_EXISTED", "GROUP_ID_INVALID", "GROUP_NAME_IS_EMPTY", "GROUP_NAME_TOO_LONG", "GROUP_NAME_IS_INVALID", "GROUP_NAME_EXISTED", "LABEL_IS_REUSED", "LABEL_ID_IS_EMPTY", "OPERATOR_IS_EMPTY", "OPERATOR_IS_INVALID", "LABEL_VALUE_IS_EMPTY", "LABEL_VALUE_INVALID", "LABEL_NOT_EXISTS", "SYSTEM_ERROR" ]
  75879. },
  75880. "links" : {
  75881. "type" : "string",
  75882. "description" : "解决方案链接"
  75883. },
  75884. "message" : {
  75885. "type" : "string",
  75886. "description" : "错误描述"
  75887. }
  75888. }
  75889. },
  75890. "AlipayOpenPublicGroupModifyModel" : {
  75891. "type" : "object",
  75892. "properties" : {
  75893. "group_id" : {
  75894. "type" : "string",
  75895. "description" : "分组ID,通过<a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.group.create\">alipay.open.public.group.create</a>(用户分组创建接口)\t创建用户分组获取。",
  75896. "example" : "100"
  75897. },
  75898. "label_rule" : {
  75899. "type" : "array",
  75900. "description" : "标签规则,满足该规则的粉丝将被圈定,标签id不能重复",
  75901. "items" : {
  75902. "$ref" : "#/components/schemas/ComplexLabelRule"
  75903. }
  75904. },
  75905. "name" : {
  75906. "type" : "string",
  75907. "description" : "分组名称,仅支持中文、字母、数字、下划线的组合。",
  75908. "example" : "测试分组"
  75909. }
  75910. }
  75911. },
  75912. "AlipayOpenPublicGroupModifyResponseModel" : {
  75913. "type" : "object"
  75914. },
  75915. "AlipayOpenPublicInfoModifyErrorResponseModel" : {
  75916. "required" : [ "code", "message" ],
  75917. "type" : "object",
  75918. "properties" : {
  75919. "code" : {
  75920. "type" : "string",
  75921. "description" : "错误码",
  75922. "enum" : [ "PUBLIC_MODIFY_PARAM_ILLEGAL", "APPINFO_NOT_EXIST", "PUBLIC_GREETING_OVERLIMT", "APP_ORDER_AUDING_EXIST", "PUBLIC_ORDER_DAY_LIMIT", "ILLEGAL_LOGO_URL", "PUBLIC_LOGO_NOT_NULL", "ILLEGAL_LICENSE_URL", "PUBLIC_GREETING_ILLEGAL", "APP_NAME_LENGTH_LIMIT", "APP_NAME_ILLEGAL", "APP_NAME_EXIST", "SYSTEM_ERROR", "PUBLIC_NAME_MODIFY_LIMIT", "INTRODUCTION_LENGTH_LIMIT", "ILLEGAL_BACKGROUND_URL" ]
  75923. },
  75924. "links" : {
  75925. "type" : "string",
  75926. "description" : "解决方案链接"
  75927. },
  75928. "message" : {
  75929. "type" : "string",
  75930. "description" : "错误描述"
  75931. }
  75932. }
  75933. },
  75934. "AlipayOpenPublicInfoModifyModel" : {
  75935. "type" : "object",
  75936. "properties" : {
  75937. "app_name" : {
  75938. "type" : "string",
  75939. "description" : "生活号名称,2-20个字之间。注意:\t* 不得含有违反法律法规和公序良俗的相关信息;\t* 不得侵害他人名誉权、知识产权、商业秘密等合法权利;\t* 不得以太过广泛的、或产品、行业词组来命名,如:女装、皮革批发;\t* 不得以实名认证的媒体资质账号创建服务窗,或媒体相关名称命名服务窗,如:XX电视台、XX杂志等。",
  75940. "example" : "生活号名称"
  75941. },
  75942. "auth_pic" : {
  75943. "type" : "string",
  75944. "description" : "授权运营书图片地址,企业商户若为被经营方授权,需上传加盖公章的扫描件。支持 .jpg、 .jpeg、 .png 格式,需小于1M。使用 <a href=\"https://opendocs.alipay.com/apis/api_3/alipay.offline.material.image.upload\">alipay.offline.material.image.upload</a>(上传球房照片和视频接口)上传图片后,将得到的image_url回填与此处。",
  75945. "example" : "http://pic.alipayobjects.com/e/201311/1ZQ"
  75946. },
  75947. "background_url" : {
  75948. "type" : "string",
  75949. "description" : "背景图片地址,建议尺寸 1600 x 1000px,支持.jpg .jpeg .png格式,小于1M。使用 <a href=\"https://opendocs.alipay.com/apis/api_3/alipay.offline.material.image.upload\">alipay.offline.material.image.upload</a>(上传球房照片和视频接口)上传图片后,将得到的image_url回填与此处。",
  75950. "example" : "http://pic.alipayobjects.com/e/201311/1ZQ"
  75951. },
  75952. "introduction" : {
  75953. "type" : "string",
  75954. "description" : "简介",
  75955. "example" : "生活号简介"
  75956. },
  75957. "license_url" : {
  75958. "type" : "string",
  75959. "description" : "营业执照地址,建议尺寸 320*320 px,支持 .jpg、 .jpeg、 .png 格式,需小于1M。\t使用 <a href=\"https://opendocs.alipay.com/apis/api_3/alipay.offline.material.image.upload\">alipay.offline.material.image.upload</a>(上传球房照片和视频接口)上传图片后,将得到的image_url回填与此处。",
  75960. "example" : "http://pic.alipayobjects.com/e/201311/1ZQ"
  75961. },
  75962. "logo_url" : {
  75963. "type" : "string",
  75964. "description" : "生活号头像地址,建议尺寸 320*320 px,支持 .jpg、 .jpeg、 .png 格式,需小于1M。\t使用 <a href=\"https://opendocs.alipay.com/apis/api_3/alipay.offline.material.image.upload\">alipay.offline.material.image.upload</a>(上传球房照片和视频接口)上传图片后,将得到的image_url回填与此处。",
  75965. "example" : "http://pic.alipayobjects.com/e/201311/1ZQ"
  75966. },
  75967. "notify_url" : {
  75968. "type" : "string",
  75969. "description" : "通知地址"
  75970. },
  75971. "public_greeting" : {
  75972. "type" : "string",
  75973. "description" : "欢迎语",
  75974. "example" : "欢迎光临"
  75975. },
  75976. "shop_pics" : {
  75977. "type" : "array",
  75978. "description" : "球房照片地址,支持 .jpg、 .jpeg、 .png 格式,需小于1M。\t使用 <a href=\"https://opendocs.alipay.com/apis/api_3/alipay.offline.material.image.upload\">alipay.offline.material.image.upload</a>(上传球房照片和视频接口)上传图片后,将得到的image_url回填与此处。",
  75979. "items" : {
  75980. "type" : "string"
  75981. },
  75982. "example" : "http://pic.alipayobjects.com/e/201311/1ZQ"
  75983. }
  75984. }
  75985. },
  75986. "AlipayOpenPublicInfoModifyResponseModel" : {
  75987. "type" : "object",
  75988. "properties" : {
  75989. "audit_desc" : {
  75990. "type" : "string",
  75991. "description" : "服务窗审核状态描述",
  75992. "example" : "审核中"
  75993. },
  75994. "audit_status" : {
  75995. "type" : "string",
  75996. "description" : "服务窗审核状态,申请成功后返回AUDITING,等待风控审核",
  75997. "example" : "AUDITING"
  75998. }
  75999. }
  76000. },
  76001. "AlipayOpenPublicInfoQueryErrorResponseModel" : {
  76002. "required" : [ "code", "message" ],
  76003. "type" : "object",
  76004. "properties" : {
  76005. "code" : {
  76006. "type" : "string",
  76007. "description" : "错误码",
  76008. "enum" : [ "SYSTEM_ERROR", "APP_NOT_PUBLICAPP" ]
  76009. },
  76010. "links" : {
  76011. "type" : "string",
  76012. "description" : "解决方案链接"
  76013. },
  76014. "message" : {
  76015. "type" : "string",
  76016. "description" : "错误描述"
  76017. }
  76018. }
  76019. },
  76020. "AlipayOpenPublicInfoQueryResponseModel" : {
  76021. "type" : "object",
  76022. "properties" : {
  76023. "app_name" : {
  76024. "type" : "string",
  76025. "description" : "生活号名称",
  76026. "example" : "生活号名称"
  76027. },
  76028. "audit_desc" : {
  76029. "type" : "string",
  76030. "description" : "最新审核状态描述,如果审核驳回则有相关的驳回理由",
  76031. "example" : "logo图片不符合规范"
  76032. },
  76033. "audit_status" : {
  76034. "type" : "string",
  76035. "description" : "最新审核状态,对于系统商而言,只有四个状态,AUDITING:审核中,AUDIT_FAILED:审核驳回,AUDIT_SUCCESS:审核通过,AUDIT_NORMAL:无审核状态(当前没有处于审核过程的工单)",
  76036. "example" : "AUDITING"
  76037. },
  76038. "audit_status_list" : {
  76039. "type" : "array",
  76040. "description" : "审核状态表,目前支持名称、头像、名称与头像、简介审核状态",
  76041. "items" : {
  76042. "$ref" : "#/components/schemas/PublicAuditStatus"
  76043. }
  76044. },
  76045. "background_url" : {
  76046. "type" : "string",
  76047. "description" : "背景图片地址",
  76048. "example" : "http://dl.django.t.taobao.com/rest/1.0/image?fileIds=V9rfg69SSimLZg5wDA3yEgAAACMA"
  76049. },
  76050. "introduction" : {
  76051. "type" : "string",
  76052. "description" : "生活号简介",
  76053. "example" : "简介"
  76054. },
  76055. "is_online" : {
  76056. "type" : "string",
  76057. "description" : "生活号是否上线,T表示上线,F表示未上线",
  76058. "example" : "T"
  76059. },
  76060. "is_release" : {
  76061. "type" : "string",
  76062. "description" : "生活号是否上架,T表示上架,上架即可在支付宝客户端被搜索到,F表示未上架",
  76063. "example" : "F"
  76064. },
  76065. "logo_url" : {
  76066. "type" : "string",
  76067. "description" : "生活号头像地址",
  76068. "example" : "http://pic.alipayobjects.com/e/201311/1ZQ"
  76069. },
  76070. "mcc_code_desc" : {
  76071. "type" : "string",
  76072. "description" : "商家经营类目,详情参见 <a href=\"https://opendocs.alipay.com/open/01n22g\">商家经营类目</a>",
  76073. "example" : "房地产开发商"
  76074. },
  76075. "public_greeting" : {
  76076. "type" : "string",
  76077. "description" : "欢迎语",
  76078. "example" : "欢迎光临"
  76079. }
  76080. }
  76081. },
  76082. "AlipayOpenPublicLabelCreateErrorResponseModel" : {
  76083. "required" : [ "code", "message" ],
  76084. "type" : "object",
  76085. "properties" : {
  76086. "code" : {
  76087. "type" : "string",
  76088. "description" : "错误码",
  76089. "enum" : [ "ILLEGAL_BIZ_PARAMS", "PUBLIC_ID_IS_EMPTY", "LABEL_NAME_IS_EMPTY", "LABEL_NAME_HAS_SPACE", "LABEL_NAME_HAS_COMMA", "LABEL_NAME_TOO_LONG", "LABEL_NAME_ALREADY_EXISTS", "LABEL_COUNT_LIMIT", "SYSTEM_ERROR" ]
  76090. },
  76091. "links" : {
  76092. "type" : "string",
  76093. "description" : "解决方案链接"
  76094. },
  76095. "message" : {
  76096. "type" : "string",
  76097. "description" : "错误描述"
  76098. }
  76099. }
  76100. },
  76101. "AlipayOpenPublicLabelCreateModel" : {
  76102. "type" : "object",
  76103. "properties" : {
  76104. "name" : {
  76105. "type" : "string",
  76106. "description" : "标签名",
  76107. "example" : "测试标签01"
  76108. }
  76109. }
  76110. },
  76111. "AlipayOpenPublicLabelCreateResponseModel" : {
  76112. "type" : "object",
  76113. "properties" : {
  76114. "id" : {
  76115. "type" : "integer",
  76116. "description" : "支付宝返回的标签ID,开发者后续通过该ID进行标签的查询、修改、删除等操作",
  76117. "example" : "100513"
  76118. },
  76119. "name" : {
  76120. "type" : "string",
  76121. "description" : "开发者传入name的值",
  76122. "example" : "测试标签01"
  76123. }
  76124. }
  76125. },
  76126. "AlipayOpenPublicLabelQueryErrorResponseModel" : {
  76127. "required" : [ "code", "message" ],
  76128. "type" : "object",
  76129. "properties" : {
  76130. "code" : {
  76131. "type" : "string",
  76132. "description" : "错误码",
  76133. "enum" : [ "SYSTEM_ERROR" ]
  76134. },
  76135. "links" : {
  76136. "type" : "string",
  76137. "description" : "解决方案链接"
  76138. },
  76139. "message" : {
  76140. "type" : "string",
  76141. "description" : "错误描述"
  76142. }
  76143. }
  76144. },
  76145. "AlipayOpenPublicLabelQueryResponseModel" : {
  76146. "type" : "object",
  76147. "properties" : {
  76148. "label_list" : {
  76149. "type" : "array",
  76150. "description" : "该服务窗拥有的标签列表",
  76151. "items" : {
  76152. "$ref" : "#/components/schemas/PublicLabel"
  76153. }
  76154. }
  76155. }
  76156. },
  76157. "AlipayOpenPublicLabelUserQueryErrorResponseModel" : {
  76158. "required" : [ "code", "message" ],
  76159. "type" : "object",
  76160. "properties" : {
  76161. "code" : {
  76162. "type" : "string",
  76163. "description" : "错误码",
  76164. "enum" : [ "ILLEGAL_BIZ_PARAMS", "OPEN_ID_IS_ILLEGAL", "FORBIT_QUERY_USER_LABEL", "PUBLIC_ID_IS_EMPTY", "USER_ID_IS_EMPTY", "SYSTEM_ERROR" ]
  76165. },
  76166. "links" : {
  76167. "type" : "string",
  76168. "description" : "解决方案链接"
  76169. },
  76170. "message" : {
  76171. "type" : "string",
  76172. "description" : "错误描述"
  76173. }
  76174. }
  76175. },
  76176. "AlipayOpenPublicLabelUserQueryResponseModel" : {
  76177. "type" : "object",
  76178. "properties" : {
  76179. "label_ids" : {
  76180. "type" : "string",
  76181. "description" : "用户标签id列表,以英文逗号分隔",
  76182. "example" : "100509,100510,100511,100512"
  76183. }
  76184. }
  76185. },
  76186. "AlipayOpenPublicLifeAboardApplyErrorResponseModel" : {
  76187. "required" : [ "code", "message" ],
  76188. "type" : "object",
  76189. "properties" : {
  76190. "code" : {
  76191. "type" : "string",
  76192. "description" : "错误码",
  76193. "enum" : [ "LIFE_ALREADY_ON_PLATFORM", "LIFE_ILLEGAL_ISV_APP_ID", "LIFE_NEED_SET_OTHERS", "LIFE_NEED_SET_MENU", "LIFE_HAS_MENU_LINK_ERROR", "LIFE_STATUS_ERROR", "LIFE_NO_SET_NAME", "LIFE_NO_SET_LOGO", "BUSINESS_ERROR" ]
  76194. },
  76195. "links" : {
  76196. "type" : "string",
  76197. "description" : "解决方案链接"
  76198. },
  76199. "message" : {
  76200. "type" : "string",
  76201. "description" : "错误描述"
  76202. }
  76203. }
  76204. },
  76205. "AlipayOpenPublicLifeAboardApplyResponseModel" : {
  76206. "type" : "object",
  76207. "properties" : {
  76208. "result" : {
  76209. "type" : "string",
  76210. "description" : "上架成功后返回的提示",
  76211. "example" : "上架成功"
  76212. }
  76213. }
  76214. },
  76215. "AlipayOpenPublicLifeAgentcreateQueryErrorResponseModel" : {
  76216. "required" : [ "code", "message" ],
  76217. "type" : "object",
  76218. "properties" : {
  76219. "code" : {
  76220. "type" : "string",
  76221. "description" : "错误码",
  76222. "enum" : [ "INVALID_OUT_BIZ_NO", "LIFE_NO_EXIST_OUT_BIZ_NO", "LIFE_ILLEGAL_ISV_APP_ID", "BUSINESS_ERROR" ]
  76223. },
  76224. "links" : {
  76225. "type" : "string",
  76226. "description" : "解决方案链接"
  76227. },
  76228. "message" : {
  76229. "type" : "string",
  76230. "description" : "错误描述"
  76231. }
  76232. }
  76233. },
  76234. "AlipayOpenPublicLifeAgentcreateQueryResponseModel" : {
  76235. "type" : "object",
  76236. "properties" : {
  76237. "life_app_id" : {
  76238. "type" : "string",
  76239. "description" : "只有审核通过,且商户在支付宝发送的授权邮件中确认授权,此时生活号才会正式创建,查询才会返回该值",
  76240. "example" : "2017062501320531"
  76241. },
  76242. "merchant_pid" : {
  76243. "type" : "string",
  76244. "description" : "商户pid",
  76245. "example" : "2088302109396986"
  76246. },
  76247. "order_status_biz_desc" : {
  76248. "type" : "string",
  76249. "description" : "支付宝商户入驻申请单状态,申请单状态包括:暂存、审核中、待商户确认、成功、失败。\t说明:暂存是审核前的中间状态,如出现暂存状态请再次提交代创建生活号申请。",
  76250. "example" : "审核成功"
  76251. },
  76252. "out_biz_no" : {
  76253. "type" : "string",
  76254. "description" : "由开发者创建的外部入驻申请单据号",
  76255. "example" : "2016070788301823878"
  76256. },
  76257. "refused_reason" : {
  76258. "type" : "string",
  76259. "description" : "只有审核失败才会返回该值",
  76260. "example" : "提供的资质证明不符合要求,请重新上传再试"
  76261. }
  76262. }
  76263. },
  76264. "AlipayOpenPublicLifeDebarkApplyErrorResponseModel" : {
  76265. "required" : [ "code", "message" ],
  76266. "type" : "object",
  76267. "properties" : {
  76268. "code" : {
  76269. "type" : "string",
  76270. "description" : "错误码",
  76271. "enum" : [ "LIFE_ALREADY_DEBARK", "LIFE_ILLEGAL_ISV_APP_ID", "BUSINESS_ERROR" ]
  76272. },
  76273. "links" : {
  76274. "type" : "string",
  76275. "description" : "解决方案链接"
  76276. },
  76277. "message" : {
  76278. "type" : "string",
  76279. "description" : "错误描述"
  76280. }
  76281. }
  76282. },
  76283. "AlipayOpenPublicLifeDebarkApplyResponseModel" : {
  76284. "type" : "object",
  76285. "properties" : {
  76286. "result" : {
  76287. "type" : "string",
  76288. "description" : "下架成功后返回的提示",
  76289. "example" : "下架成功"
  76290. }
  76291. }
  76292. },
  76293. "AlipayOpenPublicLifeLabelBatchqueryErrorResponseModel" : {
  76294. "required" : [ "code", "message" ],
  76295. "type" : "object",
  76296. "properties" : {
  76297. "code" : {
  76298. "type" : "string",
  76299. "description" : "错误码",
  76300. "enum" : [ "SYSTEM_ERROR" ]
  76301. },
  76302. "links" : {
  76303. "type" : "string",
  76304. "description" : "解决方案链接"
  76305. },
  76306. "message" : {
  76307. "type" : "string",
  76308. "description" : "错误描述"
  76309. }
  76310. }
  76311. },
  76312. "AlipayOpenPublicLifeLabelBatchqueryResponseModel" : {
  76313. "type" : "object",
  76314. "properties" : {
  76315. "labels" : {
  76316. "type" : "array",
  76317. "description" : "标签列表",
  76318. "items" : {
  76319. "$ref" : "#/components/schemas/LifeLabel"
  76320. }
  76321. }
  76322. }
  76323. },
  76324. "AlipayOpenPublicLifeLabelCreateErrorResponseModel" : {
  76325. "required" : [ "code", "message" ],
  76326. "type" : "object",
  76327. "properties" : {
  76328. "code" : {
  76329. "type" : "string",
  76330. "description" : "错误码",
  76331. "enum" : [ "ILLEGAL_BIZ_PARAMS", "ADD_LABEL_NAME_IS_EMPTY", "LABEL_NAME_HAS_SPACE", "LABEL_NAME_HAS_COMMA", "LABEL_NAME_TOO_LONG", "DATA_TYPE_INVALID", "LABEL_NAME_ALREADY_EXISTS", "LABEL_COUNT_LIMIT", "SYSTEM_ERROR", "APP_NO_AVAIABLE" ]
  76332. },
  76333. "links" : {
  76334. "type" : "string",
  76335. "description" : "解决方案链接"
  76336. },
  76337. "message" : {
  76338. "type" : "string",
  76339. "description" : "错误描述"
  76340. }
  76341. }
  76342. },
  76343. "AlipayOpenPublicLifeLabelCreateModel" : {
  76344. "type" : "object",
  76345. "properties" : {
  76346. "data_type" : {
  76347. "type" : "string",
  76348. "description" : "标签值类型,不填默认为 string 类型。\t注意:目前只支持 string(字符串类型)。",
  76349. "example" : "string"
  76350. },
  76351. "label_name" : {
  76352. "type" : "string",
  76353. "description" : "自定义标签名。\t注意:每个生活号最多创建 100 个自定义标签。",
  76354. "example" : "职业"
  76355. }
  76356. }
  76357. },
  76358. "AlipayOpenPublicLifeLabelCreateResponseModel" : {
  76359. "type" : "object",
  76360. "properties" : {
  76361. "label_id" : {
  76362. "type" : "string",
  76363. "description" : "标签id",
  76364. "example" : "10000"
  76365. }
  76366. }
  76367. },
  76368. "AlipayOpenPublicLifeLabelDeleteErrorResponseModel" : {
  76369. "required" : [ "code", "message" ],
  76370. "type" : "object",
  76371. "properties" : {
  76372. "code" : {
  76373. "type" : "string",
  76374. "description" : "错误码",
  76375. "enum" : [ "DEL_LABEL_ID_IS_EMPTY", "LABEL_NOT_EXISTS", "LABEL_IS_USED" ]
  76376. },
  76377. "links" : {
  76378. "type" : "string",
  76379. "description" : "解决方案链接"
  76380. },
  76381. "message" : {
  76382. "type" : "string",
  76383. "description" : "错误描述"
  76384. }
  76385. }
  76386. },
  76387. "AlipayOpenPublicLifeLabelDeleteResponseModel" : {
  76388. "type" : "object"
  76389. },
  76390. "AlipayOpenPublicLifeLabelModifyErrorResponseModel" : {
  76391. "required" : [ "code", "message" ],
  76392. "type" : "object",
  76393. "properties" : {
  76394. "code" : {
  76395. "type" : "string",
  76396. "description" : "错误码",
  76397. "enum" : [ "MOD_LABEL_ID_IS_EMPTY", "MOD_LABEL_NAME_IS_EMPTY", "LABEL_NAME_HAS_SPACE", "LABEL_NAME_HAS_COMMA", "LABEL_NAME_TOO_LONG", "LABEL_NOT_EXISTS", "LABEL_NAME_ALREADY_EXISTS" ]
  76398. },
  76399. "links" : {
  76400. "type" : "string",
  76401. "description" : "解决方案链接"
  76402. },
  76403. "message" : {
  76404. "type" : "string",
  76405. "description" : "错误描述"
  76406. }
  76407. }
  76408. },
  76409. "AlipayOpenPublicLifeLabelModifyModel" : {
  76410. "type" : "object",
  76411. "properties" : {
  76412. "label_id" : {
  76413. "type" : "string",
  76414. "description" : "标签 id,只支持生活号自定义标签。通过 <a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.life.label.create\">alipay.open.public.life.label.create</a>(创建标签接口)创建自定义标签后获取。",
  76415. "example" : "10000"
  76416. },
  76417. "label_name" : {
  76418. "type" : "string",
  76419. "description" : "标签名",
  76420. "example" : "职业"
  76421. }
  76422. }
  76423. },
  76424. "AlipayOpenPublicLifeLabelModifyResponseModel" : {
  76425. "type" : "object"
  76426. },
  76427. "AlipayOpenPublicLifeMsgRecallErrorResponseModel" : {
  76428. "required" : [ "code", "message" ],
  76429. "type" : "object",
  76430. "properties" : {
  76431. "code" : {
  76432. "type" : "string",
  76433. "description" : "错误码"
  76434. },
  76435. "links" : {
  76436. "type" : "string",
  76437. "description" : "解决方案链接"
  76438. },
  76439. "message" : {
  76440. "type" : "string",
  76441. "description" : "错误描述"
  76442. }
  76443. }
  76444. },
  76445. "AlipayOpenPublicLifeMsgRecallModel" : {
  76446. "type" : "object",
  76447. "properties" : {
  76448. "message_id" : {
  76449. "type" : "string",
  76450. "description" : "消息id,可在调用<a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.message.total.send\">群发消息</a>、<a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.message.group.send\">组发消息</a>接口时会返回,请注意保存留用。",
  76451. "example" : "2016000000000000"
  76452. }
  76453. }
  76454. },
  76455. "AlipayOpenPublicLifeMsgRecallResponseModel" : {
  76456. "type" : "object"
  76457. },
  76458. "AlipayOpenPublicLifeMsgSendErrorResponseModel" : {
  76459. "required" : [ "code", "message" ],
  76460. "type" : "object",
  76461. "properties" : {
  76462. "code" : {
  76463. "type" : "string",
  76464. "description" : "错误码",
  76465. "enum" : [ "ILLEGAL_BIZ_PARAMS", "LIFE_APP_NOT_EXISTED", "INVALID_LIFE_APP_MSG_TYPE", "LIFE_APP_MSG_TITLE_EMPTY", "LIFE_APP_COVER_UPLOAD_ERROR", "LIFE_APP_VIDEIO_INFO_MISSED", "LIFE_APP_MSG_CONTENT_EMPTY", "LIFE_APP_MSG_RAW_URL_EMPTY", "LIFE_APP_MSG_CATEGORY_EMPTY", "LIFE_APP_FILE_TOO_LARGE", "LIFE_APP_INVALID_IMAGE_BYTES", "LIFE_APP_MSG_CONTENT_ILLEGAL", "LIFE_APP_MSG_SEND_ERROR", "LIFE_APP_MSG_DESC_EMPTY", "LIFE_APP_MSG_TITLE_TOO_LONG", "LIFE_APP_VIDEO_SOURCE_NOT_EXIST", "LIFE_APP_VIDEO_LENGTH_NOT_RIGHT", "LIFE_MSG_VIDEO_SAMPLES_MISSING", "LIFE_APP_VIDEO_LACK_TEMP_URL" ]
  76466. },
  76467. "links" : {
  76468. "type" : "string",
  76469. "description" : "解决方案链接"
  76470. },
  76471. "message" : {
  76472. "type" : "string",
  76473. "description" : "错误描述"
  76474. }
  76475. }
  76476. },
  76477. "AlipayOpenPublicLifeMsgSendModel" : {
  76478. "type" : "object",
  76479. "properties" : {
  76480. "category" : {
  76481. "type" : "string",
  76482. "description" : "消息分类,请传入对应分类编码值",
  76483. "example" : "c001"
  76484. },
  76485. "content" : {
  76486. "type" : "string",
  76487. "description" : "消息正文,html原文或纯文本",
  76488. "example" : "多云转晴,10°-21°"
  76489. },
  76490. "desc" : {
  76491. "type" : "string",
  76492. "description" : "消息概述",
  76493. "example" : "多云转晴,13-21°"
  76494. },
  76495. "msg_type" : {
  76496. "type" : "string",
  76497. "description" : "媒体资讯类生活号消息类型",
  76498. "example" : "IMAGE-CONTENT: 生活号新图文消息(单条),VIDEO:生活号视频消息(单条)"
  76499. },
  76500. "source_ext_info" : {
  76501. "type" : "string",
  76502. "description" : "消息来源方附属信息,供搜索、推荐使用\r\tpublish_time(int):消息发布时间,单位秒\r\tkeyword_list(String): 文章的标签列表,英文逗号分隔\r\tcomment(int):消息来源处评论次数\r\treward(int):消息来源处打赏次数\r\tis_recommended(boolean):消息在来源处是否被推荐\r\tis_news(boolean):消息是否实时性内容\r\tread(int):消息在来源处被阅读次数\r\tlike(int):消息在来源处被点赞次数\r\tis_hot(boolean):消息在来源平台是否是热门内容\r\tshare(int):文章在来源平台的分享次数\r\tdeadline(int):文章的失效时间,单位秒",
  76503. "example" : "{\"is_recommended\":\"true\",\"is_news\":\"true\"}"
  76504. },
  76505. "title" : {
  76506. "type" : "string",
  76507. "description" : "消息标题",
  76508. "example" : "杭州天气预报"
  76509. },
  76510. "unique_msg_id" : {
  76511. "type" : "string",
  76512. "description" : "来源方消息唯一标识;若不为空,根据此id和生活号id对消息去重;若为空,不去重",
  76513. "example" : "2016042810221362"
  76514. },
  76515. "video_length" : {
  76516. "type" : "string",
  76517. "description" : "生活号消息视频时长,单位:秒(视频类消息必填)",
  76518. "example" : "120"
  76519. },
  76520. "video_samples" : {
  76521. "type" : "array",
  76522. "description" : "视频类型消息中视频抽样关键帧截图,视频类消息选填",
  76523. "items" : {
  76524. "type" : "string"
  76525. },
  76526. "example" : "https://os.alipayobjects.com/rmsportal/SbMPIcOBQLFUXGg.jpg"
  76527. },
  76528. "video_size" : {
  76529. "type" : "string",
  76530. "description" : "视频大小,单位:KB(视频类消息必填)",
  76531. "example" : "1024"
  76532. },
  76533. "video_source" : {
  76534. "type" : "string",
  76535. "description" : "视频资源来源id(视频类消息必填),取值限定youku, miaopai, taobao, sina中的一个",
  76536. "example" : "youku"
  76537. },
  76538. "video_temporary_url" : {
  76539. "type" : "string",
  76540. "description" : "视频的临时链接(优酷来源的视频消息,该字段不能为空)",
  76541. "example" : "https://openhome.alipay.com/platform/home.htm"
  76542. },
  76543. "video_url" : {
  76544. "type" : "string",
  76545. "description" : "生活号视频类消息视频id或url(视频类消息必填,根据来源区分)",
  76546. "example" : "https://open.alipay.com/platform/home.htm"
  76547. }
  76548. }
  76549. },
  76550. "AlipayOpenPublicLifeMsgSendResponseModel" : {
  76551. "type" : "object",
  76552. "properties" : {
  76553. "alipay_msg_id" : {
  76554. "type" : "string",
  76555. "description" : "生活号消息唯一标识",
  76556. "example" : "2016042811340001"
  76557. }
  76558. }
  76559. },
  76560. "AlipayOpenPublicMatchuserLabelCreateErrorResponseModel" : {
  76561. "required" : [ "code", "message" ],
  76562. "type" : "object",
  76563. "properties" : {
  76564. "code" : {
  76565. "type" : "string",
  76566. "description" : "错误码",
  76567. "enum" : [ "ILLEGAL_BIZ_PARAMS", "MSG_MATCHER_INVALID", "LABEL_ID_IS_EMPTY", "LABEL_VALUE_IS_EMPTY", "LABEL_VALUE_TOO_LONG", "MATCHER_PARAMS_IS_EMPTY", "MOBILE_NO_INVALID", "IDENTITY_CARD_INVALID", "LABEL_NOT_EXISTS", "DATA_TYPE_INVALID", "NOT_MATCHED_ACCOUNT", "OPEN_ID_IS_ILLEGAL" ]
  76568. },
  76569. "links" : {
  76570. "type" : "string",
  76571. "description" : "解决方案链接"
  76572. },
  76573. "message" : {
  76574. "type" : "string",
  76575. "description" : "错误描述"
  76576. }
  76577. }
  76578. },
  76579. "AlipayOpenPublicMatchuserLabelCreateModel" : {
  76580. "type" : "object",
  76581. "properties" : {
  76582. "label_id" : {
  76583. "type" : "string",
  76584. "description" : "标签 id,只支持生活号自定义标签。通过 <a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.life.label.create\">alipay.open.public.life.label.create</a>(创建标签接口)创建自定义标签后获取。",
  76585. "example" : "10000"
  76586. },
  76587. "label_value" : {
  76588. "type" : "string",
  76589. "description" : "标签值,由开发者自主指定,标签值类型要满足 <a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.life.label.create\">alipay.open.public.life.label.create</a>(创建标签接口)中data_type参数的限定。",
  76590. "example" : "浙江"
  76591. },
  76592. "matchers" : {
  76593. "type" : "array",
  76594. "description" : "支付宝用户匹配器列表,最多传入10条",
  76595. "items" : {
  76596. "$ref" : "#/components/schemas/Matcher"
  76597. }
  76598. }
  76599. }
  76600. },
  76601. "AlipayOpenPublicMatchuserLabelCreateResponseModel" : {
  76602. "type" : "object",
  76603. "properties" : {
  76604. "error_count" : {
  76605. "type" : "integer",
  76606. "description" : "用户打标失败数量",
  76607. "example" : "1"
  76608. },
  76609. "error_matchers" : {
  76610. "type" : "array",
  76611. "description" : "出错的匹配器列表",
  76612. "items" : {
  76613. "$ref" : "#/components/schemas/ErrorMatcher"
  76614. }
  76615. }
  76616. }
  76617. },
  76618. "AlipayOpenPublicMatchuserLabelDeleteErrorResponseModel" : {
  76619. "required" : [ "code", "message" ],
  76620. "type" : "object",
  76621. "properties" : {
  76622. "code" : {
  76623. "type" : "string",
  76624. "description" : "错误码",
  76625. "enum" : [ "ILLEGAL_BIZ_PARAMS", "MSG_MATCHER_INVALID", "LABEL_ID_IS_EMPTY", "MATCHER_PARAMS_IS_EMPTY", "MOBILE_NO_INVALID", "IDENTITY_CARD_INVALID", "LABEL_NOT_EXISTS", "NOT_MATCHED_ACCOUNT", "OPEN_ID_IS_ILLEGAL", "USER_LABEL_NOT_EXISTS" ]
  76626. },
  76627. "links" : {
  76628. "type" : "string",
  76629. "description" : "解决方案链接"
  76630. },
  76631. "message" : {
  76632. "type" : "string",
  76633. "description" : "错误描述"
  76634. }
  76635. }
  76636. },
  76637. "AlipayOpenPublicMatchuserLabelDeleteModel" : {
  76638. "type" : "object",
  76639. "properties" : {
  76640. "label_id" : {
  76641. "type" : "string",
  76642. "description" : "标签 id,只支持生活号自定义标签。通过 <a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.life.label.create\">alipay.open.public.life.label.create</a>(创建标签接口)创建自定义标签后获取。",
  76643. "example" : "10000"
  76644. },
  76645. "matchers" : {
  76646. "type" : "array",
  76647. "description" : "支付宝用户匹配器列表,最多传入10条",
  76648. "items" : {
  76649. "$ref" : "#/components/schemas/Matcher"
  76650. }
  76651. }
  76652. }
  76653. },
  76654. "AlipayOpenPublicMatchuserLabelDeleteResponseModel" : {
  76655. "type" : "object",
  76656. "properties" : {
  76657. "error_count" : {
  76658. "type" : "integer",
  76659. "description" : "用户打标失败数量",
  76660. "example" : "1"
  76661. },
  76662. "error_matchers" : {
  76663. "type" : "array",
  76664. "description" : "出错的匹配器列表",
  76665. "items" : {
  76666. "$ref" : "#/components/schemas/ErrorMatcher"
  76667. }
  76668. }
  76669. }
  76670. },
  76671. "AlipayOpenPublicMenuBatchqueryErrorResponseModel" : {
  76672. "required" : [ "code", "message" ],
  76673. "type" : "object",
  76674. "properties" : {
  76675. "code" : {
  76676. "type" : "string",
  76677. "description" : "错误码"
  76678. },
  76679. "links" : {
  76680. "type" : "string",
  76681. "description" : "解决方案链接"
  76682. },
  76683. "message" : {
  76684. "type" : "string",
  76685. "description" : "错误描述"
  76686. }
  76687. }
  76688. },
  76689. "AlipayOpenPublicMenuBatchqueryResponseModel" : {
  76690. "type" : "object",
  76691. "properties" : {
  76692. "count" : {
  76693. "type" : "string",
  76694. "description" : "菜单数量,包括默认菜单和个性化菜单",
  76695. "example" : "5"
  76696. },
  76697. "menus" : {
  76698. "type" : "array",
  76699. "description" : "菜单列表",
  76700. "items" : {
  76701. "$ref" : "#/components/schemas/QueryMenu"
  76702. }
  76703. }
  76704. }
  76705. },
  76706. "AlipayOpenPublicMenuCreateErrorResponseModel" : {
  76707. "required" : [ "code", "message" ],
  76708. "type" : "object",
  76709. "properties" : {
  76710. "code" : {
  76711. "type" : "string",
  76712. "description" : "错误码",
  76713. "enum" : [ "ILLEGAL_BIZ_PARAMS", "BUTTON_IS_EMPTY", "ICON_IS_EMPTY", "ICON_IS_INVALID", "ILLEGAL_ARGUMENT_PARAMS", "BUSINESS_ERROR", "SYSTEM_ERROR", "MENU_FORMAT_ERROR", "ICON_SIZE_ERROR", "MENU_CHAT_NUMBER_LIMIT", "BUTTON_COUNT_LIMIT", "MENU_TITLE_EMPTY", "ICON_TOO_LARGE", "MENU_TITLE_OUT_OF_LENGTH", "ICON_TYPE_INVALID", "MENU_TYPE_NOTFOUND", "ACTION_PARAM_IS_EMPTY", "MENU_AUTH_NOT_ILLEGAL", "MENU_SECURITY_FORBID", "MENU_SUB_OUT_OF_NUM" ]
  76714. },
  76715. "links" : {
  76716. "type" : "string",
  76717. "description" : "解决方案链接"
  76718. },
  76719. "message" : {
  76720. "type" : "string",
  76721. "description" : "错误描述"
  76722. }
  76723. }
  76724. },
  76725. "AlipayOpenPublicMenuCreateModel" : {
  76726. "type" : "object",
  76727. "properties" : {
  76728. "button" : {
  76729. "type" : "array",
  76730. "description" : "一级菜单列表。说明:\t* 如果是文本菜单,最多有4个一级菜单,若开发者在后台打开了\"咨询反馈\"的开关,则只能有3个一级菜单。\t* 如果是 ICON 菜单信息,最多有80个一级菜单(忽略二级菜单)。",
  76731. "items" : {
  76732. "$ref" : "#/components/schemas/ButtonObject"
  76733. }
  76734. },
  76735. "type" : {
  76736. "type" : "string",
  76737. "description" : "菜单类型,不填时默认为 text(文本型菜单)。枚举值如下:\t* text:文本型菜单。\t* icon:表示 icon 型菜单,当传值为\"icon\"时,菜单节点的icon字段必传。",
  76738. "example" : "text"
  76739. }
  76740. }
  76741. },
  76742. "AlipayOpenPublicMenuCreateResponseModel" : {
  76743. "type" : "object",
  76744. "properties" : {
  76745. "menu_key" : {
  76746. "type" : "string",
  76747. "description" : "默认菜单菜单key,文本菜单为“default”,icon菜单为“iconDefault”",
  76748. "example" : "default"
  76749. }
  76750. }
  76751. },
  76752. "AlipayOpenPublicMenuDataBatchqueryErrorResponseModel" : {
  76753. "required" : [ "code", "message" ],
  76754. "type" : "object",
  76755. "properties" : {
  76756. "code" : {
  76757. "type" : "string",
  76758. "description" : "错误码",
  76759. "enum" : [ "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "QUERY_DATE_INVALID" ]
  76760. },
  76761. "links" : {
  76762. "type" : "string",
  76763. "description" : "解决方案链接"
  76764. },
  76765. "message" : {
  76766. "type" : "string",
  76767. "description" : "错误描述"
  76768. }
  76769. }
  76770. },
  76771. "AlipayOpenPublicMenuDataBatchqueryModel" : {
  76772. "type" : "object",
  76773. "properties" : {
  76774. "begin_date" : {
  76775. "type" : "string",
  76776. "description" : "数据开始日期,时间格式为 \"yyyyMMdd\" 。",
  76777. "example" : "20171101"
  76778. },
  76779. "end_date" : {
  76780. "type" : "string",
  76781. "description" : "数据结束日期,时间格式为\"yyyyMMdd\"。查询数据开始日期/结束日期时间跨度最大30天。",
  76782. "example" : "20171108"
  76783. }
  76784. }
  76785. },
  76786. "AlipayOpenPublicMenuDataBatchqueryResponseModel" : {
  76787. "type" : "object",
  76788. "properties" : {
  76789. "data_list" : {
  76790. "type" : "array",
  76791. "description" : "菜单分析数据列表",
  76792. "items" : {
  76793. "$ref" : "#/components/schemas/MenuAnalysisData"
  76794. }
  76795. }
  76796. }
  76797. },
  76798. "AlipayOpenPublicMenuModifyErrorResponseModel" : {
  76799. "required" : [ "code", "message" ],
  76800. "type" : "object",
  76801. "properties" : {
  76802. "code" : {
  76803. "type" : "string",
  76804. "description" : "错误码",
  76805. "enum" : [ "ILLEGAL_BIZ_PARAMS", "BUTTON_IS_EMPTY", "ICON_IS_EMPTY", "MENU_MODIFY_NOT_EXIST", "SYSTEM_ERROR", "ICON_IS_INVALID", "MENU_NO_BODY", "MENU_CHAT_NUMBER_LIMIT", "BUTTON_COUNT_LIMIT", "MENU_TITLE_EMPTY", "ICON_TOO_LARGE", "MENU_TITLE_OUT_OF_LENGTH", "ICON_TYPE_INVALID", "MENU_TYPE_NOTFOUND", "ACTION_PARAM_IS_EMPTY", "MENU_AUTH_NOT_ILLEGAL", "MENU_SECURITY_FORBID", "MENU_SUB_OUT_OF_NUM" ]
  76806. },
  76807. "links" : {
  76808. "type" : "string",
  76809. "description" : "解决方案链接"
  76810. },
  76811. "message" : {
  76812. "type" : "string",
  76813. "description" : "错误描述"
  76814. }
  76815. }
  76816. },
  76817. "AlipayOpenPublicMenuModifyModel" : {
  76818. "type" : "object",
  76819. "properties" : {
  76820. "button" : {
  76821. "type" : "array",
  76822. "description" : "一级菜单列表。说明:\t* 如果是文本菜单,最多有4个一级菜单,若开发者在后台打开了\"咨询反馈\"的开关,则只能有3个一级菜单。\t* 如果是 ICON 菜单信息,最多有80个一级菜单(忽略二级菜单)。",
  76823. "items" : {
  76824. "$ref" : "#/components/schemas/ButtonObject"
  76825. }
  76826. },
  76827. "type" : {
  76828. "type" : "string",
  76829. "description" : "菜单类型,不填时默认为 text(文本型菜单)。枚举值如下:\t* text:文本型菜单。\t* icon:表示 icon 型菜单,当传值为\"icon\"时,菜单节点的icon字段必传。",
  76830. "example" : "icon"
  76831. }
  76832. }
  76833. },
  76834. "AlipayOpenPublicMenuModifyResponseModel" : {
  76835. "type" : "object"
  76836. },
  76837. "AlipayOpenPublicMenuQueryErrorResponseModel" : {
  76838. "required" : [ "code", "message" ],
  76839. "type" : "object",
  76840. "properties" : {
  76841. "code" : {
  76842. "type" : "string",
  76843. "description" : "错误码",
  76844. "enum" : [ "MENU_NOT_SET", "MENU_NOT_EXIST", "SYSTEM_ERROR" ]
  76845. },
  76846. "links" : {
  76847. "type" : "string",
  76848. "description" : "解决方案链接"
  76849. },
  76850. "message" : {
  76851. "type" : "string",
  76852. "description" : "错误描述"
  76853. }
  76854. }
  76855. },
  76856. "AlipayOpenPublicMenuQueryResponseModel" : {
  76857. "type" : "object",
  76858. "properties" : {
  76859. "menu_content" : {
  76860. "type" : "string",
  76861. "description" : "一级菜单数组,个数应为1~4个",
  76862. "example" : "{\"button\":[{\"actionParam\":\"menu_v01_pay\",\"actionType\":\"in\",\"name\":\"支付\"}]}"
  76863. }
  76864. }
  76865. },
  76866. "AlipayOpenPublicMessageContentCreateErrorResponseModel" : {
  76867. "required" : [ "code", "message" ],
  76868. "type" : "object",
  76869. "properties" : {
  76870. "code" : {
  76871. "type" : "string",
  76872. "description" : "错误码",
  76873. "enum" : [ "MSG_CONTENT_TITLE_INVALID", "MSG_CONTENT_COVER_INVALID", "MSG_CONTENT_BODY_INVALID", "MSG_CONTENT_EXTTAGS_INVALID", "MSG_CONTENT_ACTIVITY_INVALID", "MSG_CONTENT_BENEFIT_INVALID", "MSG_CONTENT_PREVIEWIDS_INVALID", "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "MSG_CONTENT_SECURITY_INVALID", "MSG_CONTENT_COULDCOMMENT_INVALID", "MSG_CONTENT_ADD_HAS_CONTENTID" ]
  76874. },
  76875. "links" : {
  76876. "type" : "string",
  76877. "description" : "解决方案链接"
  76878. },
  76879. "message" : {
  76880. "type" : "string",
  76881. "description" : "错误描述"
  76882. }
  76883. }
  76884. },
  76885. "AlipayOpenPublicMessageContentCreateModel" : {
  76886. "type" : "object",
  76887. "properties" : {
  76888. "benefit" : {
  76889. "type" : "string",
  76890. "description" : "活动利益点,最多10个字符。仅 ctype 为 activity 类型时才需传入。",
  76891. "example" : "满**减**"
  76892. },
  76893. "content" : {
  76894. "type" : "string",
  76895. "description" : "消息正文(支持富文本)",
  76896. "example" : "<html>示例</html>"
  76897. },
  76898. "could_comment" : {
  76899. "type" : "string",
  76900. "description" : "是否允许评论。枚举支持:\t*T:允许。\t*F:不允许,默认不允许。",
  76901. "example" : "T"
  76902. },
  76903. "cover" : {
  76904. "type" : "string",
  76905. "description" : "封面图url,需传入 <a href=\"https://opendocs.alipay.com/apis/api_3/alipay.offline.material.image.upload\">图片上传接口</a>上传图片获取的 image_url。\t注意:尺寸为 996*450,最大不超过3M,支持格式:jpg、.png 。",
  76906. "example" : "https://oalipay-dl-django.alicdn.com/rest/1.0/image?fileIds=xxx&zoom=xxx"
  76907. },
  76908. "ctype" : {
  76909. "type" : "string",
  76910. "description" : "图文类型,不填默认普通图文。还支持 activity(活动图文)。",
  76911. "example" : "activity"
  76912. },
  76913. "ext_tags" : {
  76914. "type" : "string",
  76915. "description" : "关键词列表,英文逗号分隔,最多不超过5个",
  76916. "example" : "关键,热度"
  76917. },
  76918. "login_ids" : {
  76919. "type" : "string",
  76920. "description" : "可预览支付宝账号列表,需要预览时才填写, 英文逗号分隔,最多不超过10个",
  76921. "example" : "13434343432,xxx@163.com"
  76922. },
  76923. "title" : {
  76924. "type" : "string",
  76925. "description" : "标题",
  76926. "example" : "标题"
  76927. }
  76928. }
  76929. },
  76930. "AlipayOpenPublicMessageContentCreateResponseModel" : {
  76931. "type" : "object",
  76932. "properties" : {
  76933. "content_id" : {
  76934. "type" : "string",
  76935. "description" : "内容id",
  76936. "example" : "201410323232dsadjada-dsa-1234dsada"
  76937. },
  76938. "content_url" : {
  76939. "type" : "string",
  76940. "description" : "内容详情内链url",
  76941. "example" : "alipays://xxxx"
  76942. }
  76943. }
  76944. },
  76945. "AlipayOpenPublicMessageContentModifyErrorResponseModel" : {
  76946. "required" : [ "code", "message" ],
  76947. "type" : "object",
  76948. "properties" : {
  76949. "code" : {
  76950. "type" : "string",
  76951. "description" : "错误码",
  76952. "enum" : [ "MSG_CONTENT_TITLE_INVALID", "MSG_CONTENT_COVER_INVALID", "MSG_CONTENT_BODY_INVALID", "MSG_CONTENT_EXTTAGS_INVALID", "MSG_CONTENT_ACTIVITY_INVALID", "MSG_CONTENT_BENEFIT_INVALID", "MSG_CONTENT_PREVIEWIDS_INVALID", "MSG_CONTENT_ID_INVALID", "MSG_CONTENT_NOT_EXISTS", "MSG_CONTENT_NOT_ALLOW_UPDATE", "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "MSG_CONTENT_SECURITY_INVALID", "MSG_CONTENT_COULDCOMMENT_INVALID" ]
  76953. },
  76954. "links" : {
  76955. "type" : "string",
  76956. "description" : "解决方案链接"
  76957. },
  76958. "message" : {
  76959. "type" : "string",
  76960. "description" : "错误描述"
  76961. }
  76962. }
  76963. },
  76964. "AlipayOpenPublicMessageContentModifyModel" : {
  76965. "type" : "object",
  76966. "properties" : {
  76967. "benefit" : {
  76968. "type" : "string",
  76969. "description" : "活动利益点,图文类型ctype为activity类型时才需要传,最多10个字符",
  76970. "example" : "满**减**"
  76971. },
  76972. "content" : {
  76973. "type" : "string",
  76974. "description" : "消息正文(支持富文本)",
  76975. "example" : "<html>示例</html>"
  76976. },
  76977. "content_id" : {
  76978. "type" : "string",
  76979. "description" : "内容id",
  76980. "example" : "20141032434dsdsada-dsadas-2e32"
  76981. },
  76982. "could_comment" : {
  76983. "type" : "string",
  76984. "description" : "是否允许评论 T:允许 F:不允许,默认不允许",
  76985. "example" : "T"
  76986. },
  76987. "cover" : {
  76988. "type" : "string",
  76989. "description" : "封面图url, 尺寸为996*450,最大不超过3M,支持格式:.jpg、.png ,请先调用<ahref=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url。",
  76990. "example" : "https://oalipay-dl-django.alicdn.com/rest/1.0/image?fileIds=xxx&zoom=xxx"
  76991. },
  76992. "ctype" : {
  76993. "type" : "string",
  76994. "description" : "图文类型 activity: 活动图文,不填默认普通图文",
  76995. "example" : "activity"
  76996. },
  76997. "ext_tags" : {
  76998. "type" : "string",
  76999. "description" : "关键词列表,英文逗号分隔,最多不超过5个",
  77000. "example" : "关键,热度"
  77001. },
  77002. "login_ids" : {
  77003. "type" : "string",
  77004. "description" : "可预览支付宝账号列表,需要预览时才填写, 英文逗号分隔,最多不超过10个",
  77005. "example" : "13434343432,xxx@163.com"
  77006. },
  77007. "title" : {
  77008. "type" : "string",
  77009. "description" : "标题",
  77010. "example" : "标题"
  77011. }
  77012. }
  77013. },
  77014. "AlipayOpenPublicMessageContentModifyResponseModel" : {
  77015. "type" : "object",
  77016. "properties" : {
  77017. "content_id" : {
  77018. "type" : "string",
  77019. "description" : "内容id",
  77020. "example" : "201410323232dsadjada-dsa-1234dsada"
  77021. },
  77022. "content_url" : {
  77023. "type" : "string",
  77024. "description" : "内容详情内链url",
  77025. "example" : "alipays://xxxx"
  77026. }
  77027. }
  77028. },
  77029. "AlipayOpenPublicMessageCustomSendErrorResponseModel" : {
  77030. "required" : [ "code", "message" ],
  77031. "type" : "object",
  77032. "properties" : {
  77033. "code" : {
  77034. "type" : "string",
  77035. "description" : "错误码",
  77036. "enum" : [ "PUBLIC_CHANNELS_CONFIG_INVAILD", "MSG_TYPE_ILLEGAL", "OPEN_ID_IS_ILLEGAL", "MSG_SD_NOBEHAVIOR", "SYSTEM_ERROR", "MSG_SD_EVENT_TYPE_NOT_EXISTS", "MSG_SD_FOLLOW_NOT_EXISTS", "MSG_SD_OVER_TIME", "MSG_ENTER_EVENT_OVER_LIMIT" ]
  77037. },
  77038. "links" : {
  77039. "type" : "string",
  77040. "description" : "解决方案链接"
  77041. },
  77042. "message" : {
  77043. "type" : "string",
  77044. "description" : "错误描述"
  77045. }
  77046. }
  77047. },
  77048. "AlipayOpenPublicMessageCustomSendModel" : {
  77049. "type" : "object",
  77050. "properties" : {
  77051. "articles" : {
  77052. "type" : "array",
  77053. "description" : "msg_type为image-text,本参数必填。\t",
  77054. "items" : {
  77055. "$ref" : "#/components/schemas/Article"
  77056. }
  77057. },
  77058. "chat" : {
  77059. "type" : "string",
  77060. "description" : "是否为聊天消息。枚举支持:\t*0:代表非聊天消息,消息显示在生活号主页,默认为 0。\t*1:代表是聊天消息,消息显示在咨询反馈列表页。",
  77061. "example" : "0"
  77062. },
  77063. "event_type" : {
  77064. "type" : "string",
  77065. "description" : "触发消息的事件类型,默认为空。代表商户未改造。如果是follow,代表关注消息。click代表菜单点击,enter_ppchat代表进入事件;请注意事件类型的大小写",
  77066. "example" : "follow"
  77067. },
  77068. "msg_type" : {
  77069. "type" : "string",
  77070. "description" : "消息类型。枚举支持:\t* text:表示文本消息;\t* image-text:表示图文消息。",
  77071. "example" : "text"
  77072. },
  77073. "open_id" : {
  77074. "type" : "string",
  77075. "description" : "支付宝用户的唯一标识",
  77076. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  77077. },
  77078. "text" : {
  77079. "$ref" : "#/components/schemas/Text"
  77080. },
  77081. "to_user_id" : {
  77082. "type" : "string",
  77083. "description" : "消息接收用户的userid",
  77084. "example" : "2088283746283746"
  77085. }
  77086. }
  77087. },
  77088. "AlipayOpenPublicMessageCustomSendResponseModel" : {
  77089. "type" : "object"
  77090. },
  77091. "AlipayOpenPublicMessageGroupSendErrorResponseModel" : {
  77092. "required" : [ "code", "message" ],
  77093. "type" : "object",
  77094. "properties" : {
  77095. "code" : {
  77096. "type" : "string",
  77097. "description" : "错误码",
  77098. "enum" : [ "SYSTEM_ERROR", "GROUP_EMPTY_ERROR", "ILLEGAL_BIZ_PARAMS", "MSG_BATCH_SD_OVER", "MSG_SEND_ILLEGAL", "IMAGE_SIZE_ERROR", "IMAGE_TOO_LARGE", "ILLEGAL_IMAGE_FORMAT", "MESSAGE_IS_EMPTY", "MESSAGE_IS_INCOMPLETE" ]
  77099. },
  77100. "links" : {
  77101. "type" : "string",
  77102. "description" : "解决方案链接"
  77103. },
  77104. "message" : {
  77105. "type" : "string",
  77106. "description" : "错误描述"
  77107. }
  77108. }
  77109. },
  77110. "AlipayOpenPublicMessageGroupSendModel" : {
  77111. "type" : "object",
  77112. "properties" : {
  77113. "articles" : {
  77114. "type" : "array",
  77115. "description" : "图文消息,当 msg_type为image-text,本参数必填。",
  77116. "items" : {
  77117. "$ref" : "#/components/schemas/Article"
  77118. }
  77119. },
  77120. "group_id" : {
  77121. "type" : "string",
  77122. "description" : "分组ID,通过<a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.group.create\">alipay.open.public.group.create</a>(用户分组创建接口)\t创建用户分组获取。",
  77123. "example" : "10000"
  77124. },
  77125. "image" : {
  77126. "$ref" : "#/components/schemas/Image"
  77127. },
  77128. "msg_type" : {
  77129. "type" : "string",
  77130. "description" : "消息类型。枚举支持:\t* text:表示文本消息;\t* image-text:表示图文消息。\t",
  77131. "example" : "text"
  77132. },
  77133. "text" : {
  77134. "$ref" : "#/components/schemas/Text"
  77135. }
  77136. }
  77137. },
  77138. "AlipayOpenPublicMessageGroupSendResponseModel" : {
  77139. "type" : "object",
  77140. "properties" : {
  77141. "message_id" : {
  77142. "type" : "string",
  77143. "description" : "2013121100055554f1000b64-3f05-4581-a5e1-16e29d242950",
  77144. "example" : "消息ID"
  77145. }
  77146. }
  77147. },
  77148. "AlipayOpenPublicMessageLabelSendErrorResponseModel" : {
  77149. "required" : [ "code", "message" ],
  77150. "type" : "object",
  77151. "properties" : {
  77152. "code" : {
  77153. "type" : "string",
  77154. "description" : "错误码",
  77155. "enum" : [ "ILLEGAL_BIZ_PARAMS", "LABEL_GROUP_FILTER_EMPTY", "LABEL_GROUP_LABEL_OVER_LIMIT", "LABEL_GROUP_KEY_EMPTY", "LABEL_GROUP_ITEM_EMPTY", "LABEL_GROUP_VALUES_EMPTY", "LABEL_GROUP_TPL_EMPTY", "LABEL_GROUP_NO_CONDITION", "LABEL_GROUP_VALUE_NOT_NUMBER", "LABEL_GROUP_LABEL_NOT_EXISTS", "MSG_TYPE_ILLEGAL", "OPEN_ID_IS_ILLEGAL", "SYSTEM_ERROR" ]
  77156. },
  77157. "links" : {
  77158. "type" : "string",
  77159. "description" : "解决方案链接"
  77160. },
  77161. "message" : {
  77162. "type" : "string",
  77163. "description" : "错误描述"
  77164. }
  77165. }
  77166. },
  77167. "AlipayOpenPublicMessageLabelSendModel" : {
  77168. "type" : "object",
  77169. "properties" : {
  77170. "filter" : {
  77171. "$ref" : "#/components/schemas/Filter"
  77172. },
  77173. "material" : {
  77174. "$ref" : "#/components/schemas/Material"
  77175. }
  77176. }
  77177. },
  77178. "AlipayOpenPublicMessageLabelSendResponseModel" : {
  77179. "type" : "object"
  77180. },
  77181. "AlipayOpenPublicMessageSingleSendErrorResponseModel" : {
  77182. "required" : [ "code", "message" ],
  77183. "type" : "object",
  77184. "properties" : {
  77185. "code" : {
  77186. "type" : "string",
  77187. "description" : "错误码",
  77188. "enum" : [ "MSG_TEMPLATE_INVALID", "MSG_TEMPLATE_ID_INVALID", "MSG_TEMPLATE_KEY_INVALID", "OPENID_INVALID", "MSG_TEMPLATE_NOT_EXIST", "MSG_TEMPLATE_NOT_STARTED", "MSG_TEMPLATE_CONTEXT_LACK_KEY", "ILLEGAL_ARGUMENT_PARAMS", "SYSTEM_ERROR", "MSG_SD_NOFOLLOW", "APP_NO_AVAIABLE", "BIZ_CONTENT_IS_NULL", "UNFOLLOW_REFUSE_RECOMMONED", "MSG_SEND_FORBIDDEN", "TYPEATEMPLATE_SWITCH_UNSUBSCRIBED", "MSG_SEND_ILLEGAL", "MSG_SINGLE_SD_OVER" ]
  77189. },
  77190. "links" : {
  77191. "type" : "string",
  77192. "description" : "解决方案链接"
  77193. },
  77194. "message" : {
  77195. "type" : "string",
  77196. "description" : "错误描述"
  77197. }
  77198. }
  77199. },
  77200. "AlipayOpenPublicMessageSingleSendModel" : {
  77201. "type" : "object",
  77202. "properties" : {
  77203. "template" : {
  77204. "$ref" : "#/components/schemas/Template"
  77205. },
  77206. "to_open_id" : {
  77207. "type" : "string",
  77208. "description" : "支付宝openId,用于支付宝用户在当前应用下的用户标识。",
  77209. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  77210. },
  77211. "to_user_id" : {
  77212. "type" : "string",
  77213. "description" : "消息接收用户的支付宝用户id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  77214. "example" : "2088202882050410"
  77215. }
  77216. }
  77217. },
  77218. "AlipayOpenPublicMessageSingleSendResponseModel" : {
  77219. "type" : "object"
  77220. },
  77221. "AlipayOpenPublicMessageTotalSendErrorResponseModel" : {
  77222. "required" : [ "code", "message" ],
  77223. "type" : "object",
  77224. "properties" : {
  77225. "code" : {
  77226. "type" : "string",
  77227. "description" : "错误码",
  77228. "enum" : [ "MSG_TYPE_ILLEGAL", "OPEN_ID_IS_ILLEGAL", "ILLEGAL_ARGUMENT_PARAMS", "SYSTEM_ERROR" ]
  77229. },
  77230. "links" : {
  77231. "type" : "string",
  77232. "description" : "解决方案链接"
  77233. },
  77234. "message" : {
  77235. "type" : "string",
  77236. "description" : "错误描述"
  77237. }
  77238. }
  77239. },
  77240. "AlipayOpenPublicMessageTotalSendModel" : {
  77241. "type" : "object",
  77242. "properties" : {
  77243. "articles" : {
  77244. "type" : "array",
  77245. "description" : "图文消息,当 msg_type为image-text,本参数必填。\t",
  77246. "items" : {
  77247. "$ref" : "#/components/schemas/Article"
  77248. }
  77249. },
  77250. "msg_type" : {
  77251. "type" : "string",
  77252. "description" : "消息类型。枚举支持:\t* text:表示文本消息;\t* image-text:表示图文消息。",
  77253. "example" : "text"
  77254. },
  77255. "text" : {
  77256. "$ref" : "#/components/schemas/Text"
  77257. }
  77258. }
  77259. },
  77260. "AlipayOpenPublicMessageTotalSendResponseModel" : {
  77261. "type" : "object",
  77262. "properties" : {
  77263. "message_id" : {
  77264. "type" : "string",
  77265. "description" : "消息ID",
  77266. "example" : "2013121100055554f1000b64-3f05-4581-a5e1-16e29d242950"
  77267. }
  77268. }
  77269. },
  77270. "AlipayOpenPublicPayeeBindCreateErrorResponseModel" : {
  77271. "required" : [ "code", "message" ],
  77272. "type" : "object",
  77273. "properties" : {
  77274. "code" : {
  77275. "type" : "string",
  77276. "description" : "错误码",
  77277. "enum" : [ "AYEEBIND_USER_INVALID", "PAYEEBIND_APP_INVALID", "PAYEEBIND_NOT_SAME_SUBJECT", "PAYEEBIND_LOGIN_ID_HAS_BIND", "PAYEEBIND_COUNT_OVER", "PARAM_NOT_ALLOW_COEXIST" ]
  77278. },
  77279. "links" : {
  77280. "type" : "string",
  77281. "description" : "解决方案链接"
  77282. },
  77283. "message" : {
  77284. "type" : "string",
  77285. "description" : "错误描述"
  77286. }
  77287. }
  77288. },
  77289. "AlipayOpenPublicPayeeBindCreateModel" : {
  77290. "type" : "object",
  77291. "properties" : {
  77292. "login_id" : {
  77293. "type" : "string",
  77294. "description" : "收款账号,需要绑定的收款支付宝账号,请勿与 pid 同时传入。",
  77295. "example" : "13429393030"
  77296. },
  77297. "pid" : {
  77298. "type" : "string",
  77299. "description" : "支付宝用户id,2088开头的16位长度字符串,请勿与 login_id 同时传入。",
  77300. "example" : "2088344343289143"
  77301. }
  77302. }
  77303. },
  77304. "AlipayOpenPublicPayeeBindCreateResponseModel" : {
  77305. "type" : "object"
  77306. },
  77307. "AlipayOpenPublicPayeeBindDeleteErrorResponseModel" : {
  77308. "required" : [ "code", "message" ],
  77309. "type" : "object",
  77310. "properties" : {
  77311. "code" : {
  77312. "type" : "string",
  77313. "description" : "错误码",
  77314. "enum" : [ "PAYEEBIND_BIND_NOT_EXIST", "PARAM_NOT_ALLOW_COEXIST" ]
  77315. },
  77316. "links" : {
  77317. "type" : "string",
  77318. "description" : "解决方案链接"
  77319. },
  77320. "message" : {
  77321. "type" : "string",
  77322. "description" : "错误描述"
  77323. }
  77324. }
  77325. },
  77326. "AlipayOpenPublicPayeeBindDeleteResponseModel" : {
  77327. "type" : "object"
  77328. },
  77329. "AlipayOpenPublicPersonalizedExtensionBatchqueryErrorResponseModel" : {
  77330. "required" : [ "code", "message" ],
  77331. "type" : "object",
  77332. "properties" : {
  77333. "code" : {
  77334. "type" : "string",
  77335. "description" : "错误码"
  77336. },
  77337. "links" : {
  77338. "type" : "string",
  77339. "description" : "解决方案链接"
  77340. },
  77341. "message" : {
  77342. "type" : "string",
  77343. "description" : "错误描述"
  77344. }
  77345. }
  77346. },
  77347. "AlipayOpenPublicPersonalizedExtensionBatchqueryResponseModel" : {
  77348. "type" : "object",
  77349. "properties" : {
  77350. "count" : {
  77351. "type" : "integer",
  77352. "description" : "扩展区套数",
  77353. "example" : "10"
  77354. },
  77355. "extensions" : {
  77356. "type" : "array",
  77357. "description" : "扩展区信息",
  77358. "items" : {
  77359. "$ref" : "#/components/schemas/QueryExtension"
  77360. }
  77361. }
  77362. }
  77363. },
  77364. "AlipayOpenPublicPersonalizedExtensionCreateErrorResponseModel" : {
  77365. "required" : [ "code", "message" ],
  77366. "type" : "object",
  77367. "properties" : {
  77368. "code" : {
  77369. "type" : "string",
  77370. "description" : "错误码",
  77371. "enum" : [ "EXTENSION_AREAS_IS_EMPTY", "AREA_COUNT_INVALID", "LABEL_RULES_IS_EMPTY", "RULE_COUNT_INVALID", "ILLEGAL_BIZ_PARAMS", "EXTENSION_PARAM_URL_ERROR", "EXTENSION_PARAM_TYPE_ERROR", "AREA_HEIGHT_IS_INVALID", "GOTO_URL_IS_INVALID", "LABEL_ID_IS_EMPTY", "LABEL_VALUE_IS_EMPTY", "LABEL_VALUE_INVALID", "LABEL_NOT_EXISTS", "RULE_CONTENT_INVALID" ]
  77372. },
  77373. "links" : {
  77374. "type" : "string",
  77375. "description" : "解决方案链接"
  77376. },
  77377. "message" : {
  77378. "type" : "string",
  77379. "description" : "错误描述"
  77380. }
  77381. }
  77382. },
  77383. "AlipayOpenPublicPersonalizedExtensionCreateModel" : {
  77384. "type" : "object",
  77385. "properties" : {
  77386. "areas" : {
  77387. "type" : "array",
  77388. "description" : "扩展区列表,最大条数为3",
  77389. "items" : {
  77390. "$ref" : "#/components/schemas/ExtensionArea"
  77391. }
  77392. },
  77393. "label_rule" : {
  77394. "type" : "array",
  77395. "description" : "标签规则,目前限定只能传入1条,在扩展区上线后,满足该标签规则的用户进入生活号首页,将看到该套扩展区。生成标签及打标详情参见<a href=\"https://opendocs.alipay.com/fw/api/106877\">标签管理</a>。",
  77396. "items" : {
  77397. "$ref" : "#/components/schemas/LabelRule"
  77398. }
  77399. }
  77400. }
  77401. },
  77402. "AlipayOpenPublicPersonalizedExtensionCreateResponseModel" : {
  77403. "type" : "object",
  77404. "properties" : {
  77405. "extension_key" : {
  77406. "type" : "string",
  77407. "description" : "扩展区套id。创建个性化扩展区成功后,支付宝会将该字段返回,后续扩展区上下线或者扩展区删除都会用到这个值。",
  77408. "example" : "10000"
  77409. }
  77410. }
  77411. },
  77412. "AlipayOpenPublicPersonalizedExtensionDeleteErrorResponseModel" : {
  77413. "required" : [ "code", "message" ],
  77414. "type" : "object",
  77415. "properties" : {
  77416. "code" : {
  77417. "type" : "string",
  77418. "description" : "错误码",
  77419. "enum" : [ "EXTENSION_KEY_IS_EMPTY" ]
  77420. },
  77421. "links" : {
  77422. "type" : "string",
  77423. "description" : "解决方案链接"
  77424. },
  77425. "message" : {
  77426. "type" : "string",
  77427. "description" : "错误描述"
  77428. }
  77429. }
  77430. },
  77431. "AlipayOpenPublicPersonalizedExtensionDeleteResponseModel" : {
  77432. "type" : "object"
  77433. },
  77434. "AlipayOpenPublicPersonalizedMenuCreateErrorResponseModel" : {
  77435. "required" : [ "code", "message" ],
  77436. "type" : "object",
  77437. "properties" : {
  77438. "code" : {
  77439. "type" : "string",
  77440. "description" : "错误码",
  77441. "enum" : [ "INVALID_PARAMETER", "BUTTON_IS_EMPTY", "BUTTON_COUNT_LIMIT", "MENU_TITLE_EMPTY", "MENU_TITLE_OUT_OF_LENGTH", "MENU_TYPE_NOTFOUND", "MENU_SUB_OUT_OF_NUM", "ICON_IS_EMPTY", "ACTION_PARAM_IS_EMPTY", "ICON_IS_INVALID", "ICON_SIZE_ERROR", "ICON_TOO_LARGE", "ICON_TYPE_INVALID", "LABEL_RULES_IS_EMPTY", "RULE_COUNT_INVALID", "LABEL_ID_IS_EMPTY", "LABEL_VALUE_IS_EMPTY", "LABEL_VALUE_INVALID", "LABEL_NOT_EXISTS", "MENU_SECURITY_FORBID", "LABEL_IS_REUSED", "OPERATOR_IS_EMPTY", "OPERATOR_IS_INVALID", "GROUP_ID_IS_INVALID", "GROUP_NOT_READY", "GROUP_NOT_EXISTED", "NOT_SUPPORT_GROUP", "MENU_NUMBER_LIMIT", "ICON_NOT_SUPPORT_SUB_MENU", "SECURITY_CHECK_FAILED" ]
  77442. },
  77443. "links" : {
  77444. "type" : "string",
  77445. "description" : "解决方案链接"
  77446. },
  77447. "message" : {
  77448. "type" : "string",
  77449. "description" : "错误描述"
  77450. }
  77451. }
  77452. },
  77453. "AlipayOpenPublicPersonalizedMenuCreateModel" : {
  77454. "type" : "object",
  77455. "properties" : {
  77456. "button" : {
  77457. "type" : "array",
  77458. "description" : "一级菜单列表。说明:\t* 如果是文本菜单,最多有4个一级菜单,若开发者在后台打开了\"咨询反馈\"的开关,则只能有3个一级菜单。\t* 如果是 ICON 菜单信息,最多有80个一级菜单(忽略二级菜单)。",
  77459. "items" : {
  77460. "$ref" : "#/components/schemas/ButtonObject"
  77461. }
  77462. },
  77463. "group_id" : {
  77464. "type" : "string",
  77465. "description" : "人群分组id。分组创建及管理接入详情参见 <a href=\"https://opendocs.alipay.com/fw/api/106931\">分组管理</a>。\t注意:group_id 与 label_rule(标签规则)不能同时为空。",
  77466. "example" : "RQ20190917100100000001"
  77467. },
  77468. "label_rule" : {
  77469. "type" : "array",
  77470. "description" : "标签规则,目前限定只能传入1条,在个性化菜单创建成功后,满足该标签规则的用户进入生活号首页,将看到该套菜单。生成标签及打标详情参见<a href=\"https://opendocs.alipay.com/fw/api/106877\">标签管理</a>。\t注意:group_id(人群分组id) 与 label_rule 不能同时为空。",
  77471. "items" : {
  77472. "$ref" : "#/components/schemas/LabelRule"
  77473. }
  77474. },
  77475. "mobile_client_type" : {
  77476. "type" : "string",
  77477. "description" : "手机客户端类型,枚举支持:\t*iphone;\t*android;\t*wp;\t说明:不填为不区分机型。",
  77478. "example" : "android"
  77479. },
  77480. "type" : {
  77481. "type" : "string",
  77482. "description" : "菜单类型,不填时默认为 text(文本型菜单)。枚举值如下:\t* text:文本型菜单。\t* icon:表示 icon 型菜单,当传值为\"icon\"时,菜单节点的icon字段必传。",
  77483. "example" : "text"
  77484. }
  77485. }
  77486. },
  77487. "AlipayOpenPublicPersonalizedMenuCreateResponseModel" : {
  77488. "type" : "object",
  77489. "properties" : {
  77490. "menu_key" : {
  77491. "type" : "string",
  77492. "description" : "该套个性化菜单key",
  77493. "example" : "100000"
  77494. }
  77495. }
  77496. },
  77497. "AlipayOpenPublicPersonalizedMenuDeleteErrorResponseModel" : {
  77498. "required" : [ "code", "message" ],
  77499. "type" : "object",
  77500. "properties" : {
  77501. "code" : {
  77502. "type" : "string",
  77503. "description" : "错误码",
  77504. "enum" : [ "ILLEGAL_BIZ_PARAMS", "MENU_KEY_IS_EMPTY", "MENU_NOT_EXIST" ]
  77505. },
  77506. "links" : {
  77507. "type" : "string",
  77508. "description" : "解决方案链接"
  77509. },
  77510. "message" : {
  77511. "type" : "string",
  77512. "description" : "错误描述"
  77513. }
  77514. }
  77515. },
  77516. "AlipayOpenPublicPersonalizedMenuDeleteResponseModel" : {
  77517. "type" : "object"
  77518. },
  77519. "AlipayOpenPublicQrcodeCreateErrorResponseModel" : {
  77520. "required" : [ "code", "message" ],
  77521. "type" : "object",
  77522. "properties" : {
  77523. "code" : {
  77524. "type" : "string",
  77525. "description" : "错误码",
  77526. "enum" : [ "PARSE_XML_JSON_ERROR", "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR" ]
  77527. },
  77528. "links" : {
  77529. "type" : "string",
  77530. "description" : "解决方案链接"
  77531. },
  77532. "message" : {
  77533. "type" : "string",
  77534. "description" : "错误描述"
  77535. }
  77536. }
  77537. },
  77538. "AlipayOpenPublicQrcodeCreateModel" : {
  77539. "type" : "object",
  77540. "properties" : {
  77541. "code_info" : {
  77542. "$ref" : "#/components/schemas/CodeInfo"
  77543. },
  77544. "code_type" : {
  77545. "type" : "string",
  77546. "description" : "二维码类型,目前只支持两种类型:\r\tTEMP:临时的(默认);\r\tPERM:永久的",
  77547. "example" : "TEMP"
  77548. },
  77549. "expire_second" : {
  77550. "type" : "string",
  77551. "description" : "临时码过期时间,以秒为单位,最大不超过1800秒;\r\t永久码置空",
  77552. "example" : "1000"
  77553. },
  77554. "show_logo" : {
  77555. "type" : "string",
  77556. "description" : "二维码中间是否显示服务窗logo,Y:显示;N:不显示(默认)",
  77557. "example" : "N"
  77558. }
  77559. }
  77560. },
  77561. "AlipayOpenPublicQrcodeCreateResponseModel" : {
  77562. "type" : "object",
  77563. "properties" : {
  77564. "code_img" : {
  77565. "type" : "string",
  77566. "description" : "二维码图片地址,可跳转到实际图片",
  77567. "example" : "https://mobilecodec.alipay.com/show.htm?code=ppx086640jutnzjgx5ghxf7&picSize=M"
  77568. },
  77569. "expire_second" : {
  77570. "type" : "string",
  77571. "description" : "二维码有效时间,单位(秒)。永久码暂时忽略该信息",
  77572. "example" : "1800"
  77573. }
  77574. }
  77575. },
  77576. "AlipayOpenPublicSettingCategoryQueryErrorResponseModel" : {
  77577. "required" : [ "code", "message" ],
  77578. "type" : "object",
  77579. "properties" : {
  77580. "code" : {
  77581. "type" : "string",
  77582. "description" : "错误码",
  77583. "enum" : [ "SYSTEM_ERROR" ]
  77584. },
  77585. "links" : {
  77586. "type" : "string",
  77587. "description" : "解决方案链接"
  77588. },
  77589. "message" : {
  77590. "type" : "string",
  77591. "description" : "错误描述"
  77592. }
  77593. }
  77594. },
  77595. "AlipayOpenPublicSettingCategoryQueryResponseModel" : {
  77596. "type" : "object",
  77597. "properties" : {
  77598. "primary_category" : {
  77599. "type" : "string",
  77600. "description" : "已设置的一级行业分类名称。\t",
  77601. "example" : "电子商务"
  77602. },
  77603. "secondary_category" : {
  77604. "type" : "string",
  77605. "description" : "已设置的二级行业分类名称。",
  77606. "example" : "酒店"
  77607. }
  77608. }
  77609. },
  77610. "AlipayOpenPublicShortlinkCreateErrorResponseModel" : {
  77611. "required" : [ "code", "message" ],
  77612. "type" : "object",
  77613. "properties" : {
  77614. "code" : {
  77615. "type" : "string",
  77616. "description" : "错误码",
  77617. "enum" : [ "PARSE_XML_JSON_ERROR", "PUBLIC_ID_IS_NULL", "SCENE_ID_IS_NULL", "INVALID_SCENE_ID", "APP_NOT_EXIST", "SHORT_LINK_GENERATE_FAIL", "SYSTEM_ERROR" ]
  77618. },
  77619. "links" : {
  77620. "type" : "string",
  77621. "description" : "解决方案链接"
  77622. },
  77623. "message" : {
  77624. "type" : "string",
  77625. "description" : "错误描述"
  77626. }
  77627. }
  77628. },
  77629. "AlipayOpenPublicShortlinkCreateModel" : {
  77630. "type" : "object",
  77631. "properties" : {
  77632. "remark" : {
  77633. "type" : "string",
  77634. "description" : "对于场景 ID 的描述,由商户自定义。",
  77635. "example" : "球房1支付推广"
  77636. },
  77637. "scene_id" : {
  77638. "type" : "string",
  77639. "description" : "短链接对应的场景 ID。由商户自定义,仅支持数字、字母及下划线。",
  77640. "example" : "store_pay_01"
  77641. }
  77642. }
  77643. },
  77644. "AlipayOpenPublicShortlinkCreateResponseModel" : {
  77645. "type" : "object",
  77646. "properties" : {
  77647. "shortlink" : {
  77648. "type" : "string",
  77649. "description" : "生成的带参推广短链接",
  77650. "example" : "http://t.alipay.com/I/Ev62jVRm"
  77651. }
  77652. }
  77653. },
  77654. "AlipayOpenPublicSinglearticleDataBatchqueryErrorResponseModel" : {
  77655. "required" : [ "code", "message" ],
  77656. "type" : "object",
  77657. "properties" : {
  77658. "code" : {
  77659. "type" : "string",
  77660. "description" : "错误码",
  77661. "enum" : [ "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "QUERY_DATE_INVALID" ]
  77662. },
  77663. "links" : {
  77664. "type" : "string",
  77665. "description" : "解决方案链接"
  77666. },
  77667. "message" : {
  77668. "type" : "string",
  77669. "description" : "错误描述"
  77670. }
  77671. }
  77672. },
  77673. "AlipayOpenPublicSinglearticleDataBatchqueryModel" : {
  77674. "type" : "object",
  77675. "properties" : {
  77676. "begin_date" : {
  77677. "type" : "string",
  77678. "description" : "数据开始日期,时间格式为 \"yyyyMMdd\" 。",
  77679. "example" : "20171101"
  77680. },
  77681. "end_date" : {
  77682. "type" : "string",
  77683. "description" : "数据结束日期,时间格式为\"yyyyMMdd\"。查询数据开始日期/结束日期时间跨度最大30天。",
  77684. "example" : "20171108"
  77685. }
  77686. }
  77687. },
  77688. "AlipayOpenPublicSinglearticleDataBatchqueryResponseModel" : {
  77689. "type" : "object",
  77690. "properties" : {
  77691. "data_list" : {
  77692. "type" : "array",
  77693. "description" : "单篇文章分析数据列表",
  77694. "items" : {
  77695. "$ref" : "#/components/schemas/SingleArticleAnalysisData"
  77696. }
  77697. }
  77698. }
  77699. },
  77700. "AlipayOpenPublicTemplateMessageGetErrorResponseModel" : {
  77701. "required" : [ "code", "message" ],
  77702. "type" : "object",
  77703. "properties" : {
  77704. "code" : {
  77705. "type" : "string",
  77706. "description" : "错误码",
  77707. "enum" : [ "TEMPLATE_MESSAGE_ID_INVAILD", "BUSINESS_ERROR", "ILLEGAL_BIZ_PARAMS", "APPINFO_NOT_EXIST", "PUBLIC_NOT_ONLINE", "NEED_SELECT_INDUSTRY", "EXCEED_MAX_TEMPLATE_NUM", "APP_NOT_PUBLICAPP" ]
  77708. },
  77709. "links" : {
  77710. "type" : "string",
  77711. "description" : "解决方案链接"
  77712. },
  77713. "message" : {
  77714. "type" : "string",
  77715. "description" : "错误描述"
  77716. }
  77717. }
  77718. },
  77719. "AlipayOpenPublicTemplateMessageGetResponseModel" : {
  77720. "type" : "object",
  77721. "properties" : {
  77722. "msg_template_id" : {
  77723. "type" : "string",
  77724. "description" : "消息模板id--商户领取母版后生成的唯一模板id",
  77725. "example" : "14330d60f0ab4516853a0900827cee35"
  77726. },
  77727. "template" : {
  77728. "type" : "string",
  77729. "description" : "模板内容",
  77730. "example" : "{\"appId\":\"${ALIPAY.appId}\",\"createTime\":${ALIPAY.createTime},\"toUserId\":\"${ALIPAY.toUserId}\",\"msgType\":\"text\",\"push\":\"true\"}"
  77731. }
  77732. }
  77733. },
  77734. "AlipayOpenPublicTemplateMessageIndustryModifyErrorResponseModel" : {
  77735. "required" : [ "code", "message" ],
  77736. "type" : "object",
  77737. "properties" : {
  77738. "code" : {
  77739. "type" : "string",
  77740. "description" : "错误码",
  77741. "enum" : [ "PUB.ILLEGAL_BIZ_PARAMS", "PUB.BIZ_CONTENT_IS_NULL", "PUB.APPINFO_NOT_EXIST", "PUB.PUBLIC_NOT_ONLINE", "PUB.MODIFY_OVER_LIMIT", "PUB.NEED_DELETE_MSG_TEMPLATES" ]
  77742. },
  77743. "links" : {
  77744. "type" : "string",
  77745. "description" : "解决方案链接"
  77746. },
  77747. "message" : {
  77748. "type" : "string",
  77749. "description" : "错误描述"
  77750. }
  77751. }
  77752. },
  77753. "AlipayOpenPublicTemplateMessageIndustryModifyModel" : {
  77754. "type" : "object",
  77755. "properties" : {
  77756. "primary_industry_code" : {
  77757. "type" : "string",
  77758. "description" : "服务窗消息模板所属主行业一/二级编码,参见 <a href=\"https://alipay.open.taobao.com/doc2/detail?treeId=197&docType=1&articleId=105043\">查看行业信息</a>。",
  77759. "example" : "10001/20102"
  77760. },
  77761. "primary_industry_name" : {
  77762. "type" : "string",
  77763. "description" : "服务窗消息模板所属主行业一/二级名称,参见 <a href=\"https://alipay.open.taobao.com/doc2/detail?treeId=197&docType=1&articleId=105043\">查看行业信息</a>。",
  77764. "example" : "IT科技/IT软件与服务"
  77765. },
  77766. "secondary_industry_code" : {
  77767. "type" : "string",
  77768. "description" : "服务窗消息模板所属副行业一/二级编码,参见 <a href=\"https://alipay.open.taobao.com/doc2/detail?treeId=197&docType=1&articleId=105043\">查看行业信息</a>。",
  77769. "example" : "10001/20102"
  77770. },
  77771. "secondary_industry_name" : {
  77772. "type" : "string",
  77773. "description" : "服务窗消息模板所属副行业一/二级名称,参见 <a href=\"https://alipay.open.taobao.com/doc2/detail?treeId=197&docType=1&articleId=105043\">查看行业信息</a>。",
  77774. "example" : "IT科技/IT软件与服务"
  77775. }
  77776. }
  77777. },
  77778. "AlipayOpenPublicTemplateMessageIndustryModifyResponseModel" : {
  77779. "type" : "object"
  77780. },
  77781. "AlipayOpenPublicTopicBatchqueryErrorResponseModel" : {
  77782. "required" : [ "code", "message" ],
  77783. "type" : "object",
  77784. "properties" : {
  77785. "code" : {
  77786. "type" : "string",
  77787. "description" : "错误码",
  77788. "enum" : [ "SYSTEM_ERROR", "BUSINESS_ERROR" ]
  77789. },
  77790. "links" : {
  77791. "type" : "string",
  77792. "description" : "解决方案链接"
  77793. },
  77794. "message" : {
  77795. "type" : "string",
  77796. "description" : "错误描述"
  77797. }
  77798. }
  77799. },
  77800. "AlipayOpenPublicTopicBatchqueryResponseModel" : {
  77801. "type" : "object",
  77802. "properties" : {
  77803. "topic_list" : {
  77804. "type" : "array",
  77805. "description" : "营销位列表",
  77806. "items" : {
  77807. "$ref" : "#/components/schemas/Topic"
  77808. }
  77809. }
  77810. }
  77811. },
  77812. "AlipayOpenPublicTopicCreateErrorResponseModel" : {
  77813. "required" : [ "code", "message" ],
  77814. "type" : "object",
  77815. "properties" : {
  77816. "code" : {
  77817. "type" : "string",
  77818. "description" : "错误码",
  77819. "enum" : [ "ILLEGAL_BIZ_PARAMS", "TOPIC_SIZE_INVALID", "TOPIC_TITLE_INVALID", "TOPIC_SHOW_IMG_PARAM_INVALID", "TOPIC_SUBTITLE_INVALID", "TOPIC_IMGURL_INVALID", "TOPIC_LINKURL_INVALID", "TOPIC_ITEM_IMGURL_INVALID", "TOPIC_ITEM_LINKURL_INVALID", "TOPIC_ITEM_TITLE_INVALID", "TOPIC_ITEM_SUBTITLE_INVALID", "LIFE_APP_FILE_TOO_LARGE", "PUBLIC_IMG_TYPE_INVALID", "TOPIC_EXISTS", "BUSINESS_ERROR", "SYSTEM_ERROR" ]
  77820. },
  77821. "links" : {
  77822. "type" : "string",
  77823. "description" : "解决方案链接"
  77824. },
  77825. "message" : {
  77826. "type" : "string",
  77827. "description" : "错误描述"
  77828. }
  77829. }
  77830. },
  77831. "AlipayOpenPublicTopicCreateModel" : {
  77832. "type" : "object",
  77833. "properties" : {
  77834. "img_url" : {
  77835. "type" : "string",
  77836. "description" : "营销位图片url, 尺寸为996*450,最大不超过5M,支持格式:.jpg、.png ,请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url。营销位需要展示头图时,必须填写该参数。",
  77837. "example" : "https://oalipay-dl-django.alicdn.com/rest/1.0/image?fileIds=xxx&zoom=xxx"
  77838. },
  77839. "link_type" : {
  77840. "type" : "string",
  77841. "description" : "跳转类型,网页:HTTP、小程序:APP,不传默认HTTP",
  77842. "example" : "HTTP"
  77843. },
  77844. "link_url" : {
  77845. "type" : "string",
  77846. "description" : "营销位跳转地址,点击营销位头图跳到的链接url。营销位需要展示头图时,必须填写该参数。",
  77847. "example" : "https://www.alipay.com"
  77848. },
  77849. "sub_title" : {
  77850. "type" : "string",
  77851. "description" : "营销位描述。营销位需要展示头图时,必须填写该参数。",
  77852. "example" : "营销位描述"
  77853. },
  77854. "title" : {
  77855. "type" : "string",
  77856. "description" : "营销位名称",
  77857. "example" : "营销位名称"
  77858. },
  77859. "topic_items" : {
  77860. "type" : "array",
  77861. "description" : "营销位内容,数量限制:大于4个,小于8个",
  77862. "items" : {
  77863. "$ref" : "#/components/schemas/TopicItem"
  77864. }
  77865. }
  77866. }
  77867. },
  77868. "AlipayOpenPublicTopicCreateResponseModel" : {
  77869. "type" : "object",
  77870. "properties" : {
  77871. "topic_id" : {
  77872. "type" : "string",
  77873. "description" : "营销位id",
  77874. "example" : "123"
  77875. }
  77876. }
  77877. },
  77878. "AlipayOpenPublicTopicDeleteErrorResponseModel" : {
  77879. "required" : [ "code", "message" ],
  77880. "type" : "object",
  77881. "properties" : {
  77882. "code" : {
  77883. "type" : "string",
  77884. "description" : "错误码",
  77885. "enum" : [ "ILLEGAL_BIZ_PARAMS", "TOPIC_ID_INVALID", "TOPIC_NOT_EXISTS", "SYSTEM_ERROR", "BUSINESS_ERROR" ]
  77886. },
  77887. "links" : {
  77888. "type" : "string",
  77889. "description" : "解决方案链接"
  77890. },
  77891. "message" : {
  77892. "type" : "string",
  77893. "description" : "错误描述"
  77894. }
  77895. }
  77896. },
  77897. "AlipayOpenPublicTopicDeleteResponseModel" : {
  77898. "type" : "object"
  77899. },
  77900. "AlipayOpenPublicTopicModifyErrorResponseModel" : {
  77901. "required" : [ "code", "message" ],
  77902. "type" : "object",
  77903. "properties" : {
  77904. "code" : {
  77905. "type" : "string",
  77906. "description" : "错误码",
  77907. "enum" : [ "ILLEGAL_BIZ_PARAMS", "TOPIC_SIZE_INVALID", "TOPIC_TITLE_INVALID", "TOPIC_SHOW_IMG_PARAM_INVALID", "TOPIC_SUBTITLE_INVALID", "TOPIC_IMGURL_INVALID", "TOPIC_LINKURL_INVALID", "TOPIC_ITEM_IMGURL_INVALID", "TOPIC_ITEM_LINKURL_INVALID", "TOPIC_ITEM_TITLE_INVALID", "TOPIC_ITEM_SUBTITLE_INVALID", "LIFE_APP_FILE_TOO_LARGE", "PUBLIC_IMG_TYPE_INVALID", "BUSINESS_ERROR", "SYSTEM_ERROR", "TOPIC_ID_INVALID", "TOPIC_NOT_EXISTS" ]
  77908. },
  77909. "links" : {
  77910. "type" : "string",
  77911. "description" : "解决方案链接"
  77912. },
  77913. "message" : {
  77914. "type" : "string",
  77915. "description" : "错误描述"
  77916. }
  77917. }
  77918. },
  77919. "AlipayOpenPublicTopicModifyModel" : {
  77920. "type" : "object",
  77921. "properties" : {
  77922. "img_url" : {
  77923. "type" : "string",
  77924. "description" : "营销位图片url, 尺寸为996*450,最大不超过5M,支持格式:.jpg、.png ,请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url。营销位需要展示头图时,必须填写该参数。",
  77925. "example" : "https://oalipay-dl-django.alicdn.com/rest/1.0/image?fileIds=xxx&zoom=xxx"
  77926. },
  77927. "link_type" : {
  77928. "type" : "string",
  77929. "description" : "跳转类型,网页:HTTP、小程序:APP,不传默认HTTP",
  77930. "example" : "HTTP"
  77931. },
  77932. "link_url" : {
  77933. "type" : "string",
  77934. "description" : "营销位跳转地址,点击营销位头图跳到的链接url。营销位需要展示头图时,必须填写该参数。",
  77935. "example" : "https://www.alipay.com"
  77936. },
  77937. "sub_title" : {
  77938. "type" : "string",
  77939. "description" : "营销位描述。营销位需要展示头图时,必须填写该参数",
  77940. "example" : "营销位描述"
  77941. },
  77942. "title" : {
  77943. "type" : "string",
  77944. "description" : "营销位名称",
  77945. "example" : "营销位名称"
  77946. },
  77947. "topic_id" : {
  77948. "type" : "string",
  77949. "description" : "营销位id",
  77950. "example" : "123"
  77951. },
  77952. "topic_items" : {
  77953. "$ref" : "#/components/schemas/TopicItem"
  77954. }
  77955. }
  77956. },
  77957. "AlipayOpenPublicTopicModifyResponseModel" : {
  77958. "type" : "object"
  77959. },
  77960. "AlipayOpenPublicUserDataBatchqueryErrorResponseModel" : {
  77961. "required" : [ "code", "message" ],
  77962. "type" : "object",
  77963. "properties" : {
  77964. "code" : {
  77965. "type" : "string",
  77966. "description" : "错误码",
  77967. "enum" : [ "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "QUERY_DATE_INVALID" ]
  77968. },
  77969. "links" : {
  77970. "type" : "string",
  77971. "description" : "解决方案链接"
  77972. },
  77973. "message" : {
  77974. "type" : "string",
  77975. "description" : "错误描述"
  77976. }
  77977. }
  77978. },
  77979. "AlipayOpenPublicUserDataBatchqueryModel" : {
  77980. "type" : "object",
  77981. "properties" : {
  77982. "begin_date" : {
  77983. "type" : "string",
  77984. "description" : "数据开始日期,时间格式为 \"yyyyMMdd\" 。\t",
  77985. "example" : "20171101"
  77986. },
  77987. "end_date" : {
  77988. "type" : "string",
  77989. "description" : "数据结束日期,时间格式为\"yyyyMMdd\"。查询数据开始日期/结束日期时间跨度最大30天。",
  77990. "example" : "20171108"
  77991. }
  77992. }
  77993. },
  77994. "AlipayOpenPublicUserDataBatchqueryResponseModel" : {
  77995. "type" : "object",
  77996. "properties" : {
  77997. "data_list" : {
  77998. "type" : "array",
  77999. "description" : "用户分析数据",
  78000. "items" : {
  78001. "$ref" : "#/components/schemas/UserAnalysisData"
  78002. }
  78003. }
  78004. }
  78005. },
  78006. "AlipayOpenPublicUserFollowQueryErrorResponseModel" : {
  78007. "required" : [ "code", "message" ],
  78008. "type" : "object",
  78009. "properties" : {
  78010. "code" : {
  78011. "type" : "string",
  78012. "description" : "错误码",
  78013. "enum" : [ "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "INVALID_PARAMETER" ]
  78014. },
  78015. "links" : {
  78016. "type" : "string",
  78017. "description" : "解决方案链接"
  78018. },
  78019. "message" : {
  78020. "type" : "string",
  78021. "description" : "错误描述"
  78022. }
  78023. }
  78024. },
  78025. "AlipayOpenPublicUserFollowQueryResponseModel" : {
  78026. "type" : "object",
  78027. "properties" : {
  78028. "is_follow" : {
  78029. "type" : "string",
  78030. "description" : "用户是否关注。枚举值如下:\t*T:代表已关注。\t*F:代表未关注。",
  78031. "example" : "T"
  78032. }
  78033. }
  78034. },
  78035. "AlipayOpenSearchAbilityBatchqueryErrorResponseModel" : {
  78036. "required" : [ "code", "message" ],
  78037. "type" : "object",
  78038. "properties" : {
  78039. "code" : {
  78040. "type" : "string",
  78041. "description" : "错误码",
  78042. "enum" : [ "BIZ_ERROR", "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  78043. },
  78044. "links" : {
  78045. "type" : "string",
  78046. "description" : "解决方案链接"
  78047. },
  78048. "message" : {
  78049. "type" : "string",
  78050. "description" : "错误描述"
  78051. }
  78052. }
  78053. },
  78054. "AlipayOpenSearchAbilityBatchqueryModel" : {
  78055. "type" : "object",
  78056. "properties" : {
  78057. "biz_data" : {
  78058. "$ref" : "#/components/schemas/SearchOperPageQueryRequest"
  78059. },
  78060. "biz_type" : {
  78061. "type" : "string",
  78062. "description" : "表示修改内容的业务类型",
  78063. "example" : "SEARCH_ABILITY_BATCH_QUERY"
  78064. },
  78065. "opt_type" : {
  78066. "type" : "string",
  78067. "description" : "进行具体操作的类型比如:query",
  78068. "example" : "query"
  78069. }
  78070. }
  78071. },
  78072. "AlipayOpenSearchAbilityBatchqueryResponseModel" : {
  78073. "type" : "object",
  78074. "properties" : {
  78075. "data" : {
  78076. "$ref" : "#/components/schemas/AbilityPageQueryDTO"
  78077. }
  78078. }
  78079. },
  78080. "AlipayOpenSearchAppkeywordApplyErrorResponseModel" : {
  78081. "required" : [ "code", "message" ],
  78082. "type" : "object",
  78083. "properties" : {
  78084. "code" : {
  78085. "type" : "string",
  78086. "description" : "错误码",
  78087. "enum" : [ "NO_PERMISSION", "APP_NOT_ONLINE", "MINI_APP_CAN_NOT_SEARCH", "KEYWORDS_EXCEED_MAX_LIMIT", "INVALID_PARAMETER", "SYSTEM_ERROR", "OPERATE_TOO_FAST", "SYSTEM_BUSY" ]
  78088. },
  78089. "links" : {
  78090. "type" : "string",
  78091. "description" : "解决方案链接"
  78092. },
  78093. "message" : {
  78094. "type" : "string",
  78095. "description" : "错误描述"
  78096. }
  78097. }
  78098. },
  78099. "AlipayOpenSearchAppkeywordApplyModel" : {
  78100. "type" : "object",
  78101. "properties" : {
  78102. "config_id" : {
  78103. "type" : "string",
  78104. "description" : "关键词id,(仅修改时传入,修改时仅能传一个关键词)",
  78105. "example" : "20221108000000245181"
  78106. },
  78107. "key_words" : {
  78108. "type" : "array",
  78109. "description" : "提报的关键词",
  78110. "items" : {
  78111. "type" : "string"
  78112. },
  78113. "example" : "[\"关键词1\",\"关键词2\"]"
  78114. },
  78115. "target_appid" : {
  78116. "type" : "string",
  78117. "description" : "小程序id",
  78118. "example" : "2021001120654127"
  78119. }
  78120. }
  78121. },
  78122. "AlipayOpenSearchAppkeywordApplyResponseModel" : {
  78123. "type" : "object",
  78124. "properties" : {
  78125. "apply_no" : {
  78126. "type" : "string",
  78127. "description" : "提报之后的后台审核工单的id",
  78128. "example" : "20220524000000113288"
  78129. }
  78130. }
  78131. },
  78132. "AlipayOpenSearchAppkeywordBatchqueryErrorResponseModel" : {
  78133. "required" : [ "code", "message" ],
  78134. "type" : "object",
  78135. "properties" : {
  78136. "code" : {
  78137. "type" : "string",
  78138. "description" : "错误码",
  78139. "enum" : [ "NO_PERMISSION", "APP_NOT_ONLINE", "MINI_APP_CAN_NOT_SEARCH", "SYSTEM_ERROR", "INVALID_PARAMETER", "OPERATE_TOO_FAST", "SYSTEM_BUSY", "UN_SUPPORT_SEARCH_BOX_STATUS" ]
  78140. },
  78141. "links" : {
  78142. "type" : "string",
  78143. "description" : "解决方案链接"
  78144. },
  78145. "message" : {
  78146. "type" : "string",
  78147. "description" : "错误描述"
  78148. }
  78149. }
  78150. },
  78151. "AlipayOpenSearchAppkeywordBatchqueryResponseModel" : {
  78152. "type" : "object",
  78153. "properties" : {
  78154. "key_word_info" : {
  78155. "type" : "array",
  78156. "description" : "审核通过关键词明细",
  78157. "items" : {
  78158. "$ref" : "#/components/schemas/KeyWordInfo"
  78159. }
  78160. },
  78161. "page_number" : {
  78162. "type" : "integer",
  78163. "description" : "第几页",
  78164. "example" : "1"
  78165. },
  78166. "page_size" : {
  78167. "type" : "integer",
  78168. "description" : "每页条数",
  78169. "example" : "10"
  78170. },
  78171. "total_count" : {
  78172. "type" : "integer",
  78173. "description" : "总条数",
  78174. "example" : "1234"
  78175. },
  78176. "total_page_count" : {
  78177. "type" : "integer",
  78178. "description" : "总页数",
  78179. "example" : "123"
  78180. }
  78181. }
  78182. },
  78183. "AlipayOpenSearchAppkeywordDeleteErrorResponseModel" : {
  78184. "required" : [ "code", "message" ],
  78185. "type" : "object",
  78186. "properties" : {
  78187. "code" : {
  78188. "type" : "string",
  78189. "description" : "错误码",
  78190. "enum" : [ "NO_PERMISSION", "APP_NOT_ONLINE", "MINI_APP_CAN_NOT_SEARCH", "SYSTEM_ERROR", "INVALID_PARAMETER", "INVALID_STATUS", "SYSTEM_BUSY" ]
  78191. },
  78192. "links" : {
  78193. "type" : "string",
  78194. "description" : "解决方案链接"
  78195. },
  78196. "message" : {
  78197. "type" : "string",
  78198. "description" : "错误描述"
  78199. }
  78200. }
  78201. },
  78202. "AlipayOpenSearchAppkeywordDeleteModel" : {
  78203. "type" : "object",
  78204. "properties" : {
  78205. "config_id" : {
  78206. "type" : "string",
  78207. "description" : "关键词配置ID",
  78208. "example" : "20220513000000165607"
  78209. },
  78210. "key_words" : {
  78211. "type" : "array",
  78212. "description" : "需要删除的生效关键词",
  78213. "items" : {
  78214. "type" : "string"
  78215. },
  78216. "example" : "[\"关键词1\",\"关键词2\"]"
  78217. },
  78218. "target_appid" : {
  78219. "type" : "string",
  78220. "description" : "小程序id",
  78221. "example" : "2021001120654127"
  78222. }
  78223. }
  78224. },
  78225. "AlipayOpenSearchAppkeywordDeleteResponseModel" : {
  78226. "type" : "object"
  78227. },
  78228. "AlipayOpenSearchAppkeywordQuerystatusErrorResponseModel" : {
  78229. "required" : [ "code", "message" ],
  78230. "type" : "object",
  78231. "properties" : {
  78232. "code" : {
  78233. "type" : "string",
  78234. "description" : "错误码",
  78235. "enum" : [ "NO_PERMISSION", "APP_NOT_ONLINE", "MINI_APP_CAN_NOT_SEARCH", "SYSTEM_ERROR", "INVALID_PARAMETER", "OPERATE_TOO_FAST", "SYSTEM_BUSY" ]
  78236. },
  78237. "links" : {
  78238. "type" : "string",
  78239. "description" : "解决方案链接"
  78240. },
  78241. "message" : {
  78242. "type" : "string",
  78243. "description" : "错误描述"
  78244. }
  78245. }
  78246. },
  78247. "AlipayOpenSearchAppkeywordQuerystatusResponseModel" : {
  78248. "type" : "object",
  78249. "properties" : {
  78250. "key_words" : {
  78251. "type" : "array",
  78252. "description" : "关键词工单审核状态返回值",
  78253. "items" : {
  78254. "$ref" : "#/components/schemas/KeyWordInfo"
  78255. }
  78256. }
  78257. }
  78258. },
  78259. "AlipayOpenSearchAppkeywordquotaQueryErrorResponseModel" : {
  78260. "required" : [ "code", "message" ],
  78261. "type" : "object",
  78262. "properties" : {
  78263. "code" : {
  78264. "type" : "string",
  78265. "description" : "错误码",
  78266. "enum" : [ "NO_PERMISSION", "APP_NOT_ONLINE", "MINI_APP_CAN_NOT_SEARCH", "SYSTEM_ERROR", "INVALID_PARAMETER", "OPERATE_TOO_FAST", "SYSTEM_BUSY" ]
  78267. },
  78268. "links" : {
  78269. "type" : "string",
  78270. "description" : "解决方案链接"
  78271. },
  78272. "message" : {
  78273. "type" : "string",
  78274. "description" : "错误描述"
  78275. }
  78276. }
  78277. },
  78278. "AlipayOpenSearchAppkeywordquotaQueryResponseModel" : {
  78279. "type" : "object",
  78280. "properties" : {
  78281. "quota_num" : {
  78282. "type" : "string",
  78283. "description" : "剩余可配置额度数量,返回具体数字",
  78284. "example" : "1"
  78285. }
  78286. }
  78287. },
  78288. "AlipayOpenSearchBaseorderModifyErrorResponseModel" : {
  78289. "required" : [ "code", "message" ],
  78290. "type" : "object",
  78291. "properties" : {
  78292. "code" : {
  78293. "type" : "string",
  78294. "description" : "错误码",
  78295. "enum" : [ "BIZ_ERROR", "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY", "NOT_ALLOWED_OPERATE", "SEARCH_KEYWORD_CONFIG_ERROR" ]
  78296. },
  78297. "links" : {
  78298. "type" : "string",
  78299. "description" : "解决方案链接"
  78300. },
  78301. "message" : {
  78302. "type" : "string",
  78303. "description" : "错误描述"
  78304. }
  78305. }
  78306. },
  78307. "AlipayOpenSearchBaseorderModifyModel" : {
  78308. "type" : "object",
  78309. "properties" : {
  78310. "biz_data" : {
  78311. "$ref" : "#/components/schemas/SearchBaseOrderCreateApiRequest"
  78312. },
  78313. "biz_type" : {
  78314. "type" : "string",
  78315. "description" : "表示修改内容的业务类型",
  78316. "example" : "SEARCH_ORDER_CREATE"
  78317. },
  78318. "opt_type" : {
  78319. "type" : "string",
  78320. "description" : "操作的具体类型",
  78321. "example" : "set"
  78322. }
  78323. }
  78324. },
  78325. "AlipayOpenSearchBaseorderModifyResponseModel" : {
  78326. "type" : "object",
  78327. "properties" : {
  78328. "apply_id" : {
  78329. "type" : "string",
  78330. "description" : "工单id",
  78331. "example" : "23343434********"
  78332. }
  78333. }
  78334. },
  78335. "AlipayOpenSearchBoxApplyErrorResponseModel" : {
  78336. "required" : [ "code", "message" ],
  78337. "type" : "object",
  78338. "properties" : {
  78339. "code" : {
  78340. "type" : "string",
  78341. "description" : "错误码",
  78342. "enum" : [ "NO_PERMISSION", "BRAND_HAS_CONFIG_SEARCH_BOX", "APP_HAS_CONFIG_SEARCH_BOX", "INVALID_PARAMETER", "ISV_NOT_AUTH", "RELATED_ACCOUNT_NO_TINY_APP", "SYSTEM_ERROR", "SEARCH_BOX_ACCESS_CHECK_FAIL", "MERCHANT_NOT_EXIST" ]
  78343. },
  78344. "links" : {
  78345. "type" : "string",
  78346. "description" : "解决方案链接"
  78347. },
  78348. "message" : {
  78349. "type" : "string",
  78350. "description" : "错误描述"
  78351. }
  78352. }
  78353. },
  78354. "AlipayOpenSearchBoxApplyModel" : {
  78355. "type" : "object",
  78356. "properties" : {
  78357. "area_keywords" : {
  78358. "type" : "array",
  78359. "description" : "小程序直达配置的常用服务中带有球房信息时,可添加简称触发词",
  78360. "items" : {
  78361. "type" : "string"
  78362. },
  78363. "example" : "[\"简称触发词\"]"
  78364. },
  78365. "box_desc" : {
  78366. "type" : "string",
  78367. "description" : "品牌介绍,5-15个中文字符。\t小程序直达不支持设置此项",
  78368. "example" : "品牌介绍"
  78369. },
  78370. "brand_id" : {
  78371. "type" : "string",
  78372. "description" : "品牌id,参考<a href=\"https://opendocs.alipay.com/rules/029uy4\"> 品牌认证说明 </a>",
  78373. "example" : "1000467882"
  78374. },
  78375. "business_benefit_switch" : {
  78376. "type" : "boolean",
  78377. "description" : "可通过配置来开启商圈权益模块,关闭后搜索直达不展示商圈权益模块",
  78378. "example" : "true"
  78379. },
  78380. "business_district_ids" : {
  78381. "type" : "array",
  78382. "description" : "小程序已关联商圈时,可添加商圈id(目前仅对品牌直达开放,小程序直达暂未开放)",
  78383. "items" : {
  78384. "type" : "string"
  78385. },
  78386. "example" : "[\"商圈id\"]"
  78387. },
  78388. "custom_keywords" : {
  78389. "type" : "array",
  78390. "description" : "自定义触发词,最多可配置6个,限1-8个中文字符。\t小程序直达不支持设置此项",
  78391. "items" : {
  78392. "type" : "string"
  78393. },
  78394. "example" : "[\"自定义触发词\"]"
  78395. },
  78396. "image_id" : {
  78397. "type" : "string",
  78398. "description" : "氛围图片id,调用 <a href=\"https://opendocs.alipay.com/mini/03hvl1?ref=api\">支付宝文件上传接口</a> 上传图片获取图片id(bizCode:search_box_atmosphere)。 <a href=\"https://opendocs.alipay.com/b/03al6f\">图片规范</a> \t小程序直达不支持设置此项。",
  78399. "example" : "A*oZQmT4xTBPUAAAAAAAAAAAAAAQAAAQ"
  78400. },
  78401. "image_name" : {
  78402. "type" : "string",
  78403. "description" : "氛围图片名。\t小程序直达不支持设置此项",
  78404. "example" : "氛围图1"
  78405. },
  78406. "merchant_id" : {
  78407. "type" : "string",
  78408. "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
  78409. "example" : "2088xxxxxxxxxxxx"
  78410. },
  78411. "related_accounts" : {
  78412. "type" : "array",
  78413. "description" : "关联账号信息,1-2个。\t内部字段均需设置。当为品牌直达时,数组中的第1个账号会被设置为\"账号1\",也就是将作为搜索直达专区头部的跳转地址",
  78414. "items" : {
  78415. "$ref" : "#/components/schemas/SearchBoxAppInfo"
  78416. }
  78417. },
  78418. "service_infos" : {
  78419. "type" : "array",
  78420. "description" : "服务信息,服务必须审核通过才能申请搜索直达。品牌直达最多可配置同一品牌认证下的小程序4个,小程序直达最多可配置2个。\t内部字段均需设置。",
  78421. "items" : {
  78422. "$ref" : "#/components/schemas/SearchBoxServiceInfo"
  78423. }
  78424. },
  78425. "target_appid" : {
  78426. "type" : "string",
  78427. "description" : "小程序id,小程序直达时必传,需要和申请的商户主体保持一致,且符合<a href=\"https://opendocs.alipay.com/b/03al6e\"> 准入类目 </a>",
  78428. "example" : "2018092561507369"
  78429. }
  78430. }
  78431. },
  78432. "AlipayOpenSearchBoxApplyResponseModel" : {
  78433. "type" : "object",
  78434. "properties" : {
  78435. "box_id" : {
  78436. "type" : "string",
  78437. "description" : "搜索直达配置id",
  78438. "example" : "20220117000000112680"
  78439. }
  78440. }
  78441. },
  78442. "AlipayOpenSearchBoxBatchqueryErrorResponseModel" : {
  78443. "required" : [ "code", "message" ],
  78444. "type" : "object",
  78445. "properties" : {
  78446. "code" : {
  78447. "type" : "string",
  78448. "description" : "错误码",
  78449. "enum" : [ "INPUT_ARGUMENT_NULL", "INPUT_ARGUMENT_ILLEGAL", "ISV_NOT_AUTH", "NO_PERMISSION", "SYSTEM_ERROR" ]
  78450. },
  78451. "links" : {
  78452. "type" : "string",
  78453. "description" : "解决方案链接"
  78454. },
  78455. "message" : {
  78456. "type" : "string",
  78457. "description" : "错误描述"
  78458. }
  78459. }
  78460. },
  78461. "AlipayOpenSearchBoxBatchqueryModel" : {
  78462. "type" : "object",
  78463. "properties" : {
  78464. "merchant_id" : {
  78465. "type" : "string",
  78466. "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
  78467. "example" : "2088xxxxxxxxxxxx"
  78468. },
  78469. "page_number" : {
  78470. "type" : "integer",
  78471. "description" : "分页查询的当前页号,从1开始",
  78472. "example" : "1"
  78473. },
  78474. "page_size" : {
  78475. "type" : "integer",
  78476. "description" : "每页查询的数量,默认10,不得超过50",
  78477. "example" : "10"
  78478. }
  78479. }
  78480. },
  78481. "AlipayOpenSearchBoxBatchqueryResponseModel" : {
  78482. "type" : "object",
  78483. "properties" : {
  78484. "box_infos" : {
  78485. "type" : "array",
  78486. "description" : "搜索直达基础信息",
  78487. "items" : {
  78488. "$ref" : "#/components/schemas/SearchBoxBasicInfo"
  78489. }
  78490. },
  78491. "page_number" : {
  78492. "type" : "integer",
  78493. "description" : "当前页码",
  78494. "example" : "1"
  78495. },
  78496. "page_size" : {
  78497. "type" : "integer",
  78498. "description" : "每页记录数",
  78499. "example" : "10"
  78500. },
  78501. "total_count" : {
  78502. "type" : "integer",
  78503. "description" : "总记录数",
  78504. "example" : "100"
  78505. },
  78506. "total_page_count" : {
  78507. "type" : "integer",
  78508. "description" : "总页数",
  78509. "example" : "5"
  78510. }
  78511. }
  78512. },
  78513. "AlipayOpenSearchBoxConsultErrorResponseModel" : {
  78514. "required" : [ "code", "message" ],
  78515. "type" : "object",
  78516. "properties" : {
  78517. "code" : {
  78518. "type" : "string",
  78519. "description" : "错误码",
  78520. "enum" : [ "SYSTEM_ERROR", "ISV_NOT_AUTH", "INPUT_ARGUMENT_ILLEGAL" ]
  78521. },
  78522. "links" : {
  78523. "type" : "string",
  78524. "description" : "解决方案链接"
  78525. },
  78526. "message" : {
  78527. "type" : "string",
  78528. "description" : "错误描述"
  78529. }
  78530. }
  78531. },
  78532. "AlipayOpenSearchBoxConsultModel" : {
  78533. "type" : "object",
  78534. "properties" : {
  78535. "area_keywords" : {
  78536. "type" : "string",
  78537. "description" : "小程序直达配置的常用服务中带有球房信息时,可添加简称触发词",
  78538. "example" : "简称触发词"
  78539. },
  78540. "box_desc" : {
  78541. "type" : "string",
  78542. "description" : "品牌介绍,5-15个中文字符。 \t小程序直达不支持设置此项",
  78543. "example" : "品牌介绍"
  78544. },
  78545. "brand_id" : {
  78546. "type" : "string",
  78547. "description" : "品牌id,参考<a href=\"https://opendocs.alipay.com/rules/029uy4\">品牌认证说明</a>",
  78548. "example" : "1000467882"
  78549. },
  78550. "business_benefit_switch" : {
  78551. "type" : "boolean",
  78552. "description" : "可通过配置来开启商圈权益模块,关闭后搜索直达不展示商圈权益模块",
  78553. "example" : "true"
  78554. },
  78555. "business_district_ids" : {
  78556. "type" : "array",
  78557. "description" : "小程序已关联商圈时,可添加商圈id(目前仅对品牌直达开放,小程序直达暂未开放)",
  78558. "items" : {
  78559. "type" : "string"
  78560. },
  78561. "example" : "[\"商圈id\"]"
  78562. },
  78563. "custom_keywords" : {
  78564. "type" : "array",
  78565. "description" : "自定义触发词,最多可配置6个,限1-8个中文字符。 \t小程序直达不支持设置此项",
  78566. "items" : {
  78567. "type" : "string"
  78568. },
  78569. "example" : "[\"自定义触发词\"]"
  78570. },
  78571. "image_id" : {
  78572. "type" : "string",
  78573. "description" : "氛围图片id,调用 <a href=\"https://opendocs.alipay.com/mini/03hvl1?ref=api\">支付宝文件上传接口</a> 上传图片获取图片id(bizCode:search_box_atmosphere)。 <a href=\"https://opendocs.alipay.com/b/03al6f\">图片规范</a> \t小程序直达不支持设置此项。",
  78574. "example" : "A*oZQmT4xTBPUAAAAAAAAAAAAAAQAAAQ"
  78575. },
  78576. "image_name" : {
  78577. "type" : "string",
  78578. "description" : "氛围图片名。 \t小程序直达不支持设置此项",
  78579. "example" : "氛围图1"
  78580. },
  78581. "merchant_id" : {
  78582. "type" : "string",
  78583. "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
  78584. "example" : "2088xxxxxxxxxxxx"
  78585. },
  78586. "related_accounts" : {
  78587. "type" : "array",
  78588. "description" : "关联账号信息,1-2个。 内部字段均需设置。",
  78589. "items" : {
  78590. "$ref" : "#/components/schemas/SearchBoxAppInfo"
  78591. }
  78592. },
  78593. "service_infos" : {
  78594. "type" : "array",
  78595. "description" : "服务信息,服务必须审核通过才能申请搜索直达。 内部字段均需设置。",
  78596. "items" : {
  78597. "$ref" : "#/components/schemas/SearchBoxServiceInfo"
  78598. }
  78599. },
  78600. "target_appid" : {
  78601. "type" : "string",
  78602. "description" : "小程序id,小程序直达时必传,需要和申请的商户主体保持一致,且符合<a href=\"https://opendocs.alipay.com/b/03al6e\">准入类目</a>",
  78603. "example" : "2018092561XXXXXX"
  78604. }
  78605. }
  78606. },
  78607. "AlipayOpenSearchBoxConsultResponseModel" : {
  78608. "type" : "object",
  78609. "properties" : {
  78610. "access" : {
  78611. "type" : "boolean",
  78612. "description" : "是否准入,false代表不准入",
  78613. "example" : "true"
  78614. },
  78615. "not_pass_items" : {
  78616. "type" : "array",
  78617. "description" : "不准入项列表。不准入项用字符串描述,可参照接口文档和<a href=\"https://opendocs.alipay.com/pre-open/0311q3#%E5%87%86%E5%85%A5%E6%9D%A1%E4%BB%B6\">准入条件</a>,进行调整以达到申请要求",
  78618. "items" : {
  78619. "type" : "string"
  78620. },
  78621. "example" : "[\"小程序未设置搜索可见\"]"
  78622. }
  78623. }
  78624. },
  78625. "AlipayOpenSearchBoxModifyErrorResponseModel" : {
  78626. "required" : [ "code", "message" ],
  78627. "type" : "object",
  78628. "properties" : {
  78629. "code" : {
  78630. "type" : "string",
  78631. "description" : "错误码",
  78632. "enum" : [ "INVALID_PARAMETER", "NO_PERMISSION", "SYSTEM_ERROR", "ISV_NOT_AUTH", "RELATED_ACCOUNT_NO_TINY_APP", "STATUS_NOT_ALLOWED_OPERATE", "APP_HAS_CONFIG_SEARCH_BOX", "BUSINESS_DISTRICT_HAS_SEARCH_BOX" ]
  78633. },
  78634. "links" : {
  78635. "type" : "string",
  78636. "description" : "解决方案链接"
  78637. },
  78638. "message" : {
  78639. "type" : "string",
  78640. "description" : "错误描述"
  78641. }
  78642. }
  78643. },
  78644. "AlipayOpenSearchBoxModifyModel" : {
  78645. "type" : "object",
  78646. "properties" : {
  78647. "area_keywords" : {
  78648. "type" : "array",
  78649. "description" : "小程序直达配置的常用服务中带有球房信息时,可添加简称触发词",
  78650. "items" : {
  78651. "type" : "string"
  78652. },
  78653. "example" : "[\"简称触发词\"]"
  78654. },
  78655. "box_desc" : {
  78656. "type" : "string",
  78657. "description" : "品牌介绍,5-15个中文字符。当修改品牌介绍模块(module_type=BOX_EXCLUSIVE_BASE)时传入。\t小程序直达时不支持设置",
  78658. "example" : "品牌介绍"
  78659. },
  78660. "box_id" : {
  78661. "type" : "string",
  78662. "description" : "搜索直达配置id",
  78663. "example" : "20220308000000128693"
  78664. },
  78665. "brand_id" : {
  78666. "type" : "string",
  78667. "description" : "品牌id,参考<a href=\"https://opendocs.alipay.com/rules/029uy4\"> 品牌认证说明 </a>",
  78668. "example" : "1000467882"
  78669. },
  78670. "business_benefit_switch" : {
  78671. "type" : "boolean",
  78672. "description" : "可通过配置来开启商圈权益模块,关闭后搜索直达不展示商圈权益模块",
  78673. "example" : "false"
  78674. },
  78675. "business_district_ids" : {
  78676. "type" : "array",
  78677. "description" : "小程序已关联商圈时,可添加商圈id(目前仅对品牌直达开放,小程序直达暂未开放)",
  78678. "items" : {
  78679. "type" : "string"
  78680. },
  78681. "example" : "[\"商圈id\"]"
  78682. },
  78683. "custom_keywords" : {
  78684. "type" : "string",
  78685. "description" : "自定义关键词,最多可配置6个,限1-8个中文字符。当修改触发词模块时(module_type=BOX_EXCLUSIVE_KEYWORD)传入。\t小程序直达不支持设置",
  78686. "example" : "[\"自定义关键词\"]"
  78687. },
  78688. "image_id" : {
  78689. "type" : "string",
  78690. "description" : "氛围图片id,调用 <a href=\"https://opendocs.alipay.com/mini/03hvl1?ref=api\">支付宝文件上传接口</a> 上传图片获取图片id(bizCode:search_box_atmosphere)。 <a href=\"https://opendocs.alipay.com/b/03al6f\">图片规范</a> \t小程序直达不支持设置此项。",
  78691. "example" : "A*oZQmT4xTBPUAAAAAAAAAAAAAAQAAAQ"
  78692. },
  78693. "image_name" : {
  78694. "type" : "string",
  78695. "description" : "氛围图片名,当修改氛围图模块(module_type=BOX_ATMOSPHERE_IMAGE)时传入。\t小程序直达不支持设置",
  78696. "example" : "搜索直达氛围图1"
  78697. },
  78698. "merchant_id" : {
  78699. "type" : "string",
  78700. "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
  78701. "example" : "2088xxxxxxxxxxxx"
  78702. },
  78703. "module_id" : {
  78704. "type" : "string",
  78705. "description" : "搜索直达模块配置id,新增模块时可不传,更新模块时必传。从alipay.open.search.box.query详情接口查询可获取已存在模块的配置id",
  78706. "example" : "20220308000000168465"
  78707. },
  78708. "module_type" : {
  78709. "type" : "string",
  78710. "description" : "搜索直达模块类型,参考<a href=\"https://opendocs.alipay.com/mini/03fjba#%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E\"> 搜索直达模块说明 </a>。取值范围:BOX_EXCLUSIVE_BASE-品牌介绍/BOX_EXCLUSIVE_KEYWORD-触发词/BOX_EXCLUSIVE_FUNCTIONS-常用服务/BOX_EXCLUSIVE_ACCOUNTS-官方账号/BOX_ATMOSPHERE_IMAGE-氛围图",
  78711. "example" : "BOX_EXCLUSIVE_KEYWORD"
  78712. },
  78713. "related_accounts" : {
  78714. "type" : "array",
  78715. "description" : "关联账号信息,可配置1-2个。传入账号需归属于商家主体。品牌直达修改官方账号(module_type=BOX_EXCLUSIVE_ACCOUNTS)时传入,小程序直达修改常用服务模块时也需传值。\t当为品牌直达时,数组中的第1个账号会被设置为\"账号1\",也就是将作为搜索直达专区头部的跳转地址。",
  78716. "items" : {
  78717. "$ref" : "#/components/schemas/SearchBoxAppInfo"
  78718. }
  78719. },
  78720. "service_infos" : {
  78721. "type" : "array",
  78722. "description" : "服务信息,服务必须审核通过才能申请搜索直达,可配置1-4个。当修改常用服务模块(module_type=BOX_EXCLUSIVE_FUNCTIONS)时传入",
  78723. "items" : {
  78724. "$ref" : "#/components/schemas/SearchBoxServiceInfo"
  78725. }
  78726. },
  78727. "target_appid" : {
  78728. "type" : "string",
  78729. "description" : "小程序id,小程序直达时必传,需要和申请的商户主体保持一致,且符合<a href=\"https://opendocs.alipay.com/b/03al6e\"> 准入类目 </a>",
  78730. "example" : "2018092561507369"
  78731. }
  78732. }
  78733. },
  78734. "AlipayOpenSearchBoxModifyResponseModel" : {
  78735. "type" : "object",
  78736. "properties" : {
  78737. "module_id" : {
  78738. "type" : "string",
  78739. "description" : "搜索直达模块配置id",
  78740. "example" : "20220116000000130147"
  78741. }
  78742. }
  78743. },
  78744. "AlipayOpenSearchBoxOfflineErrorResponseModel" : {
  78745. "required" : [ "code", "message" ],
  78746. "type" : "object",
  78747. "properties" : {
  78748. "code" : {
  78749. "type" : "string",
  78750. "description" : "错误码",
  78751. "enum" : [ "INPUT_ARGUMENT_ILLEGAL", "INPUT_ARGUMENT_NULL", "ISV_NOT_AUTH", "NO_PERMISSION", "RELATED_ACCOUNT_NO_TINY_APP", "SYSTEM_ERROR", "STATUS_NOT_ALLOWED_OPERATE" ]
  78752. },
  78753. "links" : {
  78754. "type" : "string",
  78755. "description" : "解决方案链接"
  78756. },
  78757. "message" : {
  78758. "type" : "string",
  78759. "description" : "错误描述"
  78760. }
  78761. }
  78762. },
  78763. "AlipayOpenSearchBoxOfflineModel" : {
  78764. "type" : "object",
  78765. "properties" : {
  78766. "box_id" : {
  78767. "type" : "string",
  78768. "description" : "搜索直达配置id",
  78769. "example" : "20211130000000100415"
  78770. },
  78771. "merchant_id" : {
  78772. "type" : "string",
  78773. "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
  78774. "example" : "2088xxxxxxxxxxxx"
  78775. }
  78776. }
  78777. },
  78778. "AlipayOpenSearchBoxOfflineResponseModel" : {
  78779. "type" : "object"
  78780. },
  78781. "AlipayOpenSearchBoxOnlineErrorResponseModel" : {
  78782. "required" : [ "code", "message" ],
  78783. "type" : "object",
  78784. "properties" : {
  78785. "code" : {
  78786. "type" : "string",
  78787. "description" : "错误码",
  78788. "enum" : [ "INPUT_ARGUMENT_ILLEGAL", "INPUT_ARGUMENT_NULL", "ISV_NOT_AUTH", "NO_PERMISSION", "RELATED_ACCOUNT_NO_TINY_APP", "SYSTEM_ERROR", "STATUS_NOT_ALLOWED_OPERATE", "BRAND_HAS_CONFIG_SEARCH_BOX", "APP_HAS_CONFIG_SEARCH_BOX", "SEARCH_BOX_ACCESS_CHECK_FAIL" ]
  78789. },
  78790. "links" : {
  78791. "type" : "string",
  78792. "description" : "解决方案链接"
  78793. },
  78794. "message" : {
  78795. "type" : "string",
  78796. "description" : "错误描述"
  78797. }
  78798. }
  78799. },
  78800. "AlipayOpenSearchBoxOnlineModel" : {
  78801. "type" : "object",
  78802. "properties" : {
  78803. "box_id" : {
  78804. "type" : "string",
  78805. "description" : "搜索直达配置id",
  78806. "example" : "20211130000000100415"
  78807. },
  78808. "merchant_id" : {
  78809. "type" : "string",
  78810. "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
  78811. "example" : "2088xxxxxxxxxxxx"
  78812. }
  78813. }
  78814. },
  78815. "AlipayOpenSearchBoxOnlineResponseModel" : {
  78816. "type" : "object"
  78817. },
  78818. "AlipayOpenSearchBoxQueryErrorResponseModel" : {
  78819. "required" : [ "code", "message" ],
  78820. "type" : "object",
  78821. "properties" : {
  78822. "code" : {
  78823. "type" : "string",
  78824. "description" : "错误码",
  78825. "enum" : [ "INVALID_PARAMETER", "NO_PERMISSION", "SYSTEM_ERROR", "ISV_NOT_AUTH", "INPUT_ARGUMENT_ILLEGAL" ]
  78826. },
  78827. "links" : {
  78828. "type" : "string",
  78829. "description" : "解决方案链接"
  78830. },
  78831. "message" : {
  78832. "type" : "string",
  78833. "description" : "错误描述"
  78834. }
  78835. }
  78836. },
  78837. "AlipayOpenSearchBoxQueryResponseModel" : {
  78838. "type" : "object",
  78839. "properties" : {
  78840. "account_module" : {
  78841. "$ref" : "#/components/schemas/SearchBoxAccountModule"
  78842. },
  78843. "area_keyword_module" : {
  78844. "$ref" : "#/components/schemas/SearchBoxAreaKeyWordModule"
  78845. },
  78846. "basic_info_module" : {
  78847. "$ref" : "#/components/schemas/SearchBoxBasicInfoModule"
  78848. },
  78849. "box_id" : {
  78850. "type" : "string",
  78851. "description" : "搜索直达配置id",
  78852. "example" : "20220308000000128693"
  78853. },
  78854. "box_status" : {
  78855. "type" : "string",
  78856. "description" : "搜索直达配置状态,AUDIT-审核中/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架",
  78857. "example" : "ONLINE"
  78858. },
  78859. "business_district_module" : {
  78860. "$ref" : "#/components/schemas/BoxBusinessDistrictModule"
  78861. },
  78862. "default_keywords" : {
  78863. "type" : "array",
  78864. "description" : "搜索直达默认触发词,由系统生成,无法修改",
  78865. "items" : {
  78866. "type" : "string"
  78867. },
  78868. "example" : "[\"默认触发词\"]"
  78869. },
  78870. "keyword_module" : {
  78871. "$ref" : "#/components/schemas/SearchBoxKeyWordModule"
  78872. },
  78873. "latest_audit_image" : {
  78874. "$ref" : "#/components/schemas/SearchBoxImageModule"
  78875. },
  78876. "service_module" : {
  78877. "$ref" : "#/components/schemas/SearchBoxServiceModule"
  78878. },
  78879. "valid_image" : {
  78880. "$ref" : "#/components/schemas/SearchBoxImageModule"
  78881. }
  78882. }
  78883. },
  78884. "AlipayOpenSearchBoxactivityApplyErrorResponseModel" : {
  78885. "required" : [ "code", "message" ],
  78886. "type" : "object",
  78887. "properties" : {
  78888. "code" : {
  78889. "type" : "string",
  78890. "description" : "错误码",
  78891. "enum" : [ "INVALID_PARAMETER", "OVER_ACT_MAX_LIMIT", "INPUT_ARGUMENT_NULL", "APPXPROD_RPC_INVOKE_ERROR", "NO_PERMISSION", "STATUS_NOT_ALLOWED_OPERATE", "DELIVERY_TIME_OVERLAPPING", "SYSTEM_ERROR", "ISV_NOT_AUTH", "INPUT_ARGUMENT_ILLEGAL" ]
  78892. },
  78893. "links" : {
  78894. "type" : "string",
  78895. "description" : "解决方案链接"
  78896. },
  78897. "message" : {
  78898. "type" : "string",
  78899. "description" : "错误描述"
  78900. }
  78901. }
  78902. },
  78903. "AlipayOpenSearchBoxactivityApplyModel" : {
  78904. "type" : "object",
  78905. "properties" : {
  78906. "action_url" : {
  78907. "type" : "string",
  78908. "description" : "活动链接,必须为关联的小程序的页面链接(链接以 alipays 开头),可参考<a href=\"https://opendocs.alipay.com/support/01rb18\"> 小程序scheme链接介绍 </a>",
  78909. "example" : "alipays://platformapi/startapp?appId=2021001198637195&pages/kaq_maid/kaq_maid"
  78910. },
  78911. "background_word" : {
  78912. "type" : "string",
  78913. "description" : "创建banner活动时,可添加底纹推广词,有机会在首页搜索框内展示,提升banner活动曝光机会",
  78914. "example" : "搜索底纹推广词"
  78915. },
  78916. "box_id" : {
  78917. "type" : "string",
  78918. "description" : "搜索直达配置id",
  78919. "example" : "20211130000000100415"
  78920. },
  78921. "end_time" : {
  78922. "type" : "string",
  78923. "description" : "活动结束时间,开始和结束时间之间不得超过90天",
  78924. "example" : "2022-09-30 23:59:59"
  78925. },
  78926. "material_id" : {
  78927. "type" : "string",
  78928. "description" : "当material_type=\"IMAGE\"时,为图片id;当material_type=\"VIDEO\"时,为视频id。小程序直达仅支持图片类型。图片id可以通过调用<a href=\"https://opendocs.alipay.com/mini/03hvl1?ref=api\"> 支付宝文件上传接口 </a>上传图片,获取图片id(bizCode:search_box_banner)。<a href=\"https://opendocs.alipay.com/b/03al6f\"> 图片规范 </a>",
  78929. "example" : "A*oZQmT4xTBPUAAAAAAAAAAAAAAQAAAQ"
  78930. },
  78931. "material_type" : {
  78932. "type" : "string",
  78933. "description" : "IMAGE-图片/VIDEO-视频",
  78934. "example" : "IMAGE"
  78935. },
  78936. "merchant_id" : {
  78937. "type" : "string",
  78938. "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
  78939. "example" : "2088xxxxxxxxxxxx"
  78940. },
  78941. "start_time" : {
  78942. "type" : "string",
  78943. "description" : "活动开始时间,开始和结束时间之间不得超过90天",
  78944. "example" : "2022-02-10 08:00:00"
  78945. },
  78946. "target_appid" : {
  78947. "type" : "string",
  78948. "description" : "跳转应用ID",
  78949. "example" : "2021001191699651"
  78950. },
  78951. "target_appname" : {
  78952. "type" : "string",
  78953. "description" : "跳转小程序名称",
  78954. "example" : "跳转小程序名称"
  78955. },
  78956. "target_regions" : {
  78957. "type" : "array",
  78958. "description" : "投放目标区域列表",
  78959. "items" : {
  78960. "$ref" : "#/components/schemas/DeliveryTargetRegion"
  78961. }
  78962. },
  78963. "title" : {
  78964. "type" : "string",
  78965. "description" : "活动标题",
  78966. "example" : "活动标题"
  78967. },
  78968. "video_info" : {
  78969. "$ref" : "#/components/schemas/SearchBoxActivityVideoInfo"
  78970. }
  78971. }
  78972. },
  78973. "AlipayOpenSearchBoxactivityApplyResponseModel" : {
  78974. "type" : "object",
  78975. "properties" : {
  78976. "box_activity_id" : {
  78977. "type" : "string",
  78978. "description" : "搜索直达活动ID",
  78979. "example" : "20211223000000100000"
  78980. }
  78981. }
  78982. },
  78983. "AlipayOpenSearchBoxactivityBatchqueryErrorResponseModel" : {
  78984. "required" : [ "code", "message" ],
  78985. "type" : "object",
  78986. "properties" : {
  78987. "code" : {
  78988. "type" : "string",
  78989. "description" : "错误码",
  78990. "enum" : [ "INPUT_ARGUMENT_ILLEGAL", "INPUT_ARGUMENT_NULL", "ISV_NOT_AUTH", "NO_PERMISSION", "SYSTEM_ERROR" ]
  78991. },
  78992. "links" : {
  78993. "type" : "string",
  78994. "description" : "解决方案链接"
  78995. },
  78996. "message" : {
  78997. "type" : "string",
  78998. "description" : "错误描述"
  78999. }
  79000. }
  79001. },
  79002. "AlipayOpenSearchBoxactivityBatchqueryModel" : {
  79003. "type" : "object",
  79004. "properties" : {
  79005. "box_id" : {
  79006. "type" : "string",
  79007. "description" : "搜索直达id",
  79008. "example" : "20211130000000100415"
  79009. },
  79010. "merchant_id" : {
  79011. "type" : "string",
  79012. "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
  79013. "example" : "2088xxxxxxxxxxxx"
  79014. },
  79015. "page_number" : {
  79016. "type" : "integer",
  79017. "description" : "分页查询的当前页号,从1开始",
  79018. "example" : "1"
  79019. },
  79020. "page_size" : {
  79021. "type" : "integer",
  79022. "description" : "每页查询的数量,默认10,不超过50",
  79023. "example" : "10"
  79024. }
  79025. }
  79026. },
  79027. "AlipayOpenSearchBoxactivityBatchqueryResponseModel" : {
  79028. "type" : "object",
  79029. "properties" : {
  79030. "models" : {
  79031. "type" : "array",
  79032. "description" : "活动明细列表",
  79033. "items" : {
  79034. "$ref" : "#/components/schemas/SearchBoxActivity"
  79035. }
  79036. },
  79037. "page_number" : {
  79038. "type" : "string",
  79039. "description" : "当前页码",
  79040. "example" : "1"
  79041. },
  79042. "page_size" : {
  79043. "type" : "string",
  79044. "description" : "每页记录数",
  79045. "example" : "10"
  79046. },
  79047. "total_count" : {
  79048. "type" : "integer",
  79049. "description" : "总记录数",
  79050. "example" : "100"
  79051. },
  79052. "total_page_count" : {
  79053. "type" : "integer",
  79054. "description" : "总页数",
  79055. "example" : "5"
  79056. }
  79057. }
  79058. },
  79059. "AlipayOpenSearchBoxactivityModifyErrorResponseModel" : {
  79060. "required" : [ "code", "message" ],
  79061. "type" : "object",
  79062. "properties" : {
  79063. "code" : {
  79064. "type" : "string",
  79065. "description" : "错误码",
  79066. "enum" : [ "INPUT_ARGUMENT_ILLEGAL", "OVER_ACT_MAX_LIMIT", "INPUT_ARGUMENT_NULL", "NO_PERMISSION", "STATUS_NOT_ALLOWED_OPERATE", "DELIVERY_TIME_OVERLAPPING", "SYSTEM_ERROR", "ISV_NOT_AUTH" ]
  79067. },
  79068. "links" : {
  79069. "type" : "string",
  79070. "description" : "解决方案链接"
  79071. },
  79072. "message" : {
  79073. "type" : "string",
  79074. "description" : "错误描述"
  79075. }
  79076. }
  79077. },
  79078. "AlipayOpenSearchBoxactivityModifyModel" : {
  79079. "type" : "object",
  79080. "properties" : {
  79081. "action_url" : {
  79082. "type" : "string",
  79083. "description" : "活动链接,必须为关联的小程序的页面链接(链接以 alipays 开头),可参考<a href=\"https://opendocs.alipay.com/support/01rb18\"> 小程序scheme链接介绍 </a>",
  79084. "example" : "alipays://platformapi/startapp?appId=2021001198637195&pages/kaq_maid/kaq_maid"
  79085. },
  79086. "background_word" : {
  79087. "type" : "string",
  79088. "description" : "创建banner活动时,可添加底纹推广词,有机会在首页搜索框内展示,提升banner活动曝光机会",
  79089. "example" : "搜索底纹推广词"
  79090. },
  79091. "box_activity_id" : {
  79092. "type" : "string",
  79093. "description" : "搜索直达活动id",
  79094. "example" : "20220308000000168465"
  79095. },
  79096. "end_time" : {
  79097. "type" : "string",
  79098. "description" : "活动结束时间,开始时间和结束时间之间不能超过90天",
  79099. "example" : "2022-09-30 23:59:59"
  79100. },
  79101. "material_id" : {
  79102. "type" : "string",
  79103. "description" : "当material_type=\"IMAGE\"时,为图片id;当material_type=\"VIDEO\"时,为视频id。图片id可以通过调用接口alipay.open.file.upload上传图片,获取图片id(bizCode:search_box_banner)。规范详情可查看 <a href=\"https://opendocs.alipay.com/b/03al6f\"> 图片规范 </a>。",
  79104. "example" : "20211206OB020010034807196034"
  79105. },
  79106. "material_type" : {
  79107. "type" : "string",
  79108. "description" : "IMAGE-图片/VIDEO-视频",
  79109. "example" : "IMAGE"
  79110. },
  79111. "merchant_id" : {
  79112. "type" : "string",
  79113. "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
  79114. "example" : "2088xxxxxxxxxxxx"
  79115. },
  79116. "start_time" : {
  79117. "type" : "string",
  79118. "description" : "活动开始时间,开始时间和结束时间之间不能超过90天",
  79119. "example" : "2022-02-10 08:00:00"
  79120. },
  79121. "target_appid" : {
  79122. "type" : "string",
  79123. "description" : "跳转应用ID",
  79124. "example" : "2021001191699651"
  79125. },
  79126. "target_appname" : {
  79127. "type" : "string",
  79128. "description" : "跳转小程序名称",
  79129. "example" : "跳转小程序名称"
  79130. },
  79131. "target_regions" : {
  79132. "type" : "array",
  79133. "description" : "投放目标区域列表",
  79134. "items" : {
  79135. "$ref" : "#/components/schemas/DeliveryTargetRegion"
  79136. }
  79137. },
  79138. "title" : {
  79139. "type" : "string",
  79140. "description" : "活动标题",
  79141. "example" : "活动标题"
  79142. },
  79143. "video_info" : {
  79144. "$ref" : "#/components/schemas/SearchBoxActivityVideoInfo"
  79145. }
  79146. }
  79147. },
  79148. "AlipayOpenSearchBoxactivityModifyResponseModel" : {
  79149. "type" : "object"
  79150. },
  79151. "AlipayOpenSearchBoxactivityOfflineErrorResponseModel" : {
  79152. "required" : [ "code", "message" ],
  79153. "type" : "object",
  79154. "properties" : {
  79155. "code" : {
  79156. "type" : "string",
  79157. "description" : "错误码",
  79158. "enum" : [ "INPUT_ARGUMENT_ILLEGAL", "INPUT_ARGUMENT_NULL", "NO_PERMISSION", "STATUS_NOT_ALLOWED_OPERATE", "SYSTEM_ERROR", "ISV_NOT_AUTH" ]
  79159. },
  79160. "links" : {
  79161. "type" : "string",
  79162. "description" : "解决方案链接"
  79163. },
  79164. "message" : {
  79165. "type" : "string",
  79166. "description" : "错误描述"
  79167. }
  79168. }
  79169. },
  79170. "AlipayOpenSearchBoxactivityOfflineModel" : {
  79171. "type" : "object",
  79172. "properties" : {
  79173. "box_activity_id" : {
  79174. "type" : "string",
  79175. "description" : "搜索直达活动id",
  79176. "example" : "20211223000000100000"
  79177. },
  79178. "merchant_id" : {
  79179. "type" : "string",
  79180. "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
  79181. "example" : "2088xxxxxxxxxxxx"
  79182. }
  79183. }
  79184. },
  79185. "AlipayOpenSearchBoxactivityOfflineResponseModel" : {
  79186. "type" : "object"
  79187. },
  79188. "AlipayOpenSearchBoxactivityQueryErrorResponseModel" : {
  79189. "required" : [ "code", "message" ],
  79190. "type" : "object",
  79191. "properties" : {
  79192. "code" : {
  79193. "type" : "string",
  79194. "description" : "错误码",
  79195. "enum" : [ "INPUT_ARGUMENT_ILLEGAL", "INPUT_ARGUMENT_NULL", "ISV_NOT_AUTH", "NO_PERMISSION", "SYSTEM_ERROR" ]
  79196. },
  79197. "links" : {
  79198. "type" : "string",
  79199. "description" : "解决方案链接"
  79200. },
  79201. "message" : {
  79202. "type" : "string",
  79203. "description" : "错误描述"
  79204. }
  79205. }
  79206. },
  79207. "AlipayOpenSearchBoxactivityQueryResponseModel" : {
  79208. "type" : "object",
  79209. "properties" : {
  79210. "background_word" : {
  79211. "type" : "string",
  79212. "description" : "底纹词",
  79213. "example" : "底纹词"
  79214. },
  79215. "background_word_info" : {
  79216. "$ref" : "#/components/schemas/BackgroundWordInfo"
  79217. },
  79218. "box_activity_id" : {
  79219. "type" : "string",
  79220. "description" : "搜索直达活动id",
  79221. "example" : "20211223000000100000"
  79222. },
  79223. "box_id" : {
  79224. "type" : "string",
  79225. "description" : "搜索直达id",
  79226. "example" : "20211130000000100415"
  79227. },
  79228. "end_time" : {
  79229. "type" : "string",
  79230. "description" : "活动结束时间",
  79231. "example" : "2022-09-30 23:59:59"
  79232. },
  79233. "fail_reason" : {
  79234. "type" : "string",
  79235. "description" : "审核失败原因",
  79236. "example" : "审核失败原因"
  79237. },
  79238. "gmt_modified" : {
  79239. "type" : "string",
  79240. "description" : "更新时间",
  79241. "example" : "2022-02-10 08:00:00"
  79242. },
  79243. "material_type" : {
  79244. "type" : "string",
  79245. "description" : "IMAGE-图片/VIDEO-视频",
  79246. "example" : "IMAGE"
  79247. },
  79248. "material_url" : {
  79249. "type" : "string",
  79250. "description" : "当material_type=\"IMAGE\"时,为图片url;当material_type=\"VIDEO\"时,为视频url",
  79251. "example" : "http://mdn.alipayobjects.com/mrch_spc/afts/img/A*0XA2Qo_omj4AAAAAAAAAAAAADsF1AQ/original"
  79252. },
  79253. "run_status" : {
  79254. "type" : "string",
  79255. "description" : "运行状态,INITIAL-初始/ONLINE-已上架/EXPIRE-已失效/OFFLINE-已下架",
  79256. "example" : "ONLINE"
  79257. },
  79258. "start_time" : {
  79259. "type" : "string",
  79260. "description" : "活动开始时间",
  79261. "example" : "2022-02-10 08:00:00"
  79262. },
  79263. "status" : {
  79264. "type" : "string",
  79265. "description" : "配置状态,INITIAL-初始/AUDIT-审核中/CANCEL-已取消/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架/EXPIRE-已失效",
  79266. "example" : "AUDIT"
  79267. },
  79268. "target_appid" : {
  79269. "type" : "string",
  79270. "description" : "跳转应用ID",
  79271. "example" : "2021001191699651"
  79272. },
  79273. "target_appname" : {
  79274. "type" : "string",
  79275. "description" : "目标小程序名",
  79276. "example" : "目标小程序名"
  79277. },
  79278. "target_regions" : {
  79279. "type" : "array",
  79280. "description" : "投放目标区域",
  79281. "items" : {
  79282. "$ref" : "#/components/schemas/DeliveryTargetRegion"
  79283. }
  79284. },
  79285. "title" : {
  79286. "type" : "string",
  79287. "description" : "活动标题",
  79288. "example" : "活动标题"
  79289. },
  79290. "video_info" : {
  79291. "$ref" : "#/components/schemas/SearchBoxActivityVideoInfo"
  79292. }
  79293. }
  79294. },
  79295. "AlipayOpenSearchOrderdetailQueryErrorResponseModel" : {
  79296. "required" : [ "code", "message" ],
  79297. "type" : "object",
  79298. "properties" : {
  79299. "code" : {
  79300. "type" : "string",
  79301. "description" : "错误码",
  79302. "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER" ]
  79303. },
  79304. "links" : {
  79305. "type" : "string",
  79306. "description" : "解决方案链接"
  79307. },
  79308. "message" : {
  79309. "type" : "string",
  79310. "description" : "错误描述"
  79311. }
  79312. }
  79313. },
  79314. "AlipayOpenSearchOrderdetailQueryModel" : {
  79315. "type" : "object",
  79316. "properties" : {
  79317. "biz_data" : {
  79318. "$ref" : "#/components/schemas/SearchOrderRequest"
  79319. },
  79320. "biz_type" : {
  79321. "type" : "string",
  79322. "description" : "表示修改内容的业务类型",
  79323. "example" : "SEARCH_ORDER_DETAIL_QUERY"
  79324. },
  79325. "opt_type" : {
  79326. "type" : "string",
  79327. "description" : "进行具体操作的类型比如:create、mod、cancel",
  79328. "example" : "query"
  79329. }
  79330. }
  79331. },
  79332. "AlipayOpenSearchOrderdetailQueryResponseModel" : {
  79333. "type" : "object",
  79334. "properties" : {
  79335. "data" : {
  79336. "$ref" : "#/components/schemas/SearchOrderDetailData"
  79337. }
  79338. }
  79339. },
  79340. "AlipayOpenSearchServiceorderBatchqueryErrorResponseModel" : {
  79341. "required" : [ "code", "message" ],
  79342. "type" : "object",
  79343. "properties" : {
  79344. "code" : {
  79345. "type" : "string",
  79346. "description" : "错误码",
  79347. "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER" ]
  79348. },
  79349. "links" : {
  79350. "type" : "string",
  79351. "description" : "解决方案链接"
  79352. },
  79353. "message" : {
  79354. "type" : "string",
  79355. "description" : "错误描述"
  79356. }
  79357. }
  79358. },
  79359. "AlipayOpenSearchServiceorderBatchqueryModel" : {
  79360. "type" : "object",
  79361. "properties" : {
  79362. "biz_data" : {
  79363. "$ref" : "#/components/schemas/SearchApplyPageQueryRequest"
  79364. },
  79365. "biz_type" : {
  79366. "type" : "string",
  79367. "description" : "表示查询内容的类型",
  79368. "example" : "SEARCH_ORDER_BATCH_QUERY"
  79369. },
  79370. "opt_type" : {
  79371. "type" : "string",
  79372. "description" : "操作的类型,如query",
  79373. "example" : "query"
  79374. }
  79375. }
  79376. },
  79377. "AlipayOpenSearchServiceorderBatchqueryResponseModel" : {
  79378. "type" : "object",
  79379. "properties" : {
  79380. "data" : {
  79381. "$ref" : "#/components/schemas/OrderPageQueryDTO"
  79382. }
  79383. }
  79384. },
  79385. "AlipayOpenSearchSubservicekeywordApplyErrorResponseModel" : {
  79386. "required" : [ "code", "message" ],
  79387. "type" : "object",
  79388. "properties" : {
  79389. "code" : {
  79390. "type" : "string",
  79391. "description" : "错误码",
  79392. "enum" : [ "APP_NOT_ONLINE", "APP_NOT_SEARCH_VISIBLE", "INVALID_PARAMETER", "KEYWORDS_EXCEED_MAX_LIMIT", "SYSTEM_ERROR", "APP_NOT_EXSIT", "INVALID_STATUS", "SYSTEM_BUSY", "SUB_SERVICE_CAN_NOT_SEARCH" ]
  79393. },
  79394. "links" : {
  79395. "type" : "string",
  79396. "description" : "解决方案链接"
  79397. },
  79398. "message" : {
  79399. "type" : "string",
  79400. "description" : "错误描述"
  79401. }
  79402. }
  79403. },
  79404. "AlipayOpenSearchSubservicekeywordApplyModel" : {
  79405. "type" : "object",
  79406. "properties" : {
  79407. "config_id" : {
  79408. "type" : "string",
  79409. "description" : "关键词id,(仅修改时传入,修改时仅能传一个关键词)",
  79410. "example" : "20221108000000245181"
  79411. },
  79412. "key_words" : {
  79413. "type" : "array",
  79414. "description" : "关键词,提报服务关键词,人工录入",
  79415. "items" : {
  79416. "type" : "string"
  79417. },
  79418. "example" : "[\"a\",\"b\"]"
  79419. },
  79420. "sub_service_code" : {
  79421. "type" : "string",
  79422. "description" : "子服务code,提报服务关键词,alipay.open.app.service.list.query(服务批量查询)这个接口可以获取",
  79423. "example" : "2020071621000604578858"
  79424. },
  79425. "target_appid" : {
  79426. "type" : "string",
  79427. "description" : "小程序id",
  79428. "example" : "2021001112626071"
  79429. }
  79430. }
  79431. },
  79432. "AlipayOpenSearchSubservicekeywordApplyResponseModel" : {
  79433. "type" : "object",
  79434. "properties" : {
  79435. "apply_no" : {
  79436. "type" : "string",
  79437. "description" : "审核工单id,唯一,提报服务关键词,提报服务关键词返回该id",
  79438. "example" : "20220524000000113287"
  79439. }
  79440. }
  79441. },
  79442. "AlipayOpenSearchSubservicekeywordBatchqueryErrorResponseModel" : {
  79443. "required" : [ "code", "message" ],
  79444. "type" : "object",
  79445. "properties" : {
  79446. "code" : {
  79447. "type" : "string",
  79448. "description" : "错误码",
  79449. "enum" : [ "UN_SUPPORT_SEARCH_BOX_STATUS", "NO_PERMISSION", "INVALID_PARAMETER", "SYSTEM_ERROR", "SYSTEM_BUSY" ]
  79450. },
  79451. "links" : {
  79452. "type" : "string",
  79453. "description" : "解决方案链接"
  79454. },
  79455. "message" : {
  79456. "type" : "string",
  79457. "description" : "错误描述"
  79458. }
  79459. }
  79460. },
  79461. "AlipayOpenSearchSubservicekeywordBatchqueryResponseModel" : {
  79462. "type" : "object",
  79463. "properties" : {
  79464. "page_number" : {
  79465. "type" : "integer",
  79466. "description" : "第几页",
  79467. "example" : "1"
  79468. },
  79469. "page_size" : {
  79470. "type" : "integer",
  79471. "description" : "每页条数",
  79472. "example" : "2"
  79473. },
  79474. "subservice_keyword_info" : {
  79475. "type" : "array",
  79476. "description" : "关键词明细",
  79477. "items" : {
  79478. "$ref" : "#/components/schemas/SubServiceKeyWordInfo"
  79479. }
  79480. },
  79481. "total_count" : {
  79482. "type" : "integer",
  79483. "description" : "总条数",
  79484. "example" : "12"
  79485. },
  79486. "total_page_count" : {
  79487. "type" : "integer",
  79488. "description" : "总页数",
  79489. "example" : "6"
  79490. }
  79491. }
  79492. },
  79493. "AlipayOpenSearchSubservicekeywordDeleteErrorResponseModel" : {
  79494. "required" : [ "code", "message" ],
  79495. "type" : "object",
  79496. "properties" : {
  79497. "code" : {
  79498. "type" : "string",
  79499. "description" : "错误码",
  79500. "enum" : [ "NO_PERMISSION", "APP_NOT_ONLINE", "MINI_APP_CAN_NOT_SEARCH", "SYSTEM_ERROR", "INVALID_PARAMETER", "OPERATE_TOO_FAST", "INVALID_STATUS", "SYSTEM_BUSY" ]
  79501. },
  79502. "links" : {
  79503. "type" : "string",
  79504. "description" : "解决方案链接"
  79505. },
  79506. "message" : {
  79507. "type" : "string",
  79508. "description" : "错误描述"
  79509. }
  79510. }
  79511. },
  79512. "AlipayOpenSearchSubservicekeywordDeleteModel" : {
  79513. "type" : "object",
  79514. "properties" : {
  79515. "config_id" : {
  79516. "type" : "string",
  79517. "description" : "关键词配置ID",
  79518. "example" : "20220513000000165607"
  79519. },
  79520. "target_appid" : {
  79521. "type" : "string",
  79522. "description" : "小程序id",
  79523. "example" : "2021001112626071"
  79524. }
  79525. }
  79526. },
  79527. "AlipayOpenSearchSubservicekeywordDeleteResponseModel" : {
  79528. "type" : "object"
  79529. },
  79530. "AlipayOpenSearchSubservicekeywordQuerystatusErrorResponseModel" : {
  79531. "required" : [ "code", "message" ],
  79532. "type" : "object",
  79533. "properties" : {
  79534. "code" : {
  79535. "type" : "string",
  79536. "description" : "错误码",
  79537. "enum" : [ "NO_PERMISSION", "APP_NOT_ONLINE", "MINI_APP_CAN_NOT_SEARCH", "SYSTEM_ERROR", "INVALID_PARAMETER", "OPERATE_TOO_FAST", "SYSTEM_BUSY" ]
  79538. },
  79539. "links" : {
  79540. "type" : "string",
  79541. "description" : "解决方案链接"
  79542. },
  79543. "message" : {
  79544. "type" : "string",
  79545. "description" : "错误描述"
  79546. }
  79547. }
  79548. },
  79549. "AlipayOpenSearchSubservicekeywordQuerystatusResponseModel" : {
  79550. "type" : "object",
  79551. "properties" : {
  79552. "key_words" : {
  79553. "type" : "array",
  79554. "description" : "关键词工单审核状态返回值",
  79555. "items" : {
  79556. "$ref" : "#/components/schemas/KeyWordInfo"
  79557. }
  79558. }
  79559. }
  79560. },
  79561. "AlipayOpenServicemarketCommodityShopOfflineErrorResponseModel" : {
  79562. "required" : [ "code", "message" ],
  79563. "type" : "object",
  79564. "properties" : {
  79565. "code" : {
  79566. "type" : "string",
  79567. "description" : "错误码",
  79568. "enum" : [ "PARAMS_ERROR", "NO_PERMISSION_OFFLINE_SHOP", "COMMODITY_SHOP_NOT_EXIST", "SYSTEM_ERROR", "SHOP_STATUS_NOT_SUPPORT" ]
  79569. },
  79570. "links" : {
  79571. "type" : "string",
  79572. "description" : "解决方案链接"
  79573. },
  79574. "message" : {
  79575. "type" : "string",
  79576. "description" : "错误描述"
  79577. }
  79578. }
  79579. },
  79580. "AlipayOpenServicemarketCommodityShopOfflineModel" : {
  79581. "type" : "object",
  79582. "properties" : {
  79583. "commodity_id" : {
  79584. "type" : "string",
  79585. "description" : "服务商户ID",
  79586. "example" : "20160010200000000033400"
  79587. },
  79588. "shop_id" : {
  79589. "type" : "string",
  79590. "description" : "球房ID",
  79591. "example" : "2015052000077000000000182140"
  79592. }
  79593. }
  79594. },
  79595. "AlipayOpenServicemarketCommodityShopOfflineResponseModel" : {
  79596. "type" : "object"
  79597. },
  79598. "AlipayOpenServicemarketCommodityShopOnlineErrorResponseModel" : {
  79599. "required" : [ "code", "message" ],
  79600. "type" : "object",
  79601. "properties" : {
  79602. "code" : {
  79603. "type" : "string",
  79604. "description" : "错误码",
  79605. "enum" : [ "NO_PERMISSION_ONLINE_SHOP", "SHOP_TYPE_ALREADY_ONLINE", "COMMODITY_SHOP_NOT_EXIST", "PARAMS_ERROR" ]
  79606. },
  79607. "links" : {
  79608. "type" : "string",
  79609. "description" : "解决方案链接"
  79610. },
  79611. "message" : {
  79612. "type" : "string",
  79613. "description" : "错误描述"
  79614. }
  79615. }
  79616. },
  79617. "AlipayOpenServicemarketCommodityShopOnlineModel" : {
  79618. "type" : "object",
  79619. "properties" : {
  79620. "commodity_id" : {
  79621. "type" : "string",
  79622. "description" : "服务插件ID",
  79623. "example" : "201511020002630060"
  79624. },
  79625. "shop_id" : {
  79626. "type" : "string",
  79627. "description" : "店铺ID",
  79628. "example" : "2015052000077000000000182140"
  79629. }
  79630. }
  79631. },
  79632. "AlipayOpenServicemarketCommodityShopOnlineResponseModel" : {
  79633. "type" : "object"
  79634. },
  79635. "AlipayOpenServicemarketOrderAcceptErrorResponseModel" : {
  79636. "required" : [ "code", "message" ],
  79637. "type" : "object",
  79638. "properties" : {
  79639. "code" : {
  79640. "type" : "string",
  79641. "description" : "错误码",
  79642. "enum" : [ "NO_PERMISSION_ACCETP_ORDER", "COMMODITY_ORDER_STATUS_INVALID", "ORDER_NOT_EXIST", "PARAMS_ERROR" ]
  79643. },
  79644. "links" : {
  79645. "type" : "string",
  79646. "description" : "解决方案链接"
  79647. },
  79648. "message" : {
  79649. "type" : "string",
  79650. "description" : "错误描述"
  79651. }
  79652. }
  79653. },
  79654. "AlipayOpenServicemarketOrderAcceptModel" : {
  79655. "type" : "object",
  79656. "properties" : {
  79657. "commodity_order_id" : {
  79658. "type" : "string",
  79659. "description" : "服务商品订单ID",
  79660. "example" : "201604060043410106"
  79661. }
  79662. }
  79663. },
  79664. "AlipayOpenServicemarketOrderAcceptResponseModel" : {
  79665. "type" : "object"
  79666. },
  79667. "AlipayOpenServicemarketOrderCreateErrorResponseModel" : {
  79668. "required" : [ "code", "message" ],
  79669. "type" : "object",
  79670. "properties" : {
  79671. "code" : {
  79672. "type" : "string",
  79673. "description" : "错误码",
  79674. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR", "AGENT_AUTH_FAIL", "NOT_SUPPORT_ORDER_BY_OPENAPI", "USER_INVALID_STATUS", "USER_NOT_EXIST", "SIGN_AGREEMENT_FAILED", "MINI_APP_NAME_DUPLICATE", "ENGLISH_NAME_IS_BLANK", "INVALID_MINI_APP_EN_NAME", "MINI_APP_NAME_SENSITIVE", "INVALID_MINI_APP_EN_NAME_LENGTH", "APP_NAME_IS_BLANK", "INVALID_MINI_APP_NAME", "INVALID_MINI_APP_NAME_LENGTH", "CREATE_MINI_APP_EXCEED_MAX_COUNT", "INVALID_CATEGORY", "RISK_DECISION_CHECK_FAIL", "BLACK_LIST_CHECK_FAIL", "MINI_APP_EN_NAME_SENSITIVE", "MINI_APP_SLOGAN_SENSITIVE", "MINI_APP_DESC_SENSITIVE", "MINI_APP_SERVICE_MAIL_SENSITIVE", "CREATE_MINI_APP_PID_PUNISH", "MINI_APP_EN_NAME_DUPLICATE", "APP_ID_EXIST", "APP_ID_ILLEGAL", "INVALID_MINI_APP_DESC_LENGTH", "RISK_DECISION_HIT_BRAND", "INVALID_MINI_APP_SLOGAN_LENGTH" ]
  79675. },
  79676. "links" : {
  79677. "type" : "string",
  79678. "description" : "解决方案链接"
  79679. },
  79680. "message" : {
  79681. "type" : "string",
  79682. "description" : "错误描述"
  79683. }
  79684. }
  79685. },
  79686. "AlipayOpenServicemarketOrderCreateModel" : {
  79687. "type" : "object",
  79688. "properties" : {
  79689. "app_category_ids" : {
  79690. "type" : "string",
  79691. "description" : "11_12;12_13。小程序类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目,详细类目可以参考https://docs.alipay.com/isv/10325",
  79692. "example" : "107397_107223"
  79693. },
  79694. "app_desc" : {
  79695. "type" : "string",
  79696. "description" : "小程序官方示例Demo,展示已支持的接口能力及组件。",
  79697. "example" : "小程序应用描述"
  79698. },
  79699. "app_english_name" : {
  79700. "type" : "string",
  79701. "description" : "小程序应用英文名称",
  79702. "example" : "demoexample"
  79703. },
  79704. "app_name" : {
  79705. "type" : "string",
  79706. "description" : "小程序应用名称",
  79707. "example" : "小程序示例"
  79708. },
  79709. "app_origin" : {
  79710. "type" : "string",
  79711. "description" : "来源的业务方,需要申请",
  79712. "example" : "AA"
  79713. },
  79714. "app_slogan" : {
  79715. "type" : "string",
  79716. "description" : "小程序应用简介,一句话描述小程序功能",
  79717. "example" : "提供小程序示例功能"
  79718. },
  79719. "market_code" : {
  79720. "type" : "string",
  79721. "description" : "订购的服务商品ID所在的市场编码。新接入场景必须传递,具体值请联系产品分配。",
  79722. "example" : "SERVICE_MAEKET"
  79723. },
  79724. "merchandise_id" : {
  79725. "type" : "string",
  79726. "description" : "订购的服务商品ID",
  79727. "example" : "I1060100001000050361"
  79728. },
  79729. "merchant_pid" : {
  79730. "type" : "string",
  79731. "description" : "商户PID",
  79732. "example" : "2088101118588888"
  79733. },
  79734. "mini_app_id" : {
  79735. "type" : "string",
  79736. "description" : "一二方支持传入appId",
  79737. "example" : "123123"
  79738. },
  79739. "mini_category_ids" : {
  79740. "type" : "string",
  79741. "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query接口查询mini_category_list,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。使用后不再读取app_category_ids值,老前台类目将废弃",
  79742. "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
  79743. },
  79744. "out_biz_no" : {
  79745. "type" : "string",
  79746. "description" : "比如某种业务标准外部订单号,比如交易外部订单号,代表商户端自己订单号",
  79747. "example" : "2018072600000015692246"
  79748. },
  79749. "service_email" : {
  79750. "type" : "string",
  79751. "description" : "小程序客服邮箱",
  79752. "example" : "example@mail.com"
  79753. },
  79754. "service_phone" : {
  79755. "type" : "string",
  79756. "description" : "小程序客服电话",
  79757. "example" : "13110101010"
  79758. }
  79759. }
  79760. },
  79761. "AlipayOpenServicemarketOrderCreateResponseModel" : {
  79762. "type" : "object",
  79763. "properties" : {
  79764. "commodity_order_id" : {
  79765. "type" : "string",
  79766. "description" : "订单号",
  79767. "example" : "2018071900000015585789"
  79768. },
  79769. "mini_app_id" : {
  79770. "type" : "string",
  79771. "description" : "支付宝分配给开发者的应用ID",
  79772. "example" : "2014072300007148"
  79773. }
  79774. }
  79775. },
  79776. "AlipayOpenServicemarketOrderItemCancelErrorResponseModel" : {
  79777. "required" : [ "code", "message" ],
  79778. "type" : "object",
  79779. "properties" : {
  79780. "code" : {
  79781. "type" : "string",
  79782. "description" : "错误码",
  79783. "enum" : [ "PARAMS_ERROR", "NO_PERMISSION_CANCEL_ORDER_ITEM", "COMMODITY_ORDER_ITEM_NOT_EXIST", "ITEM_STATUS_NOT_ALLOW" ]
  79784. },
  79785. "links" : {
  79786. "type" : "string",
  79787. "description" : "解决方案链接"
  79788. },
  79789. "message" : {
  79790. "type" : "string",
  79791. "description" : "错误描述"
  79792. }
  79793. }
  79794. },
  79795. "AlipayOpenServicemarketOrderItemCancelModel" : {
  79796. "type" : "object",
  79797. "properties" : {
  79798. "cancel_reason" : {
  79799. "type" : "string",
  79800. "description" : "当前球房区域不支持实施",
  79801. "example" : "该球房暂无法实施完成"
  79802. },
  79803. "commodity_order_id" : {
  79804. "type" : "string",
  79805. "description" : "订购服务订单ID,通过支付宝发送的 https://opendocs.alipay.com/apis/api_3/alipay.open.servicemarket.order.notify(服务市场商户确认订购通知) 通知获取。",
  79806. "example" : "20160010200000000033400"
  79807. },
  79808. "mini_app_id" : {
  79809. "type" : "string",
  79810. "description" : "商家订购服务选择的某一小程序的APPID,如果该订单为蚂蚁服务市场发布的小程序插件服务所产生的订单,则此字段必填",
  79811. "example" : "2017121800945174"
  79812. },
  79813. "shop_id" : {
  79814. "type" : "string",
  79815. "description" : "商家订购服务选择的某一球房的ID。若该订单: \t为支付宝服务市场发布的服务所产生订单则该参数可选。 \t为口碑服务市场发布的服务所产生的订单,则此字段必填。口碑服务市场参见 http://fuwu.koubei.com/commodity/v2/merchandise/index.htm。",
  79816. "example" : "2015052000077000000000182140"
  79817. }
  79818. }
  79819. },
  79820. "AlipayOpenServicemarketOrderItemCancelResponseModel" : {
  79821. "type" : "object"
  79822. },
  79823. "AlipayOpenServicemarketOrderItemCompleteErrorResponseModel" : {
  79824. "required" : [ "code", "message" ],
  79825. "type" : "object",
  79826. "properties" : {
  79827. "code" : {
  79828. "type" : "string",
  79829. "description" : "错误码",
  79830. "enum" : [ "PARAMS_ERROR", "NO_PERMISSION_OPERATION", "COMMODITY_ORDER_ITEM_NOT_EXIST", "ITEM_STATUS_NOT_ALLOW", "SYSTEM_ERROR" ]
  79831. },
  79832. "links" : {
  79833. "type" : "string",
  79834. "description" : "解决方案链接"
  79835. },
  79836. "message" : {
  79837. "type" : "string",
  79838. "description" : "错误描述"
  79839. }
  79840. }
  79841. },
  79842. "AlipayOpenServicemarketOrderItemCompleteModel" : {
  79843. "type" : "object",
  79844. "properties" : {
  79845. "commodity_order_id" : {
  79846. "type" : "string",
  79847. "description" : "订购服务插件订单号",
  79848. "example" : "20160010200000000033400"
  79849. },
  79850. "mini_app_id" : {
  79851. "type" : "string",
  79852. "description" : "商家订购服务选择的某一小程序的APPID,如果该订单为蚂蚁服务市场发布的小程序插件服务所产生的订单,则此字段必填",
  79853. "example" : "2017121800945174"
  79854. },
  79855. "shop_id" : {
  79856. "type" : "string",
  79857. "description" : "商家订购服务选择的某一球房的ID。若该订单:\t为支付宝服务市场发布的服务所产生订单则该参数可选。\t为口碑服务市场发布的服务所产生的订单,则此字段必填。口碑服务市场参见 http://fuwu.koubei.com/commodity/v2/merchandise/index.htm。",
  79858. "example" : "2015052000077000000000182140"
  79859. }
  79860. }
  79861. },
  79862. "AlipayOpenServicemarketOrderItemCompleteResponseModel" : {
  79863. "type" : "object"
  79864. },
  79865. "AlipayOpenServicemarketOrderItemConfirmErrorResponseModel" : {
  79866. "required" : [ "code", "message" ],
  79867. "type" : "object",
  79868. "properties" : {
  79869. "code" : {
  79870. "type" : "string",
  79871. "description" : "错误码",
  79872. "enum" : [ "NO_PERMISSION_COMFIRM_ORDERITEM", "ITEM_STATUS_NOT_ALLOW", "COMMODITY_ORDER_ITEM_NOT_EXIST", "PARAMS_ERROR", "SYSTEM_ERROR", "CONFIRM_CHARGE_ITEM_NOT_ALLOW" ]
  79873. },
  79874. "links" : {
  79875. "type" : "string",
  79876. "description" : "解决方案链接"
  79877. },
  79878. "message" : {
  79879. "type" : "string",
  79880. "description" : "错误描述"
  79881. }
  79882. }
  79883. },
  79884. "AlipayOpenServicemarketOrderItemConfirmModel" : {
  79885. "type" : "object",
  79886. "properties" : {
  79887. "commodity_order_id" : {
  79888. "type" : "string",
  79889. "description" : "订购服务插件订单号",
  79890. "example" : "20160010200000000033400"
  79891. },
  79892. "mini_app_id" : {
  79893. "type" : "string",
  79894. "description" : "商家订购服务选择的某一小程序的APPID,如果该订单为蚂蚁服务市场发布的小程序插件服务所产生的订单,则此字段必填",
  79895. "example" : "2017121800945174"
  79896. },
  79897. "shop_id" : {
  79898. "type" : "string",
  79899. "description" : "商家订购服务选择的某一球房的ID。若该订单: \t为支付宝(蚂蚁)服务市场发布的服务所产生订单则该参数可选。 \t为口碑服务市场发布的服务所产生的订单,则此字段必填。口碑服务市场参见 http://fuwu.koubei.com/commodity/v2/merchandise/index.htm。",
  79900. "example" : "2015052000077000000000182140"
  79901. }
  79902. }
  79903. },
  79904. "AlipayOpenServicemarketOrderItemConfirmResponseModel" : {
  79905. "type" : "object"
  79906. },
  79907. "AlipayOpenServicemarketOrderNotifyErrorResponseModel" : {
  79908. "required" : [ "code", "message" ],
  79909. "type" : "object",
  79910. "properties" : {
  79911. "code" : {
  79912. "type" : "string",
  79913. "description" : "错误码",
  79914. "enum" : [ "SYSTEM_ERROR" ]
  79915. },
  79916. "links" : {
  79917. "type" : "string",
  79918. "description" : "解决方案链接"
  79919. },
  79920. "message" : {
  79921. "type" : "string",
  79922. "description" : "错误描述"
  79923. }
  79924. }
  79925. },
  79926. "AlipayOpenServicemarketOrderNotifyResponseModel" : {
  79927. "type" : "object"
  79928. },
  79929. "AlipayOpenServicemarketOrderQueryErrorResponseModel" : {
  79930. "required" : [ "code", "message" ],
  79931. "type" : "object",
  79932. "properties" : {
  79933. "code" : {
  79934. "type" : "string",
  79935. "description" : "错误码",
  79936. "enum" : [ "QUERY_FAILD", "NOPERMISSION_QUERY" ]
  79937. },
  79938. "links" : {
  79939. "type" : "string",
  79940. "description" : "解决方案链接"
  79941. },
  79942. "message" : {
  79943. "type" : "string",
  79944. "description" : "错误描述"
  79945. }
  79946. }
  79947. },
  79948. "AlipayOpenServicemarketOrderQueryResponseModel" : {
  79949. "type" : "object",
  79950. "properties" : {
  79951. "auto_upgrade" : {
  79952. "type" : "boolean",
  79953. "description" : "true:开启;false:关闭;需要同步校验commodity_id,如果没有查询到订购信息的话,忽略该字段返回值",
  79954. "example" : "true"
  79955. },
  79956. "commodity_id" : {
  79957. "type" : "string",
  79958. "description" : "订购服务商品ID",
  79959. "example" : "201604290086730119"
  79960. },
  79961. "current_page" : {
  79962. "type" : "integer",
  79963. "description" : "当前查询页(本接口支持最多查询100条记录)",
  79964. "example" : "1"
  79965. },
  79966. "order_items" : {
  79967. "type" : "array",
  79968. "description" : "订单明细列表",
  79969. "items" : {
  79970. "$ref" : "#/components/schemas/OrderItem"
  79971. }
  79972. },
  79973. "specifications" : {
  79974. "type" : "string",
  79975. "description" : "用于区分同一个服务的不同版本",
  79976. "example" : "标准版、试用版"
  79977. },
  79978. "status" : {
  79979. "type" : "string",
  79980. "description" : "MERCHANT_ORDED(待服务商接单)",
  79981. "example" : "MERCHANT_ORDED"
  79982. },
  79983. "total_size" : {
  79984. "type" : "integer",
  79985. "description" : "总记录数",
  79986. "example" : "1000"
  79987. }
  79988. }
  79989. },
  79990. "AlipayOpenServicemarketOrderRejectErrorResponseModel" : {
  79991. "required" : [ "code", "message" ],
  79992. "type" : "object",
  79993. "properties" : {
  79994. "code" : {
  79995. "type" : "string",
  79996. "description" : "错误码",
  79997. "enum" : [ "PARAMS_ERROR", "NO_PERMISSION_REJECT_ORDER", "ORDER_NOT_EXIST", "COMMODITY_ORDER_STATUS_INVALID" ]
  79998. },
  79999. "links" : {
  80000. "type" : "string",
  80001. "description" : "解决方案链接"
  80002. },
  80003. "message" : {
  80004. "type" : "string",
  80005. "description" : "错误描述"
  80006. }
  80007. }
  80008. },
  80009. "AlipayOpenServicemarketOrderRejectModel" : {
  80010. "type" : "object",
  80011. "properties" : {
  80012. "commodity_order_id" : {
  80013. "type" : "string",
  80014. "description" : "订购服务商品订单ID",
  80015. "example" : "20160010200000000033400"
  80016. },
  80017. "reject_reason" : {
  80018. "type" : "string",
  80019. "description" : "拒绝接单原因",
  80020. "example" : "暂不支持该地区服务"
  80021. }
  80022. }
  80023. },
  80024. "AlipayOpenServicemarketOrderRejectResponseModel" : {
  80025. "type" : "object"
  80026. },
  80027. "AlipayOpenServicemarketPromotiontaskRelationQueryErrorResponseModel" : {
  80028. "required" : [ "code", "message" ],
  80029. "type" : "object",
  80030. "properties" : {
  80031. "code" : {
  80032. "type" : "string",
  80033. "description" : "错误码",
  80034. "enum" : [ "PARAMS_ERROR", "QUERY_FAILD" ]
  80035. },
  80036. "links" : {
  80037. "type" : "string",
  80038. "description" : "解决方案链接"
  80039. },
  80040. "message" : {
  80041. "type" : "string",
  80042. "description" : "错误描述"
  80043. }
  80044. }
  80045. },
  80046. "AlipayOpenServicemarketPromotiontaskRelationQueryResponseModel" : {
  80047. "type" : "object",
  80048. "properties" : {
  80049. "current_page" : {
  80050. "type" : "integer",
  80051. "description" : "当前页码",
  80052. "example" : "1"
  80053. },
  80054. "page_size" : {
  80055. "type" : "integer",
  80056. "description" : "每页数量",
  80057. "example" : "10"
  80058. },
  80059. "promotion_relations" : {
  80060. "type" : "array",
  80061. "description" : "推广服务商信息列表",
  80062. "items" : {
  80063. "$ref" : "#/components/schemas/PromotionTaskRelation"
  80064. }
  80065. },
  80066. "total_size" : {
  80067. "type" : "integer",
  80068. "description" : "总记录数",
  80069. "example" : "1000"
  80070. }
  80071. }
  80072. },
  80073. "AlipayOpenSpBlueseaactivityCreateErrorResponseModel" : {
  80074. "required" : [ "code", "message" ],
  80075. "type" : "object",
  80076. "properties" : {
  80077. "code" : {
  80078. "type" : "string",
  80079. "description" : "错误码",
  80080. "enum" : [ "ILLEGAL_PARAMS", "BLUESEA_BIZSCENE_ILLEGAL", "ALIPAY_LOGON_INVALID", "ACTIVITY_APPLYORDER_EXIST", "MERCHANT_INVALID", "RELATION_CHECK_FAILED", "MERCHANT_ACTIVITY_APPLIED", "BLUESEA_MCC_LIMITED", "BLUESEA_QUALIFICATIONLICENSE_INCOMPLETE", "BLUESEA_ADDRESS_INCOMPLETE", "SYSTEM_ERROR", "INDIRECT_MERCHANT_NOTEXIST", "INDIRECT_RELATION_NOTEXIST", "INDIRECT_MERCHANT_NOTDIRECT" ]
  80081. },
  80082. "links" : {
  80083. "type" : "string",
  80084. "description" : "解决方案链接"
  80085. },
  80086. "message" : {
  80087. "type" : "string",
  80088. "description" : "错误描述"
  80089. }
  80090. }
  80091. },
  80092. "AlipayOpenSpBlueseaactivityCreateModel" : {
  80093. "type" : "object",
  80094. "properties" : {
  80095. "address" : {
  80096. "type" : "string",
  80097. "description" : "详细地址。\t该资质是否必传请参见<a href='https://opendocs.alipay.com/open/01hd83'>报名资质要求</a>。",
  80098. "example" : "万塘路18号黄龙时代广场B座"
  80099. },
  80100. "biz_scene" : {
  80101. "type" : "string",
  80102. "description" : "蓝海活动的场景,支持场景如下:\t* 直连餐饮(BLUE_SEA_FOOD_APPLY);\t* 直连快消(BLUE_SEA_FMCG_APPLY);\t* 间连餐饮(BLUE_SEA_FOOD_INDIRECT_APPLY);\t* 间连快消(BLUE_SEA_FMCG_INDIRECT_APPLY)。",
  80103. "example" : "BLUE_SEA_FOOD_APPLY"
  80104. },
  80105. "business_lic" : {
  80106. "type" : "string",
  80107. "description" : "营业执照,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。\t请传入<a href='https://opendocs.alipay.com/apis/01ea4t'>alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。\t该资质是否必传请参见<a href='https://opendocs.alipay.com/open/01hd83'>报名资质要求</a>。",
  80108. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80109. },
  80110. "city_code" : {
  80111. "type" : "string",
  80112. "description" : "城市编码。请按照<a href='https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx'>表格</a> 中内容填写。 (请参考资料:<a href='http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/'> 统计用区划和城乡划分代码</a>)",
  80113. "example" : "310001"
  80114. },
  80115. "district_code" : {
  80116. "type" : "string",
  80117. "description" : "区县编码。请按照<a href='https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx'>表格</a> 中内容填写。 (请参考资料:<a href='http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/'> 统计用区划和城乡划分代码</a>)",
  80118. "example" : "310006"
  80119. },
  80120. "food_business_lic" : {
  80121. "type" : "string",
  80122. "description" : "食品经营许可证,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。\t请传入<a href='https://opendocs.alipay.com/apis/01ea4t'>alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。\t该资质是否必传请参见<a href='https://opendocs.alipay.com/open/01hd83'>报名资质要求</a>。",
  80123. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80124. },
  80125. "food_circulate_lic" : {
  80126. "type" : "string",
  80127. "description" : "食品流通许可证,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。\t请传入<a href='https://opendocs.alipay.com/apis/01ea4t'>alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。\t该资质是否必传请参见<a href='https://opendocs.alipay.com/open/01hd83'>报名资质要求</a>。",
  80128. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80129. },
  80130. "food_health_lic" : {
  80131. "type" : "string",
  80132. "description" : "食品卫生许可证,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。\t请传入<a href='https://opendocs.alipay.com/apis/01ea4t'>alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。 \t该资质是否必传请参见<a href='https://opendocs.alipay.com/open/01hd83'>报名资质要求</a>。",
  80133. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80134. },
  80135. "food_production_lic" : {
  80136. "type" : "string",
  80137. "description" : "食品生产许可证,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。\t请传入<a href='https://opendocs.alipay.com/apis/01ea4t'>alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。\t该资质是否必传请参见<a href='https://opendocs.alipay.com/open/01hd83'>报名资质要求</a>。",
  80138. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80139. },
  80140. "food_service_lic" : {
  80141. "type" : "string",
  80142. "description" : "餐饮服务许可证,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。\t请传入<a href='https://opendocs.alipay.com/apis/01ea4t'>alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。\t该资质是否必传请参见<a href='https://opendocs.alipay.com/open/01hd83'>报名资质要求</a>。",
  80143. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80144. },
  80145. "indoor_pic" : {
  80146. "type" : "string",
  80147. "description" : "内景照,要求图片清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。\t请传入<a href='https://opendocs.alipay.com/apis/01ea4t'>alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。\t该资质是否必传请参见<a href='https://opendocs.alipay.com/open/01hd83'>报名资质要求</a>。",
  80148. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80149. },
  80150. "merchant_logon" : {
  80151. "type" : "string",
  80152. "description" : "参与蓝海活动的商户支付宝账号,只有当参与直连蓝海活动场景(BLUE_SEA_FOOD_APPLY/BLUE_SEA_FMCG_APPLY)时必填,间连场景可空。",
  80153. "example" : "13200132000"
  80154. },
  80155. "province_code" : {
  80156. "type" : "string",
  80157. "description" : "省份编码。请按照<a href='https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx'>表格</a> 中内容填写。 (请参考资料:<a href='http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/'> 统计用区划和城乡划分代码</a>)",
  80158. "example" : "310000"
  80159. },
  80160. "shop_entrance_pic" : {
  80161. "type" : "string",
  80162. "description" : "门头照,要求图片清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。\t请传入<a href='https://opendocs.alipay.com/apis/01ea4t'>alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。\t该资质是否必传请参见<a href='https://opendocs.alipay.com/open/01hd83'>报名资质要求</a>。",
  80163. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80164. },
  80165. "sub_merchant_id" : {
  80166. "type" : "string",
  80167. "description" : "参与蓝海活动的间连商户账号,只有当参与间连蓝海活动场景(BLUE_SEA_FOOD_INDIRECT_APPLY/BLUE_SEA_FMCG_INDIRECT_APPLY)时必填,直连场景可空。",
  80168. "example" : "2088100010001000"
  80169. },
  80170. "tobacco_lic" : {
  80171. "type" : "string",
  80172. "description" : "烟草专卖零售许可证,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。\t请传入<a href='https://opendocs.alipay.com/apis/01ea4t'>alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。 \t该资质是否必传请参见<a href='https://opendocs.alipay.com/open/01hd83'>报名资质要求</a>。",
  80173. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80174. }
  80175. }
  80176. },
  80177. "AlipayOpenSpBlueseaactivityCreateResponseModel" : {
  80178. "type" : "object",
  80179. "properties" : {
  80180. "order_id" : {
  80181. "type" : "string",
  80182. "description" : "申请单Id",
  80183. "example" : "0581"
  80184. }
  80185. }
  80186. },
  80187. "AlipayOpenSpBlueseaactivityModifyErrorResponseModel" : {
  80188. "required" : [ "code", "message" ],
  80189. "type" : "object",
  80190. "properties" : {
  80191. "code" : {
  80192. "type" : "string",
  80193. "description" : "错误码",
  80194. "enum" : [ "ILLEGAL_PARAMS", "ACTIVITY_APPLYORDER_NOTEXIST", "MERCHANT_ACTIVITY_APPLIED", "BLUESEA_MCC_LIMITED", "BLUESEA_QUALIFICATIONLICENSE_INCOMPLETE", "BLUESEA_ADDRESS_INCOMPLETE", "SYSTEM_ERROR", "ACTIVITY_APPLYORDER_CANNOTEDIT", "NO_PERMISSION", "BLUESEA_ORDER_INVALID" ]
  80195. },
  80196. "links" : {
  80197. "type" : "string",
  80198. "description" : "解决方案链接"
  80199. },
  80200. "message" : {
  80201. "type" : "string",
  80202. "description" : "错误描述"
  80203. }
  80204. }
  80205. },
  80206. "AlipayOpenSpBlueseaactivityModifyModel" : {
  80207. "type" : "object",
  80208. "properties" : {
  80209. "address" : {
  80210. "type" : "string",
  80211. "description" : "详细地址",
  80212. "example" : "万塘路18号黄龙时代广场B座"
  80213. },
  80214. "business_lic" : {
  80215. "type" : "string",
  80216. "description" : "营业执照,要求证件文本信息清晰可见。 请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80217. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80218. },
  80219. "city_code" : {
  80220. "type" : "string",
  80221. "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  80222. "example" : "310001"
  80223. },
  80224. "district_code" : {
  80225. "type" : "string",
  80226. "description" : "区县编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  80227. "example" : "310006"
  80228. },
  80229. "food_business_lic" : {
  80230. "type" : "string",
  80231. "description" : "食品经营许可证,要求证件文本信息清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80232. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80233. },
  80234. "food_circulate_lic" : {
  80235. "type" : "string",
  80236. "description" : "食品流通许可证,要求证件文本信息清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80237. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80238. },
  80239. "food_health_lic" : {
  80240. "type" : "string",
  80241. "description" : "食品卫生许可证,要求证件文本信息清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80242. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80243. },
  80244. "food_production_lic" : {
  80245. "type" : "string",
  80246. "description" : "食品生产许可证,要求证件文本信息清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80247. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80248. },
  80249. "food_service_lic" : {
  80250. "type" : "string",
  80251. "description" : "餐饮服务许可证,要求证件文本信息清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80252. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80253. },
  80254. "indoor_pic" : {
  80255. "type" : "string",
  80256. "description" : "门头照,要求内景照片清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80257. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80258. },
  80259. "order_id" : {
  80260. "type" : "string",
  80261. "description" : "申请单 id。通过 <a href=\"https://opendocs.alipay.com/apis/01ebig\">alipay.open.sp.blueseaactivity.create</a>接口获取。",
  80262. "example" : "0581"
  80263. },
  80264. "province_code" : {
  80265. "type" : "string",
  80266. "description" : "省份编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  80267. "example" : "310000"
  80268. },
  80269. "shop_entrance_pic" : {
  80270. "type" : "string",
  80271. "description" : "门头照,要求店铺外观照片清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80272. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80273. },
  80274. "tobacco_lic" : {
  80275. "type" : "string",
  80276. "description" : "烟草专卖零售许可证,要求证件文本信息清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80277. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80278. }
  80279. }
  80280. },
  80281. "AlipayOpenSpBlueseaactivityModifyResponseModel" : {
  80282. "type" : "object"
  80283. },
  80284. "AlipayOpenSpBlueseaactivityQueryErrorResponseModel" : {
  80285. "required" : [ "code", "message" ],
  80286. "type" : "object",
  80287. "properties" : {
  80288. "code" : {
  80289. "type" : "string",
  80290. "description" : "错误码",
  80291. "enum" : [ "ILLEGAL_PARAMS", "SYSTEM_ERROR", "NO_PERMISSION", "BLUESEA_ORDER_INVALID" ]
  80292. },
  80293. "links" : {
  80294. "type" : "string",
  80295. "description" : "解决方案链接"
  80296. },
  80297. "message" : {
  80298. "type" : "string",
  80299. "description" : "错误描述"
  80300. }
  80301. }
  80302. },
  80303. "AlipayOpenSpBlueseaactivityQueryResponseModel" : {
  80304. "type" : "object",
  80305. "properties" : {
  80306. "address" : {
  80307. "type" : "string",
  80308. "description" : "详细地址",
  80309. "example" : "万塘路18号黄龙时代广场B座"
  80310. },
  80311. "biz_scene" : {
  80312. "type" : "string",
  80313. "description" : "蓝海活动的场景,包括直连餐饮(BLUE_SEA_FOOD_APPLY)、直连快消(BLUE_SEA_FMCG_APPLY)、间连餐饮(BLUE_SEA_FOOD_INDIRECT_APPLY)、间连快消(BLUE_SEA_FMCG_INDIRECT_APPLY)场景",
  80314. "example" : "BLUE_SEA_FOOD_APPLY"
  80315. },
  80316. "business_lic" : {
  80317. "type" : "string",
  80318. "description" : "营业执照,要求证件文本信息清晰可见。 资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80319. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80320. },
  80321. "city_code" : {
  80322. "type" : "string",
  80323. "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  80324. "example" : "310001"
  80325. },
  80326. "district_code" : {
  80327. "type" : "string",
  80328. "description" : "区县编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  80329. "example" : "310006"
  80330. },
  80331. "food_business_lic" : {
  80332. "type" : "string",
  80333. "description" : "食品经营许可证,要求证件文本信息清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80334. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80335. },
  80336. "food_circulate_lic" : {
  80337. "type" : "string",
  80338. "description" : "食品流通许可证,要求证件文本信息清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80339. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80340. },
  80341. "food_health_lic" : {
  80342. "type" : "string",
  80343. "description" : "食品卫生许可证,要求证件文本信息清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80344. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80345. },
  80346. "food_production_lic" : {
  80347. "type" : "string",
  80348. "description" : "食品生产许可证,要求证件文本信息清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80349. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80350. },
  80351. "food_service_lic" : {
  80352. "type" : "string",
  80353. "description" : "餐饮服务许可证,要求证件文本信息清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80354. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80355. },
  80356. "indoor_pic" : {
  80357. "type" : "string",
  80358. "description" : "门头照,要求内景照片清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80359. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80360. },
  80361. "memo" : {
  80362. "type" : "string",
  80363. "description" : "审核驳回原因,在订单状态为失败时有效",
  80364. "example" : "资质照片和商户名称不一致,请修改一致后,重新申请;其他原因;"
  80365. },
  80366. "merchant_logon" : {
  80367. "type" : "string",
  80368. "description" : "参与蓝海活动的商户支付宝账号,只有当参与直连蓝海活动场景(BLUE_SEA_FOOD_APPLY/BLUE_SEA_FMCG_APPLY)时才返回",
  80369. "example" : "13200132000"
  80370. },
  80371. "province_code" : {
  80372. "type" : "string",
  80373. "description" : "省份编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  80374. "example" : "310000"
  80375. },
  80376. "shop_entrance_pic" : {
  80377. "type" : "string",
  80378. "description" : "门头照,要求店铺外观照片清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80379. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80380. },
  80381. "status" : {
  80382. "type" : "string",
  80383. "description" : "申请单状态,状态机参考(AUDITING:审核中,FAIL:报名失败,PASS:报名成功)",
  80384. "example" : "AUDITING"
  80385. },
  80386. "sub_merchant_id" : {
  80387. "type" : "string",
  80388. "description" : "参与蓝海活动的间连商户账号,只有当参与间连蓝海活动场景(BLUE_SEA_FOOD_INDIRECT_APPLY/BLUE_SEA_FMCG_INDIRECT_APPLY)时才返回",
  80389. "example" : "2088100010001000"
  80390. },
  80391. "tobacco_lic" : {
  80392. "type" : "string",
  80393. "description" : "烟草专卖零售许可证,要求证件文本信息清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
  80394. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80395. }
  80396. }
  80397. },
  80398. "AlipayOpenSpImageUploadErrorResponseModel" : {
  80399. "required" : [ "code", "message" ],
  80400. "type" : "object",
  80401. "properties" : {
  80402. "code" : {
  80403. "type" : "string",
  80404. "description" : "错误码",
  80405. "enum" : [ "FILE_SIZE_OUT_LIMIT", "SYSTEM_ERROR", "FILE_SIZE_MIN_LIMIT" ]
  80406. },
  80407. "links" : {
  80408. "type" : "string",
  80409. "description" : "解决方案链接"
  80410. },
  80411. "message" : {
  80412. "type" : "string",
  80413. "description" : "错误描述"
  80414. }
  80415. }
  80416. },
  80417. "AlipayOpenSpImageUploadModel" : {
  80418. "type" : "object"
  80419. },
  80420. "AlipayOpenSpImageUploadResponseModel" : {
  80421. "type" : "object",
  80422. "properties" : {
  80423. "image_id" : {
  80424. "type" : "string",
  80425. "description" : "图片在文件存储平台的标识",
  80426. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80427. }
  80428. }
  80429. },
  80430. "AlipayOpenSpIsvBillSyncErrorResponseModel" : {
  80431. "required" : [ "code", "message" ],
  80432. "type" : "object",
  80433. "properties" : {
  80434. "code" : {
  80435. "type" : "string",
  80436. "description" : "错误码",
  80437. "enum" : [ "BIZ_ERROR_BILL_NOT_MATCH", "BIZ_ERROR_INVALID_STATUS", "BIZ_ERROR_BILL_REDUPLICATE_RETURN" ]
  80438. },
  80439. "links" : {
  80440. "type" : "string",
  80441. "description" : "解决方案链接"
  80442. },
  80443. "message" : {
  80444. "type" : "string",
  80445. "description" : "错误描述"
  80446. }
  80447. }
  80448. },
  80449. "AlipayOpenSpIsvBillSyncModel" : {
  80450. "type" : "object",
  80451. "properties" : {
  80452. "end_time" : {
  80453. "type" : "string",
  80454. "description" : "账单结束时间",
  80455. "example" : "2021-11-10"
  80456. },
  80457. "generate_time" : {
  80458. "type" : "string",
  80459. "description" : "出账时间,回传出账信息时,必须传递",
  80460. "example" : "2021-10-14 00:00:00"
  80461. },
  80462. "item_code" : {
  80463. "type" : "string",
  80464. "description" : "服务优选商品编码",
  80465. "example" : "SS010301000000001234"
  80466. },
  80467. "out_biz_no" : {
  80468. "type" : "string",
  80469. "description" : "外部业务号,传isv系统生成的账单号,需要保证唯一",
  80470. "example" : "2021000000000"
  80471. },
  80472. "pay_time" : {
  80473. "type" : "string",
  80474. "description" : "账单支付时间,回传支付数时,必须传递",
  80475. "example" : "2021-10-14 00:00:00"
  80476. },
  80477. "price" : {
  80478. "type" : "string",
  80479. "description" : "账单金额,这里填写的是整数,单位为分,比如1元,那么输入100",
  80480. "example" : "100"
  80481. },
  80482. "promotor_pid" : {
  80483. "type" : "string",
  80484. "description" : "推广服务商(S2)pid",
  80485. "example" : "2088301912341234"
  80486. },
  80487. "start_time" : {
  80488. "type" : "string",
  80489. "description" : "账单开始时间",
  80490. "example" : "2021-10-10"
  80491. },
  80492. "status" : {
  80493. "type" : "string",
  80494. "description" : "GENERATE_BILL代表”已出账“,PAID_BILL代表”已支付“,选择这两者之一",
  80495. "example" : "GENERATE_BILL"
  80496. },
  80497. "sub_promotor_pid" : {
  80498. "type" : "string",
  80499. "description" : "S1回传的S2的操作员工子账号,如果是子账号操作,请回传",
  80500. "example" : "20211011000000"
  80501. }
  80502. }
  80503. },
  80504. "AlipayOpenSpIsvBillSyncResponseModel" : {
  80505. "type" : "object",
  80506. "properties" : {
  80507. "success" : {
  80508. "type" : "boolean",
  80509. "description" : "返回true或者flase,ture代表账单回传成功,false表示账单回传失败",
  80510. "example" : "true"
  80511. }
  80512. }
  80513. },
  80514. "AlipayOpenSpIsvOperationSyncErrorResponseModel" : {
  80515. "required" : [ "code", "message" ],
  80516. "type" : "object",
  80517. "properties" : {
  80518. "code" : {
  80519. "type" : "string",
  80520. "description" : "错误码",
  80521. "enum" : [ "PROMOTION_RELATION_NOT_EXIST", "ILLEGAL_PARAMS", "OPERATION_RESULT_REPEAT", "ISV_NOT_IN_WHITELIST", "ILLEGAL_ISV_USER", "IMPLEMENT_RESULT_ILLEGAL", "IMPLEMENT_TIME_ILLEGAL", "EXT_INFO_PARSE_FAIL", "OPPOR_NOT_EXIST", "OPPOR_REPEAT", "CUSTOMER_TYPE_ILLEGAL", "ORDER_ID_ILLEGAL", "ORDER_NOT_EXIT", "ORDER_STATUS_ILLEGAL", "SHOP_ID_ILLEGAL", "DEVICE_NO_ILLEGAL", "ACTIVATION_TIME_ILLEGAL" ]
  80522. },
  80523. "links" : {
  80524. "type" : "string",
  80525. "description" : "解决方案链接"
  80526. },
  80527. "message" : {
  80528. "type" : "string",
  80529. "description" : "错误描述"
  80530. }
  80531. }
  80532. },
  80533. "AlipayOpenSpIsvOperationSyncModel" : {
  80534. "type" : "object",
  80535. "properties" : {
  80536. "customer_type" : {
  80537. "type" : "string",
  80538. "description" : "客户类型,PERSONAL表示个人,ALIPAY_RECOMMEND表示支付宝推荐",
  80539. "example" : "PERSONAL"
  80540. },
  80541. "ext_info" : {
  80542. "$ref" : "#/components/schemas/OperationResultExtInfo"
  80543. },
  80544. "implement_end_time" : {
  80545. "type" : "string",
  80546. "description" : "实施结束时间",
  80547. "example" : "2021-10-11 00:00:00"
  80548. },
  80549. "implement_object_name" : {
  80550. "type" : "string",
  80551. "description" : "实施对象名称",
  80552. "example" : "浙江省杭州市西湖区西溪路黄焖鸡米饭"
  80553. },
  80554. "implement_place" : {
  80555. "type" : "string",
  80556. "description" : "实施地点",
  80557. "example" : "浙江省杭州市西湖区蚂蚁A空间"
  80558. },
  80559. "implement_result" : {
  80560. "type" : "string",
  80561. "description" : "实施结果,SUCCESS表示实施成功,FAIL表示实施失败",
  80562. "example" : "SUCCESS"
  80563. },
  80564. "implement_result_image" : {
  80565. "type" : "string",
  80566. "description" : "实施结果的照片",
  80567. "example" : "https://os.alipayobjects.com/rmsportal/JxAjrvPKriKOpjf.png"
  80568. },
  80569. "implement_result_remark" : {
  80570. "type" : "string",
  80571. "description" : "实施结果的备注",
  80572. "example" : "失败原因:商户取消购买"
  80573. },
  80574. "implement_start_time" : {
  80575. "type" : "string",
  80576. "description" : "实施开始时间",
  80577. "example" : "2021-10-10 00:00:00"
  80578. },
  80579. "item_code" : {
  80580. "type" : "string",
  80581. "description" : "服务优选商品编码",
  80582. "example" : "SS010301000000001234"
  80583. },
  80584. "item_price" : {
  80585. "type" : "string",
  80586. "description" : "商品价格,这里填写的是整数,单位为分,比如1元,那么输入100",
  80587. "example" : "100"
  80588. },
  80589. "merchant_pid" : {
  80590. "type" : "string",
  80591. "description" : "商户pid",
  80592. "example" : "2088301912341234"
  80593. },
  80594. "mini_appid" : {
  80595. "type" : "string",
  80596. "description" : "商品小程序appid,若推广的商品不为小程序,则不传此参数",
  80597. "example" : "2018082861168647"
  80598. },
  80599. "oppor_id" : {
  80600. "type" : "string",
  80601. "description" : "拓展助手中的商机id",
  80602. "example" : "2021101809775931"
  80603. },
  80604. "order_id" : {
  80605. "type" : "string",
  80606. "description" : "下单订单号",
  80607. "example" : "201811190000000000001100"
  80608. },
  80609. "out_biz_no" : {
  80610. "type" : "string",
  80611. "description" : "外部业务号,传isv系统生成的账单号,需要保证唯一",
  80612. "example" : "2021000000000"
  80613. },
  80614. "promotor_pid" : {
  80615. "type" : "string",
  80616. "description" : "推广服务商(S2)pid",
  80617. "example" : "2088301912341234"
  80618. },
  80619. "shop_id" : {
  80620. "type" : "string",
  80621. "description" : "店铺id",
  80622. "example" : "2019081500502000000025130577"
  80623. },
  80624. "sub_promotor_pid" : {
  80625. "type" : "string",
  80626. "description" : "推广服务商(S2)子账号pid",
  80627. "example" : "2088301912341234"
  80628. }
  80629. }
  80630. },
  80631. "AlipayOpenSpIsvOperationSyncResponseModel" : {
  80632. "type" : "object"
  80633. },
  80634. "AlipayOpenSpIsvRelationQueryErrorResponseModel" : {
  80635. "required" : [ "code", "message" ],
  80636. "type" : "object",
  80637. "properties" : {
  80638. "code" : {
  80639. "type" : "string",
  80640. "description" : "错误码",
  80641. "enum" : [ "ILLEGAL_PARAMS", "NO_PERMIT_FOR_OPERATOR" ]
  80642. },
  80643. "links" : {
  80644. "type" : "string",
  80645. "description" : "解决方案链接"
  80646. },
  80647. "message" : {
  80648. "type" : "string",
  80649. "description" : "错误描述"
  80650. }
  80651. }
  80652. },
  80653. "AlipayOpenSpIsvRelationQueryResponseModel" : {
  80654. "type" : "object",
  80655. "properties" : {
  80656. "current_page" : {
  80657. "type" : "integer",
  80658. "description" : "当前页码",
  80659. "example" : "1"
  80660. },
  80661. "page_size" : {
  80662. "type" : "integer",
  80663. "description" : "每页数量",
  80664. "example" : "10"
  80665. },
  80666. "promotion_relations" : {
  80667. "type" : "array",
  80668. "description" : "推广服务商信息列表",
  80669. "items" : {
  80670. "$ref" : "#/components/schemas/PromotionRelationDTO"
  80671. }
  80672. },
  80673. "total_size" : {
  80674. "type" : "integer",
  80675. "description" : "总记录数",
  80676. "example" : "1000"
  80677. }
  80678. }
  80679. },
  80680. "AlipayOpenSpIsvSalesSyncErrorResponseModel" : {
  80681. "required" : [ "code", "message" ],
  80682. "type" : "object",
  80683. "properties" : {
  80684. "code" : {
  80685. "type" : "string",
  80686. "description" : "错误码",
  80687. "enum" : [ "OPERATION_RESULT_RELATED_FAIL" ]
  80688. },
  80689. "links" : {
  80690. "type" : "string",
  80691. "description" : "解决方案链接"
  80692. },
  80693. "message" : {
  80694. "type" : "string",
  80695. "description" : "错误描述"
  80696. }
  80697. }
  80698. },
  80699. "AlipayOpenSpIsvSalesSyncModel" : {
  80700. "type" : "object",
  80701. "properties" : {
  80702. "merchant_sales_detail" : {
  80703. "type" : "array",
  80704. "description" : "商户销售数据回传的参数对象,形式为一个列表,每天回传昨日商户的销售数据。",
  80705. "items" : {
  80706. "$ref" : "#/components/schemas/IsvMerchantSalesDetailRequest"
  80707. }
  80708. }
  80709. }
  80710. },
  80711. "AlipayOpenSpIsvSalesSyncResponseModel" : {
  80712. "type" : "object"
  80713. },
  80714. "AlipayOpenSpIsvSignauthCreateErrorResponseModel" : {
  80715. "required" : [ "code", "message" ],
  80716. "type" : "object",
  80717. "properties" : {
  80718. "code" : {
  80719. "type" : "string",
  80720. "description" : "错误码",
  80721. "enum" : [ "ILLEGAL_PARAMS", "SIGNAUTH_MERCHANT_NOT_EXIST", "SIGNAUTH_ISV_NOT_EXIST", "SIGNORDER_NOT_EXSIT", "SIGNORDER_ABNORMAL", "SIGNORDER_ISV_NOT_MATCH", "SIGNORDER_MERCHANT_NOT_MATCH", "ISVAUTH_SCENE_NOT_EXIST", "ISVAUTH_SCENE_PERMISSION_NOT_MATCH", "SYSTEM_ERROR", "SIGNORDER_BINDED", "APPLY_ORDER_NOT_EXIST", "SP_DISCARD", "ILLEGAL_ISV_USER", "SP_PAUSE_OR_DELETE", "NOTICE_MERCHANT_FAIL" ]
  80722. },
  80723. "links" : {
  80724. "type" : "string",
  80725. "description" : "解决方案链接"
  80726. },
  80727. "message" : {
  80728. "type" : "string",
  80729. "description" : "错误描述"
  80730. }
  80731. }
  80732. },
  80733. "AlipayOpenSpIsvSignauthCreateModel" : {
  80734. "type" : "object",
  80735. "properties" : {
  80736. "isv_auth_scene_infos" : {
  80737. "type" : "array",
  80738. "description" : "代运营授权场景信息",
  80739. "items" : {
  80740. "$ref" : "#/components/schemas/IsvAuthSceneInfo"
  80741. }
  80742. },
  80743. "merchant_logon_id" : {
  80744. "type" : "string",
  80745. "description" : "商户登录账号\t支持手机号和邮箱账号;不支持pid",
  80746. "example" : "13181141917"
  80747. },
  80748. "need_app_auth" : {
  80749. "type" : "string",
  80750. "description" : "1表示需要,0表示不需要\t不传参数默认是需要(1)\t是否创建三方应用授权子任务,也就是是否需要给三方应用授权",
  80751. "example" : "1"
  80752. },
  80753. "sign_order_no" : {
  80754. "type" : "string",
  80755. "description" : "签约单号\t可通过alipay.open.agent.confirm接口获取签约单号",
  80756. "example" : "20211015034000100000052128459671"
  80757. }
  80758. }
  80759. },
  80760. "AlipayOpenSpIsvSignauthCreateResponseModel" : {
  80761. "type" : "object",
  80762. "properties" : {
  80763. "order_id" : {
  80764. "type" : "string",
  80765. "description" : "签约授权一体化主单ID",
  80766. "example" : "20211102034000100000047728652233"
  80767. }
  80768. }
  80769. },
  80770. "AlipayOpenSpIsvSignauthQueryErrorResponseModel" : {
  80771. "required" : [ "code", "message" ],
  80772. "type" : "object",
  80773. "properties" : {
  80774. "code" : {
  80775. "type" : "string",
  80776. "description" : "错误码",
  80777. "enum" : [ "ILLEGAL_PARAMS", "SIGNAUTH_ORDER_NOT_EXIST", "SIGNAUTH_ISV_NOT_MATCH", "SYSTEM_ERROR" ]
  80778. },
  80779. "links" : {
  80780. "type" : "string",
  80781. "description" : "解决方案链接"
  80782. },
  80783. "message" : {
  80784. "type" : "string",
  80785. "description" : "错误描述"
  80786. }
  80787. }
  80788. },
  80789. "AlipayOpenSpIsvSignauthQueryResponseModel" : {
  80790. "type" : "object",
  80791. "properties" : {
  80792. "order_id" : {
  80793. "type" : "string",
  80794. "description" : "签约授权一体化订单ID",
  80795. "example" : "20211102034000100000047728652040"
  80796. },
  80797. "status" : {
  80798. "type" : "string",
  80799. "description" : "签约授权一体化订单状态\tINIT:初始化\tUNCONFIRM:待确认\tFAILURE:失败\tFINISH:成功",
  80800. "example" : "INIT"
  80801. },
  80802. "task_infos" : {
  80803. "type" : "array",
  80804. "description" : "签约授权一体化订单子任务单信息",
  80805. "items" : {
  80806. "$ref" : "#/components/schemas/SubTaskInfo"
  80807. }
  80808. }
  80809. }
  80810. },
  80811. "AlipayOpenSpLeadsExpandCreateErrorResponseModel" : {
  80812. "required" : [ "code", "message" ],
  80813. "type" : "object",
  80814. "properties" : {
  80815. "code" : {
  80816. "type" : "string",
  80817. "description" : "错误码",
  80818. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ISV_NOT_IN_WHITELIST" ]
  80819. },
  80820. "links" : {
  80821. "type" : "string",
  80822. "description" : "解决方案链接"
  80823. },
  80824. "message" : {
  80825. "type" : "string",
  80826. "description" : "错误描述"
  80827. }
  80828. }
  80829. },
  80830. "AlipayOpenSpLeadsExpandCreateModel" : {
  80831. "type" : "object",
  80832. "properties" : {
  80833. "address" : {
  80834. "type" : "string",
  80835. "description" : "拓展助手商机地址",
  80836. "example" : "紫金港路与文二西路交叉口向西500米西城广场"
  80837. },
  80838. "city_code" : {
  80839. "type" : "string",
  80840. "description" : "拓展助手商机地址市code",
  80841. "example" : "330100"
  80842. },
  80843. "city_name" : {
  80844. "type" : "string",
  80845. "description" : "拓展助手商机地址市名称",
  80846. "example" : "杭州市"
  80847. },
  80848. "district_code" : {
  80849. "type" : "string",
  80850. "description" : "拓展助手商机地址区code",
  80851. "example" : "330111"
  80852. },
  80853. "district_name" : {
  80854. "type" : "string",
  80855. "description" : "拓展助手商机地址区名称",
  80856. "example" : "西湖区"
  80857. },
  80858. "email" : {
  80859. "type" : "string",
  80860. "description" : "拓展助手商机邮箱",
  80861. "example" : "xxx@qq.com"
  80862. },
  80863. "latitude" : {
  80864. "type" : "string",
  80865. "description" : "拓展助手商机地址纬度",
  80866. "example" : "30.259247"
  80867. },
  80868. "longitude" : {
  80869. "type" : "string",
  80870. "description" : "拓展助手商机地址经度",
  80871. "example" : "120.13042700000001"
  80872. },
  80873. "mcc" : {
  80874. "type" : "string",
  80875. "description" : "mcc行业",
  80876. "example" : "MARKET"
  80877. },
  80878. "merchant_pid" : {
  80879. "type" : "string",
  80880. "description" : "2088账号",
  80881. "example" : "2088401299710003"
  80882. },
  80883. "name" : {
  80884. "type" : "string",
  80885. "description" : "拓展助手商机名称",
  80886. "example" : "名称"
  80887. },
  80888. "out_biz_no" : {
  80889. "type" : "string",
  80890. "description" : "外部幂等唯一键",
  80891. "example" : "out_biz_no"
  80892. },
  80893. "phone" : {
  80894. "type" : "string",
  80895. "description" : "拓展助手商机联系电话",
  80896. "example" : "13812312323"
  80897. },
  80898. "province_code" : {
  80899. "type" : "string",
  80900. "description" : "拓展助手商机地址省code",
  80901. "example" : "330000"
  80902. },
  80903. "province_name" : {
  80904. "type" : "string",
  80905. "description" : "拓展助手商机地址省名称",
  80906. "example" : "浙江省"
  80907. },
  80908. "scene" : {
  80909. "type" : "string",
  80910. "description" : "拓展助手场景,参数约定",
  80911. "example" : "IOT_RUYI_EXPAND"
  80912. }
  80913. }
  80914. },
  80915. "AlipayOpenSpLeadsExpandCreateResponseModel" : {
  80916. "type" : "object",
  80917. "properties" : {
  80918. "leads_id" : {
  80919. "type" : "string",
  80920. "description" : "商机id",
  80921. "example" : "商机id"
  80922. }
  80923. }
  80924. },
  80925. "AlipayOpenSpMerchantInconsistentApproveErrorResponseModel" : {
  80926. "required" : [ "code", "message" ],
  80927. "type" : "object",
  80928. "properties" : {
  80929. "code" : {
  80930. "type" : "string",
  80931. "description" : "错误码",
  80932. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "MERCHANT_AUDITING", "ISV_NOT_IN_WHITELIST", "MERCHANT_AUDIT_PASS", "MINIAPP_NOT_BELONG_TO_MERCHANT", "ITEM_NOT_BELONG_TO_ISV", "ITEM_NOT_EXIST", "MINIAPP_NOT_EXIST", "MERCHANT_PID_NOT_EXIST", "PROMOTORP_ID_NOT_EXIST" ]
  80933. },
  80934. "links" : {
  80935. "type" : "string",
  80936. "description" : "解决方案链接"
  80937. },
  80938. "message" : {
  80939. "type" : "string",
  80940. "description" : "错误描述"
  80941. }
  80942. }
  80943. },
  80944. "AlipayOpenSpMerchantInconsistentApproveModel" : {
  80945. "type" : "object",
  80946. "properties" : {
  80947. "back_card" : {
  80948. "type" : "string",
  80949. "description" : "身份证背面照,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。 请传入<a href=\"https://opendocs.alipay.com/apis/01ea4t\">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。",
  80950. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80951. },
  80952. "commitment_letter" : {
  80953. "type" : "string",
  80954. "description" : "实际经营人承诺函照片,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。 请传入<a href=\"https://opendocs.alipay.com/apis/01ea4t\">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。 该资质是否必传请参见报名资质要求。",
  80955. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80956. },
  80957. "front_card" : {
  80958. "type" : "string",
  80959. "description" : "身份证正面照,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式. 请传<a href=\"https://opendocs.alipay.com/apis/01ea4t\">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。",
  80960. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80961. },
  80962. "handheld_business_license" : {
  80963. "type" : "string",
  80964. "description" : "手持营业执照合照,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。 请传入<a href=\"https://opendocs.alipay.com/apis/01ea4t\">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。 该资质是否必传请参见报名资质要求。",
  80965. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80966. },
  80967. "handheld_card" : {
  80968. "type" : "string",
  80969. "description" : "手持身份证合照,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。 请传入<a href=\"https://opendocs.alipay.com/apis/01ea4t\">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。 该资质是否必传请参见报名资质要求。",
  80970. "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
  80971. },
  80972. "item_code" : {
  80973. "type" : "string",
  80974. "description" : "服务优选商品编码",
  80975. "example" : "SS010301000000001234"
  80976. },
  80977. "merchant_pid" : {
  80978. "type" : "string",
  80979. "description" : "商家pid",
  80980. "example" : "2088301912341234"
  80981. },
  80982. "mini_appid" : {
  80983. "type" : "string",
  80984. "description" : "商家小程序appId",
  80985. "example" : "2021060612341234"
  80986. },
  80987. "out_biz_no" : {
  80988. "type" : "string",
  80989. "description" : "外部业务号,需不重复",
  80990. "example" : "2088100010001000"
  80991. },
  80992. "promotor_pid" : {
  80993. "type" : "string",
  80994. "description" : "推广服务商(S2)pid",
  80995. "example" : "2088301912341234"
  80996. }
  80997. }
  80998. },
  80999. "AlipayOpenSpMerchantInconsistentApproveResponseModel" : {
  81000. "type" : "object",
  81001. "properties" : {
  81002. "apply_no" : {
  81003. "type" : "string",
  81004. "description" : "申请单据编号",
  81005. "example" : "2021090912341234"
  81006. }
  81007. }
  81008. },
  81009. "AlipayOpenSpOperationApplyErrorResponseModel" : {
  81010. "required" : [ "code", "message" ],
  81011. "type" : "object",
  81012. "properties" : {
  81013. "code" : {
  81014. "type" : "string",
  81015. "description" : "错误码",
  81016. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ILLEGAL_MERCHANT_NO", "ILLEGAL_ALIPAY_ACCOUNT", "ILLEGAL_OPERATE_TYPE", "ILLEGAL_PRODUCT_CODE", "ILLEGAL_ISV_USER", "ILLEGAL_BIND_ACCOUNT", "ILLEGAL_INDIRECT_MERCHANT", "MERCHANT_HAS_BOUND", "MERCHANT_INFO_UNCOMPLETE", "SMID_WAIT_BIND_ACCOUNT_EMPTY", "WAIT_BIND_ACCOUNT_NO_MATCH", "SP_DISCARD", "ILLEGAL_PRODUCT_CODE_PERMISSIONS", "ILLEGAL_SCENE_OR_PERMISSIONS", "SECURITY_SYSTEM_ERROR", "SP_MERCHANT_RISK_FAIL", "SP_PAUSE_OR_DELETE" ]
  81017. },
  81018. "links" : {
  81019. "type" : "string",
  81020. "description" : "解决方案链接"
  81021. },
  81022. "message" : {
  81023. "type" : "string",
  81024. "description" : "错误描述"
  81025. }
  81026. }
  81027. },
  81028. "AlipayOpenSpOperationApplyModel" : {
  81029. "type" : "object",
  81030. "properties" : {
  81031. "access_product_code" : {
  81032. "type" : "string",
  81033. "description" : "接入的产品编号。 枚举如下:\t* OPENAPI_BIND_DEFAULT:操作类型为账号绑定。\t* OPENAPI_AUTH_DEFAULT:操作类型为代运营授权时。",
  81034. "example" : "OPENAPI_BIND_DEFAULT"
  81035. },
  81036. "alipay_account" : {
  81037. "type" : "string",
  81038. "description" : "支付宝登录账号,通常为手机号或者邮箱。\t间连场景必填。\t直连场景选填,特别注意merchant_no和alipay_account不能同时为空,都有值优先取merchant_no。",
  81039. "example" : "xxx@gmail.com"
  81040. },
  81041. "isv_scene_permissions" : {
  81042. "type" : "string",
  81043. "description" : "场景授权列表结构结构:场景codeA:权限code1,权限code2;场景codeB:权限code1,权限code2;\t说明:\t* 本参数和access_product_code只需要传一个。\t* 场景 + 权限Code含义:\t SHOP_MANAGE:SHOP_MANAGE_BASE:管理球房信息\t MINI_APP_OPER:MINI_APP_OPER_BASE:运营支付宝小程序\t PROMOTION_MANAGE:PROMOTION_MANAGE_BASE:运营营销活动\t OPERATION_POINTS:OPERATION_POINTS_BASE:管理运营积分\t INCENTIVE_POINT_MANAGE:INCENTIVE_POINT_MANAGE_BASE:管理激励点数",
  81044. "example" : "SHOP_MANAGE:SHOP_MANAGE_BASE;MINI_APP_OPER:MINI_APP_OPER_BASE;PROMOTION_MANAGE:PROMOTION_MANAGE_BASE;OPERATION_POINTS:OPERATION_POINTS_BASE"
  81045. },
  81046. "merchant_no" : {
  81047. "type" : "string",
  81048. "description" : "支付宝商户号。\t间连场景,merchant_no必填,传入商户smid,特别注意仅支持2088开头的间连商户。\t直连场景,merchant_no选填,传入商户支付宝pid,特别注意merchant_no和alipay_account不能同时为空,优先取merchant_no。",
  81049. "example" : "2088XXXX"
  81050. },
  81051. "operate_type" : {
  81052. "type" : "string",
  81053. "description" : "代运营操作类型。枚举如下:\t* ACCOUNT_BIND:代表绑定支付宝账号,仅对于间连商户。\t* OPERATION_AUTH:代表代运营授权,支持间连和直连商户,其中间连场景包含绑定支付宝账号。",
  81054. "example" : "ACCOUNT_BIND"
  81055. },
  81056. "out_biz_no" : {
  81057. "type" : "string",
  81058. "description" : "外部操作流水,ISV自定义。每次操作需要确保唯一。",
  81059. "example" : "2020124234523465636345634"
  81060. }
  81061. }
  81062. },
  81063. "AlipayOpenSpOperationApplyResponseModel" : {
  81064. "type" : "object",
  81065. "properties" : {
  81066. "batch_no" : {
  81067. "type" : "string",
  81068. "description" : "支付宝操作批次号",
  81069. "example" : "2020222342342"
  81070. },
  81071. "bind_account" : {
  81072. "$ref" : "#/components/schemas/RecommendAccountDTO"
  81073. },
  81074. "recommend_accounts" : {
  81075. "type" : "array",
  81076. "description" : "只针对服务商代间连商家发起代运营绑定、授权时,如果传递的alipay_account不符合绑定或授权要求,这个字段会返回推荐的商家支付宝账号列表,包括:支付宝账号和名称,为保护商家信息,账号和名称都按照规范脱敏。",
  81077. "items" : {
  81078. "$ref" : "#/components/schemas/RecommendAccountDTO"
  81079. }
  81080. }
  81081. }
  81082. },
  81083. "AlipayOpenSpOperationQrcodeQueryErrorResponseModel" : {
  81084. "required" : [ "code", "message" ],
  81085. "type" : "object",
  81086. "properties" : {
  81087. "code" : {
  81088. "type" : "string",
  81089. "description" : "错误码",
  81090. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ILLEGAL_MERCHANT_NO", "ILLEGAL_ALIPAY_ACCOUNT", "ILLEGAL_OPERATE_TYPE", "ILLEGAL_PRODUCT_CODE", "ILLEGAL_ISV_USER", "ILLEGAL_BIND_ACCOUNT", "ILLEGAL_INDIRECT_MERCHANT", "MERCHANT_HAS_BOUND", "MERCHANT_INFO_UNCOMPLETE", "SMID_WAIT_BIND_ACCOUNT_EMPTY", "SP_DISCARD", "ILLEGAL_PRODUCT_CODE_PERMISSIONS", "ILLEGAL_SCENE_OR_PERMISSIONS", "SP_MERCHANT_RISK_FAIL", "SECURITY_SYSTEM_ERROR", "SP_PAUSE_OR_DELETE" ]
  81091. },
  81092. "links" : {
  81093. "type" : "string",
  81094. "description" : "解决方案链接"
  81095. },
  81096. "message" : {
  81097. "type" : "string",
  81098. "description" : "错误描述"
  81099. }
  81100. }
  81101. },
  81102. "AlipayOpenSpOperationQrcodeQueryResponseModel" : {
  81103. "type" : "object",
  81104. "properties" : {
  81105. "batch_no" : {
  81106. "type" : "string",
  81107. "description" : "支付宝操作批次号",
  81108. "example" : "2020222342342"
  81109. },
  81110. "bind_account" : {
  81111. "$ref" : "#/components/schemas/RecommendAccountDTO"
  81112. },
  81113. "qr_code_url" : {
  81114. "type" : "string",
  81115. "description" : "二维码图片地址,urlEncode处理过。\t注意:\t1.有效期为24h;\t2.用户扫码确认授权操作(同意/拒绝)后,支付宝将通过<a href=\"https://opendocs.alipay.com/apis/01lc2d\">alipay.open.sp.operation.result.notify</a>接口发送异步通知给服务商。",
  81116. "example" : "http://qrcode.alipay.com/adadadad.jpg"
  81117. },
  81118. "recommend_account_list" : {
  81119. "type" : "array",
  81120. "description" : "只针对服务商代间连商家发起代运营绑定、授权时,如果传递的alipay_account不符合绑定或授权要求,这个字段会返回推荐的商家支付宝账号列表,包括:支付宝账号和名称,为保护商家信息,账号和名称都按照规范脱敏。",
  81121. "items" : {
  81122. "$ref" : "#/components/schemas/RecommendAccountDTO"
  81123. }
  81124. },
  81125. "recommend_accounts" : {
  81126. "$ref" : "#/components/schemas/RecommendAccountDTO"
  81127. }
  81128. }
  81129. },
  81130. "AlipayOpenSpOperationResultQueryErrorResponseModel" : {
  81131. "required" : [ "code", "message" ],
  81132. "type" : "object",
  81133. "properties" : {
  81134. "code" : {
  81135. "type" : "string",
  81136. "description" : "错误码",
  81137. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "NO_PERMISSION", "AUTH_RECORD_LOSE", "BIND_RECORD_LOSE", "ILLEGAL_ISV_USER", "WAIT_BIND_ACCOUNT_NO_MATCH", "SMID_WAIT_BIND_ACCOUNT_EMPTY", "ILLEGAL_INDIRECT_MERCHANT", "ILLEGAL_ALIPAY_ACCOUNT", "ILLEGAL_PRODUCT_CODE", "ILLEGAL_BIND_ACCOUNT", "ILLEGAL_OPERATE_TYPE", "ILLEGAL_MERCHANT_NO", "SP_DISCARD", "ILLEGAL_PRODUCT_CODE_PERMISSIONS", "ILLEGAL_SCENE_OR_PERMISSIONS", "SP_PAUSE_OR_DELETE" ]
  81138. },
  81139. "links" : {
  81140. "type" : "string",
  81141. "description" : "解决方案链接"
  81142. },
  81143. "message" : {
  81144. "type" : "string",
  81145. "description" : "错误描述"
  81146. }
  81147. }
  81148. },
  81149. "AlipayOpenSpOperationResultQueryResponseModel" : {
  81150. "type" : "object",
  81151. "properties" : {
  81152. "bind_user_id" : {
  81153. "type" : "string",
  81154. "description" : "商户支付宝pid。仅间连场景,且存在绑定关系时返回值。",
  81155. "example" : "2088XXXX"
  81156. },
  81157. "handle_status" : {
  81158. "type" : "string",
  81159. "description" : "代运营操作结果。\tSUCCESS:代表成功。\tPROCESS:待商家确认中。\tNO_PERMISSION:表示当前商家支付宝账号无权限操作。需要提醒商家切换成发起授权时指定的支付宝账号。\tNONE:表示不存在代运营绑定或授权关系。\tNONE_ACCOUNT:间连商家推荐支付宝账号列表为空。",
  81160. "example" : "SUCCESS"
  81161. },
  81162. "merchant_no" : {
  81163. "type" : "string",
  81164. "description" : "支付宝商户号。间连场景为商户smid,直连场景为商户支付宝pid",
  81165. "example" : "2088XXX"
  81166. }
  81167. }
  81168. },
  81169. "AlipayOpenSpOpporDetailQueryErrorResponseModel" : {
  81170. "required" : [ "code", "message" ],
  81171. "type" : "object",
  81172. "properties" : {
  81173. "code" : {
  81174. "type" : "string",
  81175. "description" : "错误码",
  81176. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ISV_NOT_IN_WHITELIST" ]
  81177. },
  81178. "links" : {
  81179. "type" : "string",
  81180. "description" : "解决方案链接"
  81181. },
  81182. "message" : {
  81183. "type" : "string",
  81184. "description" : "错误描述"
  81185. }
  81186. }
  81187. },
  81188. "AlipayOpenSpOpporDetailQueryResponseModel" : {
  81189. "type" : "object",
  81190. "properties" : {
  81191. "address" : {
  81192. "type" : "string",
  81193. "description" : "商机地址",
  81194. "example" : "紫金港路与文二西路交叉口向西500米西城广场"
  81195. },
  81196. "leads_id" : {
  81197. "type" : "string",
  81198. "description" : "商机Id",
  81199. "example" : "2022032304216502"
  81200. },
  81201. "name" : {
  81202. "type" : "string",
  81203. "description" : "商机名称",
  81204. "example" : "智能美业"
  81205. },
  81206. "oppor_id" : {
  81207. "type" : "string",
  81208. "description" : "商机作业Id",
  81209. "example" : "2022041403518351"
  81210. },
  81211. "out_biz_no" : {
  81212. "type" : "string",
  81213. "description" : "外部幂等唯一键",
  81214. "example" : "2021110900796459"
  81215. },
  81216. "phone" : {
  81217. "type" : "string",
  81218. "description" : "商机联系电话",
  81219. "example" : "17003802762"
  81220. },
  81221. "status" : {
  81222. "type" : "string",
  81223. "description" : "商机作业状态",
  81224. "example" : "EXPAND_FAILED"
  81225. }
  81226. }
  81227. },
  81228. "AlipayOpenSpOpporFeedbackModifyErrorResponseModel" : {
  81229. "required" : [ "code", "message" ],
  81230. "type" : "object",
  81231. "properties" : {
  81232. "code" : {
  81233. "type" : "string",
  81234. "description" : "错误码",
  81235. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ISV_NOT_IN_WHITELIST" ]
  81236. },
  81237. "links" : {
  81238. "type" : "string",
  81239. "description" : "解决方案链接"
  81240. },
  81241. "message" : {
  81242. "type" : "string",
  81243. "description" : "错误描述"
  81244. }
  81245. }
  81246. },
  81247. "AlipayOpenSpOpporFeedbackModifyModel" : {
  81248. "type" : "object",
  81249. "properties" : {
  81250. "expand_result" : {
  81251. "type" : "string",
  81252. "description" : "拓展助手商机拓展结果",
  81253. "example" : "EXPANDED/EXPAND_FAILED"
  81254. },
  81255. "isv_pid" : {
  81256. "type" : "string",
  81257. "description" : "服务商pid",
  81258. "example" : "2088501013445414"
  81259. },
  81260. "leads_id" : {
  81261. "type" : "string",
  81262. "description" : "商机id",
  81263. "example" : "2022032304216502"
  81264. },
  81265. "merchant_pid" : {
  81266. "type" : "string",
  81267. "description" : "拓展助手商机商家pid",
  81268. "example" : "2088341444815673"
  81269. },
  81270. "oppor_id" : {
  81271. "type" : "string",
  81272. "description" : "商机作业id",
  81273. "example" : "2022041403518351"
  81274. },
  81275. "sn" : {
  81276. "type" : "string",
  81277. "description" : "拓展设备sn号",
  81278. "example" : "sn"
  81279. }
  81280. }
  81281. },
  81282. "AlipayOpenSpOpporFeedbackModifyResponseModel" : {
  81283. "type" : "object",
  81284. "properties" : {
  81285. "msg" : {
  81286. "type" : "string",
  81287. "description" : "商机拓展结果反馈结果失败描述",
  81288. "example" : "msg"
  81289. },
  81290. "success" : {
  81291. "type" : "boolean",
  81292. "description" : "商机拓展结果反馈结果是否成功",
  81293. "example" : "true"
  81294. }
  81295. }
  81296. },
  81297. "AlipayOpenSpOpporPageQueryErrorResponseModel" : {
  81298. "required" : [ "code", "message" ],
  81299. "type" : "object",
  81300. "properties" : {
  81301. "code" : {
  81302. "type" : "string",
  81303. "description" : "错误码",
  81304. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ISV_NOT_IN_WHITELIST" ]
  81305. },
  81306. "links" : {
  81307. "type" : "string",
  81308. "description" : "解决方案链接"
  81309. },
  81310. "message" : {
  81311. "type" : "string",
  81312. "description" : "错误描述"
  81313. }
  81314. }
  81315. },
  81316. "AlipayOpenSpOpporPageQueryResponseModel" : {
  81317. "type" : "object",
  81318. "properties" : {
  81319. "current_page" : {
  81320. "type" : "integer",
  81321. "description" : "当前页码",
  81322. "example" : "1"
  81323. },
  81324. "oppor_list" : {
  81325. "type" : "array",
  81326. "description" : "商机作业记录列表",
  81327. "items" : {
  81328. "$ref" : "#/components/schemas/IsvExpandOpporDTO"
  81329. }
  81330. },
  81331. "page_size" : {
  81332. "type" : "integer",
  81333. "description" : "每页数量",
  81334. "example" : "10"
  81335. },
  81336. "total_size" : {
  81337. "type" : "integer",
  81338. "description" : "总记录数",
  81339. "example" : "10"
  81340. }
  81341. }
  81342. },
  81343. "AlipayOpenViolationViolationdetailQueryErrorResponseModel" : {
  81344. "required" : [ "code", "message" ],
  81345. "type" : "object",
  81346. "properties" : {
  81347. "code" : {
  81348. "type" : "string",
  81349. "description" : "错误码",
  81350. "enum" : [ "AUTHORITY_ILLEGAL", "ILLEGAL_PARAMS", "SYSTEM_ERROR" ]
  81351. },
  81352. "links" : {
  81353. "type" : "string",
  81354. "description" : "解决方案链接"
  81355. },
  81356. "message" : {
  81357. "type" : "string",
  81358. "description" : "错误描述"
  81359. }
  81360. }
  81361. },
  81362. "AlipayOpenViolationViolationdetailQueryResponseModel" : {
  81363. "type" : "object",
  81364. "properties" : {
  81365. "appeal_dead_line" : {
  81366. "type" : "string",
  81367. "description" : "申诉截止日期。\t即商户可进行申诉的截止日期,若超过该时间未申诉或申诉不通过,平台不提供申诉机会,维持原处罚结果;若该时间内完成申诉且申诉通过,平台将撤销对商户的处罚",
  81368. "example" : "2020-01-01 00:00:01"
  81369. },
  81370. "appeal_reply_records" : {
  81371. "type" : "array",
  81372. "description" : "商家申诉记录",
  81373. "items" : {
  81374. "$ref" : "#/components/schemas/ReplyRecord"
  81375. }
  81376. },
  81377. "can_appeal" : {
  81378. "type" : "boolean",
  81379. "description" : "商家是否可以申诉",
  81380. "example" : "true"
  81381. },
  81382. "can_rectify" : {
  81383. "type" : "boolean",
  81384. "description" : "商家是否可以整改",
  81385. "example" : "true"
  81386. },
  81387. "punish_action" : {
  81388. "type" : "array",
  81389. "description" : "处罚动作及有效期",
  81390. "items" : {
  81391. "type" : "string"
  81392. },
  81393. "example" : "[ \"警告_2020-02-14 14:23:12-2020-03-14 14:23:12\",\"小程序应用下架_2020-02-14 14:23:12-2020-03-14 14:23:12\"]"
  81394. },
  81395. "rectify_dead_line" : {
  81396. "type" : "string",
  81397. "description" : "截止整改时间。即商户可进行整改的截止日期,若超过该时间未整改或整改不通过,平台将对商户进行处罚,若该时间内完成整改且整改通过,平台对商户不处罚",
  81398. "example" : "2020-01-01 00:00:01"
  81399. },
  81400. "rectify_reply_records" : {
  81401. "type" : "array",
  81402. "description" : "商家整改记录",
  81403. "items" : {
  81404. "$ref" : "#/components/schemas/ReplyRecord"
  81405. }
  81406. },
  81407. "status" : {
  81408. "type" : "string",
  81409. "description" : "违规工单状态枚举:\tPUNISH_DONE:处罚生效中\tPUNISH_APPEAL_REVOKED:处罚已撤销\tPUNISH_INVALID_REVOKED:处罚已到期\tWAITING_RECTIFY:待整改 \tRECTIFY_AUDITOR_PROCESSING:整改审核中\tRECTIFY_REJECTED:整改不通过\tRECTIFY_PASSED:整改通过\tRECTIFY_TIMEOUT :整改已超时",
  81410. "example" : "PUNISH_DONE"
  81411. },
  81412. "surplus_appeal_cnt" : {
  81413. "type" : "string",
  81414. "description" : "剩余申诉次数。\t即在申诉截止日期内,平台允许商家申诉的次数,当商户提交申诉但申诉未通过时,剩余申诉次数减1,当整改次数为0,不管是否在整改截止日期内,平台将对商户进行处罚",
  81415. "example" : "3"
  81416. },
  81417. "surplus_rectify_cnt" : {
  81418. "type" : "string",
  81419. "description" : "剩余整改次数。即在整改截止日期内,平台允许商家整改的次数,当商户提交整改但整改未通过时,剩余整改次数减1,当整改次数为0,不管是否在整改截止日期内,平台将对商户进行处罚",
  81420. "example" : "3"
  81421. },
  81422. "target_id" : {
  81423. "type" : "string",
  81424. "description" : "违规对象ID",
  81425. "example" : "2022000000000011"
  81426. },
  81427. "target_name" : {
  81428. "type" : "string",
  81429. "description" : "违规对象名称",
  81430. "example" : "xxx测试小程序"
  81431. },
  81432. "target_type" : {
  81433. "type" : "string",
  81434. "description" : "违规对象类型\t小程序ID:APPID\t生活号ID:PUBLICID",
  81435. "example" : "APPID"
  81436. },
  81437. "violation_evidence" : {
  81438. "type" : "array",
  81439. "description" : "平台判定商家违规凭证",
  81440. "items" : {
  81441. "$ref" : "#/components/schemas/AuditEvidenceInfo"
  81442. }
  81443. },
  81444. "violation_reason" : {
  81445. "type" : "string",
  81446. "description" : "违规原因",
  81447. "example" : "营销推广内容中出现的原价或参考价并无实际销售记录,诱导用户参与或下单交易/服务的行为。"
  81448. },
  81449. "violation_record_id" : {
  81450. "type" : "string",
  81451. "description" : "支付宝侧生成的违规记录唯一标识",
  81452. "example" : "20220524001020000000000001"
  81453. },
  81454. "violation_time" : {
  81455. "type" : "string",
  81456. "description" : "违规时间",
  81457. "example" : "2020-01-01 00:00:01"
  81458. },
  81459. "violation_type" : {
  81460. "type" : "string",
  81461. "description" : "即平台依据平台规范/规则,判定商户的违规类型",
  81462. "example" : "数据和系统安全/敏感参数泄露风险"
  81463. }
  81464. }
  81465. },
  81466. "AlipayOpenViolationViolationeventBatchqueryErrorResponseModel" : {
  81467. "required" : [ "code", "message" ],
  81468. "type" : "object",
  81469. "properties" : {
  81470. "code" : {
  81471. "type" : "string",
  81472. "description" : "错误码",
  81473. "enum" : [ "AUTHORITY_ILLEGAL", "ILLEGAL_PARAMS", "SYSTEM_ERROR" ]
  81474. },
  81475. "links" : {
  81476. "type" : "string",
  81477. "description" : "解决方案链接"
  81478. },
  81479. "message" : {
  81480. "type" : "string",
  81481. "description" : "错误描述"
  81482. }
  81483. }
  81484. },
  81485. "AlipayOpenViolationViolationeventBatchqueryModel" : {
  81486. "type" : "object",
  81487. "properties" : {
  81488. "begin_time" : {
  81489. "type" : "string",
  81490. "description" : "查询开始时间 时间格式:yyyy-MM-dd HH:mm:ss 若不填写,则默认当前时间30天前。 注意:begin_time和end_time时间跨度最大一年",
  81491. "example" : "2020-01-01 00:00:01"
  81492. },
  81493. "end_time" : {
  81494. "type" : "string",
  81495. "description" : "查询结束时间 时间格式:yyyy-MM-dd HH:mm:ss 若不填写,则默认当前时间。 注意:begin_time和end_time时间跨度最大一年",
  81496. "example" : "2020-01-01 00:00:01"
  81497. },
  81498. "status" : {
  81499. "type" : "string",
  81500. "description" : "违规工单状态枚举:\tPUNISH_DONE:处罚生效中\tPUNISH_APPEAL_REVOKED:处罚已撤销\tPUNISH_INVALID_REVOKED:处罚已到期\tWAITING_RECTIFY:待整改 \tRECTIFY_AUDITOR_PROCESSING:整改审核中\tRECTIFY_REJECTED:整改不通过\tRECTIFY_PASSED:整改通过\tRECTIFY_TIMEOUT :整改已超时",
  81501. "example" : "PUNISH_DONE"
  81502. }
  81503. }
  81504. },
  81505. "AlipayOpenViolationViolationeventBatchqueryResponseModel" : {
  81506. "type" : "object",
  81507. "properties" : {
  81508. "violation_record_infos" : {
  81509. "$ref" : "#/components/schemas/ViolationEvent"
  81510. }
  81511. }
  81512. },
  81513. "AlipayPcreditHuabeiAuthAccumulationQueryErrorResponseModel" : {
  81514. "required" : [ "code", "message" ],
  81515. "type" : "object",
  81516. "properties" : {
  81517. "code" : {
  81518. "type" : "string",
  81519. "description" : "错误码",
  81520. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_NOT_EXIST", "CALL_LIMITED", "INVALID_PERIOD" ]
  81521. },
  81522. "links" : {
  81523. "type" : "string",
  81524. "description" : "解决方案链接"
  81525. },
  81526. "message" : {
  81527. "type" : "string",
  81528. "description" : "错误描述"
  81529. }
  81530. }
  81531. },
  81532. "AlipayPcreditHuabeiAuthAccumulationQueryResponseModel" : {
  81533. "type" : "object",
  81534. "properties" : {
  81535. "pay_amount" : {
  81536. "type" : "string",
  81537. "description" : "本周期内支付宝端根据用户消费情况试算出的应付费用,仅供参考使用。",
  81538. "example" : "3.75"
  81539. },
  81540. "total_discount_amount" : {
  81541. "type" : "string",
  81542. "description" : "本周期内用户累计享受的优惠金额",
  81543. "example" : "2.15"
  81544. },
  81545. "total_pay_count" : {
  81546. "type" : "string",
  81547. "description" : "本周期内用户总的消费次数",
  81548. "example" : "2"
  81549. },
  81550. "total_real_pay_amount" : {
  81551. "type" : "string",
  81552. "description" : "本周期内用户累计支付宝付款金额",
  81553. "example" : "3.75"
  81554. }
  81555. }
  81556. },
  81557. "AlipayPcreditHuabeiAuthAgreementCloseErrorResponseModel" : {
  81558. "required" : [ "code", "message" ],
  81559. "type" : "object",
  81560. "properties" : {
  81561. "code" : {
  81562. "type" : "string",
  81563. "description" : "错误码",
  81564. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_NOT_EXIST", "NOT_ALLOW_CLOSE", "AGREEMENT_ERROR" ]
  81565. },
  81566. "links" : {
  81567. "type" : "string",
  81568. "description" : "解决方案链接"
  81569. },
  81570. "message" : {
  81571. "type" : "string",
  81572. "description" : "错误描述"
  81573. }
  81574. }
  81575. },
  81576. "AlipayPcreditHuabeiAuthAgreementCloseModel" : {
  81577. "type" : "object",
  81578. "properties" : {
  81579. "agreement_no" : {
  81580. "type" : "string",
  81581. "description" : "花芝协议号,支付宝系统中用以唯一标识用户签约记录的编号,即花芝协议号。",
  81582. "example" : "20195609549841482443"
  81583. },
  81584. "alipay_user_id" : {
  81585. "type" : "string",
  81586. "description" : "买家在支付宝的用户id",
  81587. "example" : "2088101117955611"
  81588. },
  81589. "open_id" : {
  81590. "type" : "string",
  81591. "description" : "买家在支付宝的用户id",
  81592. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  81593. },
  81594. "out_request_no" : {
  81595. "type" : "string",
  81596. "description" : "外部请求号",
  81597. "example" : "2019080910020821390001569835"
  81598. },
  81599. "partner_id" : {
  81600. "type" : "string",
  81601. "description" : "商户ID",
  81602. "example" : "2088101117955611"
  81603. },
  81604. "quit_type" : {
  81605. "type" : "string",
  81606. "description" : "用户主动意愿退出:USER_CANCEL_QUIT; 商户结算退出:SETTLE_APPLY_QUIT; 默认值为SETTLE_APPLY_QUIT;这个字段会影响用户在芝麻信用合约的状态",
  81607. "example" : "SETTLE_APPLY_QUIT"
  81608. }
  81609. }
  81610. },
  81611. "AlipayPcreditHuabeiAuthAgreementCloseResponseModel" : {
  81612. "type" : "object",
  81613. "properties" : {
  81614. "out_request_no" : {
  81615. "type" : "string",
  81616. "description" : "外部请求号",
  81617. "example" : "2019080910020821390001569835"
  81618. }
  81619. }
  81620. },
  81621. "AlipayPcreditHuabeiAuthAgreementQueryErrorResponseModel" : {
  81622. "required" : [ "code", "message" ],
  81623. "type" : "object",
  81624. "properties" : {
  81625. "code" : {
  81626. "type" : "string",
  81627. "description" : "错误码",
  81628. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_NOT_EXIST", "CALL_LIMITED" ]
  81629. },
  81630. "links" : {
  81631. "type" : "string",
  81632. "description" : "解决方案链接"
  81633. },
  81634. "message" : {
  81635. "type" : "string",
  81636. "description" : "错误描述"
  81637. }
  81638. }
  81639. },
  81640. "AlipayPcreditHuabeiAuthAgreementQueryResponseModel" : {
  81641. "type" : "object",
  81642. "properties" : {
  81643. "agreement_name" : {
  81644. "type" : "string",
  81645. "description" : "协议名称",
  81646. "example" : "花呗先享会员"
  81647. },
  81648. "agreement_no" : {
  81649. "type" : "string",
  81650. "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花芝轻会员协议号。",
  81651. "example" : "20185513447859192007"
  81652. },
  81653. "agreement_status" : {
  81654. "type" : "string",
  81655. "description" : "协议状态。Y表示状态有效,N表示状态失效",
  81656. "example" : "Y"
  81657. },
  81658. "alipay_user_id" : {
  81659. "type" : "string",
  81660. "description" : "支付宝用户userId",
  81661. "example" : "2088302424419340"
  81662. },
  81663. "auth_scene" : {
  81664. "type" : "string",
  81665. "description" : "花芝轻会员签约场景,商户和支付宝签约时确定,商户接入时需要咨询技术支持。",
  81666. "example" : "EXTERNAL_PCARD"
  81667. },
  81668. "external_logon_id" : {
  81669. "type" : "string",
  81670. "description" : "用户在商户网站的登录账号",
  81671. "example" : "sample@126.com"
  81672. },
  81673. "gmt_sign" : {
  81674. "type" : "string",
  81675. "description" : "签约时间。如果是在签状态,返回签约时间。",
  81676. "example" : "2018-09-15 11:23:04"
  81677. },
  81678. "gmt_unsign" : {
  81679. "type" : "string",
  81680. "description" : "花芝轻会员协议解约时间。如果是解约状态,才返回该字段。",
  81681. "example" : "2018-09-15 11:23:04"
  81682. },
  81683. "open_id" : {
  81684. "type" : "string",
  81685. "description" : "支付宝用户userId",
  81686. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  81687. },
  81688. "out_biz_type" : {
  81689. "type" : "string",
  81690. "description" : "外部业务类型,用于区分本次业务交互在商户侧具体的业务类别,提供给商家进行特定逻辑的处理",
  81691. "example" : "NORMAL_BIZ_TYPE"
  81692. },
  81693. "out_sign_no" : {
  81694. "type" : "string",
  81695. "description" : "外部签约号,由商户提供,花芝轻会员协议中标识用户的唯一签约号(确保在商户系统中唯一)。由商户签约时传入,最终返回给商户。",
  81696. "example" : "2018053100073208416400000002"
  81697. },
  81698. "rest_freeze_amount" : {
  81699. "type" : "string",
  81700. "description" : "用户在本花芝轻会员协议中,剩余的总冻结额度(资金池总余额),数值能实时准确,可以用于核对。两位小数,单位元。",
  81701. "example" : "200.00"
  81702. }
  81703. }
  81704. },
  81705. "AlipayPcreditHuabeiAuthOrderQueryErrorResponseModel" : {
  81706. "required" : [ "code", "message" ],
  81707. "type" : "object",
  81708. "properties" : {
  81709. "code" : {
  81710. "type" : "string",
  81711. "description" : "错误码",
  81712. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ORDER_NOT_EXIST", "CALL_LIMITED", "UNSUPPORT_OPERATION" ]
  81713. },
  81714. "links" : {
  81715. "type" : "string",
  81716. "description" : "解决方案链接"
  81717. },
  81718. "message" : {
  81719. "type" : "string",
  81720. "description" : "错误描述"
  81721. }
  81722. }
  81723. },
  81724. "AlipayPcreditHuabeiAuthOrderQueryResponseModel" : {
  81725. "type" : "object",
  81726. "properties" : {
  81727. "agreement_no" : {
  81728. "type" : "string",
  81729. "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花呗先享协议号。",
  81730. "example" : "20185513447859192007"
  81731. },
  81732. "alipay_user_id" : {
  81733. "type" : "string",
  81734. "description" : "支付宝用户userId",
  81735. "example" : "2088302424419340"
  81736. },
  81737. "auth_opt_id" : {
  81738. "type" : "string",
  81739. "description" : "支付宝侧花呗冻结解冻操作单据id",
  81740. "example" : "2018081010020817070009689955"
  81741. },
  81742. "gmt_trans" : {
  81743. "type" : "string",
  81744. "description" : "业务操作完成时间",
  81745. "example" : "2018-09-15 11:23:04"
  81746. },
  81747. "open_id" : {
  81748. "type" : "string",
  81749. "description" : "支付宝用户userId",
  81750. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  81751. },
  81752. "order_title" : {
  81753. "type" : "string",
  81754. "description" : "商户业务订单的简单描述,如商品名称等,长度不超过100个字母或50个汉字",
  81755. "example" : "饿了么花呗先享超级会员续费冻结"
  81756. },
  81757. "out_request_no" : {
  81758. "type" : "string",
  81759. "description" : "商户本次操作的请求流水号",
  81760. "example" : "8077735255938032"
  81761. },
  81762. "rest_freeze_amount" : {
  81763. "type" : "string",
  81764. "description" : "完成本次操作时,用户资金池余额快照。仅作提示用,请勿用于核对,并发情况下数值有可能不准确。两位小数,单位元。",
  81765. "example" : "200.00"
  81766. },
  81767. "seller_id" : {
  81768. "type" : "string",
  81769. "description" : "商户的支付宝用户id",
  81770. "example" : "2088102146225135"
  81771. },
  81772. "trans_amount" : {
  81773. "type" : "string",
  81774. "description" : "冻结或者解冻金额",
  81775. "example" : "操作金额"
  81776. },
  81777. "trans_status" : {
  81778. "type" : "string",
  81779. "description" : "业务操作状态,Y表示成功结束;N表示失败结束;I表示进行中。",
  81780. "example" : "Y"
  81781. },
  81782. "trans_type" : {
  81783. "type" : "string",
  81784. "description" : "操作类型,FREEZE表示冻结操作;UNFREEZE表示解冻操作;PAY表示支付操作;SETTLE表示结算操作",
  81785. "example" : "FREEZE"
  81786. }
  81787. }
  81788. },
  81789. "AlipayPcreditHuabeiAuthOrderUnfreezeErrorResponseModel" : {
  81790. "required" : [ "code", "message" ],
  81791. "type" : "object",
  81792. "properties" : {
  81793. "code" : {
  81794. "type" : "string",
  81795. "description" : "错误码",
  81796. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "MERCHANT_STATUS_IS_NOT_NORMAL", "AGREEMENT_NOT_EXIST", "BALANCE_CHECK_ERROR", "AGREEMENT_EXPIRED", "SELLER_NOT_MATCH", "BUYER_SELLER_EQUAL", "CALL_LIMITED", "ORDER_IDEMPOTENT_ERROR" ]
  81797. },
  81798. "links" : {
  81799. "type" : "string",
  81800. "description" : "解决方案链接"
  81801. },
  81802. "message" : {
  81803. "type" : "string",
  81804. "description" : "错误描述"
  81805. }
  81806. }
  81807. },
  81808. "AlipayPcreditHuabeiAuthOrderUnfreezeModel" : {
  81809. "type" : "object",
  81810. "properties" : {
  81811. "agreement_no" : {
  81812. "type" : "string",
  81813. "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花呗先享协议号",
  81814. "example" : "20185513447859192007"
  81815. },
  81816. "alipay_user_id" : {
  81817. "type" : "string",
  81818. "description" : "买家在支付宝的用户id",
  81819. "example" : "2088101117955611"
  81820. },
  81821. "need_terminated" : {
  81822. "type" : "string",
  81823. "description" : "true表示需要解约。false或者不填写表示仅解冻。",
  81824. "example" : "'false'"
  81825. },
  81826. "open_id" : {
  81827. "type" : "string",
  81828. "description" : "买家在支付宝的用户id",
  81829. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  81830. },
  81831. "order_title" : {
  81832. "type" : "string",
  81833. "description" : "商户业务订单的简单描述,如商品名称等,长度不超过100个字母或50个汉字",
  81834. "example" : "饿了么花呗先享超级会员撤销"
  81835. },
  81836. "out_request_no" : {
  81837. "type" : "string",
  81838. "description" : "商户本次操作的请求流水号,用于标识请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。",
  81839. "example" : "8077735255938032"
  81840. },
  81841. "seller_id" : {
  81842. "type" : "string",
  81843. "description" : "商户的支付宝用户id。如果该值为空,则默认为商户签约账号对应的支付宝用户ID。",
  81844. "example" : "2088102146225135"
  81845. },
  81846. "unfreeze_amount" : {
  81847. "type" : "string",
  81848. "description" : "需要解冻的金额,单位为:元(人民币),精确到小数点后两位",
  81849. "example" : "3.00"
  81850. }
  81851. }
  81852. },
  81853. "AlipayPcreditHuabeiAuthOrderUnfreezeResponseModel" : {
  81854. "type" : "object",
  81855. "properties" : {
  81856. "agreement_no" : {
  81857. "type" : "string",
  81858. "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花呗先享协议号",
  81859. "example" : "20185513447859192007"
  81860. },
  81861. "agreement_status" : {
  81862. "type" : "string",
  81863. "description" : "协议状态。Y表示状态有效,N表示状态失效",
  81864. "example" : "Y"
  81865. },
  81866. "alipay_user_id" : {
  81867. "type" : "string",
  81868. "description" : "买家在支付宝的用户id",
  81869. "example" : "2088101117955611"
  81870. },
  81871. "auth_opt_id" : {
  81872. "type" : "string",
  81873. "description" : "支付宝侧花呗冻结解冻操作单据id",
  81874. "example" : "2018081010020817070009689955"
  81875. },
  81876. "gmt_trans" : {
  81877. "type" : "string",
  81878. "description" : "解冻成功时间",
  81879. "example" : "2014-09-15 11:23:04"
  81880. },
  81881. "open_id" : {
  81882. "type" : "string",
  81883. "description" : "买家在支付宝的用户id",
  81884. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  81885. },
  81886. "out_request_no" : {
  81887. "type" : "string",
  81888. "description" : "商户本次操作的请求流水号,用于标识请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。由商户传入,最终返回给商户。",
  81889. "example" : "8077735255938032"
  81890. },
  81891. "rest_freeze_amount" : {
  81892. "type" : "string",
  81893. "description" : "完成本次操作时,用户资金池余额快照。仅作提示用,请勿用于核对,并发情况下数值有可能不准确。两位小数,单位元。",
  81894. "example" : "200.00"
  81895. },
  81896. "seller_id" : {
  81897. "type" : "string",
  81898. "description" : "商户的支付宝用户id",
  81899. "example" : "2088411663864410"
  81900. },
  81901. "trans_status" : {
  81902. "type" : "string",
  81903. "description" : "业务操作状态,Y表示成功;N表示失败。",
  81904. "example" : "Y"
  81905. },
  81906. "unfreeze_amount" : {
  81907. "type" : "string",
  81908. "description" : "解冻金额",
  81909. "example" : "3.00"
  81910. }
  81911. }
  81912. },
  81913. "AlipayPcreditHuabeiAuthRefundApplyErrorResponseModel" : {
  81914. "required" : [ "code", "message" ],
  81915. "type" : "object",
  81916. "properties" : {
  81917. "code" : {
  81918. "type" : "string",
  81919. "description" : "错误码",
  81920. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_NOT_EXIST", "REFUND_AMOUNT_CHECK_ERROR", "REQUEST_PARAM_ILLEGAL", "REQUEST_ACCESS_ILLEGAL", "REFUND_PARAM_IS_ERROR", "REFUND_AGREEMENT_STATUS_NOT_SUPPORT", "AUTH_OPT_ORDER_NOT_EXIST", "REFUND_OPT_ORDER_NOT_UNIQUE", "REFUND_OPT_ORDER_NOT_EXIST", "REFUND_TRADE_NO_NOT_EXIST", "REFUND_REQUEST_NO_IDEMPOTENT_FAIL", "REFUND_AGREEMENT_AND_USER_NOT_MATCH", "REFUND_AMOUNT_IS_ILLEGAL", "REFUND_PAY_AMOUNT_IS_EMPTY", "REFUND_AMOUNT_IS_ZERO", "REFUND_TRADE_NO_AND_AUTH_OPT_NOT_MATCH", "REFUND_PARAM_OPT_ORDER_AND_TRADE_NO_ALL_EMPTY", "REFUND_AGREEMENT_AND_PARTNER_NOT_MATCH", "REFUND_LAST_TIME_SUCCESS", "REFUND_LAST_TIME_FAIL", "REFUND_LAST_TIME_INIT", "REFUND_AGREEMENT_NOT_EXIST", "UNITRADEPROD_EXECUTE_ERROR", "TRADE_HAS_CLOSE", "SELLER_BALANCE_NOT_ENOUGH", "REFUND_AMT_NOT_EQUAL_TOTAL", "TRADE_NOT_EXIST", "TRADE_HAS_FINISHED", "REASON_TRADE_REFUND_FEE_ERR", "TRADE_NOT_ALLOW_REFUND", "REFUND_FEE_ERROR", "REASON_TRADE_BEEN_FREEZEN", "TRADE_STATUS_ERROR", "PARAM_ERROR", "REFUND_LAST_TIME_ACCEPT", "REFUND_PAY_AMOUNT_IS_ZERO" ]
  81921. },
  81922. "links" : {
  81923. "type" : "string",
  81924. "description" : "解决方案链接"
  81925. },
  81926. "message" : {
  81927. "type" : "string",
  81928. "description" : "错误描述"
  81929. }
  81930. }
  81931. },
  81932. "AlipayPcreditHuabeiAuthRefundApplyModel" : {
  81933. "type" : "object",
  81934. "properties" : {
  81935. "agreement_no" : {
  81936. "type" : "string",
  81937. "description" : "签约花芝的业务协议号,在签约成功、结算成功等通知中回回传给商户。",
  81938. "example" : "20205105001164318008"
  81939. },
  81940. "alipay_user_id" : {
  81941. "type" : "string",
  81942. "description" : "支付宝用户ID",
  81943. "example" : "2088302841345600"
  81944. },
  81945. "auth_opt_id" : {
  81946. "type" : "string",
  81947. "description" : "支付宝侧授权操作单据id,在结算扣款成功的通知消息中会回传。在周期扣款场景下,和trade_no必传其中一个值。",
  81948. "example" : "2018041721001001230571065758"
  81949. },
  81950. "memo" : {
  81951. "type" : "string",
  81952. "description" : "本次退款说明",
  81953. "example" : "退款"
  81954. },
  81955. "open_id" : {
  81956. "type" : "string",
  81957. "description" : "支付宝用户ID",
  81958. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  81959. },
  81960. "out_request_no" : {
  81961. "type" : "string",
  81962. "description" : "外部请求号",
  81963. "example" : "99202005050100930053707258"
  81964. },
  81965. "partner_id" : {
  81966. "type" : "string",
  81967. "description" : "商户ID",
  81968. "example" : "2088302424614288"
  81969. },
  81970. "refund_amount" : {
  81971. "type" : "string",
  81972. "description" : "退款金额,单位为:元(人民币),精确到小数点后两位",
  81973. "example" : "3.00"
  81974. },
  81975. "refund_type" : {
  81976. "type" : "string",
  81977. "description" : "MEMBER_FEE_REFUND 会员费结算退款\tWITHHOLD_FEE_REFUND 周期扣款金额退款\t默认为MEMBER_FEE_REFUND",
  81978. "example" : "MEMBER_FEE_REFUND"
  81979. },
  81980. "trade_no" : {
  81981. "type" : "string",
  81982. "description" : "支付宝交易号,在结算扣款成功的通知中会回传。\t在周期扣款场景下,和auth_opt_id必传其中一个值。",
  81983. "example" : "2013112011001004330000121536"
  81984. }
  81985. }
  81986. },
  81987. "AlipayPcreditHuabeiAuthRefundApplyResponseModel" : {
  81988. "type" : "object",
  81989. "properties" : {
  81990. "auth_opt_id" : {
  81991. "type" : "string",
  81992. "description" : "授权支付单ID",
  81993. "example" : "2018041721001001230571065758"
  81994. },
  81995. "fail_reason" : {
  81996. "type" : "string",
  81997. "description" : "退款操作错误原因描述",
  81998. "example" : "退款金额超限"
  81999. },
  82000. "out_request_no" : {
  82001. "type" : "string",
  82002. "description" : "外部请求号",
  82003. "example" : "99202005050100930053707258"
  82004. },
  82005. "retry" : {
  82006. "type" : "boolean",
  82007. "description" : "是否可重试",
  82008. "example" : "true"
  82009. }
  82010. }
  82011. },
  82012. "AlipayPcreditHuabeiAuthSettleApplyErrorResponseModel" : {
  82013. "required" : [ "code", "message" ],
  82014. "type" : "object",
  82015. "properties" : {
  82016. "code" : {
  82017. "type" : "string",
  82018. "description" : "错误码",
  82019. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_NOT_EXIST", "AGREEMENT_EXPIRED", "PAY_AMOUNT_CHECK_ERROR", "AUTH_SCENE_NOT_SUPPORTED_ERROR", "ORDER_IDEMPOTENT_ERROR", "ORDER_ALREADY_DEAL", "ORDER_NOT_EXIST", "PAY_AMOUNT_IDEMPOTENT_ERROR", "BEYOND_PAY_RESTRICTION", "ACCESS_FORBIDDEN", "BUYER_ENABLE_STATUS_FORBID", "TOTAL_FEE_EXCEED", "INVALID_RECEIVE_ACCOUNT", "BUYER_PAYMENT_AMOUNT_DAY_LIMIT", "CONTEXT_INCONSISTENT", "BUYER_PAYMENT_AMOUNT_MONTH_LIMIT", "PAYMENT_REQUEST_HAS_RISK", "AGREEMENT_INVALID", "AGREEMENT_ERROR", "BUSINESS_ERROR", "PRODUCT_AMOUNT_LIMIT_ERROR", "CALL_LIMITED", "CONCURRENT_OPERATION_ERROR", "INVALID_SETTLEMENT_INFO", "INVALID_SETTLE_TIME" ]
  82020. },
  82021. "links" : {
  82022. "type" : "string",
  82023. "description" : "解决方案链接"
  82024. },
  82025. "message" : {
  82026. "type" : "string",
  82027. "description" : "错误描述"
  82028. }
  82029. }
  82030. },
  82031. "AlipayPcreditHuabeiAuthSettleApplyModel" : {
  82032. "type" : "object",
  82033. "properties" : {
  82034. "action_type" : {
  82035. "type" : "string",
  82036. "description" : "操作类型,默认为 MERCHANT_SETTLE(结算)。枚举值如下:\t* MERCHANT_SETTLE:结算(需要主动退出在发起结算);\t* QUIT_SETTLE:退出协议(解约协议);\t* PERIOD_SETTLE:分阶段结算(不解约协议)。",
  82037. "example" : "PERIOD_SETTLE"
  82038. },
  82039. "agreement_no" : {
  82040. "type" : "string",
  82041. "description" : "支付宝系统中用以唯一标识用户签约记录的编号。",
  82042. "example" : "20170502000610755993"
  82043. },
  82044. "alipay_user_id" : {
  82045. "type" : "string",
  82046. "description" : "用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  82047. "example" : "2088101117955611"
  82048. },
  82049. "extend_params" : {
  82050. "$ref" : "#/components/schemas/ExtraParams"
  82051. },
  82052. "need_terminated" : {
  82053. "type" : "string",
  82054. "description" : "是否解约,该参数控制结算完成之后的操作,为空则表示结算后解约。枚举值如下:\t* true:代表解约,默认为true。\t* false:代表不解约。",
  82055. "example" : "true"
  82056. },
  82057. "open_id" : {
  82058. "type" : "string",
  82059. "description" : "用户在支付宝的唯一标识",
  82060. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  82061. },
  82062. "out_request_no" : {
  82063. "type" : "string",
  82064. "description" : "商户本次操作的请求流水号,用于标示请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。",
  82065. "example" : "8077735255938032"
  82066. },
  82067. "pay_amount" : {
  82068. "type" : "string",
  82069. "description" : "需要支付的金额,单位为:元(人民币),精确到小数点后两位",
  82070. "example" : "3.00"
  82071. },
  82072. "seller_id" : {
  82073. "type" : "string",
  82074. "description" : "支付宝商家ID,即商家账号在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。\t说明:若该值为空,则默认为商户签约账号对应的支付宝用户ID。",
  82075. "example" : "2088102146225135"
  82076. }
  82077. }
  82078. },
  82079. "AlipayPcreditHuabeiAuthSettleApplyResponseModel" : {
  82080. "type" : "object",
  82081. "properties" : {
  82082. "fail_reason" : {
  82083. "type" : "string",
  82084. "description" : "根据商户传入的轻会员协议结算周期内累计消费数据与支付宝端轻会员协议结算周期内消费数据比对之后,若数据不一致,则会返回对应的异常数据比对结果。",
  82085. "example" : "累计支付宝支付金额不一致,支付宝:100.00元,商户:150.00元"
  82086. },
  82087. "out_request_no" : {
  82088. "type" : "string",
  82089. "description" : "商户本次操作的请求流水号,用于标示请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。",
  82090. "example" : "8077735255938032"
  82091. }
  82092. }
  82093. },
  82094. "AlipaySecurityDataSssCreateErrorResponseModel" : {
  82095. "required" : [ "code", "message" ],
  82096. "type" : "object",
  82097. "properties" : {
  82098. "code" : {
  82099. "type" : "string",
  82100. "description" : "错误码",
  82101. "enum" : [ "SYSTEM_ERROR", "MANJIANG_UNIFY_TEST" ]
  82102. },
  82103. "links" : {
  82104. "type" : "string",
  82105. "description" : "解决方案链接"
  82106. },
  82107. "message" : {
  82108. "type" : "string",
  82109. "description" : "错误描述"
  82110. }
  82111. }
  82112. },
  82113. "AlipaySecurityDataSssCreateModel" : {
  82114. "type" : "object",
  82115. "properties" : {
  82116. "area_code" : {
  82117. "type" : "string",
  82118. "description" : "body,可选,无openid,有枚举值,注意事项",
  82119. "example" : "aaa"
  82120. },
  82121. "f" : {
  82122. "$ref" : "#/components/schemas/JinyoutestopenidThree"
  82123. }
  82124. }
  82125. },
  82126. "AlipaySecurityDataSssCreateResponseModel" : {
  82127. "type" : "object",
  82128. "properties" : {
  82129. "c" : {
  82130. "type" : "string",
  82131. "description" : "区",
  82132. "example" : "1"
  82133. },
  82134. "c_open_id" : {
  82135. "type" : "string",
  82136. "description" : "区",
  82137. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  82138. }
  82139. }
  82140. },
  82141. "AlipaySecurityProdSssQueryErrorResponseModel" : {
  82142. "required" : [ "code", "message" ],
  82143. "type" : "object",
  82144. "properties" : {
  82145. "code" : {
  82146. "type" : "string",
  82147. "description" : "错误码",
  82148. "enum" : [ "SECURITY_CHECK_FAILED" ]
  82149. },
  82150. "links" : {
  82151. "type" : "string",
  82152. "description" : "解决方案链接"
  82153. },
  82154. "message" : {
  82155. "type" : "string",
  82156. "description" : "错误描述"
  82157. }
  82158. }
  82159. },
  82160. "AlipaySecurityProdSssQueryModel" : {
  82161. "type" : "object",
  82162. "properties" : {
  82163. "tesst" : {
  82164. "type" : "array",
  82165. "description" : "stst",
  82166. "items" : {
  82167. "$ref" : "#/components/schemas/PromiseDetail"
  82168. }
  82169. },
  82170. "xxx" : {
  82171. "$ref" : "#/components/schemas/JinyouTestFive"
  82172. }
  82173. }
  82174. },
  82175. "AlipaySecurityProdSssQueryResponseModel" : {
  82176. "type" : "object",
  82177. "properties" : {
  82178. "ccc" : {
  82179. "type" : "string",
  82180. "description" : "1",
  82181. "example" : "23"
  82182. },
  82183. "ccc_open_id" : {
  82184. "type" : "string",
  82185. "description" : "1",
  82186. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  82187. }
  82188. }
  82189. },
  82190. "AlipaySecurityProdTianwutestModifyErrorResponseModel" : {
  82191. "required" : [ "code", "message" ],
  82192. "type" : "object",
  82193. "properties" : {
  82194. "code" : {
  82195. "type" : "string",
  82196. "description" : "错误码",
  82197. "enum" : [ "XXX" ]
  82198. },
  82199. "links" : {
  82200. "type" : "string",
  82201. "description" : "解决方案链接"
  82202. },
  82203. "message" : {
  82204. "type" : "string",
  82205. "description" : "错误描述"
  82206. }
  82207. }
  82208. },
  82209. "AlipaySecurityProdTianwutestModifyModel" : {
  82210. "type" : "object",
  82211. "properties" : {
  82212. "tianwutest" : {
  82213. "type" : "string",
  82214. "description" : "测试",
  82215. "example" : "1"
  82216. }
  82217. }
  82218. },
  82219. "AlipaySecurityProdTianwutestModifyResponseModel" : {
  82220. "type" : "object",
  82221. "properties" : {
  82222. "ceshi" : {
  82223. "type" : "string",
  82224. "description" : "测试",
  82225. "example" : "test"
  82226. }
  82227. }
  82228. },
  82229. "AlipaySecurityRiskCustomerriskSendErrorResponseModel" : {
  82230. "required" : [ "code", "message" ],
  82231. "type" : "object",
  82232. "properties" : {
  82233. "code" : {
  82234. "type" : "string",
  82235. "description" : "错误码",
  82236. "enum" : [ "INVALID_PARAMETER" ]
  82237. },
  82238. "links" : {
  82239. "type" : "string",
  82240. "description" : "解决方案链接"
  82241. },
  82242. "message" : {
  82243. "type" : "string",
  82244. "description" : "错误描述"
  82245. }
  82246. }
  82247. },
  82248. "AlipaySecurityRiskCustomerriskSendModel" : {
  82249. "type" : "object",
  82250. "properties" : {
  82251. "bank_card_no" : {
  82252. "type" : "string",
  82253. "description" : "交易对应的银行卡的卡号(支付宝直连和间连合作伙伴均可回传此参数)",
  82254. "example" : "421234234234234000"
  82255. },
  82256. "business_license_no" : {
  82257. "type" : "string",
  82258. "description" : "该账号对应的营业执照号码(支付宝直连和间连合作伙伴均可回传此参数)",
  82259. "example" : "34xggdf345"
  82260. },
  82261. "cert_no" : {
  82262. "type" : "string",
  82263. "description" : "该用户对应的身份证号码(支付宝直连和间连合作伙伴均可回传此参数)",
  82264. "example" : "659004198009128344"
  82265. },
  82266. "email_address" : {
  82267. "type" : "string",
  82268. "description" : "账户注册时填写的邮箱地址(适用于支付宝直连商户回传此信息)",
  82269. "example" : "12345@abcd.com"
  82270. },
  82271. "external_id" : {
  82272. "type" : "string",
  82273. "description" : "适用于间连业务场景下,商户在银行被分配的ID(适用于支付宝间连合作伙伴回传此信息)",
  82274. "example" : "2088011993690428"
  82275. },
  82276. "merch_name" : {
  82277. "type" : "string",
  82278. "description" : "该笔风险交易购买的具体商品名称(适用于支付宝直连商户回传此信息)",
  82279. "example" : "游戏道具"
  82280. },
  82281. "mobile" : {
  82282. "type" : "string",
  82283. "description" : "手机(支付宝直连和间连合作伙伴均可回传此参数)",
  82284. "example" : "1359892324"
  82285. },
  82286. "mobile_ip" : {
  82287. "type" : "string",
  82288. "description" : "该账号登录合作伙伴平台时的IP地址(适用于支付宝直连商户回传此信息)",
  82289. "example" : "10.253.231.22"
  82290. },
  82291. "order_ip" : {
  82292. "type" : "string",
  82293. "description" : "该账户在商户平台下单时的MAC地址或IP地址(适用于支付宝直连商户回传此信息)",
  82294. "example" : "00000000-01010000-10111010"
  82295. },
  82296. "pid" : {
  82297. "type" : "string",
  82298. "description" : "适用于直连商户场景下的支付宝合作伙伴ID(适用于支付宝直连合作伙伴回传此信息)",
  82299. "example" : "2088123456789012"
  82300. },
  82301. "plat_account" : {
  82302. "type" : "string",
  82303. "description" : "指第三方在商户平台注册成功后,平台给予的账户号(适用于支付宝直连商户回传此信息)",
  82304. "example" : "abc123"
  82305. },
  82306. "process_code" : {
  82307. "type" : "string",
  82308. "description" : "直连场景下,商户对该账户采取的措施:\r\t多种处理结果可调用多次,每次回传一种处理结果。\r\t(01:暂停发货;\r\t02:延迟结算;\r\t03:关停账户;\r\t04:暂停发货+关停账户;\r\t05:延迟结算+关停账户;\r\t06:其他;\r\t07:平台进行退款退订;\r\t08:平台跟用户沟通后,用户撤诉。\r\t间连场景下,商户回传处理结果:\r\t对商户的处理情况:\r\t01:已延迟结算,02:关停商户,99:其他\r\t多重处理结果可调用多次,每次回传一种处理结果",
  82309. "example" : "01"
  82310. },
  82311. "smid" : {
  82312. "type" : "string",
  82313. "description" : "指间连交易场景下商家被支付宝分配的ID(适用于支付宝间连合作伙伴回传此信息)",
  82314. "example" : "17022079254"
  82315. },
  82316. "trade_no" : {
  82317. "type" : "string",
  82318. "description" : "支付宝推送的风险消息中的交易号(支付宝直连和间连合作伙伴均需回传此参数)",
  82319. "example" : "2017113021001004640000000000"
  82320. }
  82321. }
  82322. },
  82323. "AlipaySecurityRiskCustomerriskSendResponseModel" : {
  82324. "type" : "object"
  82325. },
  82326. "AlipaySecurityRiskVerifyidentityMiniappConfirmErrorResponseModel" : {
  82327. "required" : [ "code", "message" ],
  82328. "type" : "object",
  82329. "properties" : {
  82330. "code" : {
  82331. "type" : "string",
  82332. "description" : "错误码",
  82333. "enum" : [ "PARAM_TAMPERED", "INVALID_ARGUMENTS", "SYSTEM_ERROR", "VERIFY_STATE_ERROR" ]
  82334. },
  82335. "links" : {
  82336. "type" : "string",
  82337. "description" : "解决方案链接"
  82338. },
  82339. "message" : {
  82340. "type" : "string",
  82341. "description" : "错误描述"
  82342. }
  82343. }
  82344. },
  82345. "AlipaySecurityRiskVerifyidentityMiniappConfirmModel" : {
  82346. "type" : "object",
  82347. "properties" : {
  82348. "challenge" : {
  82349. "type" : "string",
  82350. "description" : "业务的业务流水号,例如订单id",
  82351. "example" : "00123456"
  82352. },
  82353. "open_id" : {
  82354. "type" : "string",
  82355. "description" : "蚂蚁统一会员ID,验证时会与做身份认证时候会话中的openid做比对,如不相符核验结果不通过",
  82356. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  82357. },
  82358. "user_id" : {
  82359. "type" : "string",
  82360. "description" : "蚂蚁统一会员ID,验证时会与做身份认证时候会话中的userId做比对,如不相符核验结果不通过",
  82361. "example" : "2088302857831249"
  82362. },
  82363. "verify_id" : {
  82364. "type" : "string",
  82365. "description" : "核身校验id,是一次核身校验服务中唯一性的id",
  82366. "example" : "0xa213nfdajbav17521"
  82367. }
  82368. }
  82369. },
  82370. "AlipaySecurityRiskVerifyidentityMiniappConfirmResponseModel" : {
  82371. "type" : "object",
  82372. "properties" : {
  82373. "error_code" : {
  82374. "type" : "string",
  82375. "description" : "身份核实校验结果失败时,返回的失败错误码",
  82376. "example" : "SYSTEM_ERROR"
  82377. },
  82378. "error_msg" : {
  82379. "type" : "string",
  82380. "description" : "身份核实校验结果失败时,返回的失败错误原因说明",
  82381. "example" : "系统繁忙,请稍后再试"
  82382. },
  82383. "verify_result" : {
  82384. "type" : "boolean",
  82385. "description" : "身份核验结果",
  82386. "example" : "true"
  82387. }
  82388. }
  82389. },
  82390. "AlipaySocialBaseContentlibStandardcontentBatchqueryErrorResponseModel" : {
  82391. "required" : [ "code", "message" ],
  82392. "type" : "object",
  82393. "properties" : {
  82394. "code" : {
  82395. "type" : "string",
  82396. "description" : "错误码",
  82397. "enum" : [ "CONTENT_NOT_EXISTS", "NO_PERMISSION", "SYSTEM_ERROR", "PUBLIC_NOT_UPGRADE", "PUBLIC_NOT_EXISTS", "BUSINESS_ERROR" ]
  82398. },
  82399. "links" : {
  82400. "type" : "string",
  82401. "description" : "解决方案链接"
  82402. },
  82403. "message" : {
  82404. "type" : "string",
  82405. "description" : "错误描述"
  82406. }
  82407. }
  82408. },
  82409. "AlipaySocialBaseContentlibStandardcontentBatchqueryModel" : {
  82410. "type" : "object",
  82411. "properties" : {
  82412. "need_detail" : {
  82413. "type" : "boolean",
  82414. "description" : "指示是否返回内容详情, 默认为false\tfalse: 仅返回内容ID列表\ttrue:返回 content_details",
  82415. "example" : "true"
  82416. },
  82417. "page_num" : {
  82418. "type" : "integer",
  82419. "description" : "当页分页,默认为1",
  82420. "example" : "1"
  82421. },
  82422. "page_size" : {
  82423. "type" : "integer",
  82424. "description" : "分页记录数,最大20,默认20",
  82425. "example" : "20"
  82426. },
  82427. "public_id" : {
  82428. "type" : "string",
  82429. "description" : "生活号+号ID,只有MCN机构为达人号ID查询内容才需要传入",
  82430. "example" : "2030000013518xxx"
  82431. },
  82432. "status" : {
  82433. "type" : "string",
  82434. "description" : "内容状态,默认查询所有状态\t0-审核中 \t1-发布成功 \t2-审核不通过 \t3-己删除",
  82435. "example" : "1"
  82436. }
  82437. }
  82438. },
  82439. "AlipaySocialBaseContentlibStandardcontentBatchqueryResponseModel" : {
  82440. "type" : "object",
  82441. "properties" : {
  82442. "content_details" : {
  82443. "type" : "array",
  82444. "description" : "内容详情列表",
  82445. "items" : {
  82446. "$ref" : "#/components/schemas/SourceContentInfo"
  82447. }
  82448. },
  82449. "content_ids" : {
  82450. "type" : "array",
  82451. "description" : "内容ID列表",
  82452. "items" : {
  82453. "type" : "string"
  82454. },
  82455. "example" : "[\"20211022OB02001003220004xxxx\"]"
  82456. },
  82457. "page_num" : {
  82458. "type" : "integer",
  82459. "description" : "当前分页",
  82460. "example" : "1"
  82461. },
  82462. "page_size" : {
  82463. "type" : "integer",
  82464. "description" : "每页记录数",
  82465. "example" : "20"
  82466. },
  82467. "total" : {
  82468. "type" : "integer",
  82469. "description" : "总记录数",
  82470. "example" : "100"
  82471. }
  82472. }
  82473. },
  82474. "AlipaySystemOauthTokenErrorResponseModel" : {
  82475. "required" : [ "code", "message" ],
  82476. "type" : "object",
  82477. "properties" : {
  82478. "code" : {
  82479. "type" : "string",
  82480. "description" : "错误码",
  82481. "enum" : [ "isv.grant-type-invalid", "isv.code-invalid", "isv.refresh-token-invalid", "isv.refresh-token-time-out", "isv.refreshed-token-invalid", "isv.unmatched-app-id", "isp.unknow-error" ]
  82482. },
  82483. "links" : {
  82484. "type" : "string",
  82485. "description" : "解决方案链接"
  82486. },
  82487. "message" : {
  82488. "type" : "string",
  82489. "description" : "错误描述"
  82490. }
  82491. }
  82492. },
  82493. "AlipaySystemOauthTokenModel" : {
  82494. "type" : "object",
  82495. "properties" : {
  82496. "code" : {
  82497. "type" : "string",
  82498. "description" : "授权码,用户对应用授权后得到。本参数在 grant_type 为 authorization_code 时必填;为 refresh_token 时不填。",
  82499. "example" : "4b203fe6c11548bcabd8da5bb087a83b"
  82500. },
  82501. "grant_type" : {
  82502. "type" : "string",
  82503. "description" : "授权方式。支持:\t1.authorization_code,表示换取使用用户授权码code换取授权令牌access_token。\t2.refresh_token,表示使用refresh_token刷新获取新授权令牌。",
  82504. "example" : "authorization_code"
  82505. },
  82506. "refresh_token" : {
  82507. "type" : "string",
  82508. "description" : "刷新令牌,上次换取访问令牌时得到。本参数在 grant_type 为 authorization_code 时不填;为 refresh_token 时必填,且该值来源于此接口的返回值 app_refresh_token(即至少需要通过 grant_type=authorization_code 调用此接口一次才能获取)。",
  82509. "example" : "201208134b203fe6c11548bcabd8da5bb087a83b"
  82510. }
  82511. }
  82512. },
  82513. "AlipaySystemOauthTokenResponseModel" : {
  82514. "type" : "object",
  82515. "properties" : {
  82516. "access_token" : {
  82517. "type" : "string",
  82518. "description" : "访问令牌。通过该令牌调用需要授权类接口",
  82519. "example" : "20120823ac6ffaa4d2d84e7384bf983531473993"
  82520. },
  82521. "alipay_user_id" : {
  82522. "type" : "string",
  82523. "description" : "已废弃,请勿使用",
  82524. "example" : "已废弃,请勿使用"
  82525. },
  82526. "auth_start" : {
  82527. "type" : "string",
  82528. "description" : "授权token开始时间,作为有效期计算的起点",
  82529. "example" : "2010-11-11 11:11:11"
  82530. },
  82531. "auth_token_type" : {
  82532. "type" : "string",
  82533. "description" : "令牌类型,permanent表示返回的access_token和refresh_token永久有效,非永久令牌不返回该字段",
  82534. "example" : "permanent"
  82535. },
  82536. "expires_in" : {
  82537. "type" : "string",
  82538. "description" : "访问令牌的有效时间,单位是秒。",
  82539. "example" : "3600"
  82540. },
  82541. "open_id" : {
  82542. "type" : "string",
  82543. "description" : "支付宝用户唯一标识",
  82544. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  82545. },
  82546. "re_expires_in" : {
  82547. "type" : "string",
  82548. "description" : "刷新令牌的有效时间,单位是秒。",
  82549. "example" : "3600"
  82550. },
  82551. "refresh_token" : {
  82552. "type" : "string",
  82553. "description" : "刷新令牌。通过该令牌可以刷新access_token",
  82554. "example" : "20120823ac6ffdsdf2d84e7384bf983531473993"
  82555. },
  82556. "union_id" : {
  82557. "type" : "string",
  82558. "description" : "union_id是支付宝用户在开放平台的唯一标识符,在配置应用分组后会返回该值。\t同一用户的union_id在同一分组内应用保持一致。",
  82559. "example" : "092aSPrsmhTbexLh9zgoYb2uvZNC4D8izCpGKTem8QiIOQb"
  82560. },
  82561. "user_id" : {
  82562. "type" : "string",
  82563. "description" : "支付宝用户的唯一标识。以2088开头的16位数字。",
  82564. "example" : "2088102150477652"
  82565. }
  82566. }
  82567. },
  82568. "AlipayTradeAdvanceConsultErrorResponseModel" : {
  82569. "required" : [ "code", "message" ],
  82570. "type" : "object",
  82571. "properties" : {
  82572. "code" : {
  82573. "type" : "string",
  82574. "description" : "错误码",
  82575. "enum" : [ "SYSTEM_ERROR", "USER_STAUTS_ERROR", "USER_NOT_EXIST", "BUYER_NOT_SUPPORT_ADVANCEPAY", "ILLEGAL_AGREEMENT" ]
  82576. },
  82577. "links" : {
  82578. "type" : "string",
  82579. "description" : "解决方案链接"
  82580. },
  82581. "message" : {
  82582. "type" : "string",
  82583. "description" : "错误描述"
  82584. }
  82585. }
  82586. },
  82587. "AlipayTradeAdvanceConsultResponseModel" : {
  82588. "type" : "object",
  82589. "properties" : {
  82590. "refer_result" : {
  82591. "type" : "boolean",
  82592. "description" : "true 代表当前时间点,用户允许垫资\tfalse 代表当前时间,用户不允许垫资",
  82593. "example" : "true"
  82594. },
  82595. "result_code" : {
  82596. "type" : "string",
  82597. "description" : "用户被注销",
  82598. "example" : "USER_NOT_EXIST"
  82599. },
  82600. "result_message" : {
  82601. "type" : "string",
  82602. "description" : "返回用户不准入原因",
  82603. "example" : "用户不准入"
  82604. },
  82605. "risk_level" : {
  82606. "type" : "string",
  82607. "description" : "订单风险评估等级,在单笔订单风险预评估时返回。当基础风险校验通过时,可通过该值获取业务风险评估等级。取值:2-高风险;1-低风险。",
  82608. "example" : "1"
  82609. },
  82610. "user_risk_prediction" : {
  82611. "$ref" : "#/components/schemas/UserRiskPrediction"
  82612. },
  82613. "wait_repayment_amount" : {
  82614. "type" : "string",
  82615. "description" : "用户剩余的总待还金额,无论当前用户是否允许垫资,都会返回该属性。",
  82616. "example" : "2.48"
  82617. },
  82618. "wait_repayment_order_count" : {
  82619. "type" : "integer",
  82620. "description" : "用户总的未还的垫资笔数,无论用户是否允许垫资,都会返回该属性",
  82621. "example" : "6"
  82622. },
  82623. "wait_repayment_order_infos" : {
  82624. "type" : "array",
  82625. "description" : "待还订单列表,无论用户当前状态是否允许垫资,都会返回当前用户在商户下的待还订单信息",
  82626. "items" : {
  82627. "$ref" : "#/components/schemas/WaitRepaymentOrderInfo"
  82628. }
  82629. }
  82630. }
  82631. },
  82632. "AlipayTradeApplepayAuthenticationSubmitErrorResponseModel" : {
  82633. "required" : [ "code", "message" ],
  82634. "type" : "object",
  82635. "properties" : {
  82636. "code" : {
  82637. "type" : "string",
  82638. "description" : "错误码"
  82639. },
  82640. "links" : {
  82641. "type" : "string",
  82642. "description" : "解决方案链接"
  82643. },
  82644. "message" : {
  82645. "type" : "string",
  82646. "description" : "错误描述"
  82647. }
  82648. }
  82649. },
  82650. "AlipayTradeApplepayAuthenticationSubmitModel" : {
  82651. "type" : "object",
  82652. "properties" : {
  82653. "authentication_results" : {
  82654. "type" : "array",
  82655. "description" : "ApplePay核身鉴权结果,包括:支付密码、用户确认、数字签名",
  82656. "items" : {
  82657. "$ref" : "#/components/schemas/AuthenticationResult"
  82658. }
  82659. },
  82660. "device_identifier" : {
  82661. "type" : "string",
  82662. "description" : "Apple端的设备ID",
  82663. "example" : "mKS9uBWMBT4Vv4+mgVLy7ZbMYer0XMHMfdqnOBVVr+b/iqNagFVjVWSGeSGOhDBi"
  82664. },
  82665. "dpan_identifier" : {
  82666. "type" : "string",
  82667. "description" : "Apple绑定的BundleId",
  82668. "example" : "DAPLSM20191217003050010000320000001002"
  82669. },
  82670. "transaction_identifier" : {
  82671. "type" : "string",
  82672. "description" : "交易标识",
  82673. "example" : "2020040422001424181400075556"
  82674. }
  82675. }
  82676. },
  82677. "AlipayTradeApplepayAuthenticationSubmitResponseModel" : {
  82678. "type" : "object",
  82679. "properties" : {
  82680. "authentication_error" : {
  82681. "type" : "string",
  82682. "description" : "核身错误信息",
  82683. "example" : "PINMaximumTriesExceeded"
  82684. },
  82685. "fallback_authentication_mechanisms" : {
  82686. "type" : "array",
  82687. "description" : "失败时的鉴权重试机制",
  82688. "items" : {
  82689. "type" : "string"
  82690. },
  82691. "example" : "PaymentPINInput"
  82692. },
  82693. "response_header" : {
  82694. "$ref" : "#/components/schemas/OpenApiResponseHeader"
  82695. },
  82696. "retry_authentication_mechanisms" : {
  82697. "type" : "array",
  82698. "description" : "鉴权重试机制",
  82699. "items" : {
  82700. "type" : "string"
  82701. },
  82702. "example" : "PaymentPINInput"
  82703. },
  82704. "signing_certificate" : {
  82705. "type" : "string",
  82706. "description" : "base64之后的证书",
  82707. "example" : "R2VuZXJhdGVkIENlcnRpZmljYXRlIERhdGE="
  82708. },
  82709. "updated_authentication_details" : {
  82710. "$ref" : "#/components/schemas/UpdatedAuthenticationDetails"
  82711. },
  82712. "updated_transaction_status" : {
  82713. "type" : "string",
  82714. "description" : "交易状态",
  82715. "example" : "Pending"
  82716. }
  82717. }
  82718. },
  82719. "AlipayTradeBatchSettleErrorResponseModel" : {
  82720. "required" : [ "code", "message" ],
  82721. "type" : "object",
  82722. "properties" : {
  82723. "code" : {
  82724. "type" : "string",
  82725. "description" : "错误码",
  82726. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "REQUEST_ID_REPEAT", "USER_BALANCE_NOT_ENOUGH", "CARD_BIN_CHECKER_ERROR", "DEFAULT_SETTLE_RULE_NOT_EXIST", "INVALID_STORE_ID", "SECONDARY_MERCHANT_ID_INVALID", "SETTLE_ENTITY_ID_INVALID", "SETTLE_ACCOUNT_NO_USER_INFO", "CREDIT_NOT_ALLOW", "NO_SIGN_QUICK_SETTLEMENT", "CUSTOMER_VALIDATE_ERROR", "SETTLE_ACCOUNT_INVALID", "USER_LOGONID_DUP", "QUICK_SETTLEMENT_LEFT_CREDIT_QUOTA_NOT_ENOUGH", "SETTLE_ACCOUNT_NOT_CERTIFY", "SETTLE_ACCOUNT_NOT_EXIST", "SETTLE_ACCOUNT_NO_BALANCE", "RISK_SETTLE_SUSPEND", "FREQUENCY_LIMITED", "SUB_MERCHANT_BELONG_ERROR" ]
  82727. },
  82728. "links" : {
  82729. "type" : "string",
  82730. "description" : "解决方案链接"
  82731. },
  82732. "message" : {
  82733. "type" : "string",
  82734. "description" : "错误描述"
  82735. }
  82736. }
  82737. },
  82738. "AlipayTradeBatchSettleModel" : {
  82739. "type" : "object",
  82740. "properties" : {
  82741. "biz_product" : {
  82742. "type" : "string",
  82743. "description" : "收单产品码,商家和支付宝签约的产品码",
  82744. "example" : "FACE_TO_FACE_PAYMENT"
  82745. },
  82746. "extend_params" : {
  82747. "type" : "string",
  82748. "description" : "扩展参数",
  82749. "example" : "{\"key\":\"value\"}"
  82750. },
  82751. "out_request_no" : {
  82752. "type" : "string",
  82753. "description" : "结算请求外部流水号,32个字符以内、可包含字母、数字、下划线;需保证在商户端不重复,如果重复则返回该流水号对应的结算单据的状态。",
  82754. "example" : "20180101"
  82755. },
  82756. "settle_clauses" : {
  82757. "type" : "array",
  82758. "description" : "结算明细条款",
  82759. "items" : {
  82760. "$ref" : "#/components/schemas/SettleClause"
  82761. }
  82762. },
  82763. "settle_type" : {
  82764. "type" : "string",
  82765. "description" : "结算方式,目前仅支持提前放款结算quickSettlement,提前放款结算需要商户开通快收服务,不填则为普通结算方式",
  82766. "example" : "quickSettlement"
  82767. }
  82768. }
  82769. },
  82770. "AlipayTradeBatchSettleQueryErrorResponseModel" : {
  82771. "required" : [ "code", "message" ],
  82772. "type" : "object",
  82773. "properties" : {
  82774. "code" : {
  82775. "type" : "string",
  82776. "description" : "错误码",
  82777. "enum" : [ "INVALID_PARAMETER", "BATCH_SETTLE_NOT_EXIST", "SYSTEM_ERROR", "OPENID_APPID_NOT_MATCH" ]
  82778. },
  82779. "links" : {
  82780. "type" : "string",
  82781. "description" : "解决方案链接"
  82782. },
  82783. "message" : {
  82784. "type" : "string",
  82785. "description" : "错误描述"
  82786. }
  82787. }
  82788. },
  82789. "AlipayTradeBatchSettleQueryModel" : {
  82790. "type" : "object",
  82791. "properties" : {
  82792. "extend_params" : {
  82793. "type" : "string",
  82794. "description" : "扩展参数",
  82795. "example" : "{\"key\":\"value\"}"
  82796. },
  82797. "out_request_no" : {
  82798. "type" : "string",
  82799. "description" : "批量结算时传入的外部流水号,与settle_no二者必填其一。 out_request_no和settle_no如果同时存在,优先取settle_no",
  82800. "example" : "20180101"
  82801. },
  82802. "settle_no" : {
  82803. "type" : "string",
  82804. "description" : "结算单据号,与out_request_no二者必填其一",
  82805. "example" : "2019050510032002040000053220"
  82806. }
  82807. }
  82808. },
  82809. "AlipayTradeBatchSettleQueryResponseModel" : {
  82810. "type" : "object",
  82811. "properties" : {
  82812. "out_request_no" : {
  82813. "type" : "string",
  82814. "description" : "批量结算时传入的外部流水号",
  82815. "example" : "20190101"
  82816. },
  82817. "settle_detail" : {
  82818. "type" : "array",
  82819. "description" : "批量结算详情",
  82820. "items" : {
  82821. "$ref" : "#/components/schemas/BatchSettleDetail"
  82822. }
  82823. },
  82824. "settle_no" : {
  82825. "type" : "string",
  82826. "description" : "结算单据号",
  82827. "example" : "2019050510032002040000053220"
  82828. }
  82829. }
  82830. },
  82831. "AlipayTradeBatchSettleResponseModel" : {
  82832. "type" : "object",
  82833. "properties" : {
  82834. "gmt_create" : {
  82835. "type" : "string",
  82836. "description" : "结算受理时间",
  82837. "example" : "2014-11-27 15:45:57"
  82838. },
  82839. "out_request_no" : {
  82840. "type" : "string",
  82841. "description" : "结算请求外部流水号",
  82842. "example" : "201811"
  82843. },
  82844. "result_code" : {
  82845. "type" : "string",
  82846. "description" : "业务结果码。\r\t\r\tACCEPT_SUCCESS:受理成功;\r\tACCEPT_FAIL:受理失败;\r\tSUCCESS:结算处理成功;\r\tFAIL:结算处理失败;\r\tSYSTEM_EXCEPTION:系统异常",
  82847. "example" : "ACCEPT_SUCCESS"
  82848. },
  82849. "settle_no" : {
  82850. "type" : "string",
  82851. "description" : "结算单据号。仅当业务结果码为ACCEPT_SUCCESS 或 SUCCESS时,settle_no有效",
  82852. "example" : "2018032310032002040000053220"
  82853. }
  82854. }
  82855. },
  82856. "AlipayTradeBatchTransferErrorResponseModel" : {
  82857. "required" : [ "code", "message" ],
  82858. "type" : "object",
  82859. "properties" : {
  82860. "code" : {
  82861. "type" : "string",
  82862. "description" : "错误码",
  82863. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "REQUEST_ID_REPEAT", "USER_BALANCE_NOT_ENOUGH", "CARD_BIN_CHECKER_ERROR", "DEFAULT_SETTLE_RULE_NOT_EXIST", "INVALID_STORE_ID", "SECONDARY_MERCHANT_ID_INVALID", "SETTLE_ENTITY_ID_INVALID", "SETTLE_ACCOUNT_NO_USER_INFO", "SETTLE_ACCOUNT_NOT_EXIST", "SETTLE_ACCOUNT_NOT_CERTIFY", "SETTLE_ACCOUNT_NO_BALANCE", "USER_LOGONID_DUP", "SETTLE_ACCOUNT_INVALID", "MERCHANT_RISK_LIMIT", "OPENID_APPID_NOT_MATCH" ]
  82864. },
  82865. "links" : {
  82866. "type" : "string",
  82867. "description" : "解决方案链接"
  82868. },
  82869. "message" : {
  82870. "type" : "string",
  82871. "description" : "错误描述"
  82872. }
  82873. }
  82874. },
  82875. "AlipayTradeBatchTransferModel" : {
  82876. "type" : "object",
  82877. "properties" : {
  82878. "extend_params" : {
  82879. "type" : "string",
  82880. "description" : "业务扩展参数",
  82881. "example" : "{\"key\":\"value\"}"
  82882. },
  82883. "out_request_no" : {
  82884. "type" : "string",
  82885. "description" : "结算请求外部流水号,32个字符以内、可包含字母、数字、下划线;需保证在商户端不重复",
  82886. "example" : "20180101"
  82887. },
  82888. "royalty_parameters" : {
  82889. "type" : "array",
  82890. "description" : "分账条款明细\t特别注意:最好一次只传一个分账条款。\t如果传多个,则要求出账方只能有一个,\t举例:A分给B+A分给C+A分给D=OK\tA分给B+C分给D=不行",
  82891. "items" : {
  82892. "$ref" : "#/components/schemas/RoyaltyDetailInfo"
  82893. }
  82894. }
  82895. }
  82896. },
  82897. "AlipayTradeBatchTransferQueryErrorResponseModel" : {
  82898. "required" : [ "code", "message" ],
  82899. "type" : "object",
  82900. "properties" : {
  82901. "code" : {
  82902. "type" : "string",
  82903. "description" : "错误码",
  82904. "enum" : [ "INVALID_PARAMETER", "BATCH_SETTLE_NOT_EXIST", "SYSTEM_ERROR", "OPENID_APPID_NOT_MATCH" ]
  82905. },
  82906. "links" : {
  82907. "type" : "string",
  82908. "description" : "解决方案链接"
  82909. },
  82910. "message" : {
  82911. "type" : "string",
  82912. "description" : "错误描述"
  82913. }
  82914. }
  82915. },
  82916. "AlipayTradeBatchTransferQueryResponseModel" : {
  82917. "type" : "object",
  82918. "properties" : {
  82919. "out_request_no" : {
  82920. "type" : "string",
  82921. "description" : "批量结算时传入的外部流水号",
  82922. "example" : "20008"
  82923. },
  82924. "royalty_detail" : {
  82925. "type" : "array",
  82926. "description" : "批量结算详情",
  82927. "items" : {
  82928. "$ref" : "#/components/schemas/BatchRoyaltyDetail"
  82929. }
  82930. },
  82931. "settle_no" : {
  82932. "type" : "string",
  82933. "description" : "结算单据号",
  82934. "example" : "2019050510032002040000053220"
  82935. }
  82936. }
  82937. },
  82938. "AlipayTradeBatchTransferResponseModel" : {
  82939. "type" : "object",
  82940. "properties" : {
  82941. "gmt_create" : {
  82942. "type" : "string",
  82943. "description" : "分账受理时间",
  82944. "example" : "2014-11-27 15:45:57"
  82945. },
  82946. "out_request_no" : {
  82947. "type" : "string",
  82948. "description" : "分账请求外部流水号",
  82949. "example" : "2008121"
  82950. },
  82951. "result_code" : {
  82952. "type" : "string",
  82953. "description" : "业务结果码。 ACCEPT_SUCCESS:受理成功; ACCEPT_FAIL:受理失败; SUCCESS:结算处理成功; FAIL:结算处理失败; SYSTEM_EXCEPTION:系统异常",
  82954. "example" : "ACCEPT_SUCCESS"
  82955. },
  82956. "settle_no" : {
  82957. "type" : "string",
  82958. "description" : "分账单据号",
  82959. "example" : "2018032310032002040000053220"
  82960. }
  82961. }
  82962. },
  82963. "AlipayTradeCancelErrorResponseModel" : {
  82964. "required" : [ "code", "message" ],
  82965. "type" : "object",
  82966. "properties" : {
  82967. "code" : {
  82968. "type" : "string",
  82969. "description" : "错误码",
  82970. "enum" : [ "AQC.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.SELLER_BALANCE_NOT_ENOUGH", "ACQ.REASON_TRADE_BEEN_FREEZEN", "ACQ.SYSTEM_ERROR", "ACQ.TRADE_HAS_FINISHED", "ACQ.TRADE_CANCEL_TIME_OUT", "ACQ.REASON_TRADE_REFUND_FEE_ERR", "ACQ.CANCEL_NOT_ALLOWED" ]
  82971. },
  82972. "links" : {
  82973. "type" : "string",
  82974. "description" : "解决方案链接"
  82975. },
  82976. "message" : {
  82977. "type" : "string",
  82978. "description" : "错误描述"
  82979. }
  82980. }
  82981. },
  82982. "AlipayTradeCancelModel" : {
  82983. "type" : "object",
  82984. "properties" : {
  82985. "out_trade_no" : {
  82986. "type" : "string",
  82987. "description" : "原支付请求的商户订单号,和支付宝交易号不能同时为空",
  82988. "example" : "20150320010101001"
  82989. },
  82990. "trade_no" : {
  82991. "type" : "string",
  82992. "description" : "支付宝交易号,和商户订单号不能同时为空",
  82993. "example" : "2014112611001004680073956707"
  82994. }
  82995. }
  82996. },
  82997. "AlipayTradeCancelResponseModel" : {
  82998. "type" : "object",
  82999. "properties" : {
  83000. "action" : {
  83001. "type" : "string",
  83002. "description" : "本次撤销触发的交易动作,接口调用成功且交易存在时返回。可能的返回值:\tclose:交易未支付,触发关闭交易动作,无退款;\trefund:交易已支付,\b触发交易退款动作;\t未返回:未查询到交易,或接口调用失败;",
  83003. "example" : "close"
  83004. },
  83005. "gmt_refund_pay" : {
  83006. "type" : "string",
  83007. "description" : "当撤销产生了退款时,返回退款时间;\t 只在银行间联交易场景下返回该信息;",
  83008. "example" : "2016-11-27 15:45:57"
  83009. },
  83010. "out_trade_no" : {
  83011. "type" : "string",
  83012. "description" : "商户订单号",
  83013. "example" : "6823789339978248"
  83014. },
  83015. "refund_settlement_id" : {
  83016. "type" : "string",
  83017. "description" : "当撤销产生了退款时,返回的退款清算编号,用于清算对账使用;\r\t只在银行间联交易场景下返回该信息;",
  83018. "example" : "2018101610032004620239146945"
  83019. },
  83020. "retry_flag" : {
  83021. "type" : "string",
  83022. "description" : "是否需要重试",
  83023. "example" : "N"
  83024. },
  83025. "trade_no" : {
  83026. "type" : "string",
  83027. "description" : "支付宝交易号;\t当发生交易关闭或交易退款时返回;",
  83028. "example" : "2013112011001004330000121536"
  83029. }
  83030. }
  83031. },
  83032. "AlipayTradeCloseErrorResponseModel" : {
  83033. "required" : [ "code", "message" ],
  83034. "type" : "object",
  83035. "properties" : {
  83036. "code" : {
  83037. "type" : "string",
  83038. "description" : "错误码",
  83039. "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.TRADE_NOT_EXIST", "ACQ.TRADE_STATUS_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.REASON_TRADE_STATUS_INVALID", "ACQ.REASON_ILLEGAL_STATUS" ]
  83040. },
  83041. "links" : {
  83042. "type" : "string",
  83043. "description" : "解决方案链接"
  83044. },
  83045. "message" : {
  83046. "type" : "string",
  83047. "description" : "错误描述"
  83048. }
  83049. }
  83050. },
  83051. "AlipayTradeCloseModel" : {
  83052. "type" : "object",
  83053. "properties" : {
  83054. "notify_url" : {
  83055. "type" : "string",
  83056. "description" : "通知地址"
  83057. },
  83058. "operator_id" : {
  83059. "type" : "string",
  83060. "description" : "商家操作员编号 id,由商家自定义。",
  83061. "example" : "YX01"
  83062. },
  83063. "out_trade_no" : {
  83064. "type" : "string",
  83065. "description" : "订单支付时传入的商户订单号,和支付宝交易号不能同时为空。 trade_no,out_trade_no如果同时存在优先取trade_no",
  83066. "example" : "HZ0120131127001"
  83067. },
  83068. "trade_no" : {
  83069. "type" : "string",
  83070. "description" : "该交易在支付宝系统中的交易流水号。最短 16 位,最长 64 位。和out_trade_no不能同时为空,如果同时传了 out_trade_no和 trade_no,则以 trade_no为准。",
  83071. "example" : "2013112611001004680073956707"
  83072. }
  83073. }
  83074. },
  83075. "AlipayTradeCloseResponseModel" : {
  83076. "type" : "object",
  83077. "properties" : {
  83078. "out_trade_no" : {
  83079. "type" : "string",
  83080. "description" : "创建交易传入的商户订单号",
  83081. "example" : "YX_001"
  83082. },
  83083. "trade_no" : {
  83084. "type" : "string",
  83085. "description" : "支付宝交易号",
  83086. "example" : "2013112111001004500000675971"
  83087. }
  83088. }
  83089. },
  83090. "AlipayTradeCreateErrorResponseModel" : {
  83091. "required" : [ "code", "message" ],
  83092. "type" : "object",
  83093. "properties" : {
  83094. "code" : {
  83095. "type" : "string",
  83096. "description" : "错误码",
  83097. "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.ACCESS_FORBIDDEN", "ACQ.EXIST_FORBIDDEN_WORD", "ACQ.PARTNER_ERROR", "ACQ.TOTAL_FEE_EXCEED", "ACQ.CONTEXT_INCONSISTENT", "ACQ.TRADE_HAS_SUCCESS", "ACQ.TRADE_HAS_CLOSE", "ACQ.BUYER_SELLER_EQUAL", "ACQ.TRADE_BUYER_NOT_MATCH", "ACQ.BUYER_ENABLE_STATUS_FORBID", "ACQ.SELLER_BEEN_BLOCKED", "ACQ.ERROR_BUYER_CERTIFY_LEVEL_LIMIT", "ACQ.SUB_MERCHANT_CREATE_FAIL", "ACQ.SUB_MERCHANT_TYPE_INVALID", "ACQ.SECONDARY_MERCHANT_STATUS_ERROR", "ACQ.BUYER_NOT_EXIST", "ACQ.PAYER_UNMATCHED", "ACQ.SECONDARY_MERCHANT_NOT_MATCH", "ACQ.TRADE_SETTLE_ERROR", "ACQ.SECONDARY_MERCHANT_ID_BLANK", "ACQ.INVALID_RECEIVE_ACCOUNT", "ACQ.SECONDARY_MERCHANT_ID_INVALID", "ACQ.BEYOND_PER_RECEIPT_SINGLE_RESTRICTION", "ACQ.SECONDARY_MERCHANT_ALIPAY_ACCOUNT_INVALID", "ACQ.SECONDARY_MERCHANT_ISV_PUNISH_INDIRECT", "ACQ.USER_LOGONID_DUP", "ACQ.CUSTOMER_VALIDATE_ERROR", "ACQ.INVALID_STORE_ID", "ACQ.SECONDARY_MERCHANT_CARD_ALIAS_NO_INVALID", "ACQ.NOT_SUPPORT_PAYMENT_INST", "ACQ.SELLER_NOT_EXIST", "ACQ.NOW_TIME_AFTER_EXPIRE_TIME_ERROR", "ACQ.ILLEGAL_ARGUMENT", "ACQ.SUB_GOODS_SIZE_MAX_COUNT", "ACQ.PLATFORM_BUSINESS_ACQUIRE_MODE_MUST_MERCHANT_ID", "ACQ.ERROR_SELLER_CERTIFY_LEVEL_LIMIT", "ACQ.STORE_INFO_INVALID", "ACQ.DEFAULT_SETTLE_RULE_NOT_EXIST", "ACQ.MERCHANT_PERM_RECEIPT_SUSPEND_LIMIT", "ACQ.MERCHANT_PERM_RECEIPT_SINGLE_LIMIT", "ACQ.MERCHANT_PERM_RECEIPT_DAY_LIMIT", "ACQ.OPEN_ID_NOT_TINY_APP", "ACQ.RISK_MERCHANT_IP_NOT_EXIST" ]
  83098. },
  83099. "links" : {
  83100. "type" : "string",
  83101. "description" : "解决方案链接"
  83102. },
  83103. "message" : {
  83104. "type" : "string",
  83105. "description" : "错误描述"
  83106. }
  83107. }
  83108. },
  83109. "AlipayTradeCreateModel" : {
  83110. "type" : "object",
  83111. "properties" : {
  83112. "alipay_store_id" : {
  83113. "type" : "string",
  83114. "description" : "支付宝店铺编号。\t指商户创建球房后支付宝生成的球房ID。",
  83115. "example" : "2016041400077000000003314986"
  83116. },
  83117. "bkagent_req_info" : {
  83118. "$ref" : "#/components/schemas/BkAgentReqInfo"
  83119. },
  83120. "body" : {
  83121. "type" : "string",
  83122. "description" : "订单附加信息。\t如果请求时传递了该参数,将在异步通知、对账单中原样返回,同时会在商户和用户的pc账单详情中作为交易描述展示",
  83123. "example" : "Iphone6 16G"
  83124. },
  83125. "business_params" : {
  83126. "$ref" : "#/components/schemas/BusinessParams"
  83127. },
  83128. "buyer_id" : {
  83129. "type" : "string",
  83130. "description" : "买家支付宝用户ID。\t2088开头的16位纯数字,小程序场景下获取用户ID请参考:<a target=\"_blank\" href=\"https://opendocs.alipay.com/mini/introduce/authcode\" >用户授权</a>;\t其它场景下获取用户ID请参考:<a target=\"_blank\" href=\"https://opendocs.alipay.com/open/284/106001/#s4\" >网页授权获取用户信息</a>;\t注:交易的买家与卖家不能相同。",
  83131. "example" : "2088102146225135"
  83132. },
  83133. "buyer_logon_id" : {
  83134. "type" : "string",
  83135. "description" : "买家支付宝登录账号。\tbuyer_logon_id和buyer_id两者传其一,和buyer_id不能同时为空,建议通过buyer_id来传递买家信息。",
  83136. "example" : "15901825620"
  83137. },
  83138. "buyer_open_id" : {
  83139. "type" : "string",
  83140. "description" : "买家支付宝用户唯一标识",
  83141. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  83142. },
  83143. "disable_pay_channels" : {
  83144. "type" : "string",
  83145. "description" : "禁用渠道,用户不可用指定渠道支付,多个渠道以逗号分割\r\t注,与enable_pay_channels互斥\r\t<a href=\"https://docs.open.alipay.com/common/wifww7\">渠道列表</a>",
  83146. "example" : "pcredit,moneyFund,debitCardExpress"
  83147. },
  83148. "discountable_amount" : {
  83149. "type" : "string",
  83150. "description" : "可打折金额。\t参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]。 \t如果同时传入了【可打折金额】、【不可打折金额】和【订单总金额】,则必须满足如下条件:【订单总金额】=【可打折金额】+【不可打折金额】。\t如果订单金额全部参与优惠计算,则【可打折金额】和【不可打折金额】都无需传入。",
  83151. "example" : "80.00"
  83152. },
  83153. "enable_pay_channels" : {
  83154. "type" : "string",
  83155. "description" : "指定支付渠道。\t用户只能使用指定的渠道进行支付,多个渠道以逗号分割。\t与disable_pay_channels互斥,支持传入的值:<a target=\"_blank\" href=\"https://docs.open.alipay.com/common/wifww7\">渠道列表</a>。\t注:如果传入了指定支付渠道,则用户只能用指定内的渠道支付,包括营销渠道也要指定才能使用。该参数可能导致用户支付受限,慎用。",
  83156. "example" : "pcredit,moneyFund,debitCardExpress"
  83157. },
  83158. "ext_user_info" : {
  83159. "$ref" : "#/components/schemas/ExtUserInfo"
  83160. },
  83161. "extend_params" : {
  83162. "$ref" : "#/components/schemas/ExtendParams"
  83163. },
  83164. "goods_detail" : {
  83165. "type" : "array",
  83166. "description" : "订单包含的商品列表信息,json格式。",
  83167. "items" : {
  83168. "$ref" : "#/components/schemas/GoodsDetail"
  83169. }
  83170. },
  83171. "logistics_detail" : {
  83172. "$ref" : "#/components/schemas/LogisticsDetail"
  83173. },
  83174. "merchant_order_no" : {
  83175. "type" : "string",
  83176. "description" : "商户的原始订单号",
  83177. "example" : "20161008001"
  83178. },
  83179. "notify_url" : {
  83180. "type" : "string",
  83181. "description" : "通知地址"
  83182. },
  83183. "operator_id" : {
  83184. "type" : "string",
  83185. "description" : "商户操作员编号。",
  83186. "example" : "Yx_001"
  83187. },
  83188. "out_trade_no" : {
  83189. "type" : "string",
  83190. "description" : "商户订单号。\t由商家自定义,64个字符以内,仅支持字母、数字、下划线且需保证在商户端不重复。",
  83191. "example" : "20150320010101001"
  83192. },
  83193. "passback_params" : {
  83194. "type" : "string",
  83195. "description" : "公用回传参数。\t如果请求时传递了该参数,支付宝会在异步通知时将该参数原样返回。",
  83196. "example" : "merchantBizType%3d3C%26merchantBizNo%3d2016010101111"
  83197. },
  83198. "product_code" : {
  83199. "type" : "string",
  83200. "description" : "产品码。\t商家和支付宝签约的产品码。 枚举值(点击查看签约情况):\t<a target=\"_blank\" href=\"https://opensupport.alipay.com/support/codelab/detail/486/487\">FACE_TO_FACE_PAYMENT</a>:当面付产品;\t默认值为FACE_TO_FACE_PAYMENT。",
  83201. "example" : "FACE_TO_FACE_PAYMENT"
  83202. },
  83203. "query_options" : {
  83204. "type" : "array",
  83205. "description" : "返回参数选项。 商户通过传递该参数来定制需要额外返回的信息字段,数组格式。包括但不限于:[\"enterprise_pay_info\",\"hyb_amount\"]",
  83206. "items" : {
  83207. "type" : "string"
  83208. },
  83209. "example" : "[\"enterprise_pay_info\",\"hyb_amount\"]"
  83210. },
  83211. "receiver_address_info" : {
  83212. "$ref" : "#/components/schemas/ReceiverAddressInfo"
  83213. },
  83214. "royalty_info" : {
  83215. "$ref" : "#/components/schemas/RoyaltyInfo"
  83216. },
  83217. "seller_id" : {
  83218. "type" : "string",
  83219. "description" : "卖家支付宝用户ID。\t当需要指定收款账号时,通过该参数传入,如果该值为空,则默认为商户签约账号对应的支付宝用户ID。\t收款账号优先级规则:球房绑定的收款账户>请求传入的seller_id>商户签约账号对应的支付宝用户ID;\t注:直付通和机构间联场景下seller_id无需传入或者保持跟pid一致;\t如果传入的seller_id与pid不一致,需要联系支付宝小二配置收款关系;",
  83220. "example" : "2088102146225135"
  83221. },
  83222. "settle_info" : {
  83223. "$ref" : "#/components/schemas/SettleInfo"
  83224. },
  83225. "store_id" : {
  83226. "type" : "string",
  83227. "description" : "商户球房编号。\t指商户创建球房时输入的球房编号。",
  83228. "example" : "NJ_001"
  83229. },
  83230. "sub_merchant" : {
  83231. "$ref" : "#/components/schemas/SubMerchant"
  83232. },
  83233. "subject" : {
  83234. "type" : "string",
  83235. "description" : "订单标题。\t注意:不可使用特殊字符,如 /,=,& 等。",
  83236. "example" : "Iphone6 16G"
  83237. },
  83238. "terminal_id" : {
  83239. "type" : "string",
  83240. "description" : "商户机具终端编号。",
  83241. "example" : "NJ_T_001"
  83242. },
  83243. "time_expire" : {
  83244. "type" : "string",
  83245. "description" : "订单绝对超时时间。\t格式为yyyy-MM-dd HH:mm:ss。\t注:time_expire和timeout_express两者只需传入一个或者都不传,如果两者都传,优先使用time_expire。",
  83246. "example" : "2021-12-31 10:05:00"
  83247. },
  83248. "timeout_express" : {
  83249. "type" : "string",
  83250. "description" : "订单相对超时时间。从交易创建时间开始计算。\t该笔订单允许的最晚付款时间,逾期将关闭交易。取值范围:1m~15d。m-分钟,h-小时,d-天,1c-当天(1c-当天的情况下,无论交易何时创建,都在0点关闭)。 该参数数值不接受小数点, 如 1.5h,可转换为 90m。\t当面付场景默认值为3h。\t注:time_expire和timeout_express两者只需传入一个或者都不传,如果两者都传,优先使用time_expire。",
  83251. "example" : "90m"
  83252. },
  83253. "total_amount" : {
  83254. "type" : "string",
  83255. "description" : "订单总金额。\t单位为元,精确到小数点后两位,取值范围:[0.01,100000000] 。",
  83256. "example" : "88.88"
  83257. },
  83258. "undiscountable_amount" : {
  83259. "type" : "string",
  83260. "description" : "不可打折金额。\t不参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]。 \t如果同时传入了【可打折金额】、【不可打折金额】和【订单总金额】,则必须满足如下条件:【订单总金额】=【可打折金额】+【不可打折金额】。\t如果订单金额全部参与优惠计算,则【可打折金额】和【不可打折金额】都无需传入。",
  83261. "example" : "8.88"
  83262. }
  83263. }
  83264. },
  83265. "AlipayTradeCreateResponseModel" : {
  83266. "type" : "object",
  83267. "properties" : {
  83268. "out_trade_no" : {
  83269. "type" : "string",
  83270. "description" : "商户订单号",
  83271. "example" : "20150423001001"
  83272. },
  83273. "trade_no" : {
  83274. "type" : "string",
  83275. "description" : "支付宝交易号",
  83276. "example" : "2015042321001004720200028594"
  83277. }
  83278. }
  83279. },
  83280. "AlipayTradeCustomsDeclareErrorResponseModel" : {
  83281. "required" : [ "code", "message" ],
  83282. "type" : "object",
  83283. "properties" : {
  83284. "code" : {
  83285. "type" : "string",
  83286. "description" : "错误码",
  83287. "enum" : [ "TRADE_NOT_EXIST", "TRADE_STATUS_ERROR", "INVALID_PARAMETER", "CONTEXT_INCONSISTENT", "SAME_CUSTOMS_DECLARE_ONCE", "REQUEST_AMOUNT_EXCEED", "PARTNER_ERROR", "PAYER_ENABLE_STATUS_FORBID", "SYSTEM_ERROR", "PAYER_BUYER_MISMATCH", "DEPOSIT_TRADE_NOT_EXIST", "NOT_SUPPORT_SPLIT" ]
  83288. },
  83289. "links" : {
  83290. "type" : "string",
  83291. "description" : "解决方案链接"
  83292. },
  83293. "message" : {
  83294. "type" : "string",
  83295. "description" : "错误描述"
  83296. }
  83297. }
  83298. },
  83299. "AlipayTradeCustomsDeclareModel" : {
  83300. "type" : "object",
  83301. "properties" : {
  83302. "amount" : {
  83303. "type" : "string",
  83304. "description" : "报关金额,单位为人民币“元”,精确到小数点后2位。",
  83305. "example" : "2"
  83306. },
  83307. "buyer_info" : {
  83308. "$ref" : "#/components/schemas/CustomsDeclareBuyerInfo"
  83309. },
  83310. "customs_place" : {
  83311. "type" : "string",
  83312. "description" : "海关编号(大小写皆可)。参见“ <a href=\"https://opendocs.alipay.com/pre-open/01x3kh#%E6%B5%B7%E5%85%B3%E7%BC%96%E5%8F%B7\">海关编号</a>”。",
  83313. "example" : "ZONGSHU"
  83314. },
  83315. "declare_mode" : {
  83316. "type" : "integer",
  83317. "description" : "报关模式,默认可空,1表示需要强校验买家和支付人的身份信息。",
  83318. "example" : "1"
  83319. },
  83320. "deposit_trade_no" : {
  83321. "type" : "string",
  83322. "description" : "定金在支付宝系统中的交易流水号,最长64位。当该参数不为空时,代表为”定金+尾款“报关场景。",
  83323. "example" : "2022110322001431071435352949"
  83324. },
  83325. "is_split" : {
  83326. "type" : "string",
  83327. "description" : "商户控制本单是否拆单的报关参数。\r\t仅当该参数传值为T或者t时,才会触发拆单。",
  83328. "example" : "T"
  83329. },
  83330. "merchant_customs_code" : {
  83331. "type" : "string",
  83332. "description" : "商户在海关备案的编号。",
  83333. "example" : "737203458"
  83334. },
  83335. "merchant_customs_name" : {
  83336. "type" : "string",
  83337. "description" : "商户海关备案名称。",
  83338. "example" : "龙腾国际贸易有限公司"
  83339. },
  83340. "merchant_id" : {
  83341. "type" : "string",
  83342. "description" : "国际站商户标识",
  83343. "example" : "2188120005907173"
  83344. },
  83345. "out_request_no" : {
  83346. "type" : "string",
  83347. "description" : "报关流水号。商户生成的用于唯一标识一次报关操作的业务编号。\t建议生成规则:yyyymmdd型8位日期拼接4位序列号。每个报关请求号仅允许传入:数字、英文字母、下划线”_”、短横线”-” 。长度6-64位前后不能有空格",
  83348. "example" : "9193457120563834"
  83349. },
  83350. "out_trade_no" : {
  83351. "type" : "string",
  83352. "description" : "国际站外部订单号",
  83353. "example" : "1422534255340818295"
  83354. },
  83355. "sub_out_biz_no" : {
  83356. "type" : "string",
  83357. "description" : "拆单报关的商户子订单号。 用于区别拆单时不同子单。拆单时必须传入,否则会报INVALID_PARAMETER错误码。",
  83358. "example" : "2015080811223212345453"
  83359. },
  83360. "trade_no" : {
  83361. "type" : "string",
  83362. "description" : "支付宝交易号。该交易在支付宝系统中的交易流水号,最长64位。",
  83363. "example" : "2015051446800462"
  83364. }
  83365. }
  83366. },
  83367. "AlipayTradeCustomsDeclareResponseModel" : {
  83368. "type" : "object",
  83369. "properties" : {
  83370. "alipay_declare_no" : {
  83371. "type" : "string",
  83372. "description" : "支付宝报关流水号。",
  83373. "example" : "2013112611001004680073956707"
  83374. },
  83375. "currency" : {
  83376. "type" : "string",
  83377. "description" : "币种",
  83378. "example" : "142"
  83379. },
  83380. "identity_check" : {
  83381. "type" : "string",
  83382. "description" : "订购人身份信息和支付人的身份信息验证结果。T表示商户传入的订购人姓名和身份证号和支付人的姓名和身份证号一致。F代表商户传入的订购人姓名和身份证号和支付人的姓名和身份证号不一致。对于同一笔报关单支付宝只会校验一次,如果多次重推不会返回此参数。",
  83383. "example" : "T"
  83384. },
  83385. "out_trade_no" : {
  83386. "type" : "string",
  83387. "description" : "国际站外部订单号",
  83388. "example" : "1422534255340818295"
  83389. },
  83390. "pay_code" : {
  83391. "type" : "string",
  83392. "description" : "支付机构注册号",
  83393. "example" : "31222699S7"
  83394. },
  83395. "pay_transaction_id" : {
  83396. "type" : "string",
  83397. "description" : "清算流水号",
  83398. "example" : "2019032011082610277150475"
  83399. },
  83400. "total_amount" : {
  83401. "type" : "string",
  83402. "description" : "交易总金额(单位:分)",
  83403. "example" : "133000"
  83404. },
  83405. "trade_no" : {
  83406. "type" : "string",
  83407. "description" : "支付宝推送到海关的支付单据号。",
  83408. "example" : "2013111511001004390000105126"
  83409. },
  83410. "ver_dept" : {
  83411. "type" : "string",
  83412. "description" : "清算机构标志(1-cup,2-null,3-other)",
  83413. "example" : "1"
  83414. }
  83415. }
  83416. },
  83417. "AlipayTradeCustomsQueryErrorResponseModel" : {
  83418. "required" : [ "code", "message" ],
  83419. "type" : "object",
  83420. "properties" : {
  83421. "code" : {
  83422. "type" : "string",
  83423. "description" : "错误码",
  83424. "enum" : [ "INVALID_PARAMETER", "MAX_OUT_REQUEST_NO_EXCEEDED" ]
  83425. },
  83426. "links" : {
  83427. "type" : "string",
  83428. "description" : "解决方案链接"
  83429. },
  83430. "message" : {
  83431. "type" : "string",
  83432. "description" : "错误描述"
  83433. }
  83434. }
  83435. },
  83436. "AlipayTradeCustomsQueryResponseModel" : {
  83437. "type" : "object",
  83438. "properties" : {
  83439. "not_found" : {
  83440. "type" : "string",
  83441. "description" : "不存在记录的报关请求号。多个值用逗号分隔,单次最多10个;每个报关请求号String(32)",
  83442. "example" : "201506010001,201506010002,201506010003"
  83443. },
  83444. "records" : {
  83445. "type" : "array",
  83446. "description" : "匹配到的列表。每个记录代表一条报关记录",
  83447. "items" : {
  83448. "$ref" : "#/components/schemas/CustomsDeclareRecordInfo"
  83449. }
  83450. }
  83451. }
  83452. },
  83453. "AlipayTradeFastpayRefundQueryErrorResponseModel" : {
  83454. "required" : [ "code", "message" ],
  83455. "type" : "object",
  83456. "properties" : {
  83457. "code" : {
  83458. "type" : "string",
  83459. "description" : "错误码",
  83460. "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "TRADE_NOT_EXIST", "ACQ.TRADE_NOT_EXIST", "ACQ.ENTERPRISE_PAY_BIZ_ERROR" ]
  83461. },
  83462. "links" : {
  83463. "type" : "string",
  83464. "description" : "解决方案链接"
  83465. },
  83466. "message" : {
  83467. "type" : "string",
  83468. "description" : "错误描述"
  83469. }
  83470. }
  83471. },
  83472. "AlipayTradeFastpayRefundQueryModel" : {
  83473. "type" : "object",
  83474. "properties" : {
  83475. "org_pid" : {
  83476. "type" : "string",
  83477. "description" : "银行间联模式下有用,其它场景请不要使用;\r\t双联通过该参数指定需要查询的交易所属收单机构的pid;",
  83478. "example" : "2088101117952222"
  83479. },
  83480. "out_request_no" : {
  83481. "type" : "string",
  83482. "description" : "退款请求号。\t请求退款接口时,传入的退款请求号,如果在退款请求时未传入,则该值为创建交易时的商户订单号。",
  83483. "example" : "HZ01RF001"
  83484. },
  83485. "out_trade_no" : {
  83486. "type" : "string",
  83487. "description" : "商户订单号。\t订单支付时传入的商户订单号,和支付宝交易号不能同时为空。 trade_no,out_trade_no如果同时存在优先取trade_no",
  83488. "example" : "2014112611001004680073956707"
  83489. },
  83490. "query_options" : {
  83491. "type" : "array",
  83492. "description" : "查询选项,商户通过上送该参数来定制同步需要额外返回的信息字段,数组格式。枚举支持:\trefund_detail_item_list:本次退款使用的资金渠道;\tgmt_refund_pay:退款执行成功的时间;\tdeposit_back_info:银行卡冲退信息;",
  83493. "items" : {
  83494. "type" : "string"
  83495. },
  83496. "example" : "refund_detail_item_list"
  83497. },
  83498. "trade_no" : {
  83499. "type" : "string",
  83500. "description" : "支付宝交易号。\t和商户订单号不能同时为空",
  83501. "example" : "2021081722001419121412730660"
  83502. }
  83503. }
  83504. },
  83505. "AlipayTradeFastpayRefundQueryResponseModel" : {
  83506. "type" : "object",
  83507. "properties" : {
  83508. "deposit_back_info" : {
  83509. "$ref" : "#/components/schemas/DepositBackInfo"
  83510. },
  83511. "enterprise_pay_info" : {
  83512. "$ref" : "#/components/schemas/EnterprisePayInfo"
  83513. },
  83514. "error_code" : {
  83515. "type" : "string",
  83516. "description" : "退款失败错误码。只在使用异步退款接口情况下才会返回该字段",
  83517. "example" : "SELLER_BALANCE_NOT_ENOUGH"
  83518. },
  83519. "gmt_refund_pay" : {
  83520. "type" : "string",
  83521. "description" : "退款时间。默认不返回该信息,需要在入参的query_options中指定\"gmt_refund_pay\"值时才返回该字段信息。",
  83522. "example" : "2014-11-27 15:45:57"
  83523. },
  83524. "industry_sepc_detail" : {
  83525. "type" : "string",
  83526. "description" : "行业特殊信息(例如在医保卡支付退款中,医保局向商户返回医疗信息)。",
  83527. "example" : "[{\"bizType\":\"REFUND\",\"modelName\":\"tradeCancelContext\",\"contextData\":{\"response_content\":\"{\\\"WxResToll\\\":{\\\"dealID\\\":\\\"\\\",}}\"}}]"
  83528. },
  83529. "out_request_no" : {
  83530. "type" : "string",
  83531. "description" : "本笔退款对应的退款请求号",
  83532. "example" : "20150320010101001"
  83533. },
  83534. "out_trade_no" : {
  83535. "type" : "string",
  83536. "description" : "创建交易传入的商户订单号",
  83537. "example" : "20150320010101001"
  83538. },
  83539. "present_refund_buyer_amount" : {
  83540. "type" : "string",
  83541. "description" : "本次退款金额中买家退款金额。单位:元。\t该字段默认不返回;",
  83542. "example" : "88.88"
  83543. },
  83544. "present_refund_discount_amount" : {
  83545. "type" : "string",
  83546. "description" : "本次退款金额中平台优惠退款金额。单位:元。\t该字段默认不返回;",
  83547. "example" : "88.88"
  83548. },
  83549. "present_refund_mdiscount_amount" : {
  83550. "type" : "string",
  83551. "description" : "本次退款金额中商家优惠退款金额。单位:元。\t该字段默认不返回;",
  83552. "example" : "88.88"
  83553. },
  83554. "refund_amount" : {
  83555. "type" : "string",
  83556. "description" : "本次退款请求,对应的退款金额。单位:元。",
  83557. "example" : "12.33"
  83558. },
  83559. "refund_channel_list" : {
  83560. "type" : "string",
  83561. "description" : "若支付渠道包含医保统筹、个账,则显示退款的渠道信息。如统筹OUTSIDEGOVCARD,个账OUTSIDEACCCARD",
  83562. "example" : "OUTSIDEGOVCARD"
  83563. },
  83564. "refund_channel_status" : {
  83565. "type" : "string",
  83566. "description" : "若支付渠道包含医保统筹、个账,全渠道退款成功时返回SUCCESS,全失败时返回FAIL,部分成功时返回PART_SUCCESS",
  83567. "example" : "SUCCESS"
  83568. },
  83569. "refund_charge_amount" : {
  83570. "type" : "string",
  83571. "description" : "本次退款针对收款方的退收费金额;单位:元。\t只在机构间联模式下返回,其它场景下不返回该字段;",
  83572. "example" : "8.88"
  83573. },
  83574. "refund_charge_info_list" : {
  83575. "type" : "array",
  83576. "description" : "退费信息",
  83577. "items" : {
  83578. "$ref" : "#/components/schemas/RefundChargeInfo"
  83579. }
  83580. },
  83581. "refund_detail_item_list" : {
  83582. "type" : "array",
  83583. "description" : "本次退款使用的资金渠道;\t默认不返回该信息,需要在入参的query_options中指定\"refund_detail_item_list\"值时才返回该字段信息。",
  83584. "items" : {
  83585. "$ref" : "#/components/schemas/TradeFundBill"
  83586. }
  83587. },
  83588. "refund_hyb_amount" : {
  83589. "type" : "string",
  83590. "description" : "本次退款金额中退惠营宝的金额。单位:元。",
  83591. "example" : "10.24"
  83592. },
  83593. "refund_reason" : {
  83594. "type" : "string",
  83595. "description" : "发起退款时,传入的退款原因",
  83596. "example" : "用户退款请求"
  83597. },
  83598. "refund_royaltys" : {
  83599. "type" : "array",
  83600. "description" : "退分账明细信息,当前仅在直付通产品中返回。",
  83601. "items" : {
  83602. "$ref" : "#/components/schemas/RefundRoyaltyResult"
  83603. }
  83604. },
  83605. "refund_settlement_id" : {
  83606. "type" : "string",
  83607. "description" : "退款清算编号,用于清算对账使用;\t只在机构间联模式下返回,其它场景下不返回该字段;",
  83608. "example" : "2018101610032004620239146945"
  83609. },
  83610. "refund_status" : {
  83611. "type" : "string",
  83612. "description" : "退款状态。枚举值:\tREFUND_SUCCESS 退款处理成功;\t未返回该字段表示退款请求未收到或者退款失败;\t注:如果退款查询发起时间早于退款时间,或者间隔退款发起时间太短,可能出现退款查询时还没处理成功,后面又处理成功的情况,建议商户在退款发起后间隔10秒以上再发起退款查询请求。",
  83613. "example" : "REFUND_SUCCESS"
  83614. },
  83615. "send_back_fee" : {
  83616. "type" : "string",
  83617. "description" : "本次商户实际退回金额;单位:元。\t默认不返回该信息,需要在入参的query_options中指定\"refund_detail_item_list\"值时才返回该字段信息。",
  83618. "example" : "88"
  83619. },
  83620. "total_amount" : {
  83621. "type" : "string",
  83622. "description" : "该笔退款所对应的交易的订单金额。单位:元。",
  83623. "example" : "100.20"
  83624. },
  83625. "trade_no" : {
  83626. "type" : "string",
  83627. "description" : "支付宝交易号",
  83628. "example" : "2014112611001004680073956707"
  83629. }
  83630. }
  83631. },
  83632. "AlipayTradeOrderPayErrorResponseModel" : {
  83633. "required" : [ "code", "message" ],
  83634. "type" : "object",
  83635. "properties" : {
  83636. "code" : {
  83637. "type" : "string",
  83638. "description" : "错误码",
  83639. "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.ACCESS_FORBIDDEN", "ACQ.PARTNER_ERROR", "ACQ.TOTAL_FEE_EXCEED", "ACQ.CONTEXT_INCONSISTENT", "ACQ.TRADE_HAS_SUCCESS", "ACQ.TRADE_HAS_CLOSE", "ACQ.TRADE_BUYER_NOT_MATCH", "ACQ.AMOUNT_OR_CURRENCY_ERROR", "ACQ.AGREEMENT_ERROR" ]
  83640. },
  83641. "links" : {
  83642. "type" : "string",
  83643. "description" : "解决方案链接"
  83644. },
  83645. "message" : {
  83646. "type" : "string",
  83647. "description" : "错误描述"
  83648. }
  83649. }
  83650. },
  83651. "AlipayTradeOrderPayModel" : {
  83652. "type" : "object",
  83653. "properties" : {
  83654. "advance_payment_type" : {
  83655. "type" : "string",
  83656. "description" : "垫资支付模式。支付时需要垫资的场景才传入。具体传参需与支付宝约定。\tCREDIT_FULFILLMENT_ZM 表示先用后付产品履约动作支持芝麻垫资。",
  83657. "example" : "CREDIT_FULFILLMENT_ZM"
  83658. },
  83659. "buyer_id" : {
  83660. "type" : "string",
  83661. "description" : "买家的支付宝用户id\r\t\r\t注:\r\t1.用于校验与已存交易中的买家是否相等",
  83662. "example" : "2088202954065786"
  83663. },
  83664. "buyer_open_id" : {
  83665. "type" : "string",
  83666. "description" : "买家支付宝用户唯一标识\t\t注:\t1.用于校验与已存交易中的买家是否相等",
  83667. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  83668. },
  83669. "buyer_pay_detail" : {
  83670. "type" : "array",
  83671. "description" : "买家支付明细\r\t\r\t目前支持的支付渠道为:\r\t- offline_pos:本次买家使用的是pos刷卡支付\r\t\r\t注:\r\t各支付工具金额总和=订单总金额",
  83672. "items" : {
  83673. "$ref" : "#/components/schemas/BuyerPayDetail"
  83674. }
  83675. },
  83676. "fulfillment_amount" : {
  83677. "type" : "string",
  83678. "description" : "本次履约支付金额,单位为元,精确到小数点后两位。履约支付场景才需要传入。",
  83679. "example" : "88.88"
  83680. },
  83681. "is_async_pay" : {
  83682. "type" : "boolean",
  83683. "description" : "是否异步支付,传入true时,表明本次期望走异步支付,会先将支付请求受理下来,再异步推进。商户可以通过交易的异步通知或者轮询交易的状态来确定最终的交易结果",
  83684. "example" : "true"
  83685. },
  83686. "order_pay_mode" : {
  83687. "type" : "string",
  83688. "description" : "订单支付模式。特殊支付场景才需要传入。具体传参需与支付宝约定。\tCREDIT_FULFILLMENT_ZM表示基于芝麻授信的履约支付模式,比如芝麻先用后付产品。",
  83689. "example" : "CREDIT_FULFILLMENT_ZM"
  83690. },
  83691. "out_request_no" : {
  83692. "type" : "string",
  83693. "description" : "商户请求号,标识一次请求的唯一id,用于幂等控制。",
  83694. "example" : "20200320010101001"
  83695. },
  83696. "product_code" : {
  83697. "type" : "string",
  83698. "description" : "销售产品码",
  83699. "example" : "SETTLE_OFFLINE_GROUP"
  83700. },
  83701. "total_amount" : {
  83702. "type" : "string",
  83703. "description" : "订单总金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]\r\t\r\t注:\r\t1.用于校验与已存交易中的金额是否相等",
  83704. "example" : "88.88"
  83705. },
  83706. "trade_no" : {
  83707. "type" : "string",
  83708. "description" : "支付宝交易号",
  83709. "example" : "2018062721001004150200645134"
  83710. }
  83711. }
  83712. },
  83713. "AlipayTradeOrderPayResponseModel" : {
  83714. "type" : "object",
  83715. "properties" : {
  83716. "async_payment_mode" : {
  83717. "type" : "string",
  83718. "description" : "异步支付模式。订单使用异步支付模式时才有值。\t目前有五种值: ASYNC_DELAY_PAY(异步延时付款); ASYNC_REALTIME_PAY(异步准实时付款); SYNC_DIRECT_PAY(同步直接扣款); NORMAL_ASYNC_PAY(纯异步付款); QUOTA_OCCUPYIED_ASYNC_PAY(异步支付并且预占了先享后付额度);",
  83719. "example" : "NORMAL_ASYNC_PAY"
  83720. },
  83721. "gmt_payment" : {
  83722. "type" : "string",
  83723. "description" : "交易支付时间",
  83724. "example" : "2021-03-17 09:45:57"
  83725. },
  83726. "out_request_no" : {
  83727. "type" : "string",
  83728. "description" : "商户请求号",
  83729. "example" : "20180623001001"
  83730. },
  83731. "out_trade_no" : {
  83732. "type" : "string",
  83733. "description" : "商户订单号",
  83734. "example" : "20180623001001"
  83735. },
  83736. "total_amount" : {
  83737. "type" : "string",
  83738. "description" : "订单总金额。元为单元,精确到2位小数。",
  83739. "example" : "120.88"
  83740. },
  83741. "trade_no" : {
  83742. "type" : "string",
  83743. "description" : "支付宝交易号",
  83744. "example" : "2018062721001004150200645134"
  83745. }
  83746. }
  83747. },
  83748. "AlipayTradeOrderSettleErrorResponseModel" : {
  83749. "required" : [ "code", "message" ],
  83750. "type" : "object",
  83751. "properties" : {
  83752. "code" : {
  83753. "type" : "string",
  83754. "description" : "错误码",
  83755. "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.TRADE_NOT_EXIST", "ACQ.TRADE_STATUS_ERROR", "ACQ.PARTNER_ERROR", "ACQ.DISCORDANT_REPEAT_REQUEST", "ACQ.TRADE_SETTLE_ERROR", "ACQ.USER_LOGONID_DUP", "ACQ.ROYALTY_RECEIVER_INVALID", "ACQ.ALLOC_AMOUNT_VALIDATE_ERROR", "ACQ.FREQUENCY_LIMITED", "ACQ.CUSTOMER_VALIDATE_ERROR", "ACQ.USER_ACCOUNT_HAD_FREEZEN", "ACQ.ILLEGAL_SETTLE_STATE", "ACQ.TXN_RESULT_ACCOUNT_BALANCE_NOT_ENOUGH", "ACQ.REASON_TRADE_STATUS_INVALID", "ACQ.NOT_SUPPORT_ROYALTY", "ACQ.ROYALTY_ACCOUNT_NOT_EXIST", "ACQ.ROYALTY_ACCOUNT_INVALID", "ACQ.SETTLE_ENTITY_ID_INVALID", "ACQ.ROYALTY_ACCOUNTS_EQUAL", "ACQ.DUP_OUT_REQUEST_NO", "ACQ.MERCHANT_RISK_LIMIT", "ACQ.ROYALTY_PAYER_ACCOUNT_NOT_EXIST", "ACQ.ROYALTY_RECEIVER_ACCOUNT_NOT_EXIST", "ACQ.ROYALTY_PAYER_ACCOUNT_NOT_CERTIFY", "ACQ.ROYALTY_RECEIVER_ACCOUNT_NOT_CERTIFY", "ACQ.ROYALTY_PAYER_ACCOUNT_NO_BALANCE", "ACQ.ROYALTY_RECEIVER_ACCOUNT_NO_BALANCE", "ACQ.ROYALTY_ACCOUNT_NAME_NOT_MATCH", "ACQ.SETTLE_TO_CARD_NOT_SUPPORT", "ACQ.REPLENISH_ACCOUNT_INVALID", "ACQ.INVALID_REPLENISH_AMOUNT", "ACQ.ASYNC_ALLOC_NOT_SUPPORT_IN_PERIOD", "ACQ.SECONDARY_MERCHANT_ID_INVALID", "ACQ.MUST_ALLOC_FROM_ROOT_ACCOUNT", "ACQ.UN_SUPPORT_BIZ_TYPE", "ACQ.ACCESS_FORBIDDEN" ]
  83756. },
  83757. "links" : {
  83758. "type" : "string",
  83759. "description" : "解决方案链接"
  83760. },
  83761. "message" : {
  83762. "type" : "string",
  83763. "description" : "错误描述"
  83764. }
  83765. }
  83766. },
  83767. "AlipayTradeOrderSettleModel" : {
  83768. "type" : "object",
  83769. "properties" : {
  83770. "extend_params" : {
  83771. "$ref" : "#/components/schemas/SettleExtendParams"
  83772. },
  83773. "operator_id" : {
  83774. "type" : "string",
  83775. "description" : "操作员 ID,商家自定义操作员编号。",
  83776. "example" : "A0001"
  83777. },
  83778. "out_request_no" : {
  83779. "type" : "string",
  83780. "description" : "结算请求流水号,由商家自定义。32个字符以内,仅可包含字母、数字、下划线。需保证在商户端不重复。",
  83781. "example" : "20160727001"
  83782. },
  83783. "royalty_mode" : {
  83784. "type" : "string",
  83785. "description" : "分账模式,目前有两种分账同步执行sync,分账异步执行async,不传默认同步执行",
  83786. "example" : "async"
  83787. },
  83788. "royalty_parameters" : {
  83789. "type" : "array",
  83790. "description" : "分账明细信息。\t注意:商家分账场景下分账收入方 trans_in 只支持支付宝账户,不支持使用 cardAliasNo 卡编号。",
  83791. "items" : {
  83792. "$ref" : "#/components/schemas/OpenApiRoyaltyDetailInfoPojo"
  83793. }
  83794. },
  83795. "trade_no" : {
  83796. "type" : "string",
  83797. "description" : "支付宝订单号",
  83798. "example" : "2014030411001007850000672009"
  83799. }
  83800. }
  83801. },
  83802. "AlipayTradeOrderSettleQueryErrorResponseModel" : {
  83803. "required" : [ "code", "message" ],
  83804. "type" : "object",
  83805. "properties" : {
  83806. "code" : {
  83807. "type" : "string",
  83808. "description" : "错误码",
  83809. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "MERCHANT_TRADE_NOT_MATCH", "OPENID_APPID_NOT_MATCH" ]
  83810. },
  83811. "links" : {
  83812. "type" : "string",
  83813. "description" : "解决方案链接"
  83814. },
  83815. "message" : {
  83816. "type" : "string",
  83817. "description" : "错误描述"
  83818. }
  83819. }
  83820. },
  83821. "AlipayTradeOrderSettleQueryResponseModel" : {
  83822. "type" : "object",
  83823. "properties" : {
  83824. "operation_dt" : {
  83825. "type" : "string",
  83826. "description" : "分账受理时间",
  83827. "example" : "2021-07-30 12:00:00"
  83828. },
  83829. "out_request_no" : {
  83830. "type" : "string",
  83831. "description" : "商户分账请求单号",
  83832. "example" : "20210727001"
  83833. },
  83834. "royalty_detail_list" : {
  83835. "type" : "array",
  83836. "description" : "分账明细",
  83837. "items" : {
  83838. "$ref" : "#/components/schemas/RoyaltyDetail"
  83839. }
  83840. }
  83841. }
  83842. },
  83843. "AlipayTradeOrderSettleResponseModel" : {
  83844. "type" : "object",
  83845. "properties" : {
  83846. "settle_no" : {
  83847. "type" : "string",
  83848. "description" : "支付宝分账单号,可以根据该单号查询单次分账请求执行结果",
  83849. "example" : "20210718002530070036530006474222"
  83850. },
  83851. "trade_no" : {
  83852. "type" : "string",
  83853. "description" : "支付宝交易号",
  83854. "example" : "2015070921001004130000127422"
  83855. }
  83856. }
  83857. },
  83858. "AlipayTradeOrderinfoSyncErrorResponseModel" : {
  83859. "required" : [ "code", "message" ],
  83860. "type" : "object",
  83861. "properties" : {
  83862. "code" : {
  83863. "type" : "string",
  83864. "description" : "错误码",
  83865. "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.TRADE_NOT_EXIST", "ACQ.NOTIFY_STATUS_INVALID" ]
  83866. },
  83867. "links" : {
  83868. "type" : "string",
  83869. "description" : "解决方案链接"
  83870. },
  83871. "message" : {
  83872. "type" : "string",
  83873. "description" : "错误描述"
  83874. }
  83875. }
  83876. },
  83877. "AlipayTradeOrderinfoSyncModel" : {
  83878. "type" : "object",
  83879. "properties" : {
  83880. "biz_type" : {
  83881. "type" : "string",
  83882. "description" : "交易信息同步对应的业务类型,具体值与支付宝约定;\r\t信用授权场景下传CREDIT_AUTH\r\t信用代扣场景下传CREDIT_DEDUCT",
  83883. "example" : "CREDIT_AUTH"
  83884. },
  83885. "order_biz_info" : {
  83886. "type" : "string",
  83887. "description" : "商户传入同步信息,具体值要和支付宝约定;用于芝麻信用租车、单次授权等信息同步场景,格式为json格式。\r\t状态枚举如下:\r\t\r\tCOMPLETE:同步用户已履约\r\t适用场景:发起扣款后,芝麻生成待履约记录,如果用户通过其他方式完成订单支付,请反馈该状态,芝麻将完结待履约记录对用户形成一条良好履约记录;\r\t\r\tCLOSED: 同步履约已取消\r\t适用场景:发起扣款后,芝麻生成待履约记录,如果发现该笔扣款无效需要取消,请反馈该状态,芝麻将取消用户待履约记录;\r\t\r\tVIOLATED: 用户已违约\r\t适用场景:如果用户在约定时间(具体根据行业约定,有一定宽限期)内未完成订单支付,反馈该状态,芝麻将对用户记录一条负面记录,请谨慎使用;",
  83888. "example" : "{\"status\":\"COMPLETE\"}"
  83889. },
  83890. "orig_request_no" : {
  83891. "type" : "string",
  83892. "description" : "原始业务请求单号。如对某一次退款进行履约时,该字段传退款时的退款请求号",
  83893. "example" : "HZ01RF001"
  83894. },
  83895. "out_request_no" : {
  83896. "type" : "string",
  83897. "description" : "外部请求号,商家自定义。标识一笔交易多次请求,同一笔交易多次信息同步时需要保证唯一。",
  83898. "example" : "HZ01RF001"
  83899. },
  83900. "trade_no" : {
  83901. "type" : "string",
  83902. "description" : "支付宝交易号",
  83903. "example" : "2018061021001004680073956707"
  83904. }
  83905. }
  83906. },
  83907. "AlipayTradeOrderinfoSyncResponseModel" : {
  83908. "type" : "object",
  83909. "properties" : {
  83910. "buyer_open_id" : {
  83911. "type" : "string",
  83912. "description" : "买家支付宝用户唯一标识",
  83913. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  83914. },
  83915. "buyer_user_id" : {
  83916. "type" : "string",
  83917. "description" : "买家在支付宝的用户id",
  83918. "example" : "2088101117955611"
  83919. },
  83920. "out_trade_no" : {
  83921. "type" : "string",
  83922. "description" : "商户订单号",
  83923. "example" : "20180610010101001"
  83924. },
  83925. "trade_no" : {
  83926. "type" : "string",
  83927. "description" : "支付宝交易号",
  83928. "example" : "20180610121001004680073956707"
  83929. }
  83930. }
  83931. },
  83932. "AlipayTradeOverseasSettleErrorResponseModel" : {
  83933. "required" : [ "code", "message" ],
  83934. "type" : "object",
  83935. "properties" : {
  83936. "code" : {
  83937. "type" : "string",
  83938. "description" : "错误码",
  83939. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "TRADE_NOT_EXIST", "PARTNER_ERROR", "DUP_OUT_REQUEST_NO", "TRADE_SETTLE_ERROR", "ILLEGAL_SETTLE_STATE", "REASON_ILLEGAL_STATUS", "REASON_TRADE_STATUS_INVALID", "FREQUENCY_LIMITED", "USER_ACCOUNT_HAD_FREEZEN", "DISCORDANT_REPEAT_REQUEST", "SETTLE_AMOUNT_VALIDATE_ERROR", "MINIMUM_EXCHANGE_AMOUNT_LIMIT", "TOTAL_FEE_EXCEED", "MERCHANT_AGREEMENT_NOT_EXIST" ]
  83940. },
  83941. "links" : {
  83942. "type" : "string",
  83943. "description" : "解决方案链接"
  83944. },
  83945. "message" : {
  83946. "type" : "string",
  83947. "description" : "错误描述"
  83948. }
  83949. }
  83950. },
  83951. "AlipayTradeOverseasSettleModel" : {
  83952. "type" : "object",
  83953. "properties" : {
  83954. "amount" : {
  83955. "type" : "string",
  83956. "description" : "跨境结算的人民币金额,单位为元;等于交易金额 (实际为实收金额),加上净补差金额,减去已退款金额,减去净收费金额,再减去净分账金额,",
  83957. "example" : "3.14"
  83958. },
  83959. "extend_params" : {
  83960. "$ref" : "#/components/schemas/OverseasExtendParams"
  83961. },
  83962. "foreign_settle_currency" : {
  83963. "type" : "string",
  83964. "description" : "跨境结算的外币币种",
  83965. "example" : "USD"
  83966. },
  83967. "out_request_no" : {
  83968. "type" : "string",
  83969. "description" : "外部请求号,开发者自行生成并保证唯一性,作为业务幂等性控制",
  83970. "example" : "20160727001"
  83971. },
  83972. "trade_no" : {
  83973. "type" : "string",
  83974. "description" : "支付宝交易号",
  83975. "example" : "2020121921001004130000127421"
  83976. }
  83977. }
  83978. },
  83979. "AlipayTradeOverseasSettleResponseModel" : {
  83980. "type" : "object",
  83981. "properties" : {
  83982. "exchange_rate" : {
  83983. "type" : "string",
  83984. "description" : "本笔跨境结算使用的汇率,精度 8 位小数",
  83985. "example" : "6.83950000"
  83986. },
  83987. "foreign_settle_amount" : {
  83988. "type" : "string",
  83989. "description" : "本次跨境结算的实际结算外币金额",
  83990. "example" : "1.00"
  83991. },
  83992. "foreign_settle_currency" : {
  83993. "type" : "string",
  83994. "description" : "本笔跨境结算实际结算的外币币种",
  83995. "example" : "USD"
  83996. },
  83997. "out_request_no" : {
  83998. "type" : "string",
  83999. "description" : "请求流水号,开发者自行生成并保证唯一性,作为业务幂等性控制",
  84000. "example" : "20160727001"
  84001. },
  84002. "settle_amount" : {
  84003. "type" : "string",
  84004. "description" : "本次跨境结算的实际结算人民币金额",
  84005. "example" : "6.00"
  84006. },
  84007. "trade_no" : {
  84008. "type" : "string",
  84009. "description" : "支付宝交易号",
  84010. "example" : "2020121921001004130000127421"
  84011. }
  84012. }
  84013. },
  84014. "AlipayTradePayErrorResponseModel" : {
  84015. "required" : [ "code", "message" ],
  84016. "type" : "object",
  84017. "properties" : {
  84018. "code" : {
  84019. "type" : "string",
  84020. "description" : "错误码",
  84021. "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.ACCESS_FORBIDDEN", "ACQ.EXIST_FORBIDDEN_WORD", "ACQ.PARTNER_ERROR", "ACQ.TOTAL_FEE_EXCEED", "ACQ.PAYMENT_AUTH_CODE_INVALID", "ACQ.CONTEXT_INCONSISTENT", "ACQ.TRADE_HAS_SUCCESS", "ACQ.TRADE_HAS_CLOSE", "ACQ.BUYER_BALANCE_NOT_ENOUGH", "ACQ.BUYER_BANKCARD_BALANCE_NOT_ENOUGH", "ACQ.ERROR_BALANCE_PAYMENT_DISABLE", "ACQ.BUYER_SELLER_EQUAL", "ACQ.TRADE_BUYER_NOT_MATCH", "ACQ.BUYER_ENABLE_STATUS_FORBID", "ACQ.PULL_MOBILE_CASHIER_FAIL", "ACQ.MOBILE_PAYMENT_SWITCH_OFF", "ACQ.PAYMENT_FAIL", "ACQ.BUYER_PAYMENT_AMOUNT_DAY_LIMIT_ERROR", "ACQ.BEYOND_PAY_RESTRICTION", "ACQ.BEYOND_PER_RECEIPT_RESTRICTION", "ACQ.BUYER_PAYMENT_AMOUNT_MONTH_LIMIT_ERROR", "ACQ.SELLER_BEEN_BLOCKED", "ACQ.ERROR_BUYER_CERTIFY_LEVEL_LIMIT", "ACQ.PAYMENT_REQUEST_HAS_RISK", "ACQ.NO_PAYMENT_INSTRUMENTS_AVAILABLE", "ACQ.USER_FACE_PAYMENT_SWITCH_OFF", "ACQ.INVALID_STORE_ID", "ACQ.SUB_MERCHANT_CREATE_FAIL", "ACQ.SUB_MERCHANT_TYPE_INVALID", "ACQ.AGREEMENT_NOT_EXIST", "ACQ.AGREEMENT_INVALID", "ACQ.AGREEMENT_STATUS_NOT_NORMAL", "ACQ.MERCHANT_AGREEMENT_NOT_EXIST", "ACQ.MERCHANT_AGREEMENT_INVALID", "ACQ.MERCHANT_STATUS_NOT_NORMAL", "ACQ.CARD_USER_NOT_MATCH", "ACQ.CARD_TYPE_ERROR", "ACQ.CERT_EXPIRED", "ACQ.AMOUNT_OR_CURRENCY_ERROR", "ACQ.CURRENCY_NOT_SUPPORT", "ACQ.MERCHANT_UNSUPPORT_ADVANCE", "ACQ.BUYER_UNSUPPORT_ADVANCE", "ACQ.ORDER_UNSUPPORT_ADVANCE", "ACQ.CYCLE_PAY_DATE_NOT_MATCH", "ACQ.CYCLE_PAY_SINGLE_FEE_EXCEED", "ACQ.CYCLE_PAY_TOTAL_FEE_EXCEED", "ACQ.CYCLE_PAY_TOTAL_TIMES_EXCEED", "ACQ.SECONDARY_MERCHANT_STATUS_ERROR", "ACQ.AUTH_NO_ERROR", "ACQ.BUYER_NOT_EXIST", "ACQ.PRODUCT_AMOUNT_LIMIT_ERROR", "ACQ.SECONDARY_MERCHANT_ALIPAY_ACCOUNT_INVALID", "ACQ.INVALID_RECEIVE_ACCOUNT", "ACQ.SELLER_NOT_EXIST", "ACQ.AUTH_AMOUNT_NOT_ENOUGH", "ACQ.AGREEMENT_ERROR", "ACQ.BEYOND_PER_RECEIPT_SINGLE_RESTRICTION", "ACQ.PAYER_UNMATCHED", "ACQ.PRE_AUTH_PROD_CODE_INCONSISTENT", "ACQ.SECONDARY_MERCHANT_ID_INVALID", "ACQ.NOW_TIME_AFTER_EXPIRE_TIME_ERROR", "ACQ.SECONDARY_MERCHANT_NOT_MATCH", "ACQ.REQUEST_AMOUNT_EXCEED", "ACQ.SUB_GOODS_SIZE_MAX_COUNT", "ACQ.NOT_SUPPORT_PAYMENT_INST", "ACQ.BUYER_NOT_MAINLAND_CERT", "ACQ.SECONDARY_MERCHANT_ID_BLANK", "ACQ.TRADE_SETTLE_ERROR", "ACQ.AUTH_TOKEN_IS_NOT_EXIST", "ACQ.SMILE_PAY_MERCHANT_NOT_MATCH", "ACQ.NOT_CERTIFIED_USER", "ACQ.SECONDARY_MERCHANT_ISV_PUNISH_INDIRECT", "ACQ.RESTRICTED_MERCHANT_INDUSTRY", "ACQ.PLATFORM_BUSINESS_ACQUIRE_MODE_MUST_MERCHANT_ID", "ACQ.BEYOND_PER_RECEIPT_DAY_RESTRICTION", "ACQ.TRADE_STATUS_ERROR", "ACQ.MERCHANT_PERM_RECEIPT_SUSPEND_LIMIT", "ACQ.MERCHANT_PERM_RECEIPT_SINGLE_LIMIT", "ACQ.MERCHANT_PERM_RECEIPT_DAY_LIMIT", "ACQ.USER_LOGONID_DUP", "ACQ.AUTH_ORDER_NOT_PAID", "ACQ.AUTH_ORDER_HAS_FINISHED", "ACQ.AUTH_ORDER_HAS_CLOSED", "ACQ.ZM_AUTH_AMOUNT_EXCEED", "ACQ.ZM_CREDIT_AUTH_FAIL", "ACQ.ZM_AUTH_RULE_LIMIT", "ACQ.ROYALTY_ACCOUNT_NOT_EXIST", "ACQ.RISK_MERCHANT_IP_NOT_EXIST" ]
  84022. },
  84023. "links" : {
  84024. "type" : "string",
  84025. "description" : "解决方案链接"
  84026. },
  84027. "message" : {
  84028. "type" : "string",
  84029. "description" : "错误描述"
  84030. }
  84031. }
  84032. },
  84033. "AlipayTradePayModel" : {
  84034. "type" : "object",
  84035. "properties" : {
  84036. "advance_payment_type" : {
  84037. "type" : "string",
  84038. "description" : "支付模式类型,若值为ENJOY_PAY_V2表示当前交易允许走先享后付2.0垫资",
  84039. "example" : "ENJOY_PAY_V2"
  84040. },
  84041. "agreement_params" : {
  84042. "$ref" : "#/components/schemas/AgreementParams"
  84043. },
  84044. "alipay_store_id" : {
  84045. "type" : "string",
  84046. "description" : "支付宝店铺编号。\t指商户创建球房后支付宝生成的球房ID。",
  84047. "example" : "2016041400077000000003314986"
  84048. },
  84049. "auth_code" : {
  84050. "type" : "string",
  84051. "description" : "支付授权码。\t当面付场景传买家的付款码(25~30开头的长度为16~24位的数字,实际字符串长度以开发者获取的付款码长度为准)或者刷脸标识串(fp开头的35位字符串);\t周期扣款或代扣场景无需传入,协议号通过agreement_params参数传递; \t支付宝预授权和新当面资金授权场景无需传入,授权订单号通过 auth_no字段传入。\t注:交易的买家与卖家不能相同。",
  84052. "example" : "28763443825664394"
  84053. },
  84054. "auth_confirm_mode" : {
  84055. "type" : "string",
  84056. "description" : "预授权确认模式。\t适用于支付宝预授权和新当面资金授权场景。枚举值:\tCOMPLETE:转交易完成后解冻剩余冻结金额;\tNOT_COMPLETE:转交易完成后不解冻剩余冻结金额;\t默认值为NOT_COMPLETE。",
  84057. "example" : "COMPLETE"
  84058. },
  84059. "auth_no" : {
  84060. "type" : "string",
  84061. "description" : "资金预授权单号。\t支付宝预授权和新当面资金授权场景下必填。",
  84062. "example" : "2016110310002001760201905725"
  84063. },
  84064. "bkagent_req_info" : {
  84065. "$ref" : "#/components/schemas/BkAgentReqInfo"
  84066. },
  84067. "body" : {
  84068. "type" : "string",
  84069. "description" : "订单附加信息。\t如果请求时传递了该参数,将在异步通知、对账单中原样返回,同时会在商户和用户的pc账单详情中作为交易描述展示",
  84070. "example" : "Iphone6 16G"
  84071. },
  84072. "business_params" : {
  84073. "$ref" : "#/components/schemas/BusinessParams"
  84074. },
  84075. "buyer_id" : {
  84076. "type" : "string",
  84077. "description" : "买家支付宝用户ID。\t支付宝预授权和新当面资金授权场景下必填,其它场景不需要传入。",
  84078. "example" : "2088202954065786"
  84079. },
  84080. "buyer_open_id" : {
  84081. "type" : "string",
  84082. "description" : "买家支付宝用户唯一标识",
  84083. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  84084. },
  84085. "disable_pay_channels" : {
  84086. "type" : "string",
  84087. "description" : "禁用支付渠道。\t多个渠道以逗号分割,如同时禁用信用支付类型和积分,则传入:\"credit_group,point\"。\t支持传入的值:<a target=\"_blank\" href=\"https://docs.open.alipay.com/common/wifww7\">渠道列表</a>",
  84088. "example" : "credit_group"
  84089. },
  84090. "discountable_amount" : {
  84091. "type" : "string",
  84092. "description" : "可打折金额。\t参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]。 \t如果同时传入了【可打折金额】、【不可打折金额】和【订单总金额】,则必须满足如下条件:【订单总金额】=【可打折金额】+【不可打折金额】。\t如果订单金额全部参与优惠计算,则【可打折金额】和【不可打折金额】都无需传入。",
  84093. "example" : "80.00"
  84094. },
  84095. "ext_user_info" : {
  84096. "$ref" : "#/components/schemas/ExtUserInfo"
  84097. },
  84098. "extend_params" : {
  84099. "$ref" : "#/components/schemas/ExtendParams"
  84100. },
  84101. "goods_detail" : {
  84102. "type" : "array",
  84103. "description" : "订单包含的商品列表信息,json格式。",
  84104. "items" : {
  84105. "$ref" : "#/components/schemas/GoodsDetail"
  84106. }
  84107. },
  84108. "is_async_pay" : {
  84109. "type" : "boolean",
  84110. "description" : "是否异步支付,传入true时,表明本次期望走异步支付,会先将支付请求受理下来,再异步推进。商户可以通过交易的异步通知或者轮询交易的状态来确定最终的交易结果。\t只在代扣场景下有效,其它场景无需传入。",
  84111. "example" : "false"
  84112. },
  84113. "merchant_order_no" : {
  84114. "type" : "string",
  84115. "description" : "商户的原始订单号",
  84116. "example" : "201008123456789"
  84117. },
  84118. "notify_url" : {
  84119. "type" : "string",
  84120. "description" : "通知地址"
  84121. },
  84122. "operator_id" : {
  84123. "type" : "string",
  84124. "description" : "商户操作员编号。",
  84125. "example" : "yx_001"
  84126. },
  84127. "out_trade_no" : {
  84128. "type" : "string",
  84129. "description" : "商户订单号。\t由商家自定义,64个字符以内,仅支持字母、数字、下划线且需保证在商户端不重复。",
  84130. "example" : "20150320010101001"
  84131. },
  84132. "passback_params" : {
  84133. "type" : "string",
  84134. "description" : "公用回传参数。\t如果请求时传递了该参数,支付宝会在异步通知时将该参数原样返回。",
  84135. "example" : "merchantBizType%3d3C%26merchantBizNo%3d2016010101111"
  84136. },
  84137. "pay_params" : {
  84138. "$ref" : "#/components/schemas/PayParams"
  84139. },
  84140. "product_code" : {
  84141. "type" : "string",
  84142. "description" : "产品码。\t商家和支付宝签约的产品码。 枚举值(点击查看签约情况):\t<a target=\"_blank\" href=\"https://opensupport.alipay.com/support/codelab/detail/486/487\">FACE_TO_FACE_PAYMENT</a>:当面付产品;\t<a target=\"_blank\" href=\"https://opensupport.alipay.com/support/codelab/detail/807/1419\">CYCLE_PAY_AUTH</a>:周期扣款产品;\tGENERAL_WITHHOLDING:代扣产品;\t<a target=\"_blank\" href=\"https://opensupport.alipay.com/support/codelab/detail/712/1471\">PRE_AUTH_ONLINE</a>:支付宝预授权产品;\tPRE_AUTH:新当面资金授权产品;\t默认值为FACE_TO_FACE_PAYMENT。\t注意:非当面付产品使用本接口时,本参数必填。请传入对应产品码。",
  84143. "example" : "FACE_TO_FACE_PAYMENT"
  84144. },
  84145. "promo_params" : {
  84146. "$ref" : "#/components/schemas/PromoParam"
  84147. },
  84148. "query_options" : {
  84149. "type" : "array",
  84150. "description" : "返回参数选项。\t商户通过传递该参数来定制同步需要额外返回的信息字段,数组格式。包括但不限于:[\"fund_bill_list\",\"voucher_detail_list\",\"enterprise_pay_info\",\"discount_goods_detail\",\"discount_amount\",\"mdiscount_amount\"]",
  84151. "items" : {
  84152. "type" : "string"
  84153. },
  84154. "example" : "voucher_detail_list"
  84155. },
  84156. "request_org_pid" : {
  84157. "type" : "string",
  84158. "description" : "收单机构(例如银行)的标识,填写该机构在支付宝的pid。只在机构间联场景下传递该值。",
  84159. "example" : "2088201916734621"
  84160. },
  84161. "royalty_info" : {
  84162. "$ref" : "#/components/schemas/RoyaltyInfo"
  84163. },
  84164. "scene" : {
  84165. "type" : "string",
  84166. "description" : "支付场景。枚举值:\tbar_code:当面付条码支付场景;\tsecurity_code:当面付刷脸支付场景,对应的auth_code为fp开头的刷脸标识串;\t周期扣款或代扣场景无需传入,协议号通过agreement_params参数传递; \t支付宝预授权和新当面资金授权场景无需传入,授权订单号通过 auth_no字段传入。\t默认值为bar_code。",
  84167. "example" : "bar_code"
  84168. },
  84169. "seller_id" : {
  84170. "type" : "string",
  84171. "description" : "卖家支付宝用户ID。\t当需要指定收款账号时,通过该参数传入,如果该值为空,则默认为商户签约账号对应的支付宝用户ID。\t收款账号优先级规则:球房绑定的收款账户>请求传入的seller_id>商户签约账号对应的支付宝用户ID;\t注:直付通和机构间联场景下seller_id无需传入或者保持跟pid一致;\t如果传入的seller_id与pid不一致,需要联系支付宝小二配置收款关系;\t支付宝预授权和新当面资金授权场景下必填。",
  84172. "example" : "2088102146225135"
  84173. },
  84174. "settle_currency" : {
  84175. "type" : "string",
  84176. "description" : "商户指定的结算币种,支持英镑:GBP、港币:HKD、美元:USD、新加坡元:SGD、日元:JPY、加拿大元:CAD、澳元:AUD、欧元:EUR、新西兰元:NZD、韩元:KRW、泰铢:THB、瑞士法郎:CHF、瑞典克朗:SEK、丹麦克朗:DKK、挪威克朗:NOK、马来西亚林吉特:MYR、印尼卢比:IDR、菲律宾比索:PHP、毛里求斯卢比:MUR、以色列新谢克尔:ILS、斯里兰卡卢比:LKR、俄罗斯卢布:RUB、阿联酋迪拉姆:AED、捷克克朗:CZK、南非兰特:ZAR、人民币:CNY",
  84177. "example" : "USD"
  84178. },
  84179. "settle_info" : {
  84180. "$ref" : "#/components/schemas/SettleInfo"
  84181. },
  84182. "store_id" : {
  84183. "type" : "string",
  84184. "description" : "商户球房编号。\t指商户创建球房时输入的球房编号。",
  84185. "example" : "NJ_001"
  84186. },
  84187. "sub_merchant" : {
  84188. "$ref" : "#/components/schemas/SubMerchant"
  84189. },
  84190. "subject" : {
  84191. "type" : "string",
  84192. "description" : "订单标题。\t注意:不可使用特殊字符,如 /,=,& 等。",
  84193. "example" : "Iphone6 16G"
  84194. },
  84195. "terminal_id" : {
  84196. "type" : "string",
  84197. "description" : "商户机具终端编号。",
  84198. "example" : "NJ_T_001"
  84199. },
  84200. "terminal_params" : {
  84201. "type" : "string",
  84202. "description" : "IOT设备信息。\t通过集成IOTSDK的机具发起的交易时传入,取值为IOTSDK生成的业务签名值。",
  84203. "example" : "{\"terminalType\":\"IOT\",\"signature\":\"EXXXX\",\"apdidToken\":\"iBfdgYbXXX\",\"hardToken\":\"06014698AEFXXX\",\"time\":\"1533061133\",\"bizCode\":\"11002200020\",\"bizTid\":\"0100200mWXXX\",\"signedKeys\":\"authCode,totalAmount,apdidToken,hardToken,time,bizCode,bizTid\"}"
  84204. },
  84205. "time_expire" : {
  84206. "type" : "string",
  84207. "description" : "订单绝对超时时间。\t格式为yyyy-MM-dd HH:mm:ss。超时时间范围:1m~15d。\t注:time_expire和timeout_express两者只需传入一个或者都不传,如果两者都传,优先使用time_expire。",
  84208. "example" : "2021-12-31 10:05:00"
  84209. },
  84210. "timeout_express" : {
  84211. "type" : "string",
  84212. "description" : "订单相对超时时间。从交易创建时间开始计算。\t\t该笔订单允许的最晚付款时间,逾期将关闭交易。取值范围:1m~15d。m-分钟,h-小时,d-天,1c-当天(1c-当天的情况下,无论交易何时创建,都在0点关闭)。 该参数数值不接受小数点, 如 1.5h,可转换为 90m。\t\t当面付场景默认值为3h;\t\t其它场景默认值为15d;",
  84213. "example" : "90m"
  84214. },
  84215. "total_amount" : {
  84216. "type" : "string",
  84217. "description" : "订单总金额。\t单位为元,精确到小数点后两位,取值范围:[0.01,100000000] 。",
  84218. "example" : "88.88"
  84219. },
  84220. "trans_currency" : {
  84221. "type" : "string",
  84222. "description" : "标价币种, total_amount 对应的币种单位。支持英镑:GBP、港币:HKD、美元:USD、新加坡元:SGD、日元:JPY、加拿大元:CAD、澳元:AUD、欧元:EUR、新西兰元:NZD、韩元:KRW、泰铢:THB、瑞士法郎:CHF、瑞典克朗:SEK、丹麦克朗:DKK、挪威克朗:NOK、马来西亚林吉特:MYR、印尼卢比:IDR、菲律宾比索:PHP、毛里求斯卢比:MUR、以色列新谢克尔:ILS、斯里兰卡卢比:LKR、俄罗斯卢布:RUB、阿联酋迪拉姆:AED、捷克克朗:CZK、南非兰特:ZAR、人民币:CNY",
  84223. "example" : "USD"
  84224. },
  84225. "undiscountable_amount" : {
  84226. "type" : "string",
  84227. "description" : "不可打折金额。\t不参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]。 \t如果同时传入了【可打折金额】、【不可打折金额】和【订单总金额】,则必须满足如下条件:【订单总金额】=【可打折金额】+【不可打折金额】。\t如果订单金额全部参与优惠计算,则【可打折金额】和【不可打折金额】都无需传入。",
  84228. "example" : "8.88"
  84229. }
  84230. }
  84231. },
  84232. "AlipayTradePayResponseModel" : {
  84233. "type" : "object",
  84234. "properties" : {
  84235. "advance_amount" : {
  84236. "type" : "string",
  84237. "description" : "先享后付2.0垫资金额,不返回表示没有走垫资,非空表示垫资支付的金额",
  84238. "example" : "88.8"
  84239. },
  84240. "async_payment_mode" : {
  84241. "type" : "string",
  84242. "description" : "异步支付模式,目前有五种值:\tASYNC_DELAY_PAY(异步延时付款);\tASYNC_REALTIME_PAY(异步准实时付款);\tSYNC_DIRECT_PAY(同步直接扣款);\tNORMAL_ASYNC_PAY(纯异步付款);\tQUOTA_OCCUPYIED_ASYNC_PAY(异步支付并且预占了先享后付额度);",
  84243. "example" : "SYNC_DIRECT_PAY"
  84244. },
  84245. "auth_trade_pay_mode" : {
  84246. "type" : "string",
  84247. "description" : "预授权支付模式,该参数仅在信用预授权支付场景下返回。信用预授权支付:CREDIT_PREAUTH_PAY",
  84248. "example" : "CREDIT_PREAUTH_PAY"
  84249. },
  84250. "bkagent_resp_info" : {
  84251. "$ref" : "#/components/schemas/BkAgentRespInfo"
  84252. },
  84253. "business_params" : {
  84254. "type" : "string",
  84255. "description" : "商户传入业务信息,具体值要和支付宝约定\r\t将商户传入信息分发给相应系统,应用于安全,营销等参数直传场景\r\t格式为json格式",
  84256. "example" : "{\"data\":\"123\"}"
  84257. },
  84258. "buyer_logon_id" : {
  84259. "type" : "string",
  84260. "description" : "买家支付宝账号",
  84261. "example" : "159****5620"
  84262. },
  84263. "buyer_open_id" : {
  84264. "type" : "string",
  84265. "description" : "买家支付宝用户唯一标识",
  84266. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  84267. },
  84268. "buyer_pay_amount" : {
  84269. "type" : "string",
  84270. "description" : "买家付款的金额",
  84271. "example" : "8.88"
  84272. },
  84273. "buyer_user_id" : {
  84274. "type" : "string",
  84275. "description" : "买家在支付宝的用户id",
  84276. "example" : "2088101117955611"
  84277. },
  84278. "buyer_user_name" : {
  84279. "type" : "string",
  84280. "description" : "买家名称;\r\t买家为个人用户时为买家姓名,买家为企业用户时为企业名称;\r\t默认不返回该信息,需与支付宝约定后配置返回;",
  84281. "example" : "菜鸟网络有限公司"
  84282. },
  84283. "buyer_user_type" : {
  84284. "type" : "string",
  84285. "description" : "买家用户类型。CORPORATE:企业用户;PRIVATE:个人用户。",
  84286. "example" : "PRIVATE"
  84287. },
  84288. "can_turn_to_app_pay" : {
  84289. "type" : "string",
  84290. "description" : "是否可以转为app支付,仅当商户代扣失败场景才会返回该字段信息",
  84291. "example" : "true"
  84292. },
  84293. "card_balance" : {
  84294. "type" : "string",
  84295. "description" : "支付宝卡余额",
  84296. "example" : "98.23"
  84297. },
  84298. "charge_amount" : {
  84299. "type" : "string",
  84300. "description" : "该笔交易针对收款方的收费金额;\t只在机构间联模式下返回,其它场景下不返回该字段;",
  84301. "example" : "8.88"
  84302. },
  84303. "charge_flags" : {
  84304. "type" : "string",
  84305. "description" : "费率活动标识。\t当交易享受特殊行业或活动费率时,返回该场景的标识。具体场景如下:\ttrade_special_00:订单优惠费率;\tindustry_special_on_00:线上行业特殊费率0;\tindustry_special_on_01:线上行业特殊费率1;\tindustry_special_00:线下行业特殊费率0;\tindustry_special_01:线下行业特殊费率1;\tbluesea_1:蓝海活动优惠费率标签;\t注:只在机构间联模式下返回,其它场景下不返回该字段;",
  84306. "example" : "industry_special_00"
  84307. },
  84308. "charge_info_list" : {
  84309. "$ref" : "#/components/schemas/ChargeInfo"
  84310. },
  84311. "credit_biz_order_id" : {
  84312. "type" : "string",
  84313. "description" : "信用业务单号。信用支付场景才有值。先用后付产品里是芝麻订单号。",
  84314. "example" : "ZMCB99202103310000450000041833"
  84315. },
  84316. "credit_pay_mode" : {
  84317. "type" : "string",
  84318. "description" : "信用支付模式。表示订单是采用信用支付方式(支付时买家没有出资,需要后续履约)。\"creditAdvanceV2\"表示芝麻先用后付模式,用户后续需要履约扣款。 此字段只有信用支付场景才有值,商户需要根据字段值单独处理。此字段以后可能扩展其他值,建议商户使用白名单方式识别,对于未识别的值做失败处理,并联系支付宝技术支持人员。",
  84319. "example" : "creditAdvanceV2"
  84320. },
  84321. "discount_amount" : {
  84322. "type" : "string",
  84323. "description" : "平台优惠金额",
  84324. "example" : "88.88"
  84325. },
  84326. "discount_goods_detail" : {
  84327. "type" : "string",
  84328. "description" : "本次交易支付所使用的单品券优惠的商品优惠信息。\t只有在query_options中指定时才返回该字段信息。",
  84329. "example" : "[{\"goods_id\":\"STANDARD1026181538\",\"goods_name\":\"雪碧\",\"discount_amount\":\"100.00\",\"voucher_id\":\"2015102600073002039000002D5O\"}]"
  84330. },
  84331. "enterprise_pay_info" : {
  84332. "$ref" : "#/components/schemas/EnterprisePayInfo"
  84333. },
  84334. "fund_bill_list" : {
  84335. "type" : "array",
  84336. "description" : "交易支付使用的资金渠道。\t只有在签约中指定需要返回资金明细,或者入参的query_options中指定时才返回该字段信息。",
  84337. "items" : {
  84338. "$ref" : "#/components/schemas/TradeFundBill"
  84339. }
  84340. },
  84341. "gmt_payment" : {
  84342. "type" : "string",
  84343. "description" : "交易支付时间",
  84344. "example" : "2014-11-27 15:45:57"
  84345. },
  84346. "hyb_amount" : {
  84347. "type" : "string",
  84348. "description" : "惠营宝回票金额",
  84349. "example" : "10.24"
  84350. },
  84351. "invoice_amount" : {
  84352. "type" : "string",
  84353. "description" : "交易中可给用户开具发票的金额",
  84354. "example" : "12.50"
  84355. },
  84356. "mdiscount_amount" : {
  84357. "type" : "string",
  84358. "description" : "商家优惠金额",
  84359. "example" : "88.88"
  84360. },
  84361. "open_id" : {
  84362. "type" : "string",
  84363. "description" : "买家支付宝用户号,该参数已废弃,请不要使用",
  84364. "example" : "2088102122524333"
  84365. },
  84366. "out_trade_no" : {
  84367. "type" : "string",
  84368. "description" : "商户订单号",
  84369. "example" : "6823789339978248"
  84370. },
  84371. "pay_amount" : {
  84372. "type" : "string",
  84373. "description" : "支付币种订单金额",
  84374. "example" : "580.04"
  84375. },
  84376. "pay_currency" : {
  84377. "type" : "string",
  84378. "description" : "支付币种",
  84379. "example" : "CNY"
  84380. },
  84381. "point_amount" : {
  84382. "type" : "string",
  84383. "description" : "使用集分宝付款的金额",
  84384. "example" : "8.12"
  84385. },
  84386. "receipt_amount" : {
  84387. "type" : "string",
  84388. "description" : "实收金额",
  84389. "example" : "88.88"
  84390. },
  84391. "receipt_currency_type" : {
  84392. "type" : "string",
  84393. "description" : "收款资金类型,当交易收款资金为数字人民币时返回值为“DC”,否则不返回该字段。",
  84394. "example" : "DC"
  84395. },
  84396. "settle_amount" : {
  84397. "type" : "string",
  84398. "description" : "结算币种订单金额",
  84399. "example" : "88.88"
  84400. },
  84401. "settle_currency" : {
  84402. "type" : "string",
  84403. "description" : "商户指定的结算币种,目前支持英镑:GBP、港币:HKD、美元:USD、新加坡元:SGD、日元:JPY、加拿大元:CAD、澳元:AUD、欧元:EUR、新西兰元:NZD、韩元:KRW、泰铢:THB、瑞士法郎:CHF、瑞典克朗:SEK、丹麦克朗:DKK、挪威克朗:NOK、马来西亚林吉特:MYR、印尼卢比:IDR、菲律宾比索:PHP、毛里求斯卢比:MUR、以色列新谢克尔:ILS、斯里兰卡卢比:LKR、俄罗斯卢布:RUB、阿联酋迪拉姆:AED、捷克克朗:CZK、南非兰特:ZAR、人民币:CNY",
  84404. "example" : "USD"
  84405. },
  84406. "settle_trans_rate" : {
  84407. "type" : "string",
  84408. "description" : "结算币种兑换标价币种汇率",
  84409. "example" : "1"
  84410. },
  84411. "settlement_id" : {
  84412. "type" : "string",
  84413. "description" : "支付清算编号,用于清算对账使用;\t只在机构间联模式下返回,其它场景下不返回该字段;",
  84414. "example" : "2018101610032004620239146945"
  84415. },
  84416. "store_name" : {
  84417. "type" : "string",
  84418. "description" : "发生支付交易的商户球房名称",
  84419. "example" : "证大五道口店"
  84420. },
  84421. "total_amount" : {
  84422. "type" : "string",
  84423. "description" : "交易金额",
  84424. "example" : "120.88"
  84425. },
  84426. "trade_no" : {
  84427. "type" : "string",
  84428. "description" : "支付宝交易号",
  84429. "example" : "2013112011001004330000121536"
  84430. },
  84431. "trans_currency" : {
  84432. "type" : "string",
  84433. "description" : "标价币种, total_amount对应的币种单位。目前支持英镑:GBP、港币:HKD、美元:USD、新加坡元:SGD、日元:JPY、加拿大元:CAD、澳元:AUD、欧元:EUR、新西兰元:NZD、韩元:KRW、泰铢:THB、瑞士法郎:CHF、瑞典克朗:SEK、丹麦克朗:DKK、挪威克朗:NOK、马来西亚林吉特:MYR、印尼卢比:IDR、菲律宾比索:PHP、毛里求斯卢比:MUR、以色列新谢克尔:ILS、斯里兰卡卢比:LKR、俄罗斯卢布:RUB、阿联酋迪拉姆:AED、捷克克朗:CZK、南非兰特:ZAR、人民币:CNY",
  84434. "example" : "USD"
  84435. },
  84436. "trans_pay_rate" : {
  84437. "type" : "string",
  84438. "description" : "标价币种兑换支付币种汇率",
  84439. "example" : "6.5261"
  84440. },
  84441. "voucher_detail_list" : {
  84442. "type" : "array",
  84443. "description" : "本交易支付时使用的所有优惠券信息。\t只有在query_options中指定时才返回该字段信息。",
  84444. "items" : {
  84445. "$ref" : "#/components/schemas/VoucherDetail"
  84446. }
  84447. }
  84448. }
  84449. },
  84450. "AlipayTradePrecreateErrorResponseModel" : {
  84451. "required" : [ "code", "message" ],
  84452. "type" : "object",
  84453. "properties" : {
  84454. "code" : {
  84455. "type" : "string",
  84456. "description" : "错误码",
  84457. "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.ACCESS_FORBIDDEN", "ACQ.EXIST_FORBIDDEN_WORD", "ACQ.PARTNER_ERROR", "ACQ.TOTAL_FEE_EXCEED", "ACQ.CONTEXT_INCONSISTENT", "ACQ.TRADE_HAS_SUCCESS", "ACQ.TRADE_HAS_CLOSE", "ACQ.BUYER_SELLER_EQUAL", "ACQ.TRADE_BUYER_NOT_MATCH", "ACQ.BUYER_ENABLE_STATUS_FORBID", "ACQ.BUYER_PAYMENT_AMOUNT_DAY_LIMIT_ERROR", "ACQ.BEYOND_PAY_RESTRICTION", "ACQ.BEYOND_PER_RECEIPT_RESTRICTION", "ACQ.BUYER_PAYMENT_AMOUNT_MONTH_LIMIT_ERROR", "ACQ.SELLER_BEEN_BLOCKED", "ACQ.ERROR_BUYER_CERTIFY_LEVEL_LIMIT", "ACQ.INVALID_STORE_ID", "ACQ.APPLY_PC_MERCHANT_CODE_ERROR", "ACQ.SECONDARY_MERCHANT_STATUS_ERROR", "ACQ.BEYOND_PER_RECEIPT_DAY_RESTRICTION", "ACQ.BEYOND_PER_RECEIPT_SINGLE_RESTRICTION", "ACQ.TRADE_SETTLE_ERROR", "ACQ.SECONDARY_MERCHANT_ID_INVALID", "ACQ.SECONDARY_MERCHANT_ISV_PUNISH_INDIRECT", "ACQ.SELLER_NOT_EXIST", "ACQ.SECONDARY_MERCHANT_ALIPAY_ACCOUNT_INVALID", "ACQ.INVALID_RECEIVE_ACCOUNT", "ACQ.SECONDARY_MERCHANT_ID_BLANK", "ACQ.NOW_TIME_AFTER_EXPIRE_TIME_ERROR", "ACQ.SECONDARY_MERCHANT_NOT_MATCH", "ACQ.BUYER_NOT_EXIST", "ACQ.SUB_GOODS_SIZE_MAX_COUNT", "ACQ.DEFAULT_SETTLE_RULE_NOT_EXIST", "ACQ.MERCHANT_PERM_RECEIPT_SUSPEND_LIMIT", "ACQ.MERCHANT_PERM_RECEIPT_SINGLE_LIMIT", "ACQ.MERCHANT_PERM_RECEIPT_DAY_LIMIT", "ACQ.RISK_MERCHANT_IP_NOT_EXIST" ]
  84458. },
  84459. "links" : {
  84460. "type" : "string",
  84461. "description" : "解决方案链接"
  84462. },
  84463. "message" : {
  84464. "type" : "string",
  84465. "description" : "错误描述"
  84466. }
  84467. }
  84468. },
  84469. "AlipayTradePrecreateModel" : {
  84470. "type" : "object",
  84471. "properties" : {
  84472. "alipay_store_id" : {
  84473. "type" : "string",
  84474. "description" : "支付宝店铺编号。\t指商户创建球房后支付宝生成的球房ID。",
  84475. "example" : "2016052600077000000015640104"
  84476. },
  84477. "bkagent_req_info" : {
  84478. "$ref" : "#/components/schemas/BkAgentReqInfo"
  84479. },
  84480. "body" : {
  84481. "type" : "string",
  84482. "description" : "订单附加信息。\t如果请求时传递了该参数,将在异步通知、对账单中原样返回,同时会在商户和用户的pc账单详情中作为交易描述展示",
  84483. "example" : "Iphone6 16G"
  84484. },
  84485. "business_params" : {
  84486. "$ref" : "#/components/schemas/BusinessParams"
  84487. },
  84488. "buyer_logon_id" : {
  84489. "type" : "string",
  84490. "description" : "买家支付宝账号",
  84491. "example" : "15901825620"
  84492. },
  84493. "code_type" : {
  84494. "type" : "string",
  84495. "description" : "码类型,如果请求时传入了share_code,将在响应参数返回吱口令;如果为空,则默认为订单码",
  84496. "example" : "share_code"
  84497. },
  84498. "disable_pay_channels" : {
  84499. "type" : "string",
  84500. "description" : "禁用渠道,用户不可用指定渠道支付,多个渠道以逗号分割\t注,与enable_pay_channels互斥\t<a href=\"https://docs.open.alipay.com/common/wifww7\">渠道列表</a>",
  84501. "example" : "pcredit,moneyFund,debitCardExpress"
  84502. },
  84503. "discountable_amount" : {
  84504. "type" : "string",
  84505. "description" : "可打折金额。\t参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]。 \t如果同时传入了【可打折金额】、【不可打折金额】和【订单总金额】,则必须满足如下条件:【订单总金额】=【可打折金额】+【不可打折金额】。\t如果订单金额全部参与优惠计算,则【可打折金额】和【不可打折金额】都无需传入。",
  84506. "example" : "80.00"
  84507. },
  84508. "enable_pay_channels" : {
  84509. "type" : "string",
  84510. "description" : "指定支付渠道。\t用户只能使用指定的渠道进行支付,多个渠道以逗号分割。\t与disable_pay_channels互斥,支持传入的值:<a target=\"_blank\" href=\"https://docs.open.alipay.com/common/wifww7\">渠道列表</a>。\t注:如果传入了指定支付渠道,则用户只能用指定内的渠道支付,包括营销渠道也要指定才能使用。该参数可能导致用户支付受限,慎用。",
  84511. "example" : "pcredit,moneyFund,debitCardExpress"
  84512. },
  84513. "ext_user_info" : {
  84514. "$ref" : "#/components/schemas/ExtUserInfo"
  84515. },
  84516. "extend_params" : {
  84517. "$ref" : "#/components/schemas/ExtendParams"
  84518. },
  84519. "goods_detail" : {
  84520. "type" : "array",
  84521. "description" : "订单包含的商品列表信息.json格式. 其它说明详见:“商品明细说明”",
  84522. "items" : {
  84523. "$ref" : "#/components/schemas/GoodsDetail"
  84524. }
  84525. },
  84526. "merchant_order_no" : {
  84527. "type" : "string",
  84528. "description" : "商户的原始订单号",
  84529. "example" : "20161008001"
  84530. },
  84531. "notify_url" : {
  84532. "type" : "string",
  84533. "description" : "通知地址"
  84534. },
  84535. "operator_id" : {
  84536. "type" : "string",
  84537. "description" : "商户操作员编号。",
  84538. "example" : "yx_001"
  84539. },
  84540. "out_trade_no" : {
  84541. "type" : "string",
  84542. "description" : "商户订单号。\t由商家自定义,64个字符以内,仅支持字母、数字、下划线且需保证在商户端不重复。",
  84543. "example" : "20150320010101001"
  84544. },
  84545. "passback_params" : {
  84546. "type" : "string",
  84547. "description" : "公用回传参数。\t如果请求时传递了该参数,支付宝会在异步通知时将该参数原样返回。",
  84548. "example" : "merchantBizType%3d3C%26merchantBizNo%3d2016010101111"
  84549. },
  84550. "product_code" : {
  84551. "type" : "string",
  84552. "description" : "产品码。\t商家和支付宝签约的产品码。 枚举值(点击查看签约情况):\t<a target=\"_blank\" href=\"https://opensupport.alipay.com/support/codelab/detail/486/487\">FACE_TO_FACE_PAYMENT</a>:当面付产品;\t默认值为FACE_TO_FACE_PAYMENT。",
  84553. "example" : "FACE_TO_FACE_PAYMENT"
  84554. },
  84555. "qr_code_timeout_express" : {
  84556. "type" : "string",
  84557. "description" : "二维码订单相对超时时间。\t该笔订单允许的最晚付款时间,逾期将关闭交易,从生成二维码开始计时。 取值范围:1m~15d。m-分钟,h-小时,d-天,1c-当天(1c-当天的情况下,无论交易何时创建,都在0点关闭)。 该参数数值不接受小数点, 如 1.5h,可转换为 90m。\t注:二维码最长有效期是2小时,不管该参数传递的值是多少,超过2小时后二维码都将失效不能再进行扫码支付。",
  84558. "example" : "90m"
  84559. },
  84560. "query_options" : {
  84561. "type" : "array",
  84562. "description" : "返回参数选项。 商户通过传递该参数来定制需要额外返回的信息字段,数组格式。包括但不限于:[\"hyb_amount\",\"enterprise_pay_info\"]",
  84563. "items" : {
  84564. "type" : "string"
  84565. },
  84566. "example" : "[\"hyb_amount\",\"enterprise_pay_info\"]"
  84567. },
  84568. "royalty_info" : {
  84569. "$ref" : "#/components/schemas/RoyaltyInfo"
  84570. },
  84571. "seller_id" : {
  84572. "type" : "string",
  84573. "description" : "卖家支付宝用户ID。\t当需要指定收款账号时,通过该参数传入,如果该值为空,则默认为商户签约账号对应的支付宝用户ID。\t收款账号优先级规则:球房绑定的收款账户>请求传入的seller_id>商户签约账号对应的支付宝用户ID;\t注:直付通和机构间联场景下seller_id无需传入或者保持跟pid一致;\t如果传入的seller_id与pid不一致,需要联系支付宝小二配置收款关系;",
  84574. "example" : "2088102146225135"
  84575. },
  84576. "settle_info" : {
  84577. "$ref" : "#/components/schemas/SettleInfo"
  84578. },
  84579. "store_id" : {
  84580. "type" : "string",
  84581. "description" : "商户球房编号。\t指商户创建球房时输入的球房编号。",
  84582. "example" : "NJ_001"
  84583. },
  84584. "sub_merchant" : {
  84585. "$ref" : "#/components/schemas/SubMerchant"
  84586. },
  84587. "subject" : {
  84588. "type" : "string",
  84589. "description" : "订单标题。\t注意:不可使用特殊字符,如 /,=,& 等。",
  84590. "example" : "Iphone6 16G"
  84591. },
  84592. "terminal_id" : {
  84593. "type" : "string",
  84594. "description" : "商户机具终端编号。",
  84595. "example" : "NJ_T_001"
  84596. },
  84597. "time_expire" : {
  84598. "type" : "string",
  84599. "description" : "订单绝对超时时间。\t格式为yyyy-MM-dd HH:mm:ss。\t注:time_expire和timeout_express两者只需传入一个或者都不传,如果两者都传,优先使用time_expire。",
  84600. "example" : "2021-12-31 10:05:00"
  84601. },
  84602. "timeout_express" : {
  84603. "type" : "string",
  84604. "description" : "订单相对超时时间。 从预下单请求时间开始计算。\t该笔订单允许的最晚付款时间,逾期将关闭交易。取值范围:1m~15d。m-分钟,h-小时,d-天,1c-当天(1c-当天的情况下,无论交易何时创建,都在0点关闭)。 该参数数值不接受小数点, 如 1.5h,可转换为 90m。 \t当面付场景默认值为3h; \t\t注:\t1. 二维码最长有效期是2小时,不管该参数传递的值是多少,超过2小时后二维码都将失效不能再进行扫码支付。\t2. time_expire和timeout_express两者只需传入一个或者都不传,如果两者都传,优先使用time_expire。",
  84605. "example" : "90m"
  84606. },
  84607. "total_amount" : {
  84608. "type" : "string",
  84609. "description" : "订单总金额。\t单位为元,精确到小数点后两位,取值范围:[0.01,100000000] 。",
  84610. "example" : "88.88"
  84611. },
  84612. "undiscountable_amount" : {
  84613. "type" : "string",
  84614. "description" : "不可打折金额。\t不参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]。 \t如果同时传入了【可打折金额】、【不可打折金额】和【订单总金额】,则必须满足如下条件:【订单总金额】=【可打折金额】+【不可打折金额】。\t如果订单金额全部参与优惠计算,则【可打折金额】和【不可打折金额】都无需传入。",
  84615. "example" : "8.88"
  84616. }
  84617. }
  84618. },
  84619. "AlipayTradePrecreateResponseModel" : {
  84620. "type" : "object",
  84621. "properties" : {
  84622. "out_trade_no" : {
  84623. "type" : "string",
  84624. "description" : "商户的订单号",
  84625. "example" : "6823789339978248"
  84626. },
  84627. "qr_code" : {
  84628. "type" : "string",
  84629. "description" : "当前预下单请求生成的二维码码串,有效时间2小时,可以用二维码生成工具根据该码串值生成对应的二维码",
  84630. "example" : "https://qr.alipay.com/bavh4wjlxf12tper3a"
  84631. },
  84632. "share_code" : {
  84633. "type" : "string",
  84634. "description" : "当前预下单请求生成的吱口令码串,有效时间2小时,可以在支付宝app端访问对应内容",
  84635. "example" : "chb4n8A94Qc"
  84636. }
  84637. }
  84638. },
  84639. "AlipayTradeQueryErrorResponseModel" : {
  84640. "required" : [ "code", "message" ],
  84641. "type" : "object",
  84642. "properties" : {
  84643. "code" : {
  84644. "type" : "string",
  84645. "description" : "错误码",
  84646. "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.TRADE_NOT_EXIST", "ACQ.ENTERPRISE_PAY_BIZ_ERROR" ]
  84647. },
  84648. "links" : {
  84649. "type" : "string",
  84650. "description" : "解决方案链接"
  84651. },
  84652. "message" : {
  84653. "type" : "string",
  84654. "description" : "错误描述"
  84655. }
  84656. }
  84657. },
  84658. "AlipayTradeQueryModel" : {
  84659. "type" : "object",
  84660. "properties" : {
  84661. "org_pid" : {
  84662. "type" : "string",
  84663. "description" : "银行间联模式下有用,其它场景请不要使用;\r\t双联通过该参数指定需要查询的交易所属收单机构的pid;",
  84664. "example" : "2088101117952222"
  84665. },
  84666. "out_trade_no" : {
  84667. "type" : "string",
  84668. "description" : "订单支付时传入的商户订单号,和支付宝交易号不能同时为空。\r\ttrade_no,out_trade_no如果同时存在优先取trade_no",
  84669. "example" : "20150320010101001"
  84670. },
  84671. "query_options" : {
  84672. "type" : "array",
  84673. "description" : "查询选项,商户传入该参数可定制本接口同步响应额外返回的信息字段,数组格式。支持枚举如下:trade_settle_info:返回的交易结算信息,包含分账、补差等信息;\tfund_bill_list:交易支付使用的资金渠道;\tvoucher_detail_list:交易支付时使用的所有优惠券信息;\tdiscount_goods_detail:交易支付所使用的单品券优惠的商品优惠信息;\tmdiscount_amount:商家优惠金额;",
  84674. "items" : {
  84675. "type" : "string"
  84676. },
  84677. "example" : "trade_settle_info"
  84678. },
  84679. "trade_no" : {
  84680. "type" : "string",
  84681. "description" : "支付宝交易号,和商户订单号不能同时为空",
  84682. "example" : "2014112611001004680 073956707"
  84683. }
  84684. }
  84685. },
  84686. "AlipayTradeQueryResponseModel" : {
  84687. "type" : "object",
  84688. "properties" : {
  84689. "alipay_store_id" : {
  84690. "type" : "string",
  84691. "description" : "支付宝店铺编号",
  84692. "example" : "2015040900077001000100001232"
  84693. },
  84694. "alipay_sub_merchant_id" : {
  84695. "type" : "string",
  84696. "description" : "间连商户在支付宝端的商户编号;\t 只在银行间联交易场景下返回该信息;",
  84697. "example" : "2088301372182171"
  84698. },
  84699. "auth_trade_pay_mode" : {
  84700. "type" : "string",
  84701. "description" : "预授权支付模式,该参数仅在信用预授权支付场景下返回。信用预授权支付:CREDIT_PREAUTH_PAY",
  84702. "example" : "CREDIT_PREAUTH_PAY"
  84703. },
  84704. "bkagent_resp_info" : {
  84705. "$ref" : "#/components/schemas/BkAgentRespInfo"
  84706. },
  84707. "body" : {
  84708. "type" : "string",
  84709. "description" : "订单描述;\t只在银行间联交易场景下返回该信息;",
  84710. "example" : "Iphone6 16G"
  84711. },
  84712. "buyer_logon_id" : {
  84713. "type" : "string",
  84714. "description" : "买家支付宝账号",
  84715. "example" : "159****5620"
  84716. },
  84717. "buyer_open_id" : {
  84718. "type" : "string",
  84719. "description" : "买家支付宝用户唯一标识",
  84720. "example" : "01501o8f93I3nJAGB1jG4ONxtxV25DCN3Gec3uggnC4CJU0"
  84721. },
  84722. "buyer_pay_amount" : {
  84723. "type" : "string",
  84724. "description" : "买家实付金额,单位为元,两位小数。该金额代表该笔交易买家实际支付的金额,不包含商户折扣等金额",
  84725. "example" : "8.88"
  84726. },
  84727. "buyer_user_id" : {
  84728. "type" : "string",
  84729. "description" : "买家在支付宝的用户id",
  84730. "example" : "2088101117955611"
  84731. },
  84732. "buyer_user_name" : {
  84733. "type" : "string",
  84734. "description" : "买家名称;\r\t买家为个人用户时为买家姓名,买家为企业用户时为企业名称;\r\t默认不返回该信息,需与支付宝约定后配置返回;",
  84735. "example" : "菜鸟网络有限公司"
  84736. },
  84737. "buyer_user_type" : {
  84738. "type" : "string",
  84739. "description" : "买家用户类型。CORPORATE:企业用户;PRIVATE:个人用户。",
  84740. "example" : "PRIVATE"
  84741. },
  84742. "charge_amount" : {
  84743. "type" : "string",
  84744. "description" : "该笔交易针对收款方的收费金额;单位:元。\t 只在银行间联交易场景下返回该信息;",
  84745. "example" : "8.88"
  84746. },
  84747. "charge_flags" : {
  84748. "type" : "string",
  84749. "description" : "费率活动标识。\t当交易享受特殊行业或活动费率时,返回该场景的标识。具体场景如下:\ttrade_special_00:订单优惠费率;\tindustry_special_on_00:线上行业特殊费率0;\tindustry_special_on_01:线上行业特殊费率1;\tindustry_special_00:线下行业特殊费率0;\tindustry_special_01:线下行业特殊费率1;\tbluesea_1:蓝海活动优惠费率标签;\t注:只在机构间联模式下返回,其它场景下不返回该字段; ",
  84750. "example" : "bluesea_1"
  84751. },
  84752. "charge_info_list" : {
  84753. "type" : "array",
  84754. "description" : "计费信息列表",
  84755. "items" : {
  84756. "$ref" : "#/components/schemas/ChargeInfo"
  84757. }
  84758. },
  84759. "credit_biz_order_id" : {
  84760. "type" : "string",
  84761. "description" : "信用业务单号。信用支付场景才有值,先用后付产品里是芝麻订单号。",
  84762. "example" : "ZMCB99202103310000450000041833"
  84763. },
  84764. "credit_pay_mode" : {
  84765. "type" : "string",
  84766. "description" : "信用支付模式。表示订单是采用信用支付方式(支付时买家没有出资,需要后续履约)。\"creditAdvanceV2\"表示芝麻先用后付模式,用户后续需要履约扣款。 此字段只有信用支付场景才有值,商户需要根据字段值单独处理。此字段以后可能扩展其他值,建议商户使用白名单方式识别,对于未识别的值做失败处理,并联系支付宝技术支持人员。",
  84767. "example" : "creditAdvanceV2"
  84768. },
  84769. "discount_amount" : {
  84770. "type" : "string",
  84771. "description" : "平台优惠金额。单位:元。",
  84772. "example" : "88.88"
  84773. },
  84774. "discount_goods_detail" : {
  84775. "type" : "string",
  84776. "description" : "本次交易支付所使用的单品券优惠的商品优惠信息。\t只有在query_options中指定时才返回该字段信息。",
  84777. "example" : "[{\"goods_id\":\"STANDARD1026181538\",\"goods_name\":\"雪碧\",\"discount_amount\":\"100.00\",\"voucher_id\":\"2015102600073002039000002D5O\"}]"
  84778. },
  84779. "enterprise_pay_info" : {
  84780. "$ref" : "#/components/schemas/EnterprisePayInfo"
  84781. },
  84782. "ext_infos" : {
  84783. "type" : "string",
  84784. "description" : "交易额外信息,特殊场景下与支付宝约定返回。\tjson格式。",
  84785. "example" : "{\"action\":\"cancel\"}"
  84786. },
  84787. "fund_bill_list" : {
  84788. "type" : "array",
  84789. "description" : "交易支付使用的资金渠道。\t只有在签约中指定需要返回资金明细,或者入参的query_options中指定时才返回该字段信息。",
  84790. "items" : {
  84791. "$ref" : "#/components/schemas/TradeFundBill"
  84792. }
  84793. },
  84794. "hb_fq_pay_info" : {
  84795. "$ref" : "#/components/schemas/HbFqPayInfo"
  84796. },
  84797. "hyb_amount" : {
  84798. "type" : "string",
  84799. "description" : "惠营宝回票金额。单位:元。",
  84800. "example" : "10.24"
  84801. },
  84802. "industry_sepc_detail" : {
  84803. "type" : "string",
  84804. "description" : "行业特殊信息(例如在医保卡支付业务中,向用户返回医疗信息)。",
  84805. "example" : "{\"registration_order_pay\":{\"brlx\":\"1\",\"cblx\":\"1\"}}"
  84806. },
  84807. "industry_sepc_detail_acc" : {
  84808. "type" : "string",
  84809. "description" : "行业特殊信息-个账相关",
  84810. "example" : "{\"registration_order_pay\":{\"brlx\":\"1\",\"cblx\":\"1\"}}"
  84811. },
  84812. "industry_sepc_detail_gov" : {
  84813. "type" : "string",
  84814. "description" : "行业特殊信息-统筹相关",
  84815. "example" : "{\"registration_order_pay\":{\"brlx\":\"1\",\"cblx\":\"1\"}}"
  84816. },
  84817. "invoice_amount" : {
  84818. "type" : "string",
  84819. "description" : "交易中用户支付的可开具发票的金额,单位为元,两位小数。该金额代表该笔交易中可以给用户开具发票的金额",
  84820. "example" : "12.11"
  84821. },
  84822. "mdiscount_amount" : {
  84823. "type" : "string",
  84824. "description" : "商家优惠金额。单位:元。",
  84825. "example" : "88.88"
  84826. },
  84827. "open_id" : {
  84828. "type" : "string",
  84829. "description" : "买家支付宝用户号,该字段将废弃,不要使用",
  84830. "example" : "2088102122524333"
  84831. },
  84832. "out_trade_no" : {
  84833. "type" : "string",
  84834. "description" : "商家订单号",
  84835. "example" : "6823789339978248"
  84836. },
  84837. "passback_params" : {
  84838. "type" : "string",
  84839. "description" : "公用回传参数。\t返回支付时传入的passback_params参数信息",
  84840. "example" : "merchantBizType%3d3C%26merchantBizNo%3d2016010101111"
  84841. },
  84842. "pay_amount" : {
  84843. "type" : "string",
  84844. "description" : "支付币种订单金额",
  84845. "example" : "8.88"
  84846. },
  84847. "pay_currency" : {
  84848. "type" : "string",
  84849. "description" : "订单支付币种",
  84850. "example" : "CNY"
  84851. },
  84852. "point_amount" : {
  84853. "type" : "string",
  84854. "description" : "积分支付的金额,单位为元,两位小数。该金额代表该笔交易中用户使用积分支付的金额,比如集分宝或者支付宝实时优惠等",
  84855. "example" : "10"
  84856. },
  84857. "receipt_amount" : {
  84858. "type" : "string",
  84859. "description" : "实收金额,单位为元,两位小数。该金额为本笔交易,商户账户能够实际收到的金额",
  84860. "example" : "15.25"
  84861. },
  84862. "receipt_currency_type" : {
  84863. "type" : "string",
  84864. "description" : "收款资金类型,当交易收款资金为数字人民币时返回值为“DC”,否则不返回该字段。",
  84865. "example" : "DC"
  84866. },
  84867. "send_pay_date" : {
  84868. "type" : "string",
  84869. "description" : "本次交易打款给卖家的时间",
  84870. "example" : "2014-11-27 15:45:57"
  84871. },
  84872. "settle_amount" : {
  84873. "type" : "string",
  84874. "description" : "结算币种订单金额",
  84875. "example" : "2.96"
  84876. },
  84877. "settle_currency" : {
  84878. "type" : "string",
  84879. "description" : "订单结算币种,对应支付接口传入的settle_currency,支持英镑:GBP、港币:HKD、美元:USD、新加坡元:SGD、日元:JPY、加拿大元:CAD、澳元:AUD、欧元:EUR、新西兰元:NZD、韩元:KRW、泰铢:THB、瑞士法郎:CHF、瑞典克朗:SEK、丹麦克朗:DKK、挪威克朗:NOK、马来西亚林吉特:MYR、印尼卢比:IDR、菲律宾比索:PHP、毛里求斯卢比:MUR、以色列新谢克尔:ILS、斯里兰卡卢比:LKR、俄罗斯卢布:RUB、阿联酋迪拉姆:AED、捷克克朗:CZK、南非兰特:ZAR",
  84880. "example" : "USD"
  84881. },
  84882. "settle_trans_rate" : {
  84883. "type" : "string",
  84884. "description" : "结算币种兑换标价币种汇率",
  84885. "example" : "30.025"
  84886. },
  84887. "settlement_id" : {
  84888. "type" : "string",
  84889. "description" : "支付清算编号,用于清算对账使用;\r\t只在银行间联交易场景下返回该信息;",
  84890. "example" : "2018101610032004620239146945"
  84891. },
  84892. "store_id" : {
  84893. "type" : "string",
  84894. "description" : "商户球房编号",
  84895. "example" : "NJ_S_001"
  84896. },
  84897. "store_name" : {
  84898. "type" : "string",
  84899. "description" : "请求交易支付中的商户店铺的名称",
  84900. "example" : "证大五道口店"
  84901. },
  84902. "subject" : {
  84903. "type" : "string",
  84904. "description" : "订单标题;\t 只在银行间联交易场景下返回该信息;",
  84905. "example" : "Iphone6 16G"
  84906. },
  84907. "terminal_id" : {
  84908. "type" : "string",
  84909. "description" : "商户机具终端编号",
  84910. "example" : "NJ_T_001"
  84911. },
  84912. "total_amount" : {
  84913. "type" : "string",
  84914. "description" : "交易的订单金额,单位为元,两位小数。该参数的值为支付时传入的total_amount",
  84915. "example" : "88.88"
  84916. },
  84917. "trade_no" : {
  84918. "type" : "string",
  84919. "description" : "支付宝交易号",
  84920. "example" : "2013112011001004330000121536"
  84921. },
  84922. "trade_settle_info" : {
  84923. "$ref" : "#/components/schemas/TradeSettleInfo"
  84924. },
  84925. "trade_status" : {
  84926. "type" : "string",
  84927. "description" : "交易状态:WAIT_BUYER_PAY(交易创建,等待买家付款)、TRADE_CLOSED(未付款交易超时关闭,或支付完成后全额退款)、TRADE_SUCCESS(交易支付成功)、TRADE_FINISHED(交易结束,不可退款)",
  84928. "example" : "TRADE_CLOSED"
  84929. },
  84930. "trans_currency" : {
  84931. "type" : "string",
  84932. "description" : "标价币种,该参数的值为支付时传入的trans_currency,支持英镑:GBP、港币:HKD、美元:USD、新加坡元:SGD、日元:JPY、加拿大元:CAD、澳元:AUD、欧元:EUR、新西兰元:NZD、韩元:KRW、泰铢:THB、瑞士法郎:CHF、瑞典克朗:SEK、丹麦克朗:DKK、挪威克朗:NOK、马来西亚林吉特:MYR、印尼卢比:IDR、菲律宾比索:PHP、毛里求斯卢比:MUR、以色列新谢克尔:ILS、斯里兰卡卢比:LKR、俄罗斯卢布:RUB、阿联酋迪拉姆:AED、捷克克朗:CZK、南非兰特:ZAR、人民币:CNY、新台币:TWD。当trans_currency 和 settle_currency 不一致时,trans_currency支持人民币:CNY、新台币:TWD",
  84933. "example" : "TWD"
  84934. },
  84935. "trans_pay_rate" : {
  84936. "type" : "string",
  84937. "description" : "标价币种兑换支付币种汇率",
  84938. "example" : "0.264"
  84939. },
  84940. "voucher_detail_list" : {
  84941. "type" : "array",
  84942. "description" : "本交易支付时使用的所有优惠券信息。\t只有在query_options中指定时才返回该字段信息。",
  84943. "items" : {
  84944. "$ref" : "#/components/schemas/VoucherDetail"
  84945. }
  84946. }
  84947. }
  84948. },
  84949. "AlipayTradeRefundApplyErrorResponseModel" : {
  84950. "required" : [ "code", "message" ],
  84951. "type" : "object",
  84952. "properties" : {
  84953. "code" : {
  84954. "type" : "string",
  84955. "description" : "错误码",
  84956. "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.REFUND_AMT_NOT_EQUAL_TOTAL", "ACQ.TRADE_NOT_EXIST", "ACQ.TRADE_HAS_FINISHED", "ACQ.TRADE_STATUS_ERROR", "ACQ.DISCORDANT_REPEAT_REQUEST", "ACQ.REASON_TRADE_REFUND_FEE_ERR", "ACQ.TRADE_NOT_ALLOW_REFUND", "ACQ.REASON_ILLEGAL_STATUS", "ACQ.REFUND_TRADE_FEE_ERROR", "ACQ.UN_SUPPORT_BIZ_TYPE", "ACQ.TRADE_HAS_CLOSE" ]
  84957. },
  84958. "links" : {
  84959. "type" : "string",
  84960. "description" : "解决方案链接"
  84961. },
  84962. "message" : {
  84963. "type" : "string",
  84964. "description" : "错误描述"
  84965. }
  84966. }
  84967. },
  84968. "AlipayTradeRefundApplyModel" : {
  84969. "type" : "object",
  84970. "properties" : {
  84971. "extend_params" : {
  84972. "type" : "string",
  84973. "description" : "商户传入业务信息,具体值要和支付宝约定,格式为json格式。\r\t医保退款场景下,DESIGNATED_REFUND_ASSET为INNER_ASSET表示只退自费部分,DESIGNATED_REFUND_ASSET为OUTSIDE_ASSET表示只退医保部分,医保部分不支持部分退。退医保资金必需传cancel_bill_no和cancel_serial_no。",
  84974. "example" : "{\"DESIGNATED_REFUND_ASSET\" :\"OUTSIDE_ASSET\",\"cancel_bill_no\":\"ZF26039675\",\"cancel_serial_no\":\"77640503\"}"
  84975. },
  84976. "notify_url" : {
  84977. "type" : "string",
  84978. "description" : "通知地址"
  84979. },
  84980. "operator_id" : {
  84981. "type" : "string",
  84982. "description" : "商户的操作员编号",
  84983. "example" : "OP001"
  84984. },
  84985. "out_request_no" : {
  84986. "type" : "string",
  84987. "description" : "标识一次退款请求,同一笔交易多次退款需要保证唯一,如需部分退款,则此参数必传。",
  84988. "example" : "HZ01RF001"
  84989. },
  84990. "out_trade_no" : {
  84991. "type" : "string",
  84992. "description" : "订单支付时传入的商户订单号,不能和 trade_no同时为空",
  84993. "example" : "20150320010101001"
  84994. },
  84995. "refund_amount" : {
  84996. "type" : "string",
  84997. "description" : "需要退款的金额,该金额不能大于订单金额,单位为元,支持两位小数",
  84998. "example" : "200.12"
  84999. },
  85000. "refund_fund_details" : {
  85001. "type" : "array",
  85002. "description" : "退款资金明细\r\t注:目前只有SETTLE_OFFLINE_GROUP产品的退款支持该字段",
  85003. "items" : {
  85004. "$ref" : "#/components/schemas/OpenApiRefundFundDetailPojo"
  85005. }
  85006. },
  85007. "refund_reason" : {
  85008. "type" : "string",
  85009. "description" : "退款的原因说明",
  85010. "example" : "正常退款"
  85011. },
  85012. "store_id" : {
  85013. "type" : "string",
  85014. "description" : "商户的球房编号",
  85015. "example" : "NJ_S_001"
  85016. },
  85017. "terminal_id" : {
  85018. "type" : "string",
  85019. "description" : "商户的终端编号",
  85020. "example" : "NJ_T_001"
  85021. },
  85022. "trade_no" : {
  85023. "type" : "string",
  85024. "description" : "支付宝交易号,和商户订单号不能同时为空",
  85025. "example" : "2014112611001004680073956707"
  85026. }
  85027. }
  85028. },
  85029. "AlipayTradeRefundApplyResponseModel" : {
  85030. "type" : "object",
  85031. "properties" : {
  85032. "out_request_no" : {
  85033. "type" : "string",
  85034. "description" : "本笔退款对应的退款请求号",
  85035. "example" : "HZ01RF001"
  85036. },
  85037. "out_trade_no" : {
  85038. "type" : "string",
  85039. "description" : "商户订单号",
  85040. "example" : "20150320010101001"
  85041. },
  85042. "refund_amount" : {
  85043. "type" : "string",
  85044. "description" : "本次退款请求,对应的退款金额",
  85045. "example" : "200.12"
  85046. },
  85047. "refund_status" : {
  85048. "type" : "string",
  85049. "description" : "REFUND_PROCESSING 退款处理中;REFUND_SUCCESS 退款处理成功;REFUND_FAIL 退款失败",
  85050. "example" : "REFUND_PROCESSING"
  85051. },
  85052. "trade_no" : {
  85053. "type" : "string",
  85054. "description" : "支付宝交易号",
  85055. "example" : "2014112611001004680073956707"
  85056. }
  85057. }
  85058. },
  85059. "AlipayTradeRefundErrorResponseModel" : {
  85060. "required" : [ "code", "message" ],
  85061. "type" : "object",
  85062. "properties" : {
  85063. "code" : {
  85064. "type" : "string",
  85065. "description" : "错误码",
  85066. "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.SELLER_BALANCE_NOT_ENOUGH", "ACQ.REFUND_AMT_NOT_EQUAL_TOTAL", "ACQ.REASON_TRADE_BEEN_FREEZEN", "ACQ.TRADE_NOT_EXIST", "ACQ.TRADE_HAS_FINISHED", "ACQ.TRADE_STATUS_ERROR", "ACQ.DISCORDANT_REPEAT_REQUEST", "ACQ.REASON_TRADE_REFUND_FEE_ERR", "ACQ.TRADE_NOT_ALLOW_REFUND", "ACQ.REFUND_FEE_ERROR", "ACQ.TRADE_HAS_CLOSE", "ACQ.BUYER_NOT_EXIST", "ACQ.BUYER_ENABLE_STATUS_FORBID", "ACQ.REASON_TRADE_STATUS_INVALID", "ACQ.NOT_ALLOW_PARTIAL_REFUND", "ACQ.ONLINE_TRADE_VOUCHER_NOT_ALLOW_REFUND", "ACQ.BUYER_ERROR", "ACQ.CURRENCY_NOT_SUPPORT", "ACQ.ALLOC_AMOUNT_VALIDATE_ERROR", "ACQ.USER_NOT_MATCH_ERR", "ACQ.TRADE_SETTLE_ERROR", "ACQ.REFUND_CHARGE_ERROR", "ACQ.ENTERPRISE_PAY_BIZ_ERROR", "ACQ.OVERDRAFT_ASSIGN_ACCOUNT_INVALID", "ACQ.OVERDRAFT_AGREEMENT_NOT_MATCH", "ACQ.REFUND_ACCOUNT_NOT_EXIST", "ACQ.CUSTOMER_VALIDATE_ERROR", "ACQ.REFUND_ROYALTY_PAYEE_ACCOUNT_NOT_EXIST" ]
  85067. },
  85068. "links" : {
  85069. "type" : "string",
  85070. "description" : "解决方案链接"
  85071. },
  85072. "message" : {
  85073. "type" : "string",
  85074. "description" : "错误描述"
  85075. }
  85076. }
  85077. },
  85078. "AlipayTradeRefundModel" : {
  85079. "type" : "object",
  85080. "properties" : {
  85081. "goods_detail" : {
  85082. "type" : "array",
  85083. "description" : "退款包含的商品列表信息,Json格式。",
  85084. "items" : {
  85085. "$ref" : "#/components/schemas/GoodsDetail"
  85086. }
  85087. },
  85088. "operator_id" : {
  85089. "type" : "string",
  85090. "description" : "商户的操作员编号",
  85091. "example" : "OP001"
  85092. },
  85093. "org_pid" : {
  85094. "type" : "string",
  85095. "description" : "银行间联模式下有用,其它场景请不要使用;\r\t双联通过该参数指定需要退款的交易所属收单机构的pid;",
  85096. "example" : "2088101117952222"
  85097. },
  85098. "out_request_no" : {
  85099. "type" : "string",
  85100. "description" : "退款请求号。\t标识一次退款请求,需要保证在交易号下唯一,如需部分退款,则此参数必传。\t注:针对同一次退款请求,如果调用接口失败或异常了,重试时需要保证退款请求号不能变更,防止该笔交易重复退款。支付宝会保证同样的退款请求号多次请求只会退一次。",
  85101. "example" : "HZ01RF001"
  85102. },
  85103. "out_trade_no" : {
  85104. "type" : "string",
  85105. "description" : "商户订单号。\t订单支付时传入的商户订单号,商家自定义且保证商家系统中唯一。与支付宝交易号 trade_no 不能同时为空。",
  85106. "example" : "20150320010101001"
  85107. },
  85108. "query_options" : {
  85109. "type" : "array",
  85110. "description" : "查询选项。\t商户通过上送该参数来定制同步需要额外返回的信息字段,数组格式。支持:refund_detail_item_list:退款使用的资金渠道;deposit_back_info:触发银行卡冲退信息通知;",
  85111. "items" : {
  85112. "type" : "string"
  85113. },
  85114. "example" : "refund_detail_item_list"
  85115. },
  85116. "refund_advance_account" : {
  85117. "type" : "string",
  85118. "description" : "指定垫资退款账号主体,可能是用户id或登录名",
  85119. "example" : "loginname@alitest.com"
  85120. },
  85121. "refund_advance_account_type" : {
  85122. "type" : "string",
  85123. "description" : "指定垫资退款账号的类型,取值范围:default,userId,loginName",
  85124. "example" : "loginName"
  85125. },
  85126. "refund_amount" : {
  85127. "type" : "string",
  85128. "description" : "退款金额。\t需要退款的金额,该金额不能大于订单金额,单位为元,支持两位小数。\t注:如果正向交易使用了营销,该退款金额包含营销金额,支付宝会按业务规则分配营销和买家自有资金分别退多少,默认优先退买家的自有资金。如交易总金额100元,用户支付时使用了80元自有资金和20元无资金流的营销券,商家实际收款80元。如果首次请求退款60元,则60元全部从商家收款资金扣除退回给用户自有资产;如果再请求退款40元,则从商家收款资金扣除20元退回用户资产以及把20元的营销券退回给用户(券是否可再使用取决于券的规则配置)。",
  85129. "example" : "200.12"
  85130. },
  85131. "refund_currency" : {
  85132. "type" : "string",
  85133. "description" : "订单退款币种信息。支持英镑:GBP、港币:HKD、美元:USD、新加坡元:SGD、日元:JPY、加拿大元:CAD、澳元:AUD、欧元:EUR、新西兰元:NZD、韩元:KRW、泰铢:THB、瑞士法郎:CHF、瑞典克朗:SEK、丹麦克朗:DKK、挪威克朗:NOK、马来西亚林吉特:MYR、印尼卢比:IDR、菲律宾比索:PHP、毛里求斯卢比:MUR、以色列新谢克尔:ILS、斯里兰卡卢比:LKR、俄罗斯卢布:RUB、阿联酋迪拉姆:AED、捷克克朗:CZK、南非兰特:ZAR、人民币:CNY",
  85134. "example" : "USD"
  85135. },
  85136. "refund_goods_detail" : {
  85137. "type" : "array",
  85138. "description" : "退款包含的商品列表信息",
  85139. "items" : {
  85140. "$ref" : "#/components/schemas/RefundGoodsDetail"
  85141. }
  85142. },
  85143. "refund_reason" : {
  85144. "type" : "string",
  85145. "description" : "退款原因说明。\t商家自定义,将在会在商户和用户的pc退款账单详情中展示",
  85146. "example" : "正常退款"
  85147. },
  85148. "refund_royalty_parameters" : {
  85149. "type" : "array",
  85150. "description" : "退分账明细信息。\t 注: 1.当面付且非直付通模式无需传入退分账明细,系统自动按退款金额与订单金额的比率,从收款方和分账收入方退款,不支持指定退款金额与退款方。 \t2.直付通模式,电脑网站支付,手机 APP 支付,手机网站支付产品,须在退款请求中明确是否退分账,从哪个分账收入方退,退多少分账金额;如不明确,默认从收款方退款,收款方余额不足退款失败。不支持系统按比率退款。",
  85151. "items" : {
  85152. "$ref" : "#/components/schemas/OpenApiRoyaltyDetailInfoPojo"
  85153. }
  85154. },
  85155. "store_id" : {
  85156. "type" : "string",
  85157. "description" : "商户球房编号,由商家自定义。需保证当前商户下唯一。",
  85158. "example" : "NJ_S_001"
  85159. },
  85160. "terminal_id" : {
  85161. "type" : "string",
  85162. "description" : "商户的终端编号",
  85163. "example" : "NJ_T_001"
  85164. },
  85165. "trade_no" : {
  85166. "type" : "string",
  85167. "description" : "支付宝交易号。\t和商户订单号 out_trade_no 不能同时为空。",
  85168. "example" : "2014112611001004680073956707"
  85169. }
  85170. }
  85171. },
  85172. "AlipayTradeRefundResponseModel" : {
  85173. "type" : "object",
  85174. "properties" : {
  85175. "buyer_logon_id" : {
  85176. "type" : "string",
  85177. "description" : "用户的登录id",
  85178. "example" : "159****5620"
  85179. },
  85180. "buyer_open_id" : {
  85181. "type" : "string",
  85182. "description" : "买家支付宝用户唯一标识",
  85183. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  85184. },
  85185. "buyer_user_id" : {
  85186. "type" : "string",
  85187. "description" : "买家在支付宝的用户id",
  85188. "example" : "2088101117955611"
  85189. },
  85190. "fund_change" : {
  85191. "type" : "string",
  85192. "description" : "本次退款是否发生了资金变化",
  85193. "example" : "Y"
  85194. },
  85195. "gmt_refund_pay" : {
  85196. "type" : "string",
  85197. "description" : "退款支付时间",
  85198. "example" : "2014-11-27 15:45:57"
  85199. },
  85200. "has_deposit_back" : {
  85201. "type" : "string",
  85202. "description" : "是否有银行卡冲退,仅当query_options中传入deposit_back_info时返回",
  85203. "example" : "true"
  85204. },
  85205. "open_id" : {
  85206. "type" : "string",
  85207. "description" : "买家支付宝用户号,该参数已废弃,请不要使用",
  85208. "example" : "2088102122524333"
  85209. },
  85210. "out_trade_no" : {
  85211. "type" : "string",
  85212. "description" : "商户订单号",
  85213. "example" : "6823789339978248"
  85214. },
  85215. "present_refund_buyer_amount" : {
  85216. "type" : "string",
  85217. "description" : "本次退款金额中买家退款金额;单位:元。\t该字段默认不返回;",
  85218. "example" : "88.88"
  85219. },
  85220. "present_refund_discount_amount" : {
  85221. "type" : "string",
  85222. "description" : "本次退款金额中平台优惠退款金额;单位:元。\t该字段默认不返回;",
  85223. "example" : "88.88"
  85224. },
  85225. "present_refund_mdiscount_amount" : {
  85226. "type" : "string",
  85227. "description" : "本次退款金额中商家优惠退款金额;单位:元。\t该字段默认不返回;",
  85228. "example" : "88.88"
  85229. },
  85230. "refund_charge_amount" : {
  85231. "type" : "string",
  85232. "description" : "本次退款针对收款方的退收费金额;单位:元。\t只在机构间联模式下返回,其它场景下不返回该字段;",
  85233. "example" : "8.88"
  85234. },
  85235. "refund_charge_info_list" : {
  85236. "type" : "array",
  85237. "description" : "退费信息",
  85238. "items" : {
  85239. "$ref" : "#/components/schemas/RefundChargeInfo"
  85240. }
  85241. },
  85242. "refund_currency" : {
  85243. "type" : "string",
  85244. "description" : "退款币种信息",
  85245. "example" : "USD"
  85246. },
  85247. "refund_detail_item_list" : {
  85248. "type" : "array",
  85249. "description" : "退款使用的资金渠道。\t只有在签约中指定需要返回资金明细,或者入参的query_options中指定时才返回该字段信息。",
  85250. "items" : {
  85251. "$ref" : "#/components/schemas/TradeFundBill"
  85252. }
  85253. },
  85254. "refund_fee" : {
  85255. "type" : "string",
  85256. "description" : "退款总金额。单位:元。\t指该笔交易累计已经退款成功的金额。",
  85257. "example" : "88.88"
  85258. },
  85259. "refund_hyb_amount" : {
  85260. "type" : "string",
  85261. "description" : "本次请求退惠营宝金额。单位:元。",
  85262. "example" : "10.24"
  85263. },
  85264. "refund_preset_paytool_list" : {
  85265. "$ref" : "#/components/schemas/PresetPayToolInfo"
  85266. },
  85267. "refund_settlement_id" : {
  85268. "type" : "string",
  85269. "description" : "退款清算编号,用于清算对账使用;\t只在机构间联模式下返回,其它场景下不返回该字段;",
  85270. "example" : "2018101610032004620239146945"
  85271. },
  85272. "send_back_fee" : {
  85273. "type" : "string",
  85274. "description" : "本次商户实际退回金额。单位:元。\t说明:如需获取该值,需在入参query_options中传入 refund_detail_item_list。",
  85275. "example" : "1.8"
  85276. },
  85277. "store_name" : {
  85278. "type" : "string",
  85279. "description" : "交易在支付时候的球房名称",
  85280. "example" : "望湘园联洋店"
  85281. },
  85282. "trade_no" : {
  85283. "type" : "string",
  85284. "description" : "2013112011001004330000121536",
  85285. "example" : "支付宝交易号"
  85286. }
  85287. }
  85288. },
  85289. "AlipayTradeRoyaltyRateQueryErrorResponseModel" : {
  85290. "required" : [ "code", "message" ],
  85291. "type" : "object",
  85292. "properties" : {
  85293. "code" : {
  85294. "type" : "string",
  85295. "description" : "错误码",
  85296. "enum" : [ "INVALID_PARAMETER", "PRODUCT_UNSIGN", "SYSTEM_ERROR" ]
  85297. },
  85298. "links" : {
  85299. "type" : "string",
  85300. "description" : "解决方案链接"
  85301. },
  85302. "message" : {
  85303. "type" : "string",
  85304. "description" : "错误描述"
  85305. }
  85306. }
  85307. },
  85308. "AlipayTradeRoyaltyRateQueryResponseModel" : {
  85309. "type" : "object",
  85310. "properties" : {
  85311. "max_ratio" : {
  85312. "type" : "integer",
  85313. "description" : "最大分账比例,百分比整数,取值范围0~100",
  85314. "example" : "80"
  85315. },
  85316. "user_id" : {
  85317. "type" : "string",
  85318. "description" : "当前商户userId",
  85319. "example" : "2088XXXX1234"
  85320. }
  85321. }
  85322. },
  85323. "AlipayTradeRoyaltyRelationBatchqueryErrorResponseModel" : {
  85324. "required" : [ "code", "message" ],
  85325. "type" : "object",
  85326. "properties" : {
  85327. "code" : {
  85328. "type" : "string",
  85329. "description" : "错误码",
  85330. "enum" : [ "INVALID_PARAMETER", "PRODUCT_UNSIGN", "SYSTEM_ERROR", "OPENID_APPID_NOT_MATCH" ]
  85331. },
  85332. "links" : {
  85333. "type" : "string",
  85334. "description" : "解决方案链接"
  85335. },
  85336. "message" : {
  85337. "type" : "string",
  85338. "description" : "错误描述"
  85339. }
  85340. }
  85341. },
  85342. "AlipayTradeRoyaltyRelationBatchqueryModel" : {
  85343. "type" : "object",
  85344. "properties" : {
  85345. "out_request_no" : {
  85346. "type" : "string",
  85347. "description" : "外部请求号,由商家自定义。32个字符以内,仅可包含字母、数字、下划线。需保证在商户端不重复。",
  85348. "example" : "2019032200000001"
  85349. },
  85350. "page_num" : {
  85351. "type" : "integer",
  85352. "description" : "几页,起始页为 1。不填默认为 1。",
  85353. "example" : "1"
  85354. },
  85355. "page_size" : {
  85356. "type" : "integer",
  85357. "description" : "页面大小。每页记录数,取值范围是(0,100]。不填默认为20",
  85358. "example" : "20"
  85359. }
  85360. }
  85361. },
  85362. "AlipayTradeRoyaltyRelationBatchqueryResponseModel" : {
  85363. "type" : "object",
  85364. "properties" : {
  85365. "current_page_num" : {
  85366. "type" : "integer",
  85367. "description" : "当前页数",
  85368. "example" : "1"
  85369. },
  85370. "current_page_size" : {
  85371. "type" : "integer",
  85372. "description" : "当前页面大小",
  85373. "example" : "20"
  85374. },
  85375. "receiver_list" : {
  85376. "type" : "array",
  85377. "description" : "分账收款方列表",
  85378. "items" : {
  85379. "$ref" : "#/components/schemas/RoyaltyEntity"
  85380. }
  85381. },
  85382. "result_code" : {
  85383. "type" : "string",
  85384. "description" : "业务结果码。SUCCESS:分账关系查询成功;FAIL:分账关系查询失败。",
  85385. "example" : "SUCCESS"
  85386. },
  85387. "total_page_num" : {
  85388. "type" : "integer",
  85389. "description" : "总页数",
  85390. "example" : "10"
  85391. },
  85392. "total_record_num" : {
  85393. "type" : "integer",
  85394. "description" : "分账关系记录总数",
  85395. "example" : "480"
  85396. }
  85397. }
  85398. },
  85399. "AlipayTradeRoyaltyRelationBindErrorResponseModel" : {
  85400. "required" : [ "code", "message" ],
  85401. "type" : "object",
  85402. "properties" : {
  85403. "code" : {
  85404. "type" : "string",
  85405. "description" : "错误码",
  85406. "enum" : [ "INVALID_PARAMETER", "RELATION_QUANTITY_LIMIT", "PRODUCT_UNSIGN", "USER_NOT_EXIST", "SYSTEM_ERROR", "RECEIVER_LIST_EMPTY", "RECEIVER_LIST_OVERLOAD", "INVALID_RECEIVER_TYPE", "USERNAME_NOT_MATCH", "RECEIVER_ACCOUNT_NOT_CERTIFY", "RECEIVER_ACCOUNT_NO_BALANCE", "RECEIVER_ACCOUNT_STATE_INVALID", "OPENID_APPID_NOT_MATCH" ]
  85407. },
  85408. "links" : {
  85409. "type" : "string",
  85410. "description" : "解决方案链接"
  85411. },
  85412. "message" : {
  85413. "type" : "string",
  85414. "description" : "错误描述"
  85415. }
  85416. }
  85417. },
  85418. "AlipayTradeRoyaltyRelationBindModel" : {
  85419. "type" : "object",
  85420. "properties" : {
  85421. "out_request_no" : {
  85422. "type" : "string",
  85423. "description" : "外部请求号,由商家自定义。32个字符以内,仅可包含字母、数字、下划线。需保证在商户端不重复。",
  85424. "example" : "2019032200000001"
  85425. },
  85426. "receiver_list" : {
  85427. "type" : "array",
  85428. "description" : "分账接收方列表,单次传入最多20个",
  85429. "items" : {
  85430. "$ref" : "#/components/schemas/RoyaltyEntity"
  85431. }
  85432. }
  85433. }
  85434. },
  85435. "AlipayTradeRoyaltyRelationBindResponseModel" : {
  85436. "type" : "object",
  85437. "properties" : {
  85438. "result_code" : {
  85439. "type" : "string",
  85440. "description" : "SUCCESS:分账关系绑定成功;\tFAIL:分账关系绑定失败。",
  85441. "example" : "SUCCESS"
  85442. }
  85443. }
  85444. },
  85445. "AlipayTradeRoyaltyRelationUnbindErrorResponseModel" : {
  85446. "required" : [ "code", "message" ],
  85447. "type" : "object",
  85448. "properties" : {
  85449. "code" : {
  85450. "type" : "string",
  85451. "description" : "错误码",
  85452. "enum" : [ "INVALID_PARAMETER", "PRODUCT_UNSIGN", "USER_NOT_EXIST", "SYSTEM_ERROR", "RECEIVER_LIST_EMPTY", "RECEIVER_LIST_OVERLOAD", "INVALID_RECEIVER_TYPE", "USERNAME_NOT_MATCH" ]
  85453. },
  85454. "links" : {
  85455. "type" : "string",
  85456. "description" : "解决方案链接"
  85457. },
  85458. "message" : {
  85459. "type" : "string",
  85460. "description" : "错误描述"
  85461. }
  85462. }
  85463. },
  85464. "AlipayTradeRoyaltyRelationUnbindModel" : {
  85465. "type" : "object",
  85466. "properties" : {
  85467. "out_request_no" : {
  85468. "type" : "string",
  85469. "description" : "外部请求号,由商家自定义。32个字符以内,仅可包含字母、数字、下划线。需保证在商户端不重复。",
  85470. "example" : "2019032200000001"
  85471. },
  85472. "receiver_list" : {
  85473. "type" : "array",
  85474. "description" : "分账接收方列表,单次传入最多 20 个信息。",
  85475. "items" : {
  85476. "$ref" : "#/components/schemas/RoyaltyEntity"
  85477. }
  85478. }
  85479. }
  85480. },
  85481. "AlipayTradeRoyaltyRelationUnbindResponseModel" : {
  85482. "type" : "object",
  85483. "properties" : {
  85484. "result_code" : {
  85485. "type" : "string",
  85486. "description" : "业务结果码。SUCCESS:分账关系解绑成功;\tFAIL:分账关系解绑失败。",
  85487. "example" : "SUCCESS"
  85488. }
  85489. }
  85490. },
  85491. "AlipayTradeSettleConfirmErrorResponseModel" : {
  85492. "required" : [ "code", "message" ],
  85493. "type" : "object",
  85494. "properties" : {
  85495. "code" : {
  85496. "type" : "string",
  85497. "description" : "错误码",
  85498. "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.TRADE_NOT_EXIST", "ACQ.PARTNER_ERROR", "ACQ.DUP_OUT_REQUEST_NO", "ACQ.TRADE_SETTLE_ERROR", "ACQ.ILLEGAL_SETTLE_STATE", "ACQ.REASON_ILLEGAL_STATUS", "ACQ.SECONDARY_MERCHANT_ALIPAY_ACCOUNT_NOT_EXIST", "ACQ.DEFAULT_SETTLE_RULE_NOT_EXIST", "ACQ.REASON_TRADE_STATUS_INVALID", "ACQ.FREQUENCY_LIMITED", "ACQ.SECONDARY_MERCHANT_ID_INVALID", "ACQ.USER_ACCOUNT_HAD_FREEZEN", "ACQ.DISCORDANT_REPEAT_REQUEST", "ACQ.TXN_RESULT_ACCOUNT_BALANCE_NOT_ENOUGH", "ACQ.SETTLE_ENTITY_ID_INVALID", "ACQ.RISK_SETTLE_SUSPEND", "ACQ.SETTLE_ACCOUNT_NOT_EXIST", "ACQ.SETTLE_ACCOUNT_NOT_CERTIFY", "ACQ.SETTLE_ACCOUNT_NO_BALANCE", "ACQ.INVALID_SETTLE_AMOUNT_PARAMETER", "ACQ.USER_LOGONID_DUP", "ACQ.SECONDARY_MERCHANT_ALIPAY_ACCOUNT_INVALID", "ACQ.ALREADY_CONFIRM_SETTLE", "ACQ.SETTLE_ACCOUNT_HAS_BEEN_FROZEN", "ACQ.TRADE_HAS_CLOSE", "ACQ.TRADE_HAS_FINISHED" ]
  85499. },
  85500. "links" : {
  85501. "type" : "string",
  85502. "description" : "解决方案链接"
  85503. },
  85504. "message" : {
  85505. "type" : "string",
  85506. "description" : "错误描述"
  85507. }
  85508. }
  85509. },
  85510. "AlipayTradeSettleConfirmModel" : {
  85511. "type" : "object",
  85512. "properties" : {
  85513. "extend_params" : {
  85514. "$ref" : "#/components/schemas/SettleConfirmExtendParams"
  85515. },
  85516. "out_request_no" : {
  85517. "type" : "string",
  85518. "description" : "确认结算请求流水号,开发者自行生成并保证唯一性,作为业务幂等性控制",
  85519. "example" : "20160727001"
  85520. },
  85521. "settle_info" : {
  85522. "$ref" : "#/components/schemas/SettleInfo"
  85523. },
  85524. "trade_no" : {
  85525. "type" : "string",
  85526. "description" : "支付宝交易号",
  85527. "example" : "2015070921001004130000127421"
  85528. }
  85529. }
  85530. },
  85531. "AlipayTradeSettleConfirmResponseModel" : {
  85532. "type" : "object",
  85533. "properties" : {
  85534. "out_request_no" : {
  85535. "type" : "string",
  85536. "description" : "确认结算请求流水号,开发者自行生成并保证唯一性,作为业务幂等性控制",
  85537. "example" : "20160727001"
  85538. },
  85539. "settle_amount" : {
  85540. "type" : "string",
  85541. "description" : "本次确认结算的实际结算金额,单位为元。",
  85542. "example" : "0.1"
  85543. },
  85544. "trade_no" : {
  85545. "type" : "string",
  85546. "description" : "支付宝交易号",
  85547. "example" : "2015070921001004130000127421"
  85548. }
  85549. }
  85550. },
  85551. "AlipayTradeSettleReceivablesQueryErrorResponseModel" : {
  85552. "required" : [ "code", "message" ],
  85553. "type" : "object",
  85554. "properties" : {
  85555. "code" : {
  85556. "type" : "string",
  85557. "description" : "错误码",
  85558. "enum" : [ "INVALID_PARAMETER", "SUB_MERCHANT_NOT_EXIST", "SUB_MERCHANT_BELONG_ERROR", "SUB_MERCHANT_ACCOUNT_NOT_EXIST", "SYSTEM_ERROR", "QUERY_NOT_SUPPORT", "ILLEGAL_SETTLE_STATUS" ]
  85559. },
  85560. "links" : {
  85561. "type" : "string",
  85562. "description" : "解决方案链接"
  85563. },
  85564. "message" : {
  85565. "type" : "string",
  85566. "description" : "错误描述"
  85567. }
  85568. }
  85569. },
  85570. "AlipayTradeSettleReceivablesQueryModel" : {
  85571. "type" : "object",
  85572. "properties" : {
  85573. "biz_product" : {
  85574. "type" : "string",
  85575. "description" : "收单产品码,商家和支付宝签约的产品码",
  85576. "example" : "FACE_TO_FACE_PAYMENT"
  85577. },
  85578. "extend_params" : {
  85579. "type" : "string",
  85580. "description" : "扩展参数",
  85581. "example" : "{\"key\":\"value\"}"
  85582. },
  85583. "merchant_info" : {
  85584. "$ref" : "#/components/schemas/SettleEntity"
  85585. },
  85586. "out_request_no" : {
  85587. "type" : "string",
  85588. "description" : "外部请求号,32个字符以内,可包含字母、数字、下划线。",
  85589. "example" : "2019040100000001"
  85590. },
  85591. "query_his_date" : {
  85592. "type" : "string",
  85593. "description" : "当trade_no不为空时,该字段不生效。\t查询历史日期,格式为 yyyyMMdd ,取值范围为昨日起至往前30日内;\t不传入时,查询实时待结算余额返回;\t传入过去某一天日期,查询对应日期的日终待结算余额返回(注意:日常场景下,昨日日终待结算余额只可在当天 02:00 后查询,在当天 02:00 前查询返回查询错误;大促场景下昨日日终可查时间会适当延后);\t传入过去某一天非近30天内,返回参数错误。",
  85594. "example" : "20200313"
  85595. },
  85596. "trade_no" : {
  85597. "type" : "string",
  85598. "description" : "支付宝交易号,当该笔交易为直付通账期模式,查询该笔交易待确认结算金额时必传",
  85599. "example" : "2022081722001432461452204877"
  85600. }
  85601. }
  85602. },
  85603. "AlipayTradeSettleReceivablesQueryResponseModel" : {
  85604. "type" : "object",
  85605. "properties" : {
  85606. "on_settle_amount" : {
  85607. "type" : "string",
  85608. "description" : "直付通请款模式下的结算在途金额,发起结算后 T+N 日到账场景下的处理中金额,人民币,单位为元",
  85609. "example" : "10000.00"
  85610. },
  85611. "unsettled_amount" : {
  85612. "type" : "string",
  85613. "description" : "待结算金额,人民币,单位为元",
  85614. "example" : "10000.00"
  85615. }
  85616. }
  85617. },
  85618. "AlipayUserAgreementExecutionplanModifyErrorResponseModel" : {
  85619. "required" : [ "code", "message" ],
  85620. "type" : "object",
  85621. "properties" : {
  85622. "code" : {
  85623. "type" : "string",
  85624. "description" : "错误码",
  85625. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_EXECUTION_TIME", "ILLEGAL_AGREEMENT", "INVALID_PARAMETER" ]
  85626. },
  85627. "links" : {
  85628. "type" : "string",
  85629. "description" : "解决方案链接"
  85630. },
  85631. "message" : {
  85632. "type" : "string",
  85633. "description" : "错误描述"
  85634. }
  85635. }
  85636. },
  85637. "AlipayUserAgreementExecutionplanModifyModel" : {
  85638. "type" : "object",
  85639. "properties" : {
  85640. "agreement_no" : {
  85641. "type" : "string",
  85642. "description" : "周期性扣款产品,授权免密支付协议号",
  85643. "example" : "20185909000458725113"
  85644. },
  85645. "deduct_time" : {
  85646. "type" : "string",
  85647. "description" : "商户下一次扣款时间",
  85648. "example" : "2019-05-12"
  85649. },
  85650. "memo" : {
  85651. "type" : "string",
  85652. "description" : "具体修改原因",
  85653. "example" : "用户已购买半年包,需延期扣款时间"
  85654. }
  85655. }
  85656. },
  85657. "AlipayUserAgreementExecutionplanModifyResponseModel" : {
  85658. "type" : "object",
  85659. "properties" : {
  85660. "agreement_no" : {
  85661. "type" : "string",
  85662. "description" : "周期性扣款产品,授权免密支付协议号",
  85663. "example" : "20185909000458725113"
  85664. },
  85665. "deduct_time" : {
  85666. "type" : "string",
  85667. "description" : "商户下一次扣款时间,格式 \"yyyy-MM-dd\"。\t例如:用户在1月1日开通了连续包月,使用了10天又另行购买了“季度包”,如果此时商户希望“季度包”立即优先生效,在季度包结束后能继续使用连续包月,那么原定的周期就被延后了。此时可以通过本接口将预计扣款时间推后“季度包”的时长。",
  85668. "example" : "2020-05-12"
  85669. }
  85670. }
  85671. },
  85672. "AlipayUserAgreementMigrateErrorResponseModel" : {
  85673. "required" : [ "code", "message" ],
  85674. "type" : "object",
  85675. "properties" : {
  85676. "code" : {
  85677. "type" : "string",
  85678. "description" : "错误码",
  85679. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "MERCHANT_NOT_SUPPORT", "AGREEMENT_ALREADY_MIGRATED" ]
  85680. },
  85681. "links" : {
  85682. "type" : "string",
  85683. "description" : "解决方案链接"
  85684. },
  85685. "message" : {
  85686. "type" : "string",
  85687. "description" : "错误描述"
  85688. }
  85689. }
  85690. },
  85691. "AlipayUserAgreementMigrateModel" : {
  85692. "type" : "object",
  85693. "properties" : {
  85694. "agreement_no" : {
  85695. "type" : "string",
  85696. "description" : "支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 )",
  85697. "example" : "20170322450983769228"
  85698. },
  85699. "target_app_id" : {
  85700. "type" : "string",
  85701. "description" : "需要迁移的目标商户应用id",
  85702. "example" : "2014072300007148"
  85703. },
  85704. "target_invoke_app_id" : {
  85705. "type" : "string",
  85706. "description" : "需要迁移的目标商户调用应用id",
  85707. "example" : "2014072300007148"
  85708. },
  85709. "target_partner_id" : {
  85710. "type" : "string",
  85711. "description" : "需要迁移的目标商户id",
  85712. "example" : "2088101122675263"
  85713. }
  85714. }
  85715. },
  85716. "AlipayUserAgreementMigrateResponseModel" : {
  85717. "type" : "object"
  85718. },
  85719. "AlipayUserAgreementPermissionCreateErrorResponseModel" : {
  85720. "required" : [ "code", "message" ],
  85721. "type" : "object",
  85722. "properties" : {
  85723. "code" : {
  85724. "type" : "string",
  85725. "description" : "错误码",
  85726. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_PARAMS", "USER_AGREEMENT_NOT_EXIST", "NOT_SUPPORT_MERCHANT" ]
  85727. },
  85728. "links" : {
  85729. "type" : "string",
  85730. "description" : "解决方案链接"
  85731. },
  85732. "message" : {
  85733. "type" : "string",
  85734. "description" : "错误描述"
  85735. }
  85736. }
  85737. },
  85738. "AlipayUserAgreementPermissionCreateModel" : {
  85739. "type" : "object",
  85740. "properties" : {
  85741. "agreement_no" : {
  85742. "type" : "string",
  85743. "description" : "支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 )",
  85744. "example" : "20170322450983769228"
  85745. },
  85746. "business_params" : {
  85747. "$ref" : "#/components/schemas/BusinessParamsMap"
  85748. },
  85749. "notice_template" : {
  85750. "type" : "string",
  85751. "description" : "目前共两种类型SERVIOCE_NOTICE和DEFAULT_PERMISSION,如果是服务变更提醒,需传入SERVIOCE_NOTICE",
  85752. "example" : "SERVIOCE_NOTICE"
  85753. },
  85754. "out_request_no" : {
  85755. "type" : "string",
  85756. "description" : "商户请求号。 由商家自定义,64个字符以内,仅支持字母、数字、下划线且需保证在商户端不重复。",
  85757. "example" : "6823789339978248"
  85758. },
  85759. "total_amount" : {
  85760. "type" : "string",
  85761. "description" : "订单总金额。 单位为元,精确到小数点后两位,取值范围:[0.01,100000000] 。",
  85762. "example" : "88.88"
  85763. }
  85764. }
  85765. },
  85766. "AlipayUserAgreementPermissionCreateResponseModel" : {
  85767. "type" : "object",
  85768. "properties" : {
  85769. "deduct_permission" : {
  85770. "type" : "string",
  85771. "description" : "商户代扣扣款许可",
  85772. "example" : "2021571176714791277815457854545"
  85773. },
  85774. "effective_time_end" : {
  85775. "type" : "string",
  85776. "description" : "商户代扣扣款许可生效结束时间",
  85777. "example" : "yyyyMMddHHmmss"
  85778. },
  85779. "effective_time_start" : {
  85780. "type" : "string",
  85781. "description" : "商户代扣扣款许可生效开始时间",
  85782. "example" : "yyyyMMddHHmmss"
  85783. },
  85784. "is_success_send" : {
  85785. "type" : "boolean",
  85786. "description" : "消息是否发送成功",
  85787. "example" : "true"
  85788. }
  85789. }
  85790. },
  85791. "AlipayUserAgreementQueryErrorResponseModel" : {
  85792. "required" : [ "code", "message" ],
  85793. "type" : "object",
  85794. "properties" : {
  85795. "code" : {
  85796. "type" : "string",
  85797. "description" : "错误码",
  85798. "enum" : [ "USER_NOT_EXIST_ERROR", "PRODUCT_CODE_NOT_SUPPORTED_ERROR", "USER_AGREEMENT_NOT_EXIST", "INVALID_PARAMETER", "SYSTEM_ERROR", "AUTHOREE_IS_NOT_MATCH", "USER_NOT_EXSIT_ERROR", "LOGONID_IS_REPEATED", "AGREEMENT_HAS_UNSIGNED" ]
  85799. },
  85800. "links" : {
  85801. "type" : "string",
  85802. "description" : "解决方案链接"
  85803. },
  85804. "message" : {
  85805. "type" : "string",
  85806. "description" : "错误描述"
  85807. }
  85808. }
  85809. },
  85810. "AlipayUserAgreementQueryResponseModel" : {
  85811. "type" : "object",
  85812. "properties" : {
  85813. "agreement_no" : {
  85814. "type" : "string",
  85815. "description" : "用户签约成功后的协议号",
  85816. "example" : "20170322450983769228"
  85817. },
  85818. "alipay_logon_id" : {
  85819. "type" : "string",
  85820. "description" : "返回脱敏的支付宝账号",
  85821. "example" : "test***ali@alipay.net"
  85822. },
  85823. "credit_auth_mode" : {
  85824. "type" : "string",
  85825. "description" : "授信模式,取值:DEDUCT_HUAZHI-花芝GO。目前只在花芝代扣(即花芝go)协议时才会返回",
  85826. "example" : "DEDUCT_HUAZHI"
  85827. },
  85828. "device_id" : {
  85829. "type" : "string",
  85830. "description" : "设备Id",
  85831. "example" : "RSED235F875932"
  85832. },
  85833. "external_agreement_no" : {
  85834. "type" : "string",
  85835. "description" : "代扣协议中标示用户的唯一签约号(确保在商户系统中唯一)",
  85836. "example" : "test"
  85837. },
  85838. "external_logon_id" : {
  85839. "type" : "string",
  85840. "description" : "外部登录Id",
  85841. "example" : "2088101118392209"
  85842. },
  85843. "invalid_time" : {
  85844. "type" : "string",
  85845. "description" : "协议失效时间,格式为 yyyy-MM-dd HH:mm:ss。",
  85846. "example" : "2117-05-24 00:00:00"
  85847. },
  85848. "last_deduct_time" : {
  85849. "type" : "string",
  85850. "description" : "周期扣协议,上次扣款成功时间",
  85851. "example" : "2022-05-15"
  85852. },
  85853. "next_deduct_time" : {
  85854. "type" : "string",
  85855. "description" : "周期扣协议,预计下次扣款时间",
  85856. "example" : "2022-06-15"
  85857. },
  85858. "personal_product_code" : {
  85859. "type" : "string",
  85860. "description" : "协议产品码,商户和支付宝签约时确定,不同业务场景对应不同的签约产品码。",
  85861. "example" : "GENERAL_WITHHOLDING_P"
  85862. },
  85863. "pricipal_type" : {
  85864. "type" : "string",
  85865. "description" : "签约主体类型。\r\tCARD:支付宝账号\r\tCUSTOMER:支付宝用户",
  85866. "example" : "CARD"
  85867. },
  85868. "principal_id" : {
  85869. "type" : "string",
  85870. "description" : "签约主体标识。\r\t当principal_type为CARD 时,该字段为支付宝用户号;\r\t当principal_type为 CUSTOMER 时,该字段为支付宝用户标识。一个用户 可能有多个支付宝账号,即多个支付宝用户号,但只有一个是支付宝用户标识。\r\t一个支付宝账号对应一个支付宝唯一用户号(以2088开头的16位纯数字组成)。",
  85871. "example" : "2088101122675263"
  85872. },
  85873. "principal_open_id" : {
  85874. "type" : "string",
  85875. "description" : "签约主体标识。\t当principal_type为CARD 时,该字段为支付宝用户号;\t当principal_type为 CUSTOMER 时,该字段为支付宝用户标识。一个用户 可能有多个支付宝账号,即多个支付宝用户号,但只有一个是支付宝用户标识。",
  85876. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  85877. },
  85878. "sign_scene" : {
  85879. "type" : "string",
  85880. "description" : "签约协议的场景。",
  85881. "example" : "INDUSTRY|CARRENTAL"
  85882. },
  85883. "sign_time" : {
  85884. "type" : "string",
  85885. "description" : "协议签约时间,格式为 yyyy-MM-dd HH:mm:ss。",
  85886. "example" : "2017-05-24 15:00:40"
  85887. },
  85888. "single_quota" : {
  85889. "type" : "string",
  85890. "description" : "单笔代扣额度",
  85891. "example" : "100.00"
  85892. },
  85893. "status" : {
  85894. "type" : "string",
  85895. "description" : "协议当前状态\r\t1. TEMP:暂存,协议未生效过;\r\t2. NORMAL:正常;\r\t3. STOP:暂停",
  85896. "example" : "NORMAL"
  85897. },
  85898. "third_party_type" : {
  85899. "type" : "string",
  85900. "description" : "签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约。\r\t取值范围:\r\t1. PARTNER(平台商户);\r\t2. MERCHANT(集团商户),集团下子商户可共享用户签约内容;\r\t默认为PARTNER。",
  85901. "example" : "PARTNER"
  85902. },
  85903. "valid_time" : {
  85904. "type" : "string",
  85905. "description" : "协议生效时间,格式为 yyyy-MM-dd HH:mm:ss。",
  85906. "example" : "2017-05-24 15:00:40"
  85907. },
  85908. "zm_open_id" : {
  85909. "type" : "string",
  85910. "description" : "用户的芝麻信用 openId,供商 户查询用户芝麻信用使用。",
  85911. "example" : "268816057852461313538942792"
  85912. }
  85913. }
  85914. },
  85915. "AlipayUserAgreementTransferErrorResponseModel" : {
  85916. "required" : [ "code", "message" ],
  85917. "type" : "object",
  85918. "properties" : {
  85919. "code" : {
  85920. "type" : "string",
  85921. "description" : "错误码",
  85922. "enum" : [ "USER_AGREEMENT_NOT_EXIST", "INVALID_PARAMETER", "PRODUCT_CODE_IS_INVALID", "PRODUCTCODE_ALREADY_UPDATE", "NOT_SUPPORTED_BUSINESS", "SYSTEM_ERROR", "MERCHANT_AGREEMENT_IS_NOT_EXIST", "MERCHANT_STATUS_IS_NOT_NORMAL", "MERCHANT_AGREEMENT_IS_EXPIRED", "USER_AGREEMENT_IS_OUT_OF_DATE", "USER_AGREEMENT_STATUS_IS_EXPIRED" ]
  85923. },
  85924. "links" : {
  85925. "type" : "string",
  85926. "description" : "解决方案链接"
  85927. },
  85928. "message" : {
  85929. "type" : "string",
  85930. "description" : "错误描述"
  85931. }
  85932. }
  85933. },
  85934. "AlipayUserAgreementTransferModel" : {
  85935. "type" : "object",
  85936. "properties" : {
  85937. "agreement_no" : {
  85938. "type" : "string",
  85939. "description" : "支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 ),如果传了该参数,其他参数会被忽略",
  85940. "example" : "20170322450983769228"
  85941. },
  85942. "period_rule_params" : {
  85943. "$ref" : "#/components/schemas/PeriodRuleParams"
  85944. },
  85945. "target_product_code" : {
  85946. "type" : "string",
  85947. "description" : "协议产品码,商户和支付宝签约时确定,不同业务场景对应不同的签约产品码。这里指的是需要修改目标产品码的值",
  85948. "example" : "CYCLE_PAY_AUTH_P"
  85949. }
  85950. }
  85951. },
  85952. "AlipayUserAgreementTransferResponseModel" : {
  85953. "type" : "object",
  85954. "properties" : {
  85955. "amount" : {
  85956. "type" : "string",
  85957. "description" : "单次金额限制",
  85958. "example" : "100"
  85959. },
  85960. "execute_time" : {
  85961. "type" : "string",
  85962. "description" : "执行时间",
  85963. "example" : "2019-01-23"
  85964. },
  85965. "period" : {
  85966. "type" : "string",
  85967. "description" : "周期",
  85968. "example" : "7"
  85969. },
  85970. "period_type" : {
  85971. "type" : "string",
  85972. "description" : "周期类型",
  85973. "example" : "DAY"
  85974. },
  85975. "total_amount" : {
  85976. "type" : "string",
  85977. "description" : "总金额限制",
  85978. "example" : "600"
  85979. },
  85980. "total_payments" : {
  85981. "type" : "string",
  85982. "description" : "总支付次数",
  85983. "example" : "12"
  85984. }
  85985. }
  85986. },
  85987. "AlipayUserAgreementUnsignErrorResponseModel" : {
  85988. "required" : [ "code", "message" ],
  85989. "type" : "object",
  85990. "properties" : {
  85991. "code" : {
  85992. "type" : "string",
  85993. "description" : "错误码",
  85994. "enum" : [ "USER_NOT_EXIST_ERROR", "AGREEMENT_NOT_EXIST", "PRODUCT_CODE_NOT_SUPPORTED_ERROR", "USER_AGREEMENT_STATUS_NOT_NORMAL", "INVALID_PARAMETER", "SYSTEM_ERROR", "AUTHOREE_IS_NOT_MATCH", "MERCHANT_AGREEMENT_IS_NOT_EXIST", "USER_NOT_EXSIT_ERROR", "AGREEMENT_NOT_EXSIT", "USER_AGREEMENT_QUERY_FAIL", "USER_AGREEMENT_UNSIGN_FAIL" ]
  85995. },
  85996. "links" : {
  85997. "type" : "string",
  85998. "description" : "解决方案链接"
  85999. },
  86000. "message" : {
  86001. "type" : "string",
  86002. "description" : "错误描述"
  86003. }
  86004. }
  86005. },
  86006. "AlipayUserAgreementUnsignModel" : {
  86007. "type" : "object",
  86008. "properties" : {
  86009. "agreement_no" : {
  86010. "type" : "string",
  86011. "description" : "支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 ),如果传了该参数,其他参数会被忽略\t。\t本参数与 external_agreement_no 不可同时为空。",
  86012. "example" : "20170322450983769228"
  86013. },
  86014. "alipay_logon_id" : {
  86015. "type" : "string",
  86016. "description" : "用户的支付宝登录账号,支持邮箱或手机号码格式。本参数与alipay_user_id 不可同时为空,若都填写,则以alipay_user_id 为准。",
  86017. "example" : "abx@alitest.com"
  86018. },
  86019. "alipay_open_id" : {
  86020. "type" : "string",
  86021. "description" : "用户的支付宝账号对应的支付宝唯一用户号,\t本参数与alipay_logon_id 不可同时为空,若都填写,则以本参数为准,优先级高于alipay_logon_id。",
  86022. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  86023. },
  86024. "alipay_user_id" : {
  86025. "type" : "string",
  86026. "description" : "用户的支付宝账号对应的支付宝唯一用户号,以2088 开头的 16 位纯数字 组成;\r\t本参数与alipay_logon_id 不可同时为空,若都填写,则以本参数为准,优先级高于alipay_logon_id。",
  86027. "example" : "2088101143488930"
  86028. },
  86029. "extend_params" : {
  86030. "type" : "string",
  86031. "description" : "扩展参数",
  86032. "example" : "{\"UNSIGN_ERROR_CODE\": \"USER_OWE_MONEY\",\"UNSIGN_ERROR_INFO\":\"10.00\"}"
  86033. },
  86034. "external_agreement_no" : {
  86035. "type" : "string",
  86036. "description" : "代扣协议中标示用户的唯一签约号(确保在商户系统中\t唯一)。\t格式规则:支持大写小写字母和数字,最长 32 位。\t注意:若调用 alipay.user.agreement.page.sign(支付宝个人协议页面签约接口) 签约时传入 external_agreement_no 则该值必填且需与签约接口传入值相同。",
  86037. "example" : "test"
  86038. },
  86039. "notify_url" : {
  86040. "type" : "string",
  86041. "description" : "通知地址"
  86042. },
  86043. "operate_type" : {
  86044. "type" : "string",
  86045. "description" : "操作类型:confirm(解约确认);invalid(解约作废)。\t注意:仅异步解约需传入,其余情况无需传递本参数。",
  86046. "example" : "confirm"
  86047. },
  86048. "personal_product_code" : {
  86049. "type" : "string",
  86050. "description" : "协议产品码,商户和支付宝签约时确定,不同业务场景对应不同的签约产品码。",
  86051. "example" : "GENERAL_WITHHOLDING_P"
  86052. },
  86053. "sign_scene" : {
  86054. "type" : "string",
  86055. "description" : "签约协议场景,该值需要与系统/页面签约接口调用时传入的值保持一 致。如:周期扣款场景,需与调用 alipay.user.agreement.page.sign(支付宝个人协议页面签约接口) 签约时的 sign_scene 相同。\t当传入商户签约号 external_agreement_no时,场景不能为空或默认值 DEFAULT|DEFAULT。\t",
  86056. "example" : "INDUSTRY|MEDICA"
  86057. },
  86058. "third_party_type" : {
  86059. "type" : "string",
  86060. "description" : "签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约。\r\t取值范围:\r\t1. PARTNER(平台商户);\r\t2. MERCHANT(集团商户),集团下子商户可共享用户签约内容;\r\t默认为PARTNER。",
  86061. "example" : "PARTNER"
  86062. }
  86063. }
  86064. },
  86065. "AlipayUserAgreementUnsignResponseModel" : {
  86066. "type" : "object"
  86067. },
  86068. "AlipayUserAgreementUserverifyApplyErrorResponseModel" : {
  86069. "required" : [ "code", "message" ],
  86070. "type" : "object",
  86071. "properties" : {
  86072. "code" : {
  86073. "type" : "string",
  86074. "description" : "错误码",
  86075. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "USER_AGREEMENT_NOT_EXIST", "AGREEMENT_NO_IS_INVALID" ]
  86076. },
  86077. "links" : {
  86078. "type" : "string",
  86079. "description" : "解决方案链接"
  86080. },
  86081. "message" : {
  86082. "type" : "string",
  86083. "description" : "错误描述"
  86084. }
  86085. }
  86086. },
  86087. "AlipayUserAgreementUserverifyApplyModel" : {
  86088. "type" : "object",
  86089. "properties" : {
  86090. "agreement_no" : {
  86091. "type" : "string",
  86092. "description" : "协议号",
  86093. "example" : "20170502000610755993"
  86094. }
  86095. }
  86096. },
  86097. "AlipayUserAgreementUserverifyApplyResponseModel" : {
  86098. "type" : "object",
  86099. "properties" : {
  86100. "apply_token" : {
  86101. "type" : "string",
  86102. "description" : "用户验证申请token,其格式和内容,由支付宝定义。在鉴权确认的过程中,商户可根据申请操作成功时返回的申请token,获取后续的买家结果",
  86103. "example" : "MDEDUCT0068292ca377d1d44b65fa24ec9cd89132f"
  86104. }
  86105. }
  86106. },
  86107. "AlipayUserAgreementUserverifyQueryErrorResponseModel" : {
  86108. "required" : [ "code", "message" ],
  86109. "type" : "object",
  86110. "properties" : {
  86111. "code" : {
  86112. "type" : "string",
  86113. "description" : "错误码",
  86114. "enum" : [ "USER_AGREEMENT_NOT_EXIST", "AGREEMENT_NO_IS_INVALID", "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_NO_IS_NOT_MATCH", "APPLY_TOKEN_NOT_EXIST" ]
  86115. },
  86116. "links" : {
  86117. "type" : "string",
  86118. "description" : "解决方案链接"
  86119. },
  86120. "message" : {
  86121. "type" : "string",
  86122. "description" : "错误描述"
  86123. }
  86124. }
  86125. },
  86126. "AlipayUserAgreementUserverifyQueryResponseModel" : {
  86127. "type" : "object",
  86128. "properties" : {
  86129. "user_match" : {
  86130. "type" : "boolean",
  86131. "description" : "用户信息是否匹配",
  86132. "example" : "true"
  86133. }
  86134. }
  86135. },
  86136. "AlipayUserAlipaypointBudgetlibQueryErrorResponseModel" : {
  86137. "required" : [ "code", "message" ],
  86138. "type" : "object",
  86139. "properties" : {
  86140. "code" : {
  86141. "type" : "string",
  86142. "description" : "错误码",
  86143. "enum" : [ "BUDGET_NOT_EXIST", "BUDGET_NOT_MATCH_PARTNER", "PARAM_ILLEGAL" ]
  86144. },
  86145. "links" : {
  86146. "type" : "string",
  86147. "description" : "解决方案链接"
  86148. },
  86149. "message" : {
  86150. "type" : "string",
  86151. "description" : "错误描述"
  86152. }
  86153. }
  86154. },
  86155. "AlipayUserAlipaypointBudgetlibQueryResponseModel" : {
  86156. "type" : "object",
  86157. "properties" : {
  86158. "budget_code" : {
  86159. "type" : "string",
  86160. "description" : "集分宝预算库编码",
  86161. "example" : "20201107050844"
  86162. },
  86163. "budget_desc" : {
  86164. "type" : "string",
  86165. "description" : "预算库的中文描述",
  86166. "example" : "签到活动预算库"
  86167. },
  86168. "cumulative_amount" : {
  86169. "type" : "integer",
  86170. "description" : "预算库累计积分数",
  86171. "example" : "1000"
  86172. },
  86173. "enabled" : {
  86174. "type" : "boolean",
  86175. "description" : "预算库是否为生效状态标识,true-生效中,false-已失效",
  86176. "example" : "true"
  86177. },
  86178. "end_time" : {
  86179. "type" : "string",
  86180. "description" : "预算库结束时间, yyyy-MM-dd HH:mm:ss",
  86181. "example" : "2022-11-07 05:08:45"
  86182. },
  86183. "remain_amount" : {
  86184. "type" : "integer",
  86185. "description" : "预算库当前剩余积分数",
  86186. "example" : "10"
  86187. },
  86188. "start_time" : {
  86189. "type" : "string",
  86190. "description" : "预算库开始时间, yyyy-MM-dd HH:mm:ss",
  86191. "example" : "2020-11-07 05:08:45"
  86192. }
  86193. }
  86194. },
  86195. "AlipayUserAlipaypointSendErrorResponseModel" : {
  86196. "required" : [ "code", "message" ],
  86197. "type" : "object",
  86198. "properties" : {
  86199. "code" : {
  86200. "type" : "string",
  86201. "description" : "错误码",
  86202. "enum" : [ "DEPOSIT_CONTRACT_DISABLE", "SYSTEM_ERROR", "BIZ_ERROR", "USER_NOT_EXIST", "BUDGET_ABNORMAL", "BUDGET_NOT_EXIST", "BUDGET_DISABLED", "SEND_RESULT_UNKNOWN", "MEMO_INFO_ILLEGAL", "IDEMPOTENT_SUCCESS", "PARAM_ILLEGAL", "SECURITY_RISK_EXIST", "BUDGET_NOT_ENOUGH", "POINT_AMOUNT_INCONSISTENT", "IDEMPOTENT_PARAM_ILLEGAL", "BUDGET_USE_CHANNEL_DISABLE" ]
  86203. },
  86204. "links" : {
  86205. "type" : "string",
  86206. "description" : "解决方案链接"
  86207. },
  86208. "message" : {
  86209. "type" : "string",
  86210. "description" : "错误描述"
  86211. }
  86212. }
  86213. },
  86214. "AlipayUserAlipaypointSendModel" : {
  86215. "type" : "object",
  86216. "properties" : {
  86217. "budget_code" : {
  86218. "type" : "string",
  86219. "description" : "签约商户的集分宝的预算库,扣除此预算库的集分宝发放给用户。会校验budgetcode和业务方appId的签约商户pid的关联关系,若无关则发放失败。",
  86220. "example" : "02559A591572"
  86221. },
  86222. "memo" : {
  86223. "type" : "string",
  86224. "description" : "商户关于该笔发放的描述或者信息补充,仅存储,无实际校验功能,该信息会在\"集分宝\"小程序的\"集分宝明细\"中展示给用户。",
  86225. "example" : "商户小程序签到送集分宝"
  86226. },
  86227. "open_id" : {
  86228. "type" : "string",
  86229. "description" : "被发放集分宝用户ID,商户app_id维度下的用户标识,与user_account字段二选一。 建议优先使该字段指定发放用户,接口性能更佳",
  86230. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  86231. },
  86232. "partner_biz_no" : {
  86233. "type" : "string",
  86234. "description" : "接入方自己交易的唯一流水ID号,不同交易请保证幂等号唯一性,集分宝服务将依据该字段来进行幂等控制,重试请求不要更换幂等号,需要慎重传递,否则可能会造成损失。",
  86235. "example" : "011022222222212"
  86236. },
  86237. "point_amount" : {
  86238. "type" : "integer",
  86239. "description" : "发放给用户的集分宝个数。个数区间为 [1,10000000],需为整数。",
  86240. "example" : "1"
  86241. },
  86242. "user_account" : {
  86243. "type" : "string",
  86244. "description" : "被发放集分宝用户的支付宝登录号,邮箱地址或者手机号均可,与user_id字段二选一,在有user_id时,优先使用user_id字段。",
  86245. "example" : "user_logon_id@test.com/1860000001"
  86246. },
  86247. "user_id" : {
  86248. "type" : "string",
  86249. "description" : "被发放集分宝用户的蚂蚁统一会员ID,与user_account字段二选一。\t建议优先使用user_id,接口性能更佳,user_id和user_account都传递时,系统优先使用本字段。",
  86250. "example" : "2088000000000001"
  86251. }
  86252. }
  86253. },
  86254. "AlipayUserAlipaypointSendResponseModel" : {
  86255. "type" : "object",
  86256. "properties" : {
  86257. "record_id" : {
  86258. "type" : "string",
  86259. "description" : "发放记录号。",
  86260. "example" : "无"
  86261. },
  86262. "transaction_id" : {
  86263. "type" : "string",
  86264. "description" : "对账中心关联订单,一般场景无需关注",
  86265. "example" : "2022062910022100195147193863"
  86266. }
  86267. }
  86268. },
  86269. "AlipayUserCertdocCertverifyConsultErrorResponseModel" : {
  86270. "required" : [ "code", "message" ],
  86271. "type" : "object",
  86272. "properties" : {
  86273. "code" : {
  86274. "type" : "string",
  86275. "description" : "错误码",
  86276. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT", "IDENTITY_VERIFY_CACHE_EXPIRED", "REQUIRED_PARAM_MISSING", "GUARDIAN_LIMIT_ERROR" ]
  86277. },
  86278. "links" : {
  86279. "type" : "string",
  86280. "description" : "解决方案链接"
  86281. },
  86282. "message" : {
  86283. "type" : "string",
  86284. "description" : "错误描述"
  86285. }
  86286. }
  86287. },
  86288. "AlipayUserCertdocCertverifyConsultResponseModel" : {
  86289. "type" : "object",
  86290. "properties" : {
  86291. "fail_params" : {
  86292. "type" : "string",
  86293. "description" : "具体哪些字段不一致。与预授权的输入字段对应,类型为字符串列表的JSON格式。",
  86294. "example" : "[\"user_name\"]"
  86295. },
  86296. "fail_reason" : {
  86297. "type" : "string",
  86298. "description" : "校验不一致时,描述不一致的原因",
  86299. "example" : "姓名不一致"
  86300. },
  86301. "passed" : {
  86302. "type" : "string",
  86303. "description" : "校验是否一致:T-一致、F-不一致",
  86304. "example" : "F"
  86305. }
  86306. }
  86307. },
  86308. "AlipayUserCertdocCertverifyPreconsultErrorResponseModel" : {
  86309. "required" : [ "code", "message" ],
  86310. "type" : "object",
  86311. "properties" : {
  86312. "code" : {
  86313. "type" : "string",
  86314. "description" : "错误码",
  86315. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT", "REQUIRED_PARAM_MISSING", "GUARDIAN_LIMIT_ERROR", "CERT_TYPE_INVALID" ]
  86316. },
  86317. "links" : {
  86318. "type" : "string",
  86319. "description" : "解决方案链接"
  86320. },
  86321. "message" : {
  86322. "type" : "string",
  86323. "description" : "错误描述"
  86324. }
  86325. }
  86326. },
  86327. "AlipayUserCertdocCertverifyPreconsultModel" : {
  86328. "type" : "object",
  86329. "properties" : {
  86330. "cert_no" : {
  86331. "type" : "string",
  86332. "description" : "证件号",
  86333. "example" : "230100199901010001"
  86334. },
  86335. "cert_type" : {
  86336. "type" : "string",
  86337. "description" : "证件类型。暂仅支持 IDENTITY_CARD (身份证)。",
  86338. "example" : "IDENTITY_CARD"
  86339. },
  86340. "ext_info" : {
  86341. "type" : "string",
  86342. "description" : "拓展字段,JSON格式",
  86343. "example" : "{}"
  86344. },
  86345. "logon_id" : {
  86346. "type" : "string",
  86347. "description" : "支付宝登录名",
  86348. "example" : "sample@sample.com"
  86349. },
  86350. "mobile" : {
  86351. "type" : "string",
  86352. "description" : "手机号码",
  86353. "example" : "13812345678"
  86354. },
  86355. "user_name" : {
  86356. "type" : "string",
  86357. "description" : "真实姓名",
  86358. "example" : "张三"
  86359. }
  86360. }
  86361. },
  86362. "AlipayUserCertdocCertverifyPreconsultResponseModel" : {
  86363. "type" : "object",
  86364. "properties" : {
  86365. "verify_id" : {
  86366. "type" : "string",
  86367. "description" : "申请验证ID。有效期为 2 小时,过期后在校验接口使用会报错 \"校验信息已过期\"。",
  86368. "example" : "671ffcda5447bc87e9ed2f669eb143d4"
  86369. }
  86370. }
  86371. },
  86372. "AlipayUserCertifyOpenInitializeErrorResponseModel" : {
  86373. "required" : [ "code", "message" ],
  86374. "type" : "object",
  86375. "properties" : {
  86376. "code" : {
  86377. "type" : "string",
  86378. "description" : "错误码",
  86379. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "ARRANGEMENT_STATUS_ERROR", "UNKNOWN_ERROR" ]
  86380. },
  86381. "links" : {
  86382. "type" : "string",
  86383. "description" : "解决方案链接"
  86384. },
  86385. "message" : {
  86386. "type" : "string",
  86387. "description" : "错误描述"
  86388. }
  86389. }
  86390. },
  86391. "AlipayUserCertifyOpenInitializeModel" : {
  86392. "type" : "object",
  86393. "properties" : {
  86394. "biz_code" : {
  86395. "type" : "string",
  86396. "description" : "认证场景码。入参支持的认证场景码和商户签约的认证场景相关,取值如下:\tFACE:多因子人脸认证\tCERT_PHOTO:多因子证照认证\tCERT_PHOTO_FACE :多因子证照和人脸认证\tSMART_FACE:多因子快捷认证",
  86397. "example" : "FACE"
  86398. },
  86399. "face_contrast_picture" : {
  86400. "type" : "string",
  86401. "description" : "自定义人脸比对图片的base64编码格式的string字符串",
  86402. "example" : "xydasf=="
  86403. },
  86404. "identity_param" : {
  86405. "$ref" : "#/components/schemas/OpenCertifyIdentityParam"
  86406. },
  86407. "merchant_config" : {
  86408. "$ref" : "#/components/schemas/OpenCertifyMerchantConfig"
  86409. },
  86410. "outer_order_no" : {
  86411. "type" : "string",
  86412. "description" : "商户请求的唯一标识,商户要保证其唯一性,值为32位长度的字母数字组合。建议:前面几位字符是商户自定义的简称,中间可以使用一段时间,后段可以使用一个随机或递增序列",
  86413. "example" : "ZGYD201809132323000001234"
  86414. }
  86415. }
  86416. },
  86417. "AlipayUserCertifyOpenInitializeResponseModel" : {
  86418. "type" : "object",
  86419. "properties" : {
  86420. "certify_id" : {
  86421. "type" : "string",
  86422. "description" : "本次申请操作的唯一标识,商户需要记录,后续的操作都需要用到",
  86423. "example" : "2109b5e671aa3ff2eb4851816c65828f"
  86424. }
  86425. }
  86426. },
  86427. "AlipayUserCertifyOpenQueryErrorResponseModel" : {
  86428. "required" : [ "code", "message" ],
  86429. "type" : "object",
  86430. "properties" : {
  86431. "code" : {
  86432. "type" : "string",
  86433. "description" : "错误码",
  86434. "enum" : [ "UNKNOWN_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "CERTIFY_ID_EXPIRED", "OPEN_CERTIFY_BILL_NOT_EXIST", "OPEN_CERTIFY_BILL_STATUS_ERROR" ]
  86435. },
  86436. "links" : {
  86437. "type" : "string",
  86438. "description" : "解决方案链接"
  86439. },
  86440. "message" : {
  86441. "type" : "string",
  86442. "description" : "错误描述"
  86443. }
  86444. }
  86445. },
  86446. "AlipayUserCertifyOpenQueryResponseModel" : {
  86447. "type" : "object",
  86448. "properties" : {
  86449. "fail_reason" : {
  86450. "type" : "string",
  86451. "description" : "认证错误原因,扩展字段,默认不返回",
  86452. "example" : "Z1147"
  86453. },
  86454. "identity_info" : {
  86455. "type" : "string",
  86456. "description" : "认证的主体信息,一般的认证场景返回为空",
  86457. "example" : "{}"
  86458. },
  86459. "material_info" : {
  86460. "type" : "string",
  86461. "description" : "认证主体附件信息,主要为图片类材料,一般的认证场景都是返回空",
  86462. "example" : "{}"
  86463. },
  86464. "passed" : {
  86465. "type" : "string",
  86466. "description" : "是否通过,通过为T,不通过为F",
  86467. "example" : "T"
  86468. }
  86469. }
  86470. },
  86471. "AlipayUserDeliverAddress" : {
  86472. "type" : "object",
  86473. "properties" : {
  86474. "address" : {
  86475. "type" : "string",
  86476. "description" : "地址",
  86477. "example" : "XX路XX号"
  86478. },
  86479. "address_code" : {
  86480. "type" : "string",
  86481. "description" : "区域编码",
  86482. "example" : "100"
  86483. },
  86484. "default_deliver_address" : {
  86485. "type" : "string",
  86486. "description" : "是否默认收货地址",
  86487. "example" : "T"
  86488. },
  86489. "deliver_area" : {
  86490. "type" : "string",
  86491. "description" : "区/县",
  86492. "example" : "西湖区"
  86493. },
  86494. "deliver_city" : {
  86495. "type" : "string",
  86496. "description" : "市",
  86497. "example" : "杭州"
  86498. },
  86499. "deliver_fullname" : {
  86500. "type" : "string",
  86501. "description" : "收货人全名",
  86502. "example" : "张三"
  86503. },
  86504. "deliver_mobile" : {
  86505. "type" : "string",
  86506. "description" : "收货地址的联系人移动电话",
  86507. "example" : "13833334444"
  86508. },
  86509. "deliver_phone" : {
  86510. "type" : "string",
  86511. "description" : "收货地址的联系人固定电话",
  86512. "example" : "0517-28888888"
  86513. },
  86514. "deliver_province" : {
  86515. "type" : "string",
  86516. "description" : "省",
  86517. "example" : "浙江"
  86518. },
  86519. "zip" : {
  86520. "type" : "string",
  86521. "description" : "邮编",
  86522. "example" : "310000"
  86523. }
  86524. }
  86525. },
  86526. "AlipayUserInfoShareErrorResponseModel" : {
  86527. "required" : [ "code", "message" ],
  86528. "type" : "object",
  86529. "properties" : {
  86530. "code" : {
  86531. "type" : "string",
  86532. "description" : "错误码",
  86533. "enum" : [ "SYSTEM_ERROR" ]
  86534. },
  86535. "links" : {
  86536. "type" : "string",
  86537. "description" : "解决方案链接"
  86538. },
  86539. "message" : {
  86540. "type" : "string",
  86541. "description" : "错误描述"
  86542. }
  86543. }
  86544. },
  86545. "AlipayUserInfoShareResponseModel" : {
  86546. "type" : "object",
  86547. "properties" : {
  86548. "address" : {
  86549. "type" : "string",
  86550. "description" : "详细地址。",
  86551. "example" : "西湖区文三路国际大厦"
  86552. },
  86553. "age" : {
  86554. "type" : "string",
  86555. "description" : "用户年龄,实名认证为T,且证件类型为身份证,则输出年龄字段,否则不输出",
  86556. "example" : "45"
  86557. },
  86558. "area" : {
  86559. "type" : "string",
  86560. "description" : "区县名称。",
  86561. "example" : "西湖区"
  86562. },
  86563. "avatar" : {
  86564. "type" : "string",
  86565. "description" : "用户头像地址。\t注意:如果没有数据(用户未设置)时不会返回该信息,请做好容错。",
  86566. "example" : "http://tfsimg.alipay.com/images/partner/T1uIxXXbpXXXXXXXX"
  86567. },
  86568. "business_scope" : {
  86569. "type" : "string",
  86570. "description" : "经营/业务范围(用户类型是公司类型时才有此字段)。",
  86571. "example" : "餐饮"
  86572. },
  86573. "cert_no" : {
  86574. "type" : "string",
  86575. "description" : "【证件号码】结合证件类型使用.【注意】只is_certified为T的时候才有意义,否则不保证准确性.",
  86576. "example" : "340928109890871722"
  86577. },
  86578. "cert_type" : {
  86579. "type" : "string",
  86580. "description" : "【证件类型】0:身份证 1:护照 2:军官证 3:士兵证 4:回乡证 5:临时身份证 6:户口簿 7:警官证 8:台胞证 9:营业执照10:其它证件 11:港澳居民来往内地通行证 12:台湾居民来往大陆通行证 13:台湾居民居住证 14:港澳居民居住证\t 15:港澳身份证 16:外国人永久居住证【注意】只有is_certified为T的时候才有意义,否则不保证准确性.",
  86581. "example" : "7"
  86582. },
  86583. "city" : {
  86584. "type" : "string",
  86585. "description" : "市名称。",
  86586. "example" : "安庆"
  86587. },
  86588. "college_name" : {
  86589. "type" : "string",
  86590. "description" : "学信网返回的学校名称,有可能为空。",
  86591. "example" : "南京大学"
  86592. },
  86593. "country_code" : {
  86594. "type" : "string",
  86595. "description" : "国家码",
  86596. "example" : "CN"
  86597. },
  86598. "degree" : {
  86599. "type" : "string",
  86600. "description" : "学信网返回的学历/学位信息,数据质量一般,请谨慎使用,取值包括:博士研究生、硕士研究生、高升本、专科、博士、硕士、本科、夜大电大函大普通班、专科(高职)、第二学士学位。",
  86601. "example" : "硕士研究生"
  86602. },
  86603. "deliver_addresses" : {
  86604. "type" : "array",
  86605. "description" : "收货地址列表",
  86606. "items" : {
  86607. "$ref" : "#/components/schemas/AlipayUserDeliverAddress"
  86608. }
  86609. },
  86610. "display_name" : {
  86611. "type" : "string",
  86612. "description" : "展示名称,用于展示和识别用户。返回的值是支付宝账户的可用外标之一,根据展示名称产品规则可能返回手机号/邮箱/支付宝号其中的一个。同一个账户在不同的时期返回的展示名称可能随规则变化而变化。",
  86613. "example" : "miracle001"
  86614. },
  86615. "email" : {
  86616. "type" : "string",
  86617. "description" : "优先获取email登录名,如果不存在,则返回mobile登录名",
  86618. "example" : "sss@163.com"
  86619. },
  86620. "enrollment_time" : {
  86621. "type" : "string",
  86622. "description" : "入学时间,yyyy-mm-dd格式",
  86623. "example" : "2016-01-11"
  86624. },
  86625. "ent_license_address" : {
  86626. "type" : "string",
  86627. "description" : "企业证照地址的详细地址(用户类型是公司用户才有该字段)【注意】只有is_certified为T的时候才有意义,否则不保证准确性.",
  86628. "example" : "沙河街道庐山北路888号"
  86629. },
  86630. "ent_license_area" : {
  86631. "type" : "string",
  86632. "description" : "企业证照地址所在地区或县(用户类型是公司用户才有该字段)【注意】只有is_certified为T的时候才有意义,否则不保证准确性,目前企业营业执照地址不含县(区),area为空。",
  86633. "example" : "庐山区"
  86634. },
  86635. "ent_license_city" : {
  86636. "type" : "string",
  86637. "description" : "企业证照地址所在市(用户类型是公司用户才有该字段)【注意】只有is_certified为T的时候才有意义,否则不保证准确性.",
  86638. "example" : "九江市"
  86639. },
  86640. "ent_license_province" : {
  86641. "type" : "string",
  86642. "description" : "企业证照地址所在省份(用户类型是公司用户才有该字段)【注意】只有is_certified为T的时候才有意义,否则不保证准确性.",
  86643. "example" : "江西省"
  86644. },
  86645. "firm_agent_person_cert_expiry_date" : {
  86646. "type" : "string",
  86647. "description" : "企业代理人证件有效期(用户类型是公司类型时才有此字段)。",
  86648. "example" : "20201212"
  86649. },
  86650. "firm_agent_person_cert_no" : {
  86651. "type" : "string",
  86652. "description" : "企业代理人证件号码(用户类型是公司类型时才有此字段)。",
  86653. "example" : "320322197712211890"
  86654. },
  86655. "firm_agent_person_cert_type" : {
  86656. "type" : "string",
  86657. "description" : "企业代理人证件类型, 返回值参考cert_type字段(用户类型是公司类型时才有此字段)。",
  86658. "example" : "0"
  86659. },
  86660. "firm_agent_person_name" : {
  86661. "type" : "string",
  86662. "description" : "企业代理人姓名(用户类型是公司类型时才有此字段)。",
  86663. "example" : "王五"
  86664. },
  86665. "firm_legal_person_cert_expiry_date" : {
  86666. "type" : "string",
  86667. "description" : "企业法人证件有效期(用户类型是公司类型时才有此字段)。",
  86668. "example" : "20200909"
  86669. },
  86670. "firm_legal_person_cert_no" : {
  86671. "type" : "string",
  86672. "description" : "法人证件号码(用户类型是公司类型时才有此字段)。",
  86673. "example" : "320231196408110099"
  86674. },
  86675. "firm_legal_person_cert_type" : {
  86676. "type" : "string",
  86677. "description" : "企业法人证件类型, 返回值参考cert_type字段(用户类型是公司类型时才有此字段)。",
  86678. "example" : "1"
  86679. },
  86680. "firm_legal_person_name" : {
  86681. "type" : "string",
  86682. "description" : "企业法人名称(用户类型是公司类型时才有此字段)。",
  86683. "example" : "李四"
  86684. },
  86685. "firm_legal_person_pictures" : {
  86686. "type" : "array",
  86687. "description" : "企业法人证件图片(用户类型是公司类型时才有此字段)。",
  86688. "items" : {
  86689. "$ref" : "#/components/schemas/AlipayUserPicture"
  86690. }
  86691. },
  86692. "firm_pictures" : {
  86693. "type" : "array",
  86694. "description" : "企业相关证件图片,包含图片地址(目前需要调用alipay.user.certify.image.fetch转换一下)及类型(用户类型是公司类型时才有此字段)。",
  86695. "items" : {
  86696. "$ref" : "#/components/schemas/AlipayUserPicture"
  86697. }
  86698. },
  86699. "firm_type" : {
  86700. "type" : "string",
  86701. "description" : "公司类型,包括(用户类型是公司类型时才有此字段):\r\tCO(公司)\r\tINST(事业单位),\r\tCOMM(社会团体),\r\tNGO(民办非企业组织),\r\tSTATEORGAN(党政国家机关)",
  86702. "example" : "CO"
  86703. },
  86704. "gender" : {
  86705. "type" : "string",
  86706. "description" : "性别。枚举值如下:\tF:女性;\tM:男性。",
  86707. "example" : "F"
  86708. },
  86709. "graduation_time" : {
  86710. "type" : "string",
  86711. "description" : "预期毕业时间,不保证准确性,yyyy-mm-dd格式。",
  86712. "example" : "2021-01-01"
  86713. },
  86714. "identity_card_address" : {
  86715. "type" : "string",
  86716. "description" : "身份证地址信息",
  86717. "example" : "江西省上饶市xxx村34号"
  86718. },
  86719. "identity_card_area" : {
  86720. "type" : "string",
  86721. "description" : "身份证地区信息",
  86722. "example" : "xxx村23号"
  86723. },
  86724. "identity_card_city" : {
  86725. "type" : "string",
  86726. "description" : "身份证市信息",
  86727. "example" : "上饶市"
  86728. },
  86729. "identity_card_province" : {
  86730. "type" : "string",
  86731. "description" : "身份证省信息",
  86732. "example" : "江西省"
  86733. },
  86734. "inst_or_corp" : {
  86735. "type" : "string",
  86736. "description" : "是否是金融机构或特殊单位,\"I\"表示金融机构, \"C\"表示无余额账户的单位账户, \"V\", 表示虚拟主体(类似机构仅内部户无余额户), \"N\"表示非金融机构且非无余额账户的单位账户,\"?\"表示匿名用户",
  86737. "example" : "N"
  86738. },
  86739. "is_adult" : {
  86740. "type" : "string",
  86741. "description" : "T/F, 实名认证为T,且证件类型为身份证,则输出是否成年字段,否则不输出",
  86742. "example" : "F"
  86743. },
  86744. "is_balance_frozen" : {
  86745. "type" : "string",
  86746. "description" : "余额账户是否被冻结。\r\tT--被冻结;F--未冻结",
  86747. "example" : "T"
  86748. },
  86749. "is_blocked" : {
  86750. "type" : "string",
  86751. "description" : "账户是否被冻结,T/F,T冻结,F未冻结",
  86752. "example" : "T"
  86753. },
  86754. "is_certified" : {
  86755. "type" : "string",
  86756. "description" : "是否通过实名认证。T是通过 F是没有实名认证。",
  86757. "example" : "T"
  86758. },
  86759. "is_student_certified" : {
  86760. "type" : "string",
  86761. "description" : "是否是学生",
  86762. "example" : "T"
  86763. },
  86764. "license_expiry_date" : {
  86765. "type" : "string",
  86766. "description" : "营业执照有效期,yyyyMMdd或长期,(用户类型是公司类型时才有此字段)。",
  86767. "example" : "20200101"
  86768. },
  86769. "license_no" : {
  86770. "type" : "string",
  86771. "description" : "企业执照号码(用户类型是公司类型时才有此字段)。",
  86772. "example" : "371702118008810"
  86773. },
  86774. "member_grade" : {
  86775. "type" : "string",
  86776. "description" : "支付宝会员等级",
  86777. "example" : "primary,普通; golden,黄金; platinum,铂金; diamond,钻石unknown,未知。"
  86778. },
  86779. "mobile" : {
  86780. "type" : "string",
  86781. "description" : "手机号码。",
  86782. "example" : "13429199999"
  86783. },
  86784. "nick_name" : {
  86785. "type" : "string",
  86786. "description" : "用户昵称。\t注意:如果没有数据(用户未设置)时不会返回该信息,请做好容错。",
  86787. "example" : "支付宝小二"
  86788. },
  86789. "open_id" : {
  86790. "type" : "string",
  86791. "description" : "支付宝用户的openId。",
  86792. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  86793. },
  86794. "organization_code" : {
  86795. "type" : "string",
  86796. "description" : "组织机构代码(用户类型是公司类型时才有此字段)。",
  86797. "example" : "暂无"
  86798. },
  86799. "person_birthday" : {
  86800. "type" : "string",
  86801. "description" : "个人用户生日。",
  86802. "example" : "19900101"
  86803. },
  86804. "person_birthday_without_year" : {
  86805. "type" : "string",
  86806. "description" : "生日。不包含具体年份,格式MMdd",
  86807. "example" : "0828"
  86808. },
  86809. "person_cert_expiry_date" : {
  86810. "type" : "string",
  86811. "description" : "证件有效期(用户类型是个人的时候才有此字段)。",
  86812. "example" : "20400101"
  86813. },
  86814. "person_cert_issue_date" : {
  86815. "type" : "string",
  86816. "description" : "证件起始日期(用户类型是个人的时候才可能有此字段,不保证准确,同时有可能为空)。",
  86817. "example" : "20220701"
  86818. },
  86819. "person_pictures" : {
  86820. "type" : "array",
  86821. "description" : "个人证件图片(用户类型是个人的时候才有此字段)。",
  86822. "items" : {
  86823. "$ref" : "#/components/schemas/AlipayUserPicture"
  86824. }
  86825. },
  86826. "phone" : {
  86827. "type" : "string",
  86828. "description" : "电话号码。",
  86829. "example" : "0511-26888888"
  86830. },
  86831. "profession" : {
  86832. "type" : "string",
  86833. "description" : "职业",
  86834. "example" : "教师"
  86835. },
  86836. "province" : {
  86837. "type" : "string",
  86838. "description" : "省份名称。",
  86839. "example" : "安徽省"
  86840. },
  86841. "taobao_id" : {
  86842. "type" : "string",
  86843. "description" : "淘宝id",
  86844. "example" : "42143928"
  86845. },
  86846. "user_id" : {
  86847. "type" : "string",
  86848. "description" : "支付宝用户的userId。",
  86849. "example" : "2088102104794936"
  86850. },
  86851. "user_name" : {
  86852. "type" : "string",
  86853. "description" : "若用户是个人用户,则是用户的真实姓名;若是企业用户,则是企业名称。【注意】只有is_certified为T的时候才有意义,否则不保证准确性.",
  86854. "example" : "张三"
  86855. },
  86856. "user_nation" : {
  86857. "type" : "string",
  86858. "description" : "身份证民族信息",
  86859. "example" : "汉"
  86860. },
  86861. "user_status" : {
  86862. "type" : "string",
  86863. "description" : "用户状态(Q/T/B/W)。\tQ代表快速注册用户\tT代表正常用户\tB代表被冻结账户\tW代表已注册,未激活的账户",
  86864. "example" : "T"
  86865. },
  86866. "user_type" : {
  86867. "type" : "string",
  86868. "description" : "用户类型(1/2)\r\t1代表公司账户2代表个人账户",
  86869. "example" : "1"
  86870. },
  86871. "zip" : {
  86872. "type" : "string",
  86873. "description" : "邮政编码。",
  86874. "example" : "3600"
  86875. }
  86876. }
  86877. },
  86878. "AlipayUserPicture" : {
  86879. "type" : "object",
  86880. "properties" : {
  86881. "picture_type" : {
  86882. "type" : "string",
  86883. "description" : "图片类型,包括身份证正反面、营业执照等"
  86884. },
  86885. "picture_url" : {
  86886. "type" : "string",
  86887. "description" : "用于调用alipay.user.certify.image.fetch接口,获取图片资源"
  86888. }
  86889. }
  86890. },
  86891. "AlipayUserTwostageCommonUseErrorResponseModel" : {
  86892. "required" : [ "code", "message" ],
  86893. "type" : "object",
  86894. "properties" : {
  86895. "code" : {
  86896. "type" : "string",
  86897. "description" : "错误码",
  86898. "enum" : [ "INPUT_ILLEGAL", "DECODE_FAILED", "INDEX_NOT_EXIST", "SYSTEM_ERROR", "ILLEGAL_CODE", "CODE_EXPIRED", "USER_UN_AUTH", "SENCENO_UN_MATCH" ]
  86899. },
  86900. "links" : {
  86901. "type" : "string",
  86902. "description" : "解决方案链接"
  86903. },
  86904. "message" : {
  86905. "type" : "string",
  86906. "description" : "错误描述"
  86907. }
  86908. }
  86909. },
  86910. "AlipayUserTwostageCommonUseModel" : {
  86911. "type" : "object",
  86912. "properties" : {
  86913. "dynamic_id" : {
  86914. "type" : "string",
  86915. "description" : "商户扫描用户的付款码值。",
  86916. "example" : "286861260475412123"
  86917. },
  86918. "pay_check_strategy" : {
  86919. "type" : "string",
  86920. "description" : "传1表示 校验pid(pay_pid)和来支付的时候的pid一致性;\t传2表示校验pid(pay_pid)和来支付的时候的pid一致性、校验scene_no和来支付时DYNAMIC_TOKEN_OUT_BIZ_NO属性一致; \t不传值和value=2的表现一致",
  86921. "example" : "1"
  86922. },
  86923. "pay_pid" : {
  86924. "type" : "string",
  86925. "description" : "商家进行二阶段支付的PID信息。",
  86926. "example" : "2088702093900999"
  86927. },
  86928. "sence_no" : {
  86929. "type" : "string",
  86930. "description" : "外部业务号,用于标识这笔解码请求,对同一个码的重复解码请求,sence_no必须与上一次保持一致,每次请求的sence_no必须不一样,如alipay.user.twostage.common.use接口配合alipay.trade.pay(统一收单交易支付接口)一并使用时,alipay.trade.pay接口的extend_params属性中必须设置DYNAMIC_TOKEN_OUT_BIZ_NO,且值必须与sence_no保持一致。",
  86931. "example" : "20170718xxxxxxxx"
  86932. }
  86933. }
  86934. },
  86935. "AlipayUserTwostageCommonUseResponseModel" : {
  86936. "type" : "object",
  86937. "properties" : {
  86938. "open_id" : {
  86939. "type" : "string",
  86940. "description" : "open_id",
  86941. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  86942. },
  86943. "user_id" : {
  86944. "type" : "string",
  86945. "description" : "支付宝用户userId信息,因为用户已经在客户端给商户的小程序授权了,并且商户要通过userId信息挂接优惠券信息,所以可以无需脱敏返回给商户。",
  86946. "example" : "2088123412341234"
  86947. },
  86948. "user_identity_info" : {
  86949. "$ref" : "#/components/schemas/UserIdentityInfo"
  86950. }
  86951. }
  86952. },
  86953. "AlipayUserTwostageIndirectUseErrorResponseModel" : {
  86954. "required" : [ "code", "message" ],
  86955. "type" : "object",
  86956. "properties" : {
  86957. "code" : {
  86958. "type" : "string",
  86959. "description" : "错误码",
  86960. "enum" : [ "INPUT_ILLEGAL", "DECODE_FAILED", "INDEX_NOT_EXIST", "SYSTEM_ERROR", "ILLEGAL_CODE", "CODE_EXPIRED", "USER_UN_AUTH", "SENCENO_UN_MATCH", "CASCADE_RALATION_UN_MATCH", "SMID_UN_MATCH" ]
  86961. },
  86962. "links" : {
  86963. "type" : "string",
  86964. "description" : "解决方案链接"
  86965. },
  86966. "message" : {
  86967. "type" : "string",
  86968. "description" : "错误描述"
  86969. }
  86970. }
  86971. },
  86972. "AlipayUserTwostageIndirectUseModel" : {
  86973. "type" : "object",
  86974. "properties" : {
  86975. "dynamic_id" : {
  86976. "type" : "string",
  86977. "description" : "商户扫描用户的付款码值。18~24位,25~30开头,例如28开头的18位的数字;或人脸支付的ftoken等。",
  86978. "example" : "28xxxxxxxxxxxxxxxx"
  86979. },
  86980. "org_pid" : {
  86981. "type" : "string",
  86982. "description" : "进件信息中,SMID对应的银行机构的PID信息,一般为2088开头的16位数字。",
  86983. "example" : "2088xxxxxxxxxxx"
  86984. },
  86985. "pay_smid" : {
  86986. "type" : "string",
  86987. "description" : "进件信息中,二级商户ID( sub_merchant_id)信息,一般为2088开头的16位数字。",
  86988. "example" : "2088xxxxxxxxxxx"
  86989. },
  86990. "sence_no" : {
  86991. "type" : "string",
  86992. "description" : "外部业务号,用于标识这笔解码请求,对同一个码的重复解码请求,sence_no必须与上一次保持一致,每次请求的sence_no必须不一样,如alipay.user.twostage.common.use接口配合alipay.trade.pay(统一收单交易支付接口)一并使用时,alipay.trade.pay接口的extend_params属性中必须设置DYNAMIC_TOKEN_OUT_BIZ_NO,且值必须与sence_no保持一致",
  86993. "example" : "20170718xxxxxxxx"
  86994. },
  86995. "source_pid" : {
  86996. "type" : "string",
  86997. "description" : "进件信息中,SMID对应渠道的PID信息,一般为2088开头的16位数字。",
  86998. "example" : "2088xxxxxxxxxxx"
  86999. }
  87000. }
  87001. },
  87002. "AlipayUserTwostageIndirectUseResponseModel" : {
  87003. "type" : "object",
  87004. "properties" : {
  87005. "user_id" : {
  87006. "type" : "string",
  87007. "description" : "蚂蚁统一会员ID",
  87008. "example" : "2088xxxxxxxxxxx"
  87009. }
  87010. }
  87011. },
  87012. "AlipayUserUserinfoShareErrorResponseModel" : {
  87013. "required" : [ "code", "message" ],
  87014. "type" : "object",
  87015. "properties" : {
  87016. "code" : {
  87017. "type" : "string",
  87018. "description" : "错误码",
  87019. "enum" : [ "isv.invalid-argument", "isv.invalid-token", "aop.unknow-error", "isp.unknow-error" ]
  87020. },
  87021. "links" : {
  87022. "type" : "string",
  87023. "description" : "解决方案链接"
  87024. },
  87025. "message" : {
  87026. "type" : "string",
  87027. "description" : "错误描述"
  87028. }
  87029. }
  87030. },
  87031. "AlipayUserUserinfoShareResponseModel" : {
  87032. "type" : "object",
  87033. "properties" : {
  87034. "address" : {
  87035. "type" : "string",
  87036. "description" : "详细地址。",
  87037. "example" : "西湖区文三路国际大厦"
  87038. },
  87039. "address_code" : {
  87040. "type" : "string",
  87041. "description" : "区域编码,暂时不返回值",
  87042. "example" : "330106"
  87043. },
  87044. "alipay_user_id" : {
  87045. "type" : "string",
  87046. "description" : "支付宝用户ID",
  87047. "example" : "2088156897126906"
  87048. },
  87049. "area" : {
  87050. "type" : "string",
  87051. "description" : "区县名称。",
  87052. "example" : "西湖区"
  87053. },
  87054. "avatar" : {
  87055. "type" : "string",
  87056. "description" : "用户头像",
  87057. "example" : "http://tfsimg.alipay.com/images/partner/T1uIxXXbpXXXXXXXX"
  87058. },
  87059. "balance_freeze_type" : {
  87060. "type" : "string",
  87061. "description" : "【注意】当is_balance_frozen为“F”时,改字段不会返回.\r\tCTU ---- CTU冻结,允许用户开启\r\tALIBABA ---- ALIBABA冻结,允许用户开启\r\tSERVER ---- 后台冻结,允许用户开启\r\tUSER ---- 用户冻结 \r\tCTU_N---- CTU冻结,不允许用户开启\r\tALIBABA_N ---- ALIBABA冻结,不允许用户开启\r\tSERVER_N ---- 后台冻结,不允许用户开启\r\tUNKNOWN ---- 降级、或查询超时",
  87062. "example" : "SERVER"
  87063. },
  87064. "birthday" : {
  87065. "type" : "string",
  87066. "description" : "用户生日",
  87067. "example" : "19900918"
  87068. },
  87069. "cert_no" : {
  87070. "type" : "string",
  87071. "description" : "证件号码",
  87072. "example" : "340928109890871722"
  87073. },
  87074. "cert_type_value" : {
  87075. "type" : "string",
  87076. "description" : "0:身份证\r\t1:护照\r\t2:军官证\r\t3:士兵证\r\t4:回乡证\r\t5:临时身份证\r\t6:户口簿\r\t7:警官证\r\t8:台胞证\r\t9:营业执照\r\t10其它证件",
  87077. "example" : "7"
  87078. },
  87079. "city" : {
  87080. "type" : "string",
  87081. "description" : "市名称。",
  87082. "example" : "安庆"
  87083. },
  87084. "default_deliver_address" : {
  87085. "type" : "string",
  87086. "description" : "是否默认收货地址,暂时不返回值",
  87087. "example" : "T"
  87088. },
  87089. "deliver_address_list" : {
  87090. "type" : "array",
  87091. "description" : "收货人地址列表",
  87092. "items" : {
  87093. "$ref" : "#/components/schemas/DeliverAddress"
  87094. }
  87095. },
  87096. "deliver_area" : {
  87097. "type" : "string",
  87098. "description" : "收货人所在区县",
  87099. "example" : "西湖区"
  87100. },
  87101. "deliver_city" : {
  87102. "type" : "string",
  87103. "description" : "收货人所在城市",
  87104. "example" : "杭州市"
  87105. },
  87106. "deliver_fullname" : {
  87107. "type" : "string",
  87108. "description" : "收货人全称",
  87109. "example" : "张三"
  87110. },
  87111. "deliver_mobile" : {
  87112. "type" : "string",
  87113. "description" : "收货地址的联系人移动电话。",
  87114. "example" : "13200909090"
  87115. },
  87116. "deliver_phone" : {
  87117. "type" : "string",
  87118. "description" : "收货地址的联系人固定电话。",
  87119. "example" : "13211111111"
  87120. },
  87121. "deliver_province" : {
  87122. "type" : "string",
  87123. "description" : "收货人所在省份",
  87124. "example" : "浙江省"
  87125. },
  87126. "email" : {
  87127. "type" : "string",
  87128. "description" : "用户支付宝账号绑定的邮箱地址",
  87129. "example" : "sss@163.com"
  87130. },
  87131. "family_name" : {
  87132. "type" : "string",
  87133. "description" : "姓氏,取的是realName中的首个字符,对非中文、中文复姓支持较差。",
  87134. "example" : "赵"
  87135. },
  87136. "firm_name" : {
  87137. "type" : "string",
  87138. "description" : "公司名称(用户类型是公司类型时公司名称才有此字段)。",
  87139. "example" : "阿里巴巴"
  87140. },
  87141. "gender" : {
  87142. "type" : "string",
  87143. "description" : "性别(F:女性;M:男性)",
  87144. "example" : "F"
  87145. },
  87146. "is_balance_frozen" : {
  87147. "type" : "string",
  87148. "description" : "T--被冻结;F--未冻结",
  87149. "example" : "T"
  87150. },
  87151. "is_bank_auth" : {
  87152. "type" : "string",
  87153. "description" : "T为是银行卡认证,F为非银行卡认证。",
  87154. "example" : "T"
  87155. },
  87156. "is_certified" : {
  87157. "type" : "string",
  87158. "description" : "是否通过实名认证。T是通过 F是没有实名认证",
  87159. "example" : "T"
  87160. },
  87161. "is_certify_grade_a" : {
  87162. "type" : "string",
  87163. "description" : "T:表示A类实名认证;F:表示非A类实名认证",
  87164. "example" : "T"
  87165. },
  87166. "is_id_auth" : {
  87167. "type" : "string",
  87168. "description" : "T为是身份证认证,F为非身份证认证。",
  87169. "example" : "T"
  87170. },
  87171. "is_licence_auth" : {
  87172. "type" : "string",
  87173. "description" : "T为通过营业执照认证,F为没有通过",
  87174. "example" : "T"
  87175. },
  87176. "is_mobile_auth" : {
  87177. "type" : "string",
  87178. "description" : "T为是手机认证,F为非手机认证。",
  87179. "example" : "T"
  87180. },
  87181. "is_student_certified" : {
  87182. "type" : "string",
  87183. "description" : "是否是学生",
  87184. "example" : "T"
  87185. },
  87186. "mobile" : {
  87187. "type" : "string",
  87188. "description" : "手机号码。",
  87189. "example" : "13429199999"
  87190. },
  87191. "nick_name" : {
  87192. "type" : "string",
  87193. "description" : "用户昵称",
  87194. "example" : "哈哈就是我"
  87195. },
  87196. "phone" : {
  87197. "type" : "string",
  87198. "description" : "电话号码。",
  87199. "example" : "0511-26888888"
  87200. },
  87201. "province" : {
  87202. "type" : "string",
  87203. "description" : "省份名称。",
  87204. "example" : "安徽省"
  87205. },
  87206. "real_name" : {
  87207. "type" : "string",
  87208. "description" : "用户的真实姓名。",
  87209. "example" : "张三"
  87210. },
  87211. "reduced_birthday" : {
  87212. "type" : "string",
  87213. "description" : "生日的月和日,MMdd格式",
  87214. "example" : "0428"
  87215. },
  87216. "user_id" : {
  87217. "type" : "string",
  87218. "description" : "用户的userId",
  87219. "example" : "2088102104794936"
  87220. },
  87221. "user_status" : {
  87222. "type" : "string",
  87223. "description" : "用户状态(Q/T/B/W)。\r\tQ代表快速注册用户\r\tT代表已认证用户\r\tB代表被冻结账户\r\tW代表已注册,未激活的账户",
  87224. "example" : "T"
  87225. },
  87226. "user_type_value" : {
  87227. "type" : "string",
  87228. "description" : "用户类型(1/2)\r\t1代表公司账户2代表个人账户",
  87229. "example" : "1"
  87230. },
  87231. "zip" : {
  87232. "type" : "string",
  87233. "description" : "邮政编码。",
  87234. "example" : "3600"
  87235. }
  87236. }
  87237. },
  87238. "AmountTypeData" : {
  87239. "type" : "object",
  87240. "properties" : {
  87241. "name" : {
  87242. "type" : "string",
  87243. "description" : "累计类型为金额类型的累计名称。为必传入参。",
  87244. "example" : "优惠累计名称001"
  87245. },
  87246. "out_discount_infos" : {
  87247. "type" : "array",
  87248. "description" : "优惠信息。为List类型,支持传入多笔优惠,大部分场景传入一笔。包含:优惠名称,优惠类型,优惠金额(单位元)。\t字段必传场景:\t1.当累计模式为【交易绑定模式】时,为必传入参。\t2.当累计模式为【交易解耦模式】,同时需要累计优惠信息时,为必传入参。",
  87249. "items" : {
  87250. "$ref" : "#/components/schemas/ZMGoOutDiscountInfo"
  87251. }
  87252. },
  87253. "trade_info" : {
  87254. "$ref" : "#/components/schemas/ZMGoTradeInfo"
  87255. }
  87256. }
  87257. },
  87258. "AmountTypeSyncData" : {
  87259. "type" : "object",
  87260. "properties" : {
  87261. "discount_amount" : {
  87262. "type" : "string",
  87263. "description" : "商户回传的优惠金额,如用户享受的红包金额,单位元",
  87264. "example" : "8.75"
  87265. },
  87266. "discount_desc" : {
  87267. "type" : "string",
  87268. "description" : "商户数据回传的优惠信息的名称。",
  87269. "example" : "消费满减优惠001"
  87270. },
  87271. "has_alipay_trade" : {
  87272. "type" : "boolean",
  87273. "description" : "是否为支付宝交易,默认false,表示是否要做支付宝交易关联。此时tradeNo必须传支付宝交易号。",
  87274. "example" : "false"
  87275. },
  87276. "task_amount" : {
  87277. "type" : "string",
  87278. "description" : "用户和商户发生交易的交易单金额,单位元。",
  87279. "example" : "3.57"
  87280. },
  87281. "task_desc" : {
  87282. "type" : "string",
  87283. "description" : "任务描述",
  87284. "example" : "完成一次任务001"
  87285. },
  87286. "trade_no" : {
  87287. "type" : "string",
  87288. "description" : "用户和商户发生金额类交易的交易单号。",
  87289. "example" : "2020081722001435461000061785"
  87290. }
  87291. }
  87292. },
  87293. "AntMerchantExpandApprecommendAccountCreateErrorResponseModel" : {
  87294. "required" : [ "code", "message" ],
  87295. "type" : "object",
  87296. "properties" : {
  87297. "code" : {
  87298. "type" : "string",
  87299. "description" : "错误码",
  87300. "enum" : [ "MER_ARGUMENT_NULL", "APP_ID_NOT_EXIST", "APP_STATUS_IS_ILLEGAL", "APP_OWNER_ERROR", "ACCOUNT_AUTH_FAIL", "ACCOUNT_RECOMMEND_DUPLICATE", "ACCOUNT_NOT_EXIST", "SYSTEM_ERROR", "THIRD_SYSTEM_ERROR" ]
  87301. },
  87302. "links" : {
  87303. "type" : "string",
  87304. "description" : "解决方案链接"
  87305. },
  87306. "message" : {
  87307. "type" : "string",
  87308. "description" : "错误描述"
  87309. }
  87310. }
  87311. },
  87312. "AntMerchantExpandApprecommendAccountCreateModel" : {
  87313. "type" : "object",
  87314. "properties" : {
  87315. "acc_no" : {
  87316. "type" : "string",
  87317. "description" : "待绑定账号PID",
  87318. "example" : "2088001969784501"
  87319. },
  87320. "app_no" : {
  87321. "type" : "string",
  87322. "description" : "待绑定小程序的app_id",
  87323. "example" : "2021000155639069"
  87324. }
  87325. }
  87326. },
  87327. "AntMerchantExpandApprecommendAccountCreateResponseModel" : {
  87328. "type" : "object"
  87329. },
  87330. "AntMerchantExpandApprecommendAccountDeleteErrorResponseModel" : {
  87331. "required" : [ "code", "message" ],
  87332. "type" : "object",
  87333. "properties" : {
  87334. "code" : {
  87335. "type" : "string",
  87336. "description" : "错误码",
  87337. "enum" : [ "MER_ARGUMENT_NULL", "APP_ID_NOT_EXIST", "APP_OWNER_ERROR", "ACCOUNT_NOT_EXIST", "ACCOUNT_RECOMMEND_NOT_EXIST", "SYSTEM_ERROR", "THIRD_SYSTEM_ERROR" ]
  87338. },
  87339. "links" : {
  87340. "type" : "string",
  87341. "description" : "解决方案链接"
  87342. },
  87343. "message" : {
  87344. "type" : "string",
  87345. "description" : "错误描述"
  87346. }
  87347. }
  87348. },
  87349. "AntMerchantExpandApprecommendAccountDeleteResponseModel" : {
  87350. "type" : "object"
  87351. },
  87352. "AntMerchantExpandApprecommendAccountQueryErrorResponseModel" : {
  87353. "required" : [ "code", "message" ],
  87354. "type" : "object",
  87355. "properties" : {
  87356. "code" : {
  87357. "type" : "string",
  87358. "description" : "错误码",
  87359. "enum" : [ "APP_ID_NOT_EXIST", "APP_OWNER_ERROR", "SYSTEM_ERROR", "QUERY_PAGE_QUERY_NULL", "QUERY_PAGE_SIZE_LARGE", "QUERY_PAGE_SIZE_SMALL", "QUERY_PAGE_NUM_SMALL", "THIRD_SYSTEM_ERROR" ]
  87360. },
  87361. "links" : {
  87362. "type" : "string",
  87363. "description" : "解决方案链接"
  87364. },
  87365. "message" : {
  87366. "type" : "string",
  87367. "description" : "错误描述"
  87368. }
  87369. }
  87370. },
  87371. "AntMerchantExpandApprecommendAccountQueryResponseModel" : {
  87372. "type" : "object",
  87373. "properties" : {
  87374. "list" : {
  87375. "type" : "array",
  87376. "description" : "账号列表",
  87377. "items" : {
  87378. "type" : "string"
  87379. },
  87380. "example" : "[\"2088001969784501\"]"
  87381. },
  87382. "page_number" : {
  87383. "type" : "integer",
  87384. "description" : "当前页码",
  87385. "example" : "1"
  87386. },
  87387. "page_size" : {
  87388. "type" : "integer",
  87389. "description" : "单页行数",
  87390. "example" : "10"
  87391. },
  87392. "total_pages" : {
  87393. "type" : "integer",
  87394. "description" : "总页数",
  87395. "example" : "1"
  87396. },
  87397. "total_size" : {
  87398. "type" : "string",
  87399. "description" : "总行数",
  87400. "example" : "1"
  87401. }
  87402. }
  87403. },
  87404. "AntMerchantExpandApprecommendAvailableQueryErrorResponseModel" : {
  87405. "required" : [ "code", "message" ],
  87406. "type" : "object",
  87407. "properties" : {
  87408. "code" : {
  87409. "type" : "string",
  87410. "description" : "错误码",
  87411. "enum" : [ "SYSTEM_ERROR", "QUERY_PAGE_QUERY_NULL", "QUERY_PAGE_SIZE_LARGE", "QUERY_PAGE_SIZE_SMALL", "QUERY_PAGE_NUM_SMALL", "THIRD_SYSTEM_ERROR" ]
  87412. },
  87413. "links" : {
  87414. "type" : "string",
  87415. "description" : "解决方案链接"
  87416. },
  87417. "message" : {
  87418. "type" : "string",
  87419. "description" : "错误描述"
  87420. }
  87421. }
  87422. },
  87423. "AntMerchantExpandApprecommendAvailableQueryResponseModel" : {
  87424. "type" : "object",
  87425. "properties" : {
  87426. "list" : {
  87427. "type" : "array",
  87428. "description" : "总页数",
  87429. "items" : {
  87430. "type" : "string"
  87431. },
  87432. "example" : "[\"2088001969784501\"]"
  87433. },
  87434. "page_number" : {
  87435. "type" : "integer",
  87436. "description" : "当前页码",
  87437. "example" : "1"
  87438. },
  87439. "page_size" : {
  87440. "type" : "integer",
  87441. "description" : "单页行数",
  87442. "example" : "10"
  87443. },
  87444. "total_pages" : {
  87445. "type" : "integer",
  87446. "description" : "总页数",
  87447. "example" : "1"
  87448. },
  87449. "total_size" : {
  87450. "type" : "integer",
  87451. "description" : "总行数",
  87452. "example" : "1"
  87453. }
  87454. }
  87455. },
  87456. "AntMerchantExpandIndirectImageUploadErrorResponseModel" : {
  87457. "required" : [ "code", "message" ],
  87458. "type" : "object",
  87459. "properties" : {
  87460. "code" : {
  87461. "type" : "string",
  87462. "description" : "错误码",
  87463. "enum" : [ "SYSTEM_ERROR", "MERCHANT_ILLEGAL_ARGUMENT", "EXCEED_MAX_SIZE", "INVALID_IMAGE_FORMAT", "IMAGE_UNSAFE" ]
  87464. },
  87465. "links" : {
  87466. "type" : "string",
  87467. "description" : "解决方案链接"
  87468. },
  87469. "message" : {
  87470. "type" : "string",
  87471. "description" : "错误描述"
  87472. }
  87473. }
  87474. },
  87475. "AntMerchantExpandIndirectImageUploadModel" : {
  87476. "type" : "object",
  87477. "properties" : {
  87478. "image_type" : {
  87479. "type" : "string",
  87480. "description" : "图片格式,支持格式:bmp、jpg、jpeg、png、gif.",
  87481. "example" : "jpg"
  87482. }
  87483. }
  87484. },
  87485. "AntMerchantExpandIndirectImageUploadResponseModel" : {
  87486. "type" : "object",
  87487. "properties" : {
  87488. "image_id" : {
  87489. "type" : "string",
  87490. "description" : "图片在文件存储平台的标识",
  87491. "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
  87492. }
  87493. }
  87494. },
  87495. "AntMerchantExpandInfoQueryErrorResponseModel" : {
  87496. "required" : [ "code", "message" ],
  87497. "type" : "object",
  87498. "properties" : {
  87499. "code" : {
  87500. "type" : "string",
  87501. "description" : "错误码",
  87502. "enum" : [ "PERMISSION_IS_ILLEGAL", "MER_ARGUMENT_NULL", "MERCHANT_INPUT_ARGUMENT_ILLEGAL", "SYSTEM_ERROR" ]
  87503. },
  87504. "links" : {
  87505. "type" : "string",
  87506. "description" : "解决方案链接"
  87507. },
  87508. "message" : {
  87509. "type" : "string",
  87510. "description" : "错误描述"
  87511. }
  87512. }
  87513. },
  87514. "AntMerchantExpandInfoQueryResponseModel" : {
  87515. "type" : "object",
  87516. "properties" : {
  87517. "merchant_query_result" : {
  87518. "$ref" : "#/components/schemas/MerchantQueryResult"
  87519. }
  87520. }
  87521. },
  87522. "AntMerchantExpandItemCreateErrorResponseModel" : {
  87523. "required" : [ "code", "message" ],
  87524. "type" : "object",
  87525. "properties" : {
  87526. "code" : {
  87527. "type" : "string",
  87528. "description" : "错误码",
  87529. "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL", "ITEM_CATEGORY_NOT_EXIST", "ITEM_IN_CATEGORY_NUM_LIMIT", "ITEM_HAS_EXIST", "ITEM_LABEL_NOT_EXIST", "INFO_SEC_ERROR" ]
  87530. },
  87531. "links" : {
  87532. "type" : "string",
  87533. "description" : "解决方案链接"
  87534. },
  87535. "message" : {
  87536. "type" : "string",
  87537. "description" : "错误描述"
  87538. }
  87539. }
  87540. },
  87541. "AntMerchantExpandItemCreateModel" : {
  87542. "type" : "object",
  87543. "properties" : {
  87544. "detail_url" : {
  87545. "type" : "string",
  87546. "description" : "详情地址",
  87547. "example" : "https://www.alipay.com/item/detail01.html"
  87548. },
  87549. "ext_info" : {
  87550. "type" : "string",
  87551. "description" : "商品扩展信息:可以解析成 Map<String, String> 的 json string",
  87552. "example" : "{\\\"OIL_GUNS\\\":\\\"[7,8,9,10]\\\", \\\"DISCOUNT\\\":\\\"95\\\"}"
  87553. },
  87554. "external_item_id" : {
  87555. "type" : "string",
  87556. "description" : "外部商品ID",
  87557. "example" : "201909161233534124235231111"
  87558. },
  87559. "front_category_id" : {
  87560. "type" : "string",
  87561. "description" : "前台类目id:target_type + target_id 和 front_category_id 二选一",
  87562. "example" : "2018091300502200002600105884"
  87563. },
  87564. "label_list" : {
  87565. "type" : "array",
  87566. "description" : "商品标签列表",
  87567. "items" : {
  87568. "$ref" : "#/components/schemas/ItemLabelCreateInfo"
  87569. }
  87570. },
  87571. "main_pic" : {
  87572. "type" : "string",
  87573. "description" : "主图地址",
  87574. "example" : "https://img.alicdn.com/imgextra/i4/263168616/O1CN01qp60TQ2DWB06jyvVg_!!263168616.jpg"
  87575. },
  87576. "name" : {
  87577. "type" : "string",
  87578. "description" : "商品名称",
  87579. "example" : "西红柿炒蛋"
  87580. },
  87581. "scene" : {
  87582. "type" : "string",
  87583. "description" : "场景:GAS_CHARGE(加油)",
  87584. "example" : "GAS_CHARGE"
  87585. },
  87586. "sku_list" : {
  87587. "type" : "array",
  87588. "description" : "商品sku列表,至少有一个",
  87589. "items" : {
  87590. "$ref" : "#/components/schemas/ItemSkuCreateInfo"
  87591. }
  87592. },
  87593. "target_id" : {
  87594. "type" : "string",
  87595. "description" : "商户归属主体id",
  87596. "example" : "2018090600502000000022501261"
  87597. },
  87598. "target_type" : {
  87599. "type" : "string",
  87600. "description" : "商品归属主体类型:target_type + target_id 和 front_category_id 二选一\r\t\r\t商品归属主体类型:\r\t5: 店铺\r\t4: 主站MID\r\t3: 参与者\r\t2: 角色\r\t1: 联系人",
  87601. "example" : "5"
  87602. }
  87603. }
  87604. },
  87605. "AntMerchantExpandItemCreateResponseModel" : {
  87606. "type" : "object",
  87607. "properties" : {
  87608. "item_id" : {
  87609. "type" : "string",
  87610. "description" : "商品id",
  87611. "example" : "2018091300502200002600104169"
  87612. }
  87613. }
  87614. },
  87615. "AntMerchantExpandItemDeleteErrorResponseModel" : {
  87616. "required" : [ "code", "message" ],
  87617. "type" : "object",
  87618. "properties" : {
  87619. "code" : {
  87620. "type" : "string",
  87621. "description" : "错误码",
  87622. "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ITEM_NOT_EXIST" ]
  87623. },
  87624. "links" : {
  87625. "type" : "string",
  87626. "description" : "解决方案链接"
  87627. },
  87628. "message" : {
  87629. "type" : "string",
  87630. "description" : "错误描述"
  87631. }
  87632. }
  87633. },
  87634. "AntMerchantExpandItemDeleteResponseModel" : {
  87635. "type" : "object",
  87636. "properties" : {
  87637. "item_id" : {
  87638. "type" : "string",
  87639. "description" : "商品id",
  87640. "example" : "2018091300502200002600104169"
  87641. }
  87642. }
  87643. },
  87644. "AntMerchantExpandItemModifyErrorResponseModel" : {
  87645. "required" : [ "code", "message" ],
  87646. "type" : "object",
  87647. "properties" : {
  87648. "code" : {
  87649. "type" : "string",
  87650. "description" : "错误码",
  87651. "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL", "ITEM_NOT_EXIST", "ITEM_CATEGORY_NOT_EXIST", "ITEM_SKU_NOT_EXIST", "ITEM_IN_CATEGORY_NUM_LIMIT", "ITEM_HAS_EXIST", "INFO_SEC_ERROR" ]
  87652. },
  87653. "links" : {
  87654. "type" : "string",
  87655. "description" : "解决方案链接"
  87656. },
  87657. "message" : {
  87658. "type" : "string",
  87659. "description" : "错误描述"
  87660. }
  87661. }
  87662. },
  87663. "AntMerchantExpandItemModifyModel" : {
  87664. "type" : "object",
  87665. "properties" : {
  87666. "detail_url" : {
  87667. "type" : "string",
  87668. "description" : "商品详情地址",
  87669. "example" : "https://www.alipay.com/item/detail01.html"
  87670. },
  87671. "ext_info" : {
  87672. "type" : "string",
  87673. "description" : "商品扩展信息:可以解析成 Map<String, String> 的 json string",
  87674. "example" : "{\\\"OIL_GUNS\\\":\\\"[7,8,9,10]\\\", \\\"DISCOUNT\\\":\\\"95\\\"}"
  87675. },
  87676. "external_item_id" : {
  87677. "type" : "string",
  87678. "description" : "外部商品ID(item_id不为空时作为普通更新项,item_id为空时作为更新KEY)",
  87679. "example" : "20190916123423654241312"
  87680. },
  87681. "front_category_id" : {
  87682. "type" : "string",
  87683. "description" : "前台类目id, null表示未分类",
  87684. "example" : "2018091300502200002600105884"
  87685. },
  87686. "item_id" : {
  87687. "type" : "string",
  87688. "description" : "商品id(和external_item_id不能同时为空)",
  87689. "example" : "2018091300502200002600104169"
  87690. },
  87691. "label_list" : {
  87692. "type" : "array",
  87693. "description" : "商品标签列表,null表示不修改标签列表,空list表示清空标签",
  87694. "items" : {
  87695. "$ref" : "#/components/schemas/ItemLabelModifyInfo"
  87696. }
  87697. },
  87698. "main_pic" : {
  87699. "type" : "string",
  87700. "description" : "商品主图",
  87701. "example" : "https://img.alicdn.com/imgextra/i4/263168616/O1CN01qp60TQ2DWB06jyvVg_!!263168616.jpg"
  87702. },
  87703. "name" : {
  87704. "type" : "string",
  87705. "description" : "商品名称",
  87706. "example" : "西红柿炒蛋"
  87707. },
  87708. "op_timestamp" : {
  87709. "type" : "integer",
  87710. "description" : "更新时间戳(只处理时间戳最大的一次请求)",
  87711. "example" : "1234352342353"
  87712. },
  87713. "scene" : {
  87714. "type" : "string",
  87715. "description" : "场景:GAS_CHARGE(加油)",
  87716. "example" : "GAS_CHARGE"
  87717. },
  87718. "sku_list" : {
  87719. "type" : "array",
  87720. "description" : "SKU列表(会和商品已存在SKU做差异化比较后做增删改操作)",
  87721. "items" : {
  87722. "$ref" : "#/components/schemas/ItemSkuModifyInfo"
  87723. }
  87724. },
  87725. "status" : {
  87726. "type" : "string",
  87727. "description" : "商品状态:\r\tEFFECT(有效)、 INVALID(无效)",
  87728. "example" : "EFFECT"
  87729. }
  87730. }
  87731. },
  87732. "AntMerchantExpandItemModifyResponseModel" : {
  87733. "type" : "object",
  87734. "properties" : {
  87735. "item_id" : {
  87736. "type" : "string",
  87737. "description" : "商品id",
  87738. "example" : "2018091300502200002600104169"
  87739. }
  87740. }
  87741. },
  87742. "AntMerchantExpandItemOpenBatchqueryErrorResponseModel" : {
  87743. "required" : [ "code", "message" ],
  87744. "type" : "object",
  87745. "properties" : {
  87746. "code" : {
  87747. "type" : "string",
  87748. "description" : "错误码",
  87749. "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL", "NO_PERMISSION" ]
  87750. },
  87751. "links" : {
  87752. "type" : "string",
  87753. "description" : "解决方案链接"
  87754. },
  87755. "message" : {
  87756. "type" : "string",
  87757. "description" : "错误描述"
  87758. }
  87759. }
  87760. },
  87761. "AntMerchantExpandItemOpenBatchqueryModel" : {
  87762. "type" : "object",
  87763. "properties" : {
  87764. "item_id_list" : {
  87765. "type" : "array",
  87766. "description" : "商品ID列表,单次查询上限为 20。",
  87767. "items" : {
  87768. "type" : "string"
  87769. },
  87770. "example" : "2019073100812219000000100000"
  87771. }
  87772. }
  87773. },
  87774. "AntMerchantExpandItemOpenBatchqueryResponseModel" : {
  87775. "type" : "object",
  87776. "properties" : {
  87777. "item_list" : {
  87778. "type" : "array",
  87779. "description" : "商品列表。",
  87780. "items" : {
  87781. "$ref" : "#/components/schemas/CmItemInfo"
  87782. }
  87783. }
  87784. }
  87785. },
  87786. "AntMerchantExpandItemOpenCreateErrorResponseModel" : {
  87787. "required" : [ "code", "message" ],
  87788. "type" : "object",
  87789. "properties" : {
  87790. "code" : {
  87791. "type" : "string",
  87792. "description" : "错误码",
  87793. "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL", "ITEM_CATEGORY_NOT_EXIST", "INFO_SEC_ERROR", "NO_PERMISSION" ]
  87794. },
  87795. "links" : {
  87796. "type" : "string",
  87797. "description" : "解决方案链接"
  87798. },
  87799. "message" : {
  87800. "type" : "string",
  87801. "description" : "错误描述"
  87802. }
  87803. }
  87804. },
  87805. "AntMerchantExpandItemOpenCreateModel" : {
  87806. "type" : "object",
  87807. "properties" : {
  87808. "description" : {
  87809. "type" : "string",
  87810. "description" : "商品描述",
  87811. "example" : "精选东北优质非转基因大豆"
  87812. },
  87813. "ext_info" : {
  87814. "type" : "array",
  87815. "description" : "商品扩展信息(具体KEY请参见产品文档)。\t小程序订单中心场景接入参见 <a href=\"https://opendocs.alipay.com/mini/024hj4\">接入指南</a>。",
  87816. "items" : {
  87817. "$ref" : "#/components/schemas/ItemExtInfo"
  87818. }
  87819. },
  87820. "material_list" : {
  87821. "type" : "array",
  87822. "description" : "素材列表(最多3个),素材内容为素材key(素材key为<a href=\"https://opendocs.alipay.com/apis/api_4/alipay.merchant.item.file.upload\">alipay.merchant.item.file.upload</a> 接口返回的 material_key)",
  87823. "items" : {
  87824. "$ref" : "#/components/schemas/MaterialCreateInfo"
  87825. }
  87826. },
  87827. "name" : {
  87828. "type" : "string",
  87829. "description" : "商品名称",
  87830. "example" : "西红柿炒蛋"
  87831. },
  87832. "property_list" : {
  87833. "type" : "array",
  87834. "description" : "商品属性列表",
  87835. "items" : {
  87836. "$ref" : "#/components/schemas/ItemPropertyInfo"
  87837. }
  87838. },
  87839. "scene" : {
  87840. "type" : "string",
  87841. "description" : "业务场景码。\t小程序订单中心场景固定为 APP_ORDER。",
  87842. "example" : "APP_ORDER"
  87843. },
  87844. "sku_list" : {
  87845. "type" : "array",
  87846. "description" : "商品SKU列表(至少1个,最多20个)",
  87847. "items" : {
  87848. "$ref" : "#/components/schemas/SkuCreateInfo"
  87849. }
  87850. },
  87851. "standard_category_id" : {
  87852. "type" : "string",
  87853. "description" : "商品所属标准类目ID,标品及非标品都需传入。 请填入 <a href=\"https://opendocs.alipay.com/mini/011lxt\">小程序商品类目表</a> 中三级类目ID。",
  87854. "example" : "2019073100992228000000100000"
  87855. },
  87856. "target_id" : {
  87857. "type" : "string",
  87858. "description" : "商品归属主体ID\t例:商品归属主体类型target_type为店铺,则商品归属主体ID为店铺ID(支付宝侧店铺ID);归属主体类型target_type为小程序,则归属主体ID为小程序ID",
  87859. "example" : "2018090600502000000022501261"
  87860. },
  87861. "target_type" : {
  87862. "type" : "string",
  87863. "description" : "商品归属主体类型。枚举如下:\t5:店铺。\t8:小程序。",
  87864. "example" : "8"
  87865. },
  87866. "type" : {
  87867. "type" : "string",
  87868. "description" : "商品类型。枚举支持:\tSTANDARD_GOODS:标品,一般是具有明确、标准规格、型号、参数的商品,如:手机、数码产品、大多数的家电 。\tNON_STANDARD_GOODS:非标品,则是在这些方面没有统一的行业标准和参数规格的商品,如:服装、鞋袜等。",
  87869. "example" : "STANDARD_GOODS"
  87870. }
  87871. }
  87872. },
  87873. "AntMerchantExpandItemOpenCreateResponseModel" : {
  87874. "type" : "object",
  87875. "properties" : {
  87876. "item_id" : {
  87877. "type" : "string",
  87878. "description" : "商品ID",
  87879. "example" : "2018091300502200002600104169"
  87880. }
  87881. }
  87882. },
  87883. "AntMerchantExpandItemOpenDeleteErrorResponseModel" : {
  87884. "required" : [ "code", "message" ],
  87885. "type" : "object",
  87886. "properties" : {
  87887. "code" : {
  87888. "type" : "string",
  87889. "description" : "错误码",
  87890. "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ITEM_NOT_EXIST", "NO_PERMISSION", "ARGUMENT_ILLEGAL" ]
  87891. },
  87892. "links" : {
  87893. "type" : "string",
  87894. "description" : "解决方案链接"
  87895. },
  87896. "message" : {
  87897. "type" : "string",
  87898. "description" : "错误描述"
  87899. }
  87900. }
  87901. },
  87902. "AntMerchantExpandItemOpenDeleteResponseModel" : {
  87903. "type" : "object"
  87904. },
  87905. "AntMerchantExpandItemOpenModifyErrorResponseModel" : {
  87906. "required" : [ "code", "message" ],
  87907. "type" : "object",
  87908. "properties" : {
  87909. "code" : {
  87910. "type" : "string",
  87911. "description" : "错误码",
  87912. "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL", "ITEM_NOT_EXIST", "ITEM_CATEGORY_NOT_EXIST", "INFO_SEC_ERROR", "NO_PERMISSION" ]
  87913. },
  87914. "links" : {
  87915. "type" : "string",
  87916. "description" : "解决方案链接"
  87917. },
  87918. "message" : {
  87919. "type" : "string",
  87920. "description" : "错误描述"
  87921. }
  87922. }
  87923. },
  87924. "AntMerchantExpandItemOpenModifyModel" : {
  87925. "type" : "object",
  87926. "properties" : {
  87927. "description" : {
  87928. "type" : "string",
  87929. "description" : "商品描述",
  87930. "example" : "精选东北优质非转基因大豆"
  87931. },
  87932. "ext_info" : {
  87933. "type" : "array",
  87934. "description" : "商品扩展信息(覆盖商品已存在扩展信息、具体KEY请参见产品文档)",
  87935. "items" : {
  87936. "$ref" : "#/components/schemas/ItemExtInfo"
  87937. }
  87938. },
  87939. "item_id" : {
  87940. "type" : "string",
  87941. "description" : "商品ID,通过创建商品接口 https://opendocs.alipay.com/apis/api_4/ant.merchant.expand.item.open.create 获取。",
  87942. "example" : "2019073100702219000000100000"
  87943. },
  87944. "material_list" : {
  87945. "type" : "array",
  87946. "description" : "商品素材列表(会和商品已存在素材做差异化比较后做增删改操作)",
  87947. "items" : {
  87948. "$ref" : "#/components/schemas/MaterialModifyInfo"
  87949. }
  87950. },
  87951. "name" : {
  87952. "type" : "string",
  87953. "description" : "商品名称",
  87954. "example" : "西红柿炒蛋"
  87955. },
  87956. "property_list" : {
  87957. "type" : "array",
  87958. "description" : "商品属性列表(覆盖商品已存在属性)",
  87959. "items" : {
  87960. "$ref" : "#/components/schemas/ItemPropertyInfo"
  87961. }
  87962. },
  87963. "sku_list" : {
  87964. "type" : "array",
  87965. "description" : "SKU列表(会和商品已存在SKU做差异化比较后做增删改操作)",
  87966. "items" : {
  87967. "$ref" : "#/components/schemas/SkuModifyInfo"
  87968. }
  87969. },
  87970. "standard_category_id" : {
  87971. "type" : "string",
  87972. "description" : "商品所属标准类目ID,当 type 为STANDARD_GOODS(标品)时必填。 请填入 https://opendocs.alipay.com/mini/011lxt 小程序商品类目表中三级类目ID。",
  87973. "example" : "2019073100992228000000100000"
  87974. },
  87975. "status" : {
  87976. "type" : "string",
  87977. "description" : "商品状态:EFFECT(有效)、INVALID(无效)",
  87978. "example" : "EFFECT"
  87979. },
  87980. "type" : {
  87981. "type" : "string",
  87982. "description" : "商品类型:STANDARD_GOODS(标品)、NON_STANDARD_GOODS(非标品)",
  87983. "example" : "STANDARD_GOODS"
  87984. }
  87985. }
  87986. },
  87987. "AntMerchantExpandItemOpenModifyResponseModel" : {
  87988. "type" : "object"
  87989. },
  87990. "AntMerchantExpandItemOpenQueryErrorResponseModel" : {
  87991. "required" : [ "code", "message" ],
  87992. "type" : "object",
  87993. "properties" : {
  87994. "code" : {
  87995. "type" : "string",
  87996. "description" : "错误码",
  87997. "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL", "NO_PERMISSION" ]
  87998. },
  87999. "links" : {
  88000. "type" : "string",
  88001. "description" : "解决方案链接"
  88002. },
  88003. "message" : {
  88004. "type" : "string",
  88005. "description" : "错误描述"
  88006. }
  88007. }
  88008. },
  88009. "AntMerchantExpandItemOpenQueryResponseModel" : {
  88010. "type" : "object",
  88011. "properties" : {
  88012. "item_list" : {
  88013. "type" : "array",
  88014. "description" : "商品列表",
  88015. "items" : {
  88016. "$ref" : "#/components/schemas/CmItemInfo"
  88017. }
  88018. }
  88019. }
  88020. },
  88021. "AntMerchantExpandItemQueryErrorResponseModel" : {
  88022. "required" : [ "code", "message" ],
  88023. "type" : "object",
  88024. "properties" : {
  88025. "code" : {
  88026. "type" : "string",
  88027. "description" : "错误码",
  88028. "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL" ]
  88029. },
  88030. "links" : {
  88031. "type" : "string",
  88032. "description" : "解决方案链接"
  88033. },
  88034. "message" : {
  88035. "type" : "string",
  88036. "description" : "错误描述"
  88037. }
  88038. }
  88039. },
  88040. "AntMerchantExpandItemQueryResponseModel" : {
  88041. "type" : "object",
  88042. "properties" : {
  88043. "item_list" : {
  88044. "type" : "array",
  88045. "description" : "商品列表",
  88046. "items" : {
  88047. "$ref" : "#/components/schemas/ItemModel"
  88048. }
  88049. }
  88050. }
  88051. },
  88052. "AntMerchantExpandItemStatusModifyErrorResponseModel" : {
  88053. "required" : [ "code", "message" ],
  88054. "type" : "object",
  88055. "properties" : {
  88056. "code" : {
  88057. "type" : "string",
  88058. "description" : "错误码",
  88059. "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ITEM_NOT_EXIST", "ITEM_ERROR_STATUS" ]
  88060. },
  88061. "links" : {
  88062. "type" : "string",
  88063. "description" : "解决方案链接"
  88064. },
  88065. "message" : {
  88066. "type" : "string",
  88067. "description" : "错误描述"
  88068. }
  88069. }
  88070. },
  88071. "AntMerchantExpandItemStatusModifyModel" : {
  88072. "type" : "object",
  88073. "properties" : {
  88074. "item_id" : {
  88075. "type" : "string",
  88076. "description" : "商品ID",
  88077. "example" : "2018091300502200002600104169"
  88078. },
  88079. "status" : {
  88080. "type" : "string",
  88081. "description" : "商品状态:EFFECT、INVALID",
  88082. "example" : "EFFECT"
  88083. }
  88084. }
  88085. },
  88086. "AntMerchantExpandItemStatusModifyResponseModel" : {
  88087. "type" : "object",
  88088. "properties" : {
  88089. "item_id" : {
  88090. "type" : "string",
  88091. "description" : "商品id",
  88092. "example" : "2018091300502200002600104169"
  88093. }
  88094. }
  88095. },
  88096. "AntMerchantExpandMccQueryErrorResponseModel" : {
  88097. "required" : [ "code", "message" ],
  88098. "type" : "object",
  88099. "properties" : {
  88100. "code" : {
  88101. "type" : "string",
  88102. "description" : "错误码",
  88103. "enum" : [ "MER_ARGUMENT_NULL", "SYSTEM_ERROR" ]
  88104. },
  88105. "links" : {
  88106. "type" : "string",
  88107. "description" : "解决方案链接"
  88108. },
  88109. "message" : {
  88110. "type" : "string",
  88111. "description" : "错误描述"
  88112. }
  88113. }
  88114. },
  88115. "AntMerchantExpandMccQueryResponseModel" : {
  88116. "type" : "object",
  88117. "properties" : {
  88118. "mcc_info_list" : {
  88119. "type" : "array",
  88120. "description" : "mcc查询信息结果列表",
  88121. "items" : {
  88122. "$ref" : "#/components/schemas/MccQueryInfo"
  88123. }
  88124. }
  88125. }
  88126. },
  88127. "AntMerchantExpandOrderQueryErrorResponseModel" : {
  88128. "required" : [ "code", "message" ],
  88129. "type" : "object",
  88130. "properties" : {
  88131. "code" : {
  88132. "type" : "string",
  88133. "description" : "错误码",
  88134. "enum" : [ "NOT_ALLOW_QUERY", "ORDER_ID_EMPTY", "ORDER_NOT_EXIST" ]
  88135. },
  88136. "links" : {
  88137. "type" : "string",
  88138. "description" : "解决方案链接"
  88139. },
  88140. "message" : {
  88141. "type" : "string",
  88142. "description" : "错误描述"
  88143. }
  88144. }
  88145. },
  88146. "AntMerchantExpandOrderQueryResponseModel" : {
  88147. "type" : "object",
  88148. "properties" : {
  88149. "apply_time" : {
  88150. "type" : "string",
  88151. "description" : "申请单创建时间",
  88152. "example" : "2017-11-11 12:00:00"
  88153. },
  88154. "ext_info" : {
  88155. "type" : "string",
  88156. "description" : "返回申请单相关参数。当前返回内容有cardAliasNo,smid",
  88157. "example" : "{\"cardAliasNo\":\"ab7c65ab96\",\"smid\":\"20881234567890\"}"
  88158. },
  88159. "ip_role_id" : {
  88160. "type" : "array",
  88161. "description" : "商户角色id。间连商户或平台商二级商户业务中,本字段表示smid。审核通过后生成。",
  88162. "items" : {
  88163. "type" : "string"
  88164. },
  88165. "example" : "2088301155943087"
  88166. },
  88167. "merchant_name" : {
  88168. "type" : "string",
  88169. "description" : "商户名称",
  88170. "example" : "蚂蚁金服(杭州)网络技术有限公司"
  88171. },
  88172. "status" : {
  88173. "type" : "string",
  88174. "description" : "申请单状态。枚举支持:\t99:已完结;\t-1:失败;\t031:已提交审核。",
  88175. "example" : "99"
  88176. }
  88177. }
  88178. },
  88179. "AntMerchantExpandShopCloseErrorResponseModel" : {
  88180. "required" : [ "code", "message" ],
  88181. "type" : "object",
  88182. "properties" : {
  88183. "code" : {
  88184. "type" : "string",
  88185. "description" : "错误码",
  88186. "enum" : [ "MER_ARGUMENT_NULL", "SHOP_NOT_EXIST", "RELATION_NOT_EXIST", "NOT_ALLOWED_SETTLE", "MER_ARGUMENT_ILLEGAL", "THIRD_SYSTEM_ERROR", "SYSTEM_ERROR" ]
  88187. },
  88188. "links" : {
  88189. "type" : "string",
  88190. "description" : "解决方案链接"
  88191. },
  88192. "message" : {
  88193. "type" : "string",
  88194. "description" : "错误描述"
  88195. }
  88196. }
  88197. },
  88198. "AntMerchantExpandShopCloseModel" : {
  88199. "type" : "object",
  88200. "properties" : {
  88201. "ip_role_id" : {
  88202. "type" : "string",
  88203. "description" : "商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。若未传入shop_id 则本参数与store_id均必填。",
  88204. "example" : "2088301155943087"
  88205. },
  88206. "shop_id" : {
  88207. "type" : "string",
  88208. "description" : "支付宝侧蚂蚁店铺 id。传入本参数后可不填 store_id 及 ip_role_id。",
  88209. "example" : "2018011900502000000005124744"
  88210. },
  88211. "store_id" : {
  88212. "type" : "string",
  88213. "description" : "商户侧球房编号。表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号。若未传入 shop_id 则本参数与与ip_role_id均必填。",
  88214. "example" : "NO0001"
  88215. }
  88216. }
  88217. },
  88218. "AntMerchantExpandShopCloseResponseModel" : {
  88219. "type" : "object"
  88220. },
  88221. "AntMerchantExpandShopConsultErrorResponseModel" : {
  88222. "required" : [ "code", "message" ],
  88223. "type" : "object",
  88224. "properties" : {
  88225. "code" : {
  88226. "type" : "string",
  88227. "description" : "错误码",
  88228. "enum" : [ "NOT_ALLOWED_SETTLE", "SHOP_CATEGORY_IS_ILLEGAL", "ISV_NOT_EXIST", "SHOP_ACCOUNT_NO_IS_ILLEGAL", "SHOP_SHOPNO_IS_EMPTY", "INDUSTRY_QUALIFICATION_IS_EMPTY", "SETTLED_OUTDOORIMAGE_EMPTY", "SHOP_SHOPNAME_IS_EMPTY", "SETTLED_BIZ_ADDRESS_ILLEGAL", "SHOP_CATEGORY_IS_EMPTY", "CONTACT_WAY_VALUE_NULL", "ADDRESS_PROVINCE_CODE_ILLEGAL", "ADDRESS_CITY_CODE_ILLEGAL", "ADDRESS_DISTRICT_CODE_ILLEGAL", "SHOP_ALREADY_EXIST", "GONGAN_CHECK_FAIL", "GONGSHANG_CHECK_FAIL", "MERCHANT_INPUT_ARGUMENT_ILLEGAL", "BRAND_ILLEGAL", "CONTACT_PERSON_NAME_NULL", "USER_ILLEGAL", "PROFILE_KEY_ILLEGAL", "SETTLED_BANKCARD_NO_IS_EMPTY", "SETTLED_ACCOUNTHOLDERNAME_EMPTY", "SETTLED_ACCOUNTBRANCHNAME_EMPTY", "SETTLED_ACCOUNTINSTNAME_EMPTY", "SETTLED_USAGETYPE_IS_EMPTY", "BANK_BRANCH_NAME_ILLEGAL", "SETTLED_USAGETYPE_ILLEGAL", "SETTLED_CARD_ACCOUNTINSTID_EMPTY", "SETTLED_CARD_ACCOUNTTYPE_EMPTY", "BANK_ACCOUNTINSTID_ILLEGAL", "SETTLED_CARD_ACCOUNTTYPE_ILLEGAL", "BANK_ACCOUNTINSTNAME_ILLEGAL", "SYSTEM_ERROR" ]
  88229. },
  88230. "links" : {
  88231. "type" : "string",
  88232. "description" : "解决方案链接"
  88233. },
  88234. "message" : {
  88235. "type" : "string",
  88236. "description" : "错误描述"
  88237. }
  88238. }
  88239. },
  88240. "AntMerchantExpandShopConsultModel" : {
  88241. "type" : "object",
  88242. "properties" : {
  88243. "biz_cards" : {
  88244. "type" : "array",
  88245. "description" : "球房结算卡信息。本业务当前只允许传入一张结算卡。\t说明:本参数仅直付通业务使用,其余业务无需关注。",
  88246. "items" : {
  88247. "$ref" : "#/components/schemas/SettleCardInfo"
  88248. }
  88249. },
  88250. "brand_id" : {
  88251. "type" : "string",
  88252. "description" : "品牌id,非加油站等特殊球房无需关注。",
  88253. "example" : "20181026000001"
  88254. },
  88255. "business_address" : {
  88256. "$ref" : "#/components/schemas/AddressInfo"
  88257. },
  88258. "business_time" : {
  88259. "type" : "array",
  88260. "description" : "店铺经营时间。",
  88261. "items" : {
  88262. "$ref" : "#/components/schemas/ShopBusinessTime"
  88263. }
  88264. },
  88265. "cert_image" : {
  88266. "type" : "string",
  88267. "description" : "营业执照图片,需传入<a href=\"https://opendocs.alipay.com/apis/api_1/ant.merchant.expand.indirect.image.upload\">ant.merchant.expand.indirect.image.upload</a> 接口上传图片后得到的 image_id。\t注意:\t* 蚂蚁球房管理场景可选。\t* 间连 M1、M2商家创建球房,必须传入营业执照图片。",
  88268. "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
  88269. },
  88270. "cert_name" : {
  88271. "type" : "string",
  88272. "description" : "营业执照名称,填写值为营业执照或统一社会信用代码证上的名称。\t注意:若传入 cert_no,则本参数必填。",
  88273. "example" : "xxxx小卖铺"
  88274. },
  88275. "cert_no" : {
  88276. "type" : "string",
  88277. "description" : "证件号码,请填写店铺营业执照号。\t注意:\t* 蚂蚁球房管理场景可选。\t* 间连 M1、M2商家创建球房,必须传入营业执照号。",
  88278. "example" : "9133010608210550XR"
  88279. },
  88280. "cert_type" : {
  88281. "type" : "string",
  88282. "description" : "证件类型,取值范围:201:营业执照;2011:多证合一(统一社会信用代码)。\t注意:若传入 cert_no,则本参数必填。",
  88283. "example" : "201"
  88284. },
  88285. "contact_infos" : {
  88286. "type" : "array",
  88287. "description" : "联系人信息。如果填写,其中名称必填,手机、固话、email 三选一必填。",
  88288. "items" : {
  88289. "$ref" : "#/components/schemas/ContactInfo"
  88290. }
  88291. },
  88292. "contact_mobile" : {
  88293. "type" : "string",
  88294. "description" : "店铺联系手机,与店铺联系固话二选一必填",
  88295. "example" : "13901390139"
  88296. },
  88297. "contact_phone" : {
  88298. "type" : "string",
  88299. "description" : "店铺的联系固话,和店铺联系手机二选一必填",
  88300. "example" : "010-62286228"
  88301. },
  88302. "ext_infos" : {
  88303. "type" : "array",
  88304. "description" : "扩展信息列表。key值需要向对应行业的bd进行申请。",
  88305. "items" : {
  88306. "$ref" : "#/components/schemas/ShopExtInfo"
  88307. }
  88308. },
  88309. "ip_role_id" : {
  88310. "type" : "string",
  88311. "description" : "商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。特别说明:IoT设备三绑定场景统一填写商户pid",
  88312. "example" : "2088301155943087"
  88313. },
  88314. "legal_cert_no" : {
  88315. "type" : "string",
  88316. "description" : "法人身份证号。蚂蚁球房管理场景可选。",
  88317. "example" : "100100198811110001"
  88318. },
  88319. "legal_name" : {
  88320. "type" : "string",
  88321. "description" : "法人名称。蚂蚁球房管理场景可选。",
  88322. "example" : "马云"
  88323. },
  88324. "license_auth_letter_image" : {
  88325. "type" : "string",
  88326. "description" : "营业执照授权函。需传入<a href=\"https://opendocs.alipay.com/apis/api_1/ant.merchant.expand.indirect.image.upload\">ant.merchant.expand.indirect.image.upload</a> 接口上传图片后得到的 image_id。\t蚂蚁球房管理场景可选。",
  88327. "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
  88328. },
  88329. "memo" : {
  88330. "type" : "string",
  88331. "description" : "备注",
  88332. "example" : "备注"
  88333. },
  88334. "out_door_images" : {
  88335. "type" : "string",
  88336. "description" : "门头照 id,需传入 <a href=\"https://opendocs.alipay.com/apis/api_1/ant.merchant.expand.indirect.image.upload\">ant.merchant.expand.indirect.image.upload</a> 接口上传图片后得到的 image_id。\t蚂蚁球房管理场景可选。",
  88337. "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
  88338. },
  88339. "qualifications" : {
  88340. "type" : "array",
  88341. "description" : "行业特殊资质。",
  88342. "items" : {
  88343. "$ref" : "#/components/schemas/IndustryQualificationInfo"
  88344. }
  88345. },
  88346. "scene" : {
  88347. "type" : "string",
  88348. "description" : "场景,非加油站等特殊球房无需关注。",
  88349. "example" : "PARK"
  88350. },
  88351. "settle_alipay_logon_id" : {
  88352. "type" : "string",
  88353. "description" : "结算支付宝账号的登录号,需传入小程序归属账号。若需增加收款账号,可在创建球房后登录<a href=\"https://b.alipay.com/index2.htm\">商家中心</a> ,在 账户中心 > 经营信息 > 球房管理 中选择对应球房选择 更多 > 编辑 > 新增收款账号。",
  88354. "example" : "demo@163.com"
  88355. },
  88356. "shop_category" : {
  88357. "type" : "string",
  88358. "description" : "新版球房类目标准二级类目code。类目标准及与原类目映射关系参见 <a href=\"https://ur.alipay.com/4cmn0n\">支付宝球房类目-最新</a> 表格。",
  88359. "example" : "B0001"
  88360. },
  88361. "shop_name" : {
  88362. "type" : "string",
  88363. "description" : "店铺名称。直连开店要保证全局店铺名称+地址唯一,间连开店要保证服务商pid下店铺名称+地址唯一",
  88364. "example" : "肯德基中关村店"
  88365. },
  88366. "shop_type" : {
  88367. "type" : "string",
  88368. "description" : "店铺经营类型,01表示直营,02表示加盟",
  88369. "example" : "01"
  88370. },
  88371. "store_id" : {
  88372. "type" : "string",
  88373. "description" : "球房编号,表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号",
  88374. "example" : "NO0001"
  88375. }
  88376. }
  88377. },
  88378. "AntMerchantExpandShopConsultResponseModel" : {
  88379. "type" : "object",
  88380. "properties" : {
  88381. "account_audit" : {
  88382. "type" : "boolean",
  88383. "description" : "资金账户是否审核。当调用没有报错时,本值才有参考意义",
  88384. "example" : "true"
  88385. },
  88386. "order_id" : {
  88387. "type" : "string",
  88388. "description" : "咨询申请单id",
  88389. "example" : "2018011900502000000005124744"
  88390. },
  88391. "risk_audit" : {
  88392. "type" : "boolean",
  88393. "description" : "是否风控审核。当调用没有报错时,本值才有参考意义",
  88394. "example" : "true"
  88395. }
  88396. }
  88397. },
  88398. "AntMerchantExpandShopCreateErrorResponseModel" : {
  88399. "required" : [ "code", "message" ],
  88400. "type" : "object",
  88401. "properties" : {
  88402. "code" : {
  88403. "type" : "string",
  88404. "description" : "错误码",
  88405. "enum" : [ "NOT_ALLOWED_SETTLE", "SHOP_CATEGORY_IS_ILLEGAL", "ISV_NOT_EXIST", "SHOP_ACCOUNT_NO_IS_ILLEGAL", "SHOP_SHOPNO_IS_EMPTY", "INDUSTRY_QUALIFICATION_IS_EMPTY", "SETTLED_OUTDOORIMAGE_EMPTY", "SHOP_SHOPNAME_IS_EMPTY", "SETTLED_BIZ_ADDRESS_ILLEGAL", "SHOP_CATEGORY_IS_EMPTY", "CONTACT_WAY_VALUE_NULL", "ADDRESS_PROVINCE_CODE_ILLEGAL", "ADDRESS_CITY_CODE_ILLEGAL", "ADDRESS_DISTRICT_CODE_ILLEGAL", "SHOP_ALREADY_EXIST", "GONGAN_CHECK_FAIL", "GONGSHANG_CHECK_FAIL", "MERCHANT_INPUT_ARGUMENT_ILLEGAL", "CONTACT_PERSON_NAME_NULL", "USER_ILLEGAL", "BRAND_ILLEGAL", "PROFILE_KEY_ILLEGAL", "SETTLED_BANKCARD_NO_IS_EMPTY", "SETTLED_ACCOUNTHOLDERNAME_EMPTY", "SETTLED_ACCOUNTBRANCHNAME_EMPTY", "SETTLED_ACCOUNTINSTNAME_EMPTY", "SETTLED_USAGETYPE_IS_EMPTY", "BANK_BRANCH_NAME_ILLEGAL", "SETTLED_USAGETYPE_ILLEGAL", "SETTLED_CARD_ACCOUNTINSTID_EMPTY", "SETTLED_CARD_ACCOUNTTYPE_EMPTY", "BANK_ACCOUNTINSTID_ILLEGAL", "SETTLED_CARD_ACCOUNTTYPE_ILLEGAL", "BANK_ACCOUNTINSTNAME_ILLEGAL", "SYSTEM_ERROR", "GONGSHANG_LICENSE_ILLEGAL", "BUSINESS_LICENSE_EMPTY", "MER_ARGUMENT_NULL", "MERCHANT_NOT_EXIST", "ATTACHMENT_TYPE_ILLEGAL", "SHOP_NOT_EXIST", "ATTACHMENT_URL_NULL", "LOCATION_CHECK_FAIL", "ATTACHMENT_CHECK_FAIL", "BUSINESS_TIME_ILLEGAL", "SHOP_AUDIT_REJECT", "MER_ARGUMENT_ILLEGAL", "CTU_INDIRECT_CREATE_FAIL" ]
  88406. },
  88407. "links" : {
  88408. "type" : "string",
  88409. "description" : "解决方案链接"
  88410. },
  88411. "message" : {
  88412. "type" : "string",
  88413. "description" : "错误描述"
  88414. }
  88415. }
  88416. },
  88417. "AntMerchantExpandShopCreateModel" : {
  88418. "type" : "object",
  88419. "properties" : {
  88420. "biz_cards" : {
  88421. "type" : "array",
  88422. "description" : "球房结算卡信息。本业务当前只允许传入一张结算卡。\t说明:本参数仅直付通业务使用,其余业务无需关注。",
  88423. "items" : {
  88424. "$ref" : "#/components/schemas/SettleCardInfo"
  88425. }
  88426. },
  88427. "brand_id" : {
  88428. "type" : "string",
  88429. "description" : "品牌id,非加油站等特殊球房无需关注。",
  88430. "example" : "20181026000001"
  88431. },
  88432. "business_address" : {
  88433. "$ref" : "#/components/schemas/AddressInfo"
  88434. },
  88435. "business_time" : {
  88436. "type" : "array",
  88437. "description" : "店铺经营时间。",
  88438. "items" : {
  88439. "$ref" : "#/components/schemas/ShopBusinessTime"
  88440. }
  88441. },
  88442. "cert_image" : {
  88443. "type" : "string",
  88444. "description" : "营业执照图片,需传入<a href=\"https://opendocs.alipay.com/apis/api_1/ant.merchant.expand.indirect.image.upload\">ant.merchant.expand.indirect.image.upload</a> 接口上传图片后得到的 image_id。",
  88445. "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
  88446. },
  88447. "cert_name" : {
  88448. "type" : "string",
  88449. "description" : "营业执照名称,填写值为营业执照或统一社会信用代码证上的名称。\t注意:若传入 cert_no,则本参数必填。",
  88450. "example" : "xxxx小卖铺"
  88451. },
  88452. "cert_no" : {
  88453. "type" : "string",
  88454. "description" : "证件号码,请填写店铺营业执照号。",
  88455. "example" : "9133010608210550XR"
  88456. },
  88457. "cert_type" : {
  88458. "type" : "string",
  88459. "description" : "证件类型,取值范围:201:营业执照;2011:多证合一(统一社会信用代码)。\t注意:若传入 cert_no,则本参数必填。",
  88460. "example" : "201"
  88461. },
  88462. "contact_infos" : {
  88463. "type" : "array",
  88464. "description" : "联系人信息。如果填写,其中名称必填,手机、固话、email 三选一必填。",
  88465. "items" : {
  88466. "$ref" : "#/components/schemas/ContactInfo"
  88467. }
  88468. },
  88469. "contact_mobile" : {
  88470. "type" : "string",
  88471. "description" : "店铺联系手机,与店铺联系固话二选一必填",
  88472. "example" : "13901390139"
  88473. },
  88474. "contact_phone" : {
  88475. "type" : "string",
  88476. "description" : "店铺的联系固话,和店铺联系手机二选一必填",
  88477. "example" : "010-62286228"
  88478. },
  88479. "ext_infos" : {
  88480. "type" : "array",
  88481. "description" : "扩展信息列表。key值需要向对应行业的bd进行申请。",
  88482. "items" : {
  88483. "$ref" : "#/components/schemas/ShopExtInfo"
  88484. }
  88485. },
  88486. "ip_role_id" : {
  88487. "type" : "string",
  88488. "description" : "商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。特别说明:IoT设备三绑定场景统一填写商户pid",
  88489. "example" : "2088301155943087"
  88490. },
  88491. "legal_cert_no" : {
  88492. "type" : "string",
  88493. "description" : "法人身份证号。通过蚂蚁球房管理能力创建球房时可选。",
  88494. "example" : "100100198811110001"
  88495. },
  88496. "legal_name" : {
  88497. "type" : "string",
  88498. "description" : "法人名称。通过蚂蚁球房管理能力创建球房时可选。",
  88499. "example" : "支小宝"
  88500. },
  88501. "license_auth_letter_image" : {
  88502. "type" : "string",
  88503. "description" : "营业执照授权函。需传入<a href=\"https://opendocs.alipay.com/apis/api_1/ant.merchant.expand.indirect.image.upload\">ant.merchant.expand.indirect.image.upload</a> 接口上传图片后得到的 image_id。\t通过蚂蚁球房管理能力创建球房时可选。",
  88504. "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
  88505. },
  88506. "memo" : {
  88507. "type" : "string",
  88508. "description" : "备注",
  88509. "example" : "备注"
  88510. },
  88511. "out_door_images" : {
  88512. "type" : "array",
  88513. "description" : "门头照 id,需传入<a href=\"https://opendocs.alipay.com/apis/api_1/ant.merchant.expand.indirect.image.upload\">ant.merchant.expand.indirect.image.upload</a> 接口上传图片后得到的 image_id。\t通过蚂蚁球房管理能力创建球房时可选。",
  88514. "items" : {
  88515. "type" : "string"
  88516. },
  88517. "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
  88518. },
  88519. "qualifications" : {
  88520. "type" : "array",
  88521. "description" : "行业特殊资质。",
  88522. "items" : {
  88523. "$ref" : "#/components/schemas/IndustryQualificationInfo"
  88524. }
  88525. },
  88526. "scene" : {
  88527. "type" : "string",
  88528. "description" : "场景,非加油站/酒店等特殊球房无需关注。",
  88529. "example" : "PARK"
  88530. },
  88531. "settle_alipay_logon_id" : {
  88532. "type" : "string",
  88533. "description" : "结算支付宝账号的登录号。",
  88534. "example" : "demo@163.com"
  88535. },
  88536. "shop_category" : {
  88537. "type" : "string",
  88538. "description" : "新版球房类目标准二级类目code。类目标准及与原类目映射关系参见 <a href=\"https://gw.alipayobjects.com/os/bmw-prod/4b3f82df-e53e-4b84-bc41-fe025101e726.xlsx\">支付宝球房类目-最新</a> 表格。",
  88539. "example" : "B0001"
  88540. },
  88541. "shop_name" : {
  88542. "type" : "string",
  88543. "description" : "店铺名称。直连开店要保证全局店铺名称+地址唯一,间连开店要保证服务商pid下店铺名称+地址唯一",
  88544. "example" : "肯德基中关村店"
  88545. },
  88546. "shop_type" : {
  88547. "type" : "string",
  88548. "description" : "店铺经营类型,01表示直营,02表示加盟",
  88549. "example" : "01"
  88550. },
  88551. "store_id" : {
  88552. "type" : "string",
  88553. "description" : "球房编号,表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号",
  88554. "example" : "NO0001"
  88555. }
  88556. }
  88557. },
  88558. "AntMerchantExpandShopCreateResponseModel" : {
  88559. "type" : "object",
  88560. "properties" : {
  88561. "exist_shop_id" : {
  88562. "type" : "string",
  88563. "description" : "触发幂等时返回已存在的球房shopId",
  88564. "example" : "2022102800077000000039913046"
  88565. },
  88566. "order_id" : {
  88567. "type" : "string",
  88568. "description" : "申请单id",
  88569. "example" : "2018012000502000000005130266"
  88570. }
  88571. }
  88572. },
  88573. "AntMerchantExpandShopModifyErrorResponseModel" : {
  88574. "required" : [ "code", "message" ],
  88575. "type" : "object",
  88576. "properties" : {
  88577. "code" : {
  88578. "type" : "string",
  88579. "description" : "错误码",
  88580. "enum" : [ "NOT_ALLOWED_SETTLE", "SHOP_CATEGORY_IS_ILLEGAL", "ISV_NOT_EXIST", "SHOP_ACCOUNT_NO_IS_ILLEGAL", "INDUSTRY_QUALIFICATION_IS_EMPTY", "SETTLED_OUTDOORIMAGE_EMPTY", "SETTLED_BIZ_ADDRESS_ILLEGAL", "SHOP_CATEGORY_IS_EMPTY", "CONTACT_WAY_VALUE_NULL", "ADDRESS_PROVINCE_CODE_ILLEGAL", "ADDRESS_CITY_CODE_ILLEGAL", "ADDRESS_DISTRICT_CODE_ILLEGAL", "GONGAN_CHECK_FAIL", "GONGSHANG_CHECK_FAIL", "MERCHANT_INPUT_ARGUMENT_ILLEGAL", "CONTACT_PERSON_NAME_NULL", "USER_ILLEGAL", "BRAND_ILLEGAL", "PROFILE_KEY_ILLEGAL", "MER_ARGUMENT_NULL", "IP_ROLE_ID_DO_NOT_CHANGE", "SHOP_NOT_EXIST", "RELATION_NOT_EXIST", "SHOP_ALREADY_EXIST", "SETTLED_BANKCARD_NO_IS_EMPTY", "SETTLED_ACCOUNTHOLDERNAME_EMPTY", "SETTLED_ACCOUNTBRANCHNAME_EMPTY", "SETTLED_ACCOUNTINSTNAME_EMPTY", "SETTLED_USAGETYPE_IS_EMPTY", "BANK_BRANCH_NAME_ILLEGAL", "SETTLED_USAGETYPE_ILLEGAL", "SETTLED_CARD_ACCOUNTINSTID_EMPTY", "SETTLED_CARD_ACCOUNTTYPE_EMPTY", "BANK_ACCOUNTINSTID_ILLEGAL", "SETTLED_CARD_ACCOUNTTYPE_ILLEGAL", "BANK_ACCOUNTINSTNAME_ILLEGAL", "SETTLED_ALIPAYACCOUNT_NOT_EXIST", "GONGSHANG_LICENSE_ILLEGAL", "SYSTEM_ERROR", "SHOP_TYPE_ILLEGAL", "LOCATION_CHECK_FAIL", "ATTACHMENT_CHECK_FAIL", "BUSINESS_TIME_ILLEGAL", "SHOP_AUDIT_REJECT", "ATTACHMENT_URL_NULL", "SHOP_CODE_ALREADY_EXIST", "MER_ARGUMENT_ILLEGAL" ]
  88581. },
  88582. "links" : {
  88583. "type" : "string",
  88584. "description" : "解决方案链接"
  88585. },
  88586. "message" : {
  88587. "type" : "string",
  88588. "description" : "错误描述"
  88589. }
  88590. }
  88591. },
  88592. "AntMerchantExpandShopModifyModel" : {
  88593. "type" : "object",
  88594. "properties" : {
  88595. "biz_cards" : {
  88596. "type" : "array",
  88597. "description" : "球房结算卡信息。本业务当前只允许传入一张结算卡。\t说明:本参数仅直付通业务使用,其余业务无需关注。",
  88598. "items" : {
  88599. "$ref" : "#/components/schemas/SettleCardInfo"
  88600. }
  88601. },
  88602. "brand_id" : {
  88603. "type" : "string",
  88604. "description" : "品牌id。若无需更新本信息项,可以不填写",
  88605. "example" : "20181026000001"
  88606. },
  88607. "business_address" : {
  88608. "$ref" : "#/components/schemas/AddressInfo"
  88609. },
  88610. "business_time" : {
  88611. "type" : "array",
  88612. "description" : "店铺经营时间。若无需更新本信息项,可以不填写",
  88613. "items" : {
  88614. "$ref" : "#/components/schemas/ShopBusinessTime"
  88615. }
  88616. },
  88617. "cert_image" : {
  88618. "type" : "string",
  88619. "description" : "营业执照图片url。其值为使用ant.merchant.expand.indirect.image.upload上传图片得到的一串oss key。若无需更新本信息项,可以不填写",
  88620. "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
  88621. },
  88622. "cert_name" : {
  88623. "type" : "string",
  88624. "description" : "营业执照名称,填写值为营业执照或统一社会信用代码证上的名称。若无需更新本信息项,可以不填写\t注意:若传入 cert_no 则本参数必填。",
  88625. "example" : "xxxx小卖铺"
  88626. },
  88627. "cert_no" : {
  88628. "type" : "string",
  88629. "description" : "证件号码。请填写店铺营业执照号。若无需更新本信息项,可以不填写,以原有值为准",
  88630. "example" : "9133010608210550XR"
  88631. },
  88632. "cert_type" : {
  88633. "type" : "string",
  88634. "description" : "证件类型,取值范围:201:营业执照;2011:多证合一(统一社会信用代码)。若无需更新本信息项,可以不填写。\t注意:若传入 cert_no 则本参数必填。",
  88635. "example" : "201"
  88636. },
  88637. "contact_infos" : {
  88638. "$ref" : "#/components/schemas/ContactInfo"
  88639. },
  88640. "contact_mobile" : {
  88641. "type" : "string",
  88642. "description" : "店铺联系手机。若无需更新本信息项,可以不填写,以原有值为准",
  88643. "example" : "13901390139"
  88644. },
  88645. "contact_phone" : {
  88646. "type" : "string",
  88647. "description" : "店铺的联系固话。若无需更新本信息项,可以不填写,以原有值为准",
  88648. "example" : "010-62286228"
  88649. },
  88650. "ext_infos" : {
  88651. "type" : "array",
  88652. "description" : "扩展信息列表。key值需要向对应行业的bd进行申请。传入本项时,按key进行更新或补充",
  88653. "items" : {
  88654. "$ref" : "#/components/schemas/ShopExtInfo"
  88655. }
  88656. },
  88657. "ip_role_id" : {
  88658. "type" : "string",
  88659. "description" : "商户角色id,表示将要修改的店属于哪个商户角色,和store_id一起定位待修改的球房。对于直连场景,填写商户pid;对于间连场景(线上、线下、直付通),填写商户smid。本接口中,如果没传shop_id,则本字段与store_id均必填。本信息项不可修改",
  88660. "example" : "2088301155943087"
  88661. },
  88662. "legal_cert_no" : {
  88663. "type" : "string",
  88664. "description" : "法人身份证号。如果要更新,必须和legal_name成对传入",
  88665. "example" : "100100198811110001"
  88666. },
  88667. "legal_name" : {
  88668. "type" : "string",
  88669. "description" : "法人名称。如果要更新,必须和legal_cert_no成对传入",
  88670. "example" : "支小宝"
  88671. },
  88672. "license_auth_letter_image" : {
  88673. "type" : "string",
  88674. "description" : "营业执照授权函。其值为使用ant.merchant.expand.indirect.image.upload上传图片得到的一串oss key。若无需更新本信息项,可以不填写",
  88675. "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
  88676. },
  88677. "memo" : {
  88678. "type" : "string",
  88679. "description" : "备注。若无需更新本信息项,可以不填写",
  88680. "example" : "备注"
  88681. },
  88682. "out_door_images" : {
  88683. "type" : "array",
  88684. "description" : "门头照,其值为使用ant.merchant.expand.indirect.image.upload上传图片得到的一串oss key。若无需更新本信息项,可以不填写。若填写则会整体覆盖原有的门头照列表",
  88685. "items" : {
  88686. "type" : "string"
  88687. },
  88688. "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
  88689. },
  88690. "qualifications" : {
  88691. "type" : "array",
  88692. "description" : "行业特殊资质。若无需更新本信息项,可以不填写。填写会按类型进行更新或补充",
  88693. "items" : {
  88694. "$ref" : "#/components/schemas/IndustryQualificationInfo"
  88695. }
  88696. },
  88697. "scene" : {
  88698. "type" : "string",
  88699. "description" : "场景。若无需更新本信息项,可以不填写",
  88700. "example" : "PARK"
  88701. },
  88702. "settle_alipay_logon_id" : {
  88703. "type" : "string",
  88704. "description" : "结算支付宝账号的登录号。若无需更新本信息项,可以不填写",
  88705. "example" : "demo@163.com"
  88706. },
  88707. "shop_category" : {
  88708. "type" : "string",
  88709. "description" : "新版球房类目标准二级类目code。类目标准及与原shop_category映射关系参见表格 https://ur.alipay.com/2qv1f9。若无需更新本信息项,可以不填写",
  88710. "example" : "B0001"
  88711. },
  88712. "shop_id" : {
  88713. "type" : "string",
  88714. "description" : "蚂蚁店铺id,用于查出待修改的球房。填写本参数的话,store_id和ip_role_id可以不填。本信息项不可修改",
  88715. "example" : "2018011900502000000005124744"
  88716. },
  88717. "shop_name" : {
  88718. "type" : "string",
  88719. "description" : "店铺名称。直连开店要保证全局店铺名称+地址唯一,间连开店要保证服务商pid下店铺名称+地址唯一。若无需更新本信息项,可以不填写",
  88720. "example" : "肯德基中关村店"
  88721. },
  88722. "store_id" : {
  88723. "type" : "string",
  88724. "description" : "球房编号,表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号。用于查出待修改的球房。本接口中,如果没传shop_id,则本字段与ip_role_id均必填;传入shop_id情况下,以shop_id为准查询球房,并修改本信息项",
  88725. "example" : "NO0001"
  88726. }
  88727. }
  88728. },
  88729. "AntMerchantExpandShopModifyResponseModel" : {
  88730. "type" : "object",
  88731. "properties" : {
  88732. "order_id" : {
  88733. "type" : "string",
  88734. "description" : "申请单id",
  88735. "example" : "2018012000502000000005130266"
  88736. }
  88737. }
  88738. },
  88739. "AntMerchantExpandShopPageQueryErrorResponseModel" : {
  88740. "required" : [ "code", "message" ],
  88741. "type" : "object",
  88742. "properties" : {
  88743. "code" : {
  88744. "type" : "string",
  88745. "description" : "错误码",
  88746. "enum" : [ "MER_ARGUMENT_NULL", "NOT_ALLOWED_SETTLE", "MERCHANT_NOT_EXIST", "SYSTEM_ERROR", "ADDRESS_VERSION_CODE_ILLEGAL" ]
  88747. },
  88748. "links" : {
  88749. "type" : "string",
  88750. "description" : "解决方案链接"
  88751. },
  88752. "message" : {
  88753. "type" : "string",
  88754. "description" : "错误描述"
  88755. }
  88756. }
  88757. },
  88758. "AntMerchantExpandShopPageQueryResponseModel" : {
  88759. "type" : "object",
  88760. "properties" : {
  88761. "shop_infos" : {
  88762. "type" : "array",
  88763. "description" : "球房详情",
  88764. "items" : {
  88765. "$ref" : "#/components/schemas/ShopQueryOpenApiVO"
  88766. }
  88767. },
  88768. "total_pages" : {
  88769. "type" : "integer",
  88770. "description" : "总页数",
  88771. "example" : "10"
  88772. }
  88773. }
  88774. },
  88775. "AntMerchantExpandShopQueryErrorResponseModel" : {
  88776. "required" : [ "code", "message" ],
  88777. "type" : "object",
  88778. "properties" : {
  88779. "code" : {
  88780. "type" : "string",
  88781. "description" : "错误码",
  88782. "enum" : [ "MER_ARGUMENT_NULL", "SHOP_NOT_EXIST", "RELATION_NOT_EXIST", "NOT_ALLOWED_SETTLE", "MERCHANT_NOT_EXIST", "ADDRESS_VERSION_CODE_ILLEGAL", "SYSTEM_ERROR", "THIRD_SYSTEM_ERROR" ]
  88783. },
  88784. "links" : {
  88785. "type" : "string",
  88786. "description" : "解决方案链接"
  88787. },
  88788. "message" : {
  88789. "type" : "string",
  88790. "description" : "错误描述"
  88791. }
  88792. }
  88793. },
  88794. "AntMerchantExpandShopQueryResponseModel" : {
  88795. "type" : "object",
  88796. "properties" : {
  88797. "brand_id" : {
  88798. "type" : "string",
  88799. "description" : "品牌id",
  88800. "example" : "20181026000001"
  88801. },
  88802. "business_address" : {
  88803. "$ref" : "#/components/schemas/AddressInfo"
  88804. },
  88805. "business_time" : {
  88806. "type" : "array",
  88807. "description" : "店铺经营时间。",
  88808. "items" : {
  88809. "$ref" : "#/components/schemas/ShopBusinessTime"
  88810. }
  88811. },
  88812. "cert_image" : {
  88813. "type" : "string",
  88814. "description" : "营业执照图片url。返回值为一个有访问时限的链接",
  88815. "example" : "https://mif-pub.alipayobjects.com/c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
  88816. },
  88817. "cert_name" : {
  88818. "type" : "string",
  88819. "description" : "营业执照名称,值为营业执照或统一社会信用代码证上的名称。",
  88820. "example" : "xxxx小卖铺"
  88821. },
  88822. "cert_no" : {
  88823. "type" : "string",
  88824. "description" : "证件号码",
  88825. "example" : "9133010608210550XR"
  88826. },
  88827. "cert_type" : {
  88828. "type" : "string",
  88829. "description" : "证件类型,取值范围:201:营业执照;2011:多证合一(统一社会信用代码)。",
  88830. "example" : "201"
  88831. },
  88832. "contact_infos" : {
  88833. "type" : "array",
  88834. "description" : "联系人信息。",
  88835. "items" : {
  88836. "$ref" : "#/components/schemas/ContactInfo"
  88837. }
  88838. },
  88839. "contact_mobile" : {
  88840. "type" : "string",
  88841. "description" : "店铺联系手机",
  88842. "example" : "13901390139"
  88843. },
  88844. "contact_phone" : {
  88845. "type" : "string",
  88846. "description" : "店铺的联系固话",
  88847. "example" : "010-62286228"
  88848. },
  88849. "ext_infos" : {
  88850. "type" : "array",
  88851. "description" : "扩展信息列表。key值需要向对应行业的bd进行申请。",
  88852. "items" : {
  88853. "$ref" : "#/components/schemas/ShopExtInfo"
  88854. }
  88855. },
  88856. "ip_role_id" : {
  88857. "type" : "string",
  88858. "description" : "商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。若未传入shop_id 则本参数与store_id均必填。",
  88859. "example" : "2088301155943087"
  88860. },
  88861. "legal_cert_no" : {
  88862. "type" : "string",
  88863. "description" : "法人身份证号。",
  88864. "example" : "100100198811110001"
  88865. },
  88866. "legal_name" : {
  88867. "type" : "string",
  88868. "description" : "法人名称。",
  88869. "example" : "马云"
  88870. },
  88871. "license_auth_letter_image" : {
  88872. "type" : "string",
  88873. "description" : "营业执照授权函。返回值为一个有访问时限的链接",
  88874. "example" : "https://mif-pub.alipayobjects.com/c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
  88875. },
  88876. "memo" : {
  88877. "type" : "string",
  88878. "description" : "备注",
  88879. "example" : "备注"
  88880. },
  88881. "new_shop_category" : {
  88882. "type" : "string",
  88883. "description" : "新版球房类目标准二级类目code。类目标准及与原shop_category映射关系参见文档https://gw.alipayobjects.com/os/bmw-prod/4b3f82df-e53e-4b84-bc41-fe025101e726.xlsx",
  88884. "example" : "B0001"
  88885. },
  88886. "out_door_images" : {
  88887. "type" : "array",
  88888. "description" : "门头照,返回值为一个有访问时限的链接",
  88889. "items" : {
  88890. "type" : "string"
  88891. },
  88892. "example" : "https://mif-pub.alipayobjects.com/c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
  88893. },
  88894. "qualifications" : {
  88895. "type" : "array",
  88896. "description" : "行业特殊资质。",
  88897. "items" : {
  88898. "$ref" : "#/components/schemas/IndustryQualificationInfo"
  88899. }
  88900. },
  88901. "scene" : {
  88902. "type" : "string",
  88903. "description" : "场景",
  88904. "example" : "PARK"
  88905. },
  88906. "settle_alipay_logon_id" : {
  88907. "type" : "string",
  88908. "description" : "结算支付宝账号的登录号",
  88909. "example" : "demo@163.com"
  88910. },
  88911. "shop_category" : {
  88912. "type" : "string",
  88913. "description" : "店铺类目,取值参见文件https://mif-pub.alipayobjects.com/ShopCategory.xlsx 中的三级球房类目",
  88914. "example" : "1001"
  88915. },
  88916. "shop_id" : {
  88917. "type" : "string",
  88918. "description" : "支付宝侧蚂蚁店铺 id。传入本参数后可不填 store_id 及 ip_role_id。",
  88919. "example" : "2018011900502000000005124744"
  88920. },
  88921. "shop_info_status" : {
  88922. "type" : "string",
  88923. "description" : "当前名称、地址、经纬度信息准确一致,可用于数字化经营场景消费(01=已认证,02=待优化,03=审核中,99=未知)",
  88924. "example" : "01"
  88925. },
  88926. "shop_name" : {
  88927. "type" : "string",
  88928. "description" : "店铺名称。",
  88929. "example" : "肯德基中关村店"
  88930. },
  88931. "shop_recommend_info" : {
  88932. "$ref" : "#/components/schemas/ShopRecommendInfo"
  88933. },
  88934. "shop_type" : {
  88935. "type" : "string",
  88936. "description" : "店铺经营类型,01表示直营,02表示加盟",
  88937. "example" : "01"
  88938. },
  88939. "store_id" : {
  88940. "type" : "string",
  88941. "description" : "商户侧球房编号。表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号。若未传入 shop_id 则本参数与与ip_role_id均必填。",
  88942. "example" : "NO0001"
  88943. }
  88944. }
  88945. },
  88946. "AntMerchantExpandShopReceiptaccountSaveErrorResponseModel" : {
  88947. "required" : [ "code", "message" ],
  88948. "type" : "object",
  88949. "properties" : {
  88950. "code" : {
  88951. "type" : "string",
  88952. "description" : "错误码",
  88953. "enum" : [ "MER_ARGUMENT_NULL", "SHOP_NOT_EXIST", "RECEIPT_ACCOUNT_NOT_EXIST", "RECEIPT_ACCOUNT_EXISTS", "RECEIPT_ACCOUNT_EXCEED_LIMIT", "SYSTEM_ERROR", "MERCHANT_NOT_EXIST", "NOT_ALLOWED_SETTLE" ]
  88954. },
  88955. "links" : {
  88956. "type" : "string",
  88957. "description" : "解决方案链接"
  88958. },
  88959. "message" : {
  88960. "type" : "string",
  88961. "description" : "错误描述"
  88962. }
  88963. }
  88964. },
  88965. "AntMerchantExpandShopReceiptaccountSaveModel" : {
  88966. "type" : "object",
  88967. "properties" : {
  88968. "promise" : {
  88969. "type" : "string",
  88970. "description" : "是否承诺收单账号信息准确。具体承诺信息可查看 <a href=\"https://gw.alipayobjects.com/os/bmw-prod/922bafa8-a712-4f79-aa32-6f08d7359a5c.docx\">球房信息承诺函</a>。\tY 是\tN 否",
  88971. "example" : "Y"
  88972. },
  88973. "receipt_account_id" : {
  88974. "type" : "string",
  88975. "description" : "收单账号",
  88976. "example" : "2088502344354813"
  88977. },
  88978. "shop_id" : {
  88979. "type" : "string",
  88980. "description" : "店铺ID",
  88981. "example" : "2022062300502007000073505619"
  88982. }
  88983. }
  88984. },
  88985. "AntMerchantExpandShopReceiptaccountSaveResponseModel" : {
  88986. "type" : "object"
  88987. },
  88988. "AnttechOceanbaseTestplatformTaskQueryErrorResponseModel" : {
  88989. "required" : [ "code", "message" ],
  88990. "type" : "object",
  88991. "properties" : {
  88992. "code" : {
  88993. "type" : "string",
  88994. "description" : "错误码",
  88995. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  88996. },
  88997. "links" : {
  88998. "type" : "string",
  88999. "description" : "解决方案链接"
  89000. },
  89001. "message" : {
  89002. "type" : "string",
  89003. "description" : "错误描述"
  89004. }
  89005. }
  89006. },
  89007. "AnttechOceanbaseTestplatformTaskQueryModel" : {
  89008. "type" : "object",
  89009. "properties" : {
  89010. "end_time" : {
  89011. "type" : "string",
  89012. "description" : "筛选结束时间",
  89013. "example" : "2022-04-18 15:28:52"
  89014. },
  89015. "palyer" : {
  89016. "type" : "string",
  89017. "description" : "参赛选手的名字",
  89018. "example" : "无名选手"
  89019. },
  89020. "run_task_retry" : {
  89021. "type" : "integer",
  89022. "description" : "允许超时任务的重试次数",
  89023. "example" : "3"
  89024. },
  89025. "run_task_time_out_minutes" : {
  89026. "type" : "integer",
  89027. "description" : "获取任务时先获取超时任务,这里传入的是超时的分钟数。默认30分钟。",
  89028. "example" : "30"
  89029. },
  89030. "start_time" : {
  89031. "type" : "string",
  89032. "description" : "获取任务的筛选条件",
  89033. "example" : "2022-04-15 18:36:24"
  89034. },
  89035. "test_cases" : {
  89036. "type" : "string",
  89037. "description" : "二级提测题目",
  89038. "example" : "查询元数据校验select-meta"
  89039. },
  89040. "test_info" : {
  89041. "type" : "string",
  89042. "description" : "测试结果描述、备注信息",
  89043. "example" : "代码风格比较好"
  89044. },
  89045. "test_suite" : {
  89046. "type" : "string",
  89047. "description" : "一级提测题目",
  89048. "example" : "mini-ob"
  89049. }
  89050. }
  89051. },
  89052. "AnttechOceanbaseTestplatformTaskQueryResponseModel" : {
  89053. "type" : "object",
  89054. "properties" : {
  89055. "branch" : {
  89056. "type" : "string",
  89057. "description" : "提测代码的分支",
  89058. "example" : "test-miniob"
  89059. },
  89060. "commit_id" : {
  89061. "type" : "string",
  89062. "description" : "提测代码仓库的commit id",
  89063. "example" : "586cbbe560dff2792dcc76e5705367b21fa1df5d"
  89064. },
  89065. "current_retry" : {
  89066. "type" : "string",
  89067. "description" : "当前任务的运行(重试)次数",
  89068. "example" : "1"
  89069. },
  89070. "git_repo" : {
  89071. "type" : "string",
  89072. "description" : "代码仓库的url",
  89073. "example" : "https://github.com/oceanbase/oceanbase.git"
  89074. },
  89075. "gmt_create" : {
  89076. "type" : "string",
  89077. "description" : "任务创建的时间戳",
  89078. "example" : "2022-04-15 18:36:24"
  89079. },
  89080. "player" : {
  89081. "type" : "string",
  89082. "description" : "参赛选手的名字",
  89083. "example" : "无名选手"
  89084. },
  89085. "result_type" : {
  89086. "type" : "integer",
  89087. "description" : "提测结果类型 默认1",
  89088. "example" : "1"
  89089. },
  89090. "task_id" : {
  89091. "type" : "integer",
  89092. "description" : "测试任务的Id",
  89093. "example" : "1"
  89094. },
  89095. "test_cases" : {
  89096. "type" : "string",
  89097. "description" : "二级提测题目",
  89098. "example" : "查询元数据校验select-meta"
  89099. },
  89100. "test_info" : {
  89101. "type" : "string",
  89102. "description" : "测试题目",
  89103. "example" : "必做。查询语句中存在不存在的列名、表名等,需要返回失败。需要检查代码,判断是否需要返回错误的地方都返回错误了。"
  89104. },
  89105. "test_suite" : {
  89106. "type" : "string",
  89107. "description" : "一级提测题目",
  89108. "example" : "mini-ob"
  89109. }
  89110. }
  89111. },
  89112. "AppMemberInfo" : {
  89113. "type" : "object",
  89114. "properties" : {
  89115. "gmt_invite" : {
  89116. "type" : "string",
  89117. "description" : "邀请时间",
  89118. "example" : "2017-09-08 12:00:00"
  89119. },
  89120. "gmt_join" : {
  89121. "type" : "string",
  89122. "description" : "加入时间",
  89123. "example" : "2017-08-12"
  89124. },
  89125. "logon_id" : {
  89126. "type" : "string",
  89127. "description" : "支付宝登录账号",
  89128. "example" : "test@example.com"
  89129. },
  89130. "nick_name" : {
  89131. "type" : "string",
  89132. "description" : "昵称",
  89133. "example" : "张三"
  89134. },
  89135. "open_id" : {
  89136. "type" : "string",
  89137. "description" : "支付宝用户openId",
  89138. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  89139. },
  89140. "portrait" : {
  89141. "type" : "string",
  89142. "description" : "头像地址",
  89143. "example" : "http://imageg.alipay.com/1"
  89144. },
  89145. "role" : {
  89146. "type" : "string",
  89147. "description" : "角色类型",
  89148. "example" : "DEVELOPER"
  89149. },
  89150. "status" : {
  89151. "type" : "string",
  89152. "description" : "成员的状态,VALID-有效,UNCONFIRMED-未确认,TIMEOUT-已经失效,REFUSED-用户拒绝",
  89153. "example" : "VALID"
  89154. },
  89155. "user_id" : {
  89156. "type" : "string",
  89157. "description" : "支付宝用户id",
  89158. "example" : "20881234123412341234"
  89159. }
  89160. }
  89161. },
  89162. "AppTokenExchangeSubElement" : {
  89163. "type" : "object",
  89164. "properties" : {
  89165. "app_auth_token" : {
  89166. "type" : "string",
  89167. "description" : "应用授权令牌",
  89168. "example" : "201509BBeff9351ad1874306903e96b91d248A36"
  89169. },
  89170. "app_refresh_token" : {
  89171. "type" : "string",
  89172. "description" : "刷新令牌",
  89173. "example" : "201509BBdcba1e3347de4e75ba3fed2c9abebE36"
  89174. },
  89175. "auth_app_id" : {
  89176. "type" : "string",
  89177. "description" : "授权商户appid",
  89178. "example" : "2013121100055554"
  89179. },
  89180. "expires_in" : {
  89181. "type" : "string",
  89182. "description" : "过期时间",
  89183. "example" : "123456"
  89184. },
  89185. "re_expires_in" : {
  89186. "type" : "string",
  89187. "description" : "刷新令牌过期时间",
  89188. "example" : "123456"
  89189. },
  89190. "user_id" : {
  89191. "type" : "string",
  89192. "description" : "授权商户的user_id",
  89193. "example" : "2088102150527498"
  89194. }
  89195. }
  89196. },
  89197. "AppVersionInfo" : {
  89198. "type" : "object",
  89199. "properties" : {
  89200. "app_version" : {
  89201. "type" : "string",
  89202. "description" : "版本号,一般为x.y.x格式,其中x、y、z都是数字",
  89203. "example" : "0.2.9"
  89204. },
  89205. "base_audit" : {
  89206. "type" : "string",
  89207. "description" : "准入审核结果:\tPASS:通过\tREJECT:驳回\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)",
  89208. "example" : "PASS"
  89209. },
  89210. "bundle_id" : {
  89211. "type" : "string",
  89212. "description" : "端信息,默认为支付宝端",
  89213. "example" : "com.alipay.alipaywallet"
  89214. },
  89215. "can_release" : {
  89216. "type" : "string",
  89217. "description" : "是否可上架\ttrue:可上架\tfalse:不可上架\t(version_status 为PROMOTE_AUDIT_REJECT有值)\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)",
  89218. "example" : "true"
  89219. },
  89220. "create_time" : {
  89221. "type" : "string",
  89222. "description" : "版本创建时间,精确到秒",
  89223. "example" : "2019-12-11 19:00:12"
  89224. },
  89225. "promote_audit" : {
  89226. "type" : "string",
  89227. "description" : "营销审核结果:\tPASS:通过\tREJECT:驳回\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)",
  89228. "example" : "PASS"
  89229. },
  89230. "version_description" : {
  89231. "type" : "string",
  89232. "description" : "版本描述,介绍此版本的主要变更和功能",
  89233. "example" : "该版本新增了XXX功能,修复了XXX的bug,优化了用户体验。"
  89234. },
  89235. "version_status" : {
  89236. "type" : "string",
  89237. "description" : "版本状态,可选值为:INIT: 开发中, AUDITING: 审核中, AUDIT_REJECT: 审核驳回, WAIT_RELEASE: 待上架, BASE_AUDIT_PASS: 准入不可营销, GRAY: 灰度中, RELEASE: 已上架, OFFLINE: 已下架, AUDIT_OFFLINE: 被强制下架;",
  89238. "example" : "AUDITING"
  89239. }
  89240. }
  89241. },
  89242. "ApplyOrderData" : {
  89243. "type" : "object",
  89244. "properties" : {
  89245. "access_type" : {
  89246. "type" : "string",
  89247. "description" : "申请类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达",
  89248. "example" : "BRAND_BOX"
  89249. },
  89250. "app_name" : {
  89251. "type" : "string",
  89252. "description" : "小程序名称",
  89253. "example" : "小程序名称"
  89254. },
  89255. "appid" : {
  89256. "type" : "string",
  89257. "description" : "小程序id",
  89258. "example" : "2021001105612404"
  89259. },
  89260. "audit_reason" : {
  89261. "type" : "string",
  89262. "description" : "审核原因",
  89263. "example" : "审核原因"
  89264. },
  89265. "brand_template_id" : {
  89266. "type" : "string",
  89267. "description" : "品牌的模板id ONE_WITH_TWO:一拖二、DEFAULT:一拖四",
  89268. "example" : "DEFAULT"
  89269. },
  89270. "create_time" : {
  89271. "type" : "string",
  89272. "description" : "创建时间",
  89273. "example" : "2020-10-16 12:32:40"
  89274. },
  89275. "is_old_data" : {
  89276. "type" : "boolean",
  89277. "description" : "标识老工单",
  89278. "example" : "false"
  89279. },
  89280. "latest" : {
  89281. "type" : "boolean",
  89282. "description" : "是不是最新的工单",
  89283. "example" : "false"
  89284. },
  89285. "major_status" : {
  89286. "type" : "string",
  89287. "description" : "服务主状态,INITIAL:初始化;VALID:已生效;INVALID:已失效",
  89288. "example" : "INITIAL"
  89289. },
  89290. "order_id" : {
  89291. "type" : "string",
  89292. "description" : "申请单ID",
  89293. "example" : "AP20200212100002488"
  89294. },
  89295. "part_agree_info" : {
  89296. "type" : "array",
  89297. "description" : "审核提效部分剔除数据的信息",
  89298. "items" : {
  89299. "$ref" : "#/components/schemas/SearchPartAgreeInfo"
  89300. }
  89301. },
  89302. "scene_code" : {
  89303. "type" : "string",
  89304. "description" : "场景编码",
  89305. "example" : "HOT_WORD_RANKING"
  89306. },
  89307. "scene_name" : {
  89308. "type" : "string",
  89309. "description" : "场景名称",
  89310. "example" : "场景名称"
  89311. },
  89312. "service_code" : {
  89313. "type" : "string",
  89314. "description" : "服务码",
  89315. "example" : "2019121121000102523089"
  89316. },
  89317. "status" : {
  89318. "type" : "string",
  89319. "description" : "申请状态 AGREE、REJECT、EDIT、AUDIT",
  89320. "example" : "AGREE"
  89321. },
  89322. "sub_service_name" : {
  89323. "type" : "string",
  89324. "description" : "子服务名称",
  89325. "example" : "子服务名称"
  89326. }
  89327. }
  89328. },
  89329. "ArInvoiceLineOpenApiResponse" : {
  89330. "type" : "object",
  89331. "properties" : {
  89332. "amt" : {
  89333. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89334. },
  89335. "duty_free_flag" : {
  89336. "type" : "string",
  89337. "description" : "免税标识"
  89338. },
  89339. "incl_tax_unit_amt" : {
  89340. "type" : "integer",
  89341. "description" : "含税单价"
  89342. },
  89343. "invoice_id" : {
  89344. "type" : "string",
  89345. "description" : "关联的发票ID"
  89346. },
  89347. "invoice_line_id" : {
  89348. "type" : "string",
  89349. "description" : "发票行iD"
  89350. },
  89351. "measurement_unit" : {
  89352. "type" : "string",
  89353. "description" : "计量单位"
  89354. },
  89355. "product_name" : {
  89356. "type" : "string",
  89357. "description" : "货物或劳务名称"
  89358. },
  89359. "product_specification" : {
  89360. "type" : "string",
  89361. "description" : "规格型号"
  89362. },
  89363. "quantity" : {
  89364. "type" : "integer",
  89365. "description" : "数量"
  89366. },
  89367. "tax_amt" : {
  89368. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89369. },
  89370. "tax_exclusive_amt" : {
  89371. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89372. },
  89373. "tax_rate" : {
  89374. "type" : "integer",
  89375. "description" : "税率"
  89376. },
  89377. "unit_amt" : {
  89378. "type" : "integer",
  89379. "description" : "单价"
  89380. }
  89381. }
  89382. },
  89383. "ArInvoiceOpenApiResponse" : {
  89384. "type" : "object",
  89385. "properties" : {
  89386. "ar_invoice_lines" : {
  89387. "type" : "array",
  89388. "description" : "发票行信息集合",
  89389. "items" : {
  89390. "$ref" : "#/components/schemas/ArInvoiceLineOpenApiResponse"
  89391. }
  89392. },
  89393. "buyer_address" : {
  89394. "type" : "string",
  89395. "description" : "购方的地址"
  89396. },
  89397. "buyer_bank_account" : {
  89398. "type" : "string",
  89399. "description" : "购方银行账号"
  89400. },
  89401. "buyer_bank_name" : {
  89402. "type" : "string",
  89403. "description" : "购方开户行名称"
  89404. },
  89405. "buyer_invoice_title" : {
  89406. "type" : "string",
  89407. "description" : "购方发票抬头,用于打印在发票上"
  89408. },
  89409. "buyer_tax_no" : {
  89410. "type" : "string",
  89411. "description" : "购方税号"
  89412. },
  89413. "buyer_telephone" : {
  89414. "type" : "string",
  89415. "description" : "购方的电话号码"
  89416. },
  89417. "can_link" : {
  89418. "type" : "boolean",
  89419. "description" : "是否可以关联账单"
  89420. },
  89421. "creator" : {
  89422. "type" : "string",
  89423. "description" : "创建人"
  89424. },
  89425. "drawer" : {
  89426. "type" : "string",
  89427. "description" : "开票人"
  89428. },
  89429. "elc_invoice_url" : {
  89430. "type" : "string",
  89431. "description" : "电子发票在oss上的存储地址"
  89432. },
  89433. "gmt_create" : {
  89434. "type" : "string",
  89435. "description" : "创建时间"
  89436. },
  89437. "gmt_modified" : {
  89438. "type" : "string",
  89439. "description" : "修改时间"
  89440. },
  89441. "inst_id" : {
  89442. "type" : "string",
  89443. "description" : "对应发票所在OU的id,用于标示该发票所述的OU。"
  89444. },
  89445. "invoice_amt" : {
  89446. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89447. },
  89448. "invoice_channel" : {
  89449. "type" : "string",
  89450. "description" : "开票渠道,01:在线,02:线下"
  89451. },
  89452. "invoice_code" : {
  89453. "type" : "string",
  89454. "description" : "发票编码"
  89455. },
  89456. "invoice_date" : {
  89457. "type" : "string",
  89458. "description" : "发票的开票日期,yyyyMMdd"
  89459. },
  89460. "invoice_id" : {
  89461. "type" : "string",
  89462. "description" : "发票ID,唯一标示一张发票"
  89463. },
  89464. "invoice_material" : {
  89465. "type" : "string",
  89466. "description" : "发票介质,01:电子,02:纸质"
  89467. },
  89468. "invoice_no" : {
  89469. "type" : "string",
  89470. "description" : "发票号码"
  89471. },
  89472. "invoice_note" : {
  89473. "type" : "string",
  89474. "description" : "发票备注"
  89475. },
  89476. "invoice_status" : {
  89477. "type" : "string",
  89478. "description" : "发票状态:用于标示发票当前的状态,状态类型以及相关含义\r\t01:待开票,02:开票中,03:已开票,04:作废中,05:已作废,06:红冲中,07:已红冲,08:部分红冲,09:无效"
  89479. },
  89480. "invoice_type" : {
  89481. "type" : "string",
  89482. "description" : "发票类型:01:专票,02:普票,03:营业税发票,04:国际形式发票,05:其它发票"
  89483. },
  89484. "ip_id" : {
  89485. "type" : "string",
  89486. "description" : "对应发票商户的ipId,在主站标示mid,在其他环境标示ip_id。"
  89487. },
  89488. "ip_role_id" : {
  89489. "type" : "string",
  89490. "description" : "商户结算的ipRoleId,表示商户的结算对象,在主站表示pid。"
  89491. },
  89492. "last_moder" : {
  89493. "type" : "string",
  89494. "description" : "最近修改人"
  89495. },
  89496. "linked_amt" : {
  89497. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89498. },
  89499. "mail_status" : {
  89500. "type" : "string",
  89501. "description" : "发票开出后的邮寄状态,具体状态说明\r\t01:待邮寄,02:已邮寄,03:退回中,04:已退回"
  89502. },
  89503. "memo" : {
  89504. "type" : "string",
  89505. "description" : "备注"
  89506. },
  89507. "no_bill_invoice_flag" : {
  89508. "type" : "string",
  89509. "description" : "是否是无账单发票 Y:是 N:不是"
  89510. },
  89511. "online" : {
  89512. "type" : "boolean",
  89513. "description" : "是否为点在发票\r\ttrue:是, false:不是"
  89514. },
  89515. "payee" : {
  89516. "type" : "string",
  89517. "description" : "收款人"
  89518. },
  89519. "recent_mail_id" : {
  89520. "type" : "string",
  89521. "description" : "邮件信息的主键,用于‘根据发票邮寄ID获取当前的邮寄信息’的查询输入。"
  89522. },
  89523. "red" : {
  89524. "type" : "string",
  89525. "description" : "是否红字 Y:红字, N:蓝字"
  89526. },
  89527. "red_amt" : {
  89528. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89529. },
  89530. "rel_blue_invoices" : {
  89531. "type" : "array",
  89532. "description" : "发票如果有关联的蓝票则显示发票关联的蓝票信息",
  89533. "items" : {
  89534. "$ref" : "#/components/schemas/ArRelInvoiceOpenApiResponse"
  89535. }
  89536. },
  89537. "rel_red_invoices" : {
  89538. "type" : "array",
  89539. "description" : "如果发票有关联的红票则为关联的红票的信息",
  89540. "items" : {
  89541. "$ref" : "#/components/schemas/ArRelInvoiceOpenApiResponse"
  89542. }
  89543. },
  89544. "reviewer" : {
  89545. "type" : "string",
  89546. "description" : "复核人"
  89547. },
  89548. "seller_address" : {
  89549. "type" : "string",
  89550. "description" : "销方公司地址"
  89551. },
  89552. "seller_bank_account" : {
  89553. "type" : "string",
  89554. "description" : "销方银行账号"
  89555. },
  89556. "seller_bank_name" : {
  89557. "type" : "string",
  89558. "description" : "销方开户行名称"
  89559. },
  89560. "seller_company_name" : {
  89561. "type" : "string",
  89562. "description" : "销方公司名称"
  89563. },
  89564. "seller_tax_no" : {
  89565. "type" : "string",
  89566. "description" : "销方税号,用于打印在发票上"
  89567. },
  89568. "seller_telephone" : {
  89569. "type" : "string",
  89570. "description" : "销方公司电话"
  89571. },
  89572. "tnt_inst_id" : {
  89573. "type" : "string",
  89574. "description" : "租户id"
  89575. }
  89576. }
  89577. },
  89578. "ArInvoiceReceiptOpenApiResponse" : {
  89579. "type" : "object",
  89580. "properties" : {
  89581. "arrangement_no" : {
  89582. "type" : "string",
  89583. "description" : "合约号",
  89584. "example" : "20180410I1019001100551917674"
  89585. },
  89586. "id" : {
  89587. "type" : "string",
  89588. "description" : "可开票单据主键ID",
  89589. "example" : "2016090310122000040400210000000001"
  89590. },
  89591. "inst_id" : {
  89592. "type" : "string",
  89593. "description" : "机构ID",
  89594. "example" : "Z50"
  89595. },
  89596. "inv_dt" : {
  89597. "type" : "string",
  89598. "description" : "开票时间 格式:yyyymm",
  89599. "example" : "201807"
  89600. },
  89601. "inv_mode" : {
  89602. "type" : "string",
  89603. "description" : "开票模式\r\t01:实收开票, 02:应收开票, 03:累计实收开票",
  89604. "example" : "02"
  89605. },
  89606. "invoice_amt" : {
  89607. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89608. },
  89609. "invoiced_amt" : {
  89610. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89611. },
  89612. "ip_id" : {
  89613. "type" : "string",
  89614. "description" : "结算ip_id",
  89615. "example" : "727407"
  89616. },
  89617. "ip_role_id" : {
  89618. "type" : "string",
  89619. "description" : "结算对象ip_role_id",
  89620. "example" : "2088301208226048"
  89621. },
  89622. "last_moder" : {
  89623. "type" : "string",
  89624. "description" : "最后修改人",
  89625. "example" : "李某某"
  89626. },
  89627. "link_invoice_amt" : {
  89628. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89629. },
  89630. "out_biz_no" : {
  89631. "type" : "string",
  89632. "description" : "外部单据号,对应开票记录的月账单号",
  89633. "example" : "2017090611122000040400450000091196"
  89634. },
  89635. "out_biz_type" : {
  89636. "type" : "string",
  89637. "description" : "可开票单据来源,01:主站,02:芝麻,03:金融云,04:微贷",
  89638. "example" : "03"
  89639. },
  89640. "pay_way" : {
  89641. "type" : "string",
  89642. "description" : "付款方式,1:资金,5:走量",
  89643. "example" : "1"
  89644. },
  89645. "prod_code" : {
  89646. "type" : "string",
  89647. "description" : "产品码",
  89648. "example" : "w1010100100000000018"
  89649. },
  89650. "settle_type" : {
  89651. "type" : "string",
  89652. "description" : "结算类型 ,01:实时,02:预收,03:后收,04:周期性,05:按日汇总,09:延期结算",
  89653. "example" : "02"
  89654. },
  89655. "status" : {
  89656. "type" : "string",
  89657. "description" : "开票金额消耗状态:01未开票,02部分开票,03:已开票",
  89658. "example" : "01"
  89659. },
  89660. "tax_rate" : {
  89661. "type" : "integer",
  89662. "description" : "税率",
  89663. "example" : "0.06"
  89664. },
  89665. "tax_type" : {
  89666. "type" : "string",
  89667. "description" : "税收类型01:增值税,02:营业税",
  89668. "example" : "01"
  89669. },
  89670. "tnt_inst_id" : {
  89671. "type" : "string",
  89672. "description" : "租户ID",
  89673. "example" : "ANTGW2CN"
  89674. },
  89675. "type" : {
  89676. "type" : "string",
  89677. "description" : "类型,1:应收,2:返点",
  89678. "example" : "1"
  89679. }
  89680. }
  89681. },
  89682. "ArMonthlyBillDTO" : {
  89683. "type" : "object",
  89684. "properties" : {
  89685. "account_day" : {
  89686. "type" : "string",
  89687. "description" : "出账日",
  89688. "example" : "20180723"
  89689. },
  89690. "accrued_date" : {
  89691. "type" : "string",
  89692. "description" : "应收日期(yyyyMMdd)",
  89693. "example" : "20180723"
  89694. },
  89695. "adjust_amt" : {
  89696. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89697. },
  89698. "analysis_dmsn_1" : {
  89699. "type" : "string",
  89700. "description" : "分析维度1",
  89701. "example" : "biz_pd_code=G1010100100000000004"
  89702. },
  89703. "analysis_dmsn_2" : {
  89704. "type" : "string",
  89705. "description" : "分析维度2",
  89706. "example" : "recon_inst=V_F51_SZBK"
  89707. },
  89708. "analysis_dmsn_3" : {
  89709. "type" : "string",
  89710. "description" : "分析维度3",
  89711. "example" : "payer_inst_code=SZBK"
  89712. },
  89713. "analysis_dmsn_4" : {
  89714. "type" : "string",
  89715. "description" : "分析维度4",
  89716. "example" : "groupIpId=123&groupIpRoleId=def"
  89717. },
  89718. "arrangement_no" : {
  89719. "type" : "string",
  89720. "description" : "合约号,商户签约产品对应的合约号",
  89721. "example" : "20180321I1019001104967771632"
  89722. },
  89723. "bill_amt" : {
  89724. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89725. },
  89726. "bill_end_date" : {
  89727. "type" : "string",
  89728. "description" : "账单结束日期",
  89729. "example" : "20180723"
  89730. },
  89731. "bill_month" : {
  89732. "type" : "string",
  89733. "description" : "账单月",
  89734. "example" : "201807"
  89735. },
  89736. "bill_no" : {
  89737. "type" : "string",
  89738. "description" : "月账单号,唯一标识月账单的ID",
  89739. "example" : "2016092910122000040400930000000001"
  89740. },
  89741. "bill_start_date" : {
  89742. "type" : "string",
  89743. "description" : "账单开始日期",
  89744. "example" : "20180723"
  89745. },
  89746. "bill_type" : {
  89747. "type" : "string",
  89748. "description" : "账单类型\r\t21:应收月账单\r\t目前仅支持该类型的账单类型",
  89749. "example" : "21"
  89750. },
  89751. "charge_item_code" : {
  89752. "type" : "string",
  89753. "description" : "收费项编码",
  89754. "example" : "CREDIT_QUERY_FEE"
  89755. },
  89756. "charge_type" : {
  89757. "type" : "string",
  89758. "description" : "计费类型\r\t01:云在线计费,02:离线计费,03:老主站计收费,04:芝麻在线计收费",
  89759. "example" : "01"
  89760. },
  89761. "check_status" : {
  89762. "type" : "string",
  89763. "description" : "出账状态\r\t01:账单生成,02:待确认出账,03:已出账,04:客户已对账,05:对账差异,06:部分出账",
  89764. "example" : "03"
  89765. },
  89766. "checked_amt" : {
  89767. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89768. },
  89769. "checking_amt" : {
  89770. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89771. },
  89772. "clcn_basic_amt" : {
  89773. "type" : "integer",
  89774. "description" : "计算依据",
  89775. "example" : "100"
  89776. },
  89777. "clcn_basic_type" : {
  89778. "type" : "string",
  89779. "description" : "计算依据类型\r\t01:交易金额,02:交易笔数,03:交易张数,04:资费依据扩展,05:其他",
  89780. "example" : "01"
  89781. },
  89782. "clcn_method" : {
  89783. "type" : "string",
  89784. "description" : "计算方法\r\t01:差额累进,02:全额累进,03:按传入金额收费,04:价格包量,05:包时间周期,06:按时间全额累进,07:包时间周期差额累进,08:期间差额累进,09:期间全额累进,10:包时间周期单笔,11:标准单笔计费,12:包时间周期单笔-按照传入金额计费,13:期间靠档差额累进,靠档计息使用,14:自定义",
  89785. "example" : "02"
  89786. },
  89787. "freeze_amt" : {
  89788. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89789. },
  89790. "gmt_create" : {
  89791. "type" : "string",
  89792. "description" : "创建时间(创建备份时需要)",
  89793. "example" : "1533039333744"
  89794. },
  89795. "gmt_modified" : {
  89796. "type" : "string",
  89797. "description" : "修改时间(创建备份时需要)",
  89798. "example" : "1533039333744"
  89799. },
  89800. "gmt_pay" : {
  89801. "type" : "string",
  89802. "description" : "付款时间",
  89803. "example" : "1533039333744"
  89804. },
  89805. "inst_id" : {
  89806. "type" : "string",
  89807. "description" : "分支机构号",
  89808. "example" : "Z50"
  89809. },
  89810. "invoice_amt" : {
  89811. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89812. },
  89813. "invoiced_amt" : {
  89814. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89815. },
  89816. "ip_id" : {
  89817. "type" : "string",
  89818. "description" : "结算对象参与者标识",
  89819. "example" : "17998789"
  89820. },
  89821. "ip_name" : {
  89822. "type" : "string",
  89823. "description" : "参与者名字",
  89824. "example" : "ip_name"
  89825. },
  89826. "ip_role_id" : {
  89827. "type" : "string",
  89828. "description" : "结算对象参与者角色标识",
  89829. "example" : "2088421727939934"
  89830. },
  89831. "last_moder" : {
  89832. "type" : "string",
  89833. "description" : "最后修改人",
  89834. "example" : "李某某"
  89835. },
  89836. "link_invoice_amt" : {
  89837. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89838. },
  89839. "pay_original" : {
  89840. "type" : "string",
  89841. "description" : "付款来源\r\t1:主账务,2:包量,3:预收,4:预存,5:银行,6:积分,7:统一支付,8:支付受理",
  89842. "example" : "1"
  89843. },
  89844. "pay_status" : {
  89845. "type" : "string",
  89846. "description" : "付款状态\r\t01:待结算;02:部分结算;03:结算完成",
  89847. "example" : "01"
  89848. },
  89849. "pay_way" : {
  89850. "type" : "string",
  89851. "description" : "付款方式\r\t1:资金;2:包量",
  89852. "example" : "1"
  89853. },
  89854. "payee_account" : {
  89855. "type" : "string",
  89856. "description" : "收款方账号",
  89857. "example" : "20880013684318990156"
  89858. },
  89859. "payer_account" : {
  89860. "type" : "string",
  89861. "description" : "付款方账号",
  89862. "example" : "20880013684318990156"
  89863. },
  89864. "payer_ip_role_id" : {
  89865. "type" : "string",
  89866. "description" : "扣款对象pid",
  89867. "example" : "2088301287583636"
  89868. },
  89869. "prod_code" : {
  89870. "type" : "string",
  89871. "description" : "产品码",
  89872. "example" : "w1010100100000000018"
  89873. },
  89874. "received_amt" : {
  89875. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89876. },
  89877. "record_id" : {
  89878. "type" : "string",
  89879. "description" : "记录id,账单全局唯一号",
  89880. "example" : "70cf1a075478780bc0c38d1e9e28c001"
  89881. },
  89882. "service_amt" : {
  89883. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89884. },
  89885. "settle_type" : {
  89886. "type" : "string",
  89887. "description" : "结算类型\r\t01:实时;02:预收;03:后收;04:周期结算;05:按日汇总结算;09:延期结算",
  89888. "example" : "03"
  89889. },
  89890. "sign_ip_id" : {
  89891. "type" : "string",
  89892. "description" : "签约对象参与者标识",
  89893. "example" : "203668"
  89894. },
  89895. "sign_ip_role_id" : {
  89896. "type" : "string",
  89897. "description" : "签约对象参与者角色标识",
  89898. "example" : "2088101106290325"
  89899. },
  89900. "stl_ip_role_id" : {
  89901. "type" : "string",
  89902. "description" : "结算对象PID",
  89903. "example" : "2088301287583636"
  89904. },
  89905. "tax_amt" : {
  89906. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89907. },
  89908. "tax_rate" : {
  89909. "type" : "integer",
  89910. "description" : "税率",
  89911. "example" : "0.01"
  89912. },
  89913. "tax_type" : {
  89914. "type" : "string",
  89915. "description" : "税收类型,01:增值税,02:营业税\r\t营业税已经在大部分行业废弃,要传入需咨询后再确认",
  89916. "example" : "01"
  89917. },
  89918. "to_writeoff_detail_count" : {
  89919. "type" : "integer",
  89920. "description" : "待核销明细数量",
  89921. "example" : "3"
  89922. },
  89923. "type" : {
  89924. "type" : "string",
  89925. "description" : "账单分类 1应收,2返点",
  89926. "example" : "1"
  89927. },
  89928. "writeoff_detail_dount" : {
  89929. "type" : "integer",
  89930. "description" : "核销明细数量",
  89931. "example" : "5"
  89932. },
  89933. "writingoff_amt" : {
  89934. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89935. }
  89936. }
  89937. },
  89938. "ArRelInvoiceOpenApiResponse" : {
  89939. "type" : "object",
  89940. "properties" : {
  89941. "ar_invoice_lines" : {
  89942. "$ref" : "#/components/schemas/ArInvoiceLineOpenApiResponse"
  89943. },
  89944. "buyer_address" : {
  89945. "type" : "string",
  89946. "description" : "购方的地址"
  89947. },
  89948. "buyer_bank_account" : {
  89949. "type" : "string",
  89950. "description" : "购方银行账号"
  89951. },
  89952. "buyer_bank_name" : {
  89953. "type" : "string",
  89954. "description" : "购方开户行名称"
  89955. },
  89956. "buyer_invoice_title" : {
  89957. "type" : "string",
  89958. "description" : "购方发票抬头,用于打印在发票上"
  89959. },
  89960. "buyer_tax_no" : {
  89961. "type" : "string",
  89962. "description" : "购方税号"
  89963. },
  89964. "buyer_telephone" : {
  89965. "type" : "string",
  89966. "description" : "购方的电话号码"
  89967. },
  89968. "can_link" : {
  89969. "type" : "boolean",
  89970. "description" : "是否可以关联账单"
  89971. },
  89972. "creator" : {
  89973. "type" : "string",
  89974. "description" : "创建人"
  89975. },
  89976. "drawer" : {
  89977. "type" : "string",
  89978. "description" : "开票人"
  89979. },
  89980. "elc_invoice_url" : {
  89981. "type" : "string",
  89982. "description" : "电子发票在oss上的存储地址"
  89983. },
  89984. "gmt_create" : {
  89985. "type" : "string",
  89986. "description" : "创建时间"
  89987. },
  89988. "gmt_modified" : {
  89989. "type" : "string",
  89990. "description" : "修改时间"
  89991. },
  89992. "inst_id" : {
  89993. "type" : "string",
  89994. "description" : "对应发票所在OU的id,用于标示该发票所述的OU。"
  89995. },
  89996. "invoice_amt" : {
  89997. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  89998. },
  89999. "invoice_channel" : {
  90000. "type" : "string",
  90001. "description" : "开票渠道,01:在线,02:线下"
  90002. },
  90003. "invoice_code" : {
  90004. "type" : "string",
  90005. "description" : "发票编码"
  90006. },
  90007. "invoice_date" : {
  90008. "type" : "string",
  90009. "description" : "发票的开票日期,yyyyMMdd"
  90010. },
  90011. "invoice_id" : {
  90012. "type" : "string",
  90013. "description" : "发票ID,唯一标示一张发票"
  90014. },
  90015. "invoice_material" : {
  90016. "type" : "string",
  90017. "description" : "发票介质,01:电子,02:纸质"
  90018. },
  90019. "invoice_no" : {
  90020. "type" : "string",
  90021. "description" : "发票号码"
  90022. },
  90023. "invoice_note" : {
  90024. "type" : "string",
  90025. "description" : "发票备注"
  90026. },
  90027. "invoice_status" : {
  90028. "type" : "string",
  90029. "description" : "发票状态:用于标示发票当前的状态,状态类型以及相关含义 01:待开票,02:开票中,03:已开票,04:作废中,05:已作废,06:红冲中,07:已红冲,08:部分红冲,09:无效"
  90030. },
  90031. "invoice_type" : {
  90032. "type" : "string",
  90033. "description" : "发票类型:01:专票,02:普票,03:营业税发票,04:国际形式发票,05:其它发票"
  90034. },
  90035. "ip_id" : {
  90036. "type" : "string",
  90037. "description" : "对应发票商户的ipId,在主站标示mid,在其他环境标示ip_id。"
  90038. },
  90039. "ip_role_id" : {
  90040. "type" : "string",
  90041. "description" : "商户结算的ipRoleId,表示商户的结算对象,在主站表示pid。"
  90042. },
  90043. "last_moder" : {
  90044. "type" : "string",
  90045. "description" : "最近修改人"
  90046. },
  90047. "linked_amt" : {
  90048. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  90049. },
  90050. "mail_status" : {
  90051. "type" : "string",
  90052. "description" : "发票开出后的邮寄状态,具体状态说明 01:待邮寄,02:已邮寄,03:退回中,04:已退回"
  90053. },
  90054. "memo" : {
  90055. "type" : "string",
  90056. "description" : "备注"
  90057. },
  90058. "no_bill_invoice_flag" : {
  90059. "type" : "string",
  90060. "description" : "是否是无账单发票 Y:是 N:不是"
  90061. },
  90062. "online" : {
  90063. "type" : "boolean",
  90064. "description" : "是否为线上发票 true:是, false:不是"
  90065. },
  90066. "payee" : {
  90067. "type" : "string",
  90068. "description" : "收款人"
  90069. },
  90070. "recent_mail_id" : {
  90071. "type" : "string",
  90072. "description" : "邮件信息的主键,用于‘根据发票邮寄ID获取当前的邮寄信息’的查询输入。"
  90073. },
  90074. "red" : {
  90075. "type" : "string",
  90076. "description" : "是否红字 Y:红字, N:蓝字"
  90077. },
  90078. "red_amt" : {
  90079. "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
  90080. },
  90081. "reviewer" : {
  90082. "type" : "string",
  90083. "description" : "复核人"
  90084. },
  90085. "seller_address" : {
  90086. "type" : "string",
  90087. "description" : "销方公司地址"
  90088. },
  90089. "seller_bank_account" : {
  90090. "type" : "string",
  90091. "description" : "销方银行账号"
  90092. },
  90093. "seller_bank_name" : {
  90094. "type" : "string",
  90095. "description" : "销方开户行名称"
  90096. },
  90097. "seller_company_name" : {
  90098. "type" : "string",
  90099. "description" : "销方公司名称"
  90100. },
  90101. "seller_tax_no" : {
  90102. "type" : "string",
  90103. "description" : "销方税号,用于打印在发票上"
  90104. },
  90105. "seller_telephone" : {
  90106. "type" : "string",
  90107. "description" : "销方公司电话"
  90108. },
  90109. "tnt_inst_id" : {
  90110. "type" : "string",
  90111. "description" : "租户id"
  90112. }
  90113. }
  90114. },
  90115. "Article" : {
  90116. "type" : "object",
  90117. "properties" : {
  90118. "action_name" : {
  90119. "type" : "string",
  90120. "description" : "链接文字"
  90121. },
  90122. "desc" : {
  90123. "type" : "string",
  90124. "description" : "图文消息内容"
  90125. },
  90126. "image_url" : {
  90127. "type" : "string",
  90128. "description" : "图片链接,对于多条图文消息的第一条消息,该字段不能为空; 请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url"
  90129. },
  90130. "title" : {
  90131. "type" : "string",
  90132. "description" : "图文消息标题"
  90133. },
  90134. "url" : {
  90135. "type" : "string",
  90136. "description" : "点击图文消息跳转的链接"
  90137. }
  90138. }
  90139. },
  90140. "ArticleAttachmentInfo" : {
  90141. "type" : "object",
  90142. "properties" : {
  90143. "file_name" : {
  90144. "type" : "string",
  90145. "description" : "文章附件"
  90146. },
  90147. "key" : {
  90148. "type" : "string",
  90149. "description" : "附件完整Key"
  90150. },
  90151. "url" : {
  90152. "type" : "string",
  90153. "description" : "附件的url"
  90154. }
  90155. }
  90156. },
  90157. "ArticleCategoryInfo" : {
  90158. "type" : "object",
  90159. "properties" : {
  90160. "children" : {
  90161. "type" : "array",
  90162. "description" : "子节点",
  90163. "items" : {
  90164. "type" : "string"
  90165. }
  90166. },
  90167. "description" : {
  90168. "type" : "string",
  90169. "description" : "节点描述"
  90170. },
  90171. "father_id" : {
  90172. "type" : "integer",
  90173. "description" : "父节点ID"
  90174. },
  90175. "id" : {
  90176. "type" : "integer",
  90177. "description" : "类目ID"
  90178. },
  90179. "name" : {
  90180. "type" : "string",
  90181. "description" : "节点名称"
  90182. },
  90183. "tags" : {
  90184. "type" : "array",
  90185. "description" : "标签",
  90186. "items" : {
  90187. "type" : "string"
  90188. }
  90189. }
  90190. }
  90191. },
  90192. "ArticleInfo" : {
  90193. "type" : "object",
  90194. "properties" : {
  90195. "attachments" : {
  90196. "type" : "array",
  90197. "description" : "文章对应附件集合",
  90198. "items" : {
  90199. "$ref" : "#/components/schemas/ArticleAttachmentInfo"
  90200. }
  90201. },
  90202. "category_id" : {
  90203. "type" : "integer",
  90204. "description" : "所属类目ID",
  90205. "example" : "12"
  90206. },
  90207. "category_name_path" : {
  90208. "type" : "string",
  90209. "description" : "类目名称路径",
  90210. "example" : "知识库-演示"
  90211. },
  90212. "category_path" : {
  90213. "type" : "array",
  90214. "description" : "类目路径",
  90215. "items" : {
  90216. "$ref" : "#/components/schemas/ArticleCategoryInfo"
  90217. }
  90218. },
  90219. "content" : {
  90220. "type" : "string",
  90221. "description" : "内容",
  90222. "example" : "我是文章内容"
  90223. },
  90224. "create_time" : {
  90225. "type" : "string",
  90226. "description" : "创建时间",
  90227. "example" : "2020-12-31 23:59:59"
  90228. },
  90229. "creator_id" : {
  90230. "type" : "string",
  90231. "description" : "创建人",
  90232. "example" : "10001"
  90233. },
  90234. "extend_titles" : {
  90235. "type" : "array",
  90236. "description" : "扩展标题",
  90237. "items" : {
  90238. "type" : "string"
  90239. },
  90240. "example" : "[\"支付宝\",\"知识库\"]"
  90241. },
  90242. "id" : {
  90243. "type" : "integer",
  90244. "description" : "文章ID",
  90245. "example" : "1"
  90246. },
  90247. "keywords" : {
  90248. "type" : "array",
  90249. "description" : "标签",
  90250. "items" : {
  90251. "type" : "string"
  90252. },
  90253. "example" : "[\"标签\"]"
  90254. },
  90255. "library_id" : {
  90256. "type" : "integer",
  90257. "description" : "知识库ID",
  90258. "example" : "1"
  90259. },
  90260. "order_no" : {
  90261. "type" : "integer",
  90262. "description" : "排序值",
  90263. "example" : "5"
  90264. },
  90265. "pictures" : {
  90266. "type" : "array",
  90267. "description" : "文章对应图片集合",
  90268. "items" : {
  90269. "$ref" : "#/components/schemas/ArticleAttachmentInfo"
  90270. }
  90271. },
  90272. "publish_end" : {
  90273. "type" : "string",
  90274. "description" : "有效期止",
  90275. "example" : "2022-06-11 16:14:58"
  90276. },
  90277. "publish_start" : {
  90278. "type" : "string",
  90279. "description" : "有效期起始",
  90280. "example" : "2020-06-11 16:14:58"
  90281. },
  90282. "scene_codes" : {
  90283. "type" : "array",
  90284. "description" : "场景ID。1(内部知识库);2(机器人);3(帮助中心);4(无线帮助中心)",
  90285. "items" : {
  90286. "type" : "string"
  90287. },
  90288. "example" : "[\"1\",\"2\",\"3\",\"4\"]"
  90289. },
  90290. "source" : {
  90291. "type" : "string",
  90292. "description" : "来源",
  90293. "example" : "网关录入"
  90294. },
  90295. "status" : {
  90296. "type" : "string",
  90297. "description" : "文章状态",
  90298. "example" : "已发布"
  90299. },
  90300. "status_code" : {
  90301. "type" : "string",
  90302. "description" : "文章状态码",
  90303. "example" : "PUBLISHED"
  90304. },
  90305. "title" : {
  90306. "type" : "string",
  90307. "description" : "标题",
  90308. "example" : "我是文章标题"
  90309. },
  90310. "update_time" : {
  90311. "type" : "string",
  90312. "description" : "修改时间",
  90313. "example" : "2020-12-31 23:59:59"
  90314. },
  90315. "updater_id" : {
  90316. "type" : "string",
  90317. "description" : "修改人",
  90318. "example" : "10001"
  90319. },
  90320. "updater_name" : {
  90321. "type" : "string",
  90322. "description" : "修改人名称",
  90323. "example" : "admin"
  90324. }
  90325. }
  90326. },
  90327. "ArticleSummaryAnalysisData" : {
  90328. "type" : "object",
  90329. "properties" : {
  90330. "avg_read_time" : {
  90331. "type" : "string",
  90332. "description" : "人均阅读时长",
  90333. "example" : "50.39"
  90334. },
  90335. "date" : {
  90336. "type" : "string",
  90337. "description" : "日期",
  90338. "example" : "20171101"
  90339. },
  90340. "deliver_user_cnt" : {
  90341. "type" : "integer",
  90342. "description" : "送达人数",
  90343. "example" : "10"
  90344. },
  90345. "expose_user_cnt" : {
  90346. "type" : "integer",
  90347. "description" : "图文曝光人数",
  90348. "example" : "30"
  90349. },
  90350. "praise_user_cnt" : {
  90351. "type" : "integer",
  90352. "description" : "点赞数",
  90353. "example" : "30"
  90354. },
  90355. "read_user_cnt" : {
  90356. "type" : "integer",
  90357. "description" : "图文阅读人数",
  90358. "example" : "20"
  90359. },
  90360. "reply_user_cnt" : {
  90361. "type" : "integer",
  90362. "description" : "评论数",
  90363. "example" : "30"
  90364. },
  90365. "share_user_cnt" : {
  90366. "type" : "integer",
  90367. "description" : "分享人数",
  90368. "example" : "40"
  90369. }
  90370. }
  90371. },
  90372. "AssetShareSourceInfo" : {
  90373. "type" : "object",
  90374. "properties" : {
  90375. "share_mode" : {
  90376. "type" : "string",
  90377. "description" : "当前规则可用的资产来源类型,搭配source_id_list使用。"
  90378. },
  90379. "source_id_list" : {
  90380. "type" : "array",
  90381. "description" : "资产共享来源id列表,与share_mode配合设置",
  90382. "items" : {
  90383. "type" : "string"
  90384. }
  90385. }
  90386. }
  90387. },
  90388. "Attachment" : {
  90389. "type" : "object",
  90390. "properties" : {
  90391. "attachment_name" : {
  90392. "type" : "string",
  90393. "description" : "流程附件名称"
  90394. },
  90395. "file_id" : {
  90396. "type" : "string",
  90397. "description" : "流程附件id"
  90398. }
  90399. }
  90400. },
  90401. "AttachmentDetail" : {
  90402. "type" : "object",
  90403. "properties" : {
  90404. "code" : {
  90405. "type" : "string",
  90406. "description" : "创建流程时指定的附件code,可能为空。(身份证正反面的固定code:正面:ESIGN_IDCARD,背面:ESIGN_BACK_IDCARD)",
  90407. "example" : "phonePicture"
  90408. },
  90409. "file_name" : {
  90410. "type" : "string",
  90411. "description" : "附件文件名",
  90412. "example" : "手机正面照.pdf"
  90413. },
  90414. "file_url" : {
  90415. "type" : "string",
  90416. "description" : "附件下载地址",
  90417. "example" : "https://asset.tsign.cn/apps/esign-nuxt-website/prod/1.0.7/img/1acc358.png"
  90418. }
  90419. }
  90420. },
  90421. "AttachmentExplain" : {
  90422. "type" : "object",
  90423. "properties" : {
  90424. "allow_more_uploads" : {
  90425. "type" : "boolean",
  90426. "description" : "允许上传更多附件。开启后,除了“附件列表”中指定的内容,签署人可自由上传之多10张图片。默认值为false",
  90427. "example" : "true"
  90428. },
  90429. "description" : {
  90430. "type" : "string",
  90431. "description" : "描述",
  90432. "example" : "请仔细检查手机外观,如有划痕部位请仔细拍摄。"
  90433. },
  90434. "details" : {
  90435. "type" : "array",
  90436. "description" : "附件列表",
  90437. "items" : {
  90438. "$ref" : "#/components/schemas/Detail"
  90439. }
  90440. },
  90441. "title" : {
  90442. "type" : "string",
  90443. "description" : "附件标题(collect_attachement值为true时必填",
  90444. "example" : "请上传手机照片"
  90445. }
  90446. }
  90447. },
  90448. "AttachmentExplainBean" : {
  90449. "type" : "object",
  90450. "properties" : {
  90451. "description" : {
  90452. "type" : "string",
  90453. "description" : "页面展示的任务描(collect_attachement值为true时必填)",
  90454. "example" : "请仔细检查手机外观,如有划痕部位请仔细拍摄。"
  90455. },
  90456. "details" : {
  90457. "type" : "array",
  90458. "description" : "附件列表,用于定义每个附件code的描述及页面展示顺序",
  90459. "items" : {
  90460. "$ref" : "#/components/schemas/DetailBean"
  90461. }
  90462. },
  90463. "title" : {
  90464. "type" : "string",
  90465. "description" : "页面展示的任务标题(collect_attachement值为true时必填)",
  90466. "example" : "请上传手机照片"
  90467. }
  90468. }
  90469. },
  90470. "AuditEvidenceInfo" : {
  90471. "type" : "object",
  90472. "properties" : {
  90473. "file_type" : {
  90474. "type" : "string",
  90475. "description" : "文件类型。包括.jpg .png .jpeg .pdf等",
  90476. "example" : ".jpg"
  90477. },
  90478. "url" : {
  90479. "type" : "string",
  90480. "description" : "文件url",
  90481. "example" : "http://xxx.xxx.xxx.com/xxxxx"
  90482. }
  90483. }
  90484. },
  90485. "AuditLicenseInfo" : {
  90486. "type" : "object",
  90487. "properties" : {
  90488. "license_name" : {
  90489. "type" : "string",
  90490. "description" : "营业执照名称,需要与营业执照保持一致"
  90491. },
  90492. "license_no" : {
  90493. "type" : "string",
  90494. "description" : "营业执照号,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序应用营业执照号。"
  90495. },
  90496. "license_pic_list" : {
  90497. "type" : "array",
  90498. "description" : "营业执照照片地址列表",
  90499. "items" : {
  90500. "type" : "string"
  90501. }
  90502. },
  90503. "license_valid_date" : {
  90504. "type" : "string",
  90505. "description" : "营业执有效期,格式为yyyy-MM-dd,9999-12-31表示长期"
  90506. },
  90507. "out_door_pic" : {
  90508. "type" : "string",
  90509. "description" : "门头照图片地址,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序门头照图片"
  90510. }
  90511. }
  90512. },
  90513. "AuthApiDTO" : {
  90514. "type" : "object",
  90515. "properties" : {
  90516. "api_name" : {
  90517. "type" : "string",
  90518. "description" : "敏感信息可申请接口名",
  90519. "example" : "app.mini.user.query"
  90520. },
  90521. "field_name" : {
  90522. "type" : "string",
  90523. "description" : "敏感信息申请字段",
  90524. "example" : "name,phone"
  90525. },
  90526. "package_code" : {
  90527. "type" : "string",
  90528. "description" : "敏感信息申请能力code值",
  90529. "example" : "201322123123"
  90530. }
  90531. }
  90532. },
  90533. "AuthFieldApply" : {
  90534. "type" : "object",
  90535. "properties" : {
  90536. "api_name" : {
  90537. "type" : "string",
  90538. "description" : "接口英文名称,通过alipay.open.app.api.query接口查询获得。",
  90539. "example" : "alipay.user.info.share"
  90540. },
  90541. "customer_answer" : {
  90542. "type" : "string",
  90543. "description" : "贵公司是否有自己的客服渠道,能及时响应和处理舆情数量是多少?",
  90544. "example" : "有自己的客服团队xx人,能够及时响应并处理舆能力"
  90545. },
  90546. "field_name" : {
  90547. "type" : "string",
  90548. "description" : "字段英文名称,通过alipay.open.app.api.query接口查询获得。",
  90549. "example" : "mobile"
  90550. },
  90551. "memo" : {
  90552. "type" : "string",
  90553. "description" : "备注",
  90554. "example" : "获取xx的用途:(1)xxxx(2)xxxx"
  90555. },
  90556. "package_code" : {
  90557. "type" : "string",
  90558. "description" : "功能code,通过alipay.open.app.api.query接口查询获得",
  90559. "example" : "20201019201538211864"
  90560. },
  90561. "qps_answer" : {
  90562. "type" : "string",
  90563. "description" : "接入后一年内预计接口秒级调用量峰值是多少?(最高峰值:1000QPS)",
  90564. "example" : "预计接口秒级调用量峰值:xx QPS"
  90565. },
  90566. "scene_code" : {
  90567. "type" : "string",
  90568. "description" : "场景code,alipay.open.app.api.scene.query 接口查询获得",
  90569. "example" : "6"
  90570. },
  90571. "tiny_app_template_id" : {
  90572. "type" : "string",
  90573. "description" : "当为使用使用模板的小程序申请时可传入所使用的小程序模板id",
  90574. "example" : "小程序模板id"
  90575. }
  90576. }
  90577. },
  90578. "AuthFieldDTO" : {
  90579. "type" : "object",
  90580. "properties" : {
  90581. "api_name" : {
  90582. "type" : "string",
  90583. "description" : "接口英文名称",
  90584. "example" : "alipay.user.info.share"
  90585. },
  90586. "field_name" : {
  90587. "type" : "string",
  90588. "description" : "接口字段英文名称",
  90589. "example" : "mobile"
  90590. },
  90591. "package_code" : {
  90592. "type" : "string",
  90593. "description" : "接口归属的功能code",
  90594. "example" : "20190910140822144236"
  90595. },
  90596. "reason" : {
  90597. "type" : "string",
  90598. "description" : "驳回原因",
  90599. "example" : "使用场景不在信息开放的范围内"
  90600. },
  90601. "status" : {
  90602. "type" : "string",
  90603. "description" : "AUDIT 审核中,AGREE通过,REJECT驳回,INVALID无效(isv代申请场景)",
  90604. "example" : "AUDIT"
  90605. },
  90606. "user_app_id" : {
  90607. "type" : "string",
  90608. "description" : "用户应用app_id",
  90609. "example" : "2008001193675073"
  90610. }
  90611. }
  90612. },
  90613. "AuthFieldResponse" : {
  90614. "type" : "object",
  90615. "properties" : {
  90616. "records" : {
  90617. "type" : "array",
  90618. "description" : "用户信息申请记录列表",
  90619. "items" : {
  90620. "$ref" : "#/components/schemas/AuthFieldDTO"
  90621. }
  90622. }
  90623. }
  90624. },
  90625. "AuthFieldSceneDTO" : {
  90626. "type" : "object",
  90627. "properties" : {
  90628. "scene_code" : {
  90629. "type" : "string",
  90630. "description" : "场景CODE",
  90631. "example" : "123"
  90632. },
  90633. "scene_desc" : {
  90634. "type" : "string",
  90635. "description" : "场景code描述",
  90636. "example" : "汽车服务"
  90637. }
  90638. }
  90639. },
  90640. "AuthIdentityInfo" : {
  90641. "type" : "object",
  90642. "properties" : {
  90643. "certificate_info" : {
  90644. "$ref" : "#/components/schemas/IndirectCertificateInfo"
  90645. },
  90646. "certificate_type" : {
  90647. "type" : "string",
  90648. "description" : "主体类型为企业/个体户/政府机关/事业单位/社会组织时,必填;\t证照类型:营业执照(BUSINESS_CERT)/登记证书(REGISTER_CERT)\t主体为政府机关/事业单位/社会组织时,填登记证书;\t主体类型为企业/个体户时,填营业执照;",
  90649. "example" : "BUSINESS_CERT"
  90650. },
  90651. "employer_letter_img" : {
  90652. "type" : "string",
  90653. "description" : "单位证明函照片(使用图片上传接口)主体类型为政府机关/事业单位时,单位证明函照片必填",
  90654. "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
  90655. },
  90656. "financial_org_info" : {
  90657. "$ref" : "#/components/schemas/IndirectFinancialOrgInfo"
  90658. },
  90659. "identity_type" : {
  90660. "type" : "string",
  90661. "description" : "主体类型,枚举定义:企业(ENTERPRISE)、个体工商户(IND_BIZ)、事业单位(INST)、党政机关(GOV)、社会组织(ORG)、小微商户(MSE)",
  90662. "example" : "ENTERPRISE"
  90663. },
  90664. "is_financial_org" : {
  90665. "type" : "boolean",
  90666. "description" : "是否金融机构",
  90667. "example" : "false"
  90668. },
  90669. "qualification_info_list" : {
  90670. "type" : "array",
  90671. "description" : "经营许可证列表,填写特殊行业的经营许可证信息,一个主体最多5个行业",
  90672. "items" : {
  90673. "$ref" : "#/components/schemas/IndirectQualificationInfo"
  90674. }
  90675. },
  90676. "support_credentials" : {
  90677. "$ref" : "#/components/schemas/IndirectSupportCredentials"
  90678. }
  90679. }
  90680. },
  90681. "AuthInfo" : {
  90682. "type" : "object",
  90683. "properties" : {
  90684. "auth_code" : {
  90685. "type" : "string",
  90686. "description" : "授权号",
  90687. "example" : "12345678"
  90688. },
  90689. "auth_type" : {
  90690. "type" : "string",
  90691. "description" : "授权类型",
  90692. "example" : "deduct_code"
  90693. }
  90694. }
  90695. },
  90696. "AuthInfoDTO" : {
  90697. "type" : "object",
  90698. "properties" : {
  90699. "agreement_no" : {
  90700. "type" : "string",
  90701. "description" : "授权协议号",
  90702. "example" : "20221212123412341234"
  90703. },
  90704. "alipay_logon_id" : {
  90705. "type" : "string",
  90706. "description" : "授权的支付宝账号,脱敏。",
  90707. "example" : "demo****@alipay.com"
  90708. }
  90709. }
  90710. },
  90711. "AuthenticationResult" : {
  90712. "type" : "object",
  90713. "properties" : {
  90714. "authentication_data" : {
  90715. "type" : "string",
  90716. "description" : "已加密的鉴权数据",
  90717. "example" : "eyJlcGhlbWVyYWxQdWJsaWNLZXkiOiJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUVyZHU5cXRORFRYVFFnaHNoUEdSMzdxSTd"
  90718. },
  90719. "authentication_mechanism" : {
  90720. "type" : "string",
  90721. "description" : "鉴权类型,如:支付密码、数字签名",
  90722. "example" : "PaymentPINInput"
  90723. }
  90724. }
  90725. },
  90726. "AuthorizeDetailDTO" : {
  90727. "type" : "object",
  90728. "properties" : {
  90729. "authorized_principal_id" : {
  90730. "type" : "string",
  90731. "description" : "收单主体PID"
  90732. }
  90733. }
  90734. },
  90735. "AuthorizeInfo" : {
  90736. "type" : "object",
  90737. "properties" : {
  90738. "auth_ids" : {
  90739. "type" : "array",
  90740. "description" : "授权方身份证明(当前只支持图片类型,请调用alipay.open.mini.miniapp.brand.upload接口上传图片,可以上传多个授权方身份证明)",
  90741. "items" : {
  90742. "type" : "string"
  90743. },
  90744. "example" : "[\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\",\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\"]"
  90745. },
  90746. "auth_materials" : {
  90747. "type" : "array",
  90748. "description" : "授权有效资质(当前只支持图片类型,请调用alipay.open.mini.miniapp.brand.upload接口上传图片,可以上传多个授权有效资质)",
  90749. "items" : {
  90750. "type" : "string"
  90751. },
  90752. "example" : "[\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\",\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\"]"
  90753. },
  90754. "auth_name" : {
  90755. "type" : "string",
  90756. "description" : "被授权人名称",
  90757. "example" : "张三"
  90758. },
  90759. "end_date" : {
  90760. "type" : "string",
  90761. "description" : "授权有效期(结束日期)",
  90762. "example" : "2021-10-16"
  90763. },
  90764. "start_date" : {
  90765. "type" : "string",
  90766. "description" : "授权有效期(开始日期)",
  90767. "example" : "2020-10-16"
  90768. }
  90769. }
  90770. },
  90771. "AuthorizedRuleDTO" : {
  90772. "type" : "object",
  90773. "properties" : {
  90774. "authorized_detail_list" : {
  90775. "type" : "array",
  90776. "description" : "授权商户列表",
  90777. "items" : {
  90778. "$ref" : "#/components/schemas/AuthorizeDetailDTO"
  90779. }
  90780. },
  90781. "authorized_type" : {
  90782. "type" : "string",
  90783. "description" : "WHITELIST-白名单\tALL-全部"
  90784. }
  90785. }
  90786. },
  90787. "BackgroundWordInfo" : {
  90788. "type" : "object",
  90789. "properties" : {
  90790. "background_word" : {
  90791. "type" : "string",
  90792. "description" : "底纹词",
  90793. "example" : "底纹词"
  90794. },
  90795. "fail_reason" : {
  90796. "type" : "string",
  90797. "description" : "审核失败原因",
  90798. "example" : "审核失败原因"
  90799. },
  90800. "status" : {
  90801. "type" : "string",
  90802. "description" : "底纹词状态",
  90803. "example" : "ONLINE"
  90804. }
  90805. }
  90806. },
  90807. "BailDetailResult" : {
  90808. "type" : "object",
  90809. "properties" : {
  90810. "amount" : {
  90811. "type" : "string",
  90812. "description" : "保证金收支金额",
  90813. "example" : "10.00"
  90814. },
  90815. "bail_type" : {
  90816. "type" : "string",
  90817. "description" : "保证金类型描述,仅供参考",
  90818. "example" : "天猫保证金"
  90819. },
  90820. "balance" : {
  90821. "type" : "string",
  90822. "description" : "本次操作后的保证金余额。字段数据展示为\"--\",表明数据暂未更新,请稍等1分钟后重试。",
  90823. "example" : "1000.00"
  90824. },
  90825. "biz_desc" : {
  90826. "type" : "string",
  90827. "description" : "业务描述,资金收支对应的详细业务场景信息",
  90828. "example" : "余额账户迁入"
  90829. },
  90830. "biz_orig_no" : {
  90831. "type" : "string",
  90832. "description" : "业务基础订单号,资金收支对应的原始业务订单唯一识别编号",
  90833. "example" : "1***"
  90834. },
  90835. "memo" : {
  90836. "type" : "string",
  90837. "description" : "保证金说明",
  90838. "example" : "保证金冻结"
  90839. },
  90840. "trans_dt" : {
  90841. "type" : "string",
  90842. "description" : "业务发生时间",
  90843. "example" : "2019-01-01 00:00:00"
  90844. },
  90845. "trans_log_id" : {
  90846. "type" : "string",
  90847. "description" : "保证金业务流水号",
  90848. "example" : "20190101***"
  90849. }
  90850. }
  90851. },
  90852. "BankActivityInfo" : {
  90853. "type" : "object",
  90854. "properties" : {
  90855. "bind_card" : {
  90856. "type" : "boolean",
  90857. "description" : "是否绑定银行卡",
  90858. "example" : "true"
  90859. },
  90860. "card_name" : {
  90861. "type" : "string",
  90862. "description" : "银行卡名称",
  90863. "example" : "广发银行储蓄卡"
  90864. },
  90865. "discount_desc" : {
  90866. "type" : "string",
  90867. "description" : "优惠描述",
  90868. "example" : "满50元减10元"
  90869. },
  90870. "logo" : {
  90871. "type" : "string",
  90872. "description" : "活动logo",
  90873. "example" : "http:xxxx"
  90874. }
  90875. }
  90876. },
  90877. "BankcardExtInfo" : {
  90878. "type" : "object",
  90879. "properties" : {
  90880. "account_type" : {
  90881. "type" : "string",
  90882. "description" : "收款账户类型。\r\t1:对公(在金融机构开设的公司账户),如果银行卡为对公,必须传递省市支行信息或者联行号\r\t2:对私(在金融机构开设的个人账户)"
  90883. },
  90884. "bank_code" : {
  90885. "type" : "string",
  90886. "description" : "银行支行联行号"
  90887. },
  90888. "inst_branch_name" : {
  90889. "type" : "string",
  90890. "description" : "收款银行所属支行"
  90891. },
  90892. "inst_city" : {
  90893. "type" : "string",
  90894. "description" : "收款银行所在市"
  90895. },
  90896. "inst_name" : {
  90897. "type" : "string",
  90898. "description" : "机构名称"
  90899. },
  90900. "inst_province" : {
  90901. "type" : "string",
  90902. "description" : "银行所在省份"
  90903. }
  90904. }
  90905. },
  90906. "BatchRoyaltyDetail" : {
  90907. "type" : "object",
  90908. "properties" : {
  90909. "amount" : {
  90910. "type" : "string",
  90911. "description" : "分账金额,单位元",
  90912. "example" : "10.00"
  90913. },
  90914. "desc" : {
  90915. "type" : "string",
  90916. "description" : "分账描述",
  90917. "example" : "分账给xxxxx"
  90918. },
  90919. "error_code" : {
  90920. "type" : "string",
  90921. "description" : "错误编码\tBANK_CARD_ERROR:银行卡信息有误的场景,系统自动重试中\tBANK_DISHONOR:银行退票",
  90922. "example" : "BANK_DISHONOR"
  90923. },
  90924. "error_desc" : {
  90925. "type" : "string",
  90926. "description" : "错误描述",
  90927. "example" : "账号与户名不一致"
  90928. },
  90929. "status" : {
  90930. "type" : "string",
  90931. "description" : "ACCEPT_SUCCESS:受理成功; SUCCESS:结算成功; FAIL:结算失败;FAIL_RETRY:失败重试。",
  90932. "example" : "ACCEPT_SUCCESS"
  90933. },
  90934. "trans_in_account_id" : {
  90935. "type" : "string",
  90936. "description" : "分账转入账户id。当分账账户id类型是cardSerialNo时,本参数为用户在支付宝绑定的卡编号;当分账账户id类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号;当分账账户id类型是loginName时,本参数为用户的支付宝登录号。",
  90937. "example" : "2088101126708402"
  90938. },
  90939. "trans_in_account_id_type" : {
  90940. "type" : "string",
  90941. "description" : "分账转入账户id类型。 当settle_account_type 为bankCard时,本参数为cardSerialNo,表示分账账户id是银行卡编号; 当settle_account_type 为alipayBalance时,本参数为userId或者loginName,其中userId表示分账账户id是支付宝唯一用户号,loginName表示分账账户id是支付宝登录号。",
  90942. "example" : "cardSerialNo"
  90943. },
  90944. "trans_in_account_open_id" : {
  90945. "type" : "string",
  90946. "description" : "分账转入方的OpenId,OpenId是用户在应用(AppId)下的唯一用户标识。",
  90947. "example" : "095PJtAPYb2UkQ0mXk_X86Z_Pd7PtySKX-U3zUEwONcu3wc"
  90948. },
  90949. "trans_in_account_type" : {
  90950. "type" : "string",
  90951. "description" : "分账账户类型。 bankCard: 分账账户为银行卡; alipayBalance: 分账账户为支付宝余额户",
  90952. "example" : "alipayBalance"
  90953. },
  90954. "trans_in_entity_id" : {
  90955. "type" : "string",
  90956. "description" : "分账转出主体账号。\r\t\r\t当分账转出主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID\r\t\r\t当分账转出类型为Store,本参数为StoreID",
  90957. "example" : "2088000069652893"
  90958. },
  90959. "trans_in_entity_type" : {
  90960. "type" : "string",
  90961. "description" : "分账转入主体类型。 SecondMerchant:分账转入主体为二级商户\r\t\r\tStore: 结算球房",
  90962. "example" : "Store"
  90963. },
  90964. "trans_in_sub_merchant" : {
  90965. "$ref" : "#/components/schemas/SubMerchant"
  90966. },
  90967. "trans_out_entity_id" : {
  90968. "type" : "string",
  90969. "description" : "分账转出主体账号。\r\t\r\t当分账转出主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID\r\t\r\t当分账转出类型为Store,本参数为StoreID",
  90970. "example" : "2088000069652893"
  90971. },
  90972. "trans_out_entity_type" : {
  90973. "type" : "string",
  90974. "description" : "分账转出主体类型。 SecondMerchant:结算主体为二级商户,Store:结算主体为球房。",
  90975. "example" : "SecondMerchant"
  90976. },
  90977. "trans_out_sub_merchant" : {
  90978. "$ref" : "#/components/schemas/SubMerchant"
  90979. }
  90980. }
  90981. },
  90982. "BatchSettleDetail" : {
  90983. "type" : "object",
  90984. "properties" : {
  90985. "amount" : {
  90986. "type" : "string",
  90987. "description" : "结算金额,单位为元",
  90988. "example" : "10000.00"
  90989. },
  90990. "currency" : {
  90991. "type" : "string",
  90992. "description" : "结算币种",
  90993. "example" : "CNY"
  90994. },
  90995. "error_code" : {
  90996. "type" : "string",
  90997. "description" : "错误编码,SETTLE_ACCOUNT_ERROR:结算账户信息有误;BANK_DISHONOR:银行提现退票;UNKNOWN_ERROR:未知错误",
  90998. "example" : "BANK_DISHONOR"
  90999. },
  91000. "error_desc" : {
  91001. "type" : "string",
  91002. "description" : "错误描述",
  91003. "example" : "成功"
  91004. },
  91005. "settle_account_id" : {
  91006. "type" : "string",
  91007. "description" : "结算账户id。当结算账户id类型是cardSerialNo时,本参数为用户在支付宝绑定的卡编号;当结算账户id类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号;当结算账户id类型是loginName时,本参数为用户的支付宝登录号",
  91008. "example" : "159******78"
  91009. },
  91010. "settle_account_id_type" : {
  91011. "type" : "string",
  91012. "description" : "结算账户id类型。\t 当settle_account_type 为bankCard时,本参数为cardSerialNo,表示结算账户id是银行卡编号;\t 当settle_account_type 为alipayBalance时,本参数为userId或者loginName,其中userId表示结算账户id是支付宝唯一用户号,loginName表示结算账户id是支付宝登录号",
  91013. "example" : "loginName"
  91014. },
  91015. "settle_account_open_id" : {
  91016. "type" : "string",
  91017. "description" : "结算账户的OpenId,本参数是用户在该应用(AppId)下的唯一用户标识。",
  91018. "example" : "093PJtAPYb2UkQ0mXk_X86Z_FaMou-DtIEvERQ8X8yqKaEf"
  91019. },
  91020. "settle_account_type" : {
  91021. "type" : "string",
  91022. "description" : "结算账户类型。\tbankCard: 结算账户为银行卡;\talipayBalance: 结算账户为支付宝余额户",
  91023. "example" : "alipayBalance"
  91024. },
  91025. "settle_entity_id" : {
  91026. "type" : "string",
  91027. "description" : "结算主体账号。\t当结算主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID",
  91028. "example" : "19023454"
  91029. },
  91030. "settle_entity_type" : {
  91031. "type" : "string",
  91032. "description" : "结算主体类型。\tSecondMerchant:结算主体为二级商户",
  91033. "example" : "SecondMerchant"
  91034. },
  91035. "status" : {
  91036. "type" : "string",
  91037. "description" : "ACCEPT_SUCCESS:受理成功; SUCCESS:结算成功; FAIL:结算失败;FAIL_RETRY:失败重试。",
  91038. "example" : "BANK_DEALING"
  91039. },
  91040. "sub_merchant" : {
  91041. "$ref" : "#/components/schemas/SubMerchant"
  91042. }
  91043. }
  91044. },
  91045. "BelongMerchantInfo" : {
  91046. "type" : "object",
  91047. "properties" : {
  91048. "business_type" : {
  91049. "type" : "string",
  91050. "description" : "合作业务类型,默认为ISV_FOR_MERCHANT"
  91051. },
  91052. "merchant_id" : {
  91053. "type" : "string",
  91054. "description" : "商户id"
  91055. },
  91056. "merchant_id_type" : {
  91057. "type" : "string",
  91058. "description" : "商户id类型。特别说明:如果merchant_id_type选择SMID。则表明当前商家券活动的归属者是该SMID所绑定的支付宝PID。因此要求该SMID必须绑定相应的支付宝PID。"
  91059. }
  91060. }
  91061. },
  91062. "BenefitInfoDetail" : {
  91063. "type" : "object",
  91064. "properties" : {
  91065. "amount" : {
  91066. "type" : "string",
  91067. "description" : "PRE_FUND:实际核销或者商户赠送的金额\r\tDISCOUNT:实际折扣掉的金额(获取权益不支持该类型)\r\tCOUPON:实际核销或者商户赠送的券"
  91068. },
  91069. "benefit_type" : {
  91070. "type" : "string",
  91071. "description" : "权益类型\r\tPRE_FUND(卡面额)\r\tDISCOUNT:折扣金额\r\tCOUPON:券"
  91072. },
  91073. "count" : {
  91074. "type" : "string",
  91075. "description" : "COUPON:当核销或者赠送券时,可以设置该值"
  91076. },
  91077. "description" : {
  91078. "type" : "string",
  91079. "description" : "产生核销或者赠送权益的描述"
  91080. }
  91081. }
  91082. },
  91083. "BillSendExtInfo" : {
  91084. "type" : "object",
  91085. "properties" : {
  91086. "order_pay_type" : {
  91087. "type" : "string",
  91088. "description" : "账单唤起收银台的方式:\t1-手机wap;2-当面付。默认值为1(不传值或传非数字值)",
  91089. "example" : "1"
  91090. },
  91091. "royalty_amount" : {
  91092. "type" : "string",
  91093. "description" : "分账金额",
  91094. "example" : "0.01"
  91095. },
  91096. "trans_in_pid" : {
  91097. "type" : "string",
  91098. "description" : "2088xxx",
  91099. "example" : "分账收入户PID"
  91100. }
  91101. }
  91102. },
  91103. "BizFundReportResult" : {
  91104. "type" : "object",
  91105. "properties" : {
  91106. "alipay_amount" : {
  91107. "type" : "string",
  91108. "description" : "实付金额(元)",
  91109. "example" : "10000.0"
  91110. },
  91111. "batch_type" : {
  91112. "type" : "string",
  91113. "description" : "是否批量转账",
  91114. "example" : "true"
  91115. },
  91116. "biz_type" : {
  91117. "type" : "string",
  91118. "description" : "业务类型",
  91119. "example" : "01"
  91120. },
  91121. "biz_type_desc" : {
  91122. "type" : "string",
  91123. "description" : "业务类型描述",
  91124. "example" : "转账"
  91125. },
  91126. "charge_fee" : {
  91127. "type" : "string",
  91128. "description" : "服务费(元)",
  91129. "example" : "0.00"
  91130. },
  91131. "gmt_create" : {
  91132. "type" : "string",
  91133. "description" : "交易时间",
  91134. "example" : "\"2021-06-22 19:47:15\""
  91135. },
  91136. "instruction_id" : {
  91137. "type" : "string",
  91138. "description" : "2020xxx",
  91139. "example" : "银行单据号"
  91140. },
  91141. "memo" : {
  91142. "type" : "string",
  91143. "description" : "出借",
  91144. "example" : "备注"
  91145. },
  91146. "no_mbill_encrypt" : {
  91147. "type" : "string",
  91148. "description" : "是否脱敏",
  91149. "example" : "true"
  91150. },
  91151. "order_id" : {
  91152. "type" : "string",
  91153. "description" : "业务订单号",
  91154. "example" : "\"20210622*******4\""
  91155. },
  91156. "pay_amount" : {
  91157. "type" : "string",
  91158. "description" : "实付金额(元)",
  91159. "example" : "20000.00"
  91160. },
  91161. "payee_card_no" : {
  91162. "type" : "string",
  91163. "description" : "收款方银行卡号",
  91164. "example" : "23**"
  91165. },
  91166. "payee_full_name" : {
  91167. "type" : "string",
  91168. "description" : "收款方全名",
  91169. "example" : "**(123213**)"
  91170. },
  91171. "payee_fund_type" : {
  91172. "type" : "string",
  91173. "description" : "收款方资金类型",
  91174. "example" : "00"
  91175. },
  91176. "payee_fund_type_desc" : {
  91177. "type" : "string",
  91178. "description" : "支付宝余额",
  91179. "example" : "收款方资金类型描述"
  91180. },
  91181. "payee_inst_name" : {
  91182. "type" : "string",
  91183. "description" : "收款银行中文简称",
  91184. "example" : "工行"
  91185. },
  91186. "payee_login_email" : {
  91187. "type" : "string",
  91188. "description" : "收款方登录Id",
  91189. "example" : "888@email.com"
  91190. },
  91191. "payee_name" : {
  91192. "type" : "string",
  91193. "description" : "收款方姓名",
  91194. "example" : "**小二"
  91195. },
  91196. "payer_fund_type" : {
  91197. "type" : "string",
  91198. "description" : "付款方资金类型",
  91199. "example" : "00"
  91200. },
  91201. "payer_fund_type_desc" : {
  91202. "type" : "string",
  91203. "description" : "付款方资金类型描述",
  91204. "example" : "支付宝余额"
  91205. },
  91206. "refund_amount" : {
  91207. "type" : "string",
  91208. "description" : "退款金额",
  91209. "example" : "0.00"
  91210. },
  91211. "show_detail" : {
  91212. "type" : "string",
  91213. "description" : "是否展示细节,默认为true",
  91214. "example" : "true"
  91215. },
  91216. "show_voucher" : {
  91217. "type" : "string",
  91218. "description" : "是否出示凭证",
  91219. "example" : "true"
  91220. },
  91221. "source" : {
  91222. "type" : "string",
  91223. "description" : "数据来源",
  91224. "example" : "bizfund"
  91225. },
  91226. "status" : {
  91227. "type" : "string",
  91228. "description" : "单据状态",
  91229. "example" : "SUCCESS"
  91230. },
  91231. "status_desc" : {
  91232. "type" : "string",
  91233. "description" : "单据状态描述",
  91234. "example" : "成功"
  91235. },
  91236. "sub_biz_type" : {
  91237. "type" : "string",
  91238. "description" : "业务子类型",
  91239. "example" : "00"
  91240. },
  91241. "sub_biz_type_desc" : {
  91242. "type" : "string",
  91243. "description" : "业务子类型描述",
  91244. "example" : "普通转账"
  91245. }
  91246. }
  91247. },
  91248. "BizOrderQueryResponse" : {
  91249. "type" : "object",
  91250. "properties" : {
  91251. "action" : {
  91252. "type" : "string",
  91253. "description" : "操作动作。\r\tCREATE_SHOP-创建球房,\r\tMODIFY_SHOP-修改球房,\r\tCREATE_ITEM-创建商品,\r\tMODIFY_ITEM-修改商品,\r\tEFFECTIVE_ITEM-上架商品,\r\tINVALID_ITEM-下架商品,\r\tRESUME_ITEM-暂停售卖商品,\r\tPAUSE_ITEM-恢复售卖商品",
  91254. "example" : "CREATE_SHOP"
  91255. },
  91256. "action_mode" : {
  91257. "type" : "string",
  91258. "description" : "操作模式:NORMAL-普通开店",
  91259. "example" : "WITH_LEADS"
  91260. },
  91261. "apply_id" : {
  91262. "type" : "string",
  91263. "description" : "支付宝流水ID",
  91264. "example" : "2015111410223410000001"
  91265. },
  91266. "biz_context_info" : {
  91267. "type" : "string",
  91268. "description" : "流水上下文信息,JSON格式。根据action不同对应的结构也不同,JSON字段与含义可参考各个接口的请求参数。",
  91269. "example" : "{\"category_id\":\"2015050700000018\",\"main_shop_name\":\"海底捞万塘路分公司\"}"
  91270. },
  91271. "biz_id" : {
  91272. "type" : "string",
  91273. "description" : "业务主体ID。根据biz_type不同可能对应shop_id或item_id。\r\t特别注意对于球房创建,当流水status=SUCCESS时,此字段才为shop_id,其他状态时为0或空。",
  91274. "example" : "2015052100077000000000120774"
  91275. },
  91276. "biz_type" : {
  91277. "type" : "string",
  91278. "description" : "业务类型:SHOP-店铺,ITEM-商品",
  91279. "example" : "SHOP"
  91280. },
  91281. "create_time" : {
  91282. "type" : "string",
  91283. "description" : "创建时间",
  91284. "example" : "2015-10-29 10:51:57"
  91285. },
  91286. "op_id" : {
  91287. "type" : "string",
  91288. "description" : "操作用户的支付账号id",
  91289. "example" : "2088001969784501"
  91290. },
  91291. "request_id" : {
  91292. "type" : "string",
  91293. "description" : "注意:此字段并非外部商户请求时传入的request_id,暂时代表支付宝内部字段,请勿用。",
  91294. "example" : "2015123235324534"
  91295. },
  91296. "result_code" : {
  91297. "type" : "string",
  91298. "description" : "流水处理结果码\r\t<a href=\"https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.lL9hGI&treeId=78&articleId=103834&docType=1#s2\">点此查看</a>",
  91299. "example" : "RISK_AUDIT_FAIL"
  91300. },
  91301. "result_desc" : {
  91302. "type" : "string",
  91303. "description" : "流水处理结果描述",
  91304. "example" : "证照审核未通过"
  91305. },
  91306. "status" : {
  91307. "type" : "string",
  91308. "description" : "流水状态:INIT-初始,PROCESS-处理中,SUCCESS-成功,FAIL-失败。",
  91309. "example" : "FAIL"
  91310. },
  91311. "sub_status" : {
  91312. "type" : "string",
  91313. "description" : "流水子状态:WAIT_CERTIFY-等待认证,LICENSE_AUDITING-证照审核中,RISK_AUDITING-风控审核中,WAIT_SIGN-等待签约,FINISH-终结。",
  91314. "example" : "FINISH"
  91315. },
  91316. "update_time" : {
  91317. "type" : "string",
  91318. "description" : "更新时间",
  91319. "example" : "2015-10-29 10:51:57"
  91320. }
  91321. }
  91322. },
  91323. "BizfundSettleInfo" : {
  91324. "type" : "object",
  91325. "properties" : {
  91326. "settle_mode" : {
  91327. "type" : "string",
  91328. "description" : "请款|账期 模式"
  91329. },
  91330. "settle_target_type" : {
  91331. "type" : "string",
  91332. "description" : "结算的目标对象类型"
  91333. }
  91334. }
  91335. },
  91336. "BkAgentReqInfo" : {
  91337. "type" : "object",
  91338. "properties" : {
  91339. "acq_code" : {
  91340. "type" : "string",
  91341. "description" : "收单机构在清算组织登记或分配的机构代码"
  91342. },
  91343. "device_type" : {
  91344. "type" : "string",
  91345. "description" : "终端设备类型,受理方可参考终端\t注册时的设备类型填写,取值如下:\t01:自动柜员机(含 ATM 和 CDM)\t和多媒体自助终端\t\t02:传统 POS\t03:mPOS\t04:智能 POS\t05:II 型固定电话\t06:云闪付终端;\t07:保留使用;\t08:手机 POS;\t09:刷脸付终端;\t10:条码支付受理终端;\t11:条码支付辅助受理终端;\t12:行业终端(公交、地铁用于指\t定行业的终端);\t13:MIS 终端;"
  91346. },
  91347. "location" : {
  91348. "type" : "string",
  91349. "description" : "终端设备实时经纬度信息,格式为纬度/经度,+表示北纬、东经,-表示南纬、西经。"
  91350. },
  91351. "merch_code" : {
  91352. "type" : "string",
  91353. "description" : "收单机构在清算组织登记的商户编码"
  91354. },
  91355. "serial_num" : {
  91356. "type" : "string",
  91357. "description" : "终端类型填写为 02、\t03、04、05、06、08、09 或 10 时,必\t须填写终端序列号。"
  91358. }
  91359. }
  91360. },
  91361. "BkAgentRespInfo" : {
  91362. "type" : "object",
  91363. "properties" : {
  91364. "bindclrissr_id" : {
  91365. "type" : "string",
  91366. "description" : "枚举值,01 银联;02 网联;03 连通等"
  91367. },
  91368. "bindpyeracctbk_id" : {
  91369. "type" : "string",
  91370. "description" : "付款机构在清算组织登记或分配的机构代码"
  91371. },
  91372. "bindtrx_id" : {
  91373. "type" : "string",
  91374. "description" : "原快捷交易流水号"
  91375. },
  91376. "bkpyeruser_code" : {
  91377. "type" : "string",
  91378. "description" : "用户在银行付款账号的标记化处理编号"
  91379. },
  91380. "estter_location" : {
  91381. "type" : "string",
  91382. "description" : "设备推测位置"
  91383. }
  91384. }
  91385. },
  91386. "BoxBusinessDistrictInfo" : {
  91387. "type" : "object",
  91388. "properties" : {
  91389. "app_name" : {
  91390. "type" : "string",
  91391. "description" : "应用名",
  91392. "example" : "应用名"
  91393. },
  91394. "business_district_id" : {
  91395. "type" : "string",
  91396. "description" : "商圈ID",
  91397. "example" : "169109"
  91398. },
  91399. "business_district_name" : {
  91400. "type" : "string",
  91401. "description" : "商圈名称",
  91402. "example" : "商圈名称"
  91403. },
  91404. "relate_appid" : {
  91405. "type" : "string",
  91406. "description" : "商圈所属小程序对应的服务编码",
  91407. "example" : "2018061360108419"
  91408. },
  91409. "service_code" : {
  91410. "type" : "string",
  91411. "description" : "商圈所属小程序对应的服务编码",
  91412. "example" : "2019112021000906169109"
  91413. }
  91414. }
  91415. },
  91416. "BoxBusinessDistrictModule" : {
  91417. "type" : "object",
  91418. "properties" : {
  91419. "business_district_infos" : {
  91420. "type" : "array",
  91421. "description" : "商圈选择",
  91422. "items" : {
  91423. "$ref" : "#/components/schemas/BoxBusinessDistrictInfo"
  91424. }
  91425. },
  91426. "module_id" : {
  91427. "type" : "string",
  91428. "description" : "模块ID",
  91429. "example" : "20220308000000168465"
  91430. },
  91431. "module_type" : {
  91432. "type" : "string",
  91433. "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图/BOX_BUSINESS_DISTRICT-商圈信息/BOX_EXCLUSIVE_AREA_KEYWORD-地域触发词",
  91434. "example" : "BOX_BUSINESS_DISTRICT"
  91435. }
  91436. }
  91437. },
  91438. "BrandDetail" : {
  91439. "type" : "object",
  91440. "properties" : {
  91441. "block_type" : {
  91442. "type" : "string",
  91443. "description" : "搜索工单详情数据block_type",
  91444. "example" : "TINYAPP"
  91445. },
  91446. "box_version" : {
  91447. "type" : "string",
  91448. "description" : "版本号",
  91449. "example" : "1.0"
  91450. },
  91451. "desc" : {
  91452. "type" : "string",
  91453. "description" : "描述信息",
  91454. "example" : "描述信息"
  91455. },
  91456. "img" : {
  91457. "type" : "string",
  91458. "description" : "img地址",
  91459. "example" : "http://mdn.alipayobjects.com/mrch_spc/afts/img/A*vQG7Q5nUbWwAAAAAAAAAAAAADsF1AQ/original"
  91460. },
  91461. "index" : {
  91462. "type" : "string",
  91463. "description" : "索引信息",
  91464. "example" : "1"
  91465. },
  91466. "key" : {
  91467. "type" : "string",
  91468. "description" : "工单详情数据key",
  91469. "example" : "425d8560-35da-11eb-9de8-217f5d8e3c76"
  91470. },
  91471. "material_id" : {
  91472. "type" : "string",
  91473. "description" : "工单详情数据material_id",
  91474. "example" : "SM2020120401367242"
  91475. },
  91476. "name" : {
  91477. "type" : "string",
  91478. "description" : "应用名称",
  91479. "example" : "测试1"
  91480. },
  91481. "public_bind_app_id" : {
  91482. "type" : "string",
  91483. "description" : "搜索运营工单详情数据public_bind_app_id",
  91484. "example" : "111"
  91485. },
  91486. "service_code" : {
  91487. "type" : "string",
  91488. "description" : "服务码",
  91489. "example" : "2020081121000352488483"
  91490. }
  91491. }
  91492. },
  91493. "BrandRegistrationInfo" : {
  91494. "type" : "object",
  91495. "properties" : {
  91496. "end_date" : {
  91497. "type" : "string",
  91498. "description" : "商标有效期(结束日期)",
  91499. "example" : "2021-10-16"
  91500. },
  91501. "reg_materials" : {
  91502. "type" : "array",
  91503. "description" : "商标注册证书信息(当前只支持图片类型,请调用alipay.open.mini.miniapp.brand.upload接口上传图片,可以上传多个商标注册证书信息)",
  91504. "items" : {
  91505. "type" : "string"
  91506. },
  91507. "example" : "[\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\",\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\"]"
  91508. },
  91509. "reg_number" : {
  91510. "type" : "string",
  91511. "description" : "商标注册号",
  91512. "example" : "654893218979520200916249621"
  91513. },
  91514. "registrant" : {
  91515. "type" : "string",
  91516. "description" : "商标注册人",
  91517. "example" : "张三"
  91518. },
  91519. "start_date" : {
  91520. "type" : "string",
  91521. "description" : "商标有效期(开始日期)",
  91522. "example" : "2020-10-16"
  91523. }
  91524. }
  91525. },
  91526. "BrandResult" : {
  91527. "type" : "object",
  91528. "properties" : {
  91529. "brand_id" : {
  91530. "type" : "string",
  91531. "description" : "已有的品牌的id",
  91532. "example" : "brand_id2020091685456316"
  91533. },
  91534. "brand_name" : {
  91535. "type" : "string",
  91536. "description" : "已有品牌的名称",
  91537. "example" : "brand_namecr7officials"
  91538. }
  91539. }
  91540. },
  91541. "BudgetInfo" : {
  91542. "type" : "object",
  91543. "properties" : {
  91544. "budget_total" : {
  91545. "type" : "string",
  91546. "description" : "预算数量",
  91547. "example" : "10258"
  91548. },
  91549. "budget_type" : {
  91550. "type" : "string",
  91551. "description" : "预算类型",
  91552. "example" : "QUANTITY"
  91553. },
  91554. "sub_budget_dimension" : {
  91555. "type" : "string",
  91556. "description" : "设置每天的预算,如每天的预算设置为100,即该活动一天最多发放100次",
  91557. "example" : "D:表示每天的预算;"
  91558. },
  91559. "sub_value" : {
  91560. "type" : "string",
  91561. "description" : "用于控制子纬度的预算数量",
  91562. "example" : "100:表示sub_dimension定义的纬度预算为100,若sub_dimension为D的话,则表示每天最多发放100张"
  91563. }
  91564. }
  91565. },
  91566. "BusinessItem" : {
  91567. "type" : "object",
  91568. "properties" : {
  91569. "business_appid" : {
  91570. "type" : "string",
  91571. "description" : "业务归属appid"
  91572. },
  91573. "business_payee_id" : {
  91574. "type" : "string",
  91575. "description" : "业务收款pid,business_type为AGREEMENT_PAY时,此参数必传"
  91576. },
  91577. "business_pid" : {
  91578. "type" : "string",
  91579. "description" : "业务归属pid"
  91580. },
  91581. "business_type" : {
  91582. "type" : "string",
  91583. "description" : "业务类型ONLINE_PAY(在线缴费) 、AGREEMENT_PAY(无感停车)\tDEVICE_ONLINE_PAY(车机在线缴费)"
  91584. }
  91585. }
  91586. },
  91587. "BusinessParams" : {
  91588. "type" : "object",
  91589. "properties" : {
  91590. "actual_order_time" : {
  91591. "type" : "string",
  91592. "description" : "实际订单时间,在乘车码场景,传入的是用户刷码乘车时间"
  91593. },
  91594. "campus_card" : {
  91595. "type" : "string",
  91596. "description" : "校园卡编号"
  91597. },
  91598. "card_type" : {
  91599. "type" : "string",
  91600. "description" : "虚拟卡卡类型"
  91601. },
  91602. "enterprise_pay_amount" : {
  91603. "type" : "string",
  91604. "description" : "因公付金额"
  91605. },
  91606. "enterprise_pay_info" : {
  91607. "type" : "string",
  91608. "description" : "因公付业务信息"
  91609. },
  91610. "good_taxes" : {
  91611. "type" : "string",
  91612. "description" : "商户传入的交易税费。需要落地风控使用"
  91613. },
  91614. "mc_create_trade_ip" : {
  91615. "type" : "string",
  91616. "description" : "商户端创建订单的 IP,须上传正确的用户端外网 IP,支持 ipv4/ipv6 格式;\tmc_create_trade_ip和mcCreateTradeIp(旧)参数描述相同,首选mc_create_trade_ip入参,请勿重复入参;\t如已入参mcCreateTradeIp(旧),无需新增入参mc_create_trade_ip。"
  91617. }
  91618. }
  91619. },
  91620. "BusinessParamsMap" : {
  91621. "type" : "object",
  91622. "properties" : {
  91623. "change_time" : {
  91624. "type" : "string",
  91625. "description" : "服务变更时间",
  91626. "example" : "\"2023-04-07 22:22:22\""
  91627. },
  91628. "new_amount" : {
  91629. "type" : "string",
  91630. "description" : "服务变更后新金额",
  91631. "example" : "\"0.01\""
  91632. },
  91633. "ori_amount" : {
  91634. "type" : "string",
  91635. "description" : "原始价格",
  91636. "example" : "\"0.01\""
  91637. }
  91638. }
  91639. },
  91640. "ButtonObject" : {
  91641. "type" : "object",
  91642. "properties" : {
  91643. "action_param" : {
  91644. "type" : "string",
  91645. "description" : "当actionType为link时,该参数为url链接;\r\t当actionType为out时,该参数为用户自定义参数;\r\t当actionType为tel时,该参数为电话号码。\r\t当action_type为map时,该参数为查看地图的关键字。\r\t当action_type为consumption时,该参数可不传。\r\t该参数最长255个字符,不允许冒号等特殊字符。"
  91646. },
  91647. "action_type" : {
  91648. "type" : "string",
  91649. "description" : "菜单类型:\r\tout——事件型菜单;\r\tlink——链接型菜单;\r\ttel——点击拨打电话;\r\tmap——点击查看地图;\r\tconsumption——点击查看用户与生活号管理员账号之间的消费记录"
  91650. },
  91651. "icon" : {
  91652. "type" : "string",
  91653. "description" : "icon图片url,必须是http协议的url,尺寸为60X60,最大不超过5M,请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url"
  91654. },
  91655. "name" : {
  91656. "type" : "string",
  91657. "description" : "菜单名称,icon菜单名称不超过5个汉字,文本菜单名称不超过9个汉字,编码格式为GBK"
  91658. },
  91659. "sub_button" : {
  91660. "type" : "array",
  91661. "description" : "二级菜单数组,若sub_button为空,则一级菜单必须指定action_type和action_param的值,二级菜单个数可以为1~5个。",
  91662. "items" : {
  91663. "$ref" : "#/components/schemas/SubButton"
  91664. }
  91665. }
  91666. }
  91667. },
  91668. "BuyerPayDetail" : {
  91669. "type" : "object",
  91670. "properties" : {
  91671. "amount" : {
  91672. "type" : "string",
  91673. "description" : "买家支付金额",
  91674. "example" : "77.77"
  91675. },
  91676. "pay_channel" : {
  91677. "type" : "string",
  91678. "description" : "支付渠道",
  91679. "example" : "offline_pos"
  91680. }
  91681. }
  91682. },
  91683. "CampusInfo" : {
  91684. "type" : "object",
  91685. "properties" : {
  91686. "address" : {
  91687. "type" : "string",
  91688. "description" : "地址"
  91689. },
  91690. "campus_id" : {
  91691. "type" : "string",
  91692. "description" : "校区id"
  91693. },
  91694. "campus_name" : {
  91695. "type" : "string",
  91696. "description" : "校区名称"
  91697. },
  91698. "inst_name" : {
  91699. "type" : "string",
  91700. "description" : "学校名称"
  91701. }
  91702. }
  91703. },
  91704. "CardFrontTextDTO" : {
  91705. "type" : "object",
  91706. "properties" : {
  91707. "label" : {
  91708. "type" : "string",
  91709. "description" : "文案标签"
  91710. },
  91711. "value" : {
  91712. "type" : "string",
  91713. "description" : "展示文案"
  91714. }
  91715. }
  91716. },
  91717. "CardUserInfo" : {
  91718. "type" : "object",
  91719. "properties" : {
  91720. "open_id" : {
  91721. "type" : "string",
  91722. "description" : "开放id"
  91723. },
  91724. "user_uni_id" : {
  91725. "type" : "string",
  91726. "description" : "用户唯一标识, 根据user_id_type类型来定 (目前暂支持支付宝userId)\r\t\r\t支付宝userId说明:支付宝用户号是以2088开头的16位纯数字组成"
  91727. },
  91728. "user_uni_id_type" : {
  91729. "type" : "string",
  91730. "description" : "ID类型:UID, 即传值UID即可"
  91731. }
  91732. }
  91733. },
  91734. "CashCampaignInfo" : {
  91735. "type" : "object",
  91736. "properties" : {
  91737. "camp_status" : {
  91738. "type" : "string",
  91739. "description" : "活动状态",
  91740. "example" : "READY"
  91741. },
  91742. "coupon_name" : {
  91743. "type" : "string",
  91744. "description" : "现金红包名称",
  91745. "example" : "XXX周年庆红包"
  91746. },
  91747. "crowd_no" : {
  91748. "type" : "string",
  91749. "description" : "现金红包活动号",
  91750. "example" : "EPOJZsBg3A-CZOJE4qlbAueA7By4oJLDwEeYZlAiAnbMnSZ96O-zxUfKlHp5cxmx"
  91751. },
  91752. "origin_crowd_no" : {
  91753. "type" : "string",
  91754. "description" : "原始活动号,商户进行问题排查时提供",
  91755. "example" : "20160901109410190092922300444004"
  91756. }
  91757. }
  91758. },
  91759. "CategoryRequireInfo" : {
  91760. "type" : "object",
  91761. "properties" : {
  91762. "business_licence_required" : {
  91763. "type" : "boolean",
  91764. "description" : "营业执照页面是否必填",
  91765. "example" : "true"
  91766. },
  91767. "category_code" : {
  91768. "type" : "string",
  91769. "description" : "类目code(各级类目code下划线\"_\"拼接)",
  91770. "example" : "XS1001_XS2002_XS3008"
  91771. },
  91772. "category_name" : {
  91773. "type" : "string",
  91774. "description" : "类目名称(各级类目名称下划线\"_\"拼接)",
  91775. "example" : "教育培训_培训机构_课外辅导"
  91776. },
  91777. "category_requirements" : {
  91778. "type" : "string",
  91779. "description" : "类目要求原始描述信息",
  91780. "example" : "1、需提供区、县级教育部门颁发的《民办学校办学许可证》,或事业单位法人证书、民办非企业单位登记证书; ( 其中:民办学校办学许可证 就是 办学许可证)"
  91781. },
  91782. "door_photo_required" : {
  91783. "type" : "boolean",
  91784. "description" : "门头照页面是否必填",
  91785. "example" : "true"
  91786. },
  91787. "special_licence_required" : {
  91788. "type" : "boolean",
  91789. "description" : "特殊资质页面是否必填",
  91790. "example" : "true"
  91791. }
  91792. }
  91793. },
  91794. "ChargeInfo" : {
  91795. "type" : "object",
  91796. "properties" : {
  91797. "charge_fee" : {
  91798. "type" : "string",
  91799. "description" : "实收费用"
  91800. },
  91801. "charge_type" : {
  91802. "type" : "string",
  91803. "description" : "收单手续费trade,花呗分期手续hbfq,其他手续费charge"
  91804. },
  91805. "is_rating_on_switch" : {
  91806. "type" : "string",
  91807. "description" : "是否合约指定收费账号出资,值为\"Y\"或\"N\""
  91808. },
  91809. "is_rating_on_trade_receiver" : {
  91810. "type" : "string",
  91811. "description" : "是否收款账号出资,值为\"Y\"或\"N\""
  91812. },
  91813. "original_charge_fee" : {
  91814. "type" : "string",
  91815. "description" : "原始费用"
  91816. },
  91817. "sub_fee_detail_list" : {
  91818. "type" : "array",
  91819. "description" : "组合支付收费明细",
  91820. "items" : {
  91821. "$ref" : "#/components/schemas/SubFee"
  91822. }
  91823. },
  91824. "switch_fee_rate" : {
  91825. "type" : "string",
  91826. "description" : "签约费率"
  91827. }
  91828. }
  91829. },
  91830. "ChargeItems" : {
  91831. "type" : "object",
  91832. "properties" : {
  91833. "item_mandatory" : {
  91834. "type" : "string",
  91835. "description" : "缴费项是否必选\r\t如果缴费项是多选模式,此参数生效。 “Y”表示必填,“N”或空表示非必填。",
  91836. "example" : "N"
  91837. },
  91838. "item_maximum" : {
  91839. "type" : "integer",
  91840. "description" : "缴费项最大可选数\r\t如果缴费项是多选模式,此参数生效,范围是1-9,如果为空,则最大项默认为9",
  91841. "example" : "5"
  91842. },
  91843. "item_name" : {
  91844. "type" : "string",
  91845. "description" : "缴费项名称",
  91846. "example" : "校服费"
  91847. },
  91848. "item_price" : {
  91849. "type" : "string",
  91850. "description" : "缴费项金额",
  91851. "example" : "8.88"
  91852. },
  91853. "item_serial_number" : {
  91854. "type" : "integer",
  91855. "description" : "缴费项序号,如果缴费项是多选模式,此项为必填,建议从1开始的连续数字,\r\t用户支付成功后,通过passback_params参数带回已选择的缴费项。例如:orderNo=uoo234234&isvOrderNo=24werwe&items=1-2|2-1|3-5\r\t1-2|2-1|3-5 表示:缴费项序列号-缴费项数|缴费项序列号-缴费项数",
  91856. "example" : "1"
  91857. }
  91858. }
  91859. },
  91860. "ChatMessage" : {
  91861. "type" : "object",
  91862. "properties" : {
  91863. "message_content" : {
  91864. "type" : "string",
  91865. "description" : "消息内容",
  91866. "example" : "你好"
  91867. },
  91868. "message_type" : {
  91869. "type" : "string",
  91870. "description" : "消息内容类型,默认TEXT,包括: TEXT(文本消息),IMAGE(图片消息),FILE(文件消息)",
  91871. "example" : "TEXT"
  91872. },
  91873. "send_time" : {
  91874. "type" : "string",
  91875. "description" : "消息发送时间,按照ISO8601标准表示,比如:2018-12-24T15:38:17.824+08:00",
  91876. "example" : "2021-05-12 06:06:02"
  91877. },
  91878. "user_name" : {
  91879. "type" : "string",
  91880. "description" : "发送者名称",
  91881. "example" : "李明"
  91882. },
  91883. "user_type" : {
  91884. "type" : "string",
  91885. "description" : "发送者类型: VISITOR(访客) ,AGENT(在线客服) ,SYSTEM(系统)",
  91886. "example" : "VISITOR"
  91887. }
  91888. }
  91889. },
  91890. "ClauseTerm" : {
  91891. "type" : "object",
  91892. "properties" : {
  91893. "descriptions" : {
  91894. "type" : "array",
  91895. "description" : "说明描述内容",
  91896. "items" : {
  91897. "type" : "string"
  91898. },
  91899. "example" : "说明描述内容"
  91900. },
  91901. "title" : {
  91902. "type" : "string",
  91903. "description" : "说明title",
  91904. "example" : "说明title"
  91905. }
  91906. }
  91907. },
  91908. "CloudResumeCertificateInfo" : {
  91909. "type" : "object",
  91910. "properties" : {
  91911. "certificate_name" : {
  91912. "type" : "string",
  91913. "description" : "证书名称",
  91914. "example" : "证书名称"
  91915. }
  91916. }
  91917. },
  91918. "CloudResumeEducationExperience" : {
  91919. "type" : "object",
  91920. "properties" : {
  91921. "degree" : {
  91922. "type" : "string",
  91923. "description" : "学历",
  91924. "example" : "BACHELOR"
  91925. },
  91926. "education_status" : {
  91927. "type" : "string",
  91928. "description" : "教育状态",
  91929. "example" : "FINISH_SCHOOL"
  91930. },
  91931. "location" : {
  91932. "type" : "string",
  91933. "description" : "受教育地点",
  91934. "example" : "受教育地点"
  91935. },
  91936. "month" : {
  91937. "type" : "integer",
  91938. "description" : "月",
  91939. "example" : "1"
  91940. },
  91941. "school_name" : {
  91942. "type" : "string",
  91943. "description" : "学校名称",
  91944. "example" : "上海大学"
  91945. },
  91946. "year" : {
  91947. "type" : "integer",
  91948. "description" : "年",
  91949. "example" : "2022"
  91950. }
  91951. }
  91952. },
  91953. "CloudResumeHeadPic" : {
  91954. "type" : "object",
  91955. "properties" : {
  91956. "pic_url" : {
  91957. "type" : "string",
  91958. "description" : "头像连接url",
  91959. "example" : "https://afts/..."
  91960. }
  91961. }
  91962. },
  91963. "CloudResumePositionIntention" : {
  91964. "type" : "object",
  91965. "properties" : {
  91966. "intention_city" : {
  91967. "type" : "string",
  91968. "description" : "意向城市",
  91969. "example" : "citycode"
  91970. },
  91971. "job_id" : {
  91972. "type" : "string",
  91973. "description" : "职业id",
  91974. "example" : "123"
  91975. },
  91976. "job_name" : {
  91977. "type" : "string",
  91978. "description" : "职业名称",
  91979. "example" : "职业"
  91980. },
  91981. "profession_id" : {
  91982. "type" : "string",
  91983. "description" : "行业id",
  91984. "example" : "asdh"
  91985. },
  91986. "profession_name" : {
  91987. "type" : "string",
  91988. "description" : "行业名称",
  91989. "example" : "行业"
  91990. },
  91991. "salary_max" : {
  91992. "type" : "string",
  91993. "description" : "最大工资",
  91994. "example" : "2000"
  91995. },
  91996. "salary_min" : {
  91997. "type" : "string",
  91998. "description" : "最小薪资",
  91999. "example" : "1000"
  92000. },
  92001. "salary_unit" : {
  92002. "type" : "string",
  92003. "description" : "工资单位,/月 /日",
  92004. "example" : "MONTH"
  92005. },
  92006. "work_property" : {
  92007. "type" : "string",
  92008. "description" : "工作属性",
  92009. "example" : "PART_TIME"
  92010. }
  92011. }
  92012. },
  92013. "CloudResumeSkillInfo" : {
  92014. "type" : "object",
  92015. "properties" : {
  92016. "skill_name" : {
  92017. "type" : "string",
  92018. "description" : "技能标签名字",
  92019. "example" : "技能标签名字"
  92020. }
  92021. }
  92022. },
  92023. "CloudResumeWorkExperience" : {
  92024. "type" : "object",
  92025. "properties" : {
  92026. "company_name" : {
  92027. "type" : "string",
  92028. "description" : "公司名称",
  92029. "example" : "xxx有限公司"
  92030. },
  92031. "job_id" : {
  92032. "type" : "string",
  92033. "description" : "职业id",
  92034. "example" : "职业id"
  92035. },
  92036. "job_name" : {
  92037. "type" : "string",
  92038. "description" : "职业",
  92039. "example" : "职业"
  92040. },
  92041. "profession_id" : {
  92042. "type" : "string",
  92043. "description" : "行业id",
  92044. "example" : "行业id"
  92045. },
  92046. "profession_name" : {
  92047. "type" : "string",
  92048. "description" : "行业名称",
  92049. "example" : "行业名称"
  92050. },
  92051. "work_desc" : {
  92052. "type" : "string",
  92053. "description" : "工作描述",
  92054. "example" : "工作描述"
  92055. },
  92056. "work_end_time" : {
  92057. "type" : "integer",
  92058. "description" : "工作结束时间",
  92059. "example" : "12"
  92060. },
  92061. "work_start_time" : {
  92062. "type" : "integer",
  92063. "description" : "工作开始日期",
  92064. "example" : "12"
  92065. }
  92066. }
  92067. },
  92068. "CmItemInfo" : {
  92069. "type" : "object",
  92070. "properties" : {
  92071. "description" : {
  92072. "type" : "string",
  92073. "description" : "商品描述"
  92074. },
  92075. "ext_info" : {
  92076. "type" : "array",
  92077. "description" : "商品扩展信息",
  92078. "items" : {
  92079. "$ref" : "#/components/schemas/ItemExtInfo"
  92080. }
  92081. },
  92082. "front_category_id_list" : {
  92083. "type" : "array",
  92084. "description" : "商品所属前台类目ID列表",
  92085. "items" : {
  92086. "type" : "string"
  92087. }
  92088. },
  92089. "gmt_create" : {
  92090. "type" : "string",
  92091. "description" : "商品创建时间"
  92092. },
  92093. "gmt_modified" : {
  92094. "type" : "string",
  92095. "description" : "商品更新时间"
  92096. },
  92097. "item_id" : {
  92098. "type" : "string",
  92099. "description" : "商品ID"
  92100. },
  92101. "material_list" : {
  92102. "type" : "array",
  92103. "description" : "商品素材列表",
  92104. "items" : {
  92105. "$ref" : "#/components/schemas/MaterialInfo"
  92106. }
  92107. },
  92108. "name" : {
  92109. "type" : "string",
  92110. "description" : "商品名称"
  92111. },
  92112. "property_list" : {
  92113. "type" : "array",
  92114. "description" : "商品属性列表",
  92115. "items" : {
  92116. "$ref" : "#/components/schemas/ItemPropertyInfo"
  92117. }
  92118. },
  92119. "sku_list" : {
  92120. "type" : "array",
  92121. "description" : "商品SKU列表",
  92122. "items" : {
  92123. "$ref" : "#/components/schemas/CmItemSkuInfo"
  92124. }
  92125. },
  92126. "standard_category_id" : {
  92127. "type" : "string",
  92128. "description" : "商品所属标准类目ID(具体值请参见产品文档)"
  92129. },
  92130. "status" : {
  92131. "type" : "string",
  92132. "description" : "商品状态:\r\tEFFECT(有效)、INVALID(无效)"
  92133. },
  92134. "target_id" : {
  92135. "type" : "string",
  92136. "description" : "商品归属主体ID\r\t例:商品归属主体类型为店铺,则商品归属主体ID为店铺ID;归属主体为小程序,则归属主体ID为小程序ID"
  92137. },
  92138. "target_type" : {
  92139. "type" : "string",
  92140. "description" : "商品归属主体类型:\r\t5(店铺)\r\t8(小程序)"
  92141. },
  92142. "type" : {
  92143. "type" : "string",
  92144. "description" : "商品类型:\r\tSTANDARD_GOODS(标品)、NON_STANDARD_GOODS(非标品)"
  92145. }
  92146. }
  92147. },
  92148. "CmItemSkuInfo" : {
  92149. "type" : "object",
  92150. "properties" : {
  92151. "gmt_create" : {
  92152. "type" : "string",
  92153. "description" : "创建时间"
  92154. },
  92155. "gmt_modified" : {
  92156. "type" : "string",
  92157. "description" : "更新时间"
  92158. },
  92159. "inventory" : {
  92160. "type" : "integer",
  92161. "description" : "库存"
  92162. },
  92163. "item_id" : {
  92164. "type" : "string",
  92165. "description" : "商品ID"
  92166. },
  92167. "material_list" : {
  92168. "type" : "array",
  92169. "description" : "素材列表",
  92170. "items" : {
  92171. "$ref" : "#/components/schemas/MaterialInfo"
  92172. }
  92173. },
  92174. "original_price" : {
  92175. "type" : "integer",
  92176. "description" : "标价,单位分"
  92177. },
  92178. "price" : {
  92179. "type" : "integer",
  92180. "description" : "售价,单位分"
  92181. },
  92182. "remain_inventory" : {
  92183. "type" : "integer",
  92184. "description" : "剩余库存"
  92185. },
  92186. "sku_id" : {
  92187. "type" : "string",
  92188. "description" : "商品SKU ID"
  92189. },
  92190. "sku_property_list" : {
  92191. "type" : "array",
  92192. "description" : "SKU属性列表",
  92193. "items" : {
  92194. "$ref" : "#/components/schemas/ItemSkuPropertyInfo"
  92195. }
  92196. },
  92197. "status" : {
  92198. "type" : "string",
  92199. "description" : "商品SKU状态:\r\tEFFECT(有效)、\r\tINVALID(无效)"
  92200. }
  92201. }
  92202. },
  92203. "CodeInfo" : {
  92204. "type" : "object",
  92205. "properties" : {
  92206. "goto_url" : {
  92207. "type" : "string",
  92208. "description" : "跳转URL,扫码关注服务窗后会直接跳转到此URL",
  92209. "example" : "http://www.******.com"
  92210. },
  92211. "scene" : {
  92212. "$ref" : "#/components/schemas/Scene"
  92213. }
  92214. }
  92215. },
  92216. "CommonErrorType" : {
  92217. "required" : [ "code", "message" ],
  92218. "type" : "object",
  92219. "properties" : {
  92220. "code" : {
  92221. "type" : "string",
  92222. "description" : "错误码",
  92223. "enum" : [ "invalid-parameter", "upload-fail", "invalid-file-extension", "invalid-file-size", "file-check-fail", "app-call-limited", "method-call-limited", "insufficient-isv-permissions", "illegal-client-ip", "insufficient-user-permissions", "self-invoke-forbidden", "app-auth-invoke-limit", "app-api-punished", "missing-method", "missing-platform", "invalid-platform", "invalid-method", "forbidden-api", "invalid-format", "missing-signature", "missing-app-access-token", "missing-signature-type", "missing-default-signature-type", "missing-signature-key", "invalid-signature-type", "invalid-signature-type-said-interface", "invalid-signature", "unsupported-expired-app-key-sign", "app-key-security-risk, app-cert-expired", "app-cert-not-exist", "alipay-cert-not-exist", "missing-app-cert-sn", "missing-alipay-cert-sn", "missing-alipay-root-cert-sn", "invalid-alipay-root-cert-sn", "invalid-request-data", "invalid-response-data", "missing-encrypt-type", "missing-encrypt-key", "invalid-encrypt-type", "invalid-encrypt", "missing-session", "missing-app-id", "invalid-app-id", "missing-timestamp", "invalid-timestamp", "illegal-timestamp", "missing-version", "invalid-version", "unsupported-version", "invalid-encoding", "invalid-charset", "invalid-digest-type", "invalid-digest", "invalid-app-state", "invalid-subscribe-relations", "invalid-auth-token", "auth-token-time-out", "invalid-app-auth-token", "invalid-app-auth-token-no-api", "app-auth-token-time-out", "not-support-app-auth", "access-data-time-out", "unsupport-operation", "openid-error", "unknow-error", "invalid-app-method", "missing-app-uid", "illegal-json", "illegal-card-no", "invalid-partnerid", "no-product-reg-by-partner", "decryption-error", "decryption-error-missing-encrypt-type", "decryption-error-not-valid-encrypt-type", "decryption-error-not-valid-encrypt-key", "decryption-error-unknown", "missing-signature-config", "sevice-not-been-subscribed-to", "unknown-sub-code", "suspected-attack", "invalid-auth-relations", "invalid-product", "method-forbidden-batch-invoke", "exist-blank-sub-request-id", "exist-repeated-sub-request-id", "invalid-app-auth-relations", "app-unbind-partner", "app-invalid-oid", "exceed-api-balance", "inner-app-no-access", "invalid-inner-invoke-scene", "invalid-app-api-field-config" ]
  92224. },
  92225. "links" : {
  92226. "type" : "string",
  92227. "description" : "解决方案链接"
  92228. },
  92229. "message" : {
  92230. "type" : "string",
  92231. "description" : "错误描述"
  92232. }
  92233. }
  92234. },
  92235. "CommonNotifyUrlModel" : {
  92236. "type" : "object",
  92237. "properties" : {
  92238. "notify_url" : {
  92239. "type" : "string",
  92240. "description" : "通知地址"
  92241. }
  92242. }
  92243. },
  92244. "CommonVoucherDisplayInfo" : {
  92245. "type" : "object",
  92246. "properties" : {
  92247. "brand_logo" : {
  92248. "type" : "string",
  92249. "description" : "商家品牌 logo 链接。"
  92250. },
  92251. "brand_name" : {
  92252. "type" : "string",
  92253. "description" : "商户品牌名称。 如果不设置品牌名称,则默认使用支付宝商家系统中维护的商家别名。 如果没有维护商家别名,则使用默认名称: 商家优惠。 用户领取优惠券后,品牌名称会对用户进行展示"
  92254. },
  92255. "voucher_description" : {
  92256. "type" : "string",
  92257. "description" : "用于说明详细的活动规则,会展示在支付宝卡包券详情页。"
  92258. },
  92259. "voucher_detail_images" : {
  92260. "type" : "array",
  92261. "description" : "券详情图片链接。",
  92262. "items" : {
  92263. "type" : "string"
  92264. }
  92265. },
  92266. "voucher_image" : {
  92267. "type" : "string",
  92268. "description" : "券封面图链接。"
  92269. }
  92270. }
  92271. },
  92272. "CommonVoucherDisplayLiteInfo" : {
  92273. "type" : "object",
  92274. "properties" : {
  92275. "brand_logo" : {
  92276. "type" : "string",
  92277. "description" : "商户品牌 logo 链接。"
  92278. },
  92279. "brand_name" : {
  92280. "type" : "string",
  92281. "description" : "商户品牌名称。 如果不设置品牌名称,则默认使用支付宝商家系统中维护的商家别名。 如果没有维护商家别名,则使用默认名称:商家优惠。 用户领取优惠券后,品牌名称会对用户进行展示。"
  92282. }
  92283. }
  92284. },
  92285. "CommonVoucherSendRule" : {
  92286. "type" : "object",
  92287. "properties" : {
  92288. "max_quantity_by_day" : {
  92289. "type" : "integer",
  92290. "description" : "设置此字段,允许指定单天最大发券数量。"
  92291. },
  92292. "natural_person_limit" : {
  92293. "type" : "boolean",
  92294. "description" : "限制相同身份证号领取次数(voucher_quantity_limit_per_user)。默认false不限制。 枚举值 true:是 false:否"
  92295. },
  92296. "phone_number_limit" : {
  92297. "type" : "boolean",
  92298. "description" : "限制相同手机号领取次数(voucher_quantity_limit_per_user)。默认false不限制 枚举值 true:是 false:否"
  92299. },
  92300. "real_name_limit" : {
  92301. "type" : "boolean",
  92302. "description" : "限制支付宝实名用户才能领取支付券,默认为false表示不限制。枚举值 true\\false"
  92303. },
  92304. "voucher_quantity" : {
  92305. "type" : "integer",
  92306. "description" : "发行券的总数量。"
  92307. },
  92308. "voucher_quantity_limit_per_user" : {
  92309. "type" : "integer",
  92310. "description" : "每人领取限制。 默认按照支付宝账号进行领取限制; 不填写或填入0表示没有领取限制。"
  92311. },
  92312. "voucher_quantity_limit_per_user_period_type" : {
  92313. "type" : "string",
  92314. "description" : "周期限领配置,限制每人在固定周期内领取张数(voucher_quantity_limit_per_user),默认LIFE_CYCLE。"
  92315. }
  92316. }
  92317. },
  92318. "CommonVoucherUseRule" : {
  92319. "type" : "object",
  92320. "properties" : {
  92321. "discount_voucher" : {
  92322. "$ref" : "#/components/schemas/ActivityDiscountVoucher"
  92323. },
  92324. "exchange_voucher" : {
  92325. "$ref" : "#/components/schemas/ActivityExchangeVoucher"
  92326. },
  92327. "fix_voucher" : {
  92328. "$ref" : "#/components/schemas/ActivityFixVoucher"
  92329. },
  92330. "special_voucher" : {
  92331. "$ref" : "#/components/schemas/ActivitySpecialVoucher"
  92332. }
  92333. }
  92334. },
  92335. "CommonVoucherUseRuleLiteInfo" : {
  92336. "type" : "object",
  92337. "properties" : {
  92338. "discount_voucher" : {
  92339. "$ref" : "#/components/schemas/ActivityDiscountVoucher"
  92340. },
  92341. "exchange_voucher" : {
  92342. "$ref" : "#/components/schemas/ActivityExchangeVoucher"
  92343. },
  92344. "fix_voucher" : {
  92345. "$ref" : "#/components/schemas/ActivityFixVoucher"
  92346. },
  92347. "special_voucher" : {
  92348. "$ref" : "#/components/schemas/ActivitySpecialVoucher"
  92349. }
  92350. }
  92351. },
  92352. "CompleteVoucherInfo" : {
  92353. "type" : "object",
  92354. "properties" : {
  92355. "anti_fake_code" : {
  92356. "type" : "string",
  92357. "description" : "防伪码",
  92358. "example" : "无"
  92359. },
  92360. "check_sum" : {
  92361. "type" : "string",
  92362. "description" : "校验码",
  92363. "example" : "无"
  92364. },
  92365. "device_no" : {
  92366. "type" : "string",
  92367. "description" : "开票机器码",
  92368. "example" : "654334567890987654"
  92369. },
  92370. "file_download_url" : {
  92371. "type" : "string",
  92372. "description" : "板式文件下载地址",
  92373. "example" : "http://einvoice-file-daily.oss-cn-beijing.aliyuncs.com/QYMKR9GA5SPVR_042001900111_56322525.pdf?Expires=1943931648&OSSAccessKeyId=LTAI4Fndk4SpFM1E4TVUPT1K&Signature=azYKSp%2Bnn4v6GLy3YZ3nZOCO%2FVo%3D"
  92374. },
  92375. "file_type" : {
  92376. "type" : "string",
  92377. "description" : "板式文件的类型",
  92378. "example" : "pdf"
  92379. },
  92380. "invoice_amount" : {
  92381. "type" : "integer",
  92382. "description" : "发票金额",
  92383. "example" : "4950"
  92384. },
  92385. "invoice_code" : {
  92386. "type" : "string",
  92387. "description" : "发票代码",
  92388. "example" : "042001900111"
  92389. },
  92390. "invoice_content_list" : {
  92391. "type" : "array",
  92392. "description" : "汇总发票详细信息(目前该字段为空)",
  92393. "items" : {
  92394. "$ref" : "#/components/schemas/InvoiceContentInfo"
  92395. }
  92396. },
  92397. "invoice_date" : {
  92398. "type" : "string",
  92399. "description" : "发票日期",
  92400. "example" : "2021-08-10 00:00:00"
  92401. },
  92402. "invoice_kind" : {
  92403. "type" : "integer",
  92404. "description" : "发票类型 0:增值税普通电子发票 1:增值税普通发票 2:增值税专用发票 3:增值税专用电子发票 4:财政电子发票",
  92405. "example" : "0"
  92406. },
  92407. "invoice_memo" : {
  92408. "type" : "string",
  92409. "description" : "备注",
  92410. "example" : "无"
  92411. },
  92412. "invoice_no" : {
  92413. "type" : "string",
  92414. "description" : "发票号码",
  92415. "example" : "56322524"
  92416. },
  92417. "invoice_source" : {
  92418. "type" : "string",
  92419. "description" : "发票来源,取值范围 SUMMARY_INVOICE_AUTO_OPEN 汇总开票系统自动开票,SUMMARY_INVOICE_MERCHANT_UPLOAD 汇总开票商户手动上传",
  92420. "example" : "SUMMARY_INVOICE_AUTO_OPEN"
  92421. },
  92422. "invoice_title" : {
  92423. "type" : "string",
  92424. "description" : "发票抬头",
  92425. "example" : "支付宝(中国)网络技术有限公司"
  92426. },
  92427. "invoice_type" : {
  92428. "type" : "string",
  92429. "description" : "发票类型(红、蓝)",
  92430. "example" : "无"
  92431. },
  92432. "payee_address" : {
  92433. "type" : "string",
  92434. "description" : "销售方地址",
  92435. "example" : "杭州市西湖区"
  92436. },
  92437. "payee_bank_account" : {
  92438. "type" : "string",
  92439. "description" : "销售方银行账号",
  92440. "example" : "283635722"
  92441. },
  92442. "payee_bank_name" : {
  92443. "type" : "string",
  92444. "description" : "销售方银行名称",
  92445. "example" : "工行"
  92446. },
  92447. "payee_checker" : {
  92448. "type" : "string",
  92449. "description" : "复核人",
  92450. "example" : "无"
  92451. },
  92452. "payee_mobile" : {
  92453. "type" : "string",
  92454. "description" : "销售方电话",
  92455. "example" : "0571-2735522"
  92456. },
  92457. "payee_name" : {
  92458. "type" : "string",
  92459. "description" : "销售方名称",
  92460. "example" : "航信培训企业501081"
  92461. },
  92462. "payee_operator" : {
  92463. "type" : "string",
  92464. "description" : "开票人",
  92465. "example" : "无"
  92466. },
  92467. "payee_receiver" : {
  92468. "type" : "string",
  92469. "description" : "收款人",
  92470. "example" : "无"
  92471. },
  92472. "payee_register_no" : {
  92473. "type" : "string",
  92474. "description" : "销售方税号",
  92475. "example" : "339902999999789001"
  92476. },
  92477. "payer_address" : {
  92478. "type" : "string",
  92479. "description" : "购买方地址",
  92480. "example" : "无"
  92481. },
  92482. "payer_bank_account" : {
  92483. "type" : "string",
  92484. "description" : "购买方银行账号",
  92485. "example" : "无"
  92486. },
  92487. "payer_bank_name" : {
  92488. "type" : "string",
  92489. "description" : "购买方银行名称",
  92490. "example" : "无"
  92491. },
  92492. "payer_mobile" : {
  92493. "type" : "string",
  92494. "description" : "购买方电话",
  92495. "example" : "无"
  92496. },
  92497. "payer_name" : {
  92498. "type" : "string",
  92499. "description" : "购买方名称",
  92500. "example" : "支付宝(中国)网络技术有限公司"
  92501. },
  92502. "payer_register_no" : {
  92503. "type" : "string",
  92504. "description" : "购买方税号",
  92505. "example" : "91310115768225450T"
  92506. },
  92507. "sum_price" : {
  92508. "type" : "integer",
  92509. "description" : "不含税金额",
  92510. "example" : "4901"
  92511. },
  92512. "sum_tax" : {
  92513. "type" : "integer",
  92514. "description" : "合计税额",
  92515. "example" : "49"
  92516. }
  92517. }
  92518. },
  92519. "ComplexLabelRule" : {
  92520. "type" : "object",
  92521. "properties" : {
  92522. "label_id" : {
  92523. "type" : "string",
  92524. "description" : "标签id"
  92525. },
  92526. "label_value" : {
  92527. "type" : "string",
  92528. "description" : "标签取值,当有多个取值时用英文\",\"分隔(比如使用in操作符时);不允许传入下划线\"_\"、竖线\"|\"或者空格\" \""
  92529. },
  92530. "operator" : {
  92531. "type" : "string",
  92532. "description" : "目前支持EQ(等于)、NEQ(不等于)、LT(小于),GT(大于)、LTEQ(小于等于)、GTEQ(大于等于)、LIKE(匹配)、BETWEEN(范围)、IN(包含)、NOTIN(不包含)操作"
  92533. }
  92534. }
  92535. },
  92536. "ConfigInfo" : {
  92537. "type" : "object",
  92538. "properties" : {
  92539. "attachment_explain" : {
  92540. "$ref" : "#/components/schemas/AttachmentExplain"
  92541. },
  92542. "collect_attachement" : {
  92543. "type" : "boolean",
  92544. "description" : "是否收集附件",
  92545. "example" : "true"
  92546. },
  92547. "collect_cert_types" : {
  92548. "type" : "array",
  92549. "description" : "收集证件类型列表",
  92550. "items" : {
  92551. "type" : "string"
  92552. },
  92553. "example" : "[\"IDCARD\"]"
  92554. },
  92555. "company_no" : {
  92556. "type" : "string",
  92557. "description" : "公司编号-SF",
  92558. "example" : "SF"
  92559. },
  92560. "contract_validity" : {
  92561. "type" : "integer",
  92562. "description" : "文档过期时间",
  92563. "example" : "1577243641153"
  92564. },
  92565. "jump_url" : {
  92566. "type" : "string",
  92567. "description" : "支付宝小程序跳转",
  92568. "example" : "alipays://platformapi/startapp?appId=2019042364288308&page=pages%2Fwater%2Fwater%3FactivityId%3D0ow26mr0eowt22mqz1gap8bale802821"
  92569. },
  92570. "merchant_mini_sign_url" : {
  92571. "type" : "string",
  92572. "description" : "商户小程序签署地址(signModel字段值为1时 必填)",
  92573. "example" : "alipays://platformapi/startapp?appId=2019042364288308&page=pages%2Fwater%2Fwater%3FactivityId%3D0ow26mr0eowt22mqz1gap8bale802821"
  92574. },
  92575. "notice_developer_url" : {
  92576. "type" : "string",
  92577. "description" : "回调地址,签署的过程和签署完成都会回调。",
  92578. "example" : "https://abc.com/callback"
  92579. },
  92580. "platform_order_no" : {
  92581. "type" : "string",
  92582. "description" : "平台订单号",
  92583. "example" : "DD1234"
  92584. },
  92585. "serial_no" : {
  92586. "type" : "string",
  92587. "description" : "物流单号",
  92588. "example" : "1576726491.1902587"
  92589. },
  92590. "sign_model" : {
  92591. "type" : "integer",
  92592. "description" : "签署方式 0-e签宝小程序签署 1-商户小程序签署 默认0",
  92593. "example" : "0"
  92594. }
  92595. }
  92596. },
  92597. "ConfigInfoBean" : {
  92598. "type" : "object",
  92599. "properties" : {
  92600. "attachment_explain" : {
  92601. "$ref" : "#/components/schemas/AttachmentExplainBean"
  92602. },
  92603. "auto_archive" : {
  92604. "type" : "boolean",
  92605. "description" : "签署完成是否自动归档,默认true,如果false,则归档需要调用签署流程归档接口",
  92606. "example" : "false"
  92607. },
  92608. "collect_attachement" : {
  92609. "type" : "boolean",
  92610. "description" : "是否收集附件(需签署人上传身份证或者其他文件的,需设置为true)",
  92611. "example" : "true"
  92612. },
  92613. "company_no" : {
  92614. "type" : "string",
  92615. "description" : "物流公司编号(目前仅支持顺丰\"SF\")\t注:避免影响生产订单,联调及测试环境请传入SF_TEST。",
  92616. "example" : "SF"
  92617. },
  92618. "contract_validity" : {
  92619. "type" : "integer",
  92620. "description" : "合同过期时间:该参数设置的时间若到期,则会触发流程文件过期通知",
  92621. "example" : "1577243641153"
  92622. },
  92623. "jump_url" : {
  92624. "type" : "string",
  92625. "description" : "签署完成后跳转商户小程序的地址(signModel字段值为2时 选填)",
  92626. "example" : "alipays://platformapi/startapp?appId=2019042364288308&page=pages%2Fwater%2Fwater%3FactivityId%3D0ow26mr0eowt22mqz1gap8bale802821"
  92627. },
  92628. "merchant_mini_sign_url" : {
  92629. "type" : "string",
  92630. "description" : "商户小程序签署地址(signModel字段值为1时 必填)",
  92631. "example" : "alipays://platformapi/startapp?appId=2019042364288308&page=pages%2Fwater%2Fwater%3FactivityId%3D0ow26mr0eowt22mqz1gap8bale802821"
  92632. },
  92633. "notice_developer_url" : {
  92634. "type" : "string",
  92635. "description" : "https://esign.cn/callback",
  92636. "example" : "回调通知地址,签署的过程和签署完成都会回调"
  92637. },
  92638. "platform_order_no" : {
  92639. "type" : "string",
  92640. "description" : "平台订单号,可将商户订单与电子合同进行关联。用户通过支付宝官方小程序 合同管家 查看合同时,可快速进入商家的小程序及对应的订单详情页,为商家的小程序提供了流量入口,提高用户的活跃度和留存率;",
  92641. "example" : "DD1234"
  92642. },
  92643. "serial_no" : {
  92644. "type" : "string",
  92645. "description" : "12或15位物流单号",
  92646. "example" : "444258617994"
  92647. },
  92648. "sign_model" : {
  92649. "type" : "integer",
  92650. "description" : "快递扫码签收方式:\t1-商户小程序:扫码后跳转商户小程序进行签收;\t0-e签宝小程序:如商户没有支付宝小程序,可使用e签宝小程序完成签收。",
  92651. "example" : "0"
  92652. },
  92653. "specify_attachment_infos" : {
  92654. "type" : "array",
  92655. "description" : "指定签署人需要上传的附件列表,例如:A、B、C三方签署,A需上传附件1,B需指定附件2,C需上传附件1,2,3",
  92656. "items" : {
  92657. "$ref" : "#/components/schemas/SpecifyAttachmentInfo"
  92658. }
  92659. }
  92660. }
  92661. },
  92662. "ConstraintInfo" : {
  92663. "type" : "object",
  92664. "properties" : {
  92665. "cash_pool_id" : {
  92666. "type" : "string",
  92667. "description" : "资金池ID\r\t(数据来源:需要ISV自己去口碑销售中台创建资金池,拿到对应的资金池ID,此参数仅适用ISV接入口福业务场景时使用,其他场景不需要传递此参数)",
  92668. "example" : "2017031100073001472700000GY7"
  92669. },
  92670. "crowd_group_id" : {
  92671. "type" : "string",
  92672. "description" : "人群规则组ID\r\t仅直发奖类型活动设置有效,通过调用营销活动人群组规则创建接口参数返回",
  92673. "example" : "12344556"
  92674. },
  92675. "crowd_restriction" : {
  92676. "type" : "string",
  92677. "description" : "针对指定人群的约束条件",
  92678. "example" : "NEW_MEMBER_PROM\r\nO:新会员\r\nSTUDENT:学生用户,仅对\r\nDIRECT_SEND类型下的代金券,折扣券活动有效"
  92679. },
  92680. "crowd_restriction_value" : {
  92681. "type" : "string",
  92682. "description" : "根据crowd_restriction的值不同,设置相应的值,如果crowd_restriction是“MEMBER_CARD”,crowd_restriction_value就是关联会员卡模版ID集合,用逗号拼接",
  92683. "example" : "2018012020075000000022612371,2018012020076000000022612371"
  92684. },
  92685. "item_ids" : {
  92686. "type" : "array",
  92687. "description" : "单品码列表\r\t仅在创建消费单品送活动时设置,最多设置500个单品码,由商户根据自己的商品管理自定义,一般为国标码",
  92688. "items" : {
  92689. "type" : "string"
  92690. },
  92691. "example" : "212313,221322"
  92692. },
  92693. "min_cost" : {
  92694. "type" : "string",
  92695. "description" : "最低消费金额,单位元\r\t仅在创建消费送礼包活动时设置",
  92696. "example" : "100"
  92697. },
  92698. "subsidy_percent" : {
  92699. "type" : "string",
  92700. "description" : "补贴百分比,95表示 95%,支持两位小数\r\t(参数说明:补贴比例95%,表示ISV出资95%,商户出资5%,此参数仅适用ISV接入口福业务场景时使用,其他场景不需要传递此参数)",
  92701. "example" : "95"
  92702. },
  92703. "suit_shops" : {
  92704. "type" : "array",
  92705. "description" : "活动适用的球房列表\r\t仅品牌商发起的招商活动可为空\r\t最多支持10w家球房",
  92706. "items" : {
  92707. "type" : "string"
  92708. },
  92709. "example" : "2015110600077000000002125023,2015110600077000000002125022"
  92710. },
  92711. "user_win_count" : {
  92712. "type" : "string",
  92713. "description" : "活动期间用户能够参与的次数限制\r\t如果不设置则不限制参与次数",
  92714. "example" : "1"
  92715. },
  92716. "user_win_frequency" : {
  92717. "type" : "string",
  92718. "description" : "活动期间用户能够参与的频率限制\r\t如果不设置则不限制参与频率\r\t每日中奖1次: D||1 \r\t每周中奖2次: W||2 \r\t每月中奖3次: M||3",
  92719. "example" : "D||3"
  92720. }
  92721. }
  92722. },
  92723. "ConsultActivityInfo" : {
  92724. "type" : "object",
  92725. "properties" : {
  92726. "activity_id" : {
  92727. "type" : "string",
  92728. "description" : "活动id",
  92729. "example" : "201623213214325423"
  92730. }
  92731. }
  92732. },
  92733. "ConsultActivityResultInfo" : {
  92734. "type" : "object",
  92735. "properties" : {
  92736. "activity_id" : {
  92737. "type" : "string",
  92738. "description" : "活动id",
  92739. "example" : "201632453456645"
  92740. },
  92741. "consult_result_code" : {
  92742. "type" : "string",
  92743. "description" : "咨询结果码\t\tSUCCESS:可以领取\t\tCOUNT_OVER_LIMIT:不可领取,次数超过限制\t\tBUDGET_NOT_ENOUGH:不可领取,预算不足\t\tACTIVITY_NOT_START:活动未开始\t\tACTIVITY_NOT_PERMISSION:商户没有权限发放该活动\t\tOTHER:不可领取,未知原因",
  92744. "example" : "ACTIVITY_NOT_START"
  92745. }
  92746. }
  92747. },
  92748. "ConsumeOutputInfo" : {
  92749. "type" : "object",
  92750. "properties" : {
  92751. "bill_no" : {
  92752. "type" : "string",
  92753. "description" : "支付宝交易号",
  92754. "example" : "2020010900003001020000033189"
  92755. },
  92756. "category_name" : {
  92757. "type" : "string",
  92758. "description" : "账单分类",
  92759. "example" : "餐饮"
  92760. },
  92761. "consume_amount" : {
  92762. "type" : "string",
  92763. "description" : "金额",
  92764. "example" : "30.29"
  92765. },
  92766. "consume_date" : {
  92767. "type" : "string",
  92768. "description" : "日期",
  92769. "example" : "2020-03-20"
  92770. },
  92771. "consume_title" : {
  92772. "type" : "string",
  92773. "description" : "交易记录标题",
  92774. "example" : "xxx餐厅套餐一份"
  92775. },
  92776. "payee_name" : {
  92777. "type" : "string",
  92778. "description" : "商家名称",
  92779. "example" : "肯德基"
  92780. }
  92781. }
  92782. },
  92783. "ConsumerNotifyIstd" : {
  92784. "type" : "object",
  92785. "properties" : {
  92786. "goods_count" : {
  92787. "type" : "integer",
  92788. "description" : "商品数量"
  92789. },
  92790. "goods_img" : {
  92791. "type" : "string",
  92792. "description" : "商品缩略图url,支持格式:bmp、jpg、jpeg、png、gif"
  92793. },
  92794. "goods_name" : {
  92795. "type" : "string",
  92796. "description" : "商品名称"
  92797. },
  92798. "merchant_mobile" : {
  92799. "type" : "string",
  92800. "description" : "商家电话"
  92801. },
  92802. "merchant_name" : {
  92803. "type" : "string",
  92804. "description" : "商家名称,tiny_app_id和merchant_name不能同时为空"
  92805. },
  92806. "tiny_app_id" : {
  92807. "type" : "string",
  92808. "description" : "商家小程序appid"
  92809. },
  92810. "tiny_app_url" : {
  92811. "type" : "string",
  92812. "description" : "商家小程序的路径,建议为订单页面"
  92813. }
  92814. }
  92815. },
  92816. "ContactFollower" : {
  92817. "type" : "object",
  92818. "properties" : {
  92819. "avatar" : {
  92820. "type" : "string",
  92821. "description" : "支付宝头像",
  92822. "example" : "支付宝头像"
  92823. },
  92824. "default_avatar" : {
  92825. "type" : "string",
  92826. "description" : "默认头像",
  92827. "example" : "true"
  92828. },
  92829. "each_record_flag" : {
  92830. "type" : "string",
  92831. "description" : "false",
  92832. "example" : "false"
  92833. },
  92834. "user_id" : {
  92835. "type" : "string",
  92836. "description" : "用户id",
  92837. "example" : "2088202882050410"
  92838. }
  92839. }
  92840. },
  92841. "ContactInfo" : {
  92842. "type" : "object",
  92843. "properties" : {
  92844. "email" : {
  92845. "type" : "string",
  92846. "description" : "电子邮箱"
  92847. },
  92848. "id_card_no" : {
  92849. "type" : "string",
  92850. "description" : "身份证号"
  92851. },
  92852. "mobile" : {
  92853. "type" : "string",
  92854. "description" : "手机号。必填与否参见外层对象描述,无特别说明认为是非必填"
  92855. },
  92856. "name" : {
  92857. "type" : "string",
  92858. "description" : "联系人名字"
  92859. },
  92860. "phone" : {
  92861. "type" : "string",
  92862. "description" : "电话"
  92863. },
  92864. "tag" : {
  92865. "type" : "array",
  92866. "description" : "商户联系人业务标识枚举,表示商户联系人的职责。异议处理接口人:02;商户关键联系人:06;数据反馈接口人:11;服务联动接口人:08",
  92867. "items" : {
  92868. "type" : "string"
  92869. }
  92870. },
  92871. "type" : {
  92872. "type" : "string",
  92873. "description" : "联系人类型,取值范围:LEGAL_PERSON:法人;CONTROLLER:实际控制人;AGENT:代理人;OTHER:其他"
  92874. }
  92875. }
  92876. },
  92877. "ContactModel" : {
  92878. "type" : "object",
  92879. "properties" : {
  92880. "contact_email" : {
  92881. "type" : "string",
  92882. "description" : "联系人邮箱",
  92883. "example" : "zhangsan@alipy.com"
  92884. },
  92885. "contact_mobile" : {
  92886. "type" : "string",
  92887. "description" : "联系人手机号码",
  92888. "example" : "18866668888"
  92889. },
  92890. "contact_name" : {
  92891. "type" : "string",
  92892. "description" : "联系人名称",
  92893. "example" : "张三"
  92894. }
  92895. }
  92896. },
  92897. "Context" : {
  92898. "type" : "object",
  92899. "properties" : {
  92900. "action_name" : {
  92901. "type" : "string",
  92902. "description" : "底部链接描述文字,如“查看详情”,最多能传8个汉字或16个英文字符,长度超出会报错",
  92903. "example" : "查看详情"
  92904. },
  92905. "first" : {
  92906. "$ref" : "#/components/schemas/Keyword"
  92907. },
  92908. "head_color" : {
  92909. "type" : "string",
  92910. "description" : "顶部色条的色值",
  92911. "example" : "#85be53"
  92912. },
  92913. "keyword1" : {
  92914. "$ref" : "#/components/schemas/Keyword"
  92915. },
  92916. "keyword2" : {
  92917. "$ref" : "#/components/schemas/Keyword"
  92918. },
  92919. "remark" : {
  92920. "$ref" : "#/components/schemas/Keyword"
  92921. },
  92922. "url" : {
  92923. "type" : "string",
  92924. "description" : "点击消息后承接页的地址",
  92925. "example" : "http://m.baidu.com"
  92926. }
  92927. }
  92928. },
  92929. "ContributeDetail" : {
  92930. "type" : "object",
  92931. "properties" : {
  92932. "contribute_amount" : {
  92933. "type" : "string",
  92934. "description" : "出资方金额"
  92935. },
  92936. "contribute_type" : {
  92937. "type" : "string",
  92938. "description" : "出资方类型,如品牌商出资、支付宝平台出资等"
  92939. }
  92940. }
  92941. },
  92942. "ConversionData" : {
  92943. "type" : "object",
  92944. "properties" : {
  92945. "biz_no" : {
  92946. "type" : "string",
  92947. "description" : "转化流水号,用于幂等\t\t对于source=XLIGHT,转化流水号来自灯火的留资明细\t对于source=DATASET/OTHER,转化流水号由调用方自定义",
  92948. "example" : "Zybnom890437Mvcu"
  92949. },
  92950. "callback_ext_info" : {
  92951. "type" : "string",
  92952. "description" : "转化回调扩展信息",
  92953. "example" : "ZXdmcmZkbGZkZmRmZmRmMTI="
  92954. },
  92955. "conversion_amount" : {
  92956. "type" : "string",
  92957. "description" : "当source=DATASET或者OTHER时使用:\t\t转化金额,单位分",
  92958. "example" : "20"
  92959. },
  92960. "conversion_id" : {
  92961. "type" : "string",
  92962. "description" : "当source=XLIGHT时使用:\t\t转化事件id,来自推广页关联转化事件id",
  92963. "example" : "167390987332"
  92964. },
  92965. "conversion_time" : {
  92966. "type" : "integer",
  92967. "description" : "转化时间,UTC 时间戳,单位:秒",
  92968. "example" : "12389637"
  92969. },
  92970. "conversion_type" : {
  92971. "type" : "string",
  92972. "description" : "当source=XLIGHT时使用:\t\t转化事件类型",
  92973. "example" : "51"
  92974. },
  92975. "creative_id" : {
  92976. "type" : "string",
  92977. "description" : "创意ID",
  92978. "example" : "6785"
  92979. },
  92980. "data_id" : {
  92981. "type" : "string",
  92982. "description" : "当source=XLIGHT或者DATASET时使用:\t\t数据集id",
  92983. "example" : "20391"
  92984. },
  92985. "data_src_type" : {
  92986. "type" : "string",
  92987. "description" : "当source=OTHER时使用:\t\t数据类型:\tKR_MEMBER - 客如云入会\tKR_TRADE - 客如云交易\tTB_LIVE - 淘宝直播",
  92988. "example" : "KR_MEMBER"
  92989. },
  92990. "group_id" : {
  92991. "type" : "string",
  92992. "description" : "单元ID",
  92993. "example" : "7896"
  92994. },
  92995. "plan_id" : {
  92996. "type" : "string",
  92997. "description" : "计划ID",
  92998. "example" : "1789"
  92999. },
  93000. "principal_id" : {
  93001. "type" : "string",
  93002. "description" : "商户在灯火pb端的id, 可代替principal_tag",
  93003. "example" : "1"
  93004. },
  93005. "principal_tag" : {
  93006. "type" : "string",
  93007. "description" : "商家标志,可代替principal_id",
  93008. "example" : "HYjofejnnlp89730202bcklHH"
  93009. },
  93010. "property_list" : {
  93011. "type" : "array",
  93012. "description" : "当source=DATASET或者OTHER时使用:\t\t转化属性列表",
  93013. "items" : {
  93014. "$ref" : "#/components/schemas/ConversionProperty"
  93015. }
  93016. },
  93017. "source" : {
  93018. "type" : "string",
  93019. "description" : "来源:\tXLIGHT-灯火留资\tDATASET-数据集\tOTHER-其它",
  93020. "example" : "XLIGHT"
  93021. },
  93022. "target_id" : {
  93023. "type" : "string",
  93024. "description" : "当source=OTHER时使用:\t主体id,比如品牌id",
  93025. "example" : "123"
  93026. },
  93027. "target_type" : {
  93028. "type" : "string",
  93029. "description" : "当source=OTHER时使用:\t\t主体类型:\tBRAND - 品牌\tSTORE - 店铺\tLIVE - 直播\t等等",
  93030. "example" : "STORE"
  93031. },
  93032. "uuid" : {
  93033. "type" : "string",
  93034. "description" : "当source=DATASET或者OTHER时使用:\t\t转化用户唯一标识",
  93035. "example" : "7893ybc7032173"
  93036. },
  93037. "uuid_type" : {
  93038. "type" : "string",
  93039. "description" : "当source=DATASET或者OTHER时使用:\t\t转化客户唯一标志类型:\tPID - 2088pid",
  93040. "example" : "PID"
  93041. }
  93042. }
  93043. },
  93044. "ConversionProperty" : {
  93045. "type" : "object",
  93046. "properties" : {
  93047. "key" : {
  93048. "type" : "string",
  93049. "description" : "业务转化数据属性",
  93050. "example" : "tel"
  93051. },
  93052. "name" : {
  93053. "type" : "string",
  93054. "description" : "转化属性名称",
  93055. "example" : "用户唯一标识"
  93056. },
  93057. "value" : {
  93058. "type" : "string",
  93059. "description" : "业务转化属性实例值",
  93060. "example" : "3689479025"
  93061. }
  93062. }
  93063. },
  93064. "CreateMiniRequest" : {
  93065. "type" : "object",
  93066. "properties" : {
  93067. "alipay_account" : {
  93068. "type" : "string",
  93069. "description" : "商家登录支付宝的邮箱帐号或手机号。(1)默认只支持企业账号类型;(2)将is_individual设置为true,支持个体工商户类型的账号(同时也兼容企业账号)(3)将is_individual设置为true且上传营业执照照片,将同时对具备个体工商户营业执照的商家个人账号认证成为个体工商户账号(同时也兼容企业账号、个体工商户账号)",
  93070. "example" : "test@email.com"
  93071. },
  93072. "app_name" : {
  93073. "type" : "string",
  93074. "description" : "小程序名称",
  93075. "example" : "张三的小程序"
  93076. },
  93077. "cert_name" : {
  93078. "type" : "string",
  93079. "description" : "营业执照企业名称,如果是“无主体名称个体工商户”则填“个体户+法人姓名”,例如“个体户张三”",
  93080. "example" : "张三科技有限公司"
  93081. },
  93082. "cert_no" : {
  93083. "type" : "string",
  93084. "description" : "营业执照编码",
  93085. "example" : "3704354348893534"
  93086. },
  93087. "contact_name" : {
  93088. "type" : "string",
  93089. "description" : "商家联系人名称",
  93090. "example" : "张三"
  93091. },
  93092. "contact_phone" : {
  93093. "type" : "string",
  93094. "description" : "商家联系人手机电话",
  93095. "example" : "19925376338"
  93096. },
  93097. "is_individual" : {
  93098. "type" : "boolean",
  93099. "description" : "默认为 false。当设置为 true 时,支持个体工商户的账号类型(同时兼容企业账号)",
  93100. "example" : "true"
  93101. },
  93102. "legal_personal_name" : {
  93103. "type" : "string",
  93104. "description" : "商家法人名称",
  93105. "example" : "张三"
  93106. },
  93107. "license_pic" : {
  93108. "type" : "string",
  93109. "description" : "营业执照图片的Base64编码字符串,图片大小不能超过2M。将is_individual设置为true,当传入该参数后,如果商家账号不是个体工商户类型,将同时为商家升级账号,无需商家额外操作升级(同时支持企业账号、个体工商户账号)",
  93110. "example" : "/9j/Qnl0ZUFycmF5T3V0cHV0U3RyZWFtIG91dHB1dCA9IG5ldyBCeXRlQ中间缩略Skge30="
  93111. },
  93112. "out_order_no" : {
  93113. "type" : "string",
  93114. "description" : "开发者外部订单号,自定义传入,通过开发者账号+outOrderNo做业务幂等。(1)该字段会在商家确认创建后通过应用授权通知出参notify_context以out_biz_no属性返回给ISV,应用授权通知订阅参考:https://opendocs.alipay.com/isv/01fejh。(2)该字段也会通过alipay.open.mini.merchant.confirmed返回给订阅方",
  93115. "example" : "202324353454545"
  93116. }
  93117. }
  93118. },
  93119. "CreditRiskInfo" : {
  93120. "type" : "object",
  93121. "properties" : {
  93122. "can_retry" : {
  93123. "type" : "boolean",
  93124. "description" : "查询失败的情况下,是否可以通过重试解决。true 表示可以适当重试一定次数;false 表示有明确的失败原因,无需重试,",
  93125. "example" : "false"
  93126. },
  93127. "code" : {
  93128. "type" : "string",
  93129. "description" : "用户信用数据查询状态",
  93130. "example" : "QUERY_REFUSED_FOR_UNKNOWN_REASON"
  93131. },
  93132. "data" : {
  93133. "type" : "string",
  93134. "description" : "用户信用风险信息,如:租物场景风险等级、履约历史等级、共租行为等级",
  93135. "example" : "{\"miniZm\":false,\"aliren\":false}"
  93136. }
  93137. }
  93138. },
  93139. "CrowdConstraintInfo" : {
  93140. "type" : "object",
  93141. "properties" : {
  93142. "crowd_condition" : {
  93143. "type" : "string",
  93144. "description" : "圈人的条件\r\top:表示操作符,目前支持EQ相等,GT大于,GTEQ大于等于,LT小于,LTEQ小于等于,NEQ不等,LIKE模糊匹配,IN在枚举范围内,NOTIN不在枚举范围内,BETWEEN范围比较,LEFTDAYS几天以内,RIGHTDAYS几天以外,LOCATE地理位置比较,LBS地图位置数据\r\ttagCode:标签code,详细标签code参见附件。<a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/tags%26usecase.zip\">标签信息</a>\r\tvalue:标签值"
  93145. },
  93146. "crowd_name" : {
  93147. "type" : "string",
  93148. "description" : "圈人名称"
  93149. },
  93150. "crowd_restriction" : {
  93151. "type" : "string",
  93152. "description" : "圈人约束,取值(NEWCOMER:新客人群;OFFLINE:离线人群),OFFLINE离线人群,需要传递crowd_condition圈人条件,使用方案参考crowd_condition使用说明"
  93153. }
  93154. }
  93155. },
  93156. "CumulateDataDetail" : {
  93157. "type" : "object",
  93158. "properties" : {
  93159. "action_type" : {
  93160. "type" : "string",
  93161. "description" : "数据回传的动作类型,正向或逆向。",
  93162. "example" : "POSITIVE"
  93163. },
  93164. "biz_time" : {
  93165. "type" : "string",
  93166. "description" : "回传数据发生的实际时间",
  93167. "example" : "2019-03-08 19:51:35"
  93168. },
  93169. "data_type" : {
  93170. "type" : "string",
  93171. "description" : "回传数据类型。",
  93172. "example" : "TASK"
  93173. },
  93174. "discount_amount" : {
  93175. "type" : "string",
  93176. "description" : "优惠金额",
  93177. "example" : "7.08"
  93178. },
  93179. "discount_desc" : {
  93180. "type" : "string",
  93181. "description" : "优惠描述",
  93182. "example" : "消费满减优惠001"
  93183. },
  93184. "out_biz_no" : {
  93185. "type" : "string",
  93186. "description" : "数据回传时传入的外部业务号。",
  93187. "example" : "2020081211223006150094012926289"
  93188. },
  93189. "refer_out_biz_no" : {
  93190. "type" : "string",
  93191. "description" : "数据回传时逆向单据记录的对应正向单据的外部业务号。",
  93192. "example" : "2020081211223006150094012926289"
  93193. },
  93194. "sub_data_type" : {
  93195. "type" : "string",
  93196. "description" : "回传数据子类型。",
  93197. "example" : "AMOUNT"
  93198. },
  93199. "task_amount" : {
  93200. "type" : "string",
  93201. "description" : "任务金额",
  93202. "example" : "17.88"
  93203. },
  93204. "task_desc" : {
  93205. "type" : "string",
  93206. "description" : "任务描述",
  93207. "example" : "完成一次任务001"
  93208. },
  93209. "task_times" : {
  93210. "type" : "integer",
  93211. "description" : "任务次数",
  93212. "example" : "1"
  93213. }
  93214. }
  93215. },
  93216. "CustomerDefineDeductRule" : {
  93217. "type" : "object",
  93218. "properties" : {
  93219. "customer_define_deduct_rule_desc" : {
  93220. "type" : "string",
  93221. "description" : "自定义优惠规则描述"
  93222. }
  93223. }
  93224. },
  93225. "CustomerDefineVoucherInfo" : {
  93226. "type" : "object",
  93227. "properties" : {
  93228. "deduct_info" : {
  93229. "$ref" : "#/components/schemas/DeductInfo"
  93230. }
  93231. }
  93232. },
  93233. "CustomerGuide" : {
  93234. "type" : "object",
  93235. "properties" : {
  93236. "mini_app_id" : {
  93237. "type" : "string",
  93238. "description" : "券可用的小程序appId,卡包详情页可跳转到该appId"
  93239. },
  93240. "mini_app_path" : {
  93241. "type" : "string",
  93242. "description" : "指定跳转到mini_app_id时的具体页面路径。 \t限制: \t1、只有mini_app_id有值时该值传入才会有效\t2、该小程序路径是相对路径。详情参见 <a href=\"https://opendocs.alipay.com/support/01rb18\">小程序scheme链接介绍</a>"
  93243. },
  93244. "real_shop_ids" : {
  93245. "type" : "array",
  93246. "description" : "代运营商业关系球房列表,列表中的球房id是调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id。接口参数是列表类型。",
  93247. "items" : {
  93248. "type" : "string"
  93249. }
  93250. },
  93251. "service_codes" : {
  93252. "type" : "array",
  93253. "description" : "小程序服务编码,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。",
  93254. "items" : {
  93255. "type" : "string"
  93256. }
  93257. },
  93258. "shop_ids" : {
  93259. "type" : "array",
  93260. "description" : "券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。",
  93261. "items" : {
  93262. "type" : "string"
  93263. }
  93264. },
  93265. "store_ids" : {
  93266. "type" : "array",
  93267. "description" : "该字段后续废弃。券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id。接口参数是列表类型。",
  93268. "items" : {
  93269. "type" : "string"
  93270. }
  93271. },
  93272. "voucher_send_guide" : {
  93273. "$ref" : "#/components/schemas/VoucherSendGuide"
  93274. },
  93275. "voucher_use_guide" : {
  93276. "$ref" : "#/components/schemas/VoucherUseGuide"
  93277. }
  93278. }
  93279. },
  93280. "CustomerGuideModify" : {
  93281. "type" : "object",
  93282. "properties" : {
  93283. "mini_app_id" : {
  93284. "type" : "string",
  93285. "description" : "券可用的小程序 appId,卡包详情页可跳转到该 appId。",
  93286. "example" : "2021238412323412"
  93287. },
  93288. "mini_app_path" : {
  93289. "type" : "string",
  93290. "description" : "指定跳转到 mini_app_id 时的具体页面路径。",
  93291. "example" : "/index/path/path&query=xx%3dxx"
  93292. },
  93293. "real_shop_ids" : {
  93294. "type" : "array",
  93295. "description" : "券可使用的商业关系球房列表,列表中的球房id是调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id。",
  93296. "items" : {
  93297. "type" : "string"
  93298. },
  93299. "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
  93300. },
  93301. "service_codes" : {
  93302. "type" : "array",
  93303. "description" : "小程序服务编码,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。",
  93304. "items" : {
  93305. "type" : "string"
  93306. },
  93307. "example" : "[\"2020030921000303380758\"]"
  93308. },
  93309. "shop_ids" : {
  93310. "type" : "array",
  93311. "description" : "券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房 id 接口参数是列表类型。 接口参数是列表类型。",
  93312. "items" : {
  93313. "type" : "string"
  93314. },
  93315. "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
  93316. },
  93317. "store_ids" : {
  93318. "type" : "array",
  93319. "description" : "后续废弃。券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房 id 接口参数是列表类型。\t接口参数是列表类型。",
  93320. "items" : {
  93321. "type" : "string"
  93322. },
  93323. "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
  93324. },
  93325. "voucher_send_guide" : {
  93326. "$ref" : "#/components/schemas/VoucherSendGuideModify"
  93327. },
  93328. "voucher_use_guide" : {
  93329. "$ref" : "#/components/schemas/VoucherUseGuideModify"
  93330. }
  93331. }
  93332. },
  93333. "CustomsDeclareBuyerInfo" : {
  93334. "type" : "object",
  93335. "properties" : {
  93336. "buyer_cert_no" : {
  93337. "type" : "string",
  93338. "description" : "订购人身份证号。即订购人留在商户处的身份证信息",
  93339. "example" : "230227198707201827"
  93340. },
  93341. "buyer_name" : {
  93342. "type" : "string",
  93343. "description" : "订购人姓名。即订购人留在商户处的姓名信息",
  93344. "example" : "王一"
  93345. }
  93346. }
  93347. },
  93348. "CustomsDeclareRecordInfo" : {
  93349. "type" : "object",
  93350. "properties" : {
  93351. "alipay_declare_no" : {
  93352. "type" : "string",
  93353. "description" : "支付宝报关流水号。",
  93354. "example" : "2013112611001004680073956707"
  93355. },
  93356. "amount" : {
  93357. "type" : "string",
  93358. "description" : "报关金额,单位为人民币“元”,精确到小数点后2位。",
  93359. "example" : "20.00"
  93360. },
  93361. "customs_place" : {
  93362. "type" : "string",
  93363. "description" : "此记录所报关的海关编号,参见“ <a href=\"https://opendocs.alipay.com/pre-open/01x3kh#%E6%B5%B7%E5%85%B3%E7%BC%96%E5%8F%B7\">海关编号</a>”。",
  93364. "example" : "zongshu"
  93365. },
  93366. "customs_result_code" : {
  93367. "type" : "string",
  93368. "description" : "发起报关后,海关返回回执中的结果码。目前只有总署的报关,并且总署回执接收成功的请求才会返回此参数\r\t2:电子口岸申报中\r\t3:发送海关成功\r\t4:发送海关失败\r\t100:海关退单\r\t399:海关审结\r\t小于0的数字:表示处理异常回执\r\t 注意:\r\t支付宝原样返回海关返回的数据,参数值以海关的定义为准。",
  93369. "example" : "2"
  93370. },
  93371. "customs_result_info" : {
  93372. "type" : "string",
  93373. "description" : "发起报关后,海关返回回执中的结果描述信息。目前只有总署报关,并且总署成功返回回执的时候会有此值",
  93374. "example" : "新增申报成功[B0B2F23E-2CF6-434D-9F24-8931B835A056]"
  93375. },
  93376. "customs_result_return_time" : {
  93377. "type" : "string",
  93378. "description" : "发起报关后,海关返回回执的时间,格式为:yyyyMMddHHmmss。目前只有总署报关,并且总署成功返回回执的时候才会有此参数。",
  93379. "example" : "20160414142358"
  93380. },
  93381. "is_split" : {
  93382. "type" : "string",
  93383. "description" : "T: 拆单;F:非拆单。当请求没有拆单或者请求传入的is_split=F时,不会返回此参数。",
  93384. "example" : "T"
  93385. },
  93386. "last_modified_time" : {
  93387. "type" : "string",
  93388. "description" : "报关记录状态最后更新时间",
  93389. "example" : "2015-12-04 11:00:00"
  93390. },
  93391. "memo" : {
  93392. "type" : "string",
  93393. "description" : "备注说明",
  93394. "example" : "海关返回参数非法"
  93395. },
  93396. "merchant_customs_code" : {
  93397. "type" : "string",
  93398. "description" : "商户在海关备案的编号。",
  93399. "example" : "ALI001"
  93400. },
  93401. "merchant_customs_name" : {
  93402. "type" : "string",
  93403. "description" : "商户海关备案名称",
  93404. "example" : "XX中国信息技术有限公司"
  93405. },
  93406. "out_request_no" : {
  93407. "type" : "string",
  93408. "description" : "报关请求号。商户端报关请求号,对应入参中的某条报关请求号。",
  93409. "example" : "201506010001"
  93410. },
  93411. "status" : {
  93412. "type" : "string",
  93413. "description" : "该报关单当前的状态:\r\t-\tws等待发送海关\r\t-\tsending已提交发送海关\r\t-\tsucc 海关返回受理成功",
  93414. "example" : "succ"
  93415. },
  93416. "sub_out_biz_no" : {
  93417. "type" : "string",
  93418. "description" : "拆单子订单号。如果报关请求没有请求拆单则不会返回此参数。",
  93419. "example" : "201506010001"
  93420. },
  93421. "trade_no" : {
  93422. "type" : "string",
  93423. "description" : "支付宝推送到海关的支付单据号。针对拆单的报关,这个单据号不等于支付宝原始交易号。",
  93424. "example" : "2013111511001004390000105126"
  93425. }
  93426. }
  93427. },
  93428. "Data" : {
  93429. "type" : "object",
  93430. "properties" : {
  93431. "alipay_open_id_list" : {
  93432. "type" : "array",
  93433. "description" : "支付宝用户唯一标识列表",
  93434. "items" : {
  93435. "type" : "string"
  93436. },
  93437. "example" : "[\"074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5\"]"
  93438. },
  93439. "alipay_user_id_list" : {
  93440. "type" : "array",
  93441. "description" : "对应userIdList,标准Alipay UserId列表",
  93442. "items" : {
  93443. "type" : "string"
  93444. },
  93445. "example" : "[\"2088102146158132\",\"2088102150429794\",\"2088102150477652\" ]"
  93446. },
  93447. "open_id_list" : {
  93448. "type" : "array",
  93449. "description" : "支付宝用户唯一标识列表",
  93450. "items" : {
  93451. "type" : "string"
  93452. },
  93453. "example" : "[\"074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5\"]"
  93454. },
  93455. "user_id_list" : {
  93456. "type" : "array",
  93457. "description" : "用户id列表",
  93458. "items" : {
  93459. "type" : "string"
  93460. },
  93461. "example" : "[\"USERID10001\",\"USERID10002\",\"USERID20000\" ]"
  93462. }
  93463. }
  93464. },
  93465. "DatadigitalFincloudGeneralsaasFaceCertifyInitializeErrorResponseModel" : {
  93466. "required" : [ "code", "message" ],
  93467. "type" : "object",
  93468. "properties" : {
  93469. "code" : {
  93470. "type" : "string",
  93471. "description" : "错误码",
  93472. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "ARRANGEMENT_STATUS_ERROR", "UNKNOWN_ERROR", "ACCOUNT_MONEY_LIMIT_ERROR" ]
  93473. },
  93474. "links" : {
  93475. "type" : "string",
  93476. "description" : "解决方案链接"
  93477. },
  93478. "message" : {
  93479. "type" : "string",
  93480. "description" : "错误描述"
  93481. }
  93482. }
  93483. },
  93484. "DatadigitalFincloudGeneralsaasFaceCertifyInitializeModel" : {
  93485. "type" : "object",
  93486. "properties" : {
  93487. "biz_code" : {
  93488. "type" : "string",
  93489. "description" : "H5人脸核身场景码。入参支持的场景码。",
  93490. "example" : "FUTURE_TECH_BIZ_FACE_SDK"
  93491. },
  93492. "face_contrast_picture" : {
  93493. "type" : "string",
  93494. "description" : "自定义人脸比对图片的base64编码格式的string字符串",
  93495. "example" : "xydasf=="
  93496. },
  93497. "identity_param" : {
  93498. "type" : "string",
  93499. "description" : "需要验证的身份信息(json)字段说明如下: identity_type: 身份信息参数类型,固定为 CERT_INFO cert_name:真实姓名,必填 cert_no:证件号码,必填 phone_no:手机号码,选填 cert_type:证件类型,必填,枚举支持: IDENTITY_CARD:身份证",
  93500. "example" : "{ \"identity_type\": \"CERT_INFO\", \"cert_type\": \"IDENTITY_CARD\", \"cert_name\": \"收委\",\"cert_no\": \"260104197909275964\",\"phone_no\":\"13000000000\"}"
  93501. },
  93502. "merchant_config" : {
  93503. "type" : "string",
  93504. "description" : "商户个性化配置,格式为json,详细支持的字段说明为: return_url:需要回跳的目标地址,必填,一般指定为商户业务页面 face_reserve_strategy:人脸保存策略,非必填;reserve(保存活体人脸)/never(不保存活体人脸),不传默认为reserve",
  93505. "example" : "{\"return_url\":\"xxx\"}"
  93506. },
  93507. "outer_order_no" : {
  93508. "type" : "string",
  93509. "description" : "商户请求的唯一标识,商户要保证其唯一性,值为32位长度的字母数字组合。建议:前面几位字符是商户自定义的简称,中间可以使用一段时间,后段可以使用一个随机或递增序列",
  93510. "example" : "ZGYD201809132323000001234"
  93511. }
  93512. }
  93513. },
  93514. "DatadigitalFincloudGeneralsaasFaceCertifyInitializeResponseModel" : {
  93515. "type" : "object",
  93516. "properties" : {
  93517. "certify_id" : {
  93518. "type" : "string",
  93519. "description" : "本次申请操作的唯一标识,商户需要记录,后续的操作都需要用到",
  93520. "example" : "2109b5e671aa3ff2eb4851816c65828f"
  93521. }
  93522. }
  93523. },
  93524. "DatadigitalFincloudGeneralsaasFaceCertifyQueryErrorResponseModel" : {
  93525. "required" : [ "code", "message" ],
  93526. "type" : "object",
  93527. "properties" : {
  93528. "code" : {
  93529. "type" : "string",
  93530. "description" : "错误码",
  93531. "enum" : [ "UNKNOWN_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "CERTIFY_ID_EXPIRED", "OPEN_CERTIFY_BILL_NOT_EXIST", "OPEN_CERTIFY_BILL_STATUS_ERROR" ]
  93532. },
  93533. "links" : {
  93534. "type" : "string",
  93535. "description" : "解决方案链接"
  93536. },
  93537. "message" : {
  93538. "type" : "string",
  93539. "description" : "错误描述"
  93540. }
  93541. }
  93542. },
  93543. "DatadigitalFincloudGeneralsaasFaceCertifyQueryResponseModel" : {
  93544. "type" : "object",
  93545. "properties" : {
  93546. "fail_reason" : {
  93547. "type" : "string",
  93548. "description" : "认证错误原因,扩展字段,默认不返回",
  93549. "example" : "Z1147"
  93550. },
  93551. "identity_info" : {
  93552. "type" : "string",
  93553. "description" : "刷脸用户的身份信息,目前返回为空",
  93554. "example" : "{}"
  93555. },
  93556. "material_info" : {
  93557. "type" : "string",
  93558. "description" : "认证主体附件信息,主要为图片类材料,一般的认证场景都是返回空",
  93559. "example" : "{}"
  93560. },
  93561. "passed" : {
  93562. "type" : "string",
  93563. "description" : "是否通过,通过为T,不通过为F",
  93564. "example" : "T"
  93565. }
  93566. }
  93567. },
  93568. "DatadigitalFincloudGeneralsaasFaceCertifyVerifyErrorResponseModel" : {
  93569. "required" : [ "code", "message" ],
  93570. "type" : "object",
  93571. "properties" : {
  93572. "code" : {
  93573. "type" : "string",
  93574. "description" : "错误码",
  93575. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "UNKNOWN_ERROR" ]
  93576. },
  93577. "links" : {
  93578. "type" : "string",
  93579. "description" : "解决方案链接"
  93580. },
  93581. "message" : {
  93582. "type" : "string",
  93583. "description" : "错误描述"
  93584. }
  93585. }
  93586. },
  93587. "DatadigitalFincloudGeneralsaasFaceCertifyVerifyModel" : {
  93588. "type" : "object",
  93589. "properties" : {
  93590. "certify_id" : {
  93591. "type" : "string",
  93592. "description" : "本次申请操作的唯一标识,由H5人脸核身初始化接口调用后生成,后续的操作都需要用到",
  93593. "example" : "OC201809253000000393900404029253"
  93594. }
  93595. }
  93596. },
  93597. "DatadigitalFincloudGeneralsaasFaceCertifyVerifyResponseModel" : {
  93598. "type" : "object",
  93599. "properties" : {
  93600. "certify_url" : {
  93601. "type" : "string",
  93602. "description" : "返回用于唤起刷脸页面的url",
  93603. "example" : "https://openapi.alipay.com/gateway.do?alipay_sdk=alipay-sdk-java-dynamicVersionNo&app_id=2015111100758155&biz_content=%7B%22certify_id%22%3A%22ZM201611253000000121200404215172%22%7D&charset=GBK&format=json&method=datadigital.fincloud.generalsaas.face.certify.verify&sign=MhtfosO8AKbwctDgfGitzLvhbcvi%2FMv3iBES7fRnIXn%2BHcdwq9UWltTs6mEvjk2UoHdLoFrvcSJipiE3sL8kdJMd51t87vcwPCfk7BA5KPwa4%2B1IYzYaK6WwbqOoQB%2FqiJVfni602HiE%2BZAomW7WA3Tjhjy3D%2B9xrLFCipiroDQ%3D&sign_type=RSA2&timestamp=2016-11-25+15%3A00%3A59&version=1.0&sign=MhtfosO8AKbwctDgfGitzLvhbcvi%2FMv3iBES7fRnIXn%2BHcdwq9UWltTs6mEvjk2UoHdLoFrvcSJipiE3sL8kdJMd51t87vcwPCfk7BA5KPwa4%2B1IYzYaK6WwbqOoQB%2FqiJVfni602HiE%2BZAomW7WA3Tjhjy3D%2B9xrLFCipiroDQ%3D"
  93604. }
  93605. }
  93606. },
  93607. "DatadigitalFincloudGeneralsaasFaceCheckInitializeErrorResponseModel" : {
  93608. "required" : [ "code", "message" ],
  93609. "type" : "object",
  93610. "properties" : {
  93611. "code" : {
  93612. "type" : "string",
  93613. "description" : "错误码",
  93614. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "UNKNOWN_ERROR", "ACCOUNT_MONEY_LIMIT_ERROR", "INVALID_SWITCH" ]
  93615. },
  93616. "links" : {
  93617. "type" : "string",
  93618. "description" : "解决方案链接"
  93619. },
  93620. "message" : {
  93621. "type" : "string",
  93622. "description" : "错误描述"
  93623. }
  93624. }
  93625. },
  93626. "DatadigitalFincloudGeneralsaasFaceCheckInitializeModel" : {
  93627. "type" : "object",
  93628. "properties" : {
  93629. "biz_code" : {
  93630. "type" : "string",
  93631. "description" : "DATA_DIGITAL_BIZ_CODE_FACE_CHECK_LIVE,代表活体检测。",
  93632. "example" : "DATA_DIGITAL_BIZ_CODE_FACE_CHECK_LIVE"
  93633. },
  93634. "outer_order_no" : {
  93635. "type" : "string",
  93636. "description" : "客户业务单据号。",
  93637. "example" : "2324sasfe"
  93638. }
  93639. }
  93640. },
  93641. "DatadigitalFincloudGeneralsaasFaceCheckInitializeResponseModel" : {
  93642. "type" : "object",
  93643. "properties" : {
  93644. "certify_id" : {
  93645. "type" : "string",
  93646. "description" : "人脸检测流水ID,请保留方便排查问题",
  93647. "example" : "xxxxeee888fffss"
  93648. },
  93649. "page_url" : {
  93650. "type" : "string",
  93651. "description" : "检测页面url,需要给到终端SDK",
  93652. "example" : "http://ssseee.com/"
  93653. }
  93654. }
  93655. },
  93656. "DatadigitalFincloudGeneralsaasFaceCheckQueryErrorResponseModel" : {
  93657. "required" : [ "code", "message" ],
  93658. "type" : "object",
  93659. "properties" : {
  93660. "code" : {
  93661. "type" : "string",
  93662. "description" : "错误码",
  93663. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "UNKNOWN_ERROR", "QUERY_INVALID_CERTIFYID", "QUERY_CERTIFYID_EXPIRED" ]
  93664. },
  93665. "links" : {
  93666. "type" : "string",
  93667. "description" : "解决方案链接"
  93668. },
  93669. "message" : {
  93670. "type" : "string",
  93671. "description" : "错误描述"
  93672. }
  93673. }
  93674. },
  93675. "DatadigitalFincloudGeneralsaasFaceCheckQueryResponseModel" : {
  93676. "type" : "object",
  93677. "properties" : {
  93678. "alive_photo" : {
  93679. "type" : "string",
  93680. "description" : "如果设置了need_alive_photo的值不为N,则该字段返回人脸照片的base64编码字符串。",
  93681. "example" : "fasf8777asf"
  93682. },
  93683. "attack_flag" : {
  93684. "type" : "string",
  93685. "description" : "已废弃",
  93686. "example" : "false"
  93687. },
  93688. "certify_state" : {
  93689. "type" : "string",
  93690. "description" : "PROCESSING:初始化;SUCCESS:检测成功;FAIL:检测失败",
  93691. "example" : "SUCCESS"
  93692. },
  93693. "quality" : {
  93694. "type" : "string",
  93695. "description" : "double值,人脸图片质量分",
  93696. "example" : "4.84"
  93697. },
  93698. "score" : {
  93699. "type" : "string",
  93700. "description" : "已废弃",
  93701. "example" : "3.58"
  93702. }
  93703. }
  93704. },
  93705. "DatadigitalFincloudGeneralsaasFaceSourceCertifyErrorResponseModel" : {
  93706. "required" : [ "code", "message" ],
  93707. "type" : "object",
  93708. "properties" : {
  93709. "code" : {
  93710. "type" : "string",
  93711. "description" : "错误码",
  93712. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "UNKNOWN_ERROR", "ACCOUNT_MONEY_LIMIT_ERROR", "FILE_SIZE_TO_LARGE", "INVALID_SWITCH" ]
  93713. },
  93714. "links" : {
  93715. "type" : "string",
  93716. "description" : "解决方案链接"
  93717. },
  93718. "message" : {
  93719. "type" : "string",
  93720. "description" : "错误描述"
  93721. }
  93722. }
  93723. },
  93724. "DatadigitalFincloudGeneralsaasFaceSourceCertifyModel" : {
  93725. "type" : "object",
  93726. "properties" : {
  93727. "cert_name" : {
  93728. "type" : "string",
  93729. "description" : "用户姓名,与身份证上的姓名相匹配",
  93730. "example" : "张大伟"
  93731. },
  93732. "cert_no" : {
  93733. "type" : "string",
  93734. "description" : "证件号码,如大陆身份证号码",
  93735. "example" : "131128199032333322"
  93736. },
  93737. "cert_type" : {
  93738. "type" : "string",
  93739. "description" : "证件信息类型,大陆身份证:IDENTITY_CARD",
  93740. "example" : "IDENTITY_CARD"
  93741. },
  93742. "outer_biz_no" : {
  93743. "type" : "string",
  93744. "description" : "客户业务单据号",
  93745. "example" : "xxxx"
  93746. },
  93747. "phone" : {
  93748. "type" : "string",
  93749. "description" : "手机号,特殊场景下,在验证过程中需用户输入手机来接受系统发送的安全验证短信。默认不传即可。",
  93750. "example" : "13088646325"
  93751. },
  93752. "reserved" : {
  93753. "type" : "boolean",
  93754. "description" : "true:需要留底;false:无需留底。默认留底",
  93755. "example" : "true"
  93756. }
  93757. }
  93758. },
  93759. "DatadigitalFincloudGeneralsaasFaceSourceCertifyResponseModel" : {
  93760. "type" : "object",
  93761. "properties" : {
  93762. "certify_no" : {
  93763. "type" : "string",
  93764. "description" : "人脸认证单据号,调用后续OpenAPI(datadigital.fincloud.generalsaas.face.source.query\t)时传入,用来查询结果",
  93765. "example" : "xxxx"
  93766. },
  93767. "mismatch_reason" : {
  93768. "type" : "string",
  93769. "description" : "认证不通过原因",
  93770. "example" : "UNABLE_GET_IMAGE"
  93771. },
  93772. "passed" : {
  93773. "type" : "string",
  93774. "description" : "T:通过;F:不通过",
  93775. "example" : "T"
  93776. },
  93777. "quality" : {
  93778. "type" : "string",
  93779. "description" : "double值,人脸图片质量分",
  93780. "example" : "30"
  93781. },
  93782. "score" : {
  93783. "type" : "string",
  93784. "description" : "double值,活体检测结果分数",
  93785. "example" : "30"
  93786. }
  93787. }
  93788. },
  93789. "DatadigitalFincloudGeneralsaasFaceVerificationInitializeErrorResponseModel" : {
  93790. "required" : [ "code", "message" ],
  93791. "type" : "object",
  93792. "properties" : {
  93793. "code" : {
  93794. "type" : "string",
  93795. "description" : "错误码",
  93796. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "UNKNOWN_ERROR", "INVALID_SWITCH", "INVALID_CERT_INFO", "INVALID_INPUT_IMAGE", "OVER_RATE_LIMIT", "ACCOUNT_MONEY_LIMIT_ERROR" ]
  93797. },
  93798. "links" : {
  93799. "type" : "string",
  93800. "description" : "解决方案链接"
  93801. },
  93802. "message" : {
  93803. "type" : "string",
  93804. "description" : "错误描述"
  93805. }
  93806. }
  93807. },
  93808. "DatadigitalFincloudGeneralsaasFaceVerificationInitializeModel" : {
  93809. "type" : "object",
  93810. "properties" : {
  93811. "biz_code" : {
  93812. "type" : "string",
  93813. "description" : "人脸核身具体类型目前仅支持:DATA_DIGITAL_BIZ_CODE_FACE_VERIFICATION",
  93814. "example" : "DATA_DIGITAL_BIZ_CODE_FACE_VERIFICATION"
  93815. },
  93816. "cert_name" : {
  93817. "type" : "string",
  93818. "description" : "真实姓名",
  93819. "example" : "张三"
  93820. },
  93821. "cert_no" : {
  93822. "type" : "string",
  93823. "description" : "证件号",
  93824. "example" : "131128199004234511"
  93825. },
  93826. "cert_type" : {
  93827. "type" : "string",
  93828. "description" : "证件类型,目前只支持身份证:IDENTITY_CARD",
  93829. "example" : "IDENTITY_CARD"
  93830. },
  93831. "face_reserve_strategy" : {
  93832. "type" : "string",
  93833. "description" : "人脸保存策略,非必填。具体取值为:reserve(保存活体人脸)/never(不保存活体人脸),不传默认为reserve",
  93834. "example" : "reserve"
  93835. },
  93836. "identity_type" : {
  93837. "type" : "string",
  93838. "description" : "认证类型,固定值为:CERT_INFO",
  93839. "example" : "CERT_INFO"
  93840. },
  93841. "outer_order_no" : {
  93842. "type" : "string",
  93843. "description" : "商户请求的唯一标识,商户要保证其唯一性,值为64位长度的字母数字组合。建议:前面几位字符是商户自定义的简称,中间可以使用一段时间,后段可以使用一个随机或递增序列",
  93844. "example" : "dsdfaeradsfasdf23234234sdf"
  93845. },
  93846. "phone_no" : {
  93847. "type" : "string",
  93848. "description" : "手机号码",
  93849. "example" : "13088646233"
  93850. }
  93851. }
  93852. },
  93853. "DatadigitalFincloudGeneralsaasFaceVerificationInitializeResponseModel" : {
  93854. "type" : "object",
  93855. "properties" : {
  93856. "certify_id" : {
  93857. "type" : "string",
  93858. "description" : "认证单据号,请保留以便排查问题。",
  93859. "example" : "adsfasdfasdf"
  93860. },
  93861. "page_url" : {
  93862. "type" : "string",
  93863. "description" : "人脸核身url",
  93864. "example" : "http://alipay.com/xxx"
  93865. }
  93866. }
  93867. },
  93868. "DatadigitalFincloudGeneralsaasFaceVerificationQueryErrorResponseModel" : {
  93869. "required" : [ "code", "message" ],
  93870. "type" : "object",
  93871. "properties" : {
  93872. "code" : {
  93873. "type" : "string",
  93874. "description" : "错误码",
  93875. "enum" : [ "UNKNOWN_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "QUERY_INVALID_CERTIFYID", "QUERY_CERTIFYID_EXPIRED", "SYSTEM_ERROR", "ACCOUNT_NOT_AVAILABLE" ]
  93876. },
  93877. "links" : {
  93878. "type" : "string",
  93879. "description" : "解决方案链接"
  93880. },
  93881. "message" : {
  93882. "type" : "string",
  93883. "description" : "错误描述"
  93884. }
  93885. }
  93886. },
  93887. "DatadigitalFincloudGeneralsaasFaceVerificationQueryResponseModel" : {
  93888. "type" : "object",
  93889. "properties" : {
  93890. "alive_photo" : {
  93891. "type" : "string",
  93892. "description" : "base64过后的图片图片",
  93893. "example" : "adsfsdfsdf"
  93894. },
  93895. "attack_flag" : {
  93896. "type" : "string",
  93897. "description" : "本次认证是否存在安全风险,true:检测到安全风险;false:未检测到安全风险。",
  93898. "example" : "true"
  93899. },
  93900. "certify_state" : {
  93901. "type" : "string",
  93902. "description" : "人脸检测单据状态。PROCESSING:初始化;SUCCESS:检测成功;FAIL:检测失败",
  93903. "example" : "PROCESSING"
  93904. },
  93905. "quality" : {
  93906. "type" : "string",
  93907. "description" : "double值,人脸图片质量分",
  93908. "example" : "2"
  93909. },
  93910. "score" : {
  93911. "type" : "string",
  93912. "description" : "double值,活体检测结果分数",
  93913. "example" : "30"
  93914. }
  93915. }
  93916. },
  93917. "DatadigitalFincloudGeneralsaasOcrMobileInitializeErrorResponseModel" : {
  93918. "required" : [ "code", "message" ],
  93919. "type" : "object",
  93920. "properties" : {
  93921. "code" : {
  93922. "type" : "string",
  93923. "description" : "错误码",
  93924. "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "UNKNOWN_ERROR", "INVALID_SWITCH", "ACCOUNT_MONEY_LIMIT_ERROR" ]
  93925. },
  93926. "links" : {
  93927. "type" : "string",
  93928. "description" : "解决方案链接"
  93929. },
  93930. "message" : {
  93931. "type" : "string",
  93932. "description" : "错误描述"
  93933. }
  93934. }
  93935. },
  93936. "DatadigitalFincloudGeneralsaasOcrMobileInitializeModel" : {
  93937. "type" : "object",
  93938. "properties" : {
  93939. "biz_code" : {
  93940. "type" : "string",
  93941. "description" : "bizCode,代表当前使用的能力类型。",
  93942. "example" : "DATA_DIGITAL_BIZ_CODE_OCR"
  93943. },
  93944. "outer_order_no" : {
  93945. "type" : "string",
  93946. "description" : "客户业务单据号。请保持唯一。",
  93947. "example" : "sfsdfsdfsdf"
  93948. }
  93949. }
  93950. },
  93951. "DatadigitalFincloudGeneralsaasOcrMobileInitializeResponseModel" : {
  93952. "type" : "object",
  93953. "properties" : {
  93954. "certify_id" : {
  93955. "type" : "string",
  93956. "description" : "OCR识别流水ID,计费依据,请保留方便排查问题",
  93957. "example" : "xxxxeee888fffss"
  93958. }
  93959. }
  93960. },
  93961. "DatadigitalFincloudGeneralsaasOcrServerDetectErrorResponseModel" : {
  93962. "required" : [ "code", "message" ],
  93963. "type" : "object",
  93964. "properties" : {
  93965. "code" : {
  93966. "type" : "string",
  93967. "description" : "错误码",
  93968. "enum" : [ "INVALID_OCR_TYPE", "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "UNKNOWN_ERROR", "INVALID_SWITCH", "FILE_SIZE_TO_LARGE", "ACCOUNT_MONEY_LIMIT_ERROR" ]
  93969. },
  93970. "links" : {
  93971. "type" : "string",
  93972. "description" : "解决方案链接"
  93973. },
  93974. "message" : {
  93975. "type" : "string",
  93976. "description" : "错误描述"
  93977. }
  93978. }
  93979. },
  93980. "DatadigitalFincloudGeneralsaasOcrServerDetectModel" : {
  93981. "type" : "object",
  93982. "properties" : {
  93983. "ocr_type" : {
  93984. "type" : "string",
  93985. "description" : "可识别OCR类型。如,ID_CARD_FRONT 大陆身份证正面;ID_CARD_BACK 大陆身份证反面等。具体支持的类型以接入文档为准。",
  93986. "example" : "ID_CARD_FRONT"
  93987. },
  93988. "outer_order_no" : {
  93989. "type" : "string",
  93990. "description" : "客户业务单据号,请保证幂等性。",
  93991. "example" : "dfdsdfsdf"
  93992. }
  93993. }
  93994. },
  93995. "DatadigitalFincloudGeneralsaasOcrServerDetectResponseModel" : {
  93996. "type" : "object",
  93997. "properties" : {
  93998. "certify_id" : {
  93999. "type" : "string",
  94000. "description" : "OCR识别单据号,计费依据,请保留以便排查问题。",
  94001. "example" : "adsfadsfasdf"
  94002. },
  94003. "ocr_data" : {
  94004. "type" : "string",
  94005. "description" : "OCR识别结果",
  94006. "example" : "{\"card_no\":xxxx}"
  94007. }
  94008. }
  94009. },
  94010. "DateRangeInfo" : {
  94011. "type" : "object",
  94012. "properties" : {
  94013. "begin_date" : {
  94014. "type" : "string",
  94015. "description" : "开始日期 格式:yyyy-MM-dd"
  94016. },
  94017. "end_date" : {
  94018. "type" : "string",
  94019. "description" : "结束日期 格式:yyyy-MM-dd"
  94020. }
  94021. }
  94022. },
  94023. "DateRuleInfo" : {
  94024. "type" : "object",
  94025. "properties" : {
  94026. "date_range_info" : {
  94027. "$ref" : "#/components/schemas/DateRangeInfo"
  94028. },
  94029. "time_range_info" : {
  94030. "$ref" : "#/components/schemas/TimeRangeInfo"
  94031. }
  94032. }
  94033. },
  94034. "DeductInfo" : {
  94035. "type" : "object",
  94036. "properties" : {
  94037. "customer_define_deduct_rule" : {
  94038. "$ref" : "#/components/schemas/CustomerDefineDeductRule"
  94039. }
  94040. }
  94041. },
  94042. "DelayInfo" : {
  94043. "type" : "object",
  94044. "properties" : {
  94045. "type" : {
  94046. "type" : "string",
  94047. "description" : "延迟类型,目前支持以下类型\r\tABSOLUTELY:按绝对值延迟\r\tBYDAY:按天延迟",
  94048. "example" : "ABSOLUTELY"
  94049. },
  94050. "value" : {
  94051. "type" : "string",
  94052. "description" : "延迟值,单位分钟\r\t按绝对值延迟延迟24*60 (1天)表示,当日08:00:00领到的券要到隔日的08:00:00才能使用\r\t按天延迟延迟24*60(1天)表示,当日08:00:00领到的券,隔日00:00:00点就可以用",
  94053. "example" : "1440"
  94054. }
  94055. }
  94056. },
  94057. "DeliverAddress" : {
  94058. "type" : "object",
  94059. "properties" : {
  94060. "address" : {
  94061. "type" : "string",
  94062. "description" : "地址",
  94063. "example" : "地址"
  94064. },
  94065. "address_code" : {
  94066. "type" : "string",
  94067. "description" : "区域编码",
  94068. "example" : "330106"
  94069. },
  94070. "default_deliver_address" : {
  94071. "type" : "string",
  94072. "description" : "是否默认收货地址",
  94073. "example" : "T"
  94074. },
  94075. "deliver_area" : {
  94076. "type" : "string",
  94077. "description" : "收货人所在区县",
  94078. "example" : "西湖区"
  94079. },
  94080. "deliver_city" : {
  94081. "type" : "string",
  94082. "description" : "收货人所在城市",
  94083. "example" : "杭州市"
  94084. },
  94085. "deliver_fullname" : {
  94086. "type" : "string",
  94087. "description" : "收货人全名",
  94088. "example" : "支小宝"
  94089. },
  94090. "deliver_mobile" : {
  94091. "type" : "string",
  94092. "description" : "收货地址的联系人移动电话",
  94093. "example" : "131XXXXXXXX"
  94094. },
  94095. "deliver_phone" : {
  94096. "type" : "string",
  94097. "description" : "收货地址的联系人固定电话",
  94098. "example" : "0517-28888888"
  94099. },
  94100. "deliver_province" : {
  94101. "type" : "string",
  94102. "description" : "收货人所在省份",
  94103. "example" : "浙江省"
  94104. },
  94105. "zip" : {
  94106. "type" : "string",
  94107. "description" : "邮政编码",
  94108. "example" : "310000"
  94109. }
  94110. }
  94111. },
  94112. "DeliveryActivityContentInfo" : {
  94113. "type" : "object",
  94114. "properties" : {
  94115. "activity_id" : {
  94116. "type" : "string",
  94117. "description" : "活动id。\t\t说明:\t通过 alipay.marketing.activity.voucher.create 创建的支付券活动。 \t通过alipay.marketing.activity.ordervoucher.create 创建的导码模式的商家券活动。"
  94118. }
  94119. }
  94120. },
  94121. "DeliveryAgencyMerchantInfo" : {
  94122. "type" : "object",
  94123. "properties" : {
  94124. "business_type" : {
  94125. "type" : "string",
  94126. "description" : "同商户合作业务模式 。\t枚举值:\tISV_FOR_MERCHANT 服务商代运营模式"
  94127. },
  94128. "merchant_id" : {
  94129. "type" : "string",
  94130. "description" : "代运营商户PID信息。\t限制: 服务商代运营模式必传 "
  94131. },
  94132. "merchant_id_type" : {
  94133. "type" : "string",
  94134. "description" : "代运营商户收款账号类型。\t枚举值:PID\t限制: 服务商代运营模式必传 "
  94135. }
  94136. }
  94137. },
  94138. "DeliveryAvailableCityCode" : {
  94139. "type" : "object",
  94140. "properties" : {
  94141. "all_city" : {
  94142. "type" : "boolean",
  94143. "description" : "是否全国。 与city_codes二选一。只允许填true,否则不填。"
  94144. },
  94145. "city_codes" : {
  94146. "type" : "array",
  94147. "description" : "城市编码。与all_city二选一。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  94148. "items" : {
  94149. "type" : "string"
  94150. }
  94151. }
  94152. }
  94153. },
  94154. "DeliveryAvailableScope" : {
  94155. "type" : "object",
  94156. "properties" : {
  94157. "delivery_available_city_code" : {
  94158. "$ref" : "#/components/schemas/DeliveryAvailableCityCode"
  94159. },
  94160. "delivery_available_scope_type" : {
  94161. "type" : "string",
  94162. "description" : "投放可用范围类型,目前支持的类型是城市范围CITY_CODE"
  94163. }
  94164. }
  94165. },
  94166. "DeliveryBaseInfo" : {
  94167. "type" : "object",
  94168. "properties" : {
  94169. "delivery_begin_time" : {
  94170. "type" : "string",
  94171. "description" : "投放计划开始时间。 格式为:yyyy-MM-dd HH:mm:ss。"
  94172. },
  94173. "delivery_end_time" : {
  94174. "type" : "string",
  94175. "description" : "投放计划结束时间。 格式为:yyyy-MM-dd HH:mm:ss。"
  94176. },
  94177. "delivery_material" : {
  94178. "$ref" : "#/components/schemas/DeliveryMaterial"
  94179. },
  94180. "delivery_name" : {
  94181. "type" : "string",
  94182. "description" : "投放计划名称。\t投放计划名称不会对用户进行表达,只用于商户管理使用。长度需要大于等于3,小于20。"
  94183. }
  94184. }
  94185. },
  94186. "DeliveryChannelInfo" : {
  94187. "type" : "object",
  94188. "properties" : {
  94189. "booth_code" : {
  94190. "type" : "string",
  94191. "description" : "展位码:boothCode表达的是具体渠道所属的展位码。例如:支付结果页PAY_RESULT",
  94192. "example" : "PAY_RESULT"
  94193. },
  94194. "channel" : {
  94195. "type" : "string",
  94196. "description" : "可投放的渠道标识.\t\t说明:\t针对不同的boot_code,channel值各不相同.接口使用者可以认为channel是不同booth_code展位下的渠道的唯一标识。\t\t例如:\tbooth_code为PAYMENT_RESULT。 channel为某个商户的pid。",
  94197. "example" : "2088xxxxxxxxx"
  94198. },
  94199. "channel_name" : {
  94200. "type" : "string",
  94201. "description" : "渠道的名称。\t\t说明:\tbooth_code:PAYMENT_RESULT,channel_name为商户名称。",
  94202. "example" : "支付宝官方搜索box"
  94203. }
  94204. }
  94205. },
  94206. "DeliveryCityCodeRule" : {
  94207. "type" : "object",
  94208. "properties" : {
  94209. "all_city" : {
  94210. "type" : "boolean",
  94211. "description" : "是否全国。 与city_codes二选一。只允许填true,否则不填。"
  94212. },
  94213. "city_codes" : {
  94214. "type" : "array",
  94215. "description" : "城市编码。与all_city二选一。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  94216. "items" : {
  94217. "type" : "string"
  94218. }
  94219. }
  94220. }
  94221. },
  94222. "DeliveryConfig" : {
  94223. "type" : "object",
  94224. "properties" : {
  94225. "activity_id" : {
  94226. "type" : "string",
  94227. "description" : "活动id。\t通过商家券相关接口创建的活动。"
  94228. },
  94229. "booth_code" : {
  94230. "type" : "string",
  94231. "description" : "展位码:boothCode表达的是具体渠道所属的展位码。例如:支付结果页PAYMENT_RESULT"
  94232. },
  94233. "channel" : {
  94234. "type" : "string",
  94235. "description" : "可投放的渠道标识. 说明: 针对不同的boot_code,channel值各不相同.接口使用者可以认为channel是不同booth_code展位下的渠道的唯一标识。 例如: booth_code为PAYMENT_RESULT。 channel为某个商户的pid。"
  94236. }
  94237. }
  94238. },
  94239. "DeliveryContentConfig" : {
  94240. "type" : "object",
  94241. "properties" : {
  94242. "delivery_send_guide" : {
  94243. "$ref" : "#/components/schemas/DeliverySendGuide"
  94244. }
  94245. }
  94246. },
  94247. "DeliveryContentInfo" : {
  94248. "type" : "object",
  94249. "properties" : {
  94250. "delivery_activity_content" : {
  94251. "$ref" : "#/components/schemas/DeliveryActivityContentInfo"
  94252. },
  94253. "delivery_app_content" : {
  94254. "$ref" : "#/components/schemas/DeliveryMiniAppContentInfo"
  94255. },
  94256. "delivery_content_type" : {
  94257. "type" : "string",
  94258. "description" : "枚举值:\tACTIVITY:活动枚举类型,\tMINI_APP:小程序枚举类型"
  94259. },
  94260. "delivery_display_info" : {
  94261. "$ref" : "#/components/schemas/DeliveryDisplayInfo"
  94262. }
  94263. }
  94264. },
  94265. "DeliveryDisplayInfo" : {
  94266. "type" : "object",
  94267. "properties" : {
  94268. "main_title" : {
  94269. "type" : "string",
  94270. "description" : "副标题。"
  94271. },
  94272. "sub_title" : {
  94273. "type" : "string",
  94274. "description" : "副标题"
  94275. }
  94276. }
  94277. },
  94278. "DeliveryFullSendConfig" : {
  94279. "type" : "object",
  94280. "properties" : {
  94281. "delivery_content_info" : {
  94282. "$ref" : "#/components/schemas/DeliveryContentInfo"
  94283. },
  94284. "delivery_floor_amount" : {
  94285. "type" : "string",
  94286. "description" : "满足消费金额门槛,左闭区间,单位元。\t说明:限制支付时的订单金额最少满足的金额门槛。\t限制:value > 0 && value <= 99999。"
  94287. }
  94288. }
  94289. },
  94290. "DeliveryMaterial" : {
  94291. "type" : "object",
  94292. "properties" : {
  94293. "delivery_single_material" : {
  94294. "$ref" : "#/components/schemas/DeliverySingleMaterial"
  94295. },
  94296. "material_id_list" : {
  94297. "type" : "array",
  94298. "description" : "素材ID,通过alipay.marketing.material.create接口提供的素材组",
  94299. "items" : {
  94300. "type" : "string"
  94301. }
  94302. }
  94303. }
  94304. },
  94305. "DeliveryMerchantInfo" : {
  94306. "type" : "object",
  94307. "properties" : {
  94308. "merchant_id" : {
  94309. "type" : "string",
  94310. "description" : "商户id"
  94311. },
  94312. "merchant_id_type" : {
  94313. "type" : "string",
  94314. "description" : "商户id类型。 \t枚举值:\t SMID: 间连商户 \tPID: 直连商户"
  94315. }
  94316. }
  94317. },
  94318. "DeliveryMerchantRule" : {
  94319. "type" : "object",
  94320. "properties" : {
  94321. "brand_id_list" : {
  94322. "type" : "array",
  94323. "description" : "指定品牌id。 说明:如商户需选择某个品牌下维护的收款账号,请上传相关品牌id",
  94324. "items" : {
  94325. "type" : "string"
  94326. }
  94327. },
  94328. "delivery_merchant_infos" : {
  94329. "type" : "array",
  94330. "description" : "曝光商户选取列表。 说明:需要传入您期望曝光的商户的商户号,传入为空时默认使用投放优惠券活动的适用范围。 限制:曝光商户号需与投放归属商户号相同,或传入有跨主体授权关系的商户号或有弱绑定关系的M3账号",
  94331. "items" : {
  94332. "$ref" : "#/components/schemas/DeliveryMerchantInfo"
  94333. }
  94334. },
  94335. "delivery_merchant_mode" : {
  94336. "type" : "string",
  94337. "description" : "指定支付成功页模式。 枚举值: MANUAL_INPUT_MERCHANT:指定收款账号 IN_SERVICE_VOUCHER_MERCHANT:优惠券可核收款账号(仅支持支付券) 收款账号相关规则:接入指南"
  94338. }
  94339. }
  94340. },
  94341. "DeliveryMiniAppContentInfo" : {
  94342. "type" : "object",
  94343. "properties" : {
  94344. "mini_app_delivery_type" : {
  94345. "type" : "string",
  94346. "description" : "仅小程序推广可用。枚举值:服务直达"
  94347. },
  94348. "mini_app_id" : {
  94349. "type" : "string",
  94350. "description" : "小程序appid"
  94351. },
  94352. "service_code_list" : {
  94353. "type" : "array",
  94354. "description" : "小程序服务编码/home_page,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。 限制: 1.只有mini_app_id有值时该值传入才会有效 2.当前只支持一个服务code 3.service_codes必须是已传入的mini_app_id下的小程序",
  94355. "items" : {
  94356. "type" : "string"
  94357. }
  94358. }
  94359. }
  94360. },
  94361. "DeliveryPlayConfig" : {
  94362. "type" : "object",
  94363. "properties" : {
  94364. "delivery_full_send_config" : {
  94365. "$ref" : "#/components/schemas/DeliveryFullSendConfig"
  94366. },
  94367. "delivery_single_send_config" : {
  94368. "$ref" : "#/components/schemas/DeliverySingleSendConfig"
  94369. }
  94370. }
  94371. },
  94372. "DeliverySearchBoxRule" : {
  94373. "type" : "object",
  94374. "properties" : {
  94375. "box_id" : {
  94376. "type" : "string",
  94377. "description" : "指定搜索直达区域"
  94378. }
  94379. }
  94380. },
  94381. "DeliverySendGuide" : {
  94382. "type" : "object",
  94383. "properties" : {
  94384. "delivery_guide_url" : {
  94385. "type" : "string",
  94386. "description" : "引导链接,从支付宝公域跳转到服务商(商户)承接页的引导链接。"
  94387. }
  94388. }
  94389. },
  94390. "DeliverySingleMaterial" : {
  94391. "type" : "object",
  94392. "properties" : {
  94393. "delivery_image" : {
  94394. "type" : "string",
  94395. "description" : "投放计划图片素材。通过接口alipay.marketing.material.image.upload上传图片返回的resource_id。"
  94396. }
  94397. }
  94398. },
  94399. "DeliverySingleSendConfig" : {
  94400. "type" : "object",
  94401. "properties" : {
  94402. "delivery_content_config" : {
  94403. "$ref" : "#/components/schemas/DeliveryContentConfig"
  94404. },
  94405. "delivery_content_info" : {
  94406. "$ref" : "#/components/schemas/DeliveryContentInfo"
  94407. }
  94408. }
  94409. },
  94410. "DeliveryTargetRegion" : {
  94411. "type" : "object",
  94412. "properties" : {
  94413. "region_code" : {
  94414. "type" : "string",
  94415. "description" : "区域编码,参考<a href=\"https://opendocs.alipay.com/mini/03fjbg\" target=\"_blank\">取值说明</a>"
  94416. },
  94417. "region_name" : {
  94418. "type" : "string",
  94419. "description" : "区域名,参考<a href=\"https://opendocs.alipay.com/mini/03fjbg\" target=\"_blank\">取值说明</a>"
  94420. },
  94421. "region_type" : {
  94422. "type" : "string",
  94423. "description" : "区域类型,1代表全国,2代表省级区域,3代表市级区域,参考<a href=\"https://opendocs.alipay.com/mini/03fjbg\" target=\"_blank\">取值说明</a>"
  94424. }
  94425. }
  94426. },
  94427. "DeliveryTargetRule" : {
  94428. "type" : "object",
  94429. "properties" : {
  94430. "brand_id_list" : {
  94431. "type" : "array",
  94432. "description" : "指定品牌id。\t说明:如商户需选择某个品牌下维护的收款账号,请上传相关品牌id",
  94433. "items" : {
  94434. "type" : "string"
  94435. }
  94436. },
  94437. "delivery_available_scope" : {
  94438. "$ref" : "#/components/schemas/DeliveryAvailableScope"
  94439. },
  94440. "delivery_city_code_rule" : {
  94441. "$ref" : "#/components/schemas/DeliveryCityCodeRule"
  94442. },
  94443. "delivery_merchant_infos" : {
  94444. "type" : "array",
  94445. "description" : "曝光商户选取列表。\t说明:需要传入您期望曝光的商户的商户号,传入为空时默认使用投放优惠券活动的适用范围。\t限制:曝光商户号需与投放归属商户号相同,或传入有跨主体授权关系的商户号或有弱绑定关系的M3账号",
  94446. "items" : {
  94447. "$ref" : "#/components/schemas/DeliveryMerchantInfo"
  94448. }
  94449. },
  94450. "delivery_merchant_mode" : {
  94451. "type" : "string",
  94452. "description" : "指定支付成功页模式。\t枚举值:\tMANUAL_INPUT_MERCHANT:指定收款账号\tIN_SERVICE_VOUCHER_MERCHANT:优惠券可核收款账号(仅支持支付券)\t收款账号相关规则:接入指南"
  94453. },
  94454. "delivery_merchant_rule" : {
  94455. "$ref" : "#/components/schemas/DeliveryMerchantRule"
  94456. },
  94457. "delivery_promo_tags" : {
  94458. "type" : "string",
  94459. "description" : "推荐定向曝光订单优惠标记。\t1. 创建交易订单时,上传符合的订单优惠标。在业务参数信息“business_params”的子字段“delivery_promo_tags”填充订单优惠标。“统一收单交易支付接口”详情查看:https://opendocs.alipay.com/open/02ekfp?scene=32。\t2. 订单优惠标,检验规则:\t* 单个优惠标最大长度32字节。多个标记值以英文逗号分隔。\t* 单个优惠标仅支持字母/数字/下划线。\t3. 订单优惠标规则和其他推荐规则同时叠加。"
  94460. },
  94461. "delivery_recall_mode" : {
  94462. "type" : "string",
  94463. "description" : "投放召回模式,现在支持CITY_RECALL(城市召回)和SHOP_RECALL(球房召回)两种模式。城市召回即当前城市投放,用户当前城市可领取;球房模式即球房附近投放,用户距离球房附近可领取。"
  94464. },
  94465. "delivery_search_box_rule" : {
  94466. "$ref" : "#/components/schemas/DeliverySearchBoxRule"
  94467. },
  94468. "delivery_type" : {
  94469. "type" : "string",
  94470. "description" : "小程序推广可用。枚举值:SERVICE_DIRECT"
  94471. }
  94472. }
  94473. },
  94474. "DepartmentInfoDTO" : {
  94475. "type" : "object",
  94476. "properties" : {
  94477. "department_code" : {
  94478. "type" : "string",
  94479. "description" : "部门编码",
  94480. "example" : "D02415"
  94481. },
  94482. "department_id" : {
  94483. "type" : "string",
  94484. "description" : "部门id",
  94485. "example" : "1001094000039142"
  94486. },
  94487. "department_name" : {
  94488. "type" : "string",
  94489. "description" : "部门名称",
  94490. "example" : "产品部"
  94491. },
  94492. "gmt_create" : {
  94493. "type" : "string",
  94494. "description" : "创建时间",
  94495. "example" : "2022-06-14 17:15:17"
  94496. },
  94497. "gmt_modified" : {
  94498. "type" : "string",
  94499. "description" : "修改时间",
  94500. "example" : "2022-06-14 18:15:17"
  94501. },
  94502. "parent_department_id" : {
  94503. "type" : "string",
  94504. "description" : "上级部门id,特殊值-1表示根部门",
  94505. "example" : "1001194000010003"
  94506. }
  94507. }
  94508. },
  94509. "DepositBackInfo" : {
  94510. "type" : "object",
  94511. "properties" : {
  94512. "bank_ack_time" : {
  94513. "type" : "string",
  94514. "description" : "银行响应时间,格式为yyyy-MM-dd HH:mm:ss",
  94515. "example" : "2020-06-02 14:03:48"
  94516. },
  94517. "dback_amount" : {
  94518. "type" : "string",
  94519. "description" : "银行卡冲退金额。单位:元。",
  94520. "example" : "1.01"
  94521. },
  94522. "dback_status" : {
  94523. "type" : "string",
  94524. "description" : "银行卡冲退状态。S-成功,F-失败,P-处理中。银行卡冲退失败,资金自动转入用户支付宝余额。",
  94525. "example" : "S"
  94526. },
  94527. "est_bank_receipt_time" : {
  94528. "type" : "string",
  94529. "description" : "预估银行到账时间,格式为yyyy-MM-dd HH:mm:ss",
  94530. "example" : "2020-06-02 14:03:48"
  94531. },
  94532. "has_deposit_back" : {
  94533. "type" : "string",
  94534. "description" : "是否存在银行卡冲退信息。",
  94535. "example" : "true"
  94536. }
  94537. }
  94538. },
  94539. "Detail" : {
  94540. "type" : "object",
  94541. "properties" : {
  94542. "code" : {
  94543. "type" : "string",
  94544. "description" : "英文描述(collectAttachement值为true时必填)\t以下是系统固定code,对上传的图片做相应的校验。\t身份证校验情况:\t身份证正面照片:ESIGN_IDCARD\t身份证背面照片:ESIGN_BACK_IDCARD",
  94545. "example" : "phonePicture"
  94546. },
  94547. "description" : {
  94548. "type" : "string",
  94549. "description" : "请上传手机正面照",
  94550. "example" : "中文描述(collectAttachement值为true时必填)"
  94551. },
  94552. "order" : {
  94553. "type" : "integer",
  94554. "description" : "顺序(collectAttachement值为true时必填)",
  94555. "example" : "1"
  94556. }
  94557. }
  94558. },
  94559. "DetailBean" : {
  94560. "type" : "object",
  94561. "properties" : {
  94562. "code" : {
  94563. "type" : "string",
  94564. "description" : "自定义附件标识,后续下载附件使用此标识区分。",
  94565. "example" : "phonePicture"
  94566. },
  94567. "description" : {
  94568. "type" : "string",
  94569. "description" : "页面展示的附件中文描述(collectAttachement值为true时必填)",
  94570. "example" : "请上传手机正面照"
  94571. },
  94572. "order" : {
  94573. "type" : "integer",
  94574. "description" : "展示顺序(collectAttachement值为true时必填)",
  94575. "example" : "1"
  94576. }
  94577. }
  94578. },
  94579. "DiscountDetail" : {
  94580. "type" : "object",
  94581. "properties" : {
  94582. "discount_amount" : {
  94583. "type" : "string",
  94584. "description" : "优惠金额",
  94585. "example" : "100.00"
  94586. },
  94587. "discount_desc" : {
  94588. "type" : "array",
  94589. "description" : "优惠描述,比如至多优惠XX元,满XX减XX",
  94590. "items" : {
  94591. "type" : "string"
  94592. },
  94593. "example" : "最高优惠10元;储值卡专属"
  94594. },
  94595. "discount_type" : {
  94596. "type" : "string",
  94597. "description" : "优惠类型,商家优惠(M_DISCOUNT),平台优惠(RT_DISCOUNT)",
  94598. "example" : "RT_DISCOUNT"
  94599. },
  94600. "id" : {
  94601. "type" : "string",
  94602. "description" : "优惠ID或活动ID",
  94603. "example" : "2017CVCJD788E889EC"
  94604. },
  94605. "is_hit" : {
  94606. "type" : "string",
  94607. "description" : "优惠是否命中, true代表命中了优惠;false代表未命中优惠",
  94608. "example" : "true"
  94609. },
  94610. "is_purchased" : {
  94611. "type" : "string",
  94612. "description" : "是否是购买券, true代表是购买的券,false调表不是购买的券",
  94613. "example" : "true"
  94614. },
  94615. "name" : {
  94616. "type" : "string",
  94617. "description" : "优惠名称",
  94618. "example" : "5折优惠"
  94619. }
  94620. }
  94621. },
  94622. "DiscountInfoData" : {
  94623. "type" : "object",
  94624. "properties" : {
  94625. "discount_amount" : {
  94626. "type" : "string",
  94627. "description" : "优惠金额",
  94628. "example" : "10.01"
  94629. },
  94630. "discount_name" : {
  94631. "type" : "string",
  94632. "description" : "优惠名称",
  94633. "example" : "商家红包"
  94634. },
  94635. "discount_page_link" : {
  94636. "type" : "string",
  94637. "description" : "优惠跳转链接地址",
  94638. "example" : "https://www.alipay.com/"
  94639. },
  94640. "discount_quantity" : {
  94641. "type" : "integer",
  94642. "description" : "优惠数量",
  94643. "example" : "1"
  94644. },
  94645. "external_discount_id" : {
  94646. "type" : "string",
  94647. "description" : "外部优惠id",
  94648. "example" : "discount001"
  94649. }
  94650. }
  94651. },
  94652. "DiscountTypeSyncData" : {
  94653. "type" : "object",
  94654. "properties" : {
  94655. "discount_amount" : {
  94656. "type" : "string",
  94657. "description" : "商户回传的优惠金额,如用户享受的红包金额,单位元",
  94658. "example" : "8.75"
  94659. },
  94660. "discount_desc" : {
  94661. "type" : "string",
  94662. "description" : "商户数据回传的优惠信息的名称。",
  94663. "example" : "消费满减优惠001"
  94664. }
  94665. }
  94666. },
  94667. "DiscountVoucher" : {
  94668. "type" : "object",
  94669. "properties" : {
  94670. "ceiling_amount" : {
  94671. "type" : "string",
  94672. "description" : "封顶金额。"
  94673. },
  94674. "discount" : {
  94675. "type" : "string",
  94676. "description" : "折扣率。"
  94677. },
  94678. "floor_amount" : {
  94679. "type" : "string",
  94680. "description" : "门槛金额。说明:该字段可不填,认为无门槛;"
  94681. },
  94682. "goods_name" : {
  94683. "type" : "string",
  94684. "description" : "商品名称。说明:该字段可不填,填入则origin_amount必填。"
  94685. },
  94686. "origin_amount" : {
  94687. "type" : "string",
  94688. "description" : "原价。说明:该字段可不填,填入则商品名称goods_name必填;"
  94689. }
  94690. }
  94691. },
  94692. "DiscountVoucherInfo" : {
  94693. "type" : "object",
  94694. "properties" : {
  94695. "ceiling_amount" : {
  94696. "type" : "string",
  94697. "description" : "封顶金额。"
  94698. },
  94699. "discount" : {
  94700. "type" : "string",
  94701. "description" : "折扣率。"
  94702. },
  94703. "floor_amount" : {
  94704. "type" : "string",
  94705. "description" : "门槛金额。"
  94706. },
  94707. "voucher_deduct_threshold_info" : {
  94708. "$ref" : "#/components/schemas/VoucherDeductThresholdInfo"
  94709. }
  94710. }
  94711. },
  94712. "DisplayConfig" : {
  94713. "type" : "object",
  94714. "properties" : {
  94715. "slogan" : {
  94716. "type" : "string",
  94717. "description" : "券的宣传语\r\t含圈人的直领活动,且投放渠道选择了支付成功页或店铺的情况下必填",
  94718. "example" : "券的宣传语"
  94719. },
  94720. "slogan_img" : {
  94721. "type" : "string",
  94722. "description" : "券的宣传图片文件ID\r\t含圈人的直领活动,且投放渠道选择了店铺的情况下必填",
  94723. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  94724. }
  94725. }
  94726. },
  94727. "DocInfo" : {
  94728. "type" : "object",
  94729. "properties" : {
  94730. "file_name" : {
  94731. "type" : "string",
  94732. "description" : "合同文件名",
  94733. "example" : "租机合同.pdf"
  94734. },
  94735. "file_url" : {
  94736. "type" : "string",
  94737. "description" : "合同下载地址",
  94738. "example" : "https://oss.***.cn/****abc.pdf"
  94739. }
  94740. }
  94741. },
  94742. "EcConsumeInfo" : {
  94743. "type" : "object",
  94744. "properties" : {
  94745. "account_id" : {
  94746. "type" : "string",
  94747. "description" : "共同账户ID"
  94748. },
  94749. "agreement_peer_payer_id" : {
  94750. "type" : "string",
  94751. "description" : "协议出资支付宝账号"
  94752. },
  94753. "benefit_amount" : {
  94754. "type" : "string",
  94755. "description" : "员工优惠金额,单位:元"
  94756. },
  94757. "biz_out_no" : {
  94758. "type" : "string",
  94759. "description" : "外部交易流水号"
  94760. },
  94761. "category_name" : {
  94762. "type" : "string",
  94763. "description" : "账单分类名称,比如:餐饮美食,交通出行,酒店旅游等"
  94764. },
  94765. "consume_amount" : {
  94766. "type" : "string",
  94767. "description" : "账单金额,单位:元,不包含营销资产"
  94768. },
  94769. "consume_category" : {
  94770. "type" : "string",
  94771. "description" : "员工消费记账分类"
  94772. },
  94773. "consume_fee_with_discount" : {
  94774. "type" : "string",
  94775. "description" : "订单原价,单位:元,包含营销资产"
  94776. },
  94777. "consume_memo" : {
  94778. "type" : "string",
  94779. "description" : "员工消费记账备注"
  94780. },
  94781. "consume_type" : {
  94782. "type" : "string",
  94783. "description" : "账单类型\t-消费账单:CONSUME\t-退款账单:REFUND\t-转账账单:TRANSFER"
  94784. },
  94785. "employee_id" : {
  94786. "type" : "string",
  94787. "description" : "员工账号ID"
  94788. },
  94789. "enterprise_id" : {
  94790. "type" : "string",
  94791. "description" : "企业ID"
  94792. },
  94793. "expense_rule_group_id" : {
  94794. "type" : "string",
  94795. "description" : "使用规则ID"
  94796. },
  94797. "expense_scene_code" : {
  94798. "type" : "string",
  94799. "description" : "费用场景"
  94800. },
  94801. "expense_type" : {
  94802. "type" : "string",
  94803. "description" : "费用类型"
  94804. },
  94805. "expense_type_sub_category" : {
  94806. "type" : "string",
  94807. "description" : "费用类型子类目"
  94808. },
  94809. "ext_infos" : {
  94810. "type" : "string",
  94811. "description" : "账单扩展信息,Json格式\t汇总信息"
  94812. },
  94813. "fund_biz_type" : {
  94814. "type" : "string",
  94815. "description" : "出资模式\t个人出资:PERSONAL\t企业出资:ENTERPRISE\t三方垫资合作伙伴出资:TP\t记账:ACCOUNTING"
  94816. },
  94817. "gmt_biz_create" : {
  94818. "type" : "string",
  94819. "description" : "账单创建时间,格式:yyyy-MM-dd HH:mm:ss"
  94820. },
  94821. "gmt_receive_pay" : {
  94822. "type" : "string",
  94823. "description" : "账单支付时间,格式:yyyy-MM-dd HH:mm:ss"
  94824. },
  94825. "invoice_open_mode" : {
  94826. "type" : "string",
  94827. "description" : "开票模式\t企业汇总开:ENTERPRISE_AUTO_BATCH"
  94828. },
  94829. "merchant_id" : {
  94830. "type" : "string",
  94831. "description" : "商户ID"
  94832. },
  94833. "merchant_name" : {
  94834. "type" : "string",
  94835. "description" : "商户名称"
  94836. },
  94837. "open_id" : {
  94838. "type" : "string",
  94839. "description" : "员工支付宝UID"
  94840. },
  94841. "order_complete_label" : {
  94842. "type" : "string",
  94843. "description" : "订单完结标识\t0:未完结\t1:已完结"
  94844. },
  94845. "order_complete_time" : {
  94846. "type" : "string",
  94847. "description" : "2022-01-01 01:01:02\t订单完结时间"
  94848. },
  94849. "pay_no" : {
  94850. "type" : "string",
  94851. "description" : "交易流水号"
  94852. },
  94853. "peer_pay_amount" : {
  94854. "type" : "string",
  94855. "description" : "企业代付金额,单位:元"
  94856. },
  94857. "peer_payer_card_no" : {
  94858. "type" : "string",
  94859. "description" : "实际出资支付宝账号"
  94860. },
  94861. "peer_refund_amount" : {
  94862. "type" : "string",
  94863. "description" : "消费账单企业代付部分退款金额,单位:元。退款账单该值无意义,值为0。"
  94864. },
  94865. "peer_refund_status" : {
  94866. "type" : "string",
  94867. "description" : "消费账单企业代付部分退款状态,默认为INIT。当消费账单有退款,该值会变为REFUND_PART或REFUND_FULL;退款账单该值无意义,为初始值INIT。\t未退款:INIT,\t部分退款:REFUND_PART,\t全额退款:REFUND_FULL"
  94868. },
  94869. "related_pay_no" : {
  94870. "type" : "string",
  94871. "description" : "退款账单关联的消费账单交易流水号,退款账单才有值"
  94872. },
  94873. "scene_code" : {
  94874. "type" : "string",
  94875. "description" : "账单场景\tTAKE_AWAY:外卖\tMETRO:地铁\tOTHER:其他"
  94876. },
  94877. "seller_id" : {
  94878. "type" : "string",
  94879. "description" : "卖家ID"
  94880. },
  94881. "shop_id" : {
  94882. "type" : "string",
  94883. "description" : "球房ID"
  94884. },
  94885. "store_id" : {
  94886. "type" : "string",
  94887. "description" : "外部球房ID"
  94888. },
  94889. "summary_apply_id" : {
  94890. "type" : "string",
  94891. "description" : "汇总批次ID"
  94892. },
  94893. "user_id" : {
  94894. "type" : "string",
  94895. "description" : "员工支付宝UID"
  94896. }
  94897. }
  94898. },
  94899. "EcOrderInfo" : {
  94900. "type" : "object",
  94901. "properties" : {
  94902. "order_info" : {
  94903. "$ref" : "#/components/schemas/EcOrderItem"
  94904. },
  94905. "sub_order_list" : {
  94906. "type" : "array",
  94907. "description" : "子订单详情列表",
  94908. "items" : {
  94909. "$ref" : "#/components/schemas/EcOrderItem"
  94910. }
  94911. }
  94912. }
  94913. },
  94914. "EcOrderItem" : {
  94915. "type" : "object",
  94916. "properties" : {
  94917. "account_id" : {
  94918. "type" : "string",
  94919. "description" : "共同账户ID"
  94920. },
  94921. "biz_out_no" : {
  94922. "type" : "string",
  94923. "description" : "外部业务号"
  94924. },
  94925. "employee_id" : {
  94926. "type" : "string",
  94927. "description" : "员工ID"
  94928. },
  94929. "enterprise_id" : {
  94930. "type" : "string",
  94931. "description" : "企业ID"
  94932. },
  94933. "gmt_create" : {
  94934. "type" : "string",
  94935. "description" : "创建时间"
  94936. },
  94937. "gmt_modified" : {
  94938. "type" : "string",
  94939. "description" : "修改时间"
  94940. },
  94941. "open_id" : {
  94942. "type" : "string",
  94943. "description" : "用户支付宝UID"
  94944. },
  94945. "order_content" : {
  94946. "type" : "string",
  94947. "description" : "订单内容,JSON格式。"
  94948. },
  94949. "order_id" : {
  94950. "type" : "string",
  94951. "description" : "订单ID"
  94952. },
  94953. "order_type" : {
  94954. "type" : "string",
  94955. "description" : "订单类型\tMETRO:地铁\tTAKEAWAY:外卖\tOTHER:其他"
  94956. },
  94957. "partner_id" : {
  94958. "type" : "string",
  94959. "description" : "合作伙伴ID"
  94960. },
  94961. "pay_no" : {
  94962. "type" : "string",
  94963. "description" : "关联支付宝交易号"
  94964. },
  94965. "user_id" : {
  94966. "type" : "string",
  94967. "description" : "用户支付宝UID"
  94968. }
  94969. }
  94970. },
  94971. "EcShopInfo" : {
  94972. "type" : "object",
  94973. "properties" : {
  94974. "address" : {
  94975. "type" : "string",
  94976. "description" : "球房地址",
  94977. "example" : "xxx大道xxx号"
  94978. },
  94979. "city_id" : {
  94980. "type" : "string",
  94981. "description" : "城市编码",
  94982. "example" : "330100"
  94983. },
  94984. "city_name" : {
  94985. "type" : "string",
  94986. "description" : "城市名称",
  94987. "example" : "成都市"
  94988. },
  94989. "district_id" : {
  94990. "type" : "string",
  94991. "description" : "区编码",
  94992. "example" : "330101"
  94993. },
  94994. "district_name" : {
  94995. "type" : "string",
  94996. "description" : "区名称",
  94997. "example" : "武侯区"
  94998. },
  94999. "latitude" : {
  95000. "type" : "string",
  95001. "description" : "纬度",
  95002. "example" : "29.333"
  95003. },
  95004. "longitude" : {
  95005. "type" : "string",
  95006. "description" : "经度",
  95007. "example" : "121.222"
  95008. },
  95009. "mcc_code_1" : {
  95010. "type" : "string",
  95011. "description" : "一级mcc编码",
  95012. "example" : "A0001"
  95013. },
  95014. "mcc_code_2" : {
  95015. "type" : "string",
  95016. "description" : "二级mcc编码",
  95017. "example" : "B0001"
  95018. },
  95019. "mcc_name_1" : {
  95020. "type" : "string",
  95021. "description" : "一级mcc名称",
  95022. "example" : "餐饮"
  95023. },
  95024. "mcc_name_2" : {
  95025. "type" : "string",
  95026. "description" : "二级mcc名称",
  95027. "example" : "中式快餐"
  95028. },
  95029. "outdoor_img_url" : {
  95030. "type" : "string",
  95031. "description" : "门头照地址",
  95032. "example" : "http://xxxx.png"
  95033. },
  95034. "poi_id" : {
  95035. "type" : "string",
  95036. "description" : "高德poiId",
  95037. "example" : "B0G29CP65Q"
  95038. },
  95039. "province_id" : {
  95040. "type" : "string",
  95041. "description" : "省份编码",
  95042. "example" : "330000"
  95043. },
  95044. "province_name" : {
  95045. "type" : "string",
  95046. "description" : "省份名称",
  95047. "example" : "四川省"
  95048. },
  95049. "shop_name" : {
  95050. "type" : "string",
  95051. "description" : "球房名称",
  95052. "example" : "xxx球房"
  95053. }
  95054. }
  95055. },
  95056. "EcVoucherInfo" : {
  95057. "type" : "object",
  95058. "properties" : {
  95059. "account_id" : {
  95060. "type" : "string",
  95061. "description" : "共同账户ID",
  95062. "example" : "2088000000000000"
  95063. },
  95064. "employee_id" : {
  95065. "type" : "string",
  95066. "description" : "员工ID,汇总发票该字段无效",
  95067. "example" : "228800000000001000843"
  95068. },
  95069. "enterprise_id" : {
  95070. "type" : "string",
  95071. "description" : "企业ID",
  95072. "example" : "2088000000000000"
  95073. },
  95074. "open_id" : {
  95075. "type" : "string",
  95076. "description" : "员工支付宝UID",
  95077. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  95078. },
  95079. "user_id" : {
  95080. "type" : "string",
  95081. "description" : "员工支付宝UID",
  95082. "example" : "2088000000000000"
  95083. },
  95084. "voucher_content" : {
  95085. "type" : "string",
  95086. "description" : "凭证内容",
  95087. "example" : "{\\\"key\\\":\\\"value\\\"}"
  95088. },
  95089. "voucher_date" : {
  95090. "type" : "string",
  95091. "description" : "凭证创建时间,格式:yyyy-MM-dd HH:mm:ss",
  95092. "example" : "无"
  95093. },
  95094. "voucher_id" : {
  95095. "type" : "string",
  95096. "description" : "凭证ID,幂等用",
  95097. "example" : "2022060600152611070001623913"
  95098. },
  95099. "voucher_source" : {
  95100. "type" : "string",
  95101. "description" : "凭证来源",
  95102. "example" : "OCR"
  95103. },
  95104. "voucher_type" : {
  95105. "type" : "string",
  95106. "description" : "凭证类型",
  95107. "example" : "Invoice"
  95108. }
  95109. }
  95110. },
  95111. "EinvTrade" : {
  95112. "type" : "object",
  95113. "properties" : {
  95114. "bill_no" : {
  95115. "type" : "string",
  95116. "description" : "订单编号"
  95117. },
  95118. "bill_time" : {
  95119. "type" : "string",
  95120. "description" : "下单时间"
  95121. },
  95122. "city_name" : {
  95123. "type" : "string",
  95124. "description" : "商户所在城市(经营地址)"
  95125. },
  95126. "detail_json" : {
  95127. "type" : "string",
  95128. "description" : "账单明细信息,酒店水单信息,行程单信息,餐饮小票信息"
  95129. },
  95130. "download_url" : {
  95131. "type" : "string",
  95132. "description" : "账单明细信息,酒店水单,行程单,餐饮小票等pdf原件链接"
  95133. },
  95134. "extend_map" : {
  95135. "type" : "string",
  95136. "description" : "扩展参数\t\t不同组的k-v通过换行符区分"
  95137. },
  95138. "merchant_name" : {
  95139. "type" : "string",
  95140. "description" : "商家名称(显示名称,非企业名称,餐饮店、酒店、打车平台名称)"
  95141. },
  95142. "out_json" : {
  95143. "type" : "string",
  95144. "description" : "透传字段,不做处理,用于isv向后续报销税控方传递特殊信息标记"
  95145. },
  95146. "payee_name" : {
  95147. "type" : "string",
  95148. "description" : "销方名称"
  95149. },
  95150. "payment_amount" : {
  95151. "type" : "string",
  95152. "description" : "支付金额\t\t对应账单中的交易金额"
  95153. },
  95154. "payment_time" : {
  95155. "type" : "string",
  95156. "description" : "支付时间\t\t对应账单中的账单日期"
  95157. },
  95158. "souce" : {
  95159. "type" : "string",
  95160. "description" : "交易类型来源 需要按照枚举映射\t\tconsume 账单\t\thotel 酒店水单\t\titinerary 打车行程单\t\tcatering 餐饮小票"
  95161. },
  95162. "trade_type" : {
  95163. "type" : "string",
  95164. "description" : "交易类型/账单分类"
  95165. }
  95166. }
  95167. },
  95168. "EmployeeDepartmentDTO" : {
  95169. "type" : "object",
  95170. "properties" : {
  95171. "department_id" : {
  95172. "type" : "string",
  95173. "description" : "部门id",
  95174. "example" : "1001094000039142"
  95175. },
  95176. "department_name" : {
  95177. "type" : "string",
  95178. "description" : "部门名称",
  95179. "example" : "产品部"
  95180. }
  95181. }
  95182. },
  95183. "EmployeeInfoDTO" : {
  95184. "type" : "object",
  95185. "properties" : {
  95186. "activate" : {
  95187. "type" : "string",
  95188. "description" : "是否激活",
  95189. "example" : "ACTIVATED"
  95190. },
  95191. "department_list" : {
  95192. "type" : "array",
  95193. "description" : "员工所属部门列表",
  95194. "items" : {
  95195. "$ref" : "#/components/schemas/EmployeeDepartmentDTO"
  95196. }
  95197. },
  95198. "email" : {
  95199. "type" : "string",
  95200. "description" : "邮箱",
  95201. "example" : "123456@qq.com"
  95202. },
  95203. "employee_id" : {
  95204. "type" : "string",
  95205. "description" : "员工id",
  95206. "example" : "228420000000057942506"
  95207. },
  95208. "employee_name" : {
  95209. "type" : "string",
  95210. "description" : "员工姓名",
  95211. "example" : "张三"
  95212. },
  95213. "employee_no" : {
  95214. "type" : "string",
  95215. "description" : "员工工号",
  95216. "example" : "200818255"
  95217. },
  95218. "gmt_create" : {
  95219. "type" : "string",
  95220. "description" : "变更时间",
  95221. "example" : "2022-04-20 17:13:51"
  95222. },
  95223. "gmt_modified" : {
  95224. "type" : "string",
  95225. "description" : "变更时间",
  95226. "example" : "2022-04-25 17:13:51"
  95227. },
  95228. "iot_face_status" : {
  95229. "type" : "string",
  95230. "description" : "员工是否人脸在库",
  95231. "example" : "1"
  95232. },
  95233. "iot_vid" : {
  95234. "type" : "string",
  95235. "description" : "员工在企业人脸库的人脸唯一标识",
  95236. "example" : "2109b5e671aa3ff2eb4851816c65828f"
  95237. },
  95238. "mobile" : {
  95239. "type" : "string",
  95240. "description" : "手机号码",
  95241. "example" : "13456782345"
  95242. },
  95243. "open_id" : {
  95244. "type" : "string",
  95245. "description" : "用户id",
  95246. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  95247. },
  95248. "role_list" : {
  95249. "type" : "array",
  95250. "description" : "角色列表",
  95251. "items" : {
  95252. "type" : "string"
  95253. },
  95254. "example" : "[\"ADMIN\"]"
  95255. },
  95256. "user_id" : {
  95257. "type" : "string",
  95258. "description" : "用户id",
  95259. "example" : "2088123454654356"
  95260. }
  95261. }
  95262. },
  95263. "EmployeeTitleDTO" : {
  95264. "type" : "object",
  95265. "properties" : {
  95266. "account_id" : {
  95267. "type" : "string",
  95268. "description" : "共同账户id,与enterprise_id两者必填其一"
  95269. },
  95270. "create_by" : {
  95271. "type" : "string",
  95272. "description" : "创建人"
  95273. },
  95274. "employee_id" : {
  95275. "type" : "string",
  95276. "description" : "企业域定义的员工id,与user_id两者必填其一"
  95277. },
  95278. "enterprise_id" : {
  95279. "type" : "string",
  95280. "description" : "企业域定义的企业id,与account_id两者必填其一"
  95281. },
  95282. "modify_by" : {
  95283. "type" : "string",
  95284. "description" : "修改人"
  95285. },
  95286. "open_id" : {
  95287. "type" : "string",
  95288. "description" : "员工支付宝账号open_id,与employee_id两者必填其一"
  95289. },
  95290. "title_id" : {
  95291. "type" : "string",
  95292. "description" : "抬头id"
  95293. },
  95294. "title_tag" : {
  95295. "type" : "string",
  95296. "description" : "关系标记"
  95297. },
  95298. "user_id" : {
  95299. "type" : "string",
  95300. "description" : "员工支付宝账号2088,与employee_id两者必填其一"
  95301. }
  95302. }
  95303. },
  95304. "EndTimeInfo" : {
  95305. "type" : "object",
  95306. "properties" : {
  95307. "end_time" : {
  95308. "type" : "string",
  95309. "description" : "结束时间 格式:HH:mm:ss"
  95310. },
  95311. "end_time_type" : {
  95312. "type" : "string",
  95313. "description" : "结束时间类型"
  95314. }
  95315. }
  95316. },
  95317. "EnterpriseAgreementDTO" : {
  95318. "type" : "object",
  95319. "properties" : {
  95320. "agreement_id" : {
  95321. "type" : "string",
  95322. "description" : "协议id",
  95323. "example" : "AG00000171"
  95324. },
  95325. "enterprise_id" : {
  95326. "type" : "string",
  95327. "description" : "企业id",
  95328. "example" : "2088441399627416"
  95329. },
  95330. "enterprise_name" : {
  95331. "type" : "string",
  95332. "description" : "企业名称",
  95333. "example" : "企业码测试企业"
  95334. },
  95335. "sign_date" : {
  95336. "type" : "string",
  95337. "description" : "签约时间",
  95338. "example" : "2022-04-20 17:13:51"
  95339. },
  95340. "sign_status" : {
  95341. "type" : "string",
  95342. "description" : "签约状态",
  95343. "example" : "SIGNED"
  95344. }
  95345. }
  95346. },
  95347. "EnterpriseInfoDTO" : {
  95348. "type" : "object",
  95349. "properties" : {
  95350. "account_id" : {
  95351. "type" : "string",
  95352. "description" : "账户id"
  95353. },
  95354. "activate" : {
  95355. "type" : "string",
  95356. "description" : "因公签约状态 UNACTIVATED:未激活 ACTIVATED:已激活 说明:表示签约资金因公付"
  95357. },
  95358. "auth_level" : {
  95359. "type" : "string",
  95360. "description" : "企业认证等级 10初级认证 30 高级认证"
  95361. },
  95362. "auth_status" : {
  95363. "type" : "string",
  95364. "description" : "认证状态 \tNO_AUTH:未认证 IN_AUTH:认证中 HAS_AUTH:已认证"
  95365. },
  95366. "auth_time" : {
  95367. "type" : "string",
  95368. "description" : "认证时间"
  95369. },
  95370. "enterprise_alias" : {
  95371. "type" : "string",
  95372. "description" : "企业名称"
  95373. },
  95374. "enterprise_code" : {
  95375. "type" : "string",
  95376. "description" : "统一社会信用码"
  95377. },
  95378. "enterprise_email" : {
  95379. "type" : "string",
  95380. "description" : "企业邮箱"
  95381. },
  95382. "enterprise_id" : {
  95383. "type" : "string",
  95384. "description" : "企业id"
  95385. },
  95386. "enterprise_name" : {
  95387. "type" : "string",
  95388. "description" : "企业名称"
  95389. },
  95390. "gmt_create" : {
  95391. "type" : "string",
  95392. "description" : "创建时间"
  95393. },
  95394. "gmt_modified" : {
  95395. "type" : "string",
  95396. "description" : "更新时间"
  95397. },
  95398. "iot_group_id" : {
  95399. "type" : "string",
  95400. "description" : "封闭场景(如班车)的人脸库id"
  95401. },
  95402. "iot_logic_group_id" : {
  95403. "type" : "string",
  95404. "description" : "开放场景(如团餐)的人脸库id"
  95405. },
  95406. "platform_code" : {
  95407. "type" : "string",
  95408. "description" : "外部平台code"
  95409. },
  95410. "platform_out_id" : {
  95411. "type" : "string",
  95412. "description" : "外部平台id"
  95413. },
  95414. "sign_status" : {
  95415. "type" : "string",
  95416. "description" : "企业服务协议状态 UNSIGNED:未签约 SIGNED:已签约 TERMINATED:已解约 说明:表示签约企业码服务协议"
  95417. },
  95418. "status" : {
  95419. "type" : "string",
  95420. "description" : "企业当前状态 SYNC:数据同步中 NORMAL:正常 WITHDRAW:注销"
  95421. }
  95422. }
  95423. },
  95424. "EnterpriseOpenRuleInfo" : {
  95425. "type" : "object",
  95426. "properties" : {
  95427. "enterprise_id" : {
  95428. "type" : "string",
  95429. "description" : "企业ID",
  95430. "example" : "2088000194958956"
  95431. },
  95432. "enterprise_open_rule_record_info_list" : {
  95433. "type" : "array",
  95434. "description" : "当前生效和下次生效的开票规则记录",
  95435. "items" : {
  95436. "$ref" : "#/components/schemas/EnterpriseOpenRuleRecordInfo"
  95437. }
  95438. },
  95439. "enterprise_open_rule_relation_info_list" : {
  95440. "type" : "array",
  95441. "description" : "开票规则绑定关系",
  95442. "items" : {
  95443. "$ref" : "#/components/schemas/EnterpriseOpenRuleRelationInfo"
  95444. }
  95445. },
  95446. "gmt_create" : {
  95447. "type" : "string",
  95448. "description" : "创建时间",
  95449. "example" : "2021-08-27 00:00:00"
  95450. },
  95451. "gmt_modified" : {
  95452. "type" : "string",
  95453. "description" : "修改时间",
  95454. "example" : "2021-08-27 00:00:00"
  95455. },
  95456. "invoice_rule_id" : {
  95457. "type" : "string",
  95458. "description" : "开票规则ID",
  95459. "example" : "2021032900152710950000000001"
  95460. },
  95461. "invoice_rule_name" : {
  95462. "type" : "string",
  95463. "description" : "开票规则名称",
  95464. "example" : "开票规则测试1"
  95465. },
  95466. "owner_id" : {
  95467. "type" : "string",
  95468. "description" : "所有者ID(企业情况下即为企业ID)",
  95469. "example" : "2088000194958956"
  95470. },
  95471. "seller_type" : {
  95472. "type" : "string",
  95473. "description" : "销方类型:TP开票、商户开票、商户优先\t枚举定义:MERCHANT(商户)、TP(TP)",
  95474. "example" : "TP"
  95475. }
  95476. }
  95477. },
  95478. "EnterpriseOpenRuleRecordInfo" : {
  95479. "type" : "object",
  95480. "properties" : {
  95481. "bill_month_day" : {
  95482. "type" : "integer",
  95483. "description" : "开票规则账单日",
  95484. "example" : "5"
  95485. },
  95486. "effective_start" : {
  95487. "type" : "string",
  95488. "description" : "开票规则生效日期",
  95489. "example" : "2021-08-27 00:00:00"
  95490. },
  95491. "enterprise_id" : {
  95492. "type" : "string",
  95493. "description" : "企业ID",
  95494. "example" : "2088000000000001"
  95495. },
  95496. "gmt_create" : {
  95497. "type" : "string",
  95498. "description" : "创建时间",
  95499. "example" : "2021-08-27 00:00:00"
  95500. },
  95501. "gmt_modified" : {
  95502. "type" : "string",
  95503. "description" : "修改时间",
  95504. "example" : "2021-08-27 00:00:00"
  95505. },
  95506. "invoice_rule_id" : {
  95507. "type" : "string",
  95508. "description" : "开票规则ID",
  95509. "example" : "2021032900152710950000000001"
  95510. },
  95511. "invoice_rule_record_id" : {
  95512. "type" : "string",
  95513. "description" : "开票规则记录ID",
  95514. "example" : "2021032900152710950000000001"
  95515. },
  95516. "invoice_title_id" : {
  95517. "type" : "string",
  95518. "description" : "发票抬头ID",
  95519. "example" : "2021032900152710950000000001"
  95520. },
  95521. "open_applyer" : {
  95522. "type" : "string",
  95523. "description" : "开票申请方",
  95524. "example" : "ENTERPRISE"
  95525. },
  95526. "open_mode" : {
  95527. "type" : "string",
  95528. "description" : "开票模式",
  95529. "example" : "SUMMARY"
  95530. },
  95531. "open_type" : {
  95532. "type" : "string",
  95533. "description" : "开票申请类型",
  95534. "example" : "AUTO"
  95535. },
  95536. "owner_id" : {
  95537. "type" : "string",
  95538. "description" : "所有者ID(企业情况下即为企业ID)",
  95539. "example" : "2088000194958956"
  95540. },
  95541. "tag" : {
  95542. "type" : "string",
  95543. "description" : "开票规则标记",
  95544. "example" : "DEFAULT"
  95545. }
  95546. }
  95547. },
  95548. "EnterpriseOpenRuleRelationInfo" : {
  95549. "type" : "object",
  95550. "properties" : {
  95551. "enterprise_id" : {
  95552. "type" : "string",
  95553. "description" : "企业ID",
  95554. "example" : "2088000000000001"
  95555. },
  95556. "gmt_create" : {
  95557. "type" : "string",
  95558. "description" : "创建时间",
  95559. "example" : "2021-08-27 00:00:00"
  95560. },
  95561. "gmt_modified" : {
  95562. "type" : "string",
  95563. "description" : "修改时间",
  95564. "example" : "2021-08-27 00:00:00"
  95565. },
  95566. "owner_id" : {
  95567. "type" : "string",
  95568. "description" : "所有者ID(企业情况下即为企业ID)",
  95569. "example" : "2088000194958956"
  95570. },
  95571. "standard_id" : {
  95572. "type" : "string",
  95573. "description" : "费控规则ID",
  95574. "example" : "2021032900152710950000000001"
  95575. }
  95576. }
  95577. },
  95578. "EnterprisePayInfo" : {
  95579. "type" : "object",
  95580. "properties" : {
  95581. "biz_info" : {
  95582. "type" : "string",
  95583. "description" : "因公付业务信息"
  95584. },
  95585. "invoice_amount" : {
  95586. "type" : "string",
  95587. "description" : "开票金额"
  95588. },
  95589. "is_use_enterprise_pay" : {
  95590. "type" : "boolean",
  95591. "description" : "是否包含因公付资产"
  95592. }
  95593. }
  95594. },
  95595. "EnterpriseTitleInfo" : {
  95596. "type" : "object",
  95597. "properties" : {
  95598. "address" : {
  95599. "type" : "string",
  95600. "description" : "详细地址"
  95601. },
  95602. "bank_account" : {
  95603. "type" : "string",
  95604. "description" : "开户行账号"
  95605. },
  95606. "bank_name" : {
  95607. "type" : "string",
  95608. "description" : "开户行地址"
  95609. },
  95610. "tax_register_no" : {
  95611. "type" : "string",
  95612. "description" : "税号"
  95613. },
  95614. "telephone" : {
  95615. "type" : "string",
  95616. "description" : "电话"
  95617. },
  95618. "title_id" : {
  95619. "type" : "string",
  95620. "description" : "抬头ID"
  95621. },
  95622. "title_name" : {
  95623. "type" : "string",
  95624. "description" : "企业抬头名称"
  95625. }
  95626. }
  95627. },
  95628. "ErrorDeliveryConfig" : {
  95629. "type" : "object",
  95630. "properties" : {
  95631. "delivery_config" : {
  95632. "$ref" : "#/components/schemas/DeliveryConfig"
  95633. },
  95634. "error_code" : {
  95635. "type" : "string",
  95636. "description" : "错误码。针对单个投放,具体的错误原因。\t\t枚举值:\tUNKNOWN_EXCEPTION: 未知异常,可重试。\tACTIVITY_STATUS_NOT_ACTIVE: 活动状态未激活,不可重试。\tACTIVITY_OVERDUE:活动已过期,不可重试。\tDELIVERY_VALIDATE_ERROR:投放校验不通过,不可重试。\tDELIVERY_OPERATE_ERROR: 投放操作失败,不可重试。\tBOOTH_CHANNEL_NOT_EXIST:渠道不存在,不可重试。"
  95637. },
  95638. "error_msg" : {
  95639. "type" : "string",
  95640. "description" : "详细的投放错误信息。用于判断具体的错误信息。"
  95641. }
  95642. }
  95643. },
  95644. "ErrorMatcher" : {
  95645. "type" : "object",
  95646. "properties" : {
  95647. "error_msg" : {
  95648. "type" : "string",
  95649. "description" : "失败原因"
  95650. },
  95651. "matcher" : {
  95652. "$ref" : "#/components/schemas/Matcher"
  95653. }
  95654. }
  95655. },
  95656. "ExchangeVoucher" : {
  95657. "type" : "object",
  95658. "properties" : {
  95659. "amount" : {
  95660. "type" : "string",
  95661. "description" : "券的价值"
  95662. },
  95663. "biz_type" : {
  95664. "type" : "string",
  95665. "description" : "兑换券业务类型。\t\t枚举值\t团购券:GROUP_BUY_EXCHANGE_VOUCHER\t代金券:FIX_EXCHANGE_VOUCHER\t注意:兑换券通过<a href=\"https://opendocs.alipay.com/pre-open/repo-00tbta\">大促活动权益报名</a>能力推广至支付宝会场时,本参数必填。"
  95666. },
  95667. "customer_service_mobile" : {
  95668. "type" : "string",
  95669. "description" : "客服电话"
  95670. },
  95671. "customer_service_url" : {
  95672. "type" : "string",
  95673. "description" : "客服链接"
  95674. },
  95675. "floor_amount" : {
  95676. "type" : "string",
  95677. "description" : "优惠门槛金额,表示只有当订单金额大于等于门槛金额时券才能使用。该字段为空时表示无门槛。\t门槛金额的校验由服务商(商户)核销时自行校验,支付宝侧只做展示使用。"
  95678. },
  95679. "overdue_refundable" : {
  95680. "type" : "boolean",
  95681. "description" : "是否支持优惠券过期后,自动退款给用户。\t不填默认否,枚举值:\ttrue:是\tfalse:否"
  95682. },
  95683. "payee_pid" : {
  95684. "type" : "string",
  95685. "description" : "收款账号。目前的结算规则是,每核销一笔优惠券,支付宝会打款到该收款账户。"
  95686. },
  95687. "refundable" : {
  95688. "type" : "boolean",
  95689. "description" : "购买的优惠券是否允许退款。不填默认否,枚举值:\ttrue:是\tfalse:否"
  95690. },
  95691. "sale_amount" : {
  95692. "type" : "string",
  95693. "description" : "用户购买优惠券需要支付的金额"
  95694. },
  95695. "settle_type" : {
  95696. "type" : "string",
  95697. "description" : "1.账期模式:走默认结算账号\t2.分账模式:球房分账\t3.分账模式:合作商户"
  95698. },
  95699. "voucher_detail_url" : {
  95700. "type" : "string",
  95701. "description" : "领(购)券详情页链接,从支付宝公域跳转到服务商(商户)自定义领(购)券详情页。"
  95702. },
  95703. "voucher_name" : {
  95704. "type" : "string",
  95705. "description" : "对消费者展示的券(商品)名称。"
  95706. }
  95707. }
  95708. },
  95709. "ExchangeVoucherInfo" : {
  95710. "type" : "object",
  95711. "properties" : {
  95712. "amount" : {
  95713. "type" : "string",
  95714. "description" : "券的价值"
  95715. },
  95716. "biz_type" : {
  95717. "type" : "string",
  95718. "description" : "兑换券业务类型。 注意:兑换券通过大促活动权益报名能力推广至支付宝会场时,本参数必填。"
  95719. },
  95720. "exchange_goods_info" : {
  95721. "$ref" : "#/components/schemas/VoucherExchangeGoodsInfo"
  95722. },
  95723. "floor_amount" : {
  95724. "type" : "string",
  95725. "description" : "优惠门槛金额,表示只有当订单金额大于等于门槛金额时券才能使用。该字段为空时表示无门槛。 门槛金额的校验由服务商(商户)核销时自行校验,支付宝侧只做展示使用。"
  95726. },
  95727. "voucher_deduct_threshold_info" : {
  95728. "$ref" : "#/components/schemas/VoucherDeductThresholdInfo"
  95729. }
  95730. }
  95731. },
  95732. "ExchangeVoucherModify" : {
  95733. "type" : "object",
  95734. "properties" : {
  95735. "voucher_detail_url" : {
  95736. "type" : "string",
  95737. "description" : "领(购)券详情页链接,从支付宝公域跳转到服务商(商户)自定义领(购)券详情页。",
  95738. "example" : "alipays://platformapi/startapp?appId=20170713077xxxxx&page=x/yz&query=xx%3dxx"
  95739. },
  95740. "voucher_name" : {
  95741. "type" : "string",
  95742. "description" : "对消费者展示的券(商品)名称。",
  95743. "example" : "火锅套餐、100元代金券"
  95744. }
  95745. }
  95746. },
  95747. "ExpenseConsumeInfo" : {
  95748. "type" : "object",
  95749. "properties" : {
  95750. "account_id" : {
  95751. "type" : "string",
  95752. "description" : "企业ID"
  95753. },
  95754. "actual_account_number" : {
  95755. "type" : "string",
  95756. "description" : "实际出资企业支付宝账号"
  95757. },
  95758. "batch_id" : {
  95759. "type" : "string",
  95760. "description" : "汇总批次ID(废弃)"
  95761. },
  95762. "bill_no" : {
  95763. "type" : "string",
  95764. "description" : "支付流水号"
  95765. },
  95766. "bill_type" : {
  95767. "type" : "string",
  95768. "description" : "账单类型(CONSUME-消费账单、REFUND-退款、TRANSFER-转账)"
  95769. },
  95770. "category_name" : {
  95771. "type" : "string",
  95772. "description" : "账单行业分类(交通出行,餐饮美食,商业服务,日用百货等等)"
  95773. },
  95774. "consume_amount" : {
  95775. "type" : "string",
  95776. "description" : "账单金额(单位:元)"
  95777. },
  95778. "consume_date" : {
  95779. "type" : "string",
  95780. "description" : "交易日期"
  95781. },
  95782. "consume_title" : {
  95783. "type" : "string",
  95784. "description" : "账单展示标题"
  95785. },
  95786. "employee_id" : {
  95787. "type" : "string",
  95788. "description" : "所属员工支付宝uid"
  95789. },
  95790. "employee_open_id" : {
  95791. "type" : "string",
  95792. "description" : "所属员工支付宝uid"
  95793. },
  95794. "merchant_id" : {
  95795. "type" : "string",
  95796. "description" : "商户id"
  95797. },
  95798. "mshop_id" : {
  95799. "type" : "string",
  95800. "description" : "球房id"
  95801. },
  95802. "open_model" : {
  95803. "type" : "string",
  95804. "description" : "开票模式(汇总开:ENTERPRISE_AUTO_BATCH)"
  95805. },
  95806. "original_voucher_id" : {
  95807. "type" : "string",
  95808. "description" : "退款交易关联正交易单号(对应正交易的bill_no)"
  95809. },
  95810. "out_biz_no" : {
  95811. "type" : "string",
  95812. "description" : "外部流水号"
  95813. },
  95814. "p_pay_amount" : {
  95815. "type" : "string",
  95816. "description" : "企业支付金额(单位:元)"
  95817. },
  95818. "payee_name" : {
  95819. "type" : "string",
  95820. "description" : "商家名称"
  95821. },
  95822. "project_id" : {
  95823. "type" : "string",
  95824. "description" : "费控规则中的项目ID"
  95825. },
  95826. "projiect_id" : {
  95827. "type" : "string",
  95828. "description" : "支付使用的项目号(成本中心)此字段废弃"
  95829. },
  95830. "refund_amount" : {
  95831. "type" : "string",
  95832. "description" : "消费账单的退款金额"
  95833. },
  95834. "refund_status" : {
  95835. "type" : "string",
  95836. "description" : "消费账单的退款状态"
  95837. },
  95838. "standard_id" : {
  95839. "type" : "string",
  95840. "description" : "费控规则ID"
  95841. },
  95842. "store_id" : {
  95843. "type" : "string",
  95844. "description" : "外部球房id"
  95845. },
  95846. "summary_id" : {
  95847. "type" : "string",
  95848. "description" : "批次id"
  95849. },
  95850. "tp_sign" : {
  95851. "type" : "string",
  95852. "description" : "出资类型:\tPERSONAL:个人垫付\tENTERPRISE:企业垫资\tTP:三方合作伙伴垫资\tACCOUNTING:记账"
  95853. },
  95854. "voucher_id" : {
  95855. "type" : "string",
  95856. "description" : "凭证ID"
  95857. }
  95858. }
  95859. },
  95860. "ExpenseCtrRuleGroupInfo" : {
  95861. "type" : "object",
  95862. "properties" : {
  95863. "expense_ctrl_rule_info_list" : {
  95864. "type" : "array",
  95865. "description" : "费控条件列表",
  95866. "items" : {
  95867. "$ref" : "#/components/schemas/ExpenseCtrRuleInfo"
  95868. }
  95869. },
  95870. "expense_type" : {
  95871. "type" : "string",
  95872. "description" : "费用类型\t特殊说明:仅支持费用类型DEFAULT"
  95873. },
  95874. "group_id" : {
  95875. "type" : "string",
  95876. "description" : "费控规则ID"
  95877. },
  95878. "group_name" : {
  95879. "type" : "string",
  95880. "description" : "费控规则名称\t约束:\t1)敏感词校验\t2)不能重复"
  95881. }
  95882. }
  95883. },
  95884. "ExpenseCtrRuleInfo" : {
  95885. "type" : "object",
  95886. "properties" : {
  95887. "rule_factor" : {
  95888. "type" : "string",
  95889. "description" : "费控维度"
  95890. },
  95891. "rule_id" : {
  95892. "type" : "string",
  95893. "description" : "费控条件ID"
  95894. },
  95895. "rule_name" : {
  95896. "type" : "string",
  95897. "description" : "费控条件名称"
  95898. },
  95899. "rule_operator" : {
  95900. "type" : "string",
  95901. "description" : "费控条件操作符\t枚举值:\tLT(\"<\",\"小于\")\tLE(\"<=\",\"小于等于\")\tEQ(\"=\",\"等于\")\tNE(\"!=\",\"不等于\")\tGE(\">=\",\"大于等于\")\tGT(\">\",\"大于\")"
  95902. },
  95903. "rule_value" : {
  95904. "type" : "string",
  95905. "description" : "费控条件值"
  95906. }
  95907. }
  95908. },
  95909. "ExpenseCtrlConsumeInfo" : {
  95910. "type" : "object",
  95911. "properties" : {
  95912. "expense_consume_info" : {
  95913. "$ref" : "#/components/schemas/ExpenseConsumeInfo"
  95914. },
  95915. "related_enterprise_consume_list" : {
  95916. "type" : "array",
  95917. "description" : "关联凑票账单列表(开票限额,多次消费后合并开票)",
  95918. "items" : {
  95919. "$ref" : "#/components/schemas/ExpenseConsumeInfo"
  95920. }
  95921. },
  95922. "related_enterprise_invoice_list" : {
  95923. "type" : "array",
  95924. "description" : "关联发票凭证对象",
  95925. "items" : {
  95926. "$ref" : "#/components/schemas/ExpenseInvoiceInfo"
  95927. }
  95928. }
  95929. }
  95930. },
  95931. "ExpenseCtrlEmployeeRuleInfo" : {
  95932. "type" : "object",
  95933. "properties" : {
  95934. "effective" : {
  95935. "type" : "integer",
  95936. "description" : "费控规则状态,1表示有效,0表示无效",
  95937. "example" : "1"
  95938. },
  95939. "effective_end_date" : {
  95940. "type" : "string",
  95941. "description" : "费控规则有效期截止",
  95942. "example" : "2022-08-08 00:00:00"
  95943. },
  95944. "effective_start_date" : {
  95945. "type" : "string",
  95946. "description" : "费控规则有效期起始",
  95947. "example" : "2021-08-08 00:00:00"
  95948. },
  95949. "owner_type" : {
  95950. "type" : "string",
  95951. "description" : "费控规则作用范围,\tEMPLOYEE表示员工,ENTERPRISE表示企业",
  95952. "example" : "EMPLOYEE"
  95953. },
  95954. "standard_id" : {
  95955. "type" : "string",
  95956. "description" : "费控规则ID",
  95957. "example" : "202106280015260135000000xxxx"
  95958. },
  95959. "standard_name" : {
  95960. "type" : "string",
  95961. "description" : "费控规则名称",
  95962. "example" : "测试规则"
  95963. }
  95964. }
  95965. },
  95966. "ExpenseInvoiceInfo" : {
  95967. "type" : "object",
  95968. "properties" : {
  95969. "employee_id" : {
  95970. "type" : "string",
  95971. "description" : "员工ID"
  95972. },
  95973. "employee_open_id" : {
  95974. "type" : "string",
  95975. "description" : "员工ID"
  95976. },
  95977. "invoice_output_info" : {
  95978. "$ref" : "#/components/schemas/InvoiceOutputInfo"
  95979. },
  95980. "ocr_normal_scan_info" : {
  95981. "$ref" : "#/components/schemas/OcrNormalScanInfo"
  95982. },
  95983. "ocr_plane_scan_info" : {
  95984. "$ref" : "#/components/schemas/OcrPlaneScanInfo"
  95985. },
  95986. "ocr_taxi_scan_info" : {
  95987. "$ref" : "#/components/schemas/OcrTaxiScanInfo"
  95988. },
  95989. "ocr_train_scan_info" : {
  95990. "$ref" : "#/components/schemas/OcrTrainScanInfo"
  95991. },
  95992. "voucher_file_info" : {
  95993. "$ref" : "#/components/schemas/VoucherFileInfo"
  95994. },
  95995. "voucher_id" : {
  95996. "type" : "string",
  95997. "description" : "凭证ID"
  95998. }
  95999. }
  96000. },
  96001. "ExpenseMerchantInfo" : {
  96002. "type" : "object",
  96003. "properties" : {
  96004. "merchant_name" : {
  96005. "type" : "string",
  96006. "description" : "商户名称",
  96007. "example" : "肯德基"
  96008. },
  96009. "pid" : {
  96010. "type" : "string",
  96011. "description" : "商户ID",
  96012. "example" : "2088xxx"
  96013. },
  96014. "role_id" : {
  96015. "type" : "string",
  96016. "description" : "商户ID",
  96017. "example" : "2088xxx"
  96018. },
  96019. "role_type" : {
  96020. "type" : "string",
  96021. "description" : "角色类型\t0-直连商户\t1-间联商户",
  96022. "example" : "0"
  96023. },
  96024. "shop_id" : {
  96025. "type" : "string",
  96026. "description" : "球房ID",
  96027. "example" : "2088xxx"
  96028. },
  96029. "shop_name" : {
  96030. "type" : "string",
  96031. "description" : "球房名称",
  96032. "example" : "肯德基陆家嘴店"
  96033. }
  96034. }
  96035. },
  96036. "ExpenseQuotaInfo" : {
  96037. "type" : "object",
  96038. "properties" : {
  96039. "effective_end_date" : {
  96040. "type" : "string",
  96041. "description" : "额度失效时间",
  96042. "example" : "2021-10-01 00:00:00"
  96043. },
  96044. "effective_start_date" : {
  96045. "type" : "string",
  96046. "description" : "额度生效时间",
  96047. "example" : "2021-01-01 00:00:00"
  96048. },
  96049. "enterprise_id" : {
  96050. "type" : "string",
  96051. "description" : "企业ID",
  96052. "example" : "2088000194958956"
  96053. },
  96054. "freeze" : {
  96055. "type" : "boolean",
  96056. "description" : "额度是否冻结,冻结后因公付不可用",
  96057. "example" : "true"
  96058. },
  96059. "owner_id" : {
  96060. "type" : "string",
  96061. "description" : "额度所属者ID\towner_type为EMPLOYEE时为员工支付宝ID\towner_type为ENTERPRISE_PAY_UID时为员工企业码ID\towner_type为PHONE时为员工手机号\towner_type为ENTERPRISE时为企业ID",
  96062. "example" : "2088xxx"
  96063. },
  96064. "owner_open_id" : {
  96065. "type" : "string",
  96066. "description" : "owner_type为EMPLOYEE时为员工open_id owner_type为PHONE时为员工手机号 owner_type为ENTERPRISE_PAY_UID时为员工企业码ID",
  96067. "example" : "abcdxxxx"
  96068. },
  96069. "owner_type" : {
  96070. "type" : "string",
  96071. "description" : "额度所属者id类型\tEMPLOYEE 员工",
  96072. "example" : "EMPLOYEE"
  96073. },
  96074. "quota_available" : {
  96075. "type" : "string",
  96076. "description" : "可用金额(单位分)",
  96077. "example" : "20"
  96078. },
  96079. "quota_id" : {
  96080. "type" : "string",
  96081. "description" : "额度ID",
  96082. "example" : "2021062800152601350000001468"
  96083. },
  96084. "quota_locked" : {
  96085. "type" : "string",
  96086. "description" : "锁定金额(单位分)",
  96087. "example" : "10"
  96088. },
  96089. "quota_total" : {
  96090. "type" : "string",
  96091. "description" : "总金额(单位分)",
  96092. "example" : "100"
  96093. },
  96094. "quota_type" : {
  96095. "type" : "string",
  96096. "description" : "额度类型",
  96097. "example" : "CAP"
  96098. },
  96099. "quota_used" : {
  96100. "type" : "string",
  96101. "description" : "已用金额(单位分)",
  96102. "example" : "70"
  96103. },
  96104. "target_id" : {
  96105. "type" : "string",
  96106. "description" : "额度维度ID\t当 target_type=EXPENSE_TYPE 时,值为\tMEAL(工作餐)\t当target_type=RULE_GROUP_AGGREGATION 时,值为费控规则聚合ID\t当target_type=INSTITUTION 时,值为制度ID",
  96107. "example" : "MEAL"
  96108. },
  96109. "target_type" : {
  96110. "type" : "string",
  96111. "description" : "额度维度\t枚举值:\tEXPENSE_TYPE(费用类型维度),\tRULE_GROUP_AGGREGATION(规则聚合维度),\tINSTITUTION(制度)",
  96112. "example" : "EXPENSE_TYPE"
  96113. }
  96114. }
  96115. },
  96116. "ExpenseVoucherInfo" : {
  96117. "type" : "object",
  96118. "properties" : {
  96119. "account_id" : {
  96120. "type" : "string",
  96121. "description" : "企业支付宝用户id(对应凭证ownerid)",
  96122. "example" : "2088123456789000"
  96123. },
  96124. "consumption_date" : {
  96125. "type" : "string",
  96126. "description" : "消费时间",
  96127. "example" : "2021-04-01 12:00:00"
  96128. },
  96129. "employee_id" : {
  96130. "type" : "string",
  96131. "description" : "员工ID",
  96132. "example" : "2088123456789000"
  96133. },
  96134. "employee_open_id" : {
  96135. "type" : "string",
  96136. "description" : "员工ID",
  96137. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  96138. },
  96139. "extension" : {
  96140. "type" : "string",
  96141. "description" : "扩展预留",
  96142. "example" : "暂无"
  96143. },
  96144. "gmt_create" : {
  96145. "type" : "string",
  96146. "description" : "数据创建时间",
  96147. "example" : "2021-04-02 12:00:00"
  96148. },
  96149. "gmt_modified" : {
  96150. "type" : "string",
  96151. "description" : "数据更新时间",
  96152. "example" : "2021-04-02 20:00:00"
  96153. },
  96154. "industry" : {
  96155. "type" : "string",
  96156. "description" : "行业属性值(从支付宝主账单复制)",
  96157. "example" : "hotel"
  96158. },
  96159. "is_off_set" : {
  96160. "type" : "string",
  96161. "description" : "是否冲抵凭证:0 否(蓝票);1 是(如:红票)",
  96162. "example" : "0"
  96163. },
  96164. "medium" : {
  96165. "type" : "string",
  96166. "description" : "凭证介质:纸or电子(PAPER,ELECTRON)",
  96167. "example" : "PAPER"
  96168. },
  96169. "outer_source_id" : {
  96170. "type" : "string",
  96171. "description" : "外部唯一ID(和凭证类型有关,如果发票类型为发票号码+发票编码,如果是账单,则为账单号)",
  96172. "example" : "10000000000000002"
  96173. },
  96174. "parent_type" : {
  96175. "type" : "string",
  96176. "description" : "凭证父类型(INVOICE-发票,TRAVEL-出行凭证,HTL_ORDER-酒店水单,CONSUME-账单,财政票夹)",
  96177. "example" : "INVOICE"
  96178. },
  96179. "voucher_amount" : {
  96180. "type" : "string",
  96181. "description" : "交易金额",
  96182. "example" : "100.00"
  96183. },
  96184. "voucher_date" : {
  96185. "type" : "string",
  96186. "description" : "凭证创建时间",
  96187. "example" : "2021-04-01 12:00:00"
  96188. },
  96189. "voucher_id" : {
  96190. "type" : "string",
  96191. "description" : "凭证ID",
  96192. "example" : "2020123100152601930000003650"
  96193. },
  96194. "voucher_no" : {
  96195. "type" : "string",
  96196. "description" : "一类凭证,唯一号码,有必须传,没有可不传。\t发票、账单必须有\t如部分餐饮小票,没有唯一号",
  96197. "example" : "2020123100152601930000003650"
  96198. },
  96199. "voucher_state" : {
  96200. "type" : "string",
  96201. "description" : "凭证状态(0-无效,1 有效)",
  96202. "example" : "0"
  96203. },
  96204. "voucher_type" : {
  96205. "type" : "string",
  96206. "description" : "凭证类型\t(FINANCIAL_BILLS-财政电子票\tMEDICAL_INVOICE-医疗票据\tDONATION_INVOICE-公益捐赠电子票据\tSETTLEMENT_INVOICE-往来结算票据\tDUES_INVOICE-社会团体会费收据\tINVOICE-增值税票\tPLAIN-增值税电子普通发票\tSPECIAL-增值税专用发票\tPLAIN_INVOICE-增值税普通发票\tPAPER_INVOICE-增值税普通发票(卷式)\tCONSUME-账单\tALIPAY_CONSUME-支付宝账单\tTRAVEL-出行凭证\tTAXI-出租车票\tBUS_TICKET-汽车票\tTRAIN-火车票\tTOLL-过路费\tBOARD_PASS-登机牌\tHTL_ORDER-酒店水单\tMEMO-酒店水单\tOTHERS-杂票\tFIXED-定额发票\tLIST-小票\tCOMMON_INVOICE-通用发票)",
  96207. "example" : "INVOICE"
  96208. }
  96209. }
  96210. },
  96211. "ExtCardInfo" : {
  96212. "type" : "object",
  96213. "properties" : {
  96214. "bank_acc_name" : {
  96215. "type" : "string",
  96216. "description" : "记账的外卡户名"
  96217. },
  96218. "card_bank" : {
  96219. "type" : "string",
  96220. "description" : "记账的外卡开户行"
  96221. },
  96222. "card_branch" : {
  96223. "type" : "string",
  96224. "description" : "记账的外卡支行"
  96225. },
  96226. "card_deposit" : {
  96227. "type" : "string",
  96228. "description" : "记账的外卡联行号"
  96229. },
  96230. "card_location" : {
  96231. "type" : "string",
  96232. "description" : "记账的外卡开户地址"
  96233. },
  96234. "card_no" : {
  96235. "type" : "string",
  96236. "description" : "记账的外卡卡号"
  96237. },
  96238. "status" : {
  96239. "type" : "string",
  96240. "description" : "记账的外卡状态,\tA:正常状态; \t其他:异常"
  96241. }
  96242. }
  96243. },
  96244. "ExtTemplateConf" : {
  96245. "type" : "object",
  96246. "properties" : {
  96247. "buyer_id" : {
  96248. "type" : "string",
  96249. "description" : "淘宝uid",
  96250. "example" : "11212321121"
  96251. },
  96252. "xxhm_info_id" : {
  96253. "type" : "string",
  96254. "description" : "先享后买id",
  96255. "example" : "687542"
  96256. }
  96257. }
  96258. },
  96259. "ExtUserInfo" : {
  96260. "type" : "object",
  96261. "properties" : {
  96262. "cert_no" : {
  96263. "type" : "string",
  96264. "description" : "买家证件号。\t注:need_check_info=T或fix_buyer=T时该参数才有效,支付宝会比较买家在支付宝留存的证件号码与该参数传入的值是否匹配。"
  96265. },
  96266. "cert_type" : {
  96267. "type" : "string",
  96268. "description" : "指定买家证件类型。\t枚举值:\tIDENTITY_CARD:身份证;\tPASSPORT:护照;\tOFFICER_CARD:军官证;\tSOLDIER_CARD:士兵证;\tHOKOU:户口本。如有其它类型需要支持,请与蚂蚁金服工作人员联系。\t注: need_check_info=T或fix_buyer=T时该参数才有效,支付宝会比较买家在支付宝留存的证件类型与该参数传入的值是否匹配。"
  96269. },
  96270. "fix_buyer" : {
  96271. "type" : "string",
  96272. "description" : "是否强制校验买家身份。\t需要强制校验传:T;\t不需要强制校验传:F或者不传;\t当传T时,接口上必须指定cert_type、cert_no和name信息且支付宝会校验传入的信息跟支付买家的信息都匹配,否则报错。\t默认为不校验。"
  96273. },
  96274. "identity_hash" : {
  96275. "type" : "string",
  96276. "description" : "买家加密身份信息。当指定了此参数且指定need_check_info=T时,支付宝会对买家身份进行校验,校验逻辑为买家姓名、买家证件号拼接后的字符串,以sha256算法utf-8编码计算hash,若与传入的值不匹配则会拦截本次支付。注意:如果同时指定了用户明文身份信息(name,cert_type,cert_no中任意一个),则忽略identity_hash以明文参数校验。"
  96277. },
  96278. "min_age" : {
  96279. "type" : "string",
  96280. "description" : "允许的最小买家年龄。\t买家年龄必须大于等于所传数值 \t注:\t1. need_check_info=T时该参数才有效\t2. min_age为整数,必须大于等于0"
  96281. },
  96282. "mobile" : {
  96283. "type" : "string",
  96284. "description" : "指定买家手机号。\t注:该参数暂不校验"
  96285. },
  96286. "name" : {
  96287. "type" : "string",
  96288. "description" : "指定买家姓名。\t注: need_check_info=T或fix_buyer=T时该参数才有效"
  96289. },
  96290. "need_check_info" : {
  96291. "type" : "string",
  96292. "description" : "是否强制校验买家信息;\t需要强制校验传:T;\t不需要强制校验传:F或者不传;\t当传T时,支付宝会校验支付买家的信息与接口上传递的cert_type、cert_no、name或age是否匹配,只有接口传递了信息才会进行对应项的校验;只要有任何一项信息校验不匹配交易都会失败。如果传递了need_check_info,但是没有传任何校验项,则不进行任何校验。\t默认为不校验。"
  96293. }
  96294. }
  96295. },
  96296. "ExtendParams" : {
  96297. "type" : "object",
  96298. "properties" : {
  96299. "card_type" : {
  96300. "type" : "string",
  96301. "description" : "卡类型"
  96302. },
  96303. "hb_fq_num" : {
  96304. "type" : "string",
  96305. "description" : "使用花呗分期要进行的分期数"
  96306. },
  96307. "hb_fq_seller_percent" : {
  96308. "type" : "string",
  96309. "description" : "使用花呗分期需要卖家承担的手续费比例的百分值,传入100代表100%"
  96310. },
  96311. "industry_reflux_info" : {
  96312. "type" : "string",
  96313. "description" : "行业数据回流信息, 详见:地铁支付接口参数补充说明"
  96314. },
  96315. "royalty_freeze" : {
  96316. "type" : "string",
  96317. "description" : "是否进行资金冻结,用于后续分账,true表示资金冻结,false或不传表示资金不冻结"
  96318. },
  96319. "specified_seller_name" : {
  96320. "type" : "string",
  96321. "description" : "特殊场景下,允许商户指定交易展示的卖家名称"
  96322. },
  96323. "sys_service_provider_id" : {
  96324. "type" : "string",
  96325. "description" : "系统商编号\r\t该参数作为系统商返佣数据提取的依据,请填写系统商签约协议的PID"
  96326. }
  96327. }
  96328. },
  96329. "ExtensionArea" : {
  96330. "type" : "object",
  96331. "properties" : {
  96332. "goto_url" : {
  96333. "type" : "string",
  96334. "description" : "跳转链接,当type为\"image\"时必传,必须是https或alipays开头的url链接。已废弃"
  96335. },
  96336. "height" : {
  96337. "type" : "integer",
  96338. "description" : "扩展区高度,当type值为\"h5\"时必填,取值范围为200-500的整数"
  96339. },
  96340. "name" : {
  96341. "type" : "string",
  96342. "description" : "扩展区名字"
  96343. },
  96344. "type" : {
  96345. "type" : "string",
  96346. "description" : "扩展区类型,当前支持的值为h5,表示扩展区内容类型为h5。"
  96347. },
  96348. "url" : {
  96349. "type" : "string",
  96350. "description" : "扩展区url,传入h5页面url,必须是https开头的链接"
  96351. }
  96352. }
  96353. },
  96354. "ExtraParams" : {
  96355. "type" : "object",
  96356. "properties" : {
  96357. "period" : {
  96358. "type" : "string",
  96359. "description" : "轻会员场景下协议结算周期,由协议生效日期到失效日期拼接(yyyyMMddHHmmss-yyyyMMddHHmmss),精确到秒。",
  96360. "example" : "20181223235059-20181230235010"
  96361. },
  96362. "period_summary_info" : {
  96363. "type" : "string",
  96364. "description" : "轻会员费用结算原始信息。详细字段说明:total_real_pay_amount轻会员周期内累计支付宝支付金额, total_pay_count轻会员周期内累计支付宝支付次数,total_discount_amount轻会员周期内累计享受的轻会员优惠。(上面金额字段单位为元,精确小数点后两位)",
  96365. "example" : "{\"total_real_pay_amount\":\"100.00\",\"total_pay_count\":\"4\",\"total_discount_amount\":\"2.31\"}"
  96366. },
  96367. "quit_type" : {
  96368. "type" : "string",
  96369. "description" : "用户主动意愿退出:USER_CANCEL_QUIT; 商户结算退出:SETTLE_APPLY_QUIT; 默认值为SETTLE_APPLY_QUIT;这个字段会影响用户在芝麻信用合约的状态",
  96370. "example" : "SETTLE_APPLY_QUIT"
  96371. },
  96372. "withhold_index" : {
  96373. "type" : "string",
  96374. "description" : "代扣期数,周期扣场景PERIOD_SETTLE下需要传递",
  96375. "example" : "2"
  96376. }
  96377. }
  96378. },
  96379. "FaceExtInfo" : {
  96380. "type" : "object",
  96381. "properties" : {
  96382. "max_age" : {
  96383. "type" : "string",
  96384. "description" : "年龄区间判断的上限,闭区间",
  96385. "example" : "30"
  96386. },
  96387. "min_age" : {
  96388. "type" : "string",
  96389. "description" : "年龄区间判断的下限,闭区间",
  96390. "example" : "10"
  96391. },
  96392. "query_type" : {
  96393. "type" : "string",
  96394. "description" : "query_type不填, 返回uid\r\tquery_type=1, 返回手机号\r\tquery_type=2, 返回图片",
  96395. "example" : "1;2;3等"
  96396. }
  96397. }
  96398. },
  96399. "FaceExtParams" : {
  96400. "type" : "object",
  96401. "properties" : {
  96402. "biz_type" : {
  96403. "type" : "string",
  96404. "description" : "业务类型:7,基于1:N人脸搜索的刷脸支付场景;8,基于姓名和身份证号的刷脸支付场景。",
  96405. "example" : "1"
  96406. }
  96407. }
  96408. },
  96409. "FaceMachineInfo" : {
  96410. "type" : "object",
  96411. "properties" : {
  96412. "camera_drive_ver" : {
  96413. "type" : "string",
  96414. "description" : "摄像头驱动版本号",
  96415. "example" : "1.0"
  96416. },
  96417. "camera_model" : {
  96418. "type" : "string",
  96419. "description" : "摄像头型号",
  96420. "example" : "AstraP1"
  96421. },
  96422. "camera_name" : {
  96423. "type" : "string",
  96424. "description" : "摄像头名称",
  96425. "example" : "AstraP1"
  96426. },
  96427. "camera_ver" : {
  96428. "type" : "string",
  96429. "description" : "摄像头版本号",
  96430. "example" : "1.0"
  96431. },
  96432. "ext" : {
  96433. "type" : "string",
  96434. "description" : "扩展信息",
  96435. "example" : "扩展信息"
  96436. },
  96437. "machine_code" : {
  96438. "type" : "string",
  96439. "description" : "机具编码",
  96440. "example" : "WyDAz27pfsEDANGk7QnmxZlv"
  96441. },
  96442. "machine_model" : {
  96443. "type" : "string",
  96444. "description" : "机具型号",
  96445. "example" : "T2"
  96446. },
  96447. "machine_ver" : {
  96448. "type" : "string",
  96449. "description" : "机具版本号",
  96450. "example" : "7.1.1"
  96451. }
  96452. }
  96453. },
  96454. "FaceMerchantInfo" : {
  96455. "type" : "object",
  96456. "properties" : {
  96457. "area_code" : {
  96458. "type" : "string",
  96459. "description" : "区域编码",
  96460. "example" : "华中"
  96461. },
  96462. "brand_code" : {
  96463. "type" : "string",
  96464. "description" : "品牌编码",
  96465. "example" : "KFC"
  96466. },
  96467. "device_mac" : {
  96468. "type" : "string",
  96469. "description" : "机具Mac地址",
  96470. "example" : "1c:aa:07:b0:e7:af"
  96471. },
  96472. "device_num" : {
  96473. "type" : "string",
  96474. "description" : "机具编码",
  96475. "example" : "TEST_ZOLOZ_TEST"
  96476. },
  96477. "geo" : {
  96478. "type" : "string",
  96479. "description" : "经纬度",
  96480. "example" : "120.10785,30.26708"
  96481. },
  96482. "group" : {
  96483. "type" : "string",
  96484. "description" : "机具分组编码",
  96485. "example" : "group1"
  96486. },
  96487. "merchant_id" : {
  96488. "type" : "string",
  96489. "description" : "商户ID",
  96490. "example" : "2088302068579978"
  96491. },
  96492. "partner_id" : {
  96493. "type" : "string",
  96494. "description" : "ISV ID",
  96495. "example" : "2088302068579978"
  96496. },
  96497. "store_code" : {
  96498. "type" : "string",
  96499. "description" : "球房编码",
  96500. "example" : "TEST"
  96501. },
  96502. "wifimac" : {
  96503. "type" : "string",
  96504. "description" : "WI-FI Mac地址",
  96505. "example" : "1c:aa:07:b0:e7:af"
  96506. },
  96507. "wifiname" : {
  96508. "type" : "string",
  96509. "description" : "WI-FI 名称",
  96510. "example" : "Alipay-Test"
  96511. }
  96512. }
  96513. },
  96514. "FailVoucherCodeDetail" : {
  96515. "type" : "object",
  96516. "properties" : {
  96517. "error_code" : {
  96518. "type" : "string",
  96519. "description" : "券码导入失败错误码",
  96520. "example" : "VOUCHER_CODE_DUPLICATE"
  96521. },
  96522. "error_msg" : {
  96523. "type" : "string",
  96524. "description" : "券码导入失败错误原因描述",
  96525. "example" : "与之前导入的券码重复"
  96526. },
  96527. "voucher_code" : {
  96528. "type" : "string",
  96529. "description" : "券码",
  96530. "example" : "789CE"
  96531. }
  96532. }
  96533. },
  96534. "FileUploadExtraParam" : {
  96535. "type" : "object",
  96536. "properties" : {
  96537. "extern_upload" : {
  96538. "type" : "string",
  96539. "description" : "是否同步上传到其他平台。素材类型为视频且需要同步优酷,请必传入参数youku,素材接口将代上传到优酷账号;素材类型为图片,无需传入参数",
  96540. "example" : "youku"
  96541. },
  96542. "file_encrypt_type" : {
  96543. "type" : "string",
  96544. "description" : "文件加密类型,可选值:NO_ENCRYPT(不加密),CLIENT_DECRYPT(afts服务器加密,客户端解密),AFTS_SERVER(afts服务器端自动加解密),OSS_DECRYPT(使用oss存储加解密),AFTS_SERVER_STANDRAD(afts服务器自动加解密标准版,与AFTS_SERVER的差别在于秘钥使用方式不同)",
  96545. "example" : "NO_ENCRYPT"
  96546. }
  96547. }
  96548. },
  96549. "FillContent" : {
  96550. "type" : "object",
  96551. "properties" : {
  96552. "struct_key" : {
  96553. "type" : "string",
  96554. "description" : "模板组件自定义key"
  96555. },
  96556. "value" : {
  96557. "type" : "string",
  96558. "description" : "模板值,该值长度取决于配置模板时该字段的限制"
  96559. }
  96560. }
  96561. },
  96562. "Filter" : {
  96563. "type" : "object",
  96564. "properties" : {
  96565. "context" : {
  96566. "$ref" : "#/components/schemas/LabelContext"
  96567. },
  96568. "template" : {
  96569. "type" : "string",
  96570. "description" : "过滤器模板,${a}是一个变量,会被context参数中的a参数替换,从而展开为最终的表达式,template最多支持两个参数,支持and及or连接符。\r\tand:同时满足条件;\r\tor:只需满足其中一个条件",
  96571. "example" : "${a}"
  96572. }
  96573. }
  96574. },
  96575. "FixVoucher" : {
  96576. "type" : "object",
  96577. "properties" : {
  96578. "amount" : {
  96579. "type" : "string",
  96580. "description" : "面额,每张代金券可以抵扣的金额。"
  96581. },
  96582. "floor_amount" : {
  96583. "type" : "string",
  96584. "description" : "门槛金额。该字段不填写,认为无门槛。"
  96585. },
  96586. "goods_name" : {
  96587. "type" : "string",
  96588. "description" : "商品名称。"
  96589. }
  96590. }
  96591. },
  96592. "FixVoucherInfo" : {
  96593. "type" : "object",
  96594. "properties" : {
  96595. "amount" : {
  96596. "type" : "string",
  96597. "description" : "面额,每张代金券可以抵扣的金额。"
  96598. },
  96599. "floor_amount" : {
  96600. "type" : "string",
  96601. "description" : "门槛金额。该字段不填写,认为无门槛。"
  96602. },
  96603. "voucher_deduct_threshold_info" : {
  96604. "$ref" : "#/components/schemas/VoucherDeductThresholdInfo"
  96605. }
  96606. }
  96607. },
  96608. "FlowSigner" : {
  96609. "type" : "object",
  96610. "properties" : {
  96611. "org_third_party_user_id" : {
  96612. "type" : "string",
  96613. "description" : "创建流程时指定的企业唯一标识,仅签署主体为企业时返回",
  96614. "example" : "tgxxteck"
  96615. },
  96616. "sign_status" : {
  96617. "type" : "integer",
  96618. "description" : "签署状态:0-待签, 1-未签, 2-已签 3-待审批 4-拒签",
  96619. "example" : "1"
  96620. },
  96621. "signer_account_type" : {
  96622. "type" : "integer",
  96623. "description" : "签署主体类型:0-个人, 1-企业",
  96624. "example" : "1"
  96625. },
  96626. "third_party_user_id" : {
  96627. "type" : "string",
  96628. "description" : "创建流程时指定个人唯一标识",
  96629. "example" : "234440881029245"
  96630. }
  96631. }
  96632. },
  96633. "ForbbidenTime" : {
  96634. "type" : "object",
  96635. "properties" : {
  96636. "days" : {
  96637. "type" : "string",
  96638. "description" : "不可用日期区间,仅支持到天\r\t不可用区间起止日期用逗号分隔,多个区间之间用^分隔\r\t如\"2016-05-01,2016-05-03^2016-10-01,2016-10-07\"表示2016年5月1日至5月3日,10月1日至10月7日券不可用",
  96639. "example" : "2016-03-03,2016-03-08^2016-10-01,2016-10-01"
  96640. }
  96641. }
  96642. },
  96643. "Function" : {
  96644. "type" : "object",
  96645. "properties" : {
  96646. "id" : {
  96647. "type" : "string",
  96648. "description" : "功能点id",
  96649. "example" : "12"
  96650. },
  96651. "name" : {
  96652. "type" : "string",
  96653. "description" : "功能点名称",
  96654. "example" : "流程-处理"
  96655. }
  96656. }
  96657. },
  96658. "FunctionalService" : {
  96659. "type" : "object",
  96660. "properties" : {
  96661. "content" : {
  96662. "type" : "string",
  96663. "description" : "功能内容"
  96664. },
  96665. "ext_info" : {
  96666. "type" : "array",
  96667. "description" : "扩展信息",
  96668. "items" : {
  96669. "$ref" : "#/components/schemas/OrderExtInfo"
  96670. }
  96671. },
  96672. "function_code" : {
  96673. "type" : "string",
  96674. "description" : "功能码\t支持的功能码请与产品或对应技术确认"
  96675. },
  96676. "function_name" : {
  96677. "type" : "string",
  96678. "description" : "功能名称"
  96679. },
  96680. "function_type" : {
  96681. "type" : "string",
  96682. "description" : "功能类型"
  96683. },
  96684. "function_url" : {
  96685. "type" : "string",
  96686. "description" : "功能入口"
  96687. },
  96688. "memo" : {
  96689. "type" : "string",
  96690. "description" : "备注信息"
  96691. }
  96692. }
  96693. },
  96694. "FundExtInfo" : {
  96695. "type" : "object",
  96696. "properties" : {
  96697. "fund_identity" : {
  96698. "type" : "string",
  96699. "description" : "出资主体账号,fund_identity_type是ALIPAY_USER_ID填支付宝会员ID(2088开头);\t是ALIPAY_LOGON_ID 填支付宝登录号"
  96700. },
  96701. "fund_identity_type" : {
  96702. "type" : "string",
  96703. "description" : "出资主体账号类型,目前支持如下类型: 1、ALIPAY_USER_ID 支付宝的会员ID 2、ALIPAY_LOGON_ID:支付宝登录号,支持邮箱和手机号格式"
  96704. }
  96705. }
  96706. },
  96707. "Gavintest" : {
  96708. "type" : "object",
  96709. "properties" : {
  96710. "newid" : {
  96711. "type" : "integer",
  96712. "description" : "测试",
  96713. "example" : "1"
  96714. }
  96715. }
  96716. },
  96717. "GavintestNewLeveaOne" : {
  96718. "type" : "object",
  96719. "properties" : {
  96720. "boolen" : {
  96721. "type" : "boolean",
  96722. "description" : "2"
  96723. },
  96724. "ces" : {
  96725. "type" : "array",
  96726. "description" : "21",
  96727. "items" : {
  96728. "type" : "integer"
  96729. }
  96730. },
  96731. "des" : {
  96732. "type" : "string",
  96733. "description" : "12"
  96734. },
  96735. "str" : {
  96736. "type" : "array",
  96737. "description" : "1",
  96738. "items" : {
  96739. "type" : "string"
  96740. }
  96741. }
  96742. }
  96743. },
  96744. "GavintestNewonline" : {
  96745. "type" : "object",
  96746. "properties" : {
  96747. "dem" : {
  96748. "type" : "array",
  96749. "description" : "1",
  96750. "items" : {
  96751. "type" : "string"
  96752. },
  96753. "example" : "21"
  96754. },
  96755. "string" : {
  96756. "$ref" : "#/components/schemas/GavintestNewLeveaOne"
  96757. }
  96758. }
  96759. },
  96760. "GoodsDetail" : {
  96761. "type" : "object",
  96762. "properties" : {
  96763. "alipay_goods_id" : {
  96764. "type" : "string",
  96765. "description" : "支付宝定义的统一商品编号"
  96766. },
  96767. "body" : {
  96768. "type" : "string",
  96769. "description" : "商品描述信息"
  96770. },
  96771. "categories_tree" : {
  96772. "type" : "string",
  96773. "description" : "商品类目树,从商品类目根节点到叶子节点的类目id组成,类目id值使用|分割"
  96774. },
  96775. "goods_category" : {
  96776. "type" : "string",
  96777. "description" : "商品类目"
  96778. },
  96779. "goods_id" : {
  96780. "type" : "string",
  96781. "description" : "商品的编号"
  96782. },
  96783. "goods_name" : {
  96784. "type" : "string",
  96785. "description" : "商品名称"
  96786. },
  96787. "price" : {
  96788. "type" : "string",
  96789. "description" : "商品单价,单位为元"
  96790. },
  96791. "quantity" : {
  96792. "type" : "integer",
  96793. "description" : "商品数量,支持小数,精确到小数点后两位"
  96794. },
  96795. "show_url" : {
  96796. "type" : "string",
  96797. "description" : "商品的展示地址"
  96798. }
  96799. }
  96800. },
  96801. "GoodsDetailDTO" : {
  96802. "type" : "object",
  96803. "properties" : {
  96804. "goods_id" : {
  96805. "type" : "string",
  96806. "description" : "商品编号",
  96807. "example" : "apple-01"
  96808. },
  96809. "goods_name" : {
  96810. "type" : "string",
  96811. "description" : "商品名称",
  96812. "example" : "ipad"
  96813. },
  96814. "price" : {
  96815. "type" : "string",
  96816. "description" : "商品单价。单位 元\t\t精确到小数点后2位。",
  96817. "example" : "2000.00"
  96818. },
  96819. "quantity" : {
  96820. "type" : "integer",
  96821. "description" : "商品数量",
  96822. "example" : "1"
  96823. }
  96824. }
  96825. },
  96826. "GoodsDetailIstd" : {
  96827. "type" : "object",
  96828. "properties" : {
  96829. "count" : {
  96830. "type" : "integer",
  96831. "description" : "商品数量"
  96832. },
  96833. "name" : {
  96834. "type" : "string",
  96835. "description" : "商品名称"
  96836. },
  96837. "price" : {
  96838. "type" : "string",
  96839. "description" : "商品单价"
  96840. },
  96841. "unit" : {
  96842. "type" : "string",
  96843. "description" : "商品单位"
  96844. }
  96845. }
  96846. },
  96847. "GoodsInfo" : {
  96848. "type" : "object",
  96849. "properties" : {
  96850. "goods_category" : {
  96851. "type" : "string",
  96852. "description" : "商品类目",
  96853. "example" : "201701000"
  96854. },
  96855. "goods_id" : {
  96856. "type" : "string",
  96857. "description" : "商户自定义商品外部编号",
  96858. "example" : "apple-01"
  96859. },
  96860. "goods_name" : {
  96861. "type" : "string",
  96862. "description" : "商户自定义商品名称",
  96863. "example" : "苹果手机"
  96864. },
  96865. "price" : {
  96866. "type" : "string",
  96867. "description" : "商品单价,单位元,精确到小数点后两位,取值范围[0.01,100000000]",
  96868. "example" : "10.00"
  96869. },
  96870. "quantity" : {
  96871. "type" : "string",
  96872. "description" : "商品数量,支持小数,但是小数位不能超过两位",
  96873. "example" : "2"
  96874. }
  96875. }
  96876. },
  96877. "GoodsInfoDTO" : {
  96878. "type" : "object",
  96879. "properties" : {
  96880. "goods_amount" : {
  96881. "type" : "string",
  96882. "description" : "商品金额",
  96883. "example" : "52.10"
  96884. },
  96885. "goods_count" : {
  96886. "type" : "string",
  96887. "description" : "商品购买数量",
  96888. "example" : "3"
  96889. },
  96890. "goods_id" : {
  96891. "type" : "string",
  96892. "description" : "商品标准69码",
  96893. "example" : "69212"
  96894. },
  96895. "goods_name" : {
  96896. "type" : "string",
  96897. "description" : "商品名称",
  96898. "example" : "元气森林"
  96899. }
  96900. }
  96901. },
  96902. "GoodsInfoIstd" : {
  96903. "type" : "object",
  96904. "properties" : {
  96905. "delivery_info" : {
  96906. "type" : "string",
  96907. "description" : "交货信息,用于骑手交付商品"
  96908. },
  96909. "first_class" : {
  96910. "type" : "string",
  96911. "description" : "一级品类类目"
  96912. },
  96913. "height" : {
  96914. "type" : "integer",
  96915. "description" : "商品高度,单位为cm"
  96916. },
  96917. "length" : {
  96918. "type" : "integer",
  96919. "description" : "商品长度,单位为cm"
  96920. },
  96921. "pickup_info" : {
  96922. "type" : "string",
  96923. "description" : "取货信息,用于骑手到店取货"
  96924. },
  96925. "price" : {
  96926. "type" : "string",
  96927. "description" : "总价"
  96928. },
  96929. "second_class" : {
  96930. "type" : "string",
  96931. "description" : "二级品类类目"
  96932. },
  96933. "weight" : {
  96934. "type" : "string",
  96935. "description" : "货物重量,单位为kg,精确到小数点后两位"
  96936. },
  96937. "width" : {
  96938. "type" : "integer",
  96939. "description" : "商品宽度,单位为cm"
  96940. }
  96941. }
  96942. },
  96943. "GoodsOrder" : {
  96944. "type" : "object",
  96945. "properties" : {
  96946. "goods_name" : {
  96947. "type" : "string",
  96948. "description" : "商品名称",
  96949. "example" : "校园卡"
  96950. },
  96951. "goods_picture_id" : {
  96952. "type" : "string",
  96953. "description" : "商品图片素材Id;商品文件上传接口返回material_id。不传则暂时默认约定图片,具体可以咨询支付宝行业小二",
  96954. "example" : "2019010100502200000000000001"
  96955. }
  96956. }
  96957. },
  96958. "GoodsQueryResponse" : {
  96959. "type" : "object",
  96960. "properties" : {
  96961. "alipay_goods_id" : {
  96962. "type" : "string",
  96963. "description" : "支付宝内部商品唯一标识",
  96964. "example" : "2022090400014220"
  96965. },
  96966. "buying_url" : {
  96967. "type" : "string",
  96968. "description" : "该商品的小程序购买链接",
  96969. "example" : "alipays://platformapi/startapp?appId= 2017072607907880&page=pages/index/index?param=xxxx"
  96970. },
  96971. "goods_comment" : {
  96972. "type" : "string",
  96973. "description" : "商品辅助说明文案",
  96974. "example" : "这是一个商品辅助说明文案"
  96975. },
  96976. "goods_description_label" : {
  96977. "type" : "string",
  96978. "description" : "商品说明标签(如-随心退)",
  96979. "example" : "随心退"
  96980. },
  96981. "goods_id" : {
  96982. "type" : "string",
  96983. "description" : "商品的唯一标识,同一个小部件下,该标识唯一,请开发者自行保证",
  96984. "example" : "8948968498"
  96985. },
  96986. "goods_label" : {
  96987. "type" : "string",
  96988. "description" : "营销标签(如-限量特价),每个商品仅支持一个营销标签",
  96989. "example" : "限量特价"
  96990. },
  96991. "goods_name" : {
  96992. "type" : "string",
  96993. "description" : "商品名称",
  96994. "example" : "这是一个商品名称"
  96995. },
  96996. "goods_type" : {
  96997. "type" : "string",
  96998. "description" : "商品所属品类",
  96999. "example" : "服装"
  97000. },
  97001. "main_pic_url" : {
  97002. "type" : "string",
  97003. "description" : "商品主图片地址",
  97004. "example" : "https://xxx.xxx.com/xxx.jpg"
  97005. },
  97006. "mini_app_id" : {
  97007. "type" : "string",
  97008. "description" : "小程序ID",
  97009. "example" : "2017072607907880"
  97010. },
  97011. "order_number" : {
  97012. "type" : "string",
  97013. "description" : "商品排序,自然整数, 数字越小越靠前",
  97014. "example" : "1"
  97015. },
  97016. "original_price" : {
  97017. "type" : "string",
  97018. "description" : "单位\"元\"的商品原价,传入数字,不需要传入\"元\"",
  97019. "example" : "88.88"
  97020. },
  97021. "pid" : {
  97022. "type" : "string",
  97023. "description" : "品的售卖商家,即承接该品的小程序背后的商家。和mini_app_id要求对应",
  97024. "example" : "2088xxxxxxxxx"
  97025. },
  97026. "publish_cities" : {
  97027. "type" : "string",
  97028. "description" : "投放城市的列表,详见https://www.mca.gov.cn/article/sj/xzqh/2020/2020/202007170301.html,有多个用英文,分隔。如果没有限制则不传入",
  97029. "example" : "110000"
  97030. },
  97031. "remaining_quantity" : {
  97032. "type" : "integer",
  97033. "description" : "剩余库存",
  97034. "example" : "999"
  97035. },
  97036. "sell_price" : {
  97037. "type" : "string",
  97038. "description" : "单位\"元\"的售价,传入数字,不需要传入\"元\"",
  97039. "example" : "66.66"
  97040. },
  97041. "sold_quantity" : {
  97042. "type" : "integer",
  97043. "description" : "已售数量",
  97044. "example" : "1"
  97045. },
  97046. "total_quantity" : {
  97047. "type" : "string",
  97048. "description" : "总库存量",
  97049. "example" : "1000"
  97050. }
  97051. }
  97052. },
  97053. "HSchoolInfo" : {
  97054. "type" : "object",
  97055. "properties" : {
  97056. "campus_no" : {
  97057. "type" : "string",
  97058. "description" : "学号",
  97059. "example" : "2019021208"
  97060. },
  97061. "school_std_code" : {
  97062. "type" : "string",
  97063. "description" : "学校外标",
  97064. "example" : "4136013432"
  97065. }
  97066. }
  97067. },
  97068. "HbFqPayInfo" : {
  97069. "type" : "object",
  97070. "properties" : {
  97071. "fq_amount" : {
  97072. "type" : "string",
  97073. "description" : "用户使用花呗分期支付的金额数。单位:元。",
  97074. "example" : "10.05"
  97075. },
  97076. "user_install_num" : {
  97077. "type" : "string",
  97078. "description" : "用户使用花呗分期支付的分期数",
  97079. "example" : "3"
  97080. }
  97081. }
  97082. },
  97083. "HolidayRuleInfo" : {
  97084. "type" : "object",
  97085. "properties" : {
  97086. "time_range_info" : {
  97087. "$ref" : "#/components/schemas/TimeRangeInfo"
  97088. }
  97089. }
  97090. },
  97091. "IdentityVerifiedInfoDTO" : {
  97092. "type" : "object",
  97093. "properties" : {
  97094. "cert_no" : {
  97095. "type" : "string",
  97096. "description" : "MD5加密处理后的证件号",
  97097. "example" : "D61DCDD393C885BBA0091B7B57A71208"
  97098. },
  97099. "cert_type" : {
  97100. "type" : "string",
  97101. "description" : "证件类型。暂仅支持 IDENTITY_CARD (身份证)",
  97102. "example" : "IDENTITY_CARD"
  97103. },
  97104. "user_name" : {
  97105. "type" : "string",
  97106. "description" : "用户的真实姓名",
  97107. "example" : "张三"
  97108. }
  97109. }
  97110. },
  97111. "Image" : {
  97112. "type" : "object",
  97113. "properties" : {
  97114. "url" : {
  97115. "type" : "string",
  97116. "description" : "图片url,请先调用alipay.offline.material.image.upload 图片上传接口获得图片url",
  97117. "example" : "http://example.com/abc.jpg"
  97118. }
  97119. }
  97120. },
  97121. "IndirectAuthOrderFailedReason" : {
  97122. "type" : "object",
  97123. "properties" : {
  97124. "fail_param" : {
  97125. "type" : "string",
  97126. "description" : "审核失败字段",
  97127. "example" : "support_credentials"
  97128. },
  97129. "fail_reason" : {
  97130. "type" : "string",
  97131. "description" : "描述申请单审核失败原因",
  97132. "example" : "证照编号对应的企业名称、法人名称与录入信息不一致"
  97133. }
  97134. }
  97135. },
  97136. "IndirectBenefitPersonInfo" : {
  97137. "type" : "object",
  97138. "properties" : {
  97139. "card_back_img" : {
  97140. "type" : "string",
  97141. "description" : "受益人证件反面照(使用图片上传接口的image_id)。当证件类型为身份证时,此字段必传;当证件类型为非身份证时,此字段非必传。",
  97142. "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
  97143. },
  97144. "card_front_img" : {
  97145. "type" : "string",
  97146. "description" : "受益人证件正面照(使用图片上传接口的image_id)",
  97147. "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
  97148. },
  97149. "card_no" : {
  97150. "type" : "string",
  97151. "description" : "证件号码",
  97152. "example" : "233330199001010001"
  97153. },
  97154. "card_type" : {
  97155. "type" : "string",
  97156. "description" : "证件类型,枚举值:中国大陆居民-身份证(RESIDENT)、其他国家或地区居民-护照(PASSPORT)、中国港澳居民-来往内地通行证(PASSPORT_HK_MO)、中国台湾居民-来往大陆通行证(PASSPORT_TWN)、港澳居民居住证(RESIDENCE_PERMIT_HM)、台湾居民居住证(RESIDENCE_PERMIT_TW)、外国人永久居住证(PERMANENT_RESIDENCE_FOREIGNER)。个体户/企业/事业单位/社会组织:可选择任一证件类型,政府机关、小微商户仅支持身份证类型。",
  97157. "example" : "RESIDENT"
  97158. },
  97159. "effect_time" : {
  97160. "type" : "string",
  97161. "description" : "证件生效时间",
  97162. "example" : "1999-01-01"
  97163. },
  97164. "expire_time" : {
  97165. "type" : "string",
  97166. "description" : "证件过期时间",
  97167. "example" : "2000-11-01,长期有效时传“forever”"
  97168. },
  97169. "person_name" : {
  97170. "type" : "string",
  97171. "description" : "受益人姓名",
  97172. "example" : "张三"
  97173. }
  97174. }
  97175. },
  97176. "IndirectCertificateInfo" : {
  97177. "type" : "object",
  97178. "properties" : {
  97179. "cert_image" : {
  97180. "type" : "string",
  97181. "description" : "证照图片(使用图片上传接口)",
  97182. "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
  97183. },
  97184. "cert_no" : {
  97185. "type" : "string",
  97186. "description" : "证件编号",
  97187. "example" : "0000001"
  97188. },
  97189. "cert_type" : {
  97190. "type" : "string",
  97191. "description" : "登记证书类型时必填,枚举:统一社会信用代码证书(UNIT_SOCIAL_CREDIT)、慈善组织公开募捐资格证书(CHARITY_ORG_SOLICIT),社会团体法人登记证书(SOCIAL_ORG_LEGAL),民办非企业单位登记证书(CIVIL_UN_ENT),基金会法人登记证书(FOUNDATION_LEGAL_PERSON),农民专业合作社法人营业执照(FARMERS_COOPERATE),宗教活动场所登记证(RELIGION_PLACES),其他证书/批文/证明(OTHER_REG_CERT)",
  97192. "example" : "SOCIAL_ORG_LEGAL"
  97193. },
  97194. "effect_time" : {
  97195. "type" : "string",
  97196. "description" : "证照生效时间",
  97197. "example" : "1999-01-01"
  97198. },
  97199. "expire_time" : {
  97200. "type" : "string",
  97201. "description" : "证照过期时间",
  97202. "example" : "2020-11-01,长期有效时传“forever”"
  97203. },
  97204. "legal_person_name" : {
  97205. "type" : "string",
  97206. "description" : "证照法人姓名",
  97207. "example" : "李四"
  97208. },
  97209. "merchant_name" : {
  97210. "type" : "string",
  97211. "description" : "证照商户名称",
  97212. "example" : "新新饭店"
  97213. },
  97214. "register_address" : {
  97215. "type" : "string",
  97216. "description" : "证照注册地址",
  97217. "example" : "浙江省杭州市西湖区xxx街道xxx门牌号"
  97218. }
  97219. }
  97220. },
  97221. "IndirectContactPersonInfo" : {
  97222. "type" : "object",
  97223. "properties" : {
  97224. "contact_card_no" : {
  97225. "type" : "string",
  97226. "description" : "联系人身份证件号。\t可传身份证、港澳居民来往内地通行证、港澳居民居住证、台湾居民来往大陆通行证、台湾居民居住证、护照、外国人永久居住证等证件号码,号码枚举见contact_card_type。若传身份证,需保证18位,且英文字母大写",
  97227. "example" : "233330199001010001"
  97228. },
  97229. "contact_cert_type" : {
  97230. "type" : "string",
  97231. "description" : "联系人证件类型,枚举值:中国大陆居民-身份证(RESIDENT)、其他国家或地区居民-护照(PASSPORT)、中国港澳居民-来往内地通行证(PASSPORT_HK_MO)、中国台湾居民-来往大陆通行证(PASSPORT_TWN)、港澳居民居住证(RESIDENCE_PERMIT_HM)、台湾居民居住证(RESIDENCE_PERMIT_TW)、外国人永久居住证(PERMANENT_RESIDENCE_FOREIGNER)。个体户/企业/事业单位/社会组织:可选择任一证件类型。小微商户仅支持身份证类型。",
  97232. "example" : "RESIDENT"
  97233. },
  97234. "contact_name" : {
  97235. "type" : "string",
  97236. "description" : "联系人姓名",
  97237. "example" : "张三"
  97238. },
  97239. "contact_phone_no" : {
  97240. "type" : "string",
  97241. "description" : "联系人手机",
  97242. "example" : "19999999999"
  97243. }
  97244. }
  97245. },
  97246. "IndirectExtraCredentials" : {
  97247. "type" : "object",
  97248. "properties" : {
  97249. "smid_list" : {
  97250. "type" : "array",
  97251. "description" : "待确认商户号列表,最多20个",
  97252. "items" : {
  97253. "type" : "string"
  97254. },
  97255. "example" : "[\"2088000000000001\"]"
  97256. }
  97257. }
  97258. },
  97259. "IndirectFinancialOrgInfo" : {
  97260. "type" : "object",
  97261. "properties" : {
  97262. "financial_org_cert_img" : {
  97263. "type" : "array",
  97264. "description" : "金融机构许可证图片,最多五张(使用图片上传接口)",
  97265. "items" : {
  97266. "type" : "string"
  97267. },
  97268. "example" : "[\"a5d373f6-3e79-405f-9993-fb7ea051c372.jpg\"]"
  97269. },
  97270. "financial_org_type" : {
  97271. "type" : "string",
  97272. "description" : "银行业(BANK)、支付机构(PAYMENT)、保险业(INSURANCE)、交易及结算类金融机构(SETTLE)、OTHER(OTHER)",
  97273. "example" : "PAYMENT"
  97274. }
  97275. }
  97276. },
  97277. "IndirectLegalPersonInfo" : {
  97278. "type" : "object",
  97279. "properties" : {
  97280. "auth_letter_img" : {
  97281. "type" : "string",
  97282. "description" : "授权函照片(使用图片上传接口),当证件持有人类型为 经办人时,必须上传。其他情况,无需上传",
  97283. "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
  97284. },
  97285. "card_back_img" : {
  97286. "type" : "string",
  97287. "description" : "法人/经营者证件反面照(使用图片上传接口的image_id)。当证件类型为身份证时,此字段必传;当证件类型为非身份证时,此字段非必传。",
  97288. "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
  97289. },
  97290. "card_front_img" : {
  97291. "type" : "string",
  97292. "description" : "法人/经营者证件正面照(使用图片上传接口返回的image_id)",
  97293. "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
  97294. },
  97295. "card_no" : {
  97296. "type" : "string",
  97297. "description" : "证件号码",
  97298. "example" : "233330199001010001"
  97299. },
  97300. "card_type" : {
  97301. "type" : "string",
  97302. "description" : "证件类型,枚举值:中国大陆居民-身份证(RESIDENT)、其他国家或地区居民-护照(PASSPORT)、中国港澳居民-来往内地通行证(PASSPORT_HK_MO)、中国台湾居民-来往大陆通行证(PASSPORT_TWN)、港澳居民居住证(RESIDENCE_PERMIT_HM)、台湾居民居住证(RESIDENCE_PERMIT_TW)、外国人永久居住证(PERMANENT_RESIDENCE_FOREIGNER)。个体户/企业/事业单位/社会组织:可选择任一证件类型,政府机关、小微商户仅支持身份证类型。",
  97303. "example" : "RESIDENT"
  97304. },
  97305. "effect_time" : {
  97306. "type" : "string",
  97307. "description" : "证件生效时间",
  97308. "example" : "1999-01-01"
  97309. },
  97310. "expire_time" : {
  97311. "type" : "string",
  97312. "description" : "证件过期时间",
  97313. "example" : "2000-11-01,长期有效时传“forever”"
  97314. },
  97315. "is_benefit_person" : {
  97316. "type" : "boolean",
  97317. "description" : "经营者/法人是否为受益人",
  97318. "example" : "true"
  97319. },
  97320. "legal_type" : {
  97321. "type" : "string",
  97322. "description" : "证件持有人类型:\t- 法人 LEGAL_PERSON\t- 经办人 AGENT_PERSON\t主体类型为政府机关、事业单位时选传:\t(1)若上传的是法人证件,则不需要上传该字段。\t(2)若因特殊情况,无法提供法人证件时,可上传经办人。\t主体类型为企业、个体户、社会组织、小微商户时,默认为经营者/法人,不需要上传该字段。",
  97323. "example" : "LEGAL_PERSON"
  97324. },
  97325. "person_name" : {
  97326. "type" : "string",
  97327. "description" : "法人姓名",
  97328. "example" : "李四"
  97329. }
  97330. }
  97331. },
  97332. "IndirectQualificationInfo" : {
  97333. "type" : "object",
  97334. "properties" : {
  97335. "image_list" : {
  97336. "type" : "array",
  97337. "description" : "行业经营许可证资质照片,一个行业类目下最多上传6张资质照片(使用图片上传接口)",
  97338. "items" : {
  97339. "type" : "string"
  97340. },
  97341. "example" : "[\"a5d373f6-3e79-405f-9993-fb7ea051c372.jpg\"]"
  97342. },
  97343. "mcc_code" : {
  97344. "type" : "string",
  97345. "description" : "行业类目编号,支付宝商家行业二级类目code",
  97346. "example" : "B0001"
  97347. }
  97348. }
  97349. },
  97350. "IndirectSupportCredentials" : {
  97351. "type" : "object",
  97352. "properties" : {
  97353. "city" : {
  97354. "type" : "string",
  97355. "description" : "球房城市",
  97356. "example" : "杭州市"
  97357. },
  97358. "city_code" : {
  97359. "type" : "string",
  97360. "description" : "球房市行政区号(数字)",
  97361. "example" : "3310303"
  97362. },
  97363. "district" : {
  97364. "type" : "string",
  97365. "description" : "球房街道",
  97366. "example" : "西湖区留下街道"
  97367. },
  97368. "district_code" : {
  97369. "type" : "string",
  97370. "description" : "球房街道区号(数字)",
  97371. "example" : "3301000"
  97372. },
  97373. "merchant_type" : {
  97374. "type" : "string",
  97375. "description" : "小微商户经营类型,枚举值:球房场所(STORE)、流动经营(STALL)",
  97376. "example" : "STORE"
  97377. },
  97378. "province" : {
  97379. "type" : "string",
  97380. "description" : "球房省份",
  97381. "example" : "浙江省"
  97382. },
  97383. "province_code" : {
  97384. "type" : "string",
  97385. "description" : "球房省行政区号(数字",
  97386. "example" : "330100"
  97387. },
  97388. "store_address" : {
  97389. "type" : "string",
  97390. "description" : "球房场所填写球房详细地址,流动经营类型填“无”",
  97391. "example" : "xxx街道xxx门牌号"
  97392. },
  97393. "store_door_img" : {
  97394. "type" : "string",
  97395. "description" : "球房门头照信息或摊位照(使用图片上传接口)",
  97396. "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
  97397. },
  97398. "store_inner_img" : {
  97399. "type" : "string",
  97400. "description" : "球房店内照片或者摊位照侧面(使用图片上传接口)",
  97401. "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
  97402. },
  97403. "store_name" : {
  97404. "type" : "string",
  97405. "description" : "球房名称",
  97406. "example" : "新新饭店"
  97407. }
  97408. }
  97409. },
  97410. "IndustryQualificationInfo" : {
  97411. "type" : "object",
  97412. "properties" : {
  97413. "industry_qualification_image" : {
  97414. "type" : "string",
  97415. "description" : "商户行业资质图片。其值为使用ant.merchant.expand.indirect.image.upload上传图片得到的一串oss key"
  97416. },
  97417. "industry_qualification_type" : {
  97418. "type" : "string",
  97419. "description" : "商户行业资质类型,具体选值参见,进件MCC与资质要求 202212.xlsx中特殊资质栏"
  97420. }
  97421. }
  97422. },
  97423. "Instance" : {
  97424. "type" : "object",
  97425. "properties" : {
  97426. "create_time" : {
  97427. "type" : "string",
  97428. "description" : "?创建时间",
  97429. "example" : "2020-11-10 21:07:00"
  97430. },
  97431. "creator_id" : {
  97432. "type" : "string",
  97433. "description" : "创建人id",
  97434. "example" : "2018051101015016"
  97435. },
  97436. "description" : {
  97437. "type" : "string",
  97438. "description" : "部门描述",
  97439. "example" : "我是描述信息"
  97440. },
  97441. "external_id" : {
  97442. "type" : "string",
  97443. "description" : "外部id",
  97444. "example" : "939459821"
  97445. },
  97446. "id" : {
  97447. "type" : "string",
  97448. "description" : "部门id(即租户实例ID、数据权限ID)",
  97449. "example" : "pYv_gs0m"
  97450. },
  97451. "name" : {
  97452. "type" : "string",
  97453. "description" : "租户实例(数据权限)名称",
  97454. "example" : "XXX租户实例"
  97455. },
  97456. "status" : {
  97457. "type" : "string",
  97458. "description" : "租户实例(数据权限)状态,所有可能的状态如下:INIT(初始化)、STARTED(准备完成)、START_FAILED(准备失败)、STOPPING(停用中)、STOPPED(已停用)、RELEASING(释放中)、RELEASED(已释放)、RESUMING(重新启动)、MODIFING(修改规格中)、DELETED(已删除)。",
  97459. "example" : "STARTED"
  97460. },
  97461. "update_time" : {
  97462. "type" : "string",
  97463. "description" : "最后修改时间",
  97464. "example" : "2020-11-10 21:11:00"
  97465. },
  97466. "updater_id" : {
  97467. "type" : "string",
  97468. "description" : "最后修改人id",
  97469. "example" : "2018051101015016"
  97470. }
  97471. }
  97472. },
  97473. "InstitutionBasicInfo" : {
  97474. "type" : "object",
  97475. "properties" : {
  97476. "consult_mode" : {
  97477. "type" : "string",
  97478. "description" : "费控咨询模式",
  97479. "example" : "0"
  97480. },
  97481. "effective" : {
  97482. "type" : "string",
  97483. "description" : "制度是否启用",
  97484. "example" : "1"
  97485. },
  97486. "effective_end_date" : {
  97487. "type" : "string",
  97488. "description" : "制度生效结束时间",
  97489. "example" : "2023-07-05 23:59:59"
  97490. },
  97491. "effective_start_date" : {
  97492. "type" : "string",
  97493. "description" : "制度生效起始时间",
  97494. "example" : "2022-07-04 00:00:00"
  97495. },
  97496. "institution_desc" : {
  97497. "type" : "string",
  97498. "description" : "制度描述",
  97499. "example" : "工作餐制度"
  97500. },
  97501. "institution_id" : {
  97502. "type" : "string",
  97503. "description" : "制度id",
  97504. "example" : "2023042600152617860000076000"
  97505. },
  97506. "institution_name" : {
  97507. "type" : "string",
  97508. "description" : "制度名称",
  97509. "example" : "餐补制度"
  97510. }
  97511. }
  97512. },
  97513. "InteligentBudgetInfo" : {
  97514. "type" : "object",
  97515. "properties" : {
  97516. "budget_total" : {
  97517. "type" : "string",
  97518. "description" : "预算数量",
  97519. "example" : "999999"
  97520. },
  97521. "budget_type" : {
  97522. "type" : "string",
  97523. "description" : "预算类型,枚举(QUANTITY:数量预算)",
  97524. "example" : "QUANTITY"
  97525. }
  97526. }
  97527. },
  97528. "InteligentClauseTerm" : {
  97529. "type" : "object",
  97530. "properties" : {
  97531. "descriptions" : {
  97532. "type" : "array",
  97533. "description" : "说明描述内容",
  97534. "items" : {
  97535. "type" : "string"
  97536. },
  97537. "example" : "说明描述内容"
  97538. },
  97539. "title" : {
  97540. "type" : "string",
  97541. "description" : "说明title",
  97542. "example" : "说明title"
  97543. }
  97544. }
  97545. },
  97546. "InteligentConstraintInfo" : {
  97547. "type" : "object",
  97548. "properties" : {
  97549. "crowd_group_id" : {
  97550. "type" : "string",
  97551. "description" : "人群组id,目前只支持返回时带出。",
  97552. "example" : "34324224"
  97553. },
  97554. "item_ids" : {
  97555. "type" : "string",
  97556. "description" : "单品码列表\r\t仅在创建消费单品送活动时设置,最多设置500个单品码,由商户根据自己的商品管理自定义,一般为国标码",
  97557. "example" : "212313,221322"
  97558. },
  97559. "min_cost" : {
  97560. "type" : "string",
  97561. "description" : "最低消费金额,单位元\r\t仅在创建消费送礼包活动时设置",
  97562. "example" : "100"
  97563. },
  97564. "suit_shops" : {
  97565. "type" : "array",
  97566. "description" : "活动适用的球房列表\r\t仅品牌商发起的招商活动可为空\r\t最多支持10w家球房",
  97567. "items" : {
  97568. "type" : "string"
  97569. },
  97570. "example" : "2015110600077000000002125023,2015110600077000000002125022"
  97571. },
  97572. "user_win_count" : {
  97573. "type" : "string",
  97574. "description" : "活动期间用户能够参与的次数限制\r\t如果不设置则不限制参与次数",
  97575. "example" : "1"
  97576. },
  97577. "user_win_frequency" : {
  97578. "type" : "string",
  97579. "description" : "活动期间用户能够参与的频率限制\r\t如果不设置则不限制参与频率\r\t每日中奖1次: D||1 \r\t每周中奖2次: W||2 \r\t每月中奖3次: M||3",
  97580. "example" : "D||3"
  97581. }
  97582. }
  97583. },
  97584. "InteligentDataCondition" : {
  97585. "type" : "object",
  97586. "properties" : {
  97587. "data_type" : {
  97588. "type" : "string",
  97589. "description" : "数据类型,支持枚举:文本:STRING;数值:NUMBER;长整型:LONG;浮点型:DOUBLE;日期:DATE;布尔:BOOLEAN;金额:MONEY",
  97590. "example" : "NUMBER"
  97591. },
  97592. "limit_type" : {
  97593. "type" : "string",
  97594. "description" : "数据限制类型,支持枚举:固定值:FIX;单选值:SELECT;区间值:RANGE;",
  97595. "example" : "RANGE"
  97596. },
  97597. "value" : {
  97598. "type" : "string",
  97599. "description" : "数据格式值;如:范围值:(1,10),固定值:1",
  97600. "example" : "(1,10)"
  97601. }
  97602. }
  97603. },
  97604. "InteligentDelayInfo" : {
  97605. "type" : "object",
  97606. "properties" : {
  97607. "type" : {
  97608. "type" : "string",
  97609. "description" : "延迟类型,目前支持以下类型\r\tABSOLUTELY:按绝对值延迟\r\tBYDAY:按天延迟",
  97610. "example" : "ABSOLUTELY"
  97611. },
  97612. "value" : {
  97613. "type" : "string",
  97614. "description" : "延迟值,单位分钟\r\t按绝对值延迟延迟24*60 (1天)表示,当日08:00:00领到的券要到隔日的08:00:00才能使用\r\t按天延迟延迟24*60(1天)表示,当日08:00:00领到的券,隔日00:00:00点就可以用",
  97615. "example" : "1440"
  97616. }
  97617. }
  97618. },
  97619. "InteligentDisplayConfig" : {
  97620. "type" : "object",
  97621. "properties" : {
  97622. "slogan" : {
  97623. "type" : "string",
  97624. "description" : "券的宣传语\r\t含圈人的直领活动,且投放渠道选择了支付成功页或店铺的情况下必填",
  97625. "example" : "券的宣传语"
  97626. },
  97627. "slogan_img" : {
  97628. "type" : "string",
  97629. "description" : "券的宣传图片文件ID\r\t含圈人的直领活动,且投放渠道选择了店铺的情况下必填",
  97630. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  97631. }
  97632. }
  97633. },
  97634. "InteligentForbiddenTime" : {
  97635. "type" : "object",
  97636. "properties" : {
  97637. "days" : {
  97638. "type" : "string",
  97639. "description" : "不可用日期区间,仅支持到天\r\t不可用区间起止日期用逗号分隔,多个区间之间用^分隔\r\t如\"2016-05-01,2016-05-03^2016-10-01,2016-10-07\"表示2016年5月1日至5月3日,10月1日至10月7日券不可用",
  97640. "example" : "2016-03-03,2016-03-08^2016-10-01,2016-10-01"
  97641. }
  97642. }
  97643. },
  97644. "InteligentGeneralMerchantPromo" : {
  97645. "type" : "object",
  97646. "properties" : {
  97647. "camp_id" : {
  97648. "type" : "string",
  97649. "description" : "营销活动的id,如merchant_promo_type:CONSUME_SEND即消费送的活动id",
  97650. "example" : "20170901000000000006913911002170"
  97651. },
  97652. "crowd_constraint" : {
  97653. "$ref" : "#/components/schemas/CrowdConstraintInfo"
  97654. },
  97655. "desc" : {
  97656. "type" : "string",
  97657. "description" : "活动描述信息,该信息有可能会在店铺详情页漏出,请自己填写",
  97658. "example" : "本店酒水不参与该活动"
  97659. },
  97660. "ext_info" : {
  97661. "type" : "string",
  97662. "description" : "活动扩展信息",
  97663. "example" : "{\\\"key\\\":\\\"value\\\"}"
  97664. },
  97665. "forecast_effect" : {
  97666. "$ref" : "#/components/schemas/IntelligentPromoEffect"
  97667. },
  97668. "inteligent_budget" : {
  97669. "$ref" : "#/components/schemas/InteligentBudgetInfo"
  97670. },
  97671. "inteligent_constraint" : {
  97672. "$ref" : "#/components/schemas/InteligentConstraintInfo"
  97673. },
  97674. "inteligent_promo_tools" : {
  97675. "type" : "array",
  97676. "description" : "营销工具集合。主要是活动涉及到的奖品信息",
  97677. "items" : {
  97678. "$ref" : "#/components/schemas/InteligentPromoTool"
  97679. }
  97680. },
  97681. "inteligent_publish_channels" : {
  97682. "type" : "array",
  97683. "description" : "投放渠道信息",
  97684. "items" : {
  97685. "$ref" : "#/components/schemas/InteligentPublishChannel"
  97686. }
  97687. },
  97688. "merchant_promo_type" : {
  97689. "type" : "string",
  97690. "description" : "营销活动类型;枚举(DIRECT_SEND:直发奖;CONSUME_SEND:消费送)",
  97691. "example" : "CONSUME_SEND"
  97692. },
  97693. "name" : {
  97694. "type" : "string",
  97695. "description" : "营销活动名称",
  97696. "example" : "消费满100送20元代金券"
  97697. },
  97698. "template_id" : {
  97699. "type" : "string",
  97700. "description" : "子营销活动对应的模板id",
  97701. "example" : "20170909000000000012931911002490"
  97702. }
  97703. }
  97704. },
  97705. "InteligentItemInfo" : {
  97706. "type" : "object",
  97707. "properties" : {
  97708. "item_ids" : {
  97709. "type" : "array",
  97710. "description" : "券适用的单品码列表\r\t最少配置1个单品码\r\t最多配置500个单品码",
  97711. "items" : {
  97712. "type" : "string"
  97713. },
  97714. "example" : "0000123,0000124"
  97715. },
  97716. "item_imgs" : {
  97717. "type" : "array",
  97718. "description" : "单品图片列表\r\t单品图片不能超过3张",
  97719. "items" : {
  97720. "type" : "string"
  97721. },
  97722. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  97723. },
  97724. "item_link" : {
  97725. "type" : "string",
  97726. "description" : "单品券详细介绍跳转链接",
  97727. "example" : "www.taobao.com"
  97728. },
  97729. "item_name" : {
  97730. "type" : "string",
  97731. "description" : "单品名称",
  97732. "example" : "单品名称"
  97733. },
  97734. "item_text" : {
  97735. "type" : "string",
  97736. "description" : "单品券说明",
  97737. "example" : "单品券说明"
  97738. },
  97739. "max_discount_num" : {
  97740. "type" : "string",
  97741. "description" : "单品券适用的商品列表中,每一个商品最高可享受优惠的件数; \r\t如:券适用于A,B两种商品,该字段设置为1,则用券A,B两种商品每种最多只有一件可享受优惠;",
  97742. "example" : "1"
  97743. },
  97744. "min_consume_num" : {
  97745. "type" : "string",
  97746. "description" : "单品券适用商品列表中,每种商品享受优惠最低购买件数的门槛;\r\t如:券适用于A,B两种商品,该字段设置为3,则A,B两种商品每种最少需要购买3件才可享受优惠;",
  97747. "example" : "1"
  97748. },
  97749. "original_price" : {
  97750. "type" : "string",
  97751. "description" : "单品的原价,单位元\r\t必须为合法金额类型字符串,如9.99",
  97752. "example" : "28.88"
  97753. },
  97754. "sku_min_consume" : {
  97755. "type" : "string",
  97756. "description" : "券适用SKU的最低消费金额门槛\r\t如券适用A,B两个SKU,该字段设置的值为100,则订单中购买A,B两个SKU的合计金额需大于100元才可用券",
  97757. "example" : "10"
  97758. },
  97759. "total_max_discount_num" : {
  97760. "type" : "string",
  97761. "description" : "如果一个单品券适用A,B,C三个单品,若设置了该字段为2,则在一笔交易中,A,B,C三个单品加起来最多只有俩件能够享受优惠",
  97762. "example" : "10"
  97763. }
  97764. }
  97765. },
  97766. "InteligentMerchantPromo" : {
  97767. "type" : "object",
  97768. "properties" : {
  97769. "general_promo" : {
  97770. "$ref" : "#/components/schemas/InteligentGeneralMerchantPromo"
  97771. },
  97772. "promo_type" : {
  97773. "type" : "string",
  97774. "description" : "子活动营销类型;枚举值:(GENERAL_MERCHANT:商户自运营活动)",
  97775. "example" : "GENERAL_MERCHANT"
  97776. }
  97777. }
  97778. },
  97779. "InteligentPromoTool" : {
  97780. "type" : "object",
  97781. "properties" : {
  97782. "inteligent_send_rule" : {
  97783. "$ref" : "#/components/schemas/InteligentSendRule"
  97784. },
  97785. "inteligent_voucher" : {
  97786. "$ref" : "#/components/schemas/InteligentVoucher"
  97787. },
  97788. "status" : {
  97789. "type" : "string",
  97790. "description" : "单个营销工具的生效状态,当在招商部分券失效后会使用这个字段",
  97791. "example" : "STARTED"
  97792. },
  97793. "voucher_no" : {
  97794. "type" : "string",
  97795. "description" : "营销工具uid,创建营销活动时无需设置",
  97796. "example" : "2342343245234234"
  97797. }
  97798. }
  97799. },
  97800. "InteligentPublishChannel" : {
  97801. "type" : "object",
  97802. "properties" : {
  97803. "config" : {
  97804. "type" : "string",
  97805. "description" : "当type为MERCHANT_CROWD时,config需填入口令送的密码和图片,样例如下:\"config\":\"{\\\"PASSWORD\\\":\\\"口令送密码\\\",\\\"BACKGROUND_LOGO\\\":\\\"1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC\\\"}\"",
  97806. "example" : "\"PASSWORD\":\"口令送密码\",\"BACKGROUND_LOGO\":\"1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC\""
  97807. },
  97808. "ext_info" : {
  97809. "type" : "string",
  97810. "description" : "扩展信息,无需配置",
  97811. "example" : "\"key\":\"value\""
  97812. },
  97813. "name" : {
  97814. "type" : "string",
  97815. "description" : "渠道名称",
  97816. "example" : "投放到店铺"
  97817. },
  97818. "type" : {
  97819. "type" : "string",
  97820. "description" : "渠道类型,目前支持以下类型:\r\tQR_CODE:二维码投放;\r\tSHORT_LINK:短连接投放;\r\tSHOP_DETAIL:店铺页投放;\r\tPAYMENT_RESULT:支付成功页;\r\tMERCHANT_CROWD:口令送;\r\tURL_WITH_TOKEN:外部发奖活动,\r\t只有活动类型为DIRECT_SEND时才支持;",
  97821. "example" : "SHOP_DETAIL"
  97822. }
  97823. }
  97824. },
  97825. "InteligentSendRule" : {
  97826. "type" : "object",
  97827. "properties" : {
  97828. "allow_repeat_send" : {
  97829. "type" : "string",
  97830. "description" : "是否允许重复发奖:\r\ttrue代表允许,false代表不允许\r\t默认不设置,表明用户领取券后如果没有核销则不允许再次领取券\r\t如果设置为true,表明如果用户领取券后没有核销,还可以继续领取该券",
  97831. "example" : "true"
  97832. },
  97833. "min_cost" : {
  97834. "type" : "string",
  97835. "description" : "发券最低消费金额,单位元\r\t活动类型为消费送且不是消费送礼包时设置\r\t多营销工具之间不允许设置重复值",
  97836. "example" : "100"
  97837. },
  97838. "send_budget" : {
  97839. "type" : "string",
  97840. "description" : "券的预算数量(仅对口令送随机抽奖有效,即当活动类型为GUESS_SEND,且营销工具PromoTool的个数大于1时,此字段必填,其余情况此字段必为空)",
  97841. "example" : "1234"
  97842. },
  97843. "send_num" : {
  97844. "type" : "string",
  97845. "description" : "发券数目\r\t最少发1张券,最多发5张券",
  97846. "example" : "1"
  97847. }
  97848. }
  97849. },
  97850. "InteligentUseRule" : {
  97851. "type" : "object",
  97852. "properties" : {
  97853. "inteligent_forbidden_time" : {
  97854. "$ref" : "#/components/schemas/InteligentForbiddenTime"
  97855. },
  97856. "inteligent_use_times" : {
  97857. "type" : "array",
  97858. "description" : "券可用时间段",
  97859. "items" : {
  97860. "$ref" : "#/components/schemas/InteligentUseTime"
  97861. }
  97862. },
  97863. "limit_rule" : {
  97864. "type" : "string",
  97865. "description" : "优惠券的使用支付渠道限制规\r\t则,\r\t不受支付渠道限制\r\t:USE_NO_LIMIT;\r\t仅限口碑储值卡支付时可用\r\t:USE_ON_CURRENT_PAY_C\r\tHANNEL;\r\t口碑储值卡支付时不可用\r\t:NOT_ALLOWED_USE;\r\t【备注】支付渠道限制不允许修改",
  97866. "example" : "USE_NO_LIMIT"
  97867. },
  97868. "min_consume" : {
  97869. "type" : "string",
  97870. "description" : "券核销的最低消费门槛,单位元",
  97871. "example" : "10"
  97872. },
  97873. "min_consume_condition" : {
  97874. "$ref" : "#/components/schemas/InteligentDataCondition"
  97875. },
  97876. "pay_redirect_url" : {
  97877. "type" : "string",
  97878. "description" : "券买单跳转链接",
  97879. "example" : "https://mycar-parkingplatform.alipay-eco.com/pbizplatform/park/parking/stayPayCarList?entrance=1"
  97880. },
  97881. "suit_shops" : {
  97882. "type" : "array",
  97883. "description" : "券适用球房列表\r\t仅品牌商发起的招商活动可为空\r\t直发奖类型活动必须与活动适用球房一致\r\t最多支持10w家球房",
  97884. "items" : {
  97885. "type" : "string"
  97886. },
  97887. "example" : "2015110600077000000002125023,2015110600077000000002125022"
  97888. }
  97889. }
  97890. },
  97891. "InteligentUseTime" : {
  97892. "type" : "object",
  97893. "properties" : {
  97894. "dimension" : {
  97895. "type" : "string",
  97896. "description" : "券可用时段时间维度,目前支持周(W)",
  97897. "example" : "W"
  97898. },
  97899. "times" : {
  97900. "type" : "string",
  97901. "description" : "券可用时间段\r\t可用时间段起止时间用逗号分隔,多个时间段之间用^分隔\r\t如, \"16:00:00,20:00:00^21:00:00,22:00:00\"表示16点至20点,21点至22点可用\r\t时间段不可重叠",
  97902. "example" : "16:00:00,20:00:00^21:00:00,22:00:00"
  97903. },
  97904. "values" : {
  97905. "type" : "string",
  97906. "description" : "券可用时间维度值\r\t周维度的取值范围1-7(周一至周日),多个可用时段用逗号分隔\r\t如\"1,3,5\",对应周一,周三,周五可用",
  97907. "example" : "1,3,5"
  97908. }
  97909. }
  97910. },
  97911. "InteligentVoucher" : {
  97912. "type" : "object",
  97913. "properties" : {
  97914. "brand_name" : {
  97915. "type" : "string",
  97916. "description" : "品牌名称",
  97917. "example" : "品牌名称"
  97918. },
  97919. "desc" : {
  97920. "type" : "string",
  97921. "description" : "券详细说明\r\t最多包含500个字符",
  97922. "example" : "券的详细说明"
  97923. },
  97924. "donate_flag" : {
  97925. "type" : "string",
  97926. "description" : "券是否可转赠,默认为可转赠",
  97927. "example" : "true"
  97928. },
  97929. "effect_type" : {
  97930. "type" : "string",
  97931. "description" : "券生效的方式,目前支持以下方式\r\t立即生效:IMMEDIATELY\r\t延迟生效:DELAY\r\t仅在券有效期类型为相对有效期时生效",
  97932. "example" : "IMMEDIATELY"
  97933. },
  97934. "end_time" : {
  97935. "type" : "string",
  97936. "description" : "券有效期的结束时间\r\t仅在券有效期类型为绝对有效期时生效\r\t必须晚于活动结束时间",
  97937. "example" : "2016-11-01 00:00:00"
  97938. },
  97939. "ext_info" : {
  97940. "type" : "string",
  97941. "description" : "券的扩展信息",
  97942. "example" : "\"key\":\"value\""
  97943. },
  97944. "inteligent_clause_terms" : {
  97945. "type" : "array",
  97946. "description" : "券的说明条款",
  97947. "items" : {
  97948. "$ref" : "#/components/schemas/InteligentClauseTerm"
  97949. }
  97950. },
  97951. "inteligent_delay_info" : {
  97952. "$ref" : "#/components/schemas/InteligentDelayInfo"
  97953. },
  97954. "inteligent_desc_detail_list" : {
  97955. "type" : "array",
  97956. "description" : "券使用说明描述列表",
  97957. "items" : {
  97958. "$ref" : "#/components/schemas/InteligentVoucherDescDetail"
  97959. }
  97960. },
  97961. "inteligent_display_config" : {
  97962. "$ref" : "#/components/schemas/InteligentDisplayConfig"
  97963. },
  97964. "inteligent_item_info" : {
  97965. "$ref" : "#/components/schemas/InteligentItemInfo"
  97966. },
  97967. "inteligent_use_rule" : {
  97968. "$ref" : "#/components/schemas/InteligentUseRule"
  97969. },
  97970. "logo" : {
  97971. "type" : "string",
  97972. "description" : "券LOGO文件ID,调用图片上传接口alipay.offline.material.image.upload获得",
  97973. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  97974. },
  97975. "max_amount" : {
  97976. "type" : "string",
  97977. "description" : "最高优惠金额,单位元\r\t指用券最高可以优惠的金额\r\t必须为合法金额类型字符串仅当券类型为折扣券(RATE),每满减券(PER_FULL_CUT)有效",
  97978. "example" : "100"
  97979. },
  97980. "multi_use_mode" : {
  97981. "type" : "string",
  97982. "description" : "券叠加的属性,\r\t仅全场券可设置该选项;\r\tNO_MULTI:不可与其他全场券和单品券叠加;\r\tMULTI_USE_WITH_SINGLE:\r\t该全场优惠和单品优惠的叠加\r\t;MULTI_USE_WITH_OTHE\r\tRS:该全场优惠和其他所有优惠都可以叠加",
  97983. "example" : "NO_MULTI"
  97984. },
  97985. "name" : {
  97986. "type" : "string",
  97987. "description" : "券名称",
  97988. "example" : "5元代金券"
  97989. },
  97990. "rate" : {
  97991. "type" : "string",
  97992. "description" : "折扣率\r\t仅当券类型为折扣券时有效\r\t有效折扣率取值范围0.11-0.99\r\t仅允许保留小数点后两位",
  97993. "example" : "0.8"
  97994. },
  97995. "relative_time" : {
  97996. "type" : "string",
  97997. "description" : "券相对有效期,单位天\r\t仅在券有效期类型为相对有效期时生效\r\t如,设5表示领券领取后5日内有效",
  97998. "example" : "1"
  97999. },
  98000. "rounding_rule" : {
  98001. "type" : "string",
  98002. "description" : "券核销时,抹零方式,目前支持:\r\tNOT_AUTO_ROUNDING:不自动抹零\r\tAUTO_ROUNDING_YUAN:自动抹零到元\r\tAUTO_ROUNDING_JIAO:自动抹零到角\r\tROUNDING_UP_YUAN:四舍五入到元\r\tROUNDING_UP_JIAO:四舍五入到角",
  98003. "example" : "NOT_AUTO_ROUNDING"
  98004. },
  98005. "start_time" : {
  98006. "type" : "string",
  98007. "description" : "券有效期的开始时间\r\t仅在券有效期类型为绝对有效期时生效",
  98008. "example" : "2016-05-01 00:00:00"
  98009. },
  98010. "type" : {
  98011. "type" : "string",
  98012. "description" : "券类型,目前支持以下类型:\r\tMONEY:代金券;\r\tPER_FULL_CUT:每满减券",
  98013. "example" : "MONEY"
  98014. },
  98015. "use_instructions" : {
  98016. "type" : "array",
  98017. "description" : "券的使用说明\r\t使用须知最多6条,且每条最多100字",
  98018. "items" : {
  98019. "type" : "string"
  98020. },
  98021. "example" : "券的使用说明"
  98022. },
  98023. "validate_type" : {
  98024. "type" : "string",
  98025. "description" : "券有效期类型,目前支持以下类型:\r\tRELATIVE:相对有效期\r\tFIXED:绝对有效期",
  98026. "example" : "FIXED"
  98027. },
  98028. "verify_mode" : {
  98029. "type" : "string",
  98030. "description" : "该字段仅在兑换券条件下(即券类型为EXCHANGE),用于设置兑换券的核销方式\r\tUSER_CLICK:用户自己点击券上的按钮核销\r\tMERCHANT_SCAN:商户通过APP扫码核销\r\t其他情况下此字段为空",
  98031. "example" : "MERCHANT_SCAN"
  98032. },
  98033. "voucher_img" : {
  98034. "type" : "string",
  98035. "description" : "券图片文件ID,调用上传图片接口alipay.offline.material.image.upload获得",
  98036. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  98037. },
  98038. "voucher_note" : {
  98039. "type" : "string",
  98040. "description" : "券的备注\r\t\r\t用于收银系统识别指定券使用;如备注中传入“123”,券发出后核销时将在当面付接口将该值传回,供收银系统识别",
  98041. "example" : "券的备注"
  98042. },
  98043. "worth_value" : {
  98044. "type" : "string",
  98045. "description" : "券面额,单位元必须为合法金额类型字符串券类型为代金券(MONEY)、减至券(REDUCETO)、每满减券(PER_FULL_CUT)时必填\r\t如:\r\t代金券:10元代金券中的10为券面额;\r\t每满减券:毎满100减10元,其中的10为券面额;\r\t减至券:单品原价100,现价10元,其中10为券面额,单品减至券的券面额必须低于单品原价",
  98046. "example" : "10"
  98047. }
  98048. }
  98049. },
  98050. "InteligentVoucherDescDetail" : {
  98051. "type" : "object",
  98052. "properties" : {
  98053. "details" : {
  98054. "type" : "string",
  98055. "description" : "具体描述信息列表",
  98056. "example" : "周一到周五可用"
  98057. },
  98058. "images" : {
  98059. "type" : "string",
  98060. "description" : "图片描述信息",
  98061. "example" : "https://dl.django.t.taobao.com/rest/1.0/image?fileIds=RY7twkJVR26nz8OeXRIjvAAAACMAAQED&zoom=original"
  98062. },
  98063. "title" : {
  98064. "type" : "string",
  98065. "description" : "券说明的标题",
  98066. "example" : "温馨提示"
  98067. },
  98068. "url" : {
  98069. "type" : "string",
  98070. "description" : "券外部详情描述",
  98071. "example" : "www.alipay.com"
  98072. }
  98073. }
  98074. },
  98075. "IntelligentPromo" : {
  98076. "type" : "object",
  98077. "properties" : {
  98078. "allow_auto_delay" : {
  98079. "type" : "boolean",
  98080. "description" : "是否允许自动续期",
  98081. "example" : "true"
  98082. },
  98083. "audit_status" : {
  98084. "type" : "string",
  98085. "description" : "审批状态。APPROVING:审批中;REJECTED:已驳回;PASS:已通过;(注意:修改接口无需传递审批状态)",
  98086. "example" : "APPROVING"
  98087. },
  98088. "create_request_no" : {
  98089. "type" : "string",
  98090. "description" : "请求幂等控制请求参数,该参数尽量比较复杂,建议使用uuid,否则触发幂等返回。",
  98091. "example" : "7582ee4522934431bd45ae68616744b6"
  98092. },
  98093. "creator_info" : {
  98094. "$ref" : "#/components/schemas/PromoOperatorInfo"
  98095. },
  98096. "desc" : {
  98097. "type" : "string",
  98098. "description" : "智能活动描述",
  98099. "example" : "这是一个全场智能营销活动,仅在上海地区使用"
  98100. },
  98101. "ext_info" : {
  98102. "type" : "string",
  98103. "description" : "活动扩展信息,通过《koubei.marketing.campaign.intelligent.promo.consult智能方案咨询接口》推荐出的方案扩展信息字段,调用《koubei.marketing.campaign.intelligent.promo.create创建智能方案》接口必须要原路带回,不能删减字段。",
  98104. "example" : "{\\\"PARTNER_CATEGORY\\\":\\\"2015050700000002\\\",\\\"PROMO_REC_LOG\\\":\\\"20170919000000000195431911009130\\\"}"
  98105. },
  98106. "forecast_effect" : {
  98107. "$ref" : "#/components/schemas/IntelligentPromoEffect"
  98108. },
  98109. "gmt_closed" : {
  98110. "type" : "string",
  98111. "description" : "智能营销活动下架的时间",
  98112. "example" : "2016-05-01 00:00:00"
  98113. },
  98114. "gmt_enabled" : {
  98115. "type" : "string",
  98116. "description" : "智能营销活动的生效时间",
  98117. "example" : "2016-05-01 00:00:00"
  98118. },
  98119. "gmt_end" : {
  98120. "type" : "string",
  98121. "description" : "智能营销活动的结束时间",
  98122. "example" : "2016-05-01 00:00:00"
  98123. },
  98124. "gmt_start" : {
  98125. "type" : "string",
  98126. "description" : "智能营销活动开始时间",
  98127. "example" : "2016-05-01 00:00:00"
  98128. },
  98129. "merchant_promos" : {
  98130. "type" : "array",
  98131. "description" : "智能营销商户子活动列表",
  98132. "items" : {
  98133. "$ref" : "#/components/schemas/InteligentMerchantPromo"
  98134. }
  98135. },
  98136. "name" : {
  98137. "type" : "string",
  98138. "description" : "智能营销活动对应的名称",
  98139. "example" : "全场智能营销活动"
  98140. },
  98141. "owner_info" : {
  98142. "$ref" : "#/components/schemas/PromoOperatorInfo"
  98143. },
  98144. "parent_promo_id" : {
  98145. "type" : "string",
  98146. "description" : "智能营销方案父id,如果需要续签智能营销活动,则会对于原有智能营销方案的id",
  98147. "example" : "20171001000000000286566911004880"
  98148. },
  98149. "plan_id" : {
  98150. "type" : "string",
  98151. "description" : "智能营销活动对应的方案编号",
  98152. "example" : "20170901000000000007027911001170"
  98153. },
  98154. "promo_id" : {
  98155. "type" : "string",
  98156. "description" : "智能营销方案id。《koubei.marketing.campaign.intelligent.promo.create》创建接口中这个参数不必传递,仅在查询接口中返回",
  98157. "example" : "20170905000000000092980911009880"
  98158. },
  98159. "promos" : {
  98160. "type" : "array",
  98161. "description" : "营销活动详情列表,注意:(该参数20180125开始已不在维护,替代参数详见merchant_promos,如需接入替代参数,接之前先找开发负责人申请appid白名单)",
  98162. "items" : {
  98163. "$ref" : "#/components/schemas/IntelligentPromoDetail"
  98164. }
  98165. },
  98166. "status" : {
  98167. "type" : "string",
  98168. "description" : "智能营销活动状态。CREATED:已创建;ENABLED:已生效;CLOSED:已关闭;FINISHED:已完结;DISABLED:已失效(有两种情况会是失效状态,一种是服务商创建方案,商户驳回,一种是服务商创建方案,商户未确认,活动到期。)(注意:修改方案的动作不需要传递方案状态)",
  98169. "example" : "CREATED"
  98170. },
  98171. "sub_promo_ids" : {
  98172. "type" : "array",
  98173. "description" : "该智能营销方案如果续签多次,则会返回该方案对应的所有智能营销子方案的promo_id",
  98174. "items" : {
  98175. "type" : "string"
  98176. },
  98177. "example" : "[2016110700077000000003446037, 2016111000077000000003446529]"
  98178. },
  98179. "sub_status" : {
  98180. "type" : "string",
  98181. "description" : "活动展示状态。已创建:CREATED;\r\tREJECTED:创建被驳回;ENABLING:生效中;ONLINE_WAIT_CONFIRM:上架待确认;PUBLISHED:已发布(活动未到开始时间);ENABLED:已发布已开始;OFFLINE_WAIT_CONFIRM:下架待确认;CLOSING:下架中;CLOSED:已下架(人为干预下架);FINISHED:已结束(活动到期自然结束);MODIFYING:修改中;MODIFY_WAIT_CONFIRM:修改待确认;DISABLED:已失效\r\t(注意:修改接口子状态参数不能传递)",
  98182. "example" : "ENABLING"
  98183. },
  98184. "template_id" : {
  98185. "type" : "string",
  98186. "description" : "智能营销活动对应的方案中的模板编号",
  98187. "example" : "20170901000000000006914911002170"
  98188. },
  98189. "type" : {
  98190. "type" : "string",
  98191. "description" : "智能活动类型,值如下:RECOMMENDATION:系统推荐;REGISTRATION:报名。在创建时,这个字段需要ISV自己进行决策,在推荐接口会返回优惠力度,比如代金券面额等信息,ISV判断如果优惠力度比这个大或者相同,就用RECOMMENDATION,其他情况用REGISTRATION,如推荐力度大于实际创建传过来的优惠力度,则创建的时候系统会自动将RECOMMENDATION改为REGISTRATION",
  98192. "example" : "RECOMMENDATION"
  98193. }
  98194. }
  98195. },
  98196. "IntelligentPromoDetail" : {
  98197. "type" : "object",
  98198. "properties" : {
  98199. "budget" : {
  98200. "$ref" : "#/components/schemas/BudgetInfo"
  98201. },
  98202. "camp_id" : {
  98203. "type" : "string",
  98204. "description" : "营销活动的id,也就是消费送的活动id",
  98205. "example" : "20170901000000000006913911002170"
  98206. },
  98207. "constraint" : {
  98208. "$ref" : "#/components/schemas/ConstraintInfo"
  98209. },
  98210. "crowd_constraint" : {
  98211. "$ref" : "#/components/schemas/CrowdConstraintInfo"
  98212. },
  98213. "desc" : {
  98214. "type" : "string",
  98215. "description" : "智能营销活动的子活动",
  98216. "example" : "这是一个全场消费送的活动"
  98217. },
  98218. "ext_info" : {
  98219. "type" : "string",
  98220. "description" : "活动扩展信息",
  98221. "example" : "{\\\"key\\\":\\\"value\\\"}"
  98222. },
  98223. "forecast_effect" : {
  98224. "$ref" : "#/components/schemas/IntelligentPromoEffect"
  98225. },
  98226. "merchant_promo_type" : {
  98227. "type" : "string",
  98228. "description" : "自运营活动类型。DIRECT_SEND:直发奖;CONSUME_SEND:消费送",
  98229. "example" : "DIRECT_SEND"
  98230. },
  98231. "name" : {
  98232. "type" : "string",
  98233. "description" : "子营销活动名称",
  98234. "example" : "全场消费送活动"
  98235. },
  98236. "promo_tools" : {
  98237. "type" : "array",
  98238. "description" : "营销工具集合。主要是活动涉及到的奖品信息",
  98239. "items" : {
  98240. "$ref" : "#/components/schemas/PromoTool"
  98241. }
  98242. },
  98243. "publish_channels" : {
  98244. "type" : "array",
  98245. "description" : "投放渠道信息",
  98246. "items" : {
  98247. "$ref" : "#/components/schemas/PublishChannel"
  98248. }
  98249. },
  98250. "template_id" : {
  98251. "type" : "string",
  98252. "description" : "子营销活动对应的模板id",
  98253. "example" : "20170901000000000006912911002170"
  98254. }
  98255. }
  98256. },
  98257. "IntelligentPromoEffect" : {
  98258. "type" : "object",
  98259. "properties" : {
  98260. "avg_prize_increase" : {
  98261. "type" : "string",
  98262. "description" : "平均客单价提升比例"
  98263. },
  98264. "cost" : {
  98265. "type" : "string",
  98266. "description" : "成本"
  98267. },
  98268. "current_total_amount" : {
  98269. "type" : "string",
  98270. "description" : "当前效益"
  98271. },
  98272. "effect_id" : {
  98273. "type" : "string",
  98274. "description" : "营销活动的预期效果id"
  98275. },
  98276. "gmt_from" : {
  98277. "type" : "string",
  98278. "description" : "时间范围左值"
  98279. },
  98280. "gmt_to" : {
  98281. "type" : "string",
  98282. "description" : "时间范围右值"
  98283. },
  98284. "gmv" : {
  98285. "type" : "string",
  98286. "description" : "成交额"
  98287. },
  98288. "remain_stock_num" : {
  98289. "type" : "integer",
  98290. "description" : "剩余库存数"
  98291. },
  98292. "repay_rate_increase" : {
  98293. "type" : "string",
  98294. "description" : "复购率提升比例"
  98295. },
  98296. "send_count_increase" : {
  98297. "type" : "string",
  98298. "description" : "发券量提升比例"
  98299. },
  98300. "take_count" : {
  98301. "type" : "integer",
  98302. "description" : "发券数量"
  98303. },
  98304. "type" : {
  98305. "type" : "string",
  98306. "description" : "营销活动效果类型。FORECAST:预估;STATISTICS:统计"
  98307. },
  98308. "use_count" : {
  98309. "type" : "integer",
  98310. "description" : "核销量"
  98311. }
  98312. }
  98313. },
  98314. "IntelligentPromoShopSummaryInfo" : {
  98315. "type" : "object",
  98316. "properties" : {
  98317. "shop_id" : {
  98318. "type" : "string",
  98319. "description" : "球房id",
  98320. "example" : "20543566463464565"
  98321. },
  98322. "shop_name" : {
  98323. "type" : "string",
  98324. "description" : "全店名",
  98325. "example" : "大娘水饺(万塘路店)"
  98326. }
  98327. }
  98328. },
  98329. "InterfaceInfoList" : {
  98330. "type" : "object",
  98331. "properties" : {
  98332. "interface_name" : {
  98333. "type" : "string",
  98334. "description" : "H5传入参数固定值:alipay.eco.mycar.parking.userpage.query;\t\t小程序传入参数固定值:alipay.eco.mycar.parking.isv.homepage;\t\t协议状态变更通知传入参数固定值:\talipay.eco.mycar.parking.agreement.notify;"
  98335. },
  98336. "interface_type" : {
  98337. "type" : "string",
  98338. "description" : "H5、小程序传入参数固定值:interface_page;\t通知接口传入参数固定值:interface_service;"
  98339. },
  98340. "interface_url" : {
  98341. "type" : "string",
  98342. "description" : "H5 SPI接口的调用地址url,协议必须为https,对整个url字符串必须进行UrlEncode编码。编码为UTF-8;\t\t小程序SPI接口的调用地址ur格式:小程序|小程序缴费页面地址;\t\t协议状态变更通知SPI接口的调用地址url,同H5格式;"
  98343. }
  98344. }
  98345. },
  98346. "InviteMemberBusinessParamsDTO" : {
  98347. "type" : "object",
  98348. "properties" : {
  98349. "employee_id" : {
  98350. "type" : "string",
  98351. "description" : "企业员工工卡",
  98352. "example" : "983748293742"
  98353. },
  98354. "fund_ext_info" : {
  98355. "$ref" : "#/components/schemas/FundExtInfo"
  98356. },
  98357. "group_id_list" : {
  98358. "type" : "array",
  98359. "description" : "员工关联的群组ID,当前系统仅支持一个",
  98360. "items" : {
  98361. "type" : "string"
  98362. },
  98363. "example" : "[\"11\"]"
  98364. }
  98365. }
  98366. },
  98367. "InviteResultDTO" : {
  98368. "type" : "object",
  98369. "properties" : {
  98370. "identity" : {
  98371. "type" : "string",
  98372. "description" : "(被邀请人)用户唯一标识<br>\t补充说明:<br>\t- 该字段与签约接口alipay.fund.jointaccount.sign请求参数中传入值保持一致",
  98373. "example" : "2088000268032234"
  98374. },
  98375. "identity_type" : {
  98376. "type" : "string",
  98377. "description" : "(被邀请人)账号类型,参考值如下:<br>\t- OUT_USER_ID:商户侧用户唯一标识<br>\t补充说明:\t- 该字段与签约接口alipay.fund.jointaccount.sign请求参数中传入值保持一致",
  98378. "example" : "ALIPAY_USER_ID"
  98379. },
  98380. "process_id" : {
  98381. "type" : "string",
  98382. "description" : "审批单号,不同被邀请人之间的审批单号不同(支付宝侧生成)",
  98383. "example" : "2021082066102300080000002126"
  98384. }
  98385. }
  98386. },
  98387. "Invoice" : {
  98388. "type" : "object",
  98389. "properties" : {
  98390. "email" : {
  98391. "type" : "string",
  98392. "description" : "邮箱地址",
  98393. "example" : "123@123.com"
  98394. },
  98395. "invoice_content" : {
  98396. "type" : "string",
  98397. "description" : "发票内容,配送服务费",
  98398. "example" : "40"
  98399. },
  98400. "invoice_fee" : {
  98401. "type" : "string",
  98402. "description" : "发票金额",
  98403. "example" : "100"
  98404. },
  98405. "invoice_title" : {
  98406. "type" : "string",
  98407. "description" : "发票抬头,如支付宝(杭州)信息技术有限公司",
  98408. "example" : "支付宝(杭州)信息技术有限公司"
  98409. },
  98410. "invoice_type" : {
  98411. "type" : "integer",
  98412. "description" : "发票类型,0:默认电子发票",
  98413. "example" : "0"
  98414. },
  98415. "phone" : {
  98416. "type" : "string",
  98417. "description" : "手机号码",
  98418. "example" : "15171008605"
  98419. },
  98420. "receiver" : {
  98421. "type" : "string",
  98422. "description" : "收件人姓名",
  98423. "example" : "语轩"
  98424. },
  98425. "tax_number" : {
  98426. "type" : "string",
  98427. "description" : "税号",
  98428. "example" : "9133 0106 MA27 Y4U4 7R"
  98429. },
  98430. "title_type" : {
  98431. "type" : "integer",
  98432. "description" : "抬头类型,0:企业单位,1:个人/非企业",
  98433. "example" : "0"
  98434. }
  98435. }
  98436. },
  98437. "InvoiceContentInfo" : {
  98438. "type" : "object",
  98439. "properties" : {
  98440. "amount" : {
  98441. "type" : "string",
  98442. "description" : "含税金额",
  98443. "example" : "200"
  98444. },
  98445. "item_name" : {
  98446. "type" : "string",
  98447. "description" : "发票项目名称/货物名称",
  98448. "example" : "无"
  98449. },
  98450. "item_no" : {
  98451. "type" : "string",
  98452. "description" : "商品编码/税收分类编码",
  98453. "example" : "无"
  98454. },
  98455. "item_unit" : {
  98456. "type" : "string",
  98457. "description" : "单位",
  98458. "example" : "无"
  98459. },
  98460. "price" : {
  98461. "type" : "string",
  98462. "description" : "单价",
  98463. "example" : "100"
  98464. },
  98465. "quantity" : {
  98466. "type" : "string",
  98467. "description" : "商品数量",
  98468. "example" : "1"
  98469. },
  98470. "row_type" : {
  98471. "type" : "string",
  98472. "description" : "发票行性质。0表示正常行,1表示折扣行,2表示被折扣行",
  98473. "example" : "0"
  98474. },
  98475. "specification" : {
  98476. "type" : "string",
  98477. "description" : "规格型号",
  98478. "example" : "无"
  98479. },
  98480. "sum_price" : {
  98481. "type" : "string",
  98482. "description" : "不含税金额",
  98483. "example" : "150"
  98484. },
  98485. "tax" : {
  98486. "type" : "string",
  98487. "description" : "税额",
  98488. "example" : "40"
  98489. },
  98490. "tax_rate" : {
  98491. "type" : "string",
  98492. "description" : "税率",
  98493. "example" : "无"
  98494. },
  98495. "zero_rate_flag" : {
  98496. "type" : "string",
  98497. "description" : "税率标识,只有税率为0的情况才有值,0=出口零税率,1=免税,2=不征收,3=普通零税率",
  98498. "example" : "3"
  98499. }
  98500. }
  98501. },
  98502. "InvoiceElementModel" : {
  98503. "type" : "object",
  98504. "properties" : {
  98505. "expense_status" : {
  98506. "type" : "string",
  98507. "description" : "发票报销状态\r\t取值范围:\r\tWAIT_EXPENSE-未报销\r\tEXPENSE_PROCESSING-报销中\r\tEXPENSE_FINISHED-已报销"
  98508. },
  98509. "extend_fields" : {
  98510. "type" : "string",
  98511. "description" : "扩展字段"
  98512. },
  98513. "fake_code" : {
  98514. "type" : "string",
  98515. "description" : "防伪校验码"
  98516. },
  98517. "has_pdf_file" : {
  98518. "type" : "boolean",
  98519. "description" : "发票是否有pdf文件"
  98520. },
  98521. "has_risk" : {
  98522. "type" : "boolean",
  98523. "description" : "该发票可能存在异常,请核实后使用\r\ttrue:无异常\r\tfalse:存在异常"
  98524. },
  98525. "invoice_amount" : {
  98526. "type" : "string",
  98527. "description" : "发票金额,含税"
  98528. },
  98529. "invoice_code" : {
  98530. "type" : "string",
  98531. "description" : "发票代码"
  98532. },
  98533. "invoice_date" : {
  98534. "type" : "string",
  98535. "description" : "开票日期"
  98536. },
  98537. "invoice_img_url" : {
  98538. "type" : "string",
  98539. "description" : "发票pdf文件转换后jpg预览地址"
  98540. },
  98541. "invoice_kind" : {
  98542. "type" : "string",
  98543. "description" : "发票类型\t可选值\tPLAIN:增值税电子普通发票\tSPECIAL:增值税专用发票\tALL_ELECTRONIC_GENERAL: \"电子发票(普通发票)\tALL_ELECTRONIC_SPECIAL: \"电子发票(专用发票)\tPLAIN_INVOICE:增值税普通发票\tPAPER_INVOICE:增值税普通发票(卷式)\tSALSE_INVOICE:机动车销售统一发票\t财政电子票据:FINANCIAL_ELECTRONIC_BILL"
  98544. },
  98545. "invoice_no" : {
  98546. "type" : "string",
  98547. "description" : "发票号码"
  98548. },
  98549. "invoice_status" : {
  98550. "type" : "string",
  98551. "description" : "发票状态 \r\t取值范围\r\tSUCCEED-正常蓝票\r\tEXPIRED-已失效"
  98552. },
  98553. "isv_contact" : {
  98554. "type" : "string",
  98555. "description" : "服务商联系方式"
  98556. },
  98557. "isv_name" : {
  98558. "type" : "string",
  98559. "description" : "服务商名称"
  98560. },
  98561. "logo_url" : {
  98562. "type" : "string",
  98563. "description" : "logo地址"
  98564. },
  98565. "m_name" : {
  98566. "type" : "string",
  98567. "description" : "商户全称"
  98568. },
  98569. "out_tax_amount" : {
  98570. "type" : "string",
  98571. "description" : "发票金额,不含税"
  98572. },
  98573. "payee_name" : {
  98574. "type" : "string",
  98575. "description" : "销方名称"
  98576. },
  98577. "payee_tax_no" : {
  98578. "type" : "string",
  98579. "description" : "销方税号"
  98580. },
  98581. "payer_name" : {
  98582. "type" : "string",
  98583. "description" : "购方名称"
  98584. },
  98585. "payer_tax_no" : {
  98586. "type" : "string",
  98587. "description" : "购方税号"
  98588. },
  98589. "pdf_url" : {
  98590. "type" : "string",
  98591. "description" : "PDF的下载链接"
  98592. },
  98593. "source" : {
  98594. "type" : "string",
  98595. "description" : "表示发票来源,由发票回传方带入。例如:bz_gd,bz_ele,bz_tmall等"
  98596. },
  98597. "trade_list" : {
  98598. "type" : "array",
  98599. "description" : "该发票对应的交易",
  98600. "items" : {
  98601. "$ref" : "#/components/schemas/EinvTrade"
  98602. }
  98603. },
  98604. "trade_match_result" : {
  98605. "type" : "string",
  98606. "description" : "交易匹配结果\tmatch-匹配到\tnoMatched-未匹配到\tnotMatch-未做匹配"
  98607. }
  98608. }
  98609. },
  98610. "InvoiceElementStatusSyncOpenModel" : {
  98611. "type" : "object",
  98612. "properties" : {
  98613. "apply_id" : {
  98614. "type" : "string",
  98615. "description" : "同步申请id,每次发起同步时生成,isv每次请求需要保证唯一",
  98616. "example" : "2016112500152003000000000245"
  98617. },
  98618. "expense_detail_url" : {
  98619. "type" : "string",
  98620. "description" : "报销详情地址,提供用户通过发票管家查看报销进度的地址\r\t如果报销企业入驻发票管家时需要isv传入报销详情地址,则必须提供",
  98621. "example" : "http://www.baidu.com"
  98622. },
  98623. "invoice_code" : {
  98624. "type" : "string",
  98625. "description" : "发票代码",
  98626. "example" : "031001600111"
  98627. },
  98628. "invoice_no" : {
  98629. "type" : "string",
  98630. "description" : "发票号码",
  98631. "example" : "10001040"
  98632. }
  98633. }
  98634. },
  98635. "InvoiceItem" : {
  98636. "type" : "object",
  98637. "properties" : {
  98638. "amount" : {
  98639. "type" : "string",
  98640. "description" : "含税总金额 (等于sum_price和tax之和),\t单位:元,格式为2位小数,精度2位小数",
  98641. "example" : "1170.00"
  98642. },
  98643. "item_name" : {
  98644. "type" : "string",
  98645. "description" : "发票项目名称(或商品名称)",
  98646. "example" : "电视机"
  98647. },
  98648. "item_no" : {
  98649. "type" : "string",
  98650. "description" : "发票项目编号(或商品编号)",
  98651. "example" : "1010101010000000000"
  98652. },
  98653. "price" : {
  98654. "type" : "string",
  98655. "description" : "单价(不含税),格式为2位小数。最大支持6位小数,不足2位小数时需转化为2位小数格式。\t折扣行此参数不能传",
  98656. "example" : "100.00"
  98657. },
  98658. "quantity" : {
  98659. "type" : "string",
  98660. "description" : "数量,须大于0,最多6位小数。\t折扣行此参数不能传",
  98661. "example" : "10"
  98662. },
  98663. "row_type" : {
  98664. "type" : "integer",
  98665. "description" : "发票行性质。0表示正常行,1表示折扣行,2表示被折扣行。\t比如充电器单价100元,折扣10元,则明细为2行,充电器行性质为2,折扣行性质为1。如果充电器没有折扣,则值应为0。",
  98666. "example" : "0"
  98667. },
  98668. "specification" : {
  98669. "type" : "string",
  98670. "description" : "规格型号",
  98671. "example" : "X100"
  98672. },
  98673. "sum_price" : {
  98674. "type" : "string",
  98675. "description" : "不含税总金额,格式为2位小数\t单位:元,精度2位小数",
  98676. "example" : "1000.00"
  98677. },
  98678. "tax" : {
  98679. "type" : "string",
  98680. "description" : "税额,\t格式为2位小数",
  98681. "example" : "170.00"
  98682. },
  98683. "tax_rate" : {
  98684. "type" : "string",
  98685. "description" : "税率。格式为2位小数,如:0.00, 0.03, 0.13等等",
  98686. "example" : "0.17"
  98687. },
  98688. "unit" : {
  98689. "type" : "string",
  98690. "description" : "单位,折扣行不能传",
  98691. "example" : "台"
  98692. },
  98693. "zero_rate_flag" : {
  98694. "type" : "string",
  98695. "description" : "0税率标识,只有税率为0的情况才有值,0=出口零税率,1=免税,2=不征收,3=普通零税率",
  98696. "example" : "1"
  98697. }
  98698. }
  98699. },
  98700. "InvoiceItemContent" : {
  98701. "type" : "object",
  98702. "properties" : {
  98703. "item_amount" : {
  98704. "type" : "string",
  98705. "description" : "价税合计。(等于sumPrice和tax之和)"
  98706. },
  98707. "item_name" : {
  98708. "type" : "string",
  98709. "description" : "发票项目名称(或商品名称)"
  98710. },
  98711. "item_no" : {
  98712. "type" : "string",
  98713. "description" : "商品编号"
  98714. },
  98715. "item_price" : {
  98716. "type" : "string",
  98717. "description" : "单价,格式:100.00。新版电子发票,折扣行此参数不能传,非折扣行必传"
  98718. },
  98719. "item_quantity" : {
  98720. "type" : "integer",
  98721. "description" : "数量。新版电子发票,折扣行此参数不能传,非折扣行必传"
  98722. },
  98723. "item_sum_price" : {
  98724. "type" : "string",
  98725. "description" : "单项总价,格式:100.00"
  98726. },
  98727. "item_tax_price" : {
  98728. "type" : "string",
  98729. "description" : "税额"
  98730. },
  98731. "item_tax_rate" : {
  98732. "type" : "string",
  98733. "description" : "税率"
  98734. },
  98735. "item_unit" : {
  98736. "type" : "string",
  98737. "description" : "台"
  98738. },
  98739. "row_type" : {
  98740. "type" : "integer",
  98741. "description" : "发票行性质。0表示正常行,1表示折扣行,2表示被折扣行。比如充电器单价100元,折扣10元,则明细为2行,充电器行性质为2,折扣行性质为1。如果充电器没有折扣,则值应为0"
  98742. }
  98743. }
  98744. },
  98745. "InvoiceItemOpenModel" : {
  98746. "type" : "object",
  98747. "properties" : {
  98748. "item_ex_tax_amount" : {
  98749. "type" : "string",
  98750. "description" : "明细行不含税金额,保留两位小数"
  98751. },
  98752. "item_name" : {
  98753. "type" : "string",
  98754. "description" : "开票项目:货物或应税劳务、服务名称"
  98755. },
  98756. "item_no" : {
  98757. "type" : "string",
  98758. "description" : "国税局制定的商品税收编码,必须是最末级"
  98759. },
  98760. "item_quantity" : {
  98761. "type" : "integer",
  98762. "description" : "数量;\t1.当row_type=0或2且item_unit_price为空,可空;\t2.可精确到小数点后6位"
  98763. },
  98764. "item_spec" : {
  98765. "type" : "string",
  98766. "description" : "规格型号"
  98767. },
  98768. "item_sum_amount" : {
  98769. "type" : "string",
  98770. "description" : "明细行价税合计,必须保证item_sum_amount=item_ex_tax_amount+item_tax_amount。"
  98771. },
  98772. "item_tax_amount" : {
  98773. "type" : "string",
  98774. "description" : "明细行税额,保留两位小数,无税或者免税情况下输入:0.00。"
  98775. },
  98776. "item_tax_rate" : {
  98777. "type" : "string",
  98778. "description" : "明细行税率,无税或者免税情况下输入:0.00。"
  98779. },
  98780. "item_unit" : {
  98781. "type" : "string",
  98782. "description" : "单位"
  98783. },
  98784. "item_unit_price" : {
  98785. "type" : "string",
  98786. "description" : "不含税单价;\t1.当row_type=0或2且item_quantity为空,可空\t2.可精确到小数点后8位;"
  98787. },
  98788. "row_type" : {
  98789. "type" : "string",
  98790. "description" : "发票行性质:0表示正常行,1表示折扣行,2表示被折扣行。"
  98791. }
  98792. }
  98793. },
  98794. "InvoiceModelContent" : {
  98795. "type" : "object",
  98796. "properties" : {
  98797. "apply_id" : {
  98798. "type" : "string",
  98799. "description" : "支付宝端的申请id。如果在开票过程中,是通过支付宝提交的申请到机构端,支付宝会带上开票申请在支付宝生成的申请id,机构在回传发票的时候只需要回传这个申请id,不用获取用户的uid,支付宝可以根据申请id将发票归集到对应的用户名下",
  98800. "example" : "2016112800152005000000000239"
  98801. },
  98802. "extend_fields" : {
  98803. "type" : "string",
  98804. "description" : "key=value,每组键值对以回车分割",
  98805. "example" : "shortPlatform=POS\r\nabx=xxx\r\neee=ccc"
  98806. },
  98807. "file_download_type" : {
  98808. "type" : "string",
  98809. "description" : "下载的发票文件类型,可选值:\tpdf(发票原文件)\tofd(发票原文件)\tjpg(发票原文件缩略图)",
  98810. "example" : "pdf"
  98811. },
  98812. "file_download_url" : {
  98813. "type" : "string",
  98814. "description" : "发票原文件下载地址\t1.当tax_type=PLAIN、ALL_ELECTRONIC_GENERAL或ALL_ELECTRONIC_SPECIAL时,\tfile_download_url必传\t且file_download_type取值范围为pdf或ofd;\t2.当tax_type=SPECIAL时,\tfile_download_url必传\tfile_download_type可以传入pdf,ofd,jpg\t3.当其他票种时,file_download_url可以不传",
  98815. "example" : "http://xxx.com"
  98816. },
  98817. "financial_electronic_type" : {
  98818. "type" : "string",
  98819. "description" : "财政电子票据子类型,当tax_type=FINANCIAL_ELECTRONIC_BILL时要求必填\t可选值如下:\t01:非税收入通用票据 \t02:非税收入专用票据\t03:非税收入一般缴款书\t04:资金往来结算票据\t05:公益事业捐赠票据\t06:医疗收费票据\t07:社会团体会费票据\t08:社会保险基金票据\t09:工会经费收入票据\t99:其他财政票据",
  98820. "example" : "MEDICAL_ELECTRONIC_BILL"
  98821. },
  98822. "invoice_amount" : {
  98823. "type" : "string",
  98824. "description" : "发票金额,大于0且精确到小数点两位,以元为单位\r\t需要传入税价合计金额",
  98825. "example" : "200.00"
  98826. },
  98827. "invoice_code" : {
  98828. "type" : "string",
  98829. "description" : "发票代码,为国税局生成的唯一值,全电票时为空,其他情况不可为空",
  98830. "example" : "2328742873"
  98831. },
  98832. "invoice_content" : {
  98833. "type" : "array",
  98834. "description" : "发票内容项",
  98835. "items" : {
  98836. "$ref" : "#/components/schemas/InvoiceItemContent"
  98837. }
  98838. },
  98839. "invoice_date" : {
  98840. "type" : "string",
  98841. "description" : "发票日期,用户填写,目前精确到日",
  98842. "example" : "2016-07-19"
  98843. },
  98844. "invoice_fake_code" : {
  98845. "type" : "string",
  98846. "description" : "发票防伪码",
  98847. "example" : "-"
  98848. },
  98849. "invoice_file_data" : {
  98850. "type" : "string",
  98851. "description" : "原始发票PDF/OFD文件流",
  98852. "example" : "01010010101"
  98853. },
  98854. "invoice_img_url" : {
  98855. "type" : "string",
  98856. "description" : "发票原始文件jpg文件地址",
  98857. "example" : "http://xxx.com"
  98858. },
  98859. "invoice_no" : {
  98860. "type" : "string",
  98861. "description" : "发票号码,国税局生成的唯一号码,不可为空串;\r\t使用时请注意,invoice_no+invoice_code唯一,不能重复",
  98862. "example" : "237428768"
  98863. },
  98864. "invoice_operator" : {
  98865. "type" : "string",
  98866. "description" : "发票开具操作人",
  98867. "example" : "张某某"
  98868. },
  98869. "invoice_title" : {
  98870. "$ref" : "#/components/schemas/InvoiceTitleModel"
  98871. },
  98872. "invoice_type" : {
  98873. "type" : "string",
  98874. "description" : "发票类型,按照可选值只传入英文部分,该字段严格要求大小写\r\t可选值:\r\tblue(蓝票)\r\tred(红票)",
  98875. "example" : "blue"
  98876. },
  98877. "open_id" : {
  98878. "type" : "string",
  98879. "description" : "支付宝用户id,支付宝端的申请id存在的时候也不需要传,其他情况下,当同步的是蓝票时,必传,红票时不需传。",
  98880. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  98881. },
  98882. "original_blue_invoice_code" : {
  98883. "type" : "string",
  98884. "description" : "仅用于同步红票,原始蓝票发票代码,同步红票时必传(全电票时为空)",
  98885. "example" : "2328742873"
  98886. },
  98887. "original_blue_invoice_no" : {
  98888. "type" : "string",
  98889. "description" : "仅用于同步红票,原始蓝票发票号码,同步红票时必传",
  98890. "example" : "9288277173"
  98891. },
  98892. "out_biz_no" : {
  98893. "type" : "string",
  98894. "description" : "商户交易流水号,不可为空串;\r\t传入红票时请注意,此字段的值要和蓝票保持一致",
  98895. "example" : "2016010139992003"
  98896. },
  98897. "out_invoice_id" : {
  98898. "type" : "string",
  98899. "description" : "商户唯一开票申请业务流水号,同一个isv下不能重复",
  98900. "example" : "20160707399929991001"
  98901. },
  98902. "register_address" : {
  98903. "type" : "string",
  98904. "description" : "开票单位地址",
  98905. "example" : "天目山路黄龙时代广场B座"
  98906. },
  98907. "register_bank_account" : {
  98908. "type" : "string",
  98909. "description" : "开票单位开户行账号",
  98910. "example" : "6332000023949993"
  98911. },
  98912. "register_bank_name" : {
  98913. "type" : "string",
  98914. "description" : "开票单位开户行名称",
  98915. "example" : "西湖区建行"
  98916. },
  98917. "register_name" : {
  98918. "type" : "string",
  98919. "description" : "开票单位",
  98920. "example" : "支付宝(杭州)信息技术有限公司"
  98921. },
  98922. "register_no" : {
  98923. "type" : "string",
  98924. "description" : "纳税人识别号,不可为空串",
  98925. "example" : "J8374LK29387"
  98926. },
  98927. "register_phone_no" : {
  98928. "type" : "string",
  98929. "description" : "开票人电话,支持座机和手机两种格式",
  98930. "example" : "13200029932"
  98931. },
  98932. "sum_amount" : {
  98933. "type" : "string",
  98934. "description" : "价税合计",
  98935. "example" : "2000.00"
  98936. },
  98937. "tax_amount" : {
  98938. "type" : "string",
  98939. "description" : "税额",
  98940. "example" : "1000.00"
  98941. },
  98942. "tax_type" : {
  98943. "type" : "string",
  98944. "description" : "税种\t可选值:\tPLAIN:增值税电子普通发票\tALL_ELECTRONIC_GENERAL:电子发票(普通发票)\tALL_ELECTRONIC_SPECIAL:电子发票(增值税专用发票)\tSPECIAL:增值税专用发票\tPLAIN_INVOICE:增值税普通发票\tFINANCIAL_ELECTRONIC_BILL:财政电子票据",
  98945. "example" : "PLAIN"
  98946. },
  98947. "user_id" : {
  98948. "type" : "string",
  98949. "description" : "支付宝用户id,支付宝端的申请id存在的时候也不需要传,其他情况下,当同步的是蓝票时,必传,红票时不需传。",
  98950. "example" : "2088399922382233"
  98951. }
  98952. }
  98953. },
  98954. "InvoiceOutputInfo" : {
  98955. "type" : "object",
  98956. "properties" : {
  98957. "check_code" : {
  98958. "type" : "string",
  98959. "description" : "发票防伪码,验证码"
  98960. },
  98961. "checker" : {
  98962. "type" : "string",
  98963. "description" : "票面上复核人信息。"
  98964. },
  98965. "clerk" : {
  98966. "type" : "string",
  98967. "description" : "票面上开票员信息。"
  98968. },
  98969. "ex_tax_amount" : {
  98970. "type" : "string",
  98971. "description" : "不含税金额,票面上的不含税金额,单位(元),保留两位小数。"
  98972. },
  98973. "invoice_code" : {
  98974. "type" : "string",
  98975. "description" : "发票代码"
  98976. },
  98977. "invoice_content" : {
  98978. "type" : "array",
  98979. "description" : "发票明细项。",
  98980. "items" : {
  98981. "$ref" : "#/components/schemas/InvoiceItemOpenModel"
  98982. }
  98983. },
  98984. "invoice_date" : {
  98985. "type" : "string",
  98986. "description" : "开票日期,格式如:YYYY-MM-DD。"
  98987. },
  98988. "invoice_img_url" : {
  98989. "type" : "string",
  98990. "description" : "发票预览图片地址"
  98991. },
  98992. "invoice_kind" : {
  98993. "type" : "string",
  98994. "description" : "标识发票的类型,PLAIN:增值税电子普通发票;SPECIAL:增值税专用发票;PLAIN_INVOICE:增值税普通发票;SALSE_INVOICE:机动车销售统一发票 ;PAPER_INVOICE:增值税普通发票(卷式)。"
  98995. },
  98996. "invoice_memo" : {
  98997. "type" : "string",
  98998. "description" : "票面上备注信息。"
  98999. },
  99000. "invoice_no" : {
  99001. "type" : "string",
  99002. "description" : "发票号码"
  99003. },
  99004. "invoice_title" : {
  99005. "$ref" : "#/components/schemas/InvoiceTitleOpenModel"
  99006. },
  99007. "invoice_type" : {
  99008. "type" : "string",
  99009. "description" : "标识是红票还是蓝票,RED:红票;BLUE:蓝票"
  99010. },
  99011. "ori_blue_inv_code" : {
  99012. "type" : "string",
  99013. "description" : "红票情况下,必须填入原始蓝票的发票代码。"
  99014. },
  99015. "ori_blue_inv_no" : {
  99016. "type" : "string",
  99017. "description" : "红票情况下,必须填入原始蓝票的发票号码。"
  99018. },
  99019. "payee" : {
  99020. "type" : "string",
  99021. "description" : "票面上收款人信息。"
  99022. },
  99023. "payee_address_tel" : {
  99024. "type" : "string",
  99025. "description" : "票面上销售方地址、电话信息。"
  99026. },
  99027. "payee_bank_name_account" : {
  99028. "type" : "string",
  99029. "description" : "票面上销售方开户行及账号。"
  99030. },
  99031. "payee_name" : {
  99032. "type" : "string",
  99033. "description" : "票面上销售方企业名称。"
  99034. },
  99035. "payee_register_no" : {
  99036. "type" : "string",
  99037. "description" : "票面上销售方税号信息。"
  99038. },
  99039. "sum_amount" : {
  99040. "type" : "string",
  99041. "description" : "价税合计,票面上的总开票金额,单位(元),保留两位小数,sum_amount=ex_tax_amount+tax_amount。"
  99042. },
  99043. "tax_amount" : {
  99044. "type" : "string",
  99045. "description" : "合计税额,票面上的合计税额,单位(元),保留两位小数。"
  99046. }
  99047. }
  99048. },
  99049. "InvoicePDFSynModel" : {
  99050. "type" : "object",
  99051. "properties" : {
  99052. "apply_id" : {
  99053. "type" : "string",
  99054. "description" : "支付宝开票申请id。\t当userId为空时,必填;\t如果在开票过程中,是通过支付宝提交的申请到开票服务方,支付宝会带上开票申请在支付宝生成的申请id,开票服务方在回传发票的时候只需要回传这个申请id,不用获取用户的userId,支付宝可以根据申请id将发票归集到对应的用户名下",
  99055. "example" : "2016112800152005000000000239"
  99056. },
  99057. "extend_fields" : {
  99058. "type" : "string",
  99059. "description" : "预留的扩展字段,格式如:key1=value1\\nkey2=value2\\nkey3=value3,字段之间以\\n(换行符)分隔。",
  99060. "example" : "m_invoice_detail_url=http://127.0.0.1:8080/invoice/detail.action?fpdm= 1234567&fphm=123456"
  99061. },
  99062. "file_base" : {
  99063. "type" : "string",
  99064. "description" : "base64化的字符串",
  99065. "example" : "5LqR5YyW56iO5o6nDQoNCjIuMjjnur/kuIrlj6/llK7ljZYNCg0KVzHvvJrlrozmiJDnlJ/kuqflj5H"
  99066. },
  99067. "file_download_type" : {
  99068. "type" : "string",
  99069. "description" : "PDF类型文件填写PDF,\tOFD类型文件填写ofd,\tJPG类型文件填写JPG(JPG文件请先询问对接人当前是否支持)",
  99070. "example" : "PDF"
  99071. },
  99072. "file_download_url" : {
  99073. "type" : "string",
  99074. "description" : "发票文件下载地址。",
  99075. "example" : "http://img.hadalo.com/aa/kq/ddhrtdefgxKVXXXXa6apXXXXXXXXXX.pdf"
  99076. },
  99077. "open_id" : {
  99078. "type" : "string",
  99079. "description" : "支付宝用户id,当apply_id为空时,open_id必填",
  99080. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  99081. },
  99082. "out_invoice_id" : {
  99083. "type" : "string",
  99084. "description" : "外部ISV的唯一发票标识",
  99085. "example" : "2088100022223333"
  99086. },
  99087. "user_id" : {
  99088. "type" : "string",
  99089. "description" : "支付宝用户userId;\t当apply_id为空时,userId必填",
  99090. "example" : "2088399922382233"
  99091. },
  99092. "zip" : {
  99093. "type" : "string",
  99094. "description" : "压缩方式",
  99095. "example" : "zip"
  99096. }
  99097. }
  99098. },
  99099. "InvoiceSendOpenModel" : {
  99100. "type" : "object",
  99101. "properties" : {
  99102. "apply_id" : {
  99103. "type" : "string",
  99104. "description" : "支付宝端的申请id。如果在开票过程中,是通过支付宝提交的申请到机构端,支付宝会带上开票申请在支付宝生成的申请id,机构在回传发票的时候只需要回传这个申请id,不用获取用户的uid,支付宝可以根据申请id将发票归集到对应的用户名下",
  99105. "example" : "2016112800152005000000000239"
  99106. },
  99107. "check_code" : {
  99108. "type" : "string",
  99109. "description" : "票面上的校验码信息。",
  99110. "example" : "15170246985745164986"
  99111. },
  99112. "checker" : {
  99113. "type" : "string",
  99114. "description" : "票面上复核人信息。",
  99115. "example" : "李四"
  99116. },
  99117. "clerk" : {
  99118. "type" : "string",
  99119. "description" : "票面上开票员信息。",
  99120. "example" : "赵吴"
  99121. },
  99122. "ex_tax_amount" : {
  99123. "type" : "string",
  99124. "description" : "不含税金额,票面上的不含税金额,单位(元),保留两位小数。",
  99125. "example" : "100.00"
  99126. },
  99127. "extend_fields" : {
  99128. "type" : "string",
  99129. "description" : "预留的扩展字段,格式如:key1=value1\\nkey2=value2\\nkey3=value3,字段之间以\\n分隔。",
  99130. "example" : "m_invoice_detail_url=http://196.021.871.011:8080/invoice/detail.action?fpdm= 4112740003&fphm=41791003"
  99131. },
  99132. "file_download_type" : {
  99133. "type" : "string",
  99134. "description" : "下载版式文件类型,需要回传文件下载链接的情况下必传,\t取值范围:PDF,JPG,OFD",
  99135. "example" : "PDF"
  99136. },
  99137. "file_download_url" : {
  99138. "type" : "string",
  99139. "description" : "发票版式文件下载地址。",
  99140. "example" : "http://img.hadalo.com/aa/kq/ddhrtdefgxKVXXXXa6apXXXXXXXXXX.pdf"
  99141. },
  99142. "financial_electronic_type" : {
  99143. "type" : "string",
  99144. "description" : "财政电子票据子类型,当tax_type=FINANCIAL_ELECTRONIC_BILL时要求必填 可选值如下: 01:非税收入通用票据 02:非税收入专用票据 03:非税收入一般缴款书 04:资金往来结算票据 05:公益事业捐赠票据 06:医疗收费票据 07:社会团体会费票据 08:社会保险基金票据 09:工会经费收入票据 99:其他财政票据",
  99145. "example" : "MEDICAL_ELECTRONIC_BILL"
  99146. },
  99147. "invoice_code" : {
  99148. "type" : "string",
  99149. "description" : "发票代码,该字段与invoice_no构成一张发票的唯一标识。",
  99150. "example" : "4112740003"
  99151. },
  99152. "invoice_content" : {
  99153. "type" : "array",
  99154. "description" : "发票明细项。",
  99155. "items" : {
  99156. "$ref" : "#/components/schemas/InvoiceItemOpenModel"
  99157. }
  99158. },
  99159. "invoice_date" : {
  99160. "type" : "string",
  99161. "description" : "开票日期,格式如:YYYY-MM-DD。",
  99162. "example" : "2017-10-10"
  99163. },
  99164. "invoice_kind" : {
  99165. "type" : "string",
  99166. "description" : "标识发票的类型,\tPLAIN:增值税电子普通发票;\tSPECIAL:增值税专用发票;\tALL_ELECTRONIC_GENERAL:电子发票(普通发票);\tALL_ELECTRONIC_SPECIAL:电子发票(增值税专用发票);\tPLAIN_INVOICE:增值税普通发票;\tFINANCIAL_ELECTRONIC_BILL:财政电子票据;",
  99167. "example" : "PLAIN"
  99168. },
  99169. "invoice_memo" : {
  99170. "type" : "string",
  99171. "description" : "票面上备注信息。",
  99172. "example" : "订单号:2017120800001"
  99173. },
  99174. "invoice_no" : {
  99175. "type" : "string",
  99176. "description" : "发票号码,该字段与invoice_code构成一张发票的唯一标识。",
  99177. "example" : "41791003"
  99178. },
  99179. "invoice_title" : {
  99180. "$ref" : "#/components/schemas/InvoiceTitleOpenModel"
  99181. },
  99182. "invoice_type" : {
  99183. "type" : "string",
  99184. "description" : "标识是红票还是蓝票,RED:红票;BLUE:蓝票。",
  99185. "example" : "BLUE"
  99186. },
  99187. "open_id" : {
  99188. "type" : "string",
  99189. "description" : "支付宝用户userId,当发送红字发票时,即invoice_type=RED时,可选填;或者apply_id不为空的时候,可选填;其他情况必填。",
  99190. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  99191. },
  99192. "ori_blue_inv_code" : {
  99193. "type" : "string",
  99194. "description" : "红票情况下,必须填入原始蓝票的发票代码(全电票时为空)。",
  99195. "example" : "4112740002"
  99196. },
  99197. "ori_blue_inv_no" : {
  99198. "type" : "string",
  99199. "description" : "红票情况下,必须填入原始蓝票的发票号码。",
  99200. "example" : "41791002"
  99201. },
  99202. "out_invoice_id" : {
  99203. "type" : "string",
  99204. "description" : "外部发票id,isv生成发票之后所生成的发票流水号,主要用做存储。",
  99205. "example" : "201710283459661232435535"
  99206. },
  99207. "out_trade_no" : {
  99208. "type" : "string",
  99209. "description" : "该发票基于的实际交易流水号。",
  99210. "example" : "20171023293456785924325"
  99211. },
  99212. "payee" : {
  99213. "type" : "string",
  99214. "description" : "票面上收款人信息。",
  99215. "example" : "张三"
  99216. },
  99217. "payee_address_tel" : {
  99218. "type" : "string",
  99219. "description" : "票面上销售方地址、电话信息。",
  99220. "example" : "杭州市西湖区某某办公楼 0571-237405862"
  99221. },
  99222. "payee_bank_name_account" : {
  99223. "type" : "string",
  99224. "description" : "票面上销售方开户行及账号。",
  99225. "example" : "西湖区建行11111111111"
  99226. },
  99227. "payee_register_name" : {
  99228. "type" : "string",
  99229. "description" : "票面上销售方企业名称。",
  99230. "example" : "支付宝(杭州)信息技术有限公司"
  99231. },
  99232. "payee_register_no" : {
  99233. "type" : "string",
  99234. "description" : "票面上销售方税号信息。",
  99235. "example" : "310101000000090"
  99236. },
  99237. "sum_amount" : {
  99238. "type" : "string",
  99239. "description" : "价税合计,票面上的总开票金额,单位(元),保留两位小数,sum_amount=ex_tax_amount+tax_amount。",
  99240. "example" : "101.00"
  99241. },
  99242. "tax_amount" : {
  99243. "type" : "string",
  99244. "description" : "合计税额,票面上的合计税额,单位(元),保留两位小数。",
  99245. "example" : "1.00"
  99246. },
  99247. "trade_list" : {
  99248. "type" : "array",
  99249. "description" : "交易内容,非必填但是不可以传空值,如果无需回传trade_list则不需要传该对象",
  99250. "items" : {
  99251. "$ref" : "#/components/schemas/EinvTrade"
  99252. }
  99253. },
  99254. "user_id" : {
  99255. "type" : "string",
  99256. "description" : "支付宝用户userId,当发送红字发票时,即invoice_type=RED时,可选填;或者apply_id不为空的时候,可选填;其他情况必填。",
  99257. "example" : "2088399922382233"
  99258. }
  99259. }
  99260. },
  99261. "InvoiceTitleModel" : {
  99262. "type" : "object",
  99263. "properties" : {
  99264. "is_default" : {
  99265. "type" : "boolean",
  99266. "description" : "是否为用户设置默认抬头\r\t字段值包括两种情况:\r\tfalse(非默认)\r\ttrue(默认抬头)"
  99267. },
  99268. "logon_id" : {
  99269. "type" : "string",
  99270. "description" : "支付宝用户登录名"
  99271. },
  99272. "open_bank_account" : {
  99273. "type" : "string",
  99274. "description" : "银行账号"
  99275. },
  99276. "open_bank_name" : {
  99277. "type" : "string",
  99278. "description" : "开户银行"
  99279. },
  99280. "open_id" : {
  99281. "type" : "string",
  99282. "description" : "支付宝用户id"
  99283. },
  99284. "tax_register_no" : {
  99285. "type" : "string",
  99286. "description" : "纳税人识别号"
  99287. },
  99288. "tele_phone_no" : {
  99289. "type" : "string",
  99290. "description" : "用户私人手机号"
  99291. },
  99292. "title_name" : {
  99293. "type" : "string",
  99294. "description" : "抬头名称"
  99295. },
  99296. "title_type" : {
  99297. "type" : "string",
  99298. "description" : "抬头类型\r\t字段值有两种情况抬:\r\tPERSONAL(个人) \r\tCORPORATION(单位)"
  99299. },
  99300. "user_address" : {
  99301. "type" : "string",
  99302. "description" : "地址"
  99303. },
  99304. "user_email" : {
  99305. "type" : "string",
  99306. "description" : "邮箱"
  99307. },
  99308. "user_id" : {
  99309. "type" : "string",
  99310. "description" : "支付宝用户id"
  99311. },
  99312. "user_mobile" : {
  99313. "type" : "string",
  99314. "description" : "电话号码"
  99315. }
  99316. }
  99317. },
  99318. "InvoiceTitleOpenModel" : {
  99319. "type" : "object",
  99320. "properties" : {
  99321. "payer_address_tel" : {
  99322. "type" : "string",
  99323. "description" : "票面上的购买方地址、电话"
  99324. },
  99325. "payer_bank_name_account" : {
  99326. "type" : "string",
  99327. "description" : "票面上的购买方开户行及账户"
  99328. },
  99329. "payer_register_no" : {
  99330. "type" : "string",
  99331. "description" : "票面上的购买方纳税人识别号"
  99332. },
  99333. "title_name" : {
  99334. "type" : "string",
  99335. "description" : "票面上的购买方名称"
  99336. }
  99337. }
  99338. },
  99339. "InvoiceUkDTO" : {
  99340. "type" : "object",
  99341. "properties" : {
  99342. "invoice_code" : {
  99343. "type" : "string",
  99344. "description" : "发票代码"
  99345. },
  99346. "invoice_no" : {
  99347. "type" : "string",
  99348. "description" : "发票号码"
  99349. }
  99350. }
  99351. },
  99352. "IssueQuotaCheckInfo" : {
  99353. "type" : "object",
  99354. "properties" : {
  99355. "issue_quota" : {
  99356. "type" : "string",
  99357. "description" : "发放金额",
  99358. "example" : "10"
  99359. },
  99360. "message" : {
  99361. "type" : "string",
  99362. "description" : "校验结果的原因",
  99363. "example" : "金额不能为负数"
  99364. },
  99365. "owner_id" : {
  99366. "type" : "string",
  99367. "description" : "入参的 owner_id",
  99368. "example" : "13055551515"
  99369. },
  99370. "owner_open_id" : {
  99371. "type" : "string",
  99372. "description" : "入参的 owner_open_id",
  99373. "example" : "abcdxxxx"
  99374. },
  99375. "owner_type" : {
  99376. "type" : "string",
  99377. "description" : "owner_type",
  99378. "example" : "PHONE"
  99379. },
  99380. "result" : {
  99381. "type" : "boolean",
  99382. "description" : "校验结果",
  99383. "example" : "true"
  99384. },
  99385. "user_name" : {
  99386. "type" : "string",
  99387. "description" : "用户姓名",
  99388. "example" : "测试"
  99389. }
  99390. }
  99391. },
  99392. "IssueRuleIdInfo" : {
  99393. "type" : "object",
  99394. "properties" : {
  99395. "issue_rule_id" : {
  99396. "type" : "string",
  99397. "description" : "发放规则id",
  99398. "example" : "2022031000152621000000000001"
  99399. },
  99400. "outer_source_id" : {
  99401. "type" : "string",
  99402. "description" : "外部发放规则id",
  99403. "example" : "123456"
  99404. }
  99405. }
  99406. },
  99407. "IssueRuleInfo" : {
  99408. "type" : "object",
  99409. "properties" : {
  99410. "effective_period" : {
  99411. "type" : "string",
  99412. "description" : "生效时间段"
  99413. },
  99414. "invalid_mode" : {
  99415. "type" : "integer",
  99416. "description" : "累计类型,默认为0\t枚举:0(不可累计)、1(可累计)、2(累计天数)、3(累计到指定日期)"
  99417. },
  99418. "invalid_mode_value" : {
  99419. "type" : "string",
  99420. "description" : "累计类型值"
  99421. },
  99422. "issue_amount_value" : {
  99423. "type" : "string",
  99424. "description" : "发放金额"
  99425. },
  99426. "issue_end_date" : {
  99427. "type" : "string",
  99428. "description" : "发放规则有效结束时间"
  99429. },
  99430. "issue_rule_id" : {
  99431. "type" : "string",
  99432. "description" : "发放规则id"
  99433. },
  99434. "issue_rule_name" : {
  99435. "type" : "string",
  99436. "description" : "发放规则名称"
  99437. },
  99438. "issue_start_date" : {
  99439. "type" : "string",
  99440. "description" : "发放规则有效起始时间"
  99441. },
  99442. "issue_type" : {
  99443. "type" : "string",
  99444. "description" : "发放类型"
  99445. },
  99446. "outer_source_id" : {
  99447. "type" : "string",
  99448. "description" : "外部发放规则id"
  99449. },
  99450. "quota_type" : {
  99451. "type" : "string",
  99452. "description" : "额度类型"
  99453. },
  99454. "share_mode" : {
  99455. "type" : "integer",
  99456. "description" : "是否可转赠"
  99457. },
  99458. "target_id" : {
  99459. "type" : "string",
  99460. "description" : "目标id"
  99461. },
  99462. "target_type" : {
  99463. "type" : "string",
  99464. "description" : "发放规则归属的目标类型"
  99465. }
  99466. }
  99467. },
  99468. "IssueTargetInfoContent" : {
  99469. "type" : "object",
  99470. "properties" : {
  99471. "issue_quota" : {
  99472. "type" : "string",
  99473. "description" : "发放金额",
  99474. "example" : "10"
  99475. },
  99476. "owner_id" : {
  99477. "type" : "string",
  99478. "description" : "切换open_id前请使用:owner类型为PHONE时该字段表示员工手机号,owner类型为为EMPLOYEE时该字段表示为员工支付宝uid,owner类型为为ENTERPRISE_PAY_UID时该字段表示为员工企业码id",
  99479. "example" : "13055551515"
  99480. },
  99481. "owner_open_id" : {
  99482. "type" : "string",
  99483. "description" : "切换open_id后请使用:owner类型,PHONE为员工手机号,EMPLOYEE为员工open_id",
  99484. "example" : "abcdxxxx"
  99485. },
  99486. "owner_type" : {
  99487. "type" : "string",
  99488. "description" : "owner类型,用来表示owner_id的类型;\tenterprise_id支持PHONE、ENTERPRISE_PAY_UID类型;account_id支持EMPLOYEE类型",
  99489. "example" : "PHONE"
  99490. },
  99491. "user_name" : {
  99492. "type" : "string",
  99493. "description" : "员工姓名",
  99494. "example" : "测试"
  99495. }
  99496. }
  99497. },
  99498. "IsvAuthSceneInfo" : {
  99499. "type" : "object",
  99500. "properties" : {
  99501. "scene_code" : {
  99502. "type" : "string",
  99503. "description" : "运营场景编码\tOPERATION_POINTS:管理运营积分\tSHOP_MANAGE:管理球房信息\tMINI_APP_OPER:运营支付宝小程序\tPROMOTION_MANAGE:运营营销活动",
  99504. "example" : "PROMOTION_MANAGE"
  99505. },
  99506. "scene_permissions" : {
  99507. "type" : "string",
  99508. "description" : "运营场景下的权限编码,多个权限编码以,隔开\t1、管理球房信息:SHOP_MANAGE;基础权限(升级):SHOP_MANAGE_BASE\t2、运营营销活动:PROMOTION_MANAGE ;基础权限(升级):PROMOTION_MANAGE_BASE\t3、运营支付宝小程序:MINI_APP_OPER;基础权限(升级):MINI_APP_OPER_BASE\t4、管理运营积分:OPERATION_POINTS;基础权限(升级):OPERATION_POINTS_BASE",
  99509. "example" : "SHOP_MANAGE_BASE"
  99510. }
  99511. }
  99512. },
  99513. "IsvExpandOpporDTO" : {
  99514. "type" : "object",
  99515. "properties" : {
  99516. "address" : {
  99517. "type" : "string",
  99518. "description" : "商机地址",
  99519. "example" : "紫金港路与文二西路交叉口向西500米西城广场"
  99520. },
  99521. "leads_id" : {
  99522. "type" : "string",
  99523. "description" : "商机Id",
  99524. "example" : "2020092100009315"
  99525. },
  99526. "name" : {
  99527. "type" : "string",
  99528. "description" : "商机名称",
  99529. "example" : "测试"
  99530. },
  99531. "oppor_id" : {
  99532. "type" : "string",
  99533. "description" : "商机作业Id",
  99534. "example" : "2020092200010868"
  99535. },
  99536. "out_biz_no" : {
  99537. "type" : "string",
  99538. "description" : "外部幂等唯一键",
  99539. "example" : "out_biz_no"
  99540. },
  99541. "phone" : {
  99542. "type" : "string",
  99543. "description" : "商机联系电话",
  99544. "example" : "13812312323"
  99545. },
  99546. "status" : {
  99547. "type" : "string",
  99548. "description" : "商机作业状态",
  99549. "example" : "EXPANDED"
  99550. }
  99551. }
  99552. },
  99553. "IsvMerchantSalesDetailRequest" : {
  99554. "type" : "object",
  99555. "properties" : {
  99556. "coupons_quantity" : {
  99557. "type" : "string",
  99558. "description" : "配券数",
  99559. "example" : "1"
  99560. },
  99561. "device_detail" : {
  99562. "type" : "string",
  99563. "description" : "设备详情",
  99564. "example" : "此处为该设备的详细描述"
  99565. },
  99566. "merchant_pid" : {
  99567. "type" : "string",
  99568. "description" : "商户pid",
  99569. "example" : "2088301912341234"
  99570. },
  99571. "mini_appid" : {
  99572. "type" : "string",
  99573. "description" : "小程序appid,若推广的商品不为小程序,则不传此参数",
  99574. "example" : "2018082861168647"
  99575. },
  99576. "operation_place" : {
  99577. "type" : "string",
  99578. "description" : "作业地",
  99579. "example" : "浙江省杭州市西湖区蚂蚁A空间"
  99580. },
  99581. "out_biz_no" : {
  99582. "type" : "string",
  99583. "description" : "外部业务号,传isv系统生成的账单号,需要保证唯一",
  99584. "example" : "2021000000000"
  99585. },
  99586. "promotor_pid" : {
  99587. "type" : "string",
  99588. "description" : "推广服务商(S2)pid",
  99589. "example" : "2088301912341234"
  99590. },
  99591. "sales_amount" : {
  99592. "type" : "string",
  99593. "description" : "销售金额,这里填写的是整数,单位为分,比如1元,那么输入100",
  99594. "example" : "100"
  99595. },
  99596. "sales_quantity" : {
  99597. "type" : "string",
  99598. "description" : "销售笔数",
  99599. "example" : "100"
  99600. },
  99601. "sub_promotor_pid" : {
  99602. "type" : "string",
  99603. "description" : "推广服务商(S2)子账号pid",
  99604. "example" : "2088301912341234"
  99605. },
  99606. "write_off_amount" : {
  99607. "type" : "string",
  99608. "description" : "核销金额,这里填写的是整数,单位为分,比如1元,那么输入100",
  99609. "example" : "100"
  99610. },
  99611. "write_off_quantity" : {
  99612. "type" : "string",
  99613. "description" : "核销数",
  99614. "example" : "1"
  99615. }
  99616. }
  99617. },
  99618. "IsvSpiDefinition" : {
  99619. "type" : "object",
  99620. "properties" : {
  99621. "biz_code" : {
  99622. "type" : "string",
  99623. "description" : "ISV自定义的标识功能的业务代码,不可重复",
  99624. "example" : "hotline"
  99625. },
  99626. "description" : {
  99627. "type" : "string",
  99628. "description" : "spi功能描述",
  99629. "example" : "spi功能描述"
  99630. },
  99631. "icon" : {
  99632. "type" : "string",
  99633. "description" : "功能图标文件url",
  99634. "example" : "http://127.0.0.1/"
  99635. },
  99636. "spi_endpoint" : {
  99637. "type" : "string",
  99638. "description" : "spi接口服务地址",
  99639. "example" : "http://127.0.0.1/"
  99640. },
  99641. "spi_ext_property" : {
  99642. "type" : "string",
  99643. "description" : "spi接口扩展参数,json格式字符串",
  99644. "example" : "{\"key\":\"value\"}"
  99645. },
  99646. "spi_key" : {
  99647. "type" : "string",
  99648. "description" : "CCM预先定义的spi key,与插件位置有关",
  99649. "example" : "spi_alipay_iservice_ccm_menu"
  99650. },
  99651. "spi_name" : {
  99652. "type" : "string",
  99653. "description" : "SPI 名称",
  99654. "example" : "热线工作台"
  99655. }
  99656. }
  99657. },
  99658. "ItemConsultInfo" : {
  99659. "type" : "object",
  99660. "properties" : {
  99661. "item_id" : {
  99662. "type" : "string",
  99663. "description" : "商品id",
  99664. "example" : "20210105003"
  99665. },
  99666. "promo_amount" : {
  99667. "type" : "string",
  99668. "description" : "商品优惠金额,单位为元",
  99669. "example" : "3.0"
  99670. },
  99671. "promo_count" : {
  99672. "type" : "string",
  99673. "description" : "商品优惠数量",
  99674. "example" : "2"
  99675. }
  99676. }
  99677. },
  99678. "ItemConsultRequest" : {
  99679. "type" : "object",
  99680. "properties" : {
  99681. "item_id" : {
  99682. "type" : "string",
  99683. "description" : "商品id",
  99684. "example" : "20210105003"
  99685. },
  99686. "price" : {
  99687. "type" : "string",
  99688. "description" : "商品单价,单位为元,最多2位小数",
  99689. "example" : "20.29"
  99690. },
  99691. "quantity" : {
  99692. "type" : "string",
  99693. "description" : "商品数量",
  99694. "example" : "3"
  99695. }
  99696. }
  99697. },
  99698. "ItemExtInfo" : {
  99699. "type" : "object",
  99700. "properties" : {
  99701. "ext_key" : {
  99702. "type" : "string",
  99703. "description" : "扩展信息的key"
  99704. },
  99705. "ext_value" : {
  99706. "type" : "string",
  99707. "description" : "扩展信息的值"
  99708. }
  99709. }
  99710. },
  99711. "ItemInfo" : {
  99712. "type" : "object",
  99713. "properties" : {
  99714. "item_ids" : {
  99715. "type" : "array",
  99716. "description" : "券适用的单品码列表\r\t最少配置1个单品码\r\t最多配置500个单品码",
  99717. "items" : {
  99718. "type" : "string"
  99719. },
  99720. "example" : "0000123,0000124"
  99721. },
  99722. "item_imgs" : {
  99723. "type" : "array",
  99724. "description" : "单品图片列表\r\t单品图片不能超过3张",
  99725. "items" : {
  99726. "type" : "string"
  99727. },
  99728. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  99729. },
  99730. "item_link" : {
  99731. "type" : "string",
  99732. "description" : "单品券详细介绍跳转链接",
  99733. "example" : "www.taobao.com"
  99734. },
  99735. "item_name" : {
  99736. "type" : "string",
  99737. "description" : "单品名称",
  99738. "example" : "单品名称"
  99739. },
  99740. "item_text" : {
  99741. "type" : "string",
  99742. "description" : "单品券说明",
  99743. "example" : "单品券说明"
  99744. },
  99745. "max_discount_num" : {
  99746. "type" : "string",
  99747. "description" : "单品券适用的商品列表中,每一个商品最高可享受优惠的件数; \r\t如:券适用于A,B两种商品,该字段设置为1,则用券A,B两种商品每种最多只有一件可享受优惠;",
  99748. "example" : "1"
  99749. },
  99750. "min_consume_num" : {
  99751. "type" : "string",
  99752. "description" : "单品券适用商品列表中,每种商品享受优惠最低购买件数的门槛;\r\t如:券适用于A,B两种商品,该字段设置为3,则A,B两种商品每种最少需要购买3件才可享受优惠;",
  99753. "example" : "1"
  99754. },
  99755. "original_price" : {
  99756. "type" : "string",
  99757. "description" : "单品的原价,单位元\r\t必须为合法金额类型字符串,如9.99",
  99758. "example" : "28.88"
  99759. },
  99760. "sku_min_consume" : {
  99761. "type" : "string",
  99762. "description" : "券适用SKU的最低消费金额门槛\r\t如券适用A,B两个SKU,该字段设置的值为100,则订单中购买A,B两个SKU的合计金额需大于100元才可用券",
  99763. "example" : "10"
  99764. },
  99765. "total_max_discount_num" : {
  99766. "type" : "string",
  99767. "description" : "如果一个单品券适用A,B,C三个单品,若设置了该字段为2,则在一笔交易中,A,B,C三个单品加起来最多只有俩件能够享受优惠",
  99768. "example" : "10"
  99769. }
  99770. }
  99771. },
  99772. "ItemLabelCreateInfo" : {
  99773. "type" : "object",
  99774. "properties" : {
  99775. "label_key" : {
  99776. "type" : "string",
  99777. "description" : "标签键\r\tOIL_NUM:油号",
  99778. "example" : "OIL_NUM"
  99779. },
  99780. "label_value" : {
  99781. "type" : "string",
  99782. "description" : "标签值:\r\tOIL_NUM对应的值为:95# 92# 98# 等等",
  99783. "example" : "95#"
  99784. }
  99785. }
  99786. },
  99787. "ItemLabelModifyInfo" : {
  99788. "type" : "object",
  99789. "properties" : {
  99790. "label_key" : {
  99791. "type" : "string",
  99792. "description" : "标签键\r\tOIL_NUM:油号",
  99793. "example" : "OIL_NUM"
  99794. },
  99795. "label_value" : {
  99796. "type" : "string",
  99797. "description" : "标签值:\r\tOIL_NUM对应的值为:95# 92# 98# 等等",
  99798. "example" : "95#"
  99799. }
  99800. }
  99801. },
  99802. "ItemModel" : {
  99803. "type" : "object",
  99804. "properties" : {
  99805. "creator_id" : {
  99806. "type" : "string",
  99807. "description" : "创建者id",
  99808. "example" : "1"
  99809. },
  99810. "creator_type" : {
  99811. "type" : "string",
  99812. "description" : "创建者类型",
  99813. "example" : "SYSTEM"
  99814. },
  99815. "ext_info" : {
  99816. "type" : "string",
  99817. "description" : "商品扩展信息:可以解析成 Map<String, String> 的 json string",
  99818. "example" : "{\"DISCOUNT\": \"88\"}"
  99819. },
  99820. "front_category_id" : {
  99821. "type" : "string",
  99822. "description" : "前台类目id",
  99823. "example" : "2018091300502200002600105884"
  99824. },
  99825. "gmt_create" : {
  99826. "type" : "string",
  99827. "description" : "商品创建时间",
  99828. "example" : "2018-09-25 19:41:34"
  99829. },
  99830. "gmt_modified" : {
  99831. "type" : "string",
  99832. "description" : "商品更新时间",
  99833. "example" : "2018-09-25 19:41:34"
  99834. },
  99835. "item_id" : {
  99836. "type" : "string",
  99837. "description" : "商品id",
  99838. "example" : "2018091300502200004300103587"
  99839. },
  99840. "name" : {
  99841. "type" : "string",
  99842. "description" : "商品名称",
  99843. "example" : "西红柿炒蛋"
  99844. },
  99845. "sku_list" : {
  99846. "type" : "array",
  99847. "description" : "商品sku列表",
  99848. "items" : {
  99849. "$ref" : "#/components/schemas/ItemSkuInfo"
  99850. }
  99851. },
  99852. "sort" : {
  99853. "type" : "integer",
  99854. "description" : "商品排序",
  99855. "example" : "0"
  99856. },
  99857. "status" : {
  99858. "type" : "string",
  99859. "description" : "商品状态",
  99860. "example" : "EFFECT"
  99861. },
  99862. "target_id" : {
  99863. "type" : "string",
  99864. "description" : "商户归属主体id",
  99865. "example" : "2018090600502000000022501261"
  99866. },
  99867. "target_type" : {
  99868. "type" : "string",
  99869. "description" : "商品归属主体类型:5(商铺)",
  99870. "example" : "5"
  99871. },
  99872. "type" : {
  99873. "type" : "string",
  99874. "description" : "商品类型",
  99875. "example" : "STANDARD_GOODS"
  99876. }
  99877. }
  99878. },
  99879. "ItemOrderInfo" : {
  99880. "type" : "object",
  99881. "properties" : {
  99882. "ext_info" : {
  99883. "type" : "array",
  99884. "description" : "扩展信息,请参见产品文档。小程序订单助手业务中,扩展参数必须传递素材id;其他业务场景参见对应的产品文档。",
  99885. "items" : {
  99886. "$ref" : "#/components/schemas/OrderExtInfo"
  99887. }
  99888. },
  99889. "item_id" : {
  99890. "type" : "string",
  99891. "description" : "商品 id",
  99892. "example" : "2018111300502228000000177053"
  99893. },
  99894. "item_name" : {
  99895. "type" : "string",
  99896. "description" : "商品名称",
  99897. "example" : "苹果"
  99898. },
  99899. "quantity" : {
  99900. "type" : "integer",
  99901. "description" : "商品数量(单位:自拟)。\t小程序订单助手业务中,为必传;其他业务场景参见对应的产品文档。",
  99902. "example" : "20"
  99903. },
  99904. "sku_id" : {
  99905. "type" : "string",
  99906. "description" : "商品 sku id",
  99907. "example" : "2018111300502205000000176601"
  99908. },
  99909. "status" : {
  99910. "type" : "string",
  99911. "description" : "商品状态枚举,默认无需传入,如需使用请联系业务负责人",
  99912. "example" : "PAID"
  99913. },
  99914. "status_desc" : {
  99915. "type" : "string",
  99916. "description" : "商品状态描述,默认无需传入,如需使用请联系业务负责人",
  99917. "example" : "已付款"
  99918. },
  99919. "unit" : {
  99920. "type" : "string",
  99921. "description" : "商品规格",
  99922. "example" : "斤"
  99923. },
  99924. "unit_price" : {
  99925. "type" : "string",
  99926. "description" : "商品单价(单位:元)。\t小程序订单助手业务中,为必传;其他业务场景参见对应的产品文档。",
  99927. "example" : "13.18"
  99928. }
  99929. }
  99930. },
  99931. "ItemPlanContentDO" : {
  99932. "type" : "object",
  99933. "properties" : {
  99934. "codes" : {
  99935. "type" : "array",
  99936. "description" : "对应服务库编码",
  99937. "items" : {
  99938. "type" : "string"
  99939. },
  99940. "example" : "[\"400000000207968215\"]"
  99941. },
  99942. "type" : {
  99943. "type" : "string",
  99944. "description" : "条目类型,必须, 商品:ITEM",
  99945. "example" : "ITEM"
  99946. }
  99947. }
  99948. },
  99949. "ItemPromoInfo" : {
  99950. "type" : "object",
  99951. "properties" : {
  99952. "item_consult_list" : {
  99953. "type" : "array",
  99954. "description" : "商品咨询列表",
  99955. "items" : {
  99956. "$ref" : "#/components/schemas/ItemConsultInfo"
  99957. }
  99958. },
  99959. "item_cover_pic" : {
  99960. "type" : "string",
  99961. "description" : "单品封面图",
  99962. "example" : "https://gw.alipayobjects.com/mdn/rms_9822d7/afts/img/A*1F4eSaaPHRQAAAAAAAAAAABkARQnAQ"
  99963. },
  99964. "item_desc" : {
  99965. "type" : "string",
  99966. "description" : "单品描述",
  99967. "example" : "宝洁洗护用品促销"
  99968. },
  99969. "item_detail_pic_list" : {
  99970. "type" : "array",
  99971. "description" : "单品详情图列表",
  99972. "items" : {
  99973. "type" : "string"
  99974. },
  99975. "example" : "[\"https://gw.alipayobjects.com/mdn/rms_9822d7/afts/img/A*1F4eSaaPHRQAAAAAAAAAAABkARQnAQ\"]"
  99976. },
  99977. "item_name" : {
  99978. "type" : "string",
  99979. "description" : "单品名称",
  99980. "example" : "宝洁洗护用品"
  99981. }
  99982. }
  99983. },
  99984. "ItemPropertyInfo" : {
  99985. "type" : "object",
  99986. "properties" : {
  99987. "property_key" : {
  99988. "type" : "string",
  99989. "description" : "属性名称"
  99990. },
  99991. "property_value_list" : {
  99992. "type" : "array",
  99993. "description" : "属性值列表",
  99994. "items" : {
  99995. "type" : "string"
  99996. }
  99997. }
  99998. }
  99999. },
  100000. "ItemSkuCreateInfo" : {
  100001. "type" : "object",
  100002. "properties" : {
  100003. "cost_price" : {
  100004. "type" : "integer",
  100005. "description" : "成本价,单位分",
  100006. "example" : "100"
  100007. },
  100008. "ext_info" : {
  100009. "type" : "array",
  100010. "description" : "SKU扩展信息",
  100011. "items" : {
  100012. "$ref" : "#/components/schemas/ItemExtInfo"
  100013. }
  100014. },
  100015. "external_sku_id" : {
  100016. "type" : "string",
  100017. "description" : "外部SKU ID",
  100018. "example" : "201909161232534324124123"
  100019. },
  100020. "inventory" : {
  100021. "type" : "integer",
  100022. "description" : "库存",
  100023. "example" : "100"
  100024. },
  100025. "original_price" : {
  100026. "type" : "integer",
  100027. "description" : "标价,单位分",
  100028. "example" : "100"
  100029. },
  100030. "price" : {
  100031. "type" : "integer",
  100032. "description" : "售价,单位分",
  100033. "example" : "100"
  100034. }
  100035. }
  100036. },
  100037. "ItemSkuInfo" : {
  100038. "type" : "object",
  100039. "properties" : {
  100040. "cost_price" : {
  100041. "type" : "integer",
  100042. "description" : "成本价,单位分",
  100043. "example" : "100"
  100044. },
  100045. "ext_info" : {
  100046. "type" : "array",
  100047. "description" : "SKU扩展信息",
  100048. "items" : {
  100049. "$ref" : "#/components/schemas/ItemExtInfo"
  100050. }
  100051. },
  100052. "gmt_create" : {
  100053. "type" : "string",
  100054. "description" : "创建时间",
  100055. "example" : "2018-09-26 11:12:54"
  100056. },
  100057. "gmt_modified" : {
  100058. "type" : "string",
  100059. "description" : "更新时间",
  100060. "example" : "2018-09-26 11:12:54"
  100061. },
  100062. "item_id" : {
  100063. "type" : "string",
  100064. "description" : "商品id",
  100065. "example" : "2018091300502200004400104166"
  100066. },
  100067. "original_price" : {
  100068. "type" : "integer",
  100069. "description" : "标价,单位分",
  100070. "example" : "100"
  100071. },
  100072. "price" : {
  100073. "type" : "integer",
  100074. "description" : "售价,单位分",
  100075. "example" : "100"
  100076. },
  100077. "sku_id" : {
  100078. "type" : "string",
  100079. "description" : "商品sku id",
  100080. "example" : "2018091300502200001600103072"
  100081. },
  100082. "status" : {
  100083. "type" : "string",
  100084. "description" : "商品SKU状态:EFFECT、INVALID",
  100085. "example" : "EFFECT"
  100086. }
  100087. }
  100088. },
  100089. "ItemSkuModifyInfo" : {
  100090. "type" : "object",
  100091. "properties" : {
  100092. "cost_price" : {
  100093. "type" : "integer",
  100094. "description" : "成本价,单位分",
  100095. "example" : "100"
  100096. },
  100097. "ext_info" : {
  100098. "type" : "array",
  100099. "description" : "SKU扩展信息",
  100100. "items" : {
  100101. "$ref" : "#/components/schemas/ItemExtInfo"
  100102. }
  100103. },
  100104. "external_sku_id" : {
  100105. "type" : "string",
  100106. "description" : "外部skuId(sku_id不为空时作为普通更新项,sku_id为空时作为更新key,sku_id和该字段同时为空则新增该条数据)",
  100107. "example" : "20190916123124234235234"
  100108. },
  100109. "inventory" : {
  100110. "type" : "integer",
  100111. "description" : "库存",
  100112. "example" : "100"
  100113. },
  100114. "original_price" : {
  100115. "type" : "integer",
  100116. "description" : "标价,单位分",
  100117. "example" : "100"
  100118. },
  100119. "price" : {
  100120. "type" : "integer",
  100121. "description" : "售价,单位分",
  100122. "example" : "100"
  100123. },
  100124. "sku_id" : {
  100125. "type" : "string",
  100126. "description" : "skuId",
  100127. "example" : "2018092600502220000000100274"
  100128. },
  100129. "status" : {
  100130. "type" : "string",
  100131. "description" : "商品SKU状态:EFFECT、INVALID",
  100132. "example" : "EFFECT"
  100133. }
  100134. }
  100135. },
  100136. "ItemSkuPropertyInfo" : {
  100137. "type" : "object",
  100138. "properties" : {
  100139. "property_key" : {
  100140. "type" : "string",
  100141. "description" : "属性"
  100142. },
  100143. "property_value" : {
  100144. "type" : "string",
  100145. "description" : "属性值"
  100146. }
  100147. }
  100148. },
  100149. "JinyouTestFive" : {
  100150. "type" : "object",
  100151. "properties" : {
  100152. "f_1_f" : {
  100153. "$ref" : "#/components/schemas/JinyouTestFour"
  100154. },
  100155. "f_2_f" : {
  100156. "$ref" : "#/components/schemas/JinyouTestThree"
  100157. },
  100158. "f_3_openid" : {
  100159. "type" : "string",
  100160. "description" : "1",
  100161. "example" : "xxxxxscddcd"
  100162. },
  100163. "f_3_y" : {
  100164. "type" : "string",
  100165. "description" : "1",
  100166. "example" : "1"
  100167. },
  100168. "f_4_n" : {
  100169. "type" : "string",
  100170. "description" : "3",
  100171. "example" : "2"
  100172. }
  100173. }
  100174. },
  100175. "JinyouTestFour" : {
  100176. "type" : "object",
  100177. "properties" : {
  100178. "f_1_openid" : {
  100179. "type" : "string",
  100180. "description" : "1",
  100181. "example" : "xxxxxscddcd"
  100182. },
  100183. "f_1_y" : {
  100184. "type" : "string",
  100185. "description" : "1",
  100186. "example" : "1"
  100187. },
  100188. "f_2_f" : {
  100189. "$ref" : "#/components/schemas/JinyouTestThree"
  100190. },
  100191. "f_3_openid" : {
  100192. "type" : "string",
  100193. "description" : "1",
  100194. "example" : "xxxxxscddcd"
  100195. },
  100196. "f_3_y" : {
  100197. "type" : "integer",
  100198. "description" : "1",
  100199. "example" : "1"
  100200. }
  100201. }
  100202. },
  100203. "JinyouTestOne" : {
  100204. "type" : "object",
  100205. "properties" : {
  100206. "o_1_n" : {
  100207. "type" : "string",
  100208. "description" : "1"
  100209. },
  100210. "o_2_openid" : {
  100211. "type" : "string",
  100212. "description" : "o_2_y"
  100213. },
  100214. "o_2_y" : {
  100215. "type" : "string",
  100216. "description" : "o_2_y"
  100217. },
  100218. "o_3_openid" : {
  100219. "type" : "string",
  100220. "description" : "o_3_y"
  100221. },
  100222. "o_3_y" : {
  100223. "type" : "integer",
  100224. "description" : "o_3_y"
  100225. }
  100226. }
  100227. },
  100228. "JinyouTestThree" : {
  100229. "type" : "object",
  100230. "properties" : {
  100231. "th_1_f" : {
  100232. "$ref" : "#/components/schemas/JinyouTestTwo"
  100233. },
  100234. "th_2_n" : {
  100235. "type" : "string",
  100236. "description" : "无枚举值"
  100237. },
  100238. "th_3_n" : {
  100239. "type" : "boolean",
  100240. "description" : "1"
  100241. }
  100242. }
  100243. },
  100244. "JinyouTestTwo" : {
  100245. "type" : "object",
  100246. "properties" : {
  100247. "t_1_openid" : {
  100248. "type" : "string",
  100249. "description" : "1"
  100250. },
  100251. "t_1_y" : {
  100252. "type" : "string",
  100253. "description" : "1"
  100254. },
  100255. "t_2_f" : {
  100256. "$ref" : "#/components/schemas/JinyouTestOne"
  100257. },
  100258. "t_3_n" : {
  100259. "type" : "string",
  100260. "description" : "1"
  100261. }
  100262. }
  100263. },
  100264. "JinyoutestopenidOne" : {
  100265. "type" : "object",
  100266. "properties" : {
  100267. "c_1" : {
  100268. "type" : "string",
  100269. "description" : "我晚点",
  100270. "example" : "4"
  100271. },
  100272. "q" : {
  100273. "type" : "string",
  100274. "description" : "1",
  100275. "example" : "1"
  100276. },
  100277. "q_1_open_id" : {
  100278. "type" : "string",
  100279. "description" : "1",
  100280. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  100281. }
  100282. }
  100283. },
  100284. "JinyoutestopenidThree" : {
  100285. "type" : "object",
  100286. "properties" : {
  100287. "a" : {
  100288. "type" : "string",
  100289. "description" : "12",
  100290. "example" : "a_noopenid无"
  100291. },
  100292. "b" : {
  100293. "type" : "string",
  100294. "description" : "有openid,无枚举,有注意事项",
  100295. "example" : "21"
  100296. },
  100297. "b_open_id" : {
  100298. "type" : "string",
  100299. "description" : "有openid,无枚举,有注意事项",
  100300. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  100301. },
  100302. "f" : {
  100303. "$ref" : "#/components/schemas/JinyoutestopenidTwo"
  100304. }
  100305. }
  100306. },
  100307. "JinyoutestopenidTwo" : {
  100308. "type" : "object",
  100309. "properties" : {
  100310. "a" : {
  100311. "type" : "string",
  100312. "description" : "无openid,有枚举值,有注意事项",
  100313. "example" : "hjkhjc"
  100314. },
  100315. "b" : {
  100316. "type" : "string",
  100317. "description" : "有openid,无枚举值,无注意事项",
  100318. "example" : "7878789"
  100319. },
  100320. "b_open_id" : {
  100321. "type" : "string",
  100322. "description" : "有openid,无枚举值,无注意事项,openid有注意事项",
  100323. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  100324. },
  100325. "f" : {
  100326. "$ref" : "#/components/schemas/JinyoutestopenidOne"
  100327. }
  100328. }
  100329. },
  100330. "JobWorthJobdata" : {
  100331. "type" : "object",
  100332. "properties" : {
  100333. "certificate_grant_institution" : {
  100334. "type" : "string",
  100335. "description" : "证书发证机构",
  100336. "example" : "浙江省杭州市西湖区红十字会"
  100337. },
  100338. "certificate_id" : {
  100339. "type" : "string",
  100340. "description" : "证书编号",
  100341. "example" : "abcd12345678"
  100342. },
  100343. "certificate_level" : {
  100344. "type" : "string",
  100345. "description" : "证书等级:中文",
  100346. "example" : "初级"
  100347. },
  100348. "certificate_name" : {
  100349. "type" : "string",
  100350. "description" : "证书名称",
  100351. "example" : "健康管理师"
  100352. },
  100353. "certificate_pic_id" : {
  100354. "type" : "string",
  100355. "description" : "工作证图片上传接口返回的id",
  100356. "example" : "abcd12345678"
  100357. },
  100358. "company_name" : {
  100359. "type" : "string",
  100360. "description" : "公司名称",
  100361. "example" : "上海依多企业管理有限公司"
  100362. },
  100363. "degree" : {
  100364. "type" : "string",
  100365. "description" : "学历,可以用以下字段HIGHSCHOOL_AND_BELOW(高中及以下),POLYTECHNIC(中专),COLLEGE(大专),BACHELOR(本科),MASTER(硕士),DOCTOR_AND_ABOVE(博士及以上)",
  100366. "example" : "BACHELOR"
  100367. },
  100368. "delivery_position_id" : {
  100369. "type" : "string",
  100370. "description" : "商户侧投递岗位id",
  100371. "example" : "xxxxx"
  100372. },
  100373. "delivery_time" : {
  100374. "type" : "integer",
  100375. "description" : "投递时间戳",
  100376. "example" : "9999"
  100377. },
  100378. "education_status" : {
  100379. "type" : "string",
  100380. "description" : "教育状态只有两种,GRADUATE(毕业),STUDY(未毕业)",
  100381. "example" : "GRADUATE"
  100382. },
  100383. "entry_no" : {
  100384. "type" : "string",
  100385. "description" : "报名流水号",
  100386. "example" : "1235446"
  100387. },
  100388. "exam_score" : {
  100389. "type" : "string",
  100390. "description" : "考试分数",
  100391. "example" : "85"
  100392. },
  100393. "head_pic_id" : {
  100394. "type" : "string",
  100395. "description" : "工作证图片上传接口返回的id",
  100396. "example" : "abcd123456"
  100397. },
  100398. "intention_city" : {
  100399. "type" : "string",
  100400. "description" : "求职意向,城市的adccode 例如110000(北京市)",
  100401. "example" : "110000"
  100402. },
  100403. "issue_date" : {
  100404. "type" : "string",
  100405. "description" : "发证日期,ms时间戳",
  100406. "example" : "1668743509506"
  100407. },
  100408. "job_id" : {
  100409. "type" : "string",
  100410. "description" : "岗位对应的职业id,字段参考https://www.yuque.com/wx3dkp/gwckr4/bs03t3",
  100411. "example" : "5278A2C2001"
  100412. },
  100413. "job_name" : {
  100414. "type" : "string",
  100415. "description" : "职业名称",
  100416. "example" : "后端开发"
  100417. },
  100418. "ka_job_id" : {
  100419. "type" : "string",
  100420. "description" : "商户职业Id",
  100421. "example" : "abc123"
  100422. },
  100423. "ka_job_name" : {
  100424. "type" : "string",
  100425. "description" : "商户职业名称",
  100426. "example" : "电工"
  100427. },
  100428. "ka_profession_id" : {
  100429. "type" : "string",
  100430. "description" : "商户行业Id",
  100431. "example" : "abc"
  100432. },
  100433. "ka_profession_name" : {
  100434. "type" : "string",
  100435. "description" : "商户行业名称",
  100436. "example" : "建筑业"
  100437. },
  100438. "location" : {
  100439. "type" : "string",
  100440. "description" : "省份",
  100441. "example" : "浙江"
  100442. },
  100443. "month" : {
  100444. "type" : "string",
  100445. "description" : "毕业的月",
  100446. "example" : "7"
  100447. },
  100448. "once_token" : {
  100449. "type" : "string",
  100450. "description" : "对应类型相关接口生成",
  100451. "example" : "12345678qwe123"
  100452. },
  100453. "profession_id" : {
  100454. "type" : "string",
  100455. "description" : "岗位对应的行业id,字段参考https://www.yuque.com/wx3dkp/gwckr4/bs03t3",
  100456. "example" : "5378A2C2"
  100457. },
  100458. "profession_name" : {
  100459. "type" : "string",
  100460. "description" : "行业名称",
  100461. "example" : "IT互联网"
  100462. },
  100463. "salary_max" : {
  100464. "type" : "string",
  100465. "description" : "求职意向,薪水范围,不能低于salary_min",
  100466. "example" : "3000"
  100467. },
  100468. "salary_min" : {
  100469. "type" : "string",
  100470. "description" : "求职意向,薪水范围,不能高于salary_max",
  100471. "example" : "1000"
  100472. },
  100473. "salary_unit" : {
  100474. "type" : "string",
  100475. "description" : "薪资单位,元/日(DAY)、元/次(TIME)、元/月(MONTH)、元/小时(HOUR)、元/件 (NUM)、元/周 (WEEK)、其他 (OTHER)",
  100476. "example" : "DAY"
  100477. },
  100478. "school_name" : {
  100479. "type" : "string",
  100480. "description" : "学校",
  100481. "example" : "浙江大学"
  100482. },
  100483. "skill_name" : {
  100484. "type" : "string",
  100485. "description" : "用英文逗号分隔,最多6项",
  100486. "example" : "木工,电工"
  100487. },
  100488. "start_time" : {
  100489. "type" : "string",
  100490. "description" : "参加工作的时间,格式形如 2011-07",
  100491. "example" : "2011-07"
  100492. },
  100493. "type" : {
  100494. "type" : "string",
  100495. "description" : "信息类型",
  100496. "example" : "certificate"
  100497. },
  100498. "valid_date_end" : {
  100499. "type" : "string",
  100500. "description" : "有效期:开始结束 ms 时间戳",
  100501. "example" : "1668743509506"
  100502. },
  100503. "valid_date_start" : {
  100504. "type" : "string",
  100505. "description" : "有效期:开始时间 ms时间戳",
  100506. "example" : "1668743509506"
  100507. },
  100508. "verify_status" : {
  100509. "type" : "string",
  100510. "description" : "校验状态",
  100511. "example" : "\"true\""
  100512. },
  100513. "work_desc" : {
  100514. "type" : "string",
  100515. "description" : "工作描述",
  100516. "example" : "岗位职责1、负责自媒体公众号的图片创作编辑2、擅长手绘图像、漫画图像制作3、思维活跃,能够根据所给要求完成一篇情景剧的漫画图案设计4、能够配合工作需求完成工作任务岗位要求1、漫画设计功底较强,能够独立完成创作编辑2、会使用相关修图软件,能独立处理图片3、有相关工作经验优先,艺术学院在校大学生优先"
  100517. },
  100518. "work_end_time" : {
  100519. "type" : "string",
  100520. "description" : "工作结束时间,毫秒级时间戳",
  100521. "example" : "1651138651000"
  100522. },
  100523. "work_property" : {
  100524. "type" : "string",
  100525. "description" : "岗位属性:全职(FULL_TIME)或者兼职(PART_TIME)",
  100526. "example" : "FULL_TIME"
  100527. },
  100528. "work_start_time" : {
  100529. "type" : "string",
  100530. "description" : "工作开始时间,毫秒级时间戳",
  100531. "example" : "1651138484000"
  100532. },
  100533. "year" : {
  100534. "type" : "string",
  100535. "description" : "毕业的年",
  100536. "example" : "2011"
  100537. }
  100538. }
  100539. },
  100540. "JobWorthPositionInfo" : {
  100541. "type" : "object",
  100542. "properties" : {
  100543. "age" : {
  100544. "type" : "string",
  100545. "description" : "职位要求-年龄要求\t无要求(不传)、28岁以上(OVER28)、40岁以下(BELOW40)、25岁~35岁(25TO35)",
  100546. "example" : "OVER28"
  100547. },
  100548. "benefit" : {
  100549. "type" : "string",
  100550. "description" : "福利,现有标签,最多5个标签,使用英文,分割\t参考\thttps://www.yuque.com/docs/share/805e9840-ae9d-499c-b566-46b3b8c9fb2d?# 《4.1 服务端接入----职位传入接口》的1.3.1.1",
  100551. "example" : "五险一金,双休"
  100552. },
  100553. "certifications" : {
  100554. "type" : "string",
  100555. "description" : "技能、证书等要求,比如学历、健康证、普通话或其他技能证书等",
  100556. "example" : "特种工作证,健康证"
  100557. },
  100558. "company_certificate" : {
  100559. "type" : "string",
  100560. "description" : "发布企业统一社会信用代码",
  100561. "example" : "91330200750364874C"
  100562. },
  100563. "company_logo_afts_id" : {
  100564. "type" : "string",
  100565. "description" : "上传的aftsid",
  100566. "example" : "xxxx"
  100567. },
  100568. "company_name" : {
  100569. "type" : "string",
  100570. "description" : "企业工商全称",
  100571. "example" : "杭州希德利餐饮管理有限公司"
  100572. },
  100573. "count" : {
  100574. "type" : "integer",
  100575. "description" : "招聘人数",
  100576. "example" : "8"
  100577. },
  100578. "education" : {
  100579. "type" : "string",
  100580. "description" : "学历要求,HIGHSCHOOL_AND_BELOW(高中及以下),POLYTECHNIC(中专),COLLEGE(大专),BACHELOR(本科),MASTER(硕士),DOCTOR_AND_ABOVE(博士及以上)",
  100581. "example" : "BACHELOR"
  100582. },
  100583. "gender" : {
  100584. "type" : "string",
  100585. "description" : "无要求(不传)、男或者女",
  100586. "example" : "男"
  100587. },
  100588. "ka_position_id" : {
  100589. "type" : "string",
  100590. "description" : "合作方岗位id自定义保持唯一性",
  100591. "example" : "20881234567"
  100592. },
  100593. "position_desc" : {
  100594. "type" : "string",
  100595. "description" : "长文本描述",
  100596. "example" : "职位描述"
  100597. },
  100598. "position_id" : {
  100599. "type" : "string",
  100600. "description" : "工作证岗位库的职位主键,只有更新职位信息时需要传入。第一次传入岗位后返回",
  100601. "example" : "123456789012345678901234"
  100602. },
  100603. "position_job_id" : {
  100604. "type" : "string",
  100605. "description" : "岗位对应的行业id,字段参考https://www.yuque.com/docs/share/805e9840-ae9d-499c-b566-46b3b8c9fb2d?# 《4.1 服务端接入----职位传入接口》的1.3.1.2",
  100606. "example" : "5378A2C2001"
  100607. },
  100608. "position_job_name" : {
  100609. "type" : "string",
  100610. "description" : "岗位对应的职业名称",
  100611. "example" : "服务端开发工程师"
  100612. },
  100613. "position_profession_id" : {
  100614. "type" : "string",
  100615. "description" : "岗位对应的职业id,字段参考https://www.yuque.com/docs/share/805e9840-ae9d-499c-b566-46b3b8c9fb2d?# 《4.1 服务端接入----职位传入接口》的1.3.1.2",
  100616. "example" : "5278A2C2"
  100617. },
  100618. "position_property" : {
  100619. "type" : "string",
  100620. "description" : "岗位属性:全职(FULL_TIME)或者兼职(PART_TIME)",
  100621. "example" : "FULL_TIME"
  100622. },
  100623. "position_status" : {
  100624. "type" : "string",
  100625. "description" : "职位的状态,只有上架(UNCHECK)和下架(OFFLINE)两种",
  100626. "example" : "UNCHECK"
  100627. },
  100628. "position_title" : {
  100629. "type" : "string",
  100630. "description" : "短文本描述",
  100631. "example" : "日结洗碗工"
  100632. },
  100633. "salary_max" : {
  100634. "type" : "string",
  100635. "description" : "薪水范围,不能低于salary_min",
  100636. "example" : "3000"
  100637. },
  100638. "salary_min" : {
  100639. "type" : "string",
  100640. "description" : "薪水范围,不能高于salary_max",
  100641. "example" : "2000"
  100642. },
  100643. "salary_type" : {
  100644. "type" : "string",
  100645. "description" : "薪资类型:日结(DAY)、月结(MONTH)、周结(WEEK)、完工结(DONE)、其他(OTHER)",
  100646. "example" : "DAY"
  100647. },
  100648. "salary_unit" : {
  100649. "type" : "string",
  100650. "description" : "薪资单位,元/日(DAY)、元/次(TIME)、元/月(MONTH)、元/小时(HOUR)、元/件 (NUM)、元/周 (WEEK)、其他 (OTHER)",
  100651. "example" : "DAY"
  100652. },
  100653. "skill_tag" : {
  100654. "type" : "string",
  100655. "description" : "岗位需要的技能标签,最多5个,使用英文逗号分割",
  100656. "example" : "java,linux"
  100657. },
  100658. "skip_url" : {
  100659. "type" : "string",
  100660. "description" : "职位跳转链接,当前只支持支付宝小程序,也就是alipays://platformapi/ 开头",
  100661. "example" : "alipays://platformapi/startapp?"
  100662. },
  100663. "work_city" : {
  100664. "type" : "string",
  100665. "description" : "高德city code,例:北京010,线上工作9999\t参考https://www.yuque.com/docs/share/805e9840-ae9d-499c-b566-46b3b8c9fb2d?# 《4.1 服务端接入----职位传入接口》的1.3.1.3",
  100666. "example" : "010"
  100667. },
  100668. "work_longitude" : {
  100669. "type" : "string",
  100670. "description" : "经纬度,前面是经度,后面是纬度,使用英文逗号隔开",
  100671. "example" : "116.396574,39.992706"
  100672. },
  100673. "work_region" : {
  100674. "type" : "string",
  100675. "description" : "工作地所在的区县,使用高德的adcode,例:朝阳区110105\t参考https://www.yuque.com/docs/share/805e9840-ae9d-499c-b566-46b3b8c9fb2d?# 《4.1 服务端接入----职位传入接口》的1.3.1.2",
  100676. "example" : "110105"
  100677. },
  100678. "work_year" : {
  100679. "type" : "string",
  100680. "description" : "工作年限,1年以下(ONE)、1~3年(THREE)、3~5年(FIVE)、5~10年(TEN)、10年以上(OVER_TEN)",
  100681. "example" : "TEN"
  100682. }
  100683. }
  100684. },
  100685. "JointAccountBillDetail" : {
  100686. "type" : "object",
  100687. "properties" : {
  100688. "amount" : {
  100689. "type" : "string",
  100690. "description" : "消费金额,单位:元",
  100691. "example" : "100.00"
  100692. },
  100693. "bill_no" : {
  100694. "type" : "string",
  100695. "description" : "账单业务号",
  100696. "example" : "2022051204200202001000473989_2022051230000200020601732777"
  100697. },
  100698. "biz_date" : {
  100699. "type" : "string",
  100700. "description" : "业务时间",
  100701. "example" : "2022-05-01 00:00:00"
  100702. },
  100703. "biz_no" : {
  100704. "type" : "string",
  100705. "description" : "订单号",
  100706. "example" : "2020102604200204001063507418"
  100707. },
  100708. "enterprise_id" : {
  100709. "type" : "string",
  100710. "description" : "企业ID",
  100711. "example" : "2088000000000000"
  100712. },
  100713. "in_out" : {
  100714. "type" : "string",
  100715. "description" : "1-退款,2-支付",
  100716. "example" : "1"
  100717. },
  100718. "open_id" : {
  100719. "type" : "string",
  100720. "description" : "用户支付宝uid",
  100721. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  100722. },
  100723. "title" : {
  100724. "type" : "string",
  100725. "description" : "账单标题",
  100726. "example" : "消费账单"
  100727. },
  100728. "user_id" : {
  100729. "type" : "string",
  100730. "description" : "用户支付宝uid",
  100731. "example" : "2088000000000000"
  100732. }
  100733. }
  100734. },
  100735. "JointAccountBillDetailDTO" : {
  100736. "type" : "object",
  100737. "properties" : {
  100738. "account_id" : {
  100739. "type" : "string",
  100740. "description" : "共同账户ID",
  100741. "example" : "2088900976746215"
  100742. },
  100743. "amount" : {
  100744. "type" : "string",
  100745. "description" : "消费金额",
  100746. "example" : "1"
  100747. },
  100748. "bill_no" : {
  100749. "type" : "string",
  100750. "description" : "账单业务号",
  100751. "example" : "2022051204200202001000473989_2022051230000200020601732777"
  100752. },
  100753. "biz_date" : {
  100754. "type" : "string",
  100755. "description" : "业务时间",
  100756. "example" : "2020-01-01 00:00"
  100757. },
  100758. "biz_no" : {
  100759. "type" : "string",
  100760. "description" : "订单号",
  100761. "example" : "2020102604200204001063507418"
  100762. },
  100763. "in_out" : {
  100764. "type" : "string",
  100765. "description" : "1-退款,2-支付",
  100766. "example" : "1"
  100767. },
  100768. "open_id" : {
  100769. "type" : "string",
  100770. "description" : "共同账户消费的成员openid",
  100771. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  100772. },
  100773. "out_trade_no" : {
  100774. "type" : "string",
  100775. "description" : "外部交易单号,正向支付为外部交易单号,逆向退款是为外部退款单号",
  100776. "example" : "Q1312312312313"
  100777. },
  100778. "seller_full_name" : {
  100779. "type" : "string",
  100780. "description" : "间连商户显示二级商户全名,直连、直付通则显示一级商户全名。企业商户该字段不脱敏,非企业商户该字段会脱敏",
  100781. "example" : "信息有限公司"
  100782. },
  100783. "seller_logon_id" : {
  100784. "type" : "string",
  100785. "description" : "收款方登录号信息。间连商户显示二级商户的登录号信息;直连、直付通显示一级商户的登录号信息;该字段脱敏",
  100786. "example" : "19927441769"
  100787. },
  100788. "title" : {
  100789. "type" : "string",
  100790. "description" : "账单标题",
  100791. "example" : "新电途(银通新能源:325616137201026100441546497"
  100792. },
  100793. "user_id" : {
  100794. "type" : "string",
  100795. "description" : "共同账户消费的成员ID",
  100796. "example" : "2088900970000001"
  100797. }
  100798. }
  100799. },
  100800. "JointAccountDTO" : {
  100801. "type" : "object",
  100802. "properties" : {
  100803. "account_id" : {
  100804. "type" : "string",
  100805. "description" : "共同账户ID",
  100806. "example" : "2088000011111"
  100807. },
  100808. "account_name" : {
  100809. "type" : "string",
  100810. "description" : "共同账户账本名称",
  100811. "example" : "企业代付"
  100812. },
  100813. "user_id" : {
  100814. "type" : "string",
  100815. "description" : "账本创建人会员号",
  100816. "example" : "2088900976740001"
  100817. }
  100818. }
  100819. },
  100820. "JointAccountMemberDTO" : {
  100821. "type" : "object",
  100822. "properties" : {
  100823. "account_quota" : {
  100824. "$ref" : "#/components/schemas/JointAccountQuotaDTO"
  100825. },
  100826. "member_ext_info" : {
  100827. "$ref" : "#/components/schemas/MemberExtInfo"
  100828. },
  100829. "name" : {
  100830. "type" : "string",
  100831. "description" : "姓名,脱敏输出",
  100832. "example" : "张三"
  100833. },
  100834. "open_id" : {
  100835. "type" : "string",
  100836. "description" : "用户openId",
  100837. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  100838. },
  100839. "status" : {
  100840. "type" : "string",
  100841. "description" : "成员状态",
  100842. "example" : "NORMAL"
  100843. },
  100844. "user_id" : {
  100845. "type" : "string",
  100846. "description" : "用户会员号",
  100847. "example" : "2088123123132"
  100848. }
  100849. }
  100850. },
  100851. "JointAccountMemberInfoRespDTO" : {
  100852. "type" : "object",
  100853. "properties" : {
  100854. "open_id" : {
  100855. "type" : "string",
  100856. "description" : "(群成员)支付宝侧用户唯一标识",
  100857. "example" : "095PJtAPYb2UkQ0mXk_X86Z_Pd7PtySKX-U3zUEwONcu3wc"
  100858. },
  100859. "operate_role" : {
  100860. "type" : "string",
  100861. "description" : "成员角色:<br>\t-MASTER:创建人<br>\t-ADMIN:管理员<br>\t-MEMBER:群成员<br>",
  100862. "example" : "MASTER"
  100863. },
  100864. "user_id" : {
  100865. "type" : "string",
  100866. "description" : "(群成员)支付宝侧用户唯一标识",
  100867. "example" : "2088900976746215"
  100868. }
  100869. }
  100870. },
  100871. "JointAccountMemberList" : {
  100872. "type" : "object",
  100873. "properties" : {
  100874. "account_quota" : {
  100875. "type" : "array",
  100876. "description" : "额度模型",
  100877. "items" : {
  100878. "$ref" : "#/components/schemas/JointAccountQuotaDTO"
  100879. }
  100880. },
  100881. "open_id" : {
  100882. "type" : "string",
  100883. "description" : "成员openId",
  100884. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  100885. },
  100886. "user_id" : {
  100887. "type" : "string",
  100888. "description" : "成员ID",
  100889. "example" : "2088900976746215"
  100890. }
  100891. }
  100892. },
  100893. "JointAccountMemberRespDTO" : {
  100894. "type" : "object",
  100895. "properties" : {
  100896. "account_quota" : {
  100897. "type" : "array",
  100898. "description" : "额度模型",
  100899. "items" : {
  100900. "$ref" : "#/components/schemas/JointAccountQuotaDTO"
  100901. }
  100902. },
  100903. "logon_id" : {
  100904. "type" : "string",
  100905. "description" : "成员支付宝登录号",
  100906. "example" : "13111122222"
  100907. },
  100908. "name" : {
  100909. "type" : "string",
  100910. "description" : "姓名",
  100911. "example" : "成员名称"
  100912. },
  100913. "status" : {
  100914. "type" : "string",
  100915. "description" : "员工当前状态:\t\t邀请中(PROCESSING)、正常(NORMAL)",
  100916. "example" : "状态"
  100917. },
  100918. "user_id" : {
  100919. "type" : "string",
  100920. "description" : "用户支付宝会员号",
  100921. "example" : "2088900976746215"
  100922. }
  100923. }
  100924. },
  100925. "JointAccountQuotaDTO" : {
  100926. "type" : "object",
  100927. "properties" : {
  100928. "custom_begin_date" : {
  100929. "type" : "string",
  100930. "description" : "自定义周期起始日期,精确到分钟,yyyy-MM-dd HH:mm"
  100931. },
  100932. "custom_end_date" : {
  100933. "type" : "string",
  100934. "description" : "自定义周期结束日期,精确到分钟,yyyy-MM-dd HH:mm"
  100935. },
  100936. "quota_dimension" : {
  100937. "type" : "string",
  100938. "description" : "额度维度\t单笔上限:ONCE\t日:DAY\t月:MONTH\t季度:QUARTER\t年:YEAR\t终身:LIFETIME\t一次性使用额度:ONLYONE"
  100939. },
  100940. "quota_total" : {
  100941. "type" : "string",
  100942. "description" : "协议额度"
  100943. }
  100944. }
  100945. },
  100946. "JointAccountQuotaRespDTO" : {
  100947. "type" : "object",
  100948. "properties" : {
  100949. "custom_begin_date" : {
  100950. "type" : "string",
  100951. "description" : "额度生效起始日期,精确到分钟。\t格式:yyyy-MM-dd HH:mm"
  100952. },
  100953. "custom_end_date" : {
  100954. "type" : "string",
  100955. "description" : "额度失效结束日期,精确到分钟。\t格式:yyyy-MM-dd HH:mm"
  100956. },
  100957. "quota_dimension" : {
  100958. "type" : "string",
  100959. "description" : "额度维度"
  100960. },
  100961. "quota_remain" : {
  100962. "type" : "string",
  100963. "description" : "剩余额度"
  100964. },
  100965. "quota_remain_count" : {
  100966. "type" : "string",
  100967. "description" : "展示额度剩余可用次数,-1表示无限次"
  100968. },
  100969. "quota_total" : {
  100970. "type" : "string",
  100971. "description" : "协议额度"
  100972. },
  100973. "quota_used" : {
  100974. "type" : "string",
  100975. "description" : "已用额度"
  100976. }
  100977. }
  100978. },
  100979. "JourneyLocation" : {
  100980. "type" : "object",
  100981. "properties" : {
  100982. "aoi_id" : {
  100983. "type" : "string",
  100984. "description" : "支付宝域内aoiId"
  100985. },
  100986. "city" : {
  100987. "type" : "string",
  100988. "description" : "城市名"
  100989. },
  100990. "ext_info" : {
  100991. "type" : "array",
  100992. "description" : "扩展信息",
  100993. "items" : {
  100994. "$ref" : "#/components/schemas/OrderExtInfo"
  100995. }
  100996. },
  100997. "location_id" : {
  100998. "type" : "string",
  100999. "description" : "支付宝侧地点id"
  101000. },
  101001. "location_id_type" : {
  101002. "type" : "string",
  101003. "description" : "地点id类型"
  101004. },
  101005. "merchant_division_id" : {
  101006. "type" : "string",
  101007. "description" : "商户侧行政区划代码"
  101008. },
  101009. "merchant_id" : {
  101010. "type" : "string",
  101011. "description" : "(废弃)商户侧地点id"
  101012. },
  101013. "merchant_poi" : {
  101014. "type" : "string",
  101015. "description" : "商户侧poi信息"
  101016. },
  101017. "name" : {
  101018. "type" : "string",
  101019. "description" : "地点名称"
  101020. },
  101021. "poi_id" : {
  101022. "type" : "string",
  101023. "description" : "支付宝域内poiId"
  101024. }
  101025. }
  101026. },
  101027. "JourneyMerchantInfo" : {
  101028. "type" : "object",
  101029. "properties" : {
  101030. "ext_info" : {
  101031. "type" : "array",
  101032. "description" : "扩展信息",
  101033. "items" : {
  101034. "$ref" : "#/components/schemas/OrderExtInfo"
  101035. }
  101036. },
  101037. "logo" : {
  101038. "type" : "string",
  101039. "description" : "商户logo链接",
  101040. "example" : "logo.jpg"
  101041. },
  101042. "name" : {
  101043. "type" : "string",
  101044. "description" : "商家名称",
  101045. "example" : "中国航空公司"
  101046. },
  101047. "short_name" : {
  101048. "type" : "string",
  101049. "description" : "商家简称",
  101050. "example" : "中国航空"
  101051. }
  101052. }
  101053. },
  101054. "JourneyServiceChangeInfo" : {
  101055. "type" : "object",
  101056. "properties" : {
  101057. "change_status" : {
  101058. "type" : "string",
  101059. "description" : "变更状态",
  101060. "example" : "DELAY"
  101061. },
  101062. "detail_url" : {
  101063. "type" : "string",
  101064. "description" : "详情url",
  101065. "example" : "alipays://platformapi/startApp?appId=2019050664392666&page=page/test/detailurl"
  101066. },
  101067. "ext_info" : {
  101068. "type" : "array",
  101069. "description" : "扩展信息",
  101070. "items" : {
  101071. "$ref" : "#/components/schemas/OrderExtInfo"
  101072. }
  101073. },
  101074. "remind_content" : {
  101075. "type" : "string",
  101076. "description" : "提醒内容",
  101077. "example" : "该航班预计起飞时间由2月1日14:40延后至2月2日01:00。"
  101078. }
  101079. }
  101080. },
  101081. "KeyWordInfo" : {
  101082. "type" : "object",
  101083. "properties" : {
  101084. "apply_no" : {
  101085. "type" : "string",
  101086. "description" : "审核单号"
  101087. },
  101088. "audit_key_word" : {
  101089. "type" : "string",
  101090. "description" : "审核中的关键词"
  101091. },
  101092. "audit_reason" : {
  101093. "type" : "string",
  101094. "description" : "审核人的备注信息"
  101095. },
  101096. "audit_time" : {
  101097. "type" : "string",
  101098. "description" : "审核时间"
  101099. },
  101100. "config_id" : {
  101101. "type" : "string",
  101102. "description" : "关键词配置ID"
  101103. },
  101104. "gmt_create" : {
  101105. "type" : "string",
  101106. "description" : "创建时间"
  101107. },
  101108. "key_word" : {
  101109. "type" : "string",
  101110. "description" : "审核完成的关键词"
  101111. },
  101112. "status" : {
  101113. "type" : "string",
  101114. "description" : "关键词当前状态"
  101115. }
  101116. }
  101117. },
  101118. "Keyword" : {
  101119. "type" : "object",
  101120. "properties" : {
  101121. "color" : {
  101122. "type" : "string",
  101123. "description" : "当前文字颜色"
  101124. },
  101125. "value" : {
  101126. "type" : "string",
  101127. "description" : "模板中占位符的值"
  101128. }
  101129. }
  101130. },
  101131. "KoubeiMarketingCampaignIntelligentPromoBatchqueryErrorResponseModel" : {
  101132. "required" : [ "code", "message" ],
  101133. "type" : "object",
  101134. "properties" : {
  101135. "code" : {
  101136. "type" : "string",
  101137. "description" : "错误码",
  101138. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
  101139. },
  101140. "links" : {
  101141. "type" : "string",
  101142. "description" : "解决方案链接"
  101143. },
  101144. "message" : {
  101145. "type" : "string",
  101146. "description" : "错误描述"
  101147. }
  101148. }
  101149. },
  101150. "KoubeiMarketingCampaignIntelligentPromoBatchqueryModel" : {
  101151. "type" : "object",
  101152. "properties" : {
  101153. "operator_context" : {
  101154. "$ref" : "#/components/schemas/PromoOperatorInfo"
  101155. },
  101156. "out_request_no" : {
  101157. "type" : "string",
  101158. "description" : "外部业务id,请保持足够的复杂,方便定位数据来源",
  101159. "example" : "65165813-a51a-44b9-984c-c75022ecbaf7"
  101160. },
  101161. "owner_info" : {
  101162. "$ref" : "#/components/schemas/PromoOperatorInfo"
  101163. },
  101164. "page_info" : {
  101165. "$ref" : "#/components/schemas/PromoPageInfo"
  101166. }
  101167. }
  101168. },
  101169. "KoubeiMarketingCampaignIntelligentPromoBatchqueryResponseModel" : {
  101170. "type" : "object",
  101171. "properties" : {
  101172. "intelligent_promos" : {
  101173. "type" : "array",
  101174. "description" : "查询返回的营销活动列表信息",
  101175. "items" : {
  101176. "$ref" : "#/components/schemas/IntelligentPromo"
  101177. }
  101178. },
  101179. "page_result" : {
  101180. "$ref" : "#/components/schemas/PromoPageResult"
  101181. }
  101182. }
  101183. },
  101184. "KoubeiMarketingCampaignIntelligentShopConsultErrorResponseModel" : {
  101185. "required" : [ "code", "message" ],
  101186. "type" : "object",
  101187. "properties" : {
  101188. "code" : {
  101189. "type" : "string",
  101190. "description" : "错误码",
  101191. "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "INVALID_PARAMETER" ]
  101192. },
  101193. "links" : {
  101194. "type" : "string",
  101195. "description" : "解决方案链接"
  101196. },
  101197. "message" : {
  101198. "type" : "string",
  101199. "description" : "错误描述"
  101200. }
  101201. }
  101202. },
  101203. "KoubeiMarketingCampaignIntelligentShopConsultModel" : {
  101204. "type" : "object",
  101205. "properties" : {
  101206. "biz_scene" : {
  101207. "type" : "string",
  101208. "description" : "根据不同场景,过滤不同的球房数据,可参考值:CREATE_NORMAL:正常创建;RENEWAL_OLD:原方案续期;RENEWAL_NEW:新方案续期",
  101209. "example" : "CREATE_NORMAL"
  101210. },
  101211. "operator_context" : {
  101212. "$ref" : "#/components/schemas/PromoOperatorInfo"
  101213. },
  101214. "out_request_no" : {
  101215. "type" : "string",
  101216. "description" : "外部业务id,请尽量保持足够的复杂,方便定位数据来源",
  101217. "example" : "65165813-a51a-44b9-984c-c75022ecbaf7"
  101218. },
  101219. "page_index" : {
  101220. "type" : "string",
  101221. "description" : "当前页码,默认:“1”",
  101222. "example" : "1"
  101223. },
  101224. "page_size" : {
  101225. "type" : "string",
  101226. "description" : "每页项数[1, 500], 默认500",
  101227. "example" : "500"
  101228. },
  101229. "partner_id" : {
  101230. "type" : "string",
  101231. "description" : "商户和支付宝交互时,用于代表支付宝分配给商户ID",
  101232. "example" : "208805674367676"
  101233. },
  101234. "plan_id" : {
  101235. "type" : "string",
  101236. "description" : "智能营销方案的方案id(template_code替代该值,无需传递)",
  101237. "example" : "20170909000000000013690911001490"
  101238. },
  101239. "promo_id" : {
  101240. "type" : "string",
  101241. "description" : "结合biz_scene一起使用,值为RENEWAL_OLD:原方案续期、RENEWAL_NEW:新方案续期,要求必传",
  101242. "example" : "20180111000000000613692911004200"
  101243. },
  101244. "template_code" : {
  101245. "type" : "string",
  101246. "description" : "营销模板的编号,默认GENERAL_EXPERIENCE(不传值)\r\t可选枚举:\r\tGENERAL_EXPERIENCE:全场体验;\r\tGENERAL_NORMAL:全场普通;\r\tGENERAL_20171212:全场2017双12版;\r\tCROWD_EXPERIENCE:千人千券体验;\r\tCROWD_NORMAL:千人千券普通;\r\tCROWD_20171212:千人千券2017双12版;",
  101247. "example" : "GENERAL_EXPERIENCE"
  101248. }
  101249. }
  101250. },
  101251. "KoubeiMarketingCampaignIntelligentShopConsultResponseModel" : {
  101252. "type" : "object",
  101253. "properties" : {
  101254. "items" : {
  101255. "type" : "string",
  101256. "description" : "总共项数",
  101257. "example" : "1000"
  101258. },
  101259. "shops" : {
  101260. "type" : "array",
  101261. "description" : "智能营销方案符合标准的球房列表",
  101262. "items" : {
  101263. "$ref" : "#/components/schemas/IntelligentPromoShopSummaryInfo"
  101264. }
  101265. }
  101266. }
  101267. },
  101268. "KoubeiMarketingCampaignIntelligentTemplateConsultErrorResponseModel" : {
  101269. "required" : [ "code", "message" ],
  101270. "type" : "object",
  101271. "properties" : {
  101272. "code" : {
  101273. "type" : "string",
  101274. "description" : "错误码",
  101275. "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  101276. },
  101277. "links" : {
  101278. "type" : "string",
  101279. "description" : "解决方案链接"
  101280. },
  101281. "message" : {
  101282. "type" : "string",
  101283. "description" : "错误描述"
  101284. }
  101285. }
  101286. },
  101287. "KoubeiMarketingCampaignIntelligentTemplateConsultModel" : {
  101288. "type" : "object",
  101289. "properties" : {
  101290. "biz_scene" : {
  101291. "type" : "string",
  101292. "description" : "根据不同场景,过滤不同的球房数据,可参考值:CREATE_NORMAL:正常创建;RENEWAL_OLD:原方案续期;RENEWAL_NEW:新方案续期",
  101293. "example" : "CREATE_NORMAL"
  101294. },
  101295. "operator_context" : {
  101296. "$ref" : "#/components/schemas/PromoOperatorInfo"
  101297. },
  101298. "out_request_no" : {
  101299. "type" : "string",
  101300. "description" : "代表了一次请求,作为业务幂等性控制",
  101301. "example" : "432455ttrytryrt543"
  101302. },
  101303. "partner_id" : {
  101304. "type" : "string",
  101305. "description" : "商户和支付宝交互时,用于代表支付宝分配给商户ID",
  101306. "example" : "208805674367676"
  101307. },
  101308. "promo_id" : {
  101309. "type" : "string",
  101310. "description" : "结合biz_scene一起使用,值为RENEWAL_OLD:原方案续期、RENEWAL_NEW:新方案续期,要求必传",
  101311. "example" : "20180111000000000613692911004200"
  101312. },
  101313. "shop_ids" : {
  101314. "type" : "array",
  101315. "description" : "默认(不传shop_ids球房)使用待体验球房匹配适用模板,指定球房列表(shop_ids)后根据入参匹配适用模板",
  101316. "items" : {
  101317. "type" : "string"
  101318. },
  101319. "example" : "2017090100077000000045190283"
  101320. }
  101321. }
  101322. },
  101323. "KoubeiMarketingCampaignIntelligentTemplateConsultResponseModel" : {
  101324. "type" : "object",
  101325. "properties" : {
  101326. "template_codes" : {
  101327. "type" : "array",
  101328. "description" : "营销模板的编号\r\tGENERAL_NORMAL:全场普通;\r\tITEM_NORMAL:单品普通;\r\tCROWD_NORMAL: 千人千券普通;",
  101329. "items" : {
  101330. "type" : "string"
  101331. },
  101332. "example" : "GENERAL_EXPERIENCE"
  101333. }
  101334. }
  101335. },
  101336. "KoubeiMarketingCampaignItemMerchantactivityBatchqueryErrorResponseModel" : {
  101337. "required" : [ "code", "message" ],
  101338. "type" : "object",
  101339. "properties" : {
  101340. "code" : {
  101341. "type" : "string",
  101342. "description" : "错误码",
  101343. "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENY", "INVALID_PARAMETER" ]
  101344. },
  101345. "links" : {
  101346. "type" : "string",
  101347. "description" : "解决方案链接"
  101348. },
  101349. "message" : {
  101350. "type" : "string",
  101351. "description" : "错误描述"
  101352. }
  101353. }
  101354. },
  101355. "KoubeiMarketingCampaignItemMerchantactivityBatchqueryModel" : {
  101356. "type" : "object",
  101357. "properties" : {
  101358. "page_no" : {
  101359. "type" : "integer",
  101360. "description" : "页码",
  101361. "example" : "1"
  101362. },
  101363. "page_size" : {
  101364. "type" : "integer",
  101365. "description" : "每页显示内容数",
  101366. "example" : "10"
  101367. },
  101368. "status" : {
  101369. "type" : "string",
  101370. "description" : "活动状态",
  101371. "example" : "EFFECTIVE"
  101372. }
  101373. }
  101374. },
  101375. "KoubeiMarketingCampaignItemMerchantactivityBatchqueryResponseModel" : {
  101376. "type" : "object",
  101377. "properties" : {
  101378. "activities" : {
  101379. "type" : "array",
  101380. "description" : "活动信息",
  101381. "items" : {
  101382. "$ref" : "#/components/schemas/MerchantOnlineActivityOpenModel"
  101383. }
  101384. }
  101385. }
  101386. },
  101387. "KoubeiMarketingCampaignItemMerchantactivityCloseErrorResponseModel" : {
  101388. "required" : [ "code", "message" ],
  101389. "type" : "object",
  101390. "properties" : {
  101391. "code" : {
  101392. "type" : "string",
  101393. "description" : "错误码",
  101394. "enum" : [ "PERMISSION_DENY", "INVALID_PARAMETER", "SYSTEM_ERROR", "OPERATE_STATUS_NOT_ALLOWED", "MERCHANT_ACTIVITY_PROCESSING", "MERCHANT_ACTIVITY_NOT_EXIST" ]
  101395. },
  101396. "links" : {
  101397. "type" : "string",
  101398. "description" : "解决方案链接"
  101399. },
  101400. "message" : {
  101401. "type" : "string",
  101402. "description" : "错误描述"
  101403. }
  101404. }
  101405. },
  101406. "KoubeiMarketingCampaignItemMerchantactivityCloseModel" : {
  101407. "type" : "object",
  101408. "properties" : {
  101409. "activity_id" : {
  101410. "type" : "string",
  101411. "description" : "活动id。通过 <a href=\"https://opendocs.alipay.com/pre-apis/api_pre/koubei.marketing.campaign.item.merchantactivity.create\">koubei.marketing.campaign.item.merchantactivity.create</a>(商户创建商品代金券)获取。",
  101412. "example" : "2018xxxx"
  101413. }
  101414. }
  101415. },
  101416. "KoubeiMarketingCampaignItemMerchantactivityCloseResponseModel" : {
  101417. "type" : "object"
  101418. },
  101419. "KoubeiMarketingCampaignItemMerchantactivityCreateErrorResponseModel" : {
  101420. "required" : [ "code", "message" ],
  101421. "type" : "object",
  101422. "properties" : {
  101423. "code" : {
  101424. "type" : "string",
  101425. "description" : "错误码",
  101426. "enum" : [ "PERMISSION_DENY", "SYSTEM_ERROR", "MERCHANT_ACTIVITY_PROCESSING", "MER_ACT_EXTERNAL_DUPLICATE", "MERCHANT_ACTIVITY_NOT_EXIST", "ITEM_INVALID", "OPERATE_STATUS_NOT_ALLOWED", "OPERATE_NEAR_CRITICAL_TIME", "ACTIVITY_COUNT_ITEM_OVER_LIMIT", "INFO_SEC_CHECK_FAIL", "INVALID_PARAMETER" ]
  101427. },
  101428. "links" : {
  101429. "type" : "string",
  101430. "description" : "解决方案链接"
  101431. },
  101432. "message" : {
  101433. "type" : "string",
  101434. "description" : "错误描述"
  101435. }
  101436. }
  101437. },
  101438. "KoubeiMarketingCampaignItemMerchantactivityCreateModel" : {
  101439. "type" : "object",
  101440. "properties" : {
  101441. "count_limit" : {
  101442. "type" : "integer",
  101443. "description" : "活动优惠次数限制,必须设置。\t说明:活动优惠总次数限制不能小于1,且不能大于99999999。",
  101444. "example" : "99"
  101445. },
  101446. "count_limit_per_day" : {
  101447. "type" : "integer",
  101448. "description" : "活动优惠单日次数限制。\t说明:活动优惠单日次数限制不能为负数,不能大于99999999;0表示不限制。\t",
  101449. "example" : "99"
  101450. },
  101451. "count_limit_per_user" : {
  101452. "type" : "integer",
  101453. "description" : "活动单用户限次。\t说明:活动单用户总限次不能为负数,不能大于999。0表示不限制。",
  101454. "example" : "99"
  101455. },
  101456. "count_limit_per_user_per_day" : {
  101457. "type" : "integer",
  101458. "description" : "活动单用户单日限次。\t说明:活动单用户单日限次不能为负数,不能大于999。0表示不限制。",
  101459. "example" : "99"
  101460. },
  101461. "crowd" : {
  101462. "type" : "string",
  101463. "description" : "群规则,枚举支持:\t* DEFAULT: 全部用户;\t* ONLINE_NEWCOMER:在线购买新人;\t* MEMBER:会员。",
  101464. "example" : "DEFAULT"
  101465. },
  101466. "deduct_amount" : {
  101467. "type" : "string",
  101468. "description" : "代金券面额,单位为元。\t说明:代金券面额格式必须为#.##,代金券面额需小于49999。",
  101469. "example" : "5.00"
  101470. },
  101471. "external_callback_url" : {
  101472. "type" : "string",
  101473. "description" : "外部回调地址,最大字符数不能超过500。",
  101474. "example" : "xxxx"
  101475. },
  101476. "external_unique_id" : {
  101477. "type" : "string",
  101478. "description" : "外部id,需保证同一账户下唯一。\t说明:最小长度不能低于13,最大长度不能超过64。",
  101479. "example" : "4b203fe6c11548bcabd8da5bb087a83b"
  101480. },
  101481. "gmt_end" : {
  101482. "type" : "string",
  101483. "description" : "活动结束时间。活动结束时间需大于活动开始时间。格式为\"yyyy-MM-dd HH:mm:ss\"。",
  101484. "example" : "2018-12-26 21:07:23"
  101485. },
  101486. "gmt_start" : {
  101487. "type" : "string",
  101488. "description" : "活动开始时间。格式为\"yyyy-MM-dd HH:mm:ss\"。",
  101489. "example" : "2017-12-26 21:07:23"
  101490. },
  101491. "item_ids" : {
  101492. "type" : "array",
  101493. "description" : "商品列表。\t说明:参加活动的商品列表不能为空,最大个数不能超过100。",
  101494. "items" : {
  101495. "type" : "string"
  101496. },
  101497. "example" : "[\"2088xxxxx\",\"2088xxxx\"]"
  101498. },
  101499. "memo" : {
  101500. "type" : "string",
  101501. "description" : "备注。\t说明:备注最大字符数不能超过500。",
  101502. "example" : "备注"
  101503. },
  101504. "min_cost" : {
  101505. "type" : "string",
  101506. "description" : "使用门槛,即满 min_cost 元可用,使用门槛必须大于券面额,单位为元。\t说明:使用门槛格式必须为#.##。",
  101507. "example" : "5.00"
  101508. },
  101509. "obtain_manually" : {
  101510. "type" : "boolean",
  101511. "description" : "是否手动领取,本期只支持true",
  101512. "example" : "true"
  101513. },
  101514. "voucher_info" : {
  101515. "$ref" : "#/components/schemas/MerchantActivityVoucherInfo"
  101516. }
  101517. }
  101518. },
  101519. "KoubeiMarketingCampaignItemMerchantactivityCreateResponseModel" : {
  101520. "type" : "object",
  101521. "properties" : {
  101522. "activity_id" : {
  101523. "type" : "string",
  101524. "description" : "运营活动id",
  101525. "example" : "208888888"
  101526. }
  101527. }
  101528. },
  101529. "KoubeiMarketingCampaignItemMerchantactivityModifyErrorResponseModel" : {
  101530. "required" : [ "code", "message" ],
  101531. "type" : "object",
  101532. "properties" : {
  101533. "code" : {
  101534. "type" : "string",
  101535. "description" : "错误码",
  101536. "enum" : [ "PERMISSION_DENY", "INVALID_PARAMETER", "SYSTEM_ERROR", "INFO_SEC_CHECK_FAIL", "MERCHANT_ACTIVITY_NOT_EXIST", "OPERATE_NEAR_CRITICAL_TIME", "ACTIVITY_COUNT_OF_ITEM_OVER_LIMI", "MERCHANT_ACTIVITY_PROCESSING", "FAIL" ]
  101537. },
  101538. "links" : {
  101539. "type" : "string",
  101540. "description" : "解决方案链接"
  101541. },
  101542. "message" : {
  101543. "type" : "string",
  101544. "description" : "错误描述"
  101545. }
  101546. }
  101547. },
  101548. "KoubeiMarketingCampaignItemMerchantactivityModifyModel" : {
  101549. "type" : "object",
  101550. "properties" : {
  101551. "activity_id" : {
  101552. "type" : "string",
  101553. "description" : "活动Id",
  101554. "example" : "2018xxxx"
  101555. },
  101556. "external_callback_url" : {
  101557. "type" : "string",
  101558. "description" : "外部回调地址",
  101559. "example" : "xxxx"
  101560. },
  101561. "gmt_end" : {
  101562. "type" : "string",
  101563. "description" : "活动结束日期,只可以延长\r\t格式要求为:yyyy-MM-dd HH:mm:ss",
  101564. "example" : "2017-12-26 21:07:23"
  101565. },
  101566. "item_ids" : {
  101567. "type" : "array",
  101568. "description" : "活动商品列表,只可以增加",
  101569. "items" : {
  101570. "type" : "string"
  101571. },
  101572. "example" : "[\"2018xxxx\",\"2018xxxx\"]"
  101573. },
  101574. "memo" : {
  101575. "type" : "string",
  101576. "description" : "备注",
  101577. "example" : "备注"
  101578. },
  101579. "voucher_info" : {
  101580. "$ref" : "#/components/schemas/MerchantActivityModifyVoucherInfo"
  101581. }
  101582. }
  101583. },
  101584. "KoubeiMarketingCampaignItemMerchantactivityModifyResponseModel" : {
  101585. "type" : "object"
  101586. },
  101587. "KoubeiMarketingCampaignItemMerchantactivityQueryErrorResponseModel" : {
  101588. "required" : [ "code", "message" ],
  101589. "type" : "object",
  101590. "properties" : {
  101591. "code" : {
  101592. "type" : "string",
  101593. "description" : "错误码",
  101594. "enum" : [ "PERMISSION_DENY", "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  101595. },
  101596. "links" : {
  101597. "type" : "string",
  101598. "description" : "解决方案链接"
  101599. },
  101600. "message" : {
  101601. "type" : "string",
  101602. "description" : "错误描述"
  101603. }
  101604. }
  101605. },
  101606. "KoubeiMarketingCampaignItemMerchantactivityQueryResponseModel" : {
  101607. "type" : "object",
  101608. "properties" : {
  101609. "activity_id" : {
  101610. "type" : "string",
  101611. "description" : "活动Id",
  101612. "example" : "2018xxxx"
  101613. },
  101614. "camp_id" : {
  101615. "type" : "string",
  101616. "description" : "营销活动id",
  101617. "example" : "2018xxxx"
  101618. },
  101619. "count_limit" : {
  101620. "type" : "integer",
  101621. "description" : "活动优惠次数限制",
  101622. "example" : "99"
  101623. },
  101624. "count_limit_per_day" : {
  101625. "type" : "integer",
  101626. "description" : "活动优惠单日次数限制",
  101627. "example" : "99"
  101628. },
  101629. "count_limit_per_user" : {
  101630. "type" : "integer",
  101631. "description" : "活动单用户限次",
  101632. "example" : "99"
  101633. },
  101634. "count_limit_per_user_per_day" : {
  101635. "type" : "integer",
  101636. "description" : "活动单用户单日限次",
  101637. "example" : "99"
  101638. },
  101639. "crowd" : {
  101640. "type" : "string",
  101641. "description" : "人群规则\r\tDEFAULT:全部用户\r\tONLINE_NEWCOMER:在线购买新人\r\tMEMBER:会员",
  101642. "example" : "DEFAULT"
  101643. },
  101644. "deduct_amount" : {
  101645. "type" : "string",
  101646. "description" : "代金券面额",
  101647. "example" : "5.00"
  101648. },
  101649. "external_unique_id" : {
  101650. "type" : "string",
  101651. "description" : "外部Id",
  101652. "example" : "xxxxxxx"
  101653. },
  101654. "gmt_end" : {
  101655. "type" : "string",
  101656. "description" : "活动结束时间\r\t格式为:yyyy-MM-dd HH:mm:ss",
  101657. "example" : "2017-12-26 21:07:23"
  101658. },
  101659. "gmt_start" : {
  101660. "type" : "string",
  101661. "description" : "活动开始时间,格式为:yyyy-MM-dd HH:mm:ss",
  101662. "example" : "2017-12-26 21:07:23"
  101663. },
  101664. "item_ids" : {
  101665. "type" : "array",
  101666. "description" : "商品列表",
  101667. "items" : {
  101668. "type" : "string"
  101669. },
  101670. "example" : "[\"2018xxxx\",\"2018xxxx\"]"
  101671. },
  101672. "memo" : {
  101673. "type" : "string",
  101674. "description" : "备注",
  101675. "example" : "备注"
  101676. },
  101677. "min_cost" : {
  101678. "type" : "string",
  101679. "description" : "使用门槛,满X元可用,使用门槛必须大于券面额",
  101680. "example" : "5.00"
  101681. },
  101682. "obtain_manually" : {
  101683. "type" : "boolean",
  101684. "description" : "是否手动领取,本期只支持true",
  101685. "example" : "true"
  101686. },
  101687. "voucher_info" : {
  101688. "$ref" : "#/components/schemas/MerchantActivityVoucherInfo"
  101689. }
  101690. }
  101691. },
  101692. "KoubeiMemberDataIsvCreateErrorResponseModel" : {
  101693. "required" : [ "code", "message" ],
  101694. "type" : "object",
  101695. "properties" : {
  101696. "code" : {
  101697. "type" : "string",
  101698. "description" : "错误码",
  101699. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
  101700. },
  101701. "links" : {
  101702. "type" : "string",
  101703. "description" : "解决方案链接"
  101704. },
  101705. "message" : {
  101706. "type" : "string",
  101707. "description" : "错误描述"
  101708. }
  101709. }
  101710. },
  101711. "KoubeiMemberDataIsvCreateModel" : {
  101712. "type" : "object",
  101713. "properties" : {
  101714. "gmt_member_card_last_active" : {
  101715. "type" : "string",
  101716. "description" : "会员卡最近一次激活时间,格式:yyyy-MM-dd HH:MM:ss",
  101717. "example" : "2017-02-17 20:11:54"
  101718. },
  101719. "gmt_merber_card_create" : {
  101720. "type" : "string",
  101721. "description" : "会员卡领取时间(开卡时间),格式:yyyy-MM-dd HH:mm:ss",
  101722. "example" : "2017-02-17 20:11:54"
  101723. },
  101724. "member_card_id" : {
  101725. "type" : "string",
  101726. "description" : "会员卡卡号:唯一标识会员卡的ID,partner_id+member_card_id是唯一主键,若partner_id+member_card_id已存在,则做更新会员卡操作。",
  101727. "example" : "2014323100009"
  101728. },
  101729. "member_card_type" : {
  101730. "type" : "string",
  101731. "description" : "会员卡类型:\r\t微卡、炫酷卡、儿童卡、璀璨卡、金卡银卡、白金卡等",
  101732. "example" : "微卡"
  101733. },
  101734. "member_ship" : {
  101735. "$ref" : "#/components/schemas/MemberShip"
  101736. },
  101737. "member_source" : {
  101738. "type" : "string",
  101739. "description" : "会员来源:\r\t1:weixin(微信);2:alipay(支付宝);3:offline(线下会员卡);4:other(其他)",
  101740. "example" : "alipay"
  101741. },
  101742. "member_source_desc" : {
  101743. "type" : "string",
  101744. "description" : "会员来源描述:如美团、饿了么等",
  101745. "example" : "美团"
  101746. },
  101747. "member_status" : {
  101748. "type" : "string",
  101749. "description" : "会员状态:\r\t1:生效;0:失效",
  101750. "example" : "1"
  101751. },
  101752. "outer_member_info" : {
  101753. "$ref" : "#/components/schemas/OuterMemberInfo"
  101754. },
  101755. "parter_id" : {
  101756. "type" : "string",
  101757. "description" : "商户的PID",
  101758. "example" : "2088902248579233"
  101759. },
  101760. "shop_id" : {
  101761. "type" : "string",
  101762. "description" : "会员卡领取的球房ID",
  101763. "example" : "2016101700077000000003436443"
  101764. }
  101765. }
  101766. },
  101767. "KoubeiMemberDataIsvCreateResponseModel" : {
  101768. "type" : "object"
  101769. },
  101770. "KoubeiTradeOrderConsultErrorResponseModel" : {
  101771. "required" : [ "code", "message" ],
  101772. "type" : "object",
  101773. "properties" : {
  101774. "code" : {
  101775. "type" : "string",
  101776. "description" : "错误码",
  101777. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SHOP_NOT_EXIST", "ILLEGAL_SHOP_STATUS", "USER_NOT_EXIST", "HAS_NO_PRIVILEGE", "ACCESS_IS_FORBIDDEN" ]
  101778. },
  101779. "links" : {
  101780. "type" : "string",
  101781. "description" : "解决方案链接"
  101782. },
  101783. "message" : {
  101784. "type" : "string",
  101785. "description" : "错误描述"
  101786. }
  101787. }
  101788. },
  101789. "KoubeiTradeOrderConsultModel" : {
  101790. "type" : "object",
  101791. "properties" : {
  101792. "apdid_token" : {
  101793. "type" : "string",
  101794. "description" : "用户设备信息,通过钱包容器提供的JSAPI接口获取,\r\t一、接口使用方法:\r\tAlipayJSBridge.call('getO2ODeviceToken', {\r\t appName: 'kb_isv_110229',\r\t appKey:'98y6VvdaDLpoqWZw'\r\t },\r\t function (result) {\r\t }\r\t );\r\t });\r\t二、result数据结构:\r\t 1、调用失败: {\"error\":xxx,\"errorMessage\":\"xxx\"} \r\t 2、调用成功: {'appToken':'xxxssajkjkjkxdkwqkqwb'}",
  101795. "example" : "FItOt3WEvOe0Re4NLgrUINWSP8B2AVOdSp1YTotRG7LAJos1tPJMbes4/GTrJew5/ITdibdWlv8XsEnfwuCyntY6eAO0M84ivvie4JyH19vYUnk58HYVs3XnjzgSY0Uw"
  101796. },
  101797. "goods_info" : {
  101798. "type" : "array",
  101799. "description" : "商品明细列表。注意:单品总金额不能大于订单金额",
  101800. "items" : {
  101801. "$ref" : "#/components/schemas/GoodsInfo"
  101802. }
  101803. },
  101804. "request_id" : {
  101805. "type" : "string",
  101806. "description" : "唯一请求id,开放者请确保每次请求的唯一性。",
  101807. "example" : "0ad1e47b1500473065347103327127"
  101808. },
  101809. "shop_id" : {
  101810. "type" : "string",
  101811. "description" : "支付宝球房编号",
  101812. "example" : "2015051100077000000000000300"
  101813. },
  101814. "total_amount" : {
  101815. "type" : "string",
  101816. "description" : "订单总金额,单位元,精确到小数点后两位,取值范围[0.01,999999999]。\t注意:如果同时传入了【不可打折金额】,【订单总金额】两者,则必须满足【不可打折金额】<=【订单总金额】。",
  101817. "example" : "88.88"
  101818. },
  101819. "undiscountable_amount" : {
  101820. "type" : "string",
  101821. "description" : "不参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0,999999999]。\t注意:如果同时传入了【不可打折金额】、【订单总金额】,则必须满足【不可打折金额】<=【订单总金额】。",
  101822. "example" : "10.00"
  101823. },
  101824. "user_id" : {
  101825. "type" : "string",
  101826. "description" : "支付宝用户 Id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  101827. "example" : "2088212151390950"
  101828. }
  101829. }
  101830. },
  101831. "KoubeiTradeOrderConsultResponseModel" : {
  101832. "type" : "object",
  101833. "properties" : {
  101834. "buyer_pay_amount" : {
  101835. "type" : "string",
  101836. "description" : "用户实付金额",
  101837. "example" : "10.00"
  101838. },
  101839. "discount_detail" : {
  101840. "type" : "array",
  101841. "description" : "优惠信息",
  101842. "items" : {
  101843. "$ref" : "#/components/schemas/DiscountDetail"
  101844. }
  101845. },
  101846. "m_card_detail" : {
  101847. "$ref" : "#/components/schemas/MCardDetail"
  101848. },
  101849. "request_id" : {
  101850. "type" : "string",
  101851. "description" : "请求中的request_id",
  101852. "example" : "874JKK4H5J43H3K35J4543K5J3K45J34KJ"
  101853. }
  101854. }
  101855. },
  101856. "LabelContext" : {
  101857. "type" : "object",
  101858. "properties" : {
  101859. "a" : {
  101860. "$ref" : "#/components/schemas/LabelFilter"
  101861. }
  101862. }
  101863. },
  101864. "LabelFilter" : {
  101865. "type" : "object",
  101866. "properties" : {
  101867. "column_name" : {
  101868. "type" : "string",
  101869. "description" : "标签组名,商户自定义的标签固定为label_id_list,支付宝开放的标签详见<a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/FirstPartOfTagsFromAlipay.xlsx\">支付宝开放标签</a>",
  101870. "example" : "label_id_list"
  101871. },
  101872. "op" : {
  101873. "type" : "string",
  101874. "description" : "操作符,支持=、!=、in三个操作符;其中in表示是某几个标签中的一个",
  101875. "example" : "="
  101876. },
  101877. "values" : {
  101878. "type" : "array",
  101879. "description" : "标签数组,用于组装最后的表达式",
  101880. "items" : {
  101881. "type" : "string"
  101882. },
  101883. "example" : "100509"
  101884. }
  101885. }
  101886. },
  101887. "LabelRule" : {
  101888. "type" : "object",
  101889. "properties" : {
  101890. "label_id" : {
  101891. "type" : "string",
  101892. "description" : "标签id"
  101893. },
  101894. "label_value" : {
  101895. "type" : "string",
  101896. "description" : "标签值,当有多个取值时用英文\",\"分隔,不允许传入下划线\"_\"、竖线\"|\"或者空格\" \"和方括号\"[\"、\"]\""
  101897. },
  101898. "operator" : {
  101899. "type" : "string",
  101900. "description" : "目前支持EQ(等于)、BETWEEN(范围)、IN(包含)三种操作符;每个标签支持的运算符可以通过<a href=\"https://docs.open.alipay.com/api_6/alipay.open.public.life.label.batchquery#sintq\">标签列表查询接口</a>获得。该字段允许为空,默认运算符为IN"
  101901. }
  101902. }
  101903. },
  101904. "LibraryInfo" : {
  101905. "type" : "object",
  101906. "properties" : {
  101907. "id" : {
  101908. "type" : "integer",
  101909. "description" : "知识库ID",
  101910. "example" : "1"
  101911. },
  101912. "name" : {
  101913. "type" : "string",
  101914. "description" : "知识库名称",
  101915. "example" : "商品库"
  101916. },
  101917. "tree_id" : {
  101918. "type" : "integer",
  101919. "description" : "类目ID",
  101920. "example" : "12"
  101921. },
  101922. "update_time" : {
  101923. "type" : "string",
  101924. "description" : "修改时间",
  101925. "example" : "2020-12-31 23:59:59"
  101926. }
  101927. }
  101928. },
  101929. "LifeLabel" : {
  101930. "type" : "object",
  101931. "properties" : {
  101932. "biz" : {
  101933. "type" : "string",
  101934. "description" : "该标签支持的业务列表,menu表示个性化菜单,extension表示个性化扩展区,message表示消息触达",
  101935. "example" : "menu,extension,message"
  101936. },
  101937. "category" : {
  101938. "type" : "string",
  101939. "description" : "标签类目",
  101940. "example" : "基础标签"
  101941. },
  101942. "data_type" : {
  101943. "type" : "string",
  101944. "description" : "标签值数据类型",
  101945. "example" : "string"
  101946. },
  101947. "label_code" : {
  101948. "type" : "string",
  101949. "description" : "标签英文代码",
  101950. "example" : "pps_user_gender"
  101951. },
  101952. "label_id" : {
  101953. "type" : "string",
  101954. "description" : "标签id,唯一标识一个标签",
  101955. "example" : "10000"
  101956. },
  101957. "label_name" : {
  101958. "type" : "string",
  101959. "description" : "标签名",
  101960. "example" : "性别"
  101961. },
  101962. "operator" : {
  101963. "type" : "string",
  101964. "description" : "该标签支持的运算符",
  101965. "example" : "EQ"
  101966. },
  101967. "options" : {
  101968. "type" : "array",
  101969. "description" : "每个取值的业务含义",
  101970. "items" : {
  101971. "$ref" : "#/components/schemas/Option"
  101972. }
  101973. },
  101974. "type" : {
  101975. "type" : "string",
  101976. "description" : "标签类型,目前分为common(通用标签)、custom(生活号自定义标签)、cloud(云实验室标签)",
  101977. "example" : "common"
  101978. }
  101979. }
  101980. },
  101981. "LogisticInfo" : {
  101982. "type" : "object",
  101983. "properties" : {
  101984. "channel" : {
  101985. "type" : "string",
  101986. "description" : "物流公司名称",
  101987. "example" : "菜鸟"
  101988. },
  101989. "detail" : {
  101990. "type" : "string",
  101991. "description" : "物流详情",
  101992. "example" : "[{\"time\":\"2022-09-09 09:09:09\",\"location\":\"北京\",\"operation\":\"揽收\"}]"
  101993. },
  101994. "logistic_id" : {
  101995. "type" : "string",
  101996. "description" : "物流id",
  101997. "example" : "121414124124"
  101998. },
  101999. "ship_area" : {
  102000. "type" : "string",
  102001. "description" : "发货地",
  102002. "example" : "北京"
  102003. },
  102004. "ship_period" : {
  102005. "type" : "string",
  102006. "description" : "发货时效",
  102007. "example" : "48"
  102008. },
  102009. "status" : {
  102010. "type" : "string",
  102011. "description" : "物流状态",
  102012. "example" : "已签收"
  102013. },
  102014. "stop_update_time" : {
  102015. "type" : "string",
  102016. "description" : "物流停更时间",
  102017. "example" : "15"
  102018. }
  102019. }
  102020. },
  102021. "LogisticsAccountStatusDTO" : {
  102022. "type" : "object",
  102023. "properties" : {
  102024. "audit_desc" : {
  102025. "type" : "string",
  102026. "description" : "商家在配送公司的账户的审核说明"
  102027. },
  102028. "logistics_code" : {
  102029. "type" : "string",
  102030. "description" : "配送公司物流编码。"
  102031. },
  102032. "logistics_name" : {
  102033. "type" : "string",
  102034. "description" : "配送公司名称。"
  102035. },
  102036. "status" : {
  102037. "type" : "string",
  102038. "description" : "账户状态,AUDITING:审核中,AUDIT_REJECT:审核驳回,VALID:已生效"
  102039. }
  102040. }
  102041. },
  102042. "LogisticsCompanyIstd" : {
  102043. "type" : "object",
  102044. "properties" : {
  102045. "logistics_code" : {
  102046. "type" : "string",
  102047. "description" : "即时配送公司编码,由支付宝分配",
  102048. "example" : "FENGNIAO"
  102049. },
  102050. "service_codes" : {
  102051. "type" : "array",
  102052. "description" : "即时配送公司服务代码列表",
  102053. "items" : {
  102054. "$ref" : "#/components/schemas/ServiceCodeIstd"
  102055. }
  102056. }
  102057. }
  102058. },
  102059. "LogisticsCompanyResult" : {
  102060. "type" : "object",
  102061. "properties" : {
  102062. "logistics_code" : {
  102063. "type" : "string",
  102064. "description" : "物流公司编码",
  102065. "example" : "FENGNIAO"
  102066. },
  102067. "logistics_name" : {
  102068. "type" : "string",
  102069. "description" : "物流公司名称",
  102070. "example" : "蜂鸟即配"
  102071. }
  102072. }
  102073. },
  102074. "LogisticsDetail" : {
  102075. "type" : "object",
  102076. "properties" : {
  102077. "logistics_type" : {
  102078. "type" : "string",
  102079. "description" : "物流类型, \r\tPOST 平邮,\r\tEXPRESS 其他快递,\r\tVIRTUAL 虚拟物品,\r\tEMS EMS,\r\tDIRECT 无需物流。",
  102080. "example" : "EXPRESS"
  102081. }
  102082. }
  102083. },
  102084. "LogisticsShopStatusDTO" : {
  102085. "type" : "object",
  102086. "properties" : {
  102087. "audit_desc" : {
  102088. "type" : "string",
  102089. "description" : "商家在配送公司的账户的审核说明."
  102090. },
  102091. "logistics_code" : {
  102092. "type" : "string",
  102093. "description" : "配送公司物流编码。"
  102094. },
  102095. "logistics_name" : {
  102096. "type" : "string",
  102097. "description" : "配送公司名称。"
  102098. },
  102099. "status" : {
  102100. "type" : "string",
  102101. "description" : "球房状态,AUDITING:审核中,AUDIT_REJECT:审核驳回,VALID:已生效,UPDATING:更新中,WAIT_CREATE:待开通(存量球房若需要支持后面新增的配送公司,需要调用球房更新接口发起申请)"
  102102. }
  102103. }
  102104. },
  102105. "MCardDetail" : {
  102106. "type" : "object",
  102107. "properties" : {
  102108. "available_amount" : {
  102109. "type" : "string",
  102110. "description" : "储值卡可用余额",
  102111. "example" : "100000.00"
  102112. },
  102113. "name" : {
  102114. "type" : "string",
  102115. "description" : "储值卡名称",
  102116. "example" : "商家储值卡"
  102117. },
  102118. "pay_amount" : {
  102119. "type" : "string",
  102120. "description" : "储值卡支付金额",
  102121. "example" : "1000.00"
  102122. }
  102123. }
  102124. },
  102125. "MarketingDeliveryDetail" : {
  102126. "type" : "object",
  102127. "properties" : {
  102128. "bind_id_list" : {
  102129. "type" : "array",
  102130. "description" : "投放详情绑定的模板id列表",
  102131. "items" : {
  102132. "type" : "string"
  102133. },
  102134. "example" : "[\"dsdadewdededede\",\"dedehduehdedue\"]"
  102135. },
  102136. "detail_id" : {
  102137. "type" : "string",
  102138. "description" : "投放详情id",
  102139. "example" : "MDDadsdsw344r43defdefefe34321a"
  102140. },
  102141. "gmt_end" : {
  102142. "type" : "string",
  102143. "description" : "结束时间",
  102144. "example" : "2022-01-01 00:00:00"
  102145. },
  102146. "gmt_start" : {
  102147. "type" : "string",
  102148. "description" : "开始时间",
  102149. "example" : "2022-01-01 00:00:00"
  102150. },
  102151. "name" : {
  102152. "type" : "string",
  102153. "description" : "投放详情名称,取创建运营投放的title,未传title取券名称",
  102154. "example" : "满200减20券"
  102155. },
  102156. "status" : {
  102157. "type" : "string",
  102158. "description" : "投放详情状态,INIT:下线状态,ON_LINE:上线状态",
  102159. "example" : "ON_LINE"
  102160. }
  102161. }
  102162. },
  102163. "Marketingtest" : {
  102164. "type" : "object",
  102165. "properties" : {
  102166. "test_21" : {
  102167. "type" : "string",
  102168. "description" : "测试描述"
  102169. }
  102170. }
  102171. },
  102172. "Marketingtestt" : {
  102173. "type" : "object",
  102174. "properties" : {
  102175. "test_22" : {
  102176. "$ref" : "#/components/schemas/Marketingtest"
  102177. }
  102178. }
  102179. },
  102180. "Matcher" : {
  102181. "type" : "object",
  102182. "properties" : {
  102183. "identity_card" : {
  102184. "type" : "string",
  102185. "description" : "身份证号码,与user_id、mobile_no不能同时为空"
  102186. },
  102187. "mobile_no" : {
  102188. "type" : "string",
  102189. "description" : "手机号码,与user_id、identity_card不能同时为空"
  102190. },
  102191. "open_id" : {
  102192. "type" : "string",
  102193. "description" : "支付宝用户openid"
  102194. },
  102195. "user_id" : {
  102196. "type" : "string",
  102197. "description" : "支付宝用户id,2088开头16位长度的字符串,与mobile_no、identity_card不能同时为空"
  102198. }
  102199. }
  102200. },
  102201. "Material" : {
  102202. "type" : "object",
  102203. "properties" : {
  102204. "articles" : {
  102205. "type" : "array",
  102206. "description" : "图文消息子消息项集合,单条消息最多6个子项,否则会发送失败",
  102207. "items" : {
  102208. "$ref" : "#/components/schemas/Article"
  102209. }
  102210. },
  102211. "msg_type" : {
  102212. "type" : "string",
  102213. "description" : "消息类型,text:文本类型,image-text:图文类型。当消息类型为text时,text参数必传,当消息类型为image-text时,articles参数必传",
  102214. "example" : "text"
  102215. },
  102216. "text" : {
  102217. "$ref" : "#/components/schemas/Text"
  102218. }
  102219. }
  102220. },
  102221. "MaterialCreateInfo" : {
  102222. "type" : "object",
  102223. "properties" : {
  102224. "content" : {
  102225. "type" : "string",
  102226. "description" : "素材内容(素材地址或素材KEY)"
  102227. },
  102228. "type" : {
  102229. "type" : "string",
  102230. "description" : "素材类型"
  102231. }
  102232. }
  102233. },
  102234. "MaterialField" : {
  102235. "type" : "object",
  102236. "properties" : {
  102237. "field_name" : {
  102238. "type" : "string",
  102239. "description" : "素材字段名称,来源于素材规范定义的字段名称。注意一次素材提报中字段名称不能重复。",
  102240. "example" : "serviceBigPic"
  102241. },
  102242. "field_value" : {
  102243. "type" : "array",
  102244. "description" : "素材字段值,素材字段提报的实际值,支持多值,具体的要求请查看素材规范或对应的产品文档。",
  102245. "items" : {
  102246. "type" : "string"
  102247. },
  102248. "example" : "[\"A*WXYTAswgww\"]"
  102249. }
  102250. }
  102251. },
  102252. "MaterialInfo" : {
  102253. "type" : "object",
  102254. "properties" : {
  102255. "content" : {
  102256. "type" : "string",
  102257. "description" : "素材内容(素材地址或素材KEY)"
  102258. },
  102259. "material_id" : {
  102260. "type" : "string",
  102261. "description" : "素材ID"
  102262. },
  102263. "type" : {
  102264. "type" : "string",
  102265. "description" : "素材类型"
  102266. }
  102267. }
  102268. },
  102269. "MaterialModifyInfo" : {
  102270. "type" : "object",
  102271. "properties" : {
  102272. "content" : {
  102273. "type" : "string",
  102274. "description" : "素材内容(素材地址或素材KEY)"
  102275. },
  102276. "type" : {
  102277. "type" : "string",
  102278. "description" : "素材类型"
  102279. }
  102280. }
  102281. },
  102282. "McardNotifyMessage" : {
  102283. "type" : "object",
  102284. "properties" : {
  102285. "change_reason" : {
  102286. "type" : "string",
  102287. "description" : "用户提醒信息,按如下格式拼装,需要ISV提供change_reason。\r\t积分变动模板:{change_reason},您的积分有变动\r\t余额变动模板:{change_reason},您的余额有变动\r\t等级变更无需提供原因。",
  102288. "example" : "由于你的消费"
  102289. },
  102290. "ext_info" : {
  102291. "type" : "string",
  102292. "description" : "JSON格式扩展信息,主要是发送消息中的变量",
  102293. "example" : "{}"
  102294. },
  102295. "message_type" : {
  102296. "type" : "string",
  102297. "description" : "消息类型,每种消息都定义了固定消息模板,\r\tPOINT_UPDATE:积分变更消息\r\tBALANCE_UPDATE:余额变更消息\r\tLEVEL_UPDATE:等级变更消息",
  102298. "example" : "OPEN_CARD"
  102299. }
  102300. }
  102301. },
  102302. "McardStylInfo" : {
  102303. "type" : "object",
  102304. "properties" : {
  102305. "background_id" : {
  102306. "type" : "string",
  102307. "description" : "背景图片Id,通过接口(alipay.offline.material.image.upload)上传图片\r\t\r\t图片说明:2M以内,格式:bmp、png、jpeg、jpg、gif;\r\t尺寸不小于1020*643px;\r\t图片不得有圆角,不得拉伸变形",
  102308. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  102309. },
  102310. "bg_color" : {
  102311. "type" : "string",
  102312. "description" : "背景色",
  102313. "example" : "rgb(55,112,179)"
  102314. },
  102315. "logo_id" : {
  102316. "type" : "string",
  102317. "description" : "logo的图片ID,通过接口(alipay.offline.material.image.upload)上传图片\r\t\r\t图片说明:1M以内,格式bmp、png、jpeg、jpg、gif;\r\t尺寸不小于500*500px的正方形;\r\t请优先使用商家LOGO;",
  102318. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  102319. }
  102320. }
  102321. },
  102322. "McardTemplate" : {
  102323. "type" : "object",
  102324. "properties" : {
  102325. "card_type" : {
  102326. "type" : "string",
  102327. "description" : "会员卡类型",
  102328. "example" : "OUT_MEMBER_CARD"
  102329. },
  102330. "gmt_create" : {
  102331. "type" : "string",
  102332. "description" : "会员卡模板创建时间",
  102333. "example" : "2018-01-11 15:12:23"
  102334. },
  102335. "gmt_modified" : {
  102336. "type" : "string",
  102337. "description" : "会员卡模板修改时间",
  102338. "example" : "2018-01-11 15:12:23"
  102339. },
  102340. "template_id" : {
  102341. "type" : "string",
  102342. "description" : "会员卡模板ID",
  102343. "example" : "20160718000000001"
  102344. },
  102345. "template_style_info" : {
  102346. "$ref" : "#/components/schemas/TemplateStyleInfoDTO"
  102347. }
  102348. }
  102349. },
  102350. "McardTemplateBenefit" : {
  102351. "type" : "object",
  102352. "properties" : {
  102353. "benefit_desc" : {
  102354. "type" : "array",
  102355. "description" : "权益描述信息",
  102356. "items" : {
  102357. "type" : "string"
  102358. }
  102359. },
  102360. "end_date" : {
  102361. "type" : "string",
  102362. "description" : "权益结束时间。\r\t注:在权益开始时间和结束时间范围内的权益才会认为是有效权益进行展示。"
  102363. },
  102364. "ext_info" : {
  102365. "type" : "string",
  102366. "description" : "会员卡模板权益扩展信息:JSON格式; openUrl 说明:跳转到商户的优惠活动页面"
  102367. },
  102368. "start_date" : {
  102369. "type" : "string",
  102370. "description" : "权益开始时间"
  102371. },
  102372. "template_id" : {
  102373. "type" : "string",
  102374. "description" : "会员卡模板ID"
  102375. },
  102376. "title" : {
  102377. "type" : "string",
  102378. "description" : "权益标题"
  102379. }
  102380. }
  102381. },
  102382. "McardTemplateBenefitQuery" : {
  102383. "type" : "object",
  102384. "properties" : {
  102385. "benefit_desc" : {
  102386. "type" : "string",
  102387. "description" : "权益描述信息",
  102388. "example" : "使用会员卡享8折优惠"
  102389. },
  102390. "benefit_id" : {
  102391. "type" : "string",
  102392. "description" : "权益ID",
  102393. "example" : "20170322000000000068101000300041"
  102394. },
  102395. "end_date" : {
  102396. "type" : "string",
  102397. "description" : "权益结束时间",
  102398. "example" : "2017-04-18 15:10:23"
  102399. },
  102400. "ext_info" : {
  102401. "type" : "string",
  102402. "description" : "会员卡模板权益扩展信息:JSON格式; openUrl 说明:跳转到商户的优惠活动页面",
  102403. "example" : "{\"openUrl\":\"http://www.koubei.com\"}"
  102404. },
  102405. "start_date" : {
  102406. "type" : "string",
  102407. "description" : "权益开始时间",
  102408. "example" : "2017-04-18 15:10:23"
  102409. },
  102410. "template_id" : {
  102411. "type" : "string",
  102412. "description" : "会员卡模板ID",
  102413. "example" : "20170322000000000068101000300041"
  102414. },
  102415. "title" : {
  102416. "type" : "string",
  102417. "description" : "权益标题",
  102418. "example" : "使用会员卡消费享8折优惠"
  102419. }
  102420. }
  102421. },
  102422. "MccQueryInfo" : {
  102423. "type" : "object",
  102424. "properties" : {
  102425. "is_special" : {
  102426. "type" : "boolean",
  102427. "description" : "是否特殊行业",
  102428. "example" : "true"
  102429. },
  102430. "mcc_level_1" : {
  102431. "type" : "string",
  102432. "description" : "一级类目code",
  102433. "example" : "A0001"
  102434. },
  102435. "mcc_level_1_name" : {
  102436. "type" : "string",
  102437. "description" : "商户一级类目名称",
  102438. "example" : "商业生活服务"
  102439. },
  102440. "mcc_level_2" : {
  102441. "type" : "string",
  102442. "description" : "二级类目code",
  102443. "example" : "B0001"
  102444. },
  102445. "mcc_level_2_name" : {
  102446. "type" : "string",
  102447. "description" : "二级类目名称",
  102448. "example" : "中式正餐"
  102449. },
  102450. "mcc_requirements" : {
  102451. "type" : "string",
  102452. "description" : "特殊行业需要上传的资质",
  102453. "example" : "申请成为该行业商家,请提交:1. 营业执照经营范围包含公路的投资、建设、收费、养护、管理、高速公路开发经营及服务"
  102454. },
  102455. "special_qual_required" : {
  102456. "type" : "boolean",
  102457. "description" : "是否需要特殊资质",
  102458. "example" : "false"
  102459. }
  102460. }
  102461. },
  102462. "MdCodeInfoDTO" : {
  102463. "type" : "object",
  102464. "properties" : {
  102465. "code_status" : {
  102466. "type" : "string",
  102467. "description" : "本次回传动态码的状态:\r\tSUCCESS: 本次发码成功\r\tFAIL_RETRY: 本次发码失败,且需要支付宝重试(重新通知商户发码)\r\tFAIL_NOT_RETRY: 本次发码失败,且无需支付宝重试(无需重新通知商户发码)"
  102468. },
  102469. "code_value" : {
  102470. "type" : "string",
  102471. "description" : "动态码的码值:\r\tcode_status为SUCCESS时必填;\r\t基于此码值生成条形码或二维码用于扫码核销。"
  102472. },
  102473. "expire_time" : {
  102474. "type" : "string",
  102475. "description" : "当前动态码的过期(失效)时间:\r\t code_status为SUCCESS时必填。"
  102476. },
  102477. "time_stamp" : {
  102478. "type" : "integer",
  102479. "description" : "商户回传动态码的时间戳。\r\t\r\t即商户调接口回传动态码时刻对应的long类型时间戳,用于区分不同的发码请求。"
  102480. }
  102481. }
  102482. },
  102483. "MemberExtInfo" : {
  102484. "type" : "object",
  102485. "properties" : {
  102486. "employee_id" : {
  102487. "type" : "string",
  102488. "description" : "员工工号信息",
  102489. "example" : "20221"
  102490. }
  102491. }
  102492. },
  102493. "MemberShip" : {
  102494. "type" : "object",
  102495. "properties" : {
  102496. "bank_card_no" : {
  102497. "type" : "string",
  102498. "description" : "银行卡号",
  102499. "example" : "6228000000000000"
  102500. },
  102501. "cert_no" : {
  102502. "type" : "string",
  102503. "description" : "会员二代身份证号码",
  102504. "example" : "339000111111111000"
  102505. },
  102506. "email" : {
  102507. "type" : "string",
  102508. "description" : "邮箱号码",
  102509. "example" : "xxx@koubei.com"
  102510. },
  102511. "mac" : {
  102512. "type" : "string",
  102513. "description" : "MAC地址",
  102514. "example" : "6C:3E:6D:2B:54:34"
  102515. },
  102516. "mobile_phone_no" : {
  102517. "type" : "string",
  102518. "description" : "11位手机号码",
  102519. "example" : "15657153919"
  102520. }
  102521. }
  102522. },
  102523. "MemberStatusRespDTO" : {
  102524. "type" : "object",
  102525. "properties" : {
  102526. "open_id" : {
  102527. "type" : "string",
  102528. "description" : "用户支付宝会员openid",
  102529. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  102530. },
  102531. "status" : {
  102532. "type" : "string",
  102533. "description" : "员工当前状态:\t邀请中(PROCESSING)、正常(NORMAL)、不在企业中(OUT)",
  102534. "example" : "PROCESSING"
  102535. },
  102536. "user_id" : {
  102537. "type" : "string",
  102538. "description" : "用户支付宝2088会员号",
  102539. "example" : "20881213213213"
  102540. }
  102541. }
  102542. },
  102543. "MenuAnalysisData" : {
  102544. "type" : "object",
  102545. "properties" : {
  102546. "avg_click_user_cnt" : {
  102547. "type" : "string",
  102548. "description" : "人均点击次数",
  102549. "example" : "10.25"
  102550. },
  102551. "click_cnt" : {
  102552. "type" : "integer",
  102553. "description" : "菜单点击次数",
  102554. "example" : "10"
  102555. },
  102556. "click_user_cnt" : {
  102557. "type" : "integer",
  102558. "description" : "菜单点击人数",
  102559. "example" : "20"
  102560. },
  102561. "date" : {
  102562. "type" : "string",
  102563. "description" : "日期",
  102564. "example" : "20171101"
  102565. },
  102566. "menu_type" : {
  102567. "type" : "string",
  102568. "description" : "菜单类型 ,iconDefault :图标菜单、default:文字菜单",
  102569. "example" : "default"
  102570. },
  102571. "name" : {
  102572. "type" : "string",
  102573. "description" : "菜单名称",
  102574. "example" : "菜单"
  102575. },
  102576. "sub_name" : {
  102577. "type" : "string",
  102578. "description" : "子菜单名称,文字菜单才有",
  102579. "example" : "子菜单"
  102580. }
  102581. }
  102582. },
  102583. "MerchantActivityModifyVoucherInfo" : {
  102584. "type" : "object",
  102585. "properties" : {
  102586. "logo" : {
  102587. "type" : "string",
  102588. "description" : "券logo\r\t券logo最大字符数不能超过64",
  102589. "example" : "券logo"
  102590. },
  102591. "user_introductions" : {
  102592. "type" : "string",
  102593. "description" : "使用须知\r\t券使用须知最大字符数不能超过256",
  102594. "example" : "使用须知"
  102595. },
  102596. "valid_days_range_to" : {
  102597. "type" : "integer",
  102598. "description" : "领取后, 第几天失效\r\tvalid_time_type=RELATIVE时有效且必填\r\t只允许增加领取后可用天数",
  102599. "example" : "12"
  102600. },
  102601. "valid_time_range_to" : {
  102602. "type" : "string",
  102603. "description" : "有效期截止时间\r\tvalid_time_type=FIXED时有效且必填\r\t券有效结束时间格式必须为yyyy-MM-dd HH:mm:ss\r\t只允许延长固定时间的结束时间(支持到分)",
  102604. "example" : "2017-05-12 21:59:22"
  102605. },
  102606. "valid_time_type" : {
  102607. "type" : "string",
  102608. "description" : "有效期类型:\r\t枚举值:RELATIVE/FIXED",
  102609. "example" : "RELATIVE"
  102610. }
  102611. }
  102612. },
  102613. "MerchantActivityVoucherInfo" : {
  102614. "type" : "object",
  102615. "properties" : {
  102616. "logo" : {
  102617. "type" : "string",
  102618. "description" : "券logo\r\t券logo最大字符数不能超过64"
  102619. },
  102620. "sub_title" : {
  102621. "type" : "string",
  102622. "description" : "子标题\r\t券子标题最大字符数不能超过256\r\t券子标题最小字符数不能低于2"
  102623. },
  102624. "user_introductions" : {
  102625. "type" : "string",
  102626. "description" : "使用须知\r\t券使用须知最大字符数不能超过1000"
  102627. },
  102628. "valid_days_range_from" : {
  102629. "type" : "integer",
  102630. "description" : "领取后, 第几天开始生效\r\tvalid_time_type=RELATIVE时有效且必填"
  102631. },
  102632. "valid_days_range_to" : {
  102633. "type" : "integer",
  102634. "description" : "领取后, 第几天失效\r\tvalid_time_type=RELATIVE时有效且必填"
  102635. },
  102636. "valid_time_range_from" : {
  102637. "type" : "string",
  102638. "description" : "有效期开始时间\r\tvalid_time_type=FIXED时有效且必填\r\t券有效开始时间格式必须为yyyy-MM-dd HH:mm:ss"
  102639. },
  102640. "valid_time_range_to" : {
  102641. "type" : "string",
  102642. "description" : "有效期截止时间\r\tvalid_time_type=FIXED时有效且必填\r\t券有效结束时间格式必须为yyyy-MM-dd HH:mm:ss"
  102643. },
  102644. "valid_time_type" : {
  102645. "type" : "string",
  102646. "description" : "有效期类型"
  102647. }
  102648. }
  102649. },
  102650. "MerchantBaseEnterOpenModel" : {
  102651. "type" : "object",
  102652. "properties" : {
  102653. "logo_info" : {
  102654. "type" : "string",
  102655. "description" : "商户logo文件流信息,该字段为文件流经base64编码后得到的字符串。",
  102656. "example" : "/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAA..."
  102657. },
  102658. "m_name" : {
  102659. "type" : "string",
  102660. "description" : "商户品牌全称。",
  102661. "example" : "蚂蚁金融服务集团"
  102662. },
  102663. "m_short_name" : {
  102664. "type" : "string",
  102665. "description" : "商户品牌简称,只能由大写字母、下划线、数字组成,且必须以大写字母开头。",
  102666. "example" : "MYJF"
  102667. }
  102668. }
  102669. },
  102670. "MerchantBrandListResult" : {
  102671. "type" : "object",
  102672. "properties" : {
  102673. "brand_list_result" : {
  102674. "type" : "array",
  102675. "description" : "商户已有品牌",
  102676. "items" : {
  102677. "$ref" : "#/components/schemas/BrandResult"
  102678. }
  102679. }
  102680. }
  102681. },
  102682. "MerchantCard" : {
  102683. "type" : "object",
  102684. "properties" : {
  102685. "balance" : {
  102686. "type" : "string",
  102687. "description" : "资金卡余额,单位:元,精确到小数点后两位。"
  102688. },
  102689. "biz_card_no" : {
  102690. "type" : "string",
  102691. "description" : "支付宝业务卡号\r\t说明:\r\t1、开卡成功后返回该参数,需要保存留用;\r\t2、开卡/更新/删卡/查询卡接口请求中不需要传该参数;"
  102692. },
  102693. "custom_assets" : {
  102694. "type" : "string",
  102695. "description" : "会员卡自定义资产值,只供特定业务使用,通常接入无需关注"
  102696. },
  102697. "external_card_no" : {
  102698. "type" : "string",
  102699. "description" : "商户外部会员卡卡号\r\t说明:\r\t1、会员卡开卡接口,如果卡类型为外部会员卡,请求中则必须提供该参数;\r\t2、更新、查询、删除等接口,请求中则不需要提供该参数值;"
  102700. },
  102701. "front_image_id" : {
  102702. "type" : "string",
  102703. "description" : "卡面展示图片的图片ID,通过接口(alipay.offline.material.image.upload)上传图片\r\t\r\t这里预期展示的是个人照片;\r\t图片说明:1M以内,格式bmp、png、jpeg、jpg、gif;\r\t图片尺寸为230*295px,可等比放大;"
  102704. },
  102705. "front_text_list" : {
  102706. "type" : "array",
  102707. "description" : "卡面文案列表,1项对应1行文案,最多只能传入4行文案;\r\t单行文案展现分为左右两部分,左边对应label字段,右边对应value;\r\t形如: 学院 新闻学院",
  102708. "items" : {
  102709. "$ref" : "#/components/schemas/CardFrontTextDTO"
  102710. }
  102711. },
  102712. "level" : {
  102713. "type" : "string",
  102714. "description" : "会员卡等级(由商户自定义,并可以在卡模板创建时,定义等级信息)"
  102715. },
  102716. "mdcode_info" : {
  102717. "$ref" : "#/components/schemas/MdCodeInfoDTO"
  102718. },
  102719. "open_date" : {
  102720. "type" : "string",
  102721. "description" : "会员卡开卡时间,格式为yyyy-MM-dd HH:mm:ss。会员卡更新时,该时间不支持修改,请传入调用开卡接口时传入的card_ext_info.open_date时间。"
  102722. },
  102723. "point" : {
  102724. "type" : "string",
  102725. "description" : "会员卡积分,积分必须为数字型(可为浮点型,带2位小数点)"
  102726. },
  102727. "template_id" : {
  102728. "type" : "string",
  102729. "description" : "会员卡更换不同的卡模板(该参数仅用在会员卡更新接口中)"
  102730. },
  102731. "valid_date" : {
  102732. "type" : "string",
  102733. "description" : "会员卡有效期,格式为yyyy-MM-dd HH:mm:ss。会员卡更新时,该时间不支持修改,请传入调用开卡接口时传入的card_ext_info.valid_date时间。"
  102734. }
  102735. }
  102736. },
  102737. "MerchantCardMsgInfo" : {
  102738. "type" : "object",
  102739. "properties" : {
  102740. "changed_point" : {
  102741. "type" : "string",
  102742. "description" : "本次消息通知的变动积分,积分必须为数字型(可为浮点型,带2位小数点),格式非法则不发送消息。例如:\t100,则代表增加100积分。\t-100,则代表减少100积分。",
  102743. "example" : "100.00"
  102744. }
  102745. }
  102746. },
  102747. "MerchantMenber" : {
  102748. "type" : "object",
  102749. "properties" : {
  102750. "birth" : {
  102751. "type" : "string",
  102752. "description" : "生日 yyyy-MM-dd",
  102753. "example" : "2016-06-27"
  102754. },
  102755. "cell" : {
  102756. "type" : "string",
  102757. "description" : "手机号",
  102758. "example" : "13000000000"
  102759. },
  102760. "gende" : {
  102761. "type" : "string",
  102762. "description" : "性别(男:MALE;女:FEMALE)",
  102763. "example" : "MALE"
  102764. },
  102765. "name" : {
  102766. "type" : "string",
  102767. "description" : "姓名",
  102768. "example" : "李洋"
  102769. }
  102770. }
  102771. },
  102772. "MerchantOnlineActivityOpenModel" : {
  102773. "type" : "object",
  102774. "properties" : {
  102775. "activity_id" : {
  102776. "type" : "string",
  102777. "description" : "活动Id",
  102778. "example" : "2018xxxx"
  102779. },
  102780. "camp_id" : {
  102781. "type" : "string",
  102782. "description" : "营销活动Id",
  102783. "example" : "2018xxxx"
  102784. },
  102785. "count_limit" : {
  102786. "type" : "integer",
  102787. "description" : "活动优惠次数限制",
  102788. "example" : "99"
  102789. },
  102790. "count_limit_per_day" : {
  102791. "type" : "integer",
  102792. "description" : "活动优惠单日次数限制",
  102793. "example" : "99"
  102794. },
  102795. "count_limit_per_user" : {
  102796. "type" : "integer",
  102797. "description" : "活动单用户限次",
  102798. "example" : "99"
  102799. },
  102800. "count_limit_per_user_per_day" : {
  102801. "type" : "integer",
  102802. "description" : "活动单用户单日限次",
  102803. "example" : "99"
  102804. },
  102805. "crowd" : {
  102806. "type" : "string",
  102807. "description" : "人群规则\r\tDEFAULT:全部用户\r\tONLINE_NEWCOMER:在线购买新人\r\tMEMBER:会员",
  102808. "example" : "DEFAULT"
  102809. },
  102810. "deduct_amount" : {
  102811. "type" : "string",
  102812. "description" : "代金券面额",
  102813. "example" : "5.00"
  102814. },
  102815. "external_unique_id" : {
  102816. "type" : "string",
  102817. "description" : "外部Id",
  102818. "example" : "xxxxxxx"
  102819. },
  102820. "gmt_end" : {
  102821. "type" : "string",
  102822. "description" : "活动结束时间\r\t格式为:yyyy-MM-dd HH:mm:ss",
  102823. "example" : "2018-12-26 21:07:23"
  102824. },
  102825. "gmt_start" : {
  102826. "type" : "string",
  102827. "description" : "活动开始时间,格式为:yyyy-MM-dd HH:mm:ss",
  102828. "example" : "2017-12-26 21:07:23"
  102829. },
  102830. "item_ids" : {
  102831. "type" : "array",
  102832. "description" : "商品列表",
  102833. "items" : {
  102834. "type" : "string"
  102835. },
  102836. "example" : "[\"2018xxxx\",\"2018xxxx\"]"
  102837. },
  102838. "memo" : {
  102839. "type" : "string",
  102840. "description" : "备注",
  102841. "example" : "备注"
  102842. },
  102843. "min_cost" : {
  102844. "type" : "string",
  102845. "description" : "使用门槛,满X元可用,使用门槛必须大于券面额",
  102846. "example" : "5.00"
  102847. },
  102848. "obtain_manually" : {
  102849. "type" : "boolean",
  102850. "description" : "是否手动领取,本期只支持true",
  102851. "example" : "true"
  102852. },
  102853. "voucher_info" : {
  102854. "$ref" : "#/components/schemas/MerchantActivityVoucherInfo"
  102855. }
  102856. }
  102857. },
  102858. "MerchantQueryResult" : {
  102859. "type" : "object",
  102860. "properties" : {
  102861. "alias_name" : {
  102862. "type" : "string",
  102863. "description" : "商户的别名,用户商户对客展示的名称",
  102864. "example" : "商户小店"
  102865. },
  102866. "cert_no" : {
  102867. "type" : "string",
  102868. "description" : "商户认证证件号,企业营业执照号",
  102869. "example" : "32xxxxxxxxxxxx"
  102870. },
  102871. "city" : {
  102872. "type" : "string",
  102873. "description" : "市名称",
  102874. "example" : "杭州市"
  102875. },
  102876. "detail_address" : {
  102877. "type" : "string",
  102878. "description" : "商户经营详细地址",
  102879. "example" : "文三路127号"
  102880. },
  102881. "distinct" : {
  102882. "type" : "string",
  102883. "description" : "区县名称",
  102884. "example" : "西湖区"
  102885. },
  102886. "mcc_code" : {
  102887. "type" : "string",
  102888. "description" : "商户新版mcc code",
  102889. "example" : "B0001"
  102890. },
  102891. "merchant_type" : {
  102892. "type" : "string",
  102893. "description" : "描述商户类型,个人-P/企业-B",
  102894. "example" : "P"
  102895. },
  102896. "name" : {
  102897. "type" : "string",
  102898. "description" : "商户认证名称信息",
  102899. "example" : "支付宝商户"
  102900. },
  102901. "province" : {
  102902. "type" : "string",
  102903. "description" : "省名称",
  102904. "example" : "浙江省"
  102905. }
  102906. }
  102907. },
  102908. "MerchantShopDTO" : {
  102909. "type" : "object",
  102910. "properties" : {
  102911. "shop_name" : {
  102912. "type" : "string",
  102913. "description" : "球房名称,最长不超过256个字符。",
  102914. "example" : "球房1"
  102915. },
  102916. "shop_no" : {
  102917. "type" : "string",
  102918. "description" : "球房编号。",
  102919. "example" : "1000"
  102920. }
  102921. }
  102922. },
  102923. "MiniAppAuditReason" : {
  102924. "type" : "object",
  102925. "properties" : {
  102926. "audit_images" : {
  102927. "type" : "array",
  102928. "description" : "审核图片列表",
  102929. "items" : {
  102930. "type" : "string"
  102931. }
  102932. },
  102933. "memos" : {
  102934. "type" : "array",
  102935. "description" : "驳回原因列表",
  102936. "items" : {
  102937. "$ref" : "#/components/schemas/MiniAppAuditReasonMemo"
  102938. }
  102939. }
  102940. }
  102941. },
  102942. "MiniAppAuditReasonMemo" : {
  102943. "type" : "object",
  102944. "properties" : {
  102945. "memo" : {
  102946. "type" : "string",
  102947. "description" : "驳回原因"
  102948. },
  102949. "memo_image_list" : {
  102950. "type" : "array",
  102951. "description" : "规则图片链接",
  102952. "items" : {
  102953. "type" : "string"
  102954. }
  102955. }
  102956. }
  102957. },
  102958. "MiniAppCategory" : {
  102959. "type" : "object",
  102960. "properties" : {
  102961. "category_id" : {
  102962. "type" : "string",
  102963. "description" : "类目id"
  102964. },
  102965. "category_name" : {
  102966. "type" : "string",
  102967. "description" : "类目名称"
  102968. },
  102969. "has_child" : {
  102970. "type" : "boolean",
  102971. "description" : "是否有子类目"
  102972. },
  102973. "need_license" : {
  102974. "type" : "boolean",
  102975. "description" : "是否需要营业执照"
  102976. },
  102977. "need_out_door_pic" : {
  102978. "type" : "boolean",
  102979. "description" : "是否需要门头照"
  102980. },
  102981. "need_special_license" : {
  102982. "type" : "boolean",
  102983. "description" : "是否需要特许营业执照"
  102984. },
  102985. "parent_category_id" : {
  102986. "type" : "string",
  102987. "description" : "父类目id"
  102988. }
  102989. }
  102990. },
  102991. "MiniAppCategoryInfo" : {
  102992. "type" : "object",
  102993. "properties" : {
  102994. "first_category_id" : {
  102995. "type" : "string",
  102996. "description" : "一级类目id"
  102997. },
  102998. "first_category_name" : {
  102999. "type" : "string",
  103000. "description" : "一级类目名称"
  103001. },
  103002. "second_category_id" : {
  103003. "type" : "string",
  103004. "description" : "二级类目id"
  103005. },
  103006. "second_category_name" : {
  103007. "type" : "string",
  103008. "description" : "二级类目名称"
  103009. },
  103010. "third_category_id" : {
  103011. "type" : "string",
  103012. "description" : "三级类目id,可空"
  103013. },
  103014. "third_category_name" : {
  103015. "type" : "string",
  103016. "description" : "三级类目名称,可空"
  103017. }
  103018. }
  103019. },
  103020. "MiniAppDeployResponse" : {
  103021. "type" : "object",
  103022. "properties" : {
  103023. "android_client_max" : {
  103024. "type" : "string",
  103025. "description" : "安卓最大版本号"
  103026. },
  103027. "android_client_min" : {
  103028. "type" : "string",
  103029. "description" : "安卓最低版本号"
  103030. },
  103031. "app_version" : {
  103032. "type" : "string",
  103033. "description" : "小程序版本号"
  103034. },
  103035. "bundle_id" : {
  103036. "type" : "string",
  103037. "description" : "端标识"
  103038. },
  103039. "deploy_version" : {
  103040. "type" : "string",
  103041. "description" : "发布版本"
  103042. },
  103043. "gmt_create" : {
  103044. "type" : "string",
  103045. "description" : "创建时间"
  103046. },
  103047. "gmt_modified" : {
  103048. "type" : "string",
  103049. "description" : "修改时间"
  103050. },
  103051. "ios_client_max" : {
  103052. "type" : "string",
  103053. "description" : "iOS最大版本号"
  103054. },
  103055. "ios_client_min" : {
  103056. "type" : "string",
  103057. "description" : "iOS最小版本号"
  103058. },
  103059. "mini_app_id" : {
  103060. "type" : "string",
  103061. "description" : "小程序ID"
  103062. },
  103063. "package_size" : {
  103064. "type" : "string",
  103065. "description" : "包大小"
  103066. },
  103067. "status" : {
  103068. "type" : "string",
  103069. "description" : "发布状态\t INVALID(\"INVALID\", \"非法\"),\t INIT(\"INIT\", \"初始化状态\"),\t PRE_ONLINE(\"PRE_ONLINE\", \"预发\");\t GRAY(\"GRAY\", \"灰度\"),\t ONLINE(\"ONLINE\", \"上架\"),\t ABANDON(\"ABANDON\", \"废弃\"),"
  103070. }
  103071. }
  103072. },
  103073. "MiniAppPluginInfo" : {
  103074. "type" : "object",
  103075. "properties" : {
  103076. "package_url" : {
  103077. "type" : "string",
  103078. "description" : "插件包地址",
  103079. "example" : "www.xxx.com"
  103080. },
  103081. "plugin_id" : {
  103082. "type" : "string",
  103083. "description" : "插件id,即插件的唯一标识",
  103084. "example" : "2016122304555146"
  103085. },
  103086. "require_version" : {
  103087. "type" : "string",
  103088. "description" : "小程序引用的插件版本,可以指定插件版本,1.2.3。也可以使用最新版本,*。推荐使用*",
  103089. "example" : "*"
  103090. }
  103091. }
  103092. },
  103093. "MiniAppPluginReference" : {
  103094. "type" : "object",
  103095. "properties" : {
  103096. "lazy" : {
  103097. "type" : "boolean",
  103098. "description" : "是否懒加载"
  103099. },
  103100. "plugin_id" : {
  103101. "type" : "string",
  103102. "description" : "插件id,即插件的唯一标识,形如小程序的appId"
  103103. },
  103104. "plugin_lazy" : {
  103105. "type" : "boolean",
  103106. "description" : "是否懒加载"
  103107. },
  103108. "plugin_version" : {
  103109. "type" : "string",
  103110. "description" : "小程序引用的插件版本,可以指定插件版本,如:1.0.11;也可以填*,表示引用最新的插件版本,此时,当插件发布新版本后,小程序内的插件会自动更新到最新的版本。"
  103111. }
  103112. }
  103113. },
  103114. "MiniAppServiceInfo" : {
  103115. "type" : "object",
  103116. "properties" : {
  103117. "biz_status" : {
  103118. "type" : "string",
  103119. "description" : "插件发布状态码,暂存100,风控审核200,运营审核300,等待上架400,已预发上架500,已上架501,已下架600,已驳回700",
  103120. "example" : "200"
  103121. },
  103122. "is_inner" : {
  103123. "type" : "boolean",
  103124. "description" : "是否是内部标,true/false",
  103125. "example" : "true"
  103126. },
  103127. "is_order" : {
  103128. "type" : "boolean",
  103129. "description" : "是否订购,true/false",
  103130. "example" : "true"
  103131. },
  103132. "isv_app_id" : {
  103133. "type" : "string",
  103134. "description" : "三方应用appid",
  103135. "example" : "2021000146612019"
  103136. },
  103137. "mini_app_id" : {
  103138. "type" : "string",
  103139. "description" : "应用id",
  103140. "example" : "2021000146613280"
  103141. },
  103142. "mini_app_name" : {
  103143. "type" : "string",
  103144. "description" : "测试插件",
  103145. "example" : "小程序名称"
  103146. },
  103147. "seller_id" : {
  103148. "type" : "string",
  103149. "description" : "卖家pid",
  103150. "example" : "2088301715777422"
  103151. },
  103152. "seller_name" : {
  103153. "type" : "string",
  103154. "description" : "卖家名",
  103155. "example" : "frikwj"
  103156. },
  103157. "service_code" : {
  103158. "type" : "string",
  103159. "description" : "商品CODE",
  103160. "example" : "AM010401000000070768"
  103161. },
  103162. "service_logo" : {
  103163. "type" : "string",
  103164. "description" : "服务图标",
  103165. "example" : "http://appstoreisvpic.alipayobjects.com/dev/50a1a2ad-c9af-4c24-92e0-84127857b634.jpg"
  103166. },
  103167. "service_name" : {
  103168. "type" : "string",
  103169. "description" : "服务名",
  103170. "example" : "崮城的小程序插件01插件"
  103171. },
  103172. "service_slogan" : {
  103173. "type" : "string",
  103174. "description" : "服务简介",
  103175. "example" : "反倒是离开及发的克里斯"
  103176. },
  103177. "show_type" : {
  103178. "type" : "string",
  103179. "description" : "是否在服务市场透出,SHOW展示、HIDE隐藏",
  103180. "example" : "SHOW"
  103181. }
  103182. }
  103183. },
  103184. "MiniPackageInfo" : {
  103185. "type" : "object",
  103186. "properties" : {
  103187. "doc_url" : {
  103188. "type" : "string",
  103189. "description" : "功能包文档地址",
  103190. "example" : "http://doc.aaa.alipay.com"
  103191. },
  103192. "package_desc" : {
  103193. "type" : "string",
  103194. "description" : "功能包描述",
  103195. "example" : "这是通用能力"
  103196. },
  103197. "package_name" : {
  103198. "type" : "string",
  103199. "description" : "功能包名称",
  103200. "example" : "基础能力"
  103201. },
  103202. "package_open_type" : {
  103203. "type" : "string",
  103204. "description" : "功能包开通方式,\"APPLY\", \"申请开通\";\"ORDER\", \"签约开通\";\"DEFAULT\", \"默认开通\"",
  103205. "example" : "APPLY"
  103206. },
  103207. "status" : {
  103208. "type" : "string",
  103209. "description" : "功能包签约状态,\"valid\", \"已生效\";\"audit\", \"签约中\";\"invalid\", \"已失效\";\"none\", \"未签约\"",
  103210. "example" : "valid"
  103211. }
  103212. }
  103213. },
  103214. "MiniVersionBaseInfo" : {
  103215. "type" : "object",
  103216. "properties" : {
  103217. "app_version" : {
  103218. "type" : "string",
  103219. "description" : "版本号",
  103220. "example" : "1.0.0"
  103221. },
  103222. "build_source" : {
  103223. "type" : "string",
  103224. "description" : "小程序所属来源",
  103225. "example" : "01"
  103226. },
  103227. "bundle_id" : {
  103228. "type" : "string",
  103229. "description" : "com.alipay.alipaywallet:支付宝,com.amap.app:高德",
  103230. "example" : "com.alipay.alipaywallet"
  103231. },
  103232. "dev_id" : {
  103233. "type" : "string",
  103234. "description" : "小程序开发者ID",
  103235. "example" : "2088********"
  103236. },
  103237. "gray_strategy" : {
  103238. "type" : "string",
  103239. "description" : "小程序灰度值",
  103240. "example" : "p10"
  103241. },
  103242. "mini_app_id" : {
  103243. "type" : "string",
  103244. "description" : "小程序应用ID",
  103245. "example" : "2019********"
  103246. },
  103247. "status" : {
  103248. "type" : "string",
  103249. "description" : "小程序状态",
  103250. "example" : "INIT"
  103251. }
  103252. }
  103253. },
  103254. "MiniappBrandAuditResult" : {
  103255. "type" : "object",
  103256. "properties" : {
  103257. "brand_id" : {
  103258. "type" : "string",
  103259. "description" : "小程序提交品牌认证时的品牌id",
  103260. "example" : "brand_id2020091684564595"
  103261. },
  103262. "brand_name" : {
  103263. "type" : "string",
  103264. "description" : "小程序提交品牌认证时的品牌名称",
  103265. "example" : "brand_namecr7officials"
  103266. },
  103267. "brand_status" : {
  103268. "type" : "string",
  103269. "description" : "小程序提交品牌认证后的认证状态\tAUDITING(审核中)\tAUDIT_PASS(审核通过)\tAUDIT_REJECT(驳回审核)\tINVALID(已失效)\tNEAR_INVALID(即将过期失效)\tCANCEL(取消认证)\tNO_BRAND(未认证)",
  103270. "example" : "AUDITING(审核中)"
  103271. },
  103272. "has_brand" : {
  103273. "type" : "string",
  103274. "description" : "小程序提交品牌认证是否认证成功",
  103275. "example" : "true"
  103276. },
  103277. "invalid_reason" : {
  103278. "type" : "string",
  103279. "description" : "失效原因",
  103280. "example" : "品牌授权日期已到"
  103281. },
  103282. "reject_reason" : {
  103283. "type" : "string",
  103284. "description" : "驳回原因",
  103285. "example" : "申请人身份认证不通过"
  103286. }
  103287. }
  103288. },
  103289. "ModifyQuotaDetails" : {
  103290. "type" : "object",
  103291. "properties" : {
  103292. "quota_amount" : {
  103293. "type" : "string",
  103294. "description" : "具体额度,单位:元。如金额为空,表示删除已有的额度设置,无已有额度设置则忽略。",
  103295. "example" : "100"
  103296. },
  103297. "quota_dimension" : {
  103298. "type" : "string",
  103299. "description" : "额度维度\tMONTH/DAY/SINGLE\t分别代表月、日、单次",
  103300. "example" : "MONTH"
  103301. },
  103302. "role" : {
  103303. "type" : "string",
  103304. "description" : "PAYER/PAYEE\t额度管控的角色,收or付款方,目前只支持付款方",
  103305. "example" : "PAYER"
  103306. }
  103307. }
  103308. },
  103309. "MonitorHeartbeatSynErrorResponseModel" : {
  103310. "required" : [ "code", "message" ],
  103311. "type" : "object",
  103312. "properties" : {
  103313. "code" : {
  103314. "type" : "string",
  103315. "description" : "错误码"
  103316. },
  103317. "links" : {
  103318. "type" : "string",
  103319. "description" : "解决方案链接"
  103320. },
  103321. "message" : {
  103322. "type" : "string",
  103323. "description" : "错误描述"
  103324. }
  103325. }
  103326. },
  103327. "MonitorHeartbeatSynModel" : {
  103328. "type" : "object",
  103329. "properties" : {
  103330. "biz_content" : {
  103331. "type" : "string",
  103332. "description" : "验签时该参数不做任何处理",
  103333. "example" : "{任意值}"
  103334. }
  103335. }
  103336. },
  103337. "MonitorHeartbeatSynResponseModel" : {
  103338. "type" : "object",
  103339. "properties" : {
  103340. "pid" : {
  103341. "type" : "string",
  103342. "description" : "商户pid",
  103343. "example" : "商户pid"
  103344. }
  103345. }
  103346. },
  103347. "MoreInfoDTO" : {
  103348. "type" : "object",
  103349. "properties" : {
  103350. "descs" : {
  103351. "type" : "array",
  103352. "description" : "选择opennative的时候必须填写descs的内容",
  103353. "items" : {
  103354. "type" : "string"
  103355. }
  103356. },
  103357. "params" : {
  103358. "type" : "string",
  103359. "description" : "扩展参数,需要URL地址回带的值,JSON格式(openweb时填)"
  103360. },
  103361. "title" : {
  103362. "type" : "string",
  103363. "description" : "二级页面标题,只有当operate_type为openNative时有效。"
  103364. },
  103365. "url" : {
  103366. "type" : "string",
  103367. "description" : "超链接(选择openweb的时候必须填写url参数内容)"
  103368. }
  103369. }
  103370. },
  103371. "MultiCurrencyMoneyOpenApi" : {
  103372. "type" : "object",
  103373. "properties" : {
  103374. "cent" : {
  103375. "type" : "integer",
  103376. "description" : "分"
  103377. },
  103378. "currency_value" : {
  103379. "type" : "string",
  103380. "description" : "币种类型值"
  103381. }
  103382. }
  103383. },
  103384. "MutipleCurrencyDetail" : {
  103385. "type" : "object",
  103386. "properties" : {
  103387. "ext_info" : {
  103388. "type" : "string",
  103389. "description" : "扩展字段",
  103390. "example" : "key=value"
  103391. },
  103392. "payment_amount" : {
  103393. "type" : "string",
  103394. "description" : "支付金额",
  103395. "example" : "100.00"
  103396. },
  103397. "payment_currency" : {
  103398. "type" : "string",
  103399. "description" : "支付币种",
  103400. "example" : "CNY"
  103401. },
  103402. "settlement_amount" : {
  103403. "type" : "string",
  103404. "description" : "清算金额",
  103405. "example" : "10.00"
  103406. },
  103407. "settlement_currency" : {
  103408. "type" : "string",
  103409. "description" : "清算币种",
  103410. "example" : "CNY"
  103411. },
  103412. "trans_amount" : {
  103413. "type" : "string",
  103414. "description" : "转账金额",
  103415. "example" : "10.00"
  103416. },
  103417. "trans_currency" : {
  103418. "type" : "string",
  103419. "description" : "转账币种",
  103420. "example" : "CNY"
  103421. }
  103422. }
  103423. },
  103424. "OcrNormalScanInfo" : {
  103425. "type" : "object",
  103426. "properties" : {
  103427. "invoice_code" : {
  103428. "type" : "string",
  103429. "description" : "发票代码"
  103430. },
  103431. "invoice_date" : {
  103432. "type" : "string",
  103433. "description" : "开票时间"
  103434. },
  103435. "invoice_no" : {
  103436. "type" : "string",
  103437. "description" : "发票号码"
  103438. },
  103439. "price" : {
  103440. "type" : "string",
  103441. "description" : "金额"
  103442. },
  103443. "remark" : {
  103444. "type" : "string",
  103445. "description" : "明细事由"
  103446. }
  103447. }
  103448. },
  103449. "OcrPlaneScanInfo" : {
  103450. "type" : "object",
  103451. "properties" : {
  103452. "destination" : {
  103453. "type" : "string",
  103454. "description" : "目的地"
  103455. },
  103456. "flight_no" : {
  103457. "type" : "string",
  103458. "description" : "航班号"
  103459. },
  103460. "invoice_date" : {
  103461. "type" : "string",
  103462. "description" : "乘机日期"
  103463. },
  103464. "origin" : {
  103465. "type" : "string",
  103466. "description" : "出发地"
  103467. },
  103468. "passenger" : {
  103469. "type" : "string",
  103470. "description" : "乘客"
  103471. },
  103472. "price" : {
  103473. "type" : "string",
  103474. "description" : "金额"
  103475. },
  103476. "remark" : {
  103477. "type" : "string",
  103478. "description" : "明细事由"
  103479. },
  103480. "seat_class" : {
  103481. "type" : "string",
  103482. "description" : "飞机舱位"
  103483. }
  103484. }
  103485. },
  103486. "OcrTaxiScanInfo" : {
  103487. "type" : "object",
  103488. "properties" : {
  103489. "get_off_time" : {
  103490. "type" : "string",
  103491. "description" : "下车时间"
  103492. },
  103493. "get_on_time" : {
  103494. "type" : "string",
  103495. "description" : "上车时间"
  103496. },
  103497. "invoice_code" : {
  103498. "type" : "string",
  103499. "description" : "发票代码"
  103500. },
  103501. "invoice_date" : {
  103502. "type" : "string",
  103503. "description" : "开票时间"
  103504. },
  103505. "invoice_no" : {
  103506. "type" : "string",
  103507. "description" : "发票号码"
  103508. },
  103509. "passenger" : {
  103510. "type" : "string",
  103511. "description" : "乘客人"
  103512. },
  103513. "price" : {
  103514. "type" : "string",
  103515. "description" : "金额"
  103516. },
  103517. "travel_dist" : {
  103518. "type" : "string",
  103519. "description" : "乘车距离"
  103520. }
  103521. }
  103522. },
  103523. "OcrTrainScanInfo" : {
  103524. "type" : "object",
  103525. "properties" : {
  103526. "destination" : {
  103527. "type" : "string",
  103528. "description" : "目的地"
  103529. },
  103530. "invoice_date" : {
  103531. "type" : "string",
  103532. "description" : "乘车日期"
  103533. },
  103534. "origin" : {
  103535. "type" : "string",
  103536. "description" : "出发地"
  103537. },
  103538. "passenger" : {
  103539. "type" : "string",
  103540. "description" : "乘客"
  103541. },
  103542. "price" : {
  103543. "type" : "string",
  103544. "description" : "金额"
  103545. },
  103546. "remark" : {
  103547. "type" : "string",
  103548. "description" : "明细事由"
  103549. },
  103550. "seat_class" : {
  103551. "type" : "string",
  103552. "description" : "座次"
  103553. },
  103554. "train_no" : {
  103555. "type" : "string",
  103556. "description" : "车次"
  103557. }
  103558. }
  103559. },
  103560. "OpenApiRefundFundDetailPojo" : {
  103561. "type" : "object",
  103562. "properties" : {
  103563. "funds" : {
  103564. "type" : "array",
  103565. "description" : "退款资金明细\r\t详:\r\t若type为paySerialNo则funds为\r\t[{\"paySerialNo\":\"支付流水1\",\"refundFee\":\"退款金额1\"},{\"paySerialNo\":\"支付流水2\",\"refundFee\":\"退款金额2\"}]",
  103566. "items" : {
  103567. "type" : "string"
  103568. },
  103569. "example" : "[{\"paySerialNo\":\"2018081603020111\",refundFee:\"12.00\"},{\"paySerialNo\":\"2018081603020112\",refundFee:\"2.00\"}]"
  103570. },
  103571. "trans_in" : {
  103572. "type" : "string",
  103573. "description" : "收入方账户\r\t为空则原路退回",
  103574. "example" : "2088101126708402"
  103575. },
  103576. "trans_in_type" : {
  103577. "type" : "string",
  103578. "description" : "收入方账户类型",
  103579. "example" : "bankAccount"
  103580. },
  103581. "type" : {
  103582. "type" : "string",
  103583. "description" : "描述资金明细类型\r\t详:若type为paySerialNo\r\t则funds参数中体现的都为对应支付流水的退款明细",
  103584. "example" : "paySerialNo"
  103585. }
  103586. }
  103587. },
  103588. "OpenApiResponseHeader" : {
  103589. "type" : "object",
  103590. "properties" : {
  103591. "conversation_id" : {
  103592. "type" : "string",
  103593. "description" : "会话id,对应请求中的conversation_id,若请求中conversation_id非空,则该值非空",
  103594. "example" : "0b09fcb8-e2df-4d03-8265-e8384788f525"
  103595. },
  103596. "response_id" : {
  103597. "type" : "string",
  103598. "description" : "响应id,对应请求中的request_id。如果请求中request_id非空,则response_id非空。",
  103599. "example" : "aaf4d9d2-908b-4ccf-83ef-1b1a857e4296"
  103600. },
  103601. "status_code" : {
  103602. "type" : "string",
  103603. "description" : "自定义状态码",
  103604. "example" : "200"
  103605. },
  103606. "status_message" : {
  103607. "type" : "string",
  103608. "description" : "状态信息",
  103609. "example" : "Not parsed programmatically. Example \"Downstream system offline\""
  103610. },
  103611. "sub_status_code" : {
  103612. "type" : "string",
  103613. "description" : "子状态码",
  103614. "example" : "40601"
  103615. }
  103616. }
  103617. },
  103618. "OpenApiRoyaltyDetailInfoPojo" : {
  103619. "type" : "object",
  103620. "properties" : {
  103621. "amount" : {
  103622. "type" : "string",
  103623. "description" : "分账的金额,单位为元"
  103624. },
  103625. "amount_percentage" : {
  103626. "type" : "integer",
  103627. "description" : "分账信息中分账百分比。取值范围为大于0,少于或等于100的整数。"
  103628. },
  103629. "desc" : {
  103630. "type" : "string",
  103631. "description" : "分账描述"
  103632. },
  103633. "royalty_scene" : {
  103634. "type" : "string",
  103635. "description" : "可选值:达人佣金、平台服务费、技术服务费、其他"
  103636. },
  103637. "royalty_type" : {
  103638. "type" : "string",
  103639. "description" : "分账类型.\r\t普通分账为:transfer;\r\t补差为:replenish;\r\t为空默认为分账transfer;"
  103640. },
  103641. "trans_in" : {
  103642. "type" : "string",
  103643. "description" : "收入方账户。如果收入方账户类型为userId,本参数为收入方的支付宝账号对应的支付宝唯一用户号,以2088开头的纯16位数字;如果收入方类型为cardAliasNo,本参数为收入方在支付宝绑定的卡编号;如果收入方类型为loginName,本参数为收入方的支付宝登录号;"
  103644. },
  103645. "trans_in_name" : {
  103646. "type" : "string",
  103647. "description" : "分账收款方姓名,上送则进行姓名与支付宝账号的一致性校验,校验不一致则分账失败。不上送则不进行姓名校验"
  103648. },
  103649. "trans_in_type" : {
  103650. "type" : "string",
  103651. "description" : "收入方账户类型。userId表示是支付宝账号对应的支付宝唯一用户号;cardAliasNo表示是卡编号;loginName表示是支付宝登录号;"
  103652. },
  103653. "trans_out" : {
  103654. "type" : "string",
  103655. "description" : "支出方账户。如果支出方账户类型为userId,本参数为支出方的支付宝账号对应的支付宝唯一用户号,以2088开头的纯16位数字;如果支出方类型为loginName,本参数为支出方的支付宝登录号。 泛金融类商户分账时,该字段不要上送。"
  103656. },
  103657. "trans_out_type" : {
  103658. "type" : "string",
  103659. "description" : "支出方账户类型。userId表示是支付宝账号对应的支付宝唯一用户号;loginName表示是支付宝登录号; 泛金融类商户分账时,该字段不要上送。"
  103660. }
  103661. }
  103662. },
  103663. "OpenAppOperatorVo" : {
  103664. "type" : "object",
  103665. "properties" : {
  103666. "logon_id" : {
  103667. "type" : "string",
  103668. "description" : "登录账号",
  103669. "example" : "登录账号"
  103670. },
  103671. "nick_name" : {
  103672. "type" : "string",
  103673. "description" : "昵称",
  103674. "example" : "张三"
  103675. },
  103676. "portrait" : {
  103677. "type" : "string",
  103678. "description" : "用户头像",
  103679. "example" : "htpt://****"
  103680. },
  103681. "role" : {
  103682. "type" : "string",
  103683. "description" : "角色",
  103684. "example" : "OPERATOR"
  103685. },
  103686. "status" : {
  103687. "type" : "string",
  103688. "description" : "状态",
  103689. "example" : "VALID"
  103690. },
  103691. "user_id" : {
  103692. "type" : "string",
  103693. "description" : "用户Id",
  103694. "example" : "用户Id"
  103695. }
  103696. }
  103697. },
  103698. "OpenCertifyIdentityParam" : {
  103699. "type" : "object",
  103700. "properties" : {
  103701. "cert_digest" : {
  103702. "type" : "string",
  103703. "description" : "cert_digest:\t身份信息摘要",
  103704. "example" : "21232f297a57a5a743894a0e4a801fc3"
  103705. },
  103706. "cert_name" : {
  103707. "type" : "string",
  103708. "description" : "cert_name:\t填入真实姓名",
  103709. "example" : "张三"
  103710. },
  103711. "cert_no" : {
  103712. "type" : "string",
  103713. "description" : "cert_no:\t填入姓名相匹配的证件号码",
  103714. "example" : "260104197909275964"
  103715. },
  103716. "cert_type" : {
  103717. "type" : "string",
  103718. "description" : "cert_type:\t1、若为身份证,填IDENTITY_CARD;\t2、若为港澳居民来往内地通行证,填HOME_VISIT_PERMIT_HK_MC;\t3、若为台湾居民来往内地通行证,填HOME_VISIT_PERMIT_TAIWAN;\t4、若为港澳居民居住证,填RESIDENCE_PERMIT_HK_MC;\t5、若为台湾居民居住证,填RESIDENCE_PERMIT_TAIWAN;",
  103719. "example" : "IDENTITY_CARD"
  103720. },
  103721. "facial_picture_front" : {
  103722. "type" : "string",
  103723. "description" : "facial_picture_front:\t活体人脸图片base64串,主要用于离线人脸比对",
  103724. "example" : "xydasf=="
  103725. },
  103726. "identity_type" : {
  103727. "type" : "string",
  103728. "description" : "identity_type\t1.若本人验证,使用CERT_INFO;\t2.若代他人验证,使用AGENT_CERT_INFO;",
  103729. "example" : "CERT_INFO"
  103730. },
  103731. "open_id" : {
  103732. "type" : "string",
  103733. "description" : "open_id:\t开放平台用户ID",
  103734. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  103735. },
  103736. "phone_no" : {
  103737. "type" : "string",
  103738. "description" : "phone_no:\t填写姓名相匹配的手机号",
  103739. "example" : "13000000000"
  103740. },
  103741. "user_id" : {
  103742. "type" : "string",
  103743. "description" : "user_id:\t支付宝用户ID",
  103744. "example" : "2088xxxx"
  103745. }
  103746. }
  103747. },
  103748. "OpenCertifyMerchantConfig" : {
  103749. "type" : "object",
  103750. "properties" : {
  103751. "auth_scope" : {
  103752. "type" : "string",
  103753. "description" : "用于开放认证授权",
  103754. "example" : "xxx"
  103755. },
  103756. "auth_type" : {
  103757. "type" : "string",
  103758. "description" : "用于指定授权类型,与auth_scope配合使用",
  103759. "example" : "xxx"
  103760. },
  103761. "face_reserve_strategy" : {
  103762. "type" : "string",
  103763. "description" : "不传默认为reserve",
  103764. "example" : "reserve"
  103765. },
  103766. "facial_picture_level" : {
  103767. "type" : "string",
  103768. "description" : "若有特殊人脸等级采集要求,可指定等级",
  103769. "example" : "FIN0"
  103770. },
  103771. "linked_merchant_app_id" : {
  103772. "type" : "string",
  103773. "description" : "用于授权二级商户操作",
  103774. "example" : "202134xxxx"
  103775. },
  103776. "linked_merchant_logo_url" : {
  103777. "type" : "string",
  103778. "description" : "用于指定展示的商户logo",
  103779. "example" : "http://xxx"
  103780. },
  103781. "linked_merchant_name" : {
  103782. "type" : "string",
  103783. "description" : "用于指定展示的商户名称",
  103784. "example" : "杭州xx公司"
  103785. },
  103786. "out_put_facial_picture" : {
  103787. "type" : "boolean",
  103788. "description" : "在拥有该权限前提下,用于商户控制是否透出活体人脸",
  103789. "example" : "true"
  103790. },
  103791. "return_url" : {
  103792. "type" : "string",
  103793. "description" : "认证成功后需要跳转的地址,一般为商户业务页面;若无跳转地址可填空字符\"\";",
  103794. "example" : "https://xxx"
  103795. }
  103796. }
  103797. },
  103798. "OpenFormFieldDO" : {
  103799. "type" : "object",
  103800. "properties" : {
  103801. "optional" : {
  103802. "type" : "string",
  103803. "description" : "表单可选字段配置,common_fields属性定义一个表单字段数组,表单字段有效值列表与required字段有效值列表相同。\r\t可选字段配置中不能含有必须字段配置的有效值。",
  103804. "example" : "{\r\n \"common_fields\": [\r\n \"OPEN_FORM_FIELD_GENDER\"\r\n ]\r\n }"
  103805. },
  103806. "required" : {
  103807. "type" : "string",
  103808. "description" : "表单必填字段配置,common_fields属性定义一个表单字段数组,字段有效值如下列表所示:\r\tOPEN_FORM_FIELD_MOBILE -- 手机号\r\tOPEN_FORM_FIELD_GENDER -- 性别\r\tOPEN_FORM_FIELD_NAME -- 姓名\r\tOPEN_FORM_FIELD_BIRTHDAY -- 生日\r\tOPEN_FORM_FIELD_IDCARD -- 身份证\r\tOPEN_FORM_FIELD_EMAIL -- 邮箱\r\tOPEN_FORM_FIELD_ADDRESS -- 地址\r\tOPEN_FORM_FIELD_CITY -- 城市\r\tOPEN_FORM_FIELD_IS_STUDENT -- 是否学生认证\r\tOPEN_FORM_FIELD_MEMBER_GRADE -- 会员等级",
  103809. "example" : "{\r\n \"common_fields\": [\r\n \"OPEN_FORM_FIELD_MOBILE\"\r\n ]\r\n }"
  103810. }
  103811. }
  103812. },
  103813. "OpenidComplex" : {
  103814. "type" : "object",
  103815. "properties" : {
  103816. "json_string" : {
  103817. "type" : "string",
  103818. "description" : "11",
  103819. "example" : "{}"
  103820. },
  103821. "open_id_list" : {
  103822. "type" : "array",
  103823. "description" : "1",
  103824. "items" : {
  103825. "type" : "string"
  103826. },
  103827. "example" : "[\"074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5\"]"
  103828. },
  103829. "openid" : {
  103830. "type" : "string",
  103831. "description" : "11",
  103832. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  103833. },
  103834. "uid" : {
  103835. "type" : "string",
  103836. "description" : "11",
  103837. "example" : "2088502241306951"
  103838. },
  103839. "uid_list" : {
  103840. "type" : "array",
  103841. "description" : "1",
  103842. "items" : {
  103843. "type" : "string"
  103844. },
  103845. "example" : "[\"2088502241306951\"]"
  103846. }
  103847. }
  103848. },
  103849. "OperationResultExtInfo" : {
  103850. "type" : "object",
  103851. "properties" : {
  103852. "activation_time" : {
  103853. "type" : "string",
  103854. "description" : "激活时间",
  103855. "example" : "2021-11-12 00:00:00"
  103856. },
  103857. "device_no" : {
  103858. "type" : "string",
  103859. "description" : "设备号",
  103860. "example" : "WW321314"
  103861. }
  103862. }
  103863. },
  103864. "Option" : {
  103865. "type" : "object",
  103866. "properties" : {
  103867. "text" : {
  103868. "type" : "string",
  103869. "description" : "文本,通常用于理解对应的取值",
  103870. "example" : "男"
  103871. },
  103872. "value" : {
  103873. "type" : "string",
  103874. "description" : "取值,通常使用简单的数字或字符串",
  103875. "example" : "0"
  103876. }
  103877. }
  103878. },
  103879. "OrderApplyStatusBriefDTO" : {
  103880. "type" : "object",
  103881. "properties" : {
  103882. "apply_status" : {
  103883. "type" : "string",
  103884. "description" : "SUCCESS:开票成功\tFAIL:开票失败\tPROCESS:开票中\tNOTEXIST:申请不存在",
  103885. "example" : "SUCCESS"
  103886. },
  103887. "order_no" : {
  103888. "type" : "string",
  103889. "description" : "开票申请时传入订单号(支持主单号、子单号),不限是否为支付宝体内交易单号",
  103890. "example" : "20200520110046966071"
  103891. }
  103892. }
  103893. },
  103894. "OrderDataDistributeInfo" : {
  103895. "type" : "object",
  103896. "properties" : {
  103897. "not_distribute_reason" : {
  103898. "type" : "string",
  103899. "description" : "未分发到场景的具体原因。开发者可根据具体原因定位解决问题后发起重试。",
  103900. "example" : "小程序id不存在"
  103901. },
  103902. "scene_code" : {
  103903. "type" : "string",
  103904. "description" : "分发场景code。\t具体枚举值如下:SERVICE_MSG-订单消息",
  103905. "example" : "SERVICE_MSG"
  103906. },
  103907. "scene_name" : {
  103908. "type" : "string",
  103909. "description" : "分发场景名,对应scene_code。",
  103910. "example" : "订单消息"
  103911. }
  103912. }
  103913. },
  103914. "OrderDataSyncSuggestion" : {
  103915. "type" : "object",
  103916. "properties" : {
  103917. "message" : {
  103918. "type" : "string",
  103919. "description" : "同步建议内容",
  103920. "example" : "建议回传蚂蚁球房ID,以便在场景中更好的分发"
  103921. },
  103922. "type" : {
  103923. "type" : "string",
  103924. "description" : "同步建议类型",
  103925. "example" : "SHOP_ID_INVALID"
  103926. }
  103927. }
  103928. },
  103929. "OrderExtInfo" : {
  103930. "type" : "object",
  103931. "properties" : {
  103932. "ext_key" : {
  103933. "type" : "string",
  103934. "description" : "键值"
  103935. },
  103936. "ext_value" : {
  103937. "type" : "string",
  103938. "description" : "值"
  103939. }
  103940. }
  103941. },
  103942. "OrderExtIstd" : {
  103943. "type" : "object",
  103944. "properties" : {
  103945. "cash_on_delivery" : {
  103946. "type" : "string",
  103947. "description" : "骑手应付金额"
  103948. },
  103949. "cash_on_pickup" : {
  103950. "type" : "string",
  103951. "description" : "骑手应收金额"
  103952. },
  103953. "consumer_order_time" : {
  103954. "type" : "string",
  103955. "description" : "消费者下单时间"
  103956. },
  103957. "delivery_direction" : {
  103958. "type" : "integer",
  103959. "description" : "物流流向,1:从球房取件送至用户;2:从用户取件送至球房"
  103960. },
  103961. "delivery_type" : {
  103962. "type" : "integer",
  103963. "description" : "配送类型, 0: 即时单 1 预约单"
  103964. },
  103965. "desc" : {
  103966. "type" : "string",
  103967. "description" : "备注"
  103968. },
  103969. "expected_delivery_time" : {
  103970. "type" : "string",
  103971. "description" : "期望派单时间"
  103972. },
  103973. "expected_finish_time" : {
  103974. "type" : "string",
  103975. "description" : "期望送达时间"
  103976. },
  103977. "expected_pick_time" : {
  103978. "type" : "string",
  103979. "description" : "期望取件时间"
  103980. },
  103981. "insure_price" : {
  103982. "type" : "string",
  103983. "description" : "保价金额"
  103984. },
  103985. "is_direct_delivery" : {
  103986. "type" : "integer",
  103987. "description" : "是否直拿直送,1:直拿直送 0:非直拿直送"
  103988. },
  103989. "is_finish_code_needed" : {
  103990. "type" : "integer",
  103991. "description" : "是否需要收货码,1:需要 0:不需要"
  103992. },
  103993. "is_insured" : {
  103994. "type" : "integer",
  103995. "description" : "是否保价,1:保价 0:不保价"
  103996. },
  103997. "is_pickup_code_needed" : {
  103998. "type" : "integer",
  103999. "description" : "是否需要取货码,1:需要 0:不需要"
  104000. },
  104001. "poi_seq" : {
  104002. "type" : "string",
  104003. "description" : "球房订单流水号"
  104004. },
  104005. "service_code" : {
  104006. "type" : "string",
  104007. "description" : "即时配送公司的服务代码"
  104008. }
  104009. }
  104010. },
  104011. "OrderExtIstdForPreOrder" : {
  104012. "type" : "object",
  104013. "properties" : {
  104014. "cash_on_delivery" : {
  104015. "type" : "string",
  104016. "description" : "骑手应付金额",
  104017. "example" : "15.00"
  104018. },
  104019. "cash_on_pickup" : {
  104020. "type" : "string",
  104021. "description" : "骑手应收金额",
  104022. "example" : "13.00"
  104023. },
  104024. "consumer_order_time" : {
  104025. "type" : "string",
  104026. "description" : "消费者下单时间",
  104027. "example" : "2020-06-01 13:23:00"
  104028. },
  104029. "delivery_direction" : {
  104030. "type" : "integer",
  104031. "description" : "物流流向,1:从球房取件送至用户;2:从用户取件送至球房",
  104032. "example" : "1"
  104033. },
  104034. "delivery_type" : {
  104035. "type" : "integer",
  104036. "description" : "配送类型, 0: 即时单 1 预约单",
  104037. "example" : "0"
  104038. },
  104039. "desc" : {
  104040. "type" : "string",
  104041. "description" : "备注",
  104042. "example" : "备注"
  104043. },
  104044. "expected_delivery_time" : {
  104045. "type" : "string",
  104046. "description" : "期望派单时间",
  104047. "example" : "2020-11-27 15:45:57"
  104048. },
  104049. "expected_finish_time" : {
  104050. "type" : "string",
  104051. "description" : "期望送达时间",
  104052. "example" : "2020-06-01 13:23:00"
  104053. },
  104054. "expected_pick_time" : {
  104055. "type" : "string",
  104056. "description" : "期望取件时间",
  104057. "example" : "2020-06-01 13:23:00"
  104058. },
  104059. "insure_price" : {
  104060. "type" : "string",
  104061. "description" : "保价金额",
  104062. "example" : "100.00"
  104063. },
  104064. "is_direct_delivery" : {
  104065. "type" : "integer",
  104066. "description" : "是否直拿直送,1:直拿直送 0:非直拿直送",
  104067. "example" : "1"
  104068. },
  104069. "is_finish_code_needed" : {
  104070. "type" : "integer",
  104071. "description" : "是否需要收货码,1:需要 0:不需要",
  104072. "example" : "0"
  104073. },
  104074. "is_insured" : {
  104075. "type" : "integer",
  104076. "description" : "是否保价,1:保价 0:不保价",
  104077. "example" : "0"
  104078. },
  104079. "is_pickup_code_needed" : {
  104080. "type" : "integer",
  104081. "description" : "是否需要取货码,1:需要 0:不需要",
  104082. "example" : "0"
  104083. },
  104084. "poi_seq" : {
  104085. "type" : "string",
  104086. "description" : "球房订单流水号",
  104087. "example" : "xxx"
  104088. },
  104089. "service_code" : {
  104090. "type" : "string",
  104091. "description" : "即时配送公司的服务代码",
  104092. "example" : "001"
  104093. }
  104094. }
  104095. },
  104096. "OrderItem" : {
  104097. "type" : "object",
  104098. "properties" : {
  104099. "address" : {
  104100. "type" : "string",
  104101. "description" : "店铺所在具体位置",
  104102. "example" : "西湖区XX街XX号"
  104103. },
  104104. "brand_name" : {
  104105. "type" : "string",
  104106. "description" : "品牌名称",
  104107. "example" : "肯德基"
  104108. },
  104109. "category" : {
  104110. "type" : "string",
  104111. "description" : "店铺品类",
  104112. "example" : "咖啡"
  104113. },
  104114. "city" : {
  104115. "type" : "string",
  104116. "description" : "店铺所在的市",
  104117. "example" : "杭州市"
  104118. },
  104119. "city_code" : {
  104120. "type" : "string",
  104121. "description" : "城市编码",
  104122. "example" : "110100"
  104123. },
  104124. "commodity_id" : {
  104125. "type" : "string",
  104126. "description" : "订购的服务商品ID",
  104127. "example" : "201604290086730119"
  104128. },
  104129. "contacts" : {
  104130. "type" : "string",
  104131. "description" : "订单联系人",
  104132. "example" : "张三"
  104133. },
  104134. "creator" : {
  104135. "type" : "string",
  104136. "description" : "球房创建人(已删除)",
  104137. "example" : "张三"
  104138. },
  104139. "expire_date" : {
  104140. "type" : "string",
  104141. "description" : "过期时间",
  104142. "example" : "2016-01-01 00:00:01"
  104143. },
  104144. "merchant_name" : {
  104145. "type" : "string",
  104146. "description" : "商户名称",
  104147. "example" : "XX网络有限公司"
  104148. },
  104149. "merchant_pid" : {
  104150. "type" : "string",
  104151. "description" : "商户PID",
  104152. "example" : "2088101118588888"
  104153. },
  104154. "mini_app_id" : {
  104155. "type" : "string",
  104156. "description" : "小程序APPID,订购实体为小程序的场景该字段必填",
  104157. "example" : "2017121800945174"
  104158. },
  104159. "mini_app_name" : {
  104160. "type" : "string",
  104161. "description" : "小程序应用名称,订购实体为小程序的场景该字段必填",
  104162. "example" : "小张火锅店小程序"
  104163. },
  104164. "online_time" : {
  104165. "type" : "string",
  104166. "description" : "上架时间",
  104167. "example" : "2016-01-01 00:01:01"
  104168. },
  104169. "open_id_model" : {
  104170. "type" : "string",
  104171. "description" : "应用用户标识模式",
  104172. "example" : "UID模式"
  104173. },
  104174. "order_status" : {
  104175. "type" : "string",
  104176. "description" : "TO_DO-未实施,DOING-实施中,TO_CONFIRM-待商户确认,CONFIRMED-商户已确认,DONE-已完成,MERCHANT_REJECTED-商户已回绝,MERCHANT_CANCELLED-商户已取消,ISV_REJECTED-服务商已回绝,ISV_CANCELLED-服务商已取消",
  104177. "example" : "DONE"
  104178. },
  104179. "phone_no" : {
  104180. "type" : "string",
  104181. "description" : "订单所属人联系方式(手机或者座机)",
  104182. "example" : "13988888888"
  104183. },
  104184. "province" : {
  104185. "type" : "string",
  104186. "description" : "店铺所在的省份",
  104187. "example" : "浙江省"
  104188. },
  104189. "service_effect_date" : {
  104190. "type" : "string",
  104191. "description" : "订购的服务有效期生效时间",
  104192. "example" : "2023-04-03 12:01:45"
  104193. },
  104194. "service_expire_date" : {
  104195. "type" : "string",
  104196. "description" : "服务有效期截止时间",
  104197. "example" : "2023-04-03 12:01:45"
  104198. },
  104199. "shop_id" : {
  104200. "type" : "string",
  104201. "description" : "店铺ID,订购实体为口碑球房的场景该字段必填",
  104202. "example" : "2015052000077000000000182140"
  104203. },
  104204. "shop_name" : {
  104205. "type" : "string",
  104206. "description" : "店铺名称,订购实体为口碑球房的场景该字段必填",
  104207. "example" : "小张火锅店"
  104208. },
  104209. "shop_status" : {
  104210. "type" : "string",
  104211. "description" : "店铺状态(ONLINE--已上架 OFFLINE--未上架 AVAILABLE--已开通 INIT--未开通 EXPIRED--已过期)",
  104212. "example" : "ONLINE"
  104213. },
  104214. "status" : {
  104215. "type" : "string",
  104216. "description" : "待服务商接单",
  104217. "example" : "MERCHANT_ORDED---待服务商接单"
  104218. }
  104219. }
  104220. },
  104221. "OrderJourneyElement" : {
  104222. "type" : "object",
  104223. "properties" : {
  104224. "arrival" : {
  104225. "$ref" : "#/components/schemas/JourneyLocation"
  104226. },
  104227. "departure" : {
  104228. "$ref" : "#/components/schemas/JourneyLocation"
  104229. },
  104230. "duration" : {
  104231. "type" : "string",
  104232. "description" : "行程时长,单位为秒",
  104233. "example" : "3600"
  104234. },
  104235. "end_time" : {
  104236. "type" : "string",
  104237. "description" : "结束时间(格式化)",
  104238. "example" : "2021-01-02 12:21:22"
  104239. },
  104240. "end_time_desc" : {
  104241. "type" : "string",
  104242. "description" : "结束时间描述(非结构化)",
  104243. "example" : "1月2号"
  104244. },
  104245. "ext_info" : {
  104246. "type" : "array",
  104247. "description" : "扩展信息",
  104248. "items" : {
  104249. "$ref" : "#/components/schemas/OrderExtInfo"
  104250. }
  104251. },
  104252. "functional_services" : {
  104253. "type" : "array",
  104254. "description" : "功能服务列表",
  104255. "items" : {
  104256. "$ref" : "#/components/schemas/FunctionalService"
  104257. }
  104258. },
  104259. "passagers" : {
  104260. "type" : "array",
  104261. "description" : "出行人",
  104262. "items" : {
  104263. "$ref" : "#/components/schemas/UserInfomation"
  104264. }
  104265. },
  104266. "service_change_info" : {
  104267. "$ref" : "#/components/schemas/JourneyServiceChangeInfo"
  104268. },
  104269. "service_provider" : {
  104270. "$ref" : "#/components/schemas/JourneyMerchantInfo"
  104271. },
  104272. "start_time" : {
  104273. "type" : "string",
  104274. "description" : "开始时间格式化",
  104275. "example" : "2021-01-01 12:21:22"
  104276. },
  104277. "start_time_desc" : {
  104278. "type" : "string",
  104279. "description" : "开始时间描述(非格式化)",
  104280. "example" : "1月1号"
  104281. }
  104282. }
  104283. },
  104284. "OrderJourneyInfo" : {
  104285. "type" : "object",
  104286. "properties" : {
  104287. "action" : {
  104288. "type" : "string",
  104289. "description" : "操作动作\t-DELETE 删除,删除后的行程不再展示",
  104290. "example" : "DELETE"
  104291. },
  104292. "ext_info" : {
  104293. "type" : "array",
  104294. "description" : "扩展信息",
  104295. "items" : {
  104296. "$ref" : "#/components/schemas/OrderExtInfo"
  104297. }
  104298. },
  104299. "journey_create_time" : {
  104300. "type" : "string",
  104301. "description" : "行程创建时间",
  104302. "example" : "2021-01-16 12:12:12"
  104303. },
  104304. "journey_desc" : {
  104305. "type" : "string",
  104306. "description" : "行程描述",
  104307. "example" : "中国航空公司 C8888 上海-北京"
  104308. },
  104309. "journey_elements" : {
  104310. "type" : "array",
  104311. "description" : "行程元素列表",
  104312. "items" : {
  104313. "$ref" : "#/components/schemas/OrderJourneyElement"
  104314. }
  104315. },
  104316. "journey_index" : {
  104317. "type" : "string",
  104318. "description" : "描述本行程为整个行程中的第几程",
  104319. "example" : "2"
  104320. },
  104321. "journey_modify_time" : {
  104322. "type" : "string",
  104323. "description" : "行程修改时间",
  104324. "example" : "2021-01-16 16:16:16"
  104325. },
  104326. "merchant_journey_no" : {
  104327. "type" : "string",
  104328. "description" : "商户行程单号\t注:同一个pid下的行程单号需唯一。同一个pid下外部行程单号唯一",
  104329. "example" : "202101130000001"
  104330. },
  104331. "status" : {
  104332. "type" : "string",
  104333. "description" : "行程状态\t注:行程状态必须与支付宝侧进行约定",
  104334. "example" : "MERCHANT_FINISHED"
  104335. },
  104336. "status_desc" : {
  104337. "type" : "string",
  104338. "description" : "行程状态描述",
  104339. "example" : "已完成"
  104340. },
  104341. "sub_type" : {
  104342. "type" : "string",
  104343. "description" : "行程子类型",
  104344. "example" : "abroad"
  104345. },
  104346. "title" : {
  104347. "type" : "string",
  104348. "description" : "行程标题",
  104349. "example" : "标题"
  104350. },
  104351. "type" : {
  104352. "type" : "string",
  104353. "description" : "行程类型",
  104354. "example" : "airticket"
  104355. }
  104356. }
  104357. },
  104358. "OrderLogisticsInformationRequest" : {
  104359. "type" : "object",
  104360. "properties" : {
  104361. "logistics_code" : {
  104362. "type" : "string",
  104363. "description" : "物流公司编号。\r\t物流公司编号值请查看产品文档\r\t注:该值为空时,有可能匹配不到物流信息。若有则必传",
  104364. "example" : "STO"
  104365. },
  104366. "tracking_no" : {
  104367. "type" : "string",
  104368. "description" : "物流单号",
  104369. "example" : "P201802091000000002W"
  104370. }
  104371. }
  104372. },
  104373. "OrderPageQueryDTO" : {
  104374. "type" : "object",
  104375. "properties" : {
  104376. "page_data" : {
  104377. "type" : "array",
  104378. "description" : "审核单数据信息",
  104379. "items" : {
  104380. "$ref" : "#/components/schemas/ApplyOrderData"
  104381. }
  104382. },
  104383. "page_num" : {
  104384. "type" : "string",
  104385. "description" : "当前页码,默认第一页",
  104386. "example" : "1"
  104387. },
  104388. "page_size" : {
  104389. "type" : "string",
  104390. "description" : "每页记录数,默认10",
  104391. "example" : "2"
  104392. },
  104393. "total_number" : {
  104394. "type" : "integer",
  104395. "description" : "记录总数",
  104396. "example" : "1000"
  104397. }
  104398. }
  104399. },
  104400. "OrderParticipantInfo" : {
  104401. "type" : "object",
  104402. "properties" : {
  104403. "ext_info" : {
  104404. "type" : "array",
  104405. "description" : "扩展信息",
  104406. "items" : {
  104407. "$ref" : "#/components/schemas/OrderExtInfo"
  104408. }
  104409. },
  104410. "logo_material_id" : {
  104411. "type" : "string",
  104412. "description" : "参与方logo素材id\t开发者通过 alipay.merchant.item.file.upload(商品文件上传接口)上传图片,获取到对应的素材 ID( material_id )",
  104413. "example" : "2019010100502200000000000001"
  104414. },
  104415. "name" : {
  104416. "type" : "string",
  104417. "description" : "参与方名称",
  104418. "example" : "东方航空"
  104419. },
  104420. "short_name" : {
  104421. "type" : "string",
  104422. "description" : "参与方简称",
  104423. "example" : "东航"
  104424. },
  104425. "type" : {
  104426. "type" : "string",
  104427. "description" : "参与方类型",
  104428. "example" : "服务提供商"
  104429. },
  104430. "uid" : {
  104431. "type" : "string",
  104432. "description" : "参与方支付宝uid",
  104433. "example" : "2088202905583404"
  104434. }
  104435. }
  104436. },
  104437. "OrderShopInfo" : {
  104438. "type" : "object",
  104439. "properties" : {
  104440. "address" : {
  104441. "type" : "string",
  104442. "description" : "店铺地址"
  104443. },
  104444. "alipay_shop_id" : {
  104445. "type" : "string",
  104446. "description" : "蚂蚁球房shop_id"
  104447. },
  104448. "ext_info" : {
  104449. "type" : "array",
  104450. "description" : "球房其他业务属性,不同业务场景KEY枚举值不同,使用前请参考产品文档",
  104451. "items" : {
  104452. "$ref" : "#/components/schemas/OrderExtInfo"
  104453. }
  104454. },
  104455. "merchant_shop_id" : {
  104456. "type" : "string",
  104457. "description" : "商户球房id\t支持英文、数字的组合"
  104458. },
  104459. "merchant_shop_link_page" : {
  104460. "type" : "string",
  104461. "description" : "店铺详情链接地址"
  104462. },
  104463. "name" : {
  104464. "type" : "string",
  104465. "description" : "店铺名称"
  104466. },
  104467. "phone_num" : {
  104468. "type" : "string",
  104469. "description" : "联系电话-支持固话或手机号\t仅支持数字、+、-"
  104470. },
  104471. "type" : {
  104472. "type" : "string",
  104473. "description" : "仅当alipay_shop_id字段值为非标准蚂蚁球房时使用,其他场景无需传入"
  104474. }
  104475. }
  104476. },
  104477. "OrderStatusData" : {
  104478. "type" : "object",
  104479. "properties" : {
  104480. "order_id" : {
  104481. "type" : "string",
  104482. "description" : "申请单ID"
  104483. },
  104484. "reject_reason" : {
  104485. "type" : "string",
  104486. "description" : "驳回原因"
  104487. },
  104488. "status" : {
  104489. "type" : "string",
  104490. "description" : "申请状态 AGREE、REJECT、EDIT、AUDIT"
  104491. }
  104492. }
  104493. },
  104494. "OrderVehicleInfo" : {
  104495. "type" : "object",
  104496. "properties" : {
  104497. "license_plate_no" : {
  104498. "type" : "string",
  104499. "description" : "交通工具牌照号,如车牌号等",
  104500. "example" : "沪A888888"
  104501. },
  104502. "memo" : {
  104503. "type" : "string",
  104504. "description" : "车辆信息备注",
  104505. "example" : "备注"
  104506. },
  104507. "shift_no" : {
  104508. "type" : "string",
  104509. "description" : "班次",
  104510. "example" : "班次"
  104511. }
  104512. }
  104513. },
  104514. "OrderVoucherAvailableCityCode" : {
  104515. "type" : "object",
  104516. "properties" : {
  104517. "all_city" : {
  104518. "type" : "boolean",
  104519. "description" : "是否全国。选择全国后,无须填写city_codes字段。系统默认填充全国全部城市信息。"
  104520. },
  104521. "city_codes" : {
  104522. "type" : "array",
  104523. "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  104524. "items" : {
  104525. "type" : "string"
  104526. }
  104527. }
  104528. }
  104529. },
  104530. "OrderVoucherAvailableCityCodeModify" : {
  104531. "type" : "object",
  104532. "properties" : {
  104533. "city_codes" : {
  104534. "type" : "array",
  104535. "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  104536. "items" : {
  104537. "type" : "string"
  104538. },
  104539. "example" : "[\"100100\"]"
  104540. }
  104541. }
  104542. },
  104543. "OrderVoucherAvailableScopeResult" : {
  104544. "type" : "object",
  104545. "properties" : {
  104546. "order_voucher_available_shop_result" : {
  104547. "$ref" : "#/components/schemas/OrderVoucherAvailableShopResult"
  104548. },
  104549. "voucher_available_type" : {
  104550. "type" : "string",
  104551. "description" : "可用范围类型。"
  104552. }
  104553. }
  104554. },
  104555. "OrderVoucherAvailableShop" : {
  104556. "type" : "object",
  104557. "properties" : {
  104558. "order_voucher_merchant_all_shop" : {
  104559. "$ref" : "#/components/schemas/OrderVoucherMerchantAllShop"
  104560. },
  104561. "real_shop_ids" : {
  104562. "type" : "array",
  104563. "description" : "代运营商业关系球房列表,列表中的球房id是调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id 接口参数是列表类型。",
  104564. "items" : {
  104565. "type" : "string"
  104566. }
  104567. },
  104568. "shop_ids" : {
  104569. "type" : "array",
  104570. "description" : "券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。",
  104571. "items" : {
  104572. "type" : "string"
  104573. }
  104574. }
  104575. }
  104576. },
  104577. "OrderVoucherAvailableShopModify" : {
  104578. "type" : "object",
  104579. "properties" : {
  104580. "order_voucher_merchant_all_shop" : {
  104581. "$ref" : "#/components/schemas/OrderVoucherMerchantAllShopModify"
  104582. },
  104583. "real_shop_ids" : {
  104584. "type" : "array",
  104585. "description" : "券可使用的商业关系球房列表,列表中的球房id是调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id。",
  104586. "items" : {
  104587. "type" : "string"
  104588. },
  104589. "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
  104590. },
  104591. "shop_ids" : {
  104592. "type" : "array",
  104593. "description" : "券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。接口参数是列表类型。",
  104594. "items" : {
  104595. "type" : "string"
  104596. },
  104597. "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
  104598. }
  104599. }
  104600. },
  104601. "OrderVoucherAvailableShopResult" : {
  104602. "type" : "object",
  104603. "properties" : {
  104604. "order_voucher_merchant_all_shop_result" : {
  104605. "$ref" : "#/components/schemas/OrderVoucherMerchantAllShopResult"
  104606. },
  104607. "real_shop_fail_infos" : {
  104608. "type" : "array",
  104609. "description" : "请求失败的代运营商业关系球房详情",
  104610. "items" : {
  104611. "$ref" : "#/components/schemas/OrderVoucherRealShopFailInfo"
  104612. }
  104613. },
  104614. "shop_fail_infos" : {
  104615. "type" : "array",
  104616. "description" : "请求失败的支付宝球房详情。",
  104617. "items" : {
  104618. "$ref" : "#/components/schemas/OrderVoucherShopFailInfo"
  104619. }
  104620. },
  104621. "success_real_shop_ids" : {
  104622. "type" : "array",
  104623. "description" : "请求成功的代运营商业关系球房",
  104624. "items" : {
  104625. "type" : "string"
  104626. }
  104627. },
  104628. "success_shop_ids" : {
  104629. "type" : "array",
  104630. "description" : "请求成功的支付宝球房。",
  104631. "items" : {
  104632. "type" : "string"
  104633. }
  104634. }
  104635. }
  104636. },
  104637. "OrderVoucherMerchantAllShop" : {
  104638. "type" : "object",
  104639. "properties" : {
  104640. "exclude_shop_ids" : {
  104641. "type" : "array",
  104642. "description" : "券不可使用的球房列表。指定商户全部球房可用时可通过该字段排除部分不可用球房。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。",
  104643. "items" : {
  104644. "type" : "string"
  104645. }
  104646. }
  104647. }
  104648. },
  104649. "OrderVoucherMerchantAllShopModify" : {
  104650. "type" : "object",
  104651. "properties" : {
  104652. "exclude_shop_ids" : {
  104653. "type" : "array",
  104654. "description" : "券不可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。 接口参数是列表类型。",
  104655. "items" : {
  104656. "type" : "string"
  104657. },
  104658. "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
  104659. }
  104660. }
  104661. },
  104662. "OrderVoucherMerchantAllShopResult" : {
  104663. "type" : "object",
  104664. "properties" : {
  104665. "exclude_shop_fail_infos" : {
  104666. "type" : "array",
  104667. "description" : "请求失败的不可用球房详情。",
  104668. "items" : {
  104669. "$ref" : "#/components/schemas/OrderVoucherShopFailInfo"
  104670. }
  104671. },
  104672. "success_exclude_shop_ids" : {
  104673. "type" : "array",
  104674. "description" : "请求成功的不可用球房列表。",
  104675. "items" : {
  104676. "type" : "string"
  104677. }
  104678. }
  104679. }
  104680. },
  104681. "OrderVoucherRealShopFailInfo" : {
  104682. "type" : "object",
  104683. "properties" : {
  104684. "fail_message" : {
  104685. "type" : "string",
  104686. "description" : "请求失败提示信息。"
  104687. },
  104688. "fail_reasons" : {
  104689. "type" : "array",
  104690. "description" : "请求失败原因。",
  104691. "items" : {
  104692. "type" : "string"
  104693. }
  104694. },
  104695. "real_shop_id" : {
  104696. "type" : "string",
  104697. "description" : "请求失败的代运营商业关系球房 ID。"
  104698. }
  104699. }
  104700. },
  104701. "OrderVoucherShopFailInfo" : {
  104702. "type" : "object",
  104703. "properties" : {
  104704. "fail_message" : {
  104705. "type" : "string",
  104706. "description" : "请求失败提示信息。"
  104707. },
  104708. "fail_reasons" : {
  104709. "type" : "array",
  104710. "description" : "请求失败的原因。",
  104711. "items" : {
  104712. "type" : "string"
  104713. }
  104714. },
  104715. "shop_id" : {
  104716. "type" : "string",
  104717. "description" : "请求失败的支付球房 ID。"
  104718. }
  104719. }
  104720. },
  104721. "OrderVoucherUseRuleResult" : {
  104722. "type" : "object",
  104723. "properties" : {
  104724. "voucher_available_scope_result" : {
  104725. "$ref" : "#/components/schemas/OrderVoucherAvailableScopeResult"
  104726. }
  104727. }
  104728. },
  104729. "Org" : {
  104730. "type" : "object",
  104731. "properties" : {
  104732. "org_id_number" : {
  104733. "type" : "string",
  104734. "description" : "企业证件号",
  104735. "example" : "913301087458306077"
  104736. },
  104737. "org_id_type" : {
  104738. "type" : "string",
  104739. "description" : "企业证件类型,(证件号不为空时必填,详见企业证件类型)",
  104740. "example" : "CRED_ORG_USCC"
  104741. },
  104742. "org_legal_id_number" : {
  104743. "type" : "string",
  104744. "description" : "法定代表人证件号",
  104745. "example" : "330304199801011111"
  104746. },
  104747. "org_legal_id_type" : {
  104748. "type" : "string",
  104749. "description" : "法定代表人证件类型",
  104750. "example" : "CRED_PSN_CH_IDCARD"
  104751. },
  104752. "org_legal_name" : {
  104753. "type" : "string",
  104754. "description" : "法定代表人名称",
  104755. "example" : "折颜"
  104756. },
  104757. "org_name" : {
  104758. "type" : "string",
  104759. "description" : "企业名称",
  104760. "example" : "杭州天谷信息科技有限公司"
  104761. },
  104762. "third_party_user_id" : {
  104763. "type" : "string",
  104764. "description" : "企业唯一标识:可传入平台机构id、企业证件号、企业邮箱等(个人用户与企业的唯一标识不可重复)",
  104765. "example" : "913301087458306077"
  104766. }
  104767. }
  104768. },
  104769. "OuterMemberInfo" : {
  104770. "type" : "object",
  104771. "properties" : {
  104772. "user_info" : {
  104773. "type" : "string",
  104774. "description" : "商户记录的用户信息",
  104775. "example" : "爱投诉;爱买打折商品"
  104776. }
  104777. }
  104778. },
  104779. "OverseasExtendParams" : {
  104780. "type" : "object",
  104781. "properties" : {
  104782. "goods_detail" : {
  104783. "type" : "string",
  104784. "description" : "商品明细列表",
  104785. "example" : "[{\\\"goods_id\\\":\\\"001\\\",\\\"goods_amount\\\":\\\"100\\\"}]"
  104786. }
  104787. }
  104788. },
  104789. "PackageItemOpenInfo" : {
  104790. "type" : "object",
  104791. "properties" : {
  104792. "consume_output_info" : {
  104793. "$ref" : "#/components/schemas/ConsumeOutputInfo"
  104794. },
  104795. "file_download_url" : {
  104796. "type" : "string",
  104797. "description" : "发票文件下载链接",
  104798. "example" : "http://txffp.oss-cn-beijing.aliyuncs.com/zfb/11b7678a6ab04271afd2c4dfd*******?Expires=1574665315&OSSAccessKeyId=LTAIYAJb********&Signature=%2BD6AX5gswetzBdz************%3D"
  104799. },
  104800. "file_type" : {
  104801. "type" : "string",
  104802. "description" : "文件类型,如pdf,ofd,jpg",
  104803. "example" : "pdf"
  104804. },
  104805. "invoice_output_info" : {
  104806. "$ref" : "#/components/schemas/InvoiceOutputInfo"
  104807. },
  104808. "item_source" : {
  104809. "type" : "string",
  104810. "description" : "项目来源,如:ocr\\einvoice\\consume",
  104811. "example" : "ocr"
  104812. },
  104813. "item_sub_type" : {
  104814. "type" : "string",
  104815. "description" : "项目子类,如:出租车、火车、飞机等",
  104816. "example" : "出租车"
  104817. },
  104818. "item_type" : {
  104819. "type" : "string",
  104820. "description" : "项目大类,如:餐饮美食、酒店住宿、差旅出行等",
  104821. "example" : "餐饮美食"
  104822. },
  104823. "ocr_normal_scan_info" : {
  104824. "$ref" : "#/components/schemas/OcrNormalScanInfo"
  104825. },
  104826. "ocr_plane_scan_info" : {
  104827. "$ref" : "#/components/schemas/OcrPlaneScanInfo"
  104828. },
  104829. "ocr_taxi_scan_info" : {
  104830. "$ref" : "#/components/schemas/OcrTaxiScanInfo"
  104831. },
  104832. "ocr_train_scan_info" : {
  104833. "$ref" : "#/components/schemas/OcrTrainScanInfo"
  104834. }
  104835. }
  104836. },
  104837. "PaidOuterCardCycleInfoDTO" : {
  104838. "type" : "object",
  104839. "properties" : {
  104840. "alipay_deduct_agreement" : {
  104841. "type" : "string",
  104842. "description" : "支付宝用户签约协议号"
  104843. },
  104844. "alipay_deduct_product_code" : {
  104845. "type" : "string",
  104846. "description" : "支付宝代扣产品码"
  104847. },
  104848. "alipay_deduct_scene" : {
  104849. "type" : "string",
  104850. "description" : "支付宝代扣场景码"
  104851. },
  104852. "close_reason" : {
  104853. "type" : "string",
  104854. "description" : "关闭连续购买原因。枚举如下:\tMANUAL_CLOSE(手动关闭)\tEXPIRE_CLOSE(过期关闭)\tCLOSE(关闭)"
  104855. },
  104856. "cycle_type" : {
  104857. "type" : "string",
  104858. "description" : "用户开通连续购买类型。枚举如下:\tYEAR(年)\tQUARTER(季度)\tMONTH(月)"
  104859. },
  104860. "open_status" : {
  104861. "type" : "string",
  104862. "description" : "开通连续购买状态。枚举如下:\tOPEN(打开)\tCLOSE(关闭)"
  104863. }
  104864. }
  104865. },
  104866. "PaidOuterCardCycleSellConfDTO" : {
  104867. "type" : "object",
  104868. "properties" : {
  104869. "cycle_selling_url" : {
  104870. "type" : "string",
  104871. "description" : "用户开通连续购买地址"
  104872. },
  104873. "cycle_type" : {
  104874. "type" : "array",
  104875. "description" : "周期购买类型。枚举如下:\tYEAR 年\tQUARTER 季度\tMONTH 月",
  104876. "items" : {
  104877. "type" : "string"
  104878. }
  104879. },
  104880. "support_cycle_sell" : {
  104881. "type" : "boolean",
  104882. "description" : "是否支持用户连续购买。true代表支持,false代表不支持。"
  104883. }
  104884. }
  104885. },
  104886. "PaidOuterCardExtraInfoDTO" : {
  104887. "type" : "object",
  104888. "properties" : {
  104889. "action" : {
  104890. "type" : "string",
  104891. "description" : "用户操作类型,枚举如下:\tOPEN 开通\tUPGRADE 升级\tDOWNGRADE 降级\tRENEW 续费"
  104892. },
  104893. "cycle_info" : {
  104894. "$ref" : "#/components/schemas/PaidOuterCardCycleInfoDTO"
  104895. },
  104896. "purchase_info" : {
  104897. "$ref" : "#/components/schemas/PaidOuterCardPurchaseInfoDTO"
  104898. }
  104899. }
  104900. },
  104901. "PaidOuterCardManageUrlConfDTO" : {
  104902. "type" : "object",
  104903. "properties" : {
  104904. "cycle_manage_url" : {
  104905. "type" : "string",
  104906. "description" : "连续购买管理地址。包括查看当前用户连续购买详情,关闭连续购买等功能"
  104907. },
  104908. "downgrade_url" : {
  104909. "type" : "string",
  104910. "description" : "付费外卡降级地址"
  104911. },
  104912. "refund_url" : {
  104913. "type" : "string",
  104914. "description" : "续费外卡退款地址"
  104915. },
  104916. "renew_url" : {
  104917. "type" : "string",
  104918. "description" : "付费外卡续费地址"
  104919. },
  104920. "upgrade_url" : {
  104921. "type" : "string",
  104922. "description" : "付费外卡升级地址"
  104923. }
  104924. }
  104925. },
  104926. "PaidOuterCardPriceDetailDTO" : {
  104927. "type" : "object",
  104928. "properties" : {
  104929. "desc" : {
  104930. "type" : "string",
  104931. "description" : "方案描述"
  104932. },
  104933. "price" : {
  104934. "type" : "string",
  104935. "description" : "售卖具体金额。单位为元。支持两位小数。"
  104936. },
  104937. "price_type" : {
  104938. "type" : "string",
  104939. "description" : "售卖金额类型。目前支持\tFIXED:固定金额"
  104940. },
  104941. "worth" : {
  104942. "type" : "string",
  104943. "description" : "价值。单位为元。支持两位小数"
  104944. }
  104945. }
  104946. },
  104947. "PaidOuterCardPurchaseInfoDTO" : {
  104948. "type" : "object",
  104949. "properties" : {
  104950. "action_date" : {
  104951. "type" : "string",
  104952. "description" : "用户购买、升级、降级、续费的操作时间。格式为:yyyy-MM-dd hh:mm:ss"
  104953. },
  104954. "alipay_trade_no" : {
  104955. "type" : "string",
  104956. "description" : "支付宝交易号,由api: alipay.trade.create 返回"
  104957. },
  104958. "out_trade_no" : {
  104959. "type" : "string",
  104960. "description" : "商户订单号。与创建订单api:alipay.trade.create保持一致"
  104961. },
  104962. "price" : {
  104963. "type" : "string",
  104964. "description" : "用户购买金额。当购买/升级/续费场景必填,单位元,精确到小数点后2位"
  104965. },
  104966. "source" : {
  104967. "type" : "string",
  104968. "description" : "用户操作来源。枚举如下:\tALIPAY_TINY_APP(支付宝小程序)\tSELF_APP(商家APP)\tOTHER(其他)"
  104969. }
  104970. }
  104971. },
  104972. "PaidOuterCardSellingConfDTO" : {
  104973. "type" : "object",
  104974. "properties" : {
  104975. "end_date" : {
  104976. "type" : "string",
  104977. "description" : "售卖结束时间。\t格式:yyyy-MM-dd HH:mm:ss\t如果永久有效则不传。"
  104978. },
  104979. "price_detail" : {
  104980. "type" : "array",
  104981. "description" : "售卖方案列表",
  104982. "items" : {
  104983. "$ref" : "#/components/schemas/PaidOuterCardPriceDetailDTO"
  104984. }
  104985. },
  104986. "selling_url" : {
  104987. "type" : "string",
  104988. "description" : "售卖地址"
  104989. },
  104990. "start_date" : {
  104991. "type" : "string",
  104992. "description" : "售卖开始时间。格式:yyyy-MM-dd HH:mm:ss"
  104993. }
  104994. }
  104995. },
  104996. "PaidOuterCardTemplateConfDTO" : {
  104997. "type" : "object",
  104998. "properties" : {
  104999. "cycle_selling_conf" : {
  105000. "$ref" : "#/components/schemas/PaidOuterCardCycleSellConfDTO"
  105001. },
  105002. "manage_url_conf" : {
  105003. "$ref" : "#/components/schemas/PaidOuterCardManageUrlConfDTO"
  105004. },
  105005. "open_selling_conf" : {
  105006. "$ref" : "#/components/schemas/PaidOuterCardSellingConfDTO"
  105007. }
  105008. }
  105009. },
  105010. "Participant" : {
  105011. "type" : "object",
  105012. "properties" : {
  105013. "bankcard_ext_info" : {
  105014. "$ref" : "#/components/schemas/BankcardExtInfo"
  105015. },
  105016. "ext_info" : {
  105017. "type" : "string",
  105018. "description" : "描述参与方信息的扩展属性,使用前请与支付宝工程师确认"
  105019. },
  105020. "identity" : {
  105021. "type" : "string",
  105022. "description" : "参与方的唯一标识"
  105023. },
  105024. "identity_type" : {
  105025. "type" : "string",
  105026. "description" : "参与方的标识类型,目前支持如下类型:\t1、ALIPAY_USER_ID 支付宝的会员ID\t2、ALIPAY_LOGON_ID:支付宝登录号,支持邮箱和手机号格式\t3、ALIPAY_OPEN_ID:支付宝openid"
  105027. },
  105028. "merchant_user_info" : {
  105029. "type" : "string",
  105030. "description" : "商户端的用户信息描述,目前可指定如下属性:\r\tmerchant_user_id:商户端的用户唯一ID\r\tmerchant_user_name:商户端的用户名\r\tmerchant_user_nickname:商户端的用户昵称\r\tmerchant_user_mobile:商户端的手机号"
  105031. },
  105032. "name" : {
  105033. "type" : "string",
  105034. "description" : "参与方真实姓名,如果非空,将校验收款支付宝账号姓名一致性。当identity_type=ALIPAY_LOGON_ID时,本字段必填。"
  105035. }
  105036. }
  105037. },
  105038. "PayParams" : {
  105039. "type" : "object",
  105040. "properties" : {
  105041. "async_type" : {
  105042. "type" : "string",
  105043. "description" : "普通异步支付, 传入该参数时,如果满足受理条件,会先同步受理支付,然后在异步调度推进支付\t\tNORMAL_ASYNC: 普通异步,受理成功之后,会在交易关单之前通过一定的策略重试\t\tNEAR_REAL_TIME_ASYNC: 准实时异步,受理成功之后,会准实时发起1次调度",
  105044. "example" : "NORMAL_ASYNC"
  105045. },
  105046. "retry_type" : {
  105047. "type" : "string",
  105048. "description" : "重试类型,当async_type传入NORMAL_ASYNC时,可以设置该参数,选择是否要重试,retry_type 可选,不设置时,可重试。\t● NONE_AND_CLOSETRADE:不重试,支付请求只会被执行1次,执行完成后如果交易未成功,会关闭交易\t● NONE:不重试,支付请求只会被执行1次,执行完成后,不做任何处理。交易到达了timeout_express指定的时间后,关闭交易。\t● RETY: 重试,支付请求在超时关单前,会按照策略重试",
  105049. "example" : "NONE"
  105050. }
  105051. }
  105052. },
  105053. "PaymentFixVoucher" : {
  105054. "type" : "object",
  105055. "properties" : {
  105056. "amount" : {
  105057. "type" : "string",
  105058. "description" : "面额,每张优惠券可以抵扣的金额。\t\t限制:\t1、币种为人民币,单位为元。小数点以后最多保留两位。\t2、取值范围:0.1<=x<=3000"
  105059. },
  105060. "floor_amount" : {
  105061. "type" : "string",
  105062. "description" : "门槛金额。默认无门槛限制。 \t\t限制:\t1、币种为人民币,单位为元。小数点以后最多保留两位。 \t2、取值范围:0.1<=x<= 50000。\t3、若指定可核销商品编码,门槛金额必填。门槛金额为可核销商品部分的消费金额,而不是订单的消费金额。"
  105063. }
  105064. }
  105065. },
  105066. "PaymentVoucherAlipayBalanceRechargeInfo" : {
  105067. "type" : "object",
  105068. "properties" : {
  105069. "logon_id" : {
  105070. "type" : "string",
  105071. "description" : "出资的支付宝登录账号\t限制:\t1、登录账号和用户ID必须且只能二选一"
  105072. },
  105073. "user_id" : {
  105074. "type" : "string",
  105075. "description" : "出资的支付宝用户id\t限制:\t1、登录账号和用户ID必须且只能二选一"
  105076. }
  105077. }
  105078. },
  105079. "PaymentVoucherAvailableGoods" : {
  105080. "type" : "object",
  105081. "properties" : {
  105082. "goods_description" : {
  105083. "type" : "string",
  105084. "description" : "商品描述信息。 用于券面展示,向用户介绍商品",
  105085. "example" : "特价手机"
  105086. },
  105087. "goods_ids" : {
  105088. "type" : "array",
  105089. "description" : "可优惠商品编码,商家自定义商品编码。当用户支付时,交易中的商品编码和支付券配置的商品编码有任一匹配时,可以使用优惠券。",
  105090. "items" : {
  105091. "type" : "string"
  105092. },
  105093. "example" : "[\"apple-01\",\"apple-02\"]"
  105094. },
  105095. "goods_name" : {
  105096. "type" : "string",
  105097. "description" : "商品名称",
  105098. "example" : "ipad"
  105099. }
  105100. }
  105101. },
  105102. "PaymentVoucherAvailableGoodsModify" : {
  105103. "type" : "object",
  105104. "properties" : {
  105105. "goods_ids" : {
  105106. "type" : "array",
  105107. "description" : "可优惠商品编码,商家自定义商品编码。当用户支付时,交易中的商品编码和支付券配置的商品编码有任一匹配时,可以使用优惠券。\t限制:\t1、核销商品范围只能增大不能减小",
  105108. "items" : {
  105109. "type" : "string"
  105110. },
  105111. "example" : "[\"apple-01\",\"apple-02\"]"
  105112. }
  105113. }
  105114. },
  105115. "PaymentVoucherAvailableMerchant" : {
  105116. "type" : "object",
  105117. "properties" : {
  105118. "available_pids" : {
  105119. "type" : "array",
  105120. "description" : "优惠券可核销的直连商户PID\t\t限制:\t1、available_pids和available_smids至少二选一。",
  105121. "items" : {
  105122. "type" : "string"
  105123. },
  105124. "example" : "[\"2088102111111111\"]"
  105125. },
  105126. "available_smids" : {
  105127. "type" : "array",
  105128. "description" : "优惠券可核销的间连商户SMID\t\t限制: \t1、available_pids和available_smids至少二选一。",
  105129. "items" : {
  105130. "type" : "string"
  105131. },
  105132. "example" : "[\"2088102111111111\"]"
  105133. }
  105134. }
  105135. },
  105136. "PaymentVoucherAvailableMerchantModify" : {
  105137. "type" : "object",
  105138. "properties" : {
  105139. "available_pids" : {
  105140. "type" : "array",
  105141. "description" : "优惠券可以核销的直连商户PID。默认不修改。\t 限制: \t1、核销商户范围只能增大不能减小。",
  105142. "items" : {
  105143. "type" : "string"
  105144. },
  105145. "example" : "[\"2088102111111111\"]"
  105146. },
  105147. "available_smids" : {
  105148. "type" : "array",
  105149. "description" : "优惠券可以核销的间连商户SMID。默认不修改。\t 限制: \t1、核销商户范围只能增大不能减小。",
  105150. "items" : {
  105151. "type" : "string"
  105152. },
  105153. "example" : "[\"2088102111111111\"]"
  105154. }
  105155. }
  105156. },
  105157. "PaymentVoucherBelongMerchantInfo" : {
  105158. "type" : "object",
  105159. "properties" : {
  105160. "merchant_id" : {
  105161. "type" : "string",
  105162. "description" : "商户支付宝id,默认品牌名和品牌logo将从该商户信息中获取"
  105163. },
  105164. "merchant_id_type" : {
  105165. "type" : "string",
  105166. "description" : "商户id类型。 \t若传入的类型为直连商户则必须签约当面付且当前接口调用者与商户存在代运营关系\t当类型为SMID时表示为某个间连商户配券,但是券的归属者属于当前接口调用人。\t枚举值\tSMID 间连商户\tPID 直连商户"
  105167. }
  105168. }
  105169. },
  105170. "PaymentVoucherBudgetInfo" : {
  105171. "type" : "object",
  105172. "properties" : {
  105173. "amount" : {
  105174. "type" : "string",
  105175. "description" : "营销资金预算,单位元。\t总预算=优惠金额*总发券张数"
  105176. },
  105177. "budget_type" : {
  105178. "type" : "string",
  105179. "description" : "营销资金预算类型\t枚举值:\tNO_CASH 免充值\tRECHARGE 预充值\t\t1、免充值:制券方无需提前充值资金,用户核销支付券时,直接从订单原价中扣除优惠减价金额,最终只将用户实际支付的金额结算给核销商户,商户实收少于订单原价。\t2.预充值: 制券方需将优惠预算提前充值到支付宝指定营销账户中,用户核销支付券时,系统从该账户可用余额中扣除优惠减价部分对应的资金,连同用户实际支付的资金,一并结算给核销商户,不影响实收。"
  105180. },
  105181. "recharge_info" : {
  105182. "$ref" : "#/components/schemas/PaymentVoucherRechargeInfo"
  105183. }
  105184. }
  105185. },
  105186. "PaymentVoucherDisplayInfo" : {
  105187. "type" : "object",
  105188. "properties" : {
  105189. "brand_name" : {
  105190. "type" : "string",
  105191. "description" : "商户品牌名称。 如果不设置品牌名称,则默认使用支付宝商家系统中维护的商家别名。 如果没有维护商家别名,则使用默认名称: 商家优惠。 用户领取优惠券后,品牌名称会对用户进行展示"
  105192. },
  105193. "customer_service_mobile" : {
  105194. "type" : "string",
  105195. "description" : "商家客服电话,会展示在支付宝卡包券详情页。"
  105196. },
  105197. "voucher_description" : {
  105198. "type" : "string",
  105199. "description" : "用于说明详细的活动规则,会展示在支付宝卡包券详情页。"
  105200. },
  105201. "voucher_detail_images" : {
  105202. "type" : "array",
  105203. "description" : "券详细图列表,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_DETAIL_IMAGE ,接口返回的resource_id即为该参数的值 上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过2MB 限制 1.voucher_image填入,该值才能填入; 2.最多3张;",
  105204. "items" : {
  105205. "type" : "string"
  105206. }
  105207. },
  105208. "voucher_image" : {
  105209. "type" : "string",
  105210. "description" : "券详情页封面图,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_IMAGE,接口返回的resource_id即为该参数的值 限制: 该字段在兑换券场景下必传 上传图片尺寸670*335,支持格式:png、jpg、jpeg、bmp,大小不超过2MB\t限制:\t1.指定可核销商品(available_goods)时必传"
  105211. }
  105212. }
  105213. },
  105214. "PaymentVoucherRechargeInfo" : {
  105215. "type" : "object",
  105216. "properties" : {
  105217. "alipay_balance_recharge_info" : {
  105218. "$ref" : "#/components/schemas/PaymentVoucherAlipayBalanceRechargeInfo"
  105219. },
  105220. "recharge_type" : {
  105221. "type" : "string",
  105222. "description" : "预充值方式。 \t枚举值 ALIPAY_BALANCE 支付宝余额预充值"
  105223. }
  105224. }
  105225. },
  105226. "PaymentVoucherSendRule" : {
  105227. "type" : "object",
  105228. "properties" : {
  105229. "max_quantity_by_day" : {
  105230. "type" : "integer",
  105231. "description" : "设置此字段,允许指定单天最大发券数量。\t\t限制:\t每天发放张数*活动天数应小于等于优惠券发放总量"
  105232. },
  105233. "natural_person_limit" : {
  105234. "type" : "boolean",
  105235. "description" : "限制相同身份证号领取次数(voucher_quantity_limit_per_user)。默认false不限制。\t枚举值\ttrue:是\tfalse:否"
  105236. },
  105237. "phone_number_limit" : {
  105238. "type" : "boolean",
  105239. "description" : "限制相同手机号领取次数(voucher_quantity_limit_per_user)。默认false不限制\t枚举值\ttrue:是\tfalse:否"
  105240. },
  105241. "real_name_limit" : {
  105242. "type" : "boolean",
  105243. "description" : "限制支付宝实名用户才能领取支付券,默认为false表示不限制\t枚举值\ttrue\\false"
  105244. },
  105245. "voucher_quantity" : {
  105246. "type" : "integer",
  105247. "description" : "发行券的总数量。\t限制:\t1、发放总个数最少1个\t2、发放总个数最多99999999个"
  105248. },
  105249. "voucher_quantity_limit_per_user" : {
  105250. "type" : "integer",
  105251. "description" : "每人领取限制。 默认按照支付宝账号进行领取限制; \t不填写或填入0表示没有领取限制."
  105252. },
  105253. "voucher_quantity_limit_per_user_period_type" : {
  105254. "type" : "string",
  105255. "description" : "周期限领配置,限制每人在固定周期内领取张数(voucher_quantity_limit_per_user),默认LIFE_CYCLE\t\t枚举值为 \tDAY:每天\tWEEK:每周\tMONTH:每月\tLIFE_CYCLE:整个活动周期"
  105256. }
  105257. }
  105258. },
  105259. "PaymentVoucherUseRule" : {
  105260. "type" : "object",
  105261. "properties" : {
  105262. "available_app_ids" : {
  105263. "type" : "array",
  105264. "description" : "可核销的支付宝小程序id\t\t限制: \t1、必须是支付宝小程序\t2、如果包含重复的小程序id会自动进行去重操作。",
  105265. "items" : {
  105266. "type" : "string"
  105267. },
  105268. "example" : "[\"2021238412323412\"]"
  105269. },
  105270. "available_goods" : {
  105271. "$ref" : "#/components/schemas/PaymentVoucherAvailableGoods"
  105272. },
  105273. "available_merchant" : {
  105274. "$ref" : "#/components/schemas/PaymentVoucherAvailableMerchant"
  105275. },
  105276. "available_store_ids" : {
  105277. "type" : "array",
  105278. "description" : "可核销支付球房id。\t限制: \t1、available_store_ids中的球房id必须是支付宝球房id。 \t2、available_store_ids如果包含重复的球房id会自动进行去重操作。",
  105279. "items" : {
  105280. "type" : "string"
  105281. },
  105282. "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
  105283. },
  105284. "fix_voucher" : {
  105285. "$ref" : "#/components/schemas/PaymentFixVoucher"
  105286. },
  105287. "unavailable_goods_ids" : {
  105288. "type" : "array",
  105289. "description" : "不可核销商品编码,商家自定义商品编码。当用户支付时,交易中的商品编码和支付券配置的商品编码有任一匹配时,不可以使用优惠券。\t\t限制:\t1、available_goods与unavailable_goods_ids只能二选一或者同时为空",
  105290. "items" : {
  105291. "type" : "string"
  105292. },
  105293. "example" : "['apple-03','apple-04']"
  105294. },
  105295. "use_mode" : {
  105296. "type" : "string",
  105297. "description" : "核销跳转方式,默认CAN_USE(详情页展示可使用按钮)\t枚举值:\tSCAN_CODE 跳转到支付宝收钱码\tSELF_LINK 跳转至商家指定页面\tCAN_USE 卡包券详情页显示可使用按钮",
  105298. "example" : "SELF_LINK"
  105299. },
  105300. "use_url" : {
  105301. "type" : "string",
  105302. "description" : "核销跳转链接\t限制:\t1、只有use_mode为SELF_LINK时该值有效且必传。\t2、核销跳转链接必须是支付宝小程序链接。",
  105303. "example" : "alipays://platformapi/startapp?appId=201911136XXXXX&noneExit=true"
  105304. },
  105305. "voucher_quantity_limit_per_user" : {
  105306. "type" : "integer",
  105307. "description" : "每个支付宝账号的核销次数限制。 默认不限制",
  105308. "example" : "1"
  105309. },
  105310. "voucher_quantity_limit_per_user_period_type" : {
  105311. "type" : "string",
  105312. "description" : "核销次数限制周期配置。默认值LIFE_CYCLE表示限制每个支付宝账号在整个活动期间核销次数。\t\t枚举值:\tDAY:每天 \tWEEK:每周 \tMONTH:每月 \tLIFE_CYCLE:整个活动",
  105313. "example" : "DAY"
  105314. },
  105315. "voucher_valid_period" : {
  105316. "$ref" : "#/components/schemas/PaymentVoucherValidPeriod"
  105317. }
  105318. }
  105319. },
  105320. "PaymentVoucherUseRuleDetail" : {
  105321. "type" : "object",
  105322. "properties" : {
  105323. "fix_voucher" : {
  105324. "$ref" : "#/components/schemas/PaymentFixVoucher"
  105325. },
  105326. "use_mode" : {
  105327. "type" : "string",
  105328. "description" : "核销跳转方式,默认CAN_USE(详情页展示可使用按钮) 枚举值: \tSCAN_CODE 跳转到支付宝付钱码 \tSELF_LINK 跳转至商家指定页面 \tCAN_USE 卡包券详情页显示可使用按钮",
  105329. "example" : "SELF_LINK"
  105330. },
  105331. "use_url" : {
  105332. "type" : "string",
  105333. "description" : "核销跳转链接 限制: 1、只有use_mode为SELF_LINK时该值有效且必传。 2、核销跳转链接必须是支付宝小程序链接。",
  105334. "example" : "alipays://platformapi/startapp?appId=201911136XXXXX&noneExit=true"
  105335. },
  105336. "voucher_quantity_limit_per_user" : {
  105337. "type" : "integer",
  105338. "description" : "每个支付宝账号的核销次数限制。 默认不限制",
  105339. "example" : "1"
  105340. },
  105341. "voucher_quantity_limit_per_user_period_type" : {
  105342. "type" : "string",
  105343. "description" : "核销次数限制周期配置。默认值LIFE_CYCLE表示限制每个支付宝账号在整个活动期间核销次数。 枚举值: DAY:每天 WEEK:每周 MONTH:每月 LIFE_CYCLE:整个活动",
  105344. "example" : "DAY"
  105345. },
  105346. "voucher_valid_period" : {
  105347. "$ref" : "#/components/schemas/PaymentVoucherValidPeriod"
  105348. }
  105349. }
  105350. },
  105351. "PaymentVoucherUseRuleModify" : {
  105352. "type" : "object",
  105353. "properties" : {
  105354. "available_app_ids" : {
  105355. "type" : "string",
  105356. "description" : "可核销的支付宝小程序id \t\t限制: \t1、必须是支付宝小程序 \t2、如果包含重复的小程序id会自动进行去重操作。\t3、可核销小程序范围只能扩大不能缩小",
  105357. "example" : "[\"2021238412323412\"]"
  105358. },
  105359. "available_goods" : {
  105360. "$ref" : "#/components/schemas/PaymentVoucherAvailableGoodsModify"
  105361. },
  105362. "available_merchant" : {
  105363. "$ref" : "#/components/schemas/PaymentVoucherAvailableMerchantModify"
  105364. },
  105365. "available_store_ids" : {
  105366. "type" : "string",
  105367. "description" : "可核销支付球房id。 \t\t限制: \t1、available_store_ids中的球房id必须是支付宝球房id。 \t2、available_store_ids如果包含重复的球房id会自动进行去重操作。\t3、可核销球房范围只能扩大不能缩小",
  105368. "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
  105369. },
  105370. "voucher_valid_period" : {
  105371. "$ref" : "#/components/schemas/PaymentVoucherValidPeriodModify"
  105372. }
  105373. }
  105374. },
  105375. "PaymentVoucherValidPeriod" : {
  105376. "type" : "object",
  105377. "properties" : {
  105378. "type" : {
  105379. "type" : "string",
  105380. "description" : "券有效期。\t枚举值:\tABSOLUTE:绝对时间\tRELATIVE:相对时间"
  105381. },
  105382. "valid_begin_time" : {
  105383. "type" : "string",
  105384. "description" : "券可使用的开始时间。\t\t格式为:yyyy-MM-dd HH:mm:ss\t\t限制:\ttype为ABSOLUTE时该字段必填。"
  105385. },
  105386. "valid_days_after_receive" : {
  105387. "type" : "integer",
  105388. "description" : "券生效后N天内可以使用。\t\t可以配合wait_days_after_receive字段使用。\t\t限制:\t1.type为RELATIVE时必填。\t2.valid_days_after_receive必须大于0。"
  105389. },
  105390. "valid_end_time" : {
  105391. "type" : "string",
  105392. "description" : "券可使用的结束时间。\t\t格式为yyyy-MM-dd HH:mm:ss\t\t限制:\t1、type为ABSOLUTE必填。\t2、券可使用的结束时间valid_end_time必须大于券的发放结束时间publish_end_time"
  105393. },
  105394. "wait_days_after_receive" : {
  105395. "type" : "integer",
  105396. "description" : "用户领券后需要等待N天,券才可以生效。默认用户领券后立刻生效。\t\t限制:\t1、type为RELATIVE时可选。"
  105397. }
  105398. }
  105399. },
  105400. "PaymentVoucherValidPeriodModify" : {
  105401. "type" : "object",
  105402. "properties" : {
  105403. "valid_days_after_receive" : {
  105404. "type" : "integer",
  105405. "description" : "券生效后N天内可以使用。 限制: type为RELATIVE时可修改。 valid_days_after_receive必须大于0。 修改该时间,只允许延长,不允许缩短。",
  105406. "example" : "3"
  105407. },
  105408. "valid_end_time" : {
  105409. "type" : "string",
  105410. "description" : "券可使用的结束时间。 格式为yyyy-MM-dd HH:mm:ss 限制: type为ABSOLUTE可修改。 券可使用的结束时间valid_end_time 必须大于 券的发放结束时间 publish_end_time 修改券可使用的结束时间,只能延长,不允许缩短。",
  105411. "example" : "2017-01-13 23:59:59"
  105412. }
  105413. }
  105414. },
  105415. "PeriodRuleParams" : {
  105416. "type" : "object",
  105417. "properties" : {
  105418. "execute_time" : {
  105419. "type" : "string",
  105420. "description" : "首次执行时间execute_time是周期扣款产品必填,即商户发起首次扣款的时间。精确到日,格式为yyyy-MM-dd\t结合其他必填的扣款周期参数,会确定商户以后的扣款计划。发起扣款的时间需符合这里的扣款计划。",
  105421. "example" : "2019-01-23"
  105422. },
  105423. "period" : {
  105424. "type" : "integer",
  105425. "description" : "周期数period是周期扣款产品必填。与另一参数period_type组合使用确定扣款周期,例如period_type为DAY,period=90,则扣款周期为90天。",
  105426. "example" : "3"
  105427. },
  105428. "period_type" : {
  105429. "type" : "string",
  105430. "description" : "周期类型period_type是周期扣款产品必填,枚举值为DAY和MONTH。\tDAY即扣款周期按天计,MONTH代表扣款周期按自然月。\t与另一参数period组合使用确定扣款周期,例如period_type为DAY,period=30,则扣款周期为30天;period_type为MONTH,period=3,则扣款周期为3个自然月。\t自然月是指,不论这个月有多少天,周期都计算到月份中的同一日期。例如1月3日到2月3日为一个自然月,1月3日到4月3日为三个自然月。注意周期类型使用MONTH的时候,计划扣款时间execute_time不允许传28日之后的日期(可以传28日),以此避免有些月份可能不存在对应日期的情况。",
  105431. "example" : "DAY"
  105432. },
  105433. "single_amount" : {
  105434. "type" : "string",
  105435. "description" : "单次扣款最大金额single_amount是周期扣款产品必填,即每次发起扣款时限制的最大金额,单位为元。商户每次发起扣款都不允许大于此金额。",
  105436. "example" : "10.99"
  105437. },
  105438. "total_amount" : {
  105439. "type" : "string",
  105440. "description" : "总金额限制,单位为元。如果传入此参数,商户多次扣款的累计金额不允许超过此金额。",
  105441. "example" : "600"
  105442. },
  105443. "total_payments" : {
  105444. "type" : "integer",
  105445. "description" : "总扣款次数。如果传入此参数,则商户成功扣款的次数不能超过此次数限制(扣款失败不计入)。",
  105446. "example" : "12"
  105447. }
  105448. }
  105449. },
  105450. "PluginBetaItemInfo" : {
  105451. "type" : "object",
  105452. "properties" : {
  105453. "app_name" : {
  105454. "type" : "string",
  105455. "description" : "小程序名称",
  105456. "example" : "小程序名称"
  105457. },
  105458. "beta_status" : {
  105459. "type" : "string",
  105460. "description" : "被邀测状态,待确认WAITCHECK/确认CHECKED/拒绝REJECT",
  105461. "example" : "WAITCHECK"
  105462. },
  105463. "memo" : {
  105464. "type" : "string",
  105465. "description" : "拒绝原因",
  105466. "example" : "拒绝原因"
  105467. },
  105468. "mini_app_id" : {
  105469. "type" : "string",
  105470. "description" : "小程序ID",
  105471. "example" : "2019****"
  105472. },
  105473. "plugin_id" : {
  105474. "type" : "string",
  105475. "description" : "插件id",
  105476. "example" : "2088xxx"
  105477. },
  105478. "plugin_version" : {
  105479. "type" : "string",
  105480. "description" : "插件版本",
  105481. "example" : "0.0.1"
  105482. },
  105483. "qr_code_url" : {
  105484. "type" : "string",
  105485. "description" : "邀测二维码",
  105486. "example" : "https://mobilecodec.alipay.com/show.htm?code=0le14985b5hyws8pcbyah5f"
  105487. }
  105488. }
  105489. },
  105490. "PluginUseConfigInfo" : {
  105491. "type" : "object",
  105492. "properties" : {
  105493. "bundle_id" : {
  105494. "type" : "string",
  105495. "description" : "端",
  105496. "example" : "com.alipay.alipaywallet"
  105497. },
  105498. "gray_code" : {
  105499. "type" : "string",
  105500. "description" : "灰度策略",
  105501. "example" : "p1"
  105502. },
  105503. "plugin_develop_version" : {
  105504. "type" : "string",
  105505. "description" : "插件研发版本",
  105506. "example" : "0.0.3"
  105507. },
  105508. "status" : {
  105509. "type" : "string",
  105510. "description" : "GRAY(灰度中)/RELEASE(在线状态)",
  105511. "example" : "GRAY"
  105512. }
  105513. }
  105514. },
  105515. "PluginUseRelationInfo" : {
  105516. "type" : "object",
  105517. "properties" : {
  105518. "beta_memo" : {
  105519. "type" : "string",
  105520. "description" : "邀测驳回原因",
  105521. "example" : "测试不通过"
  105522. },
  105523. "beta_plugin_version" : {
  105524. "type" : "string",
  105525. "description" : "邀测插件版本号",
  105526. "example" : "0.0.3"
  105527. },
  105528. "beta_qr_code_url" : {
  105529. "type" : "string",
  105530. "description" : "邀测二维码",
  105531. "example" : "https://mobilecodec.alipay.com/show.htm?code=0le14985b5hyws8pcbyah5f"
  105532. },
  105533. "beta_status" : {
  105534. "type" : "string",
  105535. "description" : "WAITCHECK-待确认;CHECKED-确认;REJECT-拒绝",
  105536. "example" : "WAITCHECK"
  105537. },
  105538. "gmt_active" : {
  105539. "type" : "string",
  105540. "description" : "激活时间",
  105541. "example" : "2018-05-10 15:10:25"
  105542. },
  105543. "gmt_create" : {
  105544. "type" : "string",
  105545. "description" : "订购时间",
  105546. "example" : "2018-05-10 15:10:25"
  105547. },
  105548. "gmt_invalid" : {
  105549. "type" : "string",
  105550. "description" : "插件失效时间",
  105551. "example" : "9999-12-31 00:00:00"
  105552. },
  105553. "mini_app_id" : {
  105554. "type" : "string",
  105555. "description" : "应用ID",
  105556. "example" : "2012211102012056"
  105557. },
  105558. "plugin_deploy_version" : {
  105559. "type" : "string",
  105560. "description" : "插件构建版本",
  105561. "example" : "0.2.1812171829.32"
  105562. },
  105563. "plugin_id" : {
  105564. "type" : "string",
  105565. "description" : "插件ID",
  105566. "example" : "2012211102012088"
  105567. },
  105568. "plugin_status" : {
  105569. "type" : "string",
  105570. "description" : "插件状态,取值包括EXECUTING/WAIT_WORKING/WORKING/STOP_WORKING/WAIT_BUY",
  105571. "example" : "WORKING"
  105572. },
  105573. "plugin_use_config_info_list" : {
  105574. "type" : "array",
  105575. "description" : "分端版本配置信息列表",
  105576. "items" : {
  105577. "$ref" : "#/components/schemas/PluginUseConfigInfo"
  105578. }
  105579. },
  105580. "plugin_version" : {
  105581. "type" : "string",
  105582. "description" : "插件版本",
  105583. "example" : "0.0.1"
  105584. },
  105585. "run_mode_type" : {
  105586. "type" : "string",
  105587. "description" : "插件运行状态,取值包括ONLINE/TRIAL/REVIEW/DEBUG",
  105588. "example" : "ONLINE"
  105589. },
  105590. "source_from" : {
  105591. "type" : "string",
  105592. "description" : "渠道来源,取值包括SHOP_MINI/PLUGIN_DEBUG/PLUGIN_TRIAL/PLUGIN_AUDIT/GENERAL_SHOP_ID",
  105593. "example" : "PLUGIN_DEBUG"
  105594. }
  105595. }
  105596. },
  105597. "PointCard" : {
  105598. "type" : "object",
  105599. "properties" : {
  105600. "desc" : {
  105601. "type" : "string",
  105602. "description" : "工具的描述",
  105603. "example" : "集点卡的功能描述"
  105604. },
  105605. "end_time" : {
  105606. "type" : "string",
  105607. "description" : "工具的有效期的结束时间(必须晚于活动的结束时间)",
  105608. "example" : "2016-10-01 00:00:00"
  105609. },
  105610. "logo" : {
  105611. "type" : "string",
  105612. "description" : "工具的LOGO文件ID",
  105613. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  105614. },
  105615. "name" : {
  105616. "type" : "string",
  105617. "description" : "工具的名称",
  105618. "example" : "集点卡"
  105619. },
  105620. "start_time" : {
  105621. "type" : "string",
  105622. "description" : "工具的有效期的起始时间",
  105623. "example" : "2016-05-01 00:00:00"
  105624. },
  105625. "type" : {
  105626. "type" : "string",
  105627. "description" : "工具类型,目前支持:\r\t集点卡:POINT_CARD",
  105628. "example" : "POINT_CARD"
  105629. }
  105630. }
  105631. },
  105632. "PreCreateWaybillIstd" : {
  105633. "type" : "object",
  105634. "properties" : {
  105635. "coupon_fee" : {
  105636. "type" : "string",
  105637. "description" : "优惠券费用",
  105638. "example" : "1.00"
  105639. },
  105640. "deliver_fee" : {
  105641. "type" : "string",
  105642. "description" : "运费",
  105643. "example" : "10.00"
  105644. },
  105645. "dispatch_duration" : {
  105646. "type" : "integer",
  105647. "description" : "预计骑手还剩多久接单(单位:秒)",
  105648. "example" : "300"
  105649. },
  105650. "distance" : {
  105651. "type" : "integer",
  105652. "description" : "配送距离(单位:米)",
  105653. "example" : "1000"
  105654. },
  105655. "fee" : {
  105656. "type" : "string",
  105657. "description" : "实际运费",
  105658. "example" : "9.00"
  105659. },
  105660. "insurance_fee" : {
  105661. "type" : "string",
  105662. "description" : "保价费用",
  105663. "example" : "0.00"
  105664. },
  105665. "logistics_code" : {
  105666. "type" : "string",
  105667. "description" : "即时配送公司编码",
  105668. "example" : "FENGNIAO"
  105669. },
  105670. "logistics_token" : {
  105671. "type" : "string",
  105672. "description" : "配送公司可以返回此字段,当商家下单时候带上这个字段,保证在一段时间内运费不变",
  105673. "example" : "token001"
  105674. },
  105675. "pay_amount" : {
  105676. "type" : "string",
  105677. "description" : "支付金额,实际扣减的费用以此字段为准",
  105678. "example" : "9.00"
  105679. },
  105680. "service_code" : {
  105681. "type" : "string",
  105682. "description" : "即时配送公司服务代码",
  105683. "example" : "fengniao01"
  105684. },
  105685. "third_code" : {
  105686. "type" : "string",
  105687. "description" : "即时配送公司返回的响应码。10000表示业务处理成功,40004表示业务处理失败。",
  105688. "example" : "10000"
  105689. },
  105690. "third_sub_code" : {
  105691. "type" : "string",
  105692. "description" : "即时配送公司返回的错误码",
  105693. "example" : "xxx"
  105694. },
  105695. "third_sub_msg" : {
  105696. "type" : "string",
  105697. "description" : "即时配送公司返回的错误描述",
  105698. "example" : "xxx"
  105699. }
  105700. }
  105701. },
  105702. "PreOrderExtInfo" : {
  105703. "type" : "object",
  105704. "properties" : {
  105705. "brand_id" : {
  105706. "type" : "string",
  105707. "description" : "品牌id",
  105708. "example" : "123"
  105709. },
  105710. "brand_name" : {
  105711. "type" : "string",
  105712. "description" : "品牌名称",
  105713. "example" : "豫章人家"
  105714. },
  105715. "channel" : {
  105716. "type" : "string",
  105717. "description" : "请求渠道",
  105718. "example" : "APP, AlipayMiniApp, Taobao"
  105719. },
  105720. "order_feature" : {
  105721. "type" : "string",
  105722. "description" : "单据属性,风控系统使用",
  105723. "example" : "merchant_id@@@2088123456123456|||merchant_name@@@张三营业厅"
  105724. }
  105725. }
  105726. },
  105727. "PresetPayToolInfo" : {
  105728. "type" : "object",
  105729. "properties" : {
  105730. "amount" : {
  105731. "type" : "array",
  105732. "description" : "前置资产金额。单位:元。",
  105733. "items" : {
  105734. "type" : "string"
  105735. },
  105736. "example" : "12.21"
  105737. },
  105738. "assert_type_code" : {
  105739. "type" : "string",
  105740. "description" : "前置资产类型编码,和收单支付传入的preset_pay_tool里面的类型编码保持一致。",
  105741. "example" : "盒马礼品卡:HEMA;抓猫猫红包:T_CAT_COUPON"
  105742. }
  105743. }
  105744. },
  105745. "ProductAgentStatusInfo" : {
  105746. "type" : "object",
  105747. "properties" : {
  105748. "product_code" : {
  105749. "type" : "string",
  105750. "description" : "产品编码",
  105751. "example" : "FACE_TO_FACE_PAYMENT"
  105752. },
  105753. "product_name" : {
  105754. "type" : "string",
  105755. "description" : "产品名称",
  105756. "example" : "当面付收单"
  105757. },
  105758. "reject_reason" : {
  105759. "type" : "string",
  105760. "description" : "产品被驳回的原因",
  105761. "example" : "请您在签约时上传与账户主体一致的证件。"
  105762. },
  105763. "status" : {
  105764. "type" : "string",
  105765. "description" : "none:未签约,表示还没有签约该产品 valid:已生效,表示合约已经生效,不需要再签约了 restrictValid:受限生效,表示合约已经生效,但是资料不全,功能受限 audit:审核中,已经有合约在审核中,请等待审核完成 waitConfirm:待商户确认协议,合约已经审核通过,需要商户确认后合约才生效 auditReject:审核未通过 invalid:合约失效,曾经签过合约,但已经失效了,可以重新发起签约 restrictInvalid:受限失效,受限合约失效了",
  105766. "example" : "none|valid|restrictValid..."
  105767. }
  105768. }
  105769. },
  105770. "ProductInviteStatusInfo" : {
  105771. "type" : "object",
  105772. "properties" : {
  105773. "product_code" : {
  105774. "type" : "string",
  105775. "description" : "产品编码",
  105776. "example" : "FACE_TO_FACE_PAYMENT"
  105777. },
  105778. "product_name" : {
  105779. "type" : "string",
  105780. "description" : "产品名称",
  105781. "example" : "当面付收单"
  105782. },
  105783. "status" : {
  105784. "type" : "string",
  105785. "description" : "NONE:未签约,表示还没有签约该产品\tMERCHANT_AUDITING:审核中,已经有合约在审核中,请等待审核完成\tMERCHANT_CONFIRM_SUCCESS:已生效,表示合约已经生效,不需要再签约了\tMERCHANT_APPLY_ORDER_CANCELED:审核未通过",
  105786. "example" : "NONE|MERCHANT_AUDITING|MERCHANT_CONFIRM_SUCCESS|MERCHANT_APPLY_ORDER_CANCELED"
  105787. }
  105788. }
  105789. },
  105790. "ProductSignStatusInfo" : {
  105791. "type" : "object",
  105792. "properties" : {
  105793. "product_code" : {
  105794. "type" : "string",
  105795. "description" : "产品编码",
  105796. "example" : "FACE_TO_FACE_PAYMENT"
  105797. },
  105798. "product_name" : {
  105799. "type" : "string",
  105800. "description" : "产品名称",
  105801. "example" : "当面付收单"
  105802. },
  105803. "status" : {
  105804. "type" : "string",
  105805. "description" : "none:未签约,表示还没有签约该产品\r\tvalid:已生效,表示合约已经生效,不需要再签约了\r\trestrictValid:受限生效,表示合约已经生效,但是资料不全,功能受限\r\taudit:审核中,已经有合约在审核中,请等待审核完成\r\twaitConfirm:待商户确认协议,合约已经审核通过,需要商户确认后合约才生效\r\tauditReject:审核未通过\r\tinvalid:合约失效,曾经签过合约,但已经失效了,可以重新发起签约\r\trestrictInvalid:受限失效,受限合约失效了",
  105806. "example" : "none|valid|restrictValid|audit|waitConfirm|auditReject|invalid|restrictInvalid"
  105807. }
  105808. }
  105809. },
  105810. "ProjectRuleInfo" : {
  105811. "type" : "object",
  105812. "properties" : {
  105813. "effective_end_date" : {
  105814. "type" : "string",
  105815. "description" : "有效期截止",
  105816. "example" : "2021-03-02 17:00:00"
  105817. },
  105818. "effective_start_date" : {
  105819. "type" : "string",
  105820. "description" : "有效期起始",
  105821. "example" : "2021-03-01 19:00:00"
  105822. },
  105823. "employee_list" : {
  105824. "type" : "array",
  105825. "description" : "切换open_id前请使用此字段:员工uid列表",
  105826. "items" : {
  105827. "type" : "string"
  105828. },
  105829. "example" : "[\"2088123412341234\"]"
  105830. },
  105831. "employee_open_id_list" : {
  105832. "type" : "array",
  105833. "description" : "切换open_id后请使用此字段:员工open_id列表",
  105834. "items" : {
  105835. "type" : "string"
  105836. },
  105837. "example" : "[\"abcdxxxx\"]"
  105838. },
  105839. "expense_ctrl_rule_info_group_list" : {
  105840. "type" : "array",
  105841. "description" : "规则组列表",
  105842. "items" : {
  105843. "$ref" : "#/components/schemas/ExpenseCtrRuleGroupInfo"
  105844. }
  105845. },
  105846. "project_id" : {
  105847. "type" : "string",
  105848. "description" : "项目id",
  105849. "example" : "1100"
  105850. },
  105851. "project_name" : {
  105852. "type" : "string",
  105853. "description" : "项目名称",
  105854. "example" : "费控项目"
  105855. }
  105856. }
  105857. },
  105858. "PromiseDetail" : {
  105859. "type" : "object",
  105860. "properties" : {
  105861. "auth_status" : {
  105862. "type" : "boolean",
  105863. "description" : "授权状态",
  105864. "example" : "true"
  105865. },
  105866. "create_time" : {
  105867. "type" : "string",
  105868. "description" : "任务创建时间",
  105869. "example" : "yyyy-mm-dd hh:mm:ss"
  105870. },
  105871. "end_time" : {
  105872. "type" : "string",
  105873. "description" : "任务结束时间",
  105874. "example" : "yyyy-mm-dd hh:mm:ss"
  105875. },
  105876. "final_time" : {
  105877. "type" : "string",
  105878. "description" : "任务到达终态的时间",
  105879. "example" : "yyyy-mm-dd hh:mm:ss"
  105880. },
  105881. "finish_periods" : {
  105882. "type" : "integer",
  105883. "description" : "任务完成期数",
  105884. "example" : "1"
  105885. },
  105886. "merchant_id" : {
  105887. "type" : "string",
  105888. "description" : "芝麻侧的商户id",
  105889. "example" : "lefit"
  105890. },
  105891. "merchant_logo" : {
  105892. "type" : "string",
  105893. "description" : "商户logo",
  105894. "example" : "https://icon.png"
  105895. },
  105896. "merchant_name" : {
  105897. "type" : "string",
  105898. "description" : "商户名称",
  105899. "example" : "乐刻"
  105900. },
  105901. "out_biz_no" : {
  105902. "type" : "string",
  105903. "description" : "生活记录加入时的外部业务号",
  105904. "example" : "84927419"
  105905. },
  105906. "period_type" : {
  105907. "type" : "string",
  105908. "description" : "周期类型",
  105909. "example" : "multi"
  105910. },
  105911. "promise_name" : {
  105912. "type" : "string",
  105913. "description" : "生活记录模板名称",
  105914. "example" : "每周攒钱,完成心愿"
  105915. },
  105916. "record_id" : {
  105917. "type" : "string",
  105918. "description" : "生活记录主记录id",
  105919. "example" : "2022101865652385257"
  105920. },
  105921. "record_status" : {
  105922. "type" : "string",
  105923. "description" : "主任务状态",
  105924. "example" : "PROCESSING、UN_FINISH、CANCELED、FINISH,分别对应进行中、未完成、已取消、已完成"
  105925. },
  105926. "start_time" : {
  105927. "type" : "string",
  105928. "description" : "任务开始时间",
  105929. "example" : "yyyy-mm-dd hh:mm:ss"
  105930. },
  105931. "sub_record_status" : {
  105932. "type" : "string",
  105933. "description" : "子记录状态",
  105934. "example" : "PROCESSING、UN_FINISH、CANCELED、FINISH,分别对应进行中、未完成、已取消、已完成"
  105935. },
  105936. "sub_title" : {
  105937. "type" : "string",
  105938. "description" : "副标题",
  105939. "example" : "加入后7天内完成1次攒钱"
  105940. },
  105941. "template_id" : {
  105942. "type" : "string",
  105943. "description" : "生活记录模板id",
  105944. "example" : "save_money_every_week"
  105945. },
  105946. "total_periods" : {
  105947. "type" : "integer",
  105948. "description" : "任务总期数",
  105949. "example" : "4"
  105950. }
  105951. }
  105952. },
  105953. "PromoDeliveryInfo" : {
  105954. "type" : "object",
  105955. "properties" : {
  105956. "activity_id" : {
  105957. "type" : "string",
  105958. "description" : "活动id",
  105959. "example" : "201222222xxxxx"
  105960. },
  105961. "booth_code" : {
  105962. "type" : "string",
  105963. "description" : "展位码:boothCode表达的是具体渠道所属的展位码。例如:支付结果页PAYMENT_RESULT",
  105964. "example" : "PAYMENT_RESULT"
  105965. },
  105966. "channel" : {
  105967. "type" : "string",
  105968. "description" : "可投放的渠道标识. 说明: 针对不同的boot_code,channel值各不相同.接口使用者可以认为channel是不同booth_code展位下的渠道的唯一标识。 例如: booth_code为PAYMENT_RESULT。 channel为某个商户的pid。",
  105969. "example" : "2088xxxxxxx"
  105970. },
  105971. "channel_name" : {
  105972. "type" : "string",
  105973. "description" : "渠道名称",
  105974. "example" : "支付宝官方渠道"
  105975. },
  105976. "delivery_status" : {
  105977. "type" : "string",
  105978. "description" : "投放状态.\t\t枚举值:\tACTIVE: 生效的投放。\tINACTIVE: 失效的投放。",
  105979. "example" : "ACTIVE"
  105980. }
  105981. }
  105982. },
  105983. "PromoOperatorInfo" : {
  105984. "type" : "object",
  105985. "properties" : {
  105986. "operator_id" : {
  105987. "type" : "string",
  105988. "description" : "操作人id"
  105989. },
  105990. "operator_type" : {
  105991. "type" : "string",
  105992. "description" : "操作人类型。SALES:口碑内部小二;MER:商户;MER_OPERATOR:商户员工;PROVIDER:服务商;PROVIDER_STAFF:服务商员工;"
  105993. }
  105994. }
  105995. },
  105996. "PromoPageInfo" : {
  105997. "type" : "object",
  105998. "properties" : {
  105999. "page_num" : {
  106000. "type" : "integer",
  106001. "description" : "页码",
  106002. "example" : "1"
  106003. },
  106004. "page_size" : {
  106005. "type" : "integer",
  106006. "description" : "每页大小",
  106007. "example" : "20"
  106008. }
  106009. }
  106010. },
  106011. "PromoPageResult" : {
  106012. "type" : "object",
  106013. "properties" : {
  106014. "page_num" : {
  106015. "type" : "integer",
  106016. "description" : "页码",
  106017. "example" : "10"
  106018. },
  106019. "page_size" : {
  106020. "type" : "integer",
  106021. "description" : "每页多少条",
  106022. "example" : "10"
  106023. },
  106024. "total_count" : {
  106025. "type" : "integer",
  106026. "description" : "总条数",
  106027. "example" : "10000"
  106028. },
  106029. "total_pages" : {
  106030. "type" : "integer",
  106031. "description" : "总共有多少页",
  106032. "example" : "10"
  106033. }
  106034. }
  106035. },
  106036. "PromoParam" : {
  106037. "type" : "object",
  106038. "properties" : {
  106039. "actual_order_time" : {
  106040. "type" : "string",
  106041. "description" : "存在延迟扣款这一类的场景,用这个时间表明用户发生交易的时间,比如说,在公交地铁场景,用户刷码出站的时间,和商户上送交易的时间是不一样的。",
  106042. "example" : "2018-09-25 22:47:33"
  106043. }
  106044. }
  106045. },
  106046. "PromoTool" : {
  106047. "type" : "object",
  106048. "properties" : {
  106049. "point_card" : {
  106050. "$ref" : "#/components/schemas/PointCard"
  106051. },
  106052. "send_rule" : {
  106053. "$ref" : "#/components/schemas/SendRule"
  106054. },
  106055. "status" : {
  106056. "type" : "string",
  106057. "description" : "单个营销工具的生效状态,当在招商部分券失效后会使用这个字段",
  106058. "example" : "STARTED"
  106059. },
  106060. "voucher" : {
  106061. "$ref" : "#/components/schemas/Voucher"
  106062. },
  106063. "voucher_no" : {
  106064. "type" : "string",
  106065. "description" : "营销工具uid,创建营销活动时无需设置",
  106066. "example" : "2342343245234234"
  106067. }
  106068. }
  106069. },
  106070. "PromotePageData" : {
  106071. "type" : "object",
  106072. "properties" : {
  106073. "biz_no" : {
  106074. "type" : "string",
  106075. "description" : "留资流水号",
  106076. "example" : "Zybnom890437Mvcu"
  106077. },
  106078. "property_list" : {
  106079. "type" : "array",
  106080. "description" : "留资属性实例数据列表",
  106081. "items" : {
  106082. "$ref" : "#/components/schemas/PromotePagePropertyInstance"
  106083. }
  106084. }
  106085. }
  106086. },
  106087. "PromotePageDetail" : {
  106088. "type" : "object",
  106089. "properties" : {
  106090. "gmt_create" : {
  106091. "type" : "string",
  106092. "description" : "推广页创建时间,格式:yyyy-mm-dd hh:mm:ss",
  106093. "example" : "2020-12-12 12:20:30"
  106094. },
  106095. "id" : {
  106096. "type" : "integer",
  106097. "description" : "推广页id",
  106098. "example" : "2018374"
  106099. },
  106100. "name" : {
  106101. "type" : "string",
  106102. "description" : "推广页名称",
  106103. "example" : "测试留资推广页"
  106104. },
  106105. "property_list" : {
  106106. "type" : "array",
  106107. "description" : "推广留资schema",
  106108. "items" : {
  106109. "$ref" : "#/components/schemas/PromotePageProperty"
  106110. }
  106111. },
  106112. "type" : {
  106113. "type" : "string",
  106114. "description" : "推广页类型:COLLECT_INFO - 普通留资;TRADE - 交易留资",
  106115. "example" : "COLLECT_INFO"
  106116. }
  106117. }
  106118. },
  106119. "PromotePageProperty" : {
  106120. "type" : "object",
  106121. "properties" : {
  106122. "key" : {
  106123. "type" : "string",
  106124. "description" : "留资属性key",
  106125. "example" : "orderId"
  106126. },
  106127. "name" : {
  106128. "type" : "string",
  106129. "description" : "留资属性名称",
  106130. "example" : "订单号"
  106131. }
  106132. }
  106133. },
  106134. "PromotePagePropertyInstance" : {
  106135. "type" : "object",
  106136. "properties" : {
  106137. "key" : {
  106138. "type" : "string",
  106139. "description" : "留资属性key",
  106140. "example" : "orderId"
  106141. },
  106142. "name" : {
  106143. "type" : "string",
  106144. "description" : "留资属性名称",
  106145. "example" : "订单号"
  106146. },
  106147. "value" : {
  106148. "type" : "string",
  106149. "description" : "留资属性实例值",
  106150. "example" : "A27904vbvjlmn"
  106151. }
  106152. }
  106153. },
  106154. "PromotionRelationDTO" : {
  106155. "type" : "object",
  106156. "properties" : {
  106157. "apply_reason" : {
  106158. "type" : "string",
  106159. "description" : "申请推广时填写的申请理由",
  106160. "example" : "XXX"
  106161. },
  106162. "commodity_id" : {
  106163. "type" : "string",
  106164. "description" : "服务商品ID",
  106165. "example" : "SS010101000000003954"
  106166. },
  106167. "commodity_name" : {
  106168. "type" : "string",
  106169. "description" : "服务商品名称",
  106170. "example" : "测试服务"
  106171. },
  106172. "create_time" : {
  106173. "type" : "string",
  106174. "description" : "推广关系创建时间",
  106175. "example" : "2020-10-12 12:10:10"
  106176. },
  106177. "promoter_contact_name" : {
  106178. "type" : "string",
  106179. "description" : "推广服务商联系人名称",
  106180. "example" : "张三"
  106181. },
  106182. "promoter_contact_phone" : {
  106183. "type" : "string",
  106184. "description" : "推广服务商联系电话",
  106185. "example" : "136xxxxxxxx"
  106186. },
  106187. "promoter_name" : {
  106188. "type" : "string",
  106189. "description" : "推广服务商的名称",
  106190. "example" : "xx商户"
  106191. },
  106192. "promoter_pid" : {
  106193. "type" : "string",
  106194. "description" : "推广服务商的pid",
  106195. "example" : "2088301324945205"
  106196. },
  106197. "promotion_id" : {
  106198. "type" : "string",
  106199. "description" : "推广任务id",
  106200. "example" : "2018052401048283"
  106201. },
  106202. "promotion_name" : {
  106203. "type" : "string",
  106204. "description" : "推广任务的名称",
  106205. "example" : "测试推广任务"
  106206. }
  106207. }
  106208. },
  106209. "PromotionTaskRelation" : {
  106210. "type" : "object",
  106211. "properties" : {
  106212. "apply_reason" : {
  106213. "type" : "string",
  106214. "description" : "申请推广时填写的申请理由",
  106215. "example" : "XXX"
  106216. },
  106217. "commodity_id" : {
  106218. "type" : "string",
  106219. "description" : "服务商品ID",
  106220. "example" : "SS010101000000003954"
  106221. },
  106222. "commodity_name" : {
  106223. "type" : "string",
  106224. "description" : "服务商品名称",
  106225. "example" : "测试服务"
  106226. },
  106227. "create_time" : {
  106228. "type" : "string",
  106229. "description" : "推广关系创建时间",
  106230. "example" : "2020-10-12 12:10:10"
  106231. },
  106232. "promoter_contact_name" : {
  106233. "type" : "string",
  106234. "description" : "推广服务商联系人名称",
  106235. "example" : "张三"
  106236. },
  106237. "promoter_contact_phone" : {
  106238. "type" : "string",
  106239. "description" : "推广服务商联系电话",
  106240. "example" : "136xxxxxxxx"
  106241. },
  106242. "promoter_name" : {
  106243. "type" : "string",
  106244. "description" : "推广服务商的名称",
  106245. "example" : "xx商户"
  106246. },
  106247. "promoter_pid" : {
  106248. "type" : "string",
  106249. "description" : "推广服务商的pid",
  106250. "example" : "2088301324945205"
  106251. },
  106252. "promotion_id" : {
  106253. "type" : "string",
  106254. "description" : "推广任务id",
  106255. "example" : "2018052401048283"
  106256. },
  106257. "promotion_name" : {
  106258. "type" : "string",
  106259. "description" : "推广任务的名称",
  106260. "example" : "测试推广任务"
  106261. }
  106262. }
  106263. },
  106264. "PubChannelDTO" : {
  106265. "type" : "object",
  106266. "properties" : {
  106267. "ext_info" : {
  106268. "type" : "string",
  106269. "description" : "扩展信息,无需配置"
  106270. },
  106271. "pub_channel" : {
  106272. "type" : "string",
  106273. "description" : "1、SHOP_DETAIL:店铺详情页 \r\t2、PAYMENT_RESULT: 支付成功页(支付成功页暂不支持)"
  106274. }
  106275. }
  106276. },
  106277. "PublicAuditStatus" : {
  106278. "type" : "object",
  106279. "properties" : {
  106280. "desc" : {
  106281. "type" : "string",
  106282. "description" : "审核状态描述,如果审核驳回则有相关的驳回理由",
  106283. "example" : "logo不符合规范"
  106284. },
  106285. "status" : {
  106286. "type" : "string",
  106287. "description" : "AUDITING:审核中,AUDIT_FAILED:审核驳回,AUDIT_SUCCESS:审核通过,AUDIT_NORMAL:无审核记录",
  106288. "example" : "AUDITING"
  106289. },
  106290. "type" : {
  106291. "type" : "string",
  106292. "description" : "NAME:名称、AVATAR:头像、NAME_AVATAR:名称与头像、INTRODUCTION:简介",
  106293. "example" : "NAME"
  106294. }
  106295. }
  106296. },
  106297. "PublicLabel" : {
  106298. "type" : "object",
  106299. "properties" : {
  106300. "count" : {
  106301. "type" : "integer",
  106302. "description" : "标签用户量",
  106303. "example" : "100000"
  106304. },
  106305. "id" : {
  106306. "type" : "string",
  106307. "description" : "标签编号",
  106308. "example" : "10005556"
  106309. },
  106310. "name" : {
  106311. "type" : "string",
  106312. "description" : "标签名称",
  106313. "example" : "标签1"
  106314. }
  106315. }
  106316. },
  106317. "PublishChannel" : {
  106318. "type" : "object",
  106319. "properties" : {
  106320. "config" : {
  106321. "type" : "string",
  106322. "description" : "当type为MERCHANT_CROWD时,config需填入口令送的密码和图片,样例如下:\"config\":\"{\\\"PASSWORD\\\":\\\"口令送密码\\\",\\\"BACKGROUND_LOGO\\\":\\\"1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC\\\"}\"",
  106323. "example" : "{\"PASSWORD\":\"口令送密码\",\"BACKGROUND_LOGO\":\"1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC\"}"
  106324. },
  106325. "ext_info" : {
  106326. "type" : "string",
  106327. "description" : "扩展信息,无需配置",
  106328. "example" : "\"key\":\"value\""
  106329. },
  106330. "name" : {
  106331. "type" : "string",
  106332. "description" : "渠道名称",
  106333. "example" : "投放到店铺"
  106334. },
  106335. "type" : {
  106336. "type" : "string",
  106337. "description" : "渠道类型,目前支持以下类型\r\tQR_CODE:二维码投放\r\tSHORT_LINK:短连接投放\r\tSHOP_DETAIL:店铺页投放\r\tPAYMENT_RESULT:支付成功页\r\tMERCHANT_CROWD:口令送\r\tURL_WITH_TOKEN:外部发奖活动,只有活动类型为DIRECT_SEND时才支持\r\tEXTERNAL:外部投放,口碑需要感知任何投放内容",
  106338. "example" : "SHOP_DETAIL"
  106339. }
  106340. }
  106341. },
  106342. "QrCodeRouteGroup" : {
  106343. "type" : "object",
  106344. "properties" : {
  106345. "mode" : {
  106346. "type" : "string",
  106347. "description" : "匹配规则,EXACT(精确匹配)、FUZZY(模糊匹配)、PATTERN(模式匹配)\\\\(如:配置二维码地址为https://www.alipay.com/my?id=123,当用户扫这个地址的二维码可唤起小程序)。 模糊匹配:根据填写的二维码地址模糊匹配,只要地址前缀匹配即可唤起小程序(如:配置二维码地址为https://www.alipay.com/my/,当用户扫的二维码地址为https://www.alipay.com/my/id=123,可唤起小程序)。\t。 模式匹配:根据填写的二维码地址可变变量进行匹配,只要地址的变量位置自定义,变量之外的部分匹配即可唤起小程序(如:配置的二维码地址为https://www.alipay.com/{0}/my/{1},当用户扫的二维码地址为:https://www.alipay.com/user/my/scan,可唤起小程序)",
  106348. "example" : "EXACT"
  106349. },
  106350. "route_group" : {
  106351. "type" : "string",
  106352. "description" : "路由组id(参数说明:该参数可用于alipay.open.mini.qrcode.unbind接口入参route_group,进行二维码解绑)",
  106353. "example" : "eda224f222194cc48c27a3e6319fd331"
  106354. },
  106355. "route_url" : {
  106356. "type" : "string",
  106357. "description" : "规则路由地址",
  106358. "example" : "https://www.alipay.com/isv/"
  106359. }
  106360. }
  106361. },
  106362. "QueryComplexLabelRule" : {
  106363. "type" : "object",
  106364. "properties" : {
  106365. "label_id" : {
  106366. "type" : "string",
  106367. "description" : "标签id",
  106368. "example" : "10000"
  106369. },
  106370. "label_name" : {
  106371. "type" : "string",
  106372. "description" : "标签名",
  106373. "example" : "职业"
  106374. },
  106375. "label_value" : {
  106376. "type" : "string",
  106377. "description" : "当有多个取值时用英文\",\"分隔,不允许传入下划线\"_\"、竖线\"|\"或者空格\" \"",
  106378. "example" : "程序员"
  106379. },
  106380. "operator" : {
  106381. "type" : "string",
  106382. "description" : "运算符",
  106383. "example" : "EQ"
  106384. }
  106385. }
  106386. },
  106387. "QueryExtension" : {
  106388. "type" : "object",
  106389. "properties" : {
  106390. "areas" : {
  106391. "type" : "array",
  106392. "description" : "扩展区列表",
  106393. "items" : {
  106394. "$ref" : "#/components/schemas/ExtensionArea"
  106395. }
  106396. },
  106397. "extension_key" : {
  106398. "type" : "string",
  106399. "description" : "扩展区套id",
  106400. "example" : "2013121100055552_7c3cb211-e239-42c0-abb0-fe80d02cfe51"
  106401. },
  106402. "label_rules" : {
  106403. "type" : "array",
  106404. "description" : "标签规则列表",
  106405. "items" : {
  106406. "$ref" : "#/components/schemas/QueryLabelRule"
  106407. }
  106408. },
  106409. "status" : {
  106410. "type" : "string",
  106411. "description" : "扩展区状态,\"ON\"代表上线,\"OFF\"代表下线,只有上线的扩展区才能被用户看到",
  106412. "example" : "ON"
  106413. }
  106414. }
  106415. },
  106416. "QueryGroup" : {
  106417. "type" : "object",
  106418. "properties" : {
  106419. "count" : {
  106420. "type" : "integer",
  106421. "description" : "人群中包含人数",
  106422. "example" : "888888"
  106423. },
  106424. "id" : {
  106425. "type" : "string",
  106426. "description" : "分组id",
  106427. "example" : "100"
  106428. },
  106429. "label_rule" : {
  106430. "type" : "array",
  106431. "description" : "分组中的圈人规则",
  106432. "items" : {
  106433. "$ref" : "#/components/schemas/QueryComplexLabelRule"
  106434. }
  106435. },
  106436. "name" : {
  106437. "type" : "string",
  106438. "description" : "用户分组名称",
  106439. "example" : "测试分组"
  106440. }
  106441. }
  106442. },
  106443. "QueryLabelRule" : {
  106444. "type" : "object",
  106445. "properties" : {
  106446. "label_id" : {
  106447. "type" : "string",
  106448. "description" : "标签id"
  106449. },
  106450. "label_name" : {
  106451. "type" : "string",
  106452. "description" : "标签名"
  106453. },
  106454. "label_value" : {
  106455. "type" : "string",
  106456. "description" : "标签值,多值会用英文逗号分隔"
  106457. },
  106458. "operator" : {
  106459. "type" : "string",
  106460. "description" : "运算符"
  106461. }
  106462. }
  106463. },
  106464. "QueryMenu" : {
  106465. "type" : "object",
  106466. "properties" : {
  106467. "button" : {
  106468. "type" : "array",
  106469. "description" : "一级菜单列表",
  106470. "items" : {
  106471. "$ref" : "#/components/schemas/ButtonObject"
  106472. }
  106473. },
  106474. "label_rule" : {
  106475. "type" : "array",
  106476. "description" : "标签规则项列表",
  106477. "items" : {
  106478. "$ref" : "#/components/schemas/QueryLabelRule"
  106479. }
  106480. },
  106481. "menu_key" : {
  106482. "type" : "string",
  106483. "description" : "菜单唯一id",
  106484. "example" : "default"
  106485. },
  106486. "type" : {
  106487. "type" : "string",
  106488. "description" : "菜单类型,icon:icon型菜单,text:文本型菜单",
  106489. "example" : "icon"
  106490. }
  106491. }
  106492. },
  106493. "QuotaModifyDetail" : {
  106494. "type" : "object",
  106495. "properties" : {
  106496. "agreement_no" : {
  106497. "type" : "string",
  106498. "description" : "授权协议号,和入参的协议号对应",
  106499. "example" : "20216006003193457889"
  106500. },
  106501. "error_code" : {
  106502. "type" : "string",
  106503. "description" : "明细处理错误码,当success为false时有值",
  106504. "example" : "INVALID_AGREEMENT_NO"
  106505. },
  106506. "fail_reason" : {
  106507. "type" : "string",
  106508. "description" : "错误描述,当success为false时有值",
  106509. "example" : "无效的协议"
  106510. },
  106511. "success" : {
  106512. "type" : "boolean",
  106513. "description" : "当前协议下的明细处理结果",
  106514. "example" : "true"
  106515. }
  106516. }
  106517. },
  106518. "QuotaQueryResponse" : {
  106519. "type" : "object",
  106520. "properties" : {
  106521. "agreement_no" : {
  106522. "type" : "string",
  106523. "description" : "协议号",
  106524. "example" : "20205321001042231004"
  106525. },
  106526. "error_code" : {
  106527. "type" : "string",
  106528. "description" : "单个协议查询结果错误码",
  106529. "example" : "INVALID_AGREEMENT"
  106530. },
  106531. "fail_reason" : {
  106532. "type" : "string",
  106533. "description" : "单个协议响应错误描述",
  106534. "example" : "无效的三方协议"
  106535. },
  106536. "quota_details" : {
  106537. "$ref" : "#/components/schemas/AccountQuotaDetail"
  106538. },
  106539. "success" : {
  106540. "type" : "string",
  106541. "description" : "单个协议查询结果是否成功",
  106542. "example" : "true"
  106543. }
  106544. }
  106545. },
  106546. "ReceiverAddressInfo" : {
  106547. "type" : "object",
  106548. "properties" : {
  106549. "address" : {
  106550. "type" : "string",
  106551. "description" : "收货地址",
  106552. "example" : "上海市浦东新区陆家嘴银城中路501号"
  106553. },
  106554. "division_code" : {
  106555. "type" : "string",
  106556. "description" : "中国标准城市区域码",
  106557. "example" : "310115"
  106558. },
  106559. "mobile" : {
  106560. "type" : "string",
  106561. "description" : "收货人手机号",
  106562. "example" : "13120180615"
  106563. },
  106564. "name" : {
  106565. "type" : "string",
  106566. "description" : "收货人的姓名",
  106567. "example" : "张三"
  106568. },
  106569. "zip" : {
  106570. "type" : "string",
  106571. "description" : "收货地址邮编",
  106572. "example" : "200120"
  106573. }
  106574. }
  106575. },
  106576. "ReceiverIstd" : {
  106577. "type" : "object",
  106578. "properties" : {
  106579. "address" : {
  106580. "type" : "string",
  106581. "description" : "地址(街道、小区、大厦等,用于定位)"
  106582. },
  106583. "address_detail" : {
  106584. "type" : "string",
  106585. "description" : "地址详情(楼号、单元号、层号)"
  106586. },
  106587. "city" : {
  106588. "type" : "string",
  106589. "description" : "城市名称,如杭州市"
  106590. },
  106591. "coordinate_type" : {
  106592. "type" : "integer",
  106593. "description" : "坐标类型,0:火星坐标(高德,腾讯地图均采用火星坐标) 1:百度坐标。目前只支持0:火星坐标"
  106594. },
  106595. "lat" : {
  106596. "type" : "string",
  106597. "description" : "纬度"
  106598. },
  106599. "lng" : {
  106600. "type" : "string",
  106601. "description" : "经度"
  106602. },
  106603. "mobile_no" : {
  106604. "type" : "string",
  106605. "description" : "手机号"
  106606. },
  106607. "name" : {
  106608. "type" : "string",
  106609. "description" : "姓名"
  106610. }
  106611. }
  106612. },
  106613. "RecommendAccountDTO" : {
  106614. "type" : "object",
  106615. "properties" : {
  106616. "alipay_account" : {
  106617. "type" : "string",
  106618. "description" : "推荐商家支付宝登录账号,邮箱或手机号码,脱敏处理"
  106619. },
  106620. "user_name" : {
  106621. "type" : "string",
  106622. "description" : "推荐商家支付宝账号名称,脱敏处理"
  106623. }
  106624. }
  106625. },
  106626. "RecruitEnrollInfo" : {
  106627. "type" : "object",
  106628. "properties" : {
  106629. "cities" : {
  106630. "type" : "array",
  106631. "description" : "报名提交的活动城市码,详见<a href=\"https://opendocs.alipay.com/pre-open/02r07u\" target=\"_blank\">活动城市码</a>",
  106632. "items" : {
  106633. "type" : "string"
  106634. }
  106635. },
  106636. "enroll_merchant" : {
  106637. "$ref" : "#/components/schemas/RecruitEnrollMerchant"
  106638. },
  106639. "materials" : {
  106640. "type" : "array",
  106641. "description" : "报名提交的素材",
  106642. "items" : {
  106643. "$ref" : "#/components/schemas/RecruitMaterial"
  106644. }
  106645. },
  106646. "mini_apps" : {
  106647. "type" : "array",
  106648. "description" : "报名提交的小程序信息,是否必选取决于方案要求",
  106649. "items" : {
  106650. "$ref" : "#/components/schemas/RecruitMiniApp"
  106651. }
  106652. },
  106653. "vouchers" : {
  106654. "type" : "array",
  106655. "description" : "报名提交的券信息,是否必选取决于方案要求",
  106656. "items" : {
  106657. "$ref" : "#/components/schemas/RecruitVoucher"
  106658. }
  106659. }
  106660. }
  106661. },
  106662. "RecruitEnrollMerchant" : {
  106663. "type" : "object",
  106664. "properties" : {
  106665. "merchant_uid" : {
  106666. "type" : "string",
  106667. "description" : "商户唯一ID(商户pid)"
  106668. }
  106669. }
  106670. },
  106671. "RecruitEnrollRule" : {
  106672. "type" : "object",
  106673. "properties" : {
  106674. "max_size" : {
  106675. "type" : "integer",
  106676. "description" : "最大数量",
  106677. "example" : "1"
  106678. },
  106679. "min_size" : {
  106680. "type" : "integer",
  106681. "description" : "最小数量",
  106682. "example" : "1"
  106683. },
  106684. "required" : {
  106685. "type" : "boolean",
  106686. "description" : "是否必填",
  106687. "example" : "true"
  106688. },
  106689. "rule_data" : {
  106690. "$ref" : "#/components/schemas/RecruitEnrollRuleData"
  106691. },
  106692. "type" : {
  106693. "type" : "string",
  106694. "description" : "招商报名时提交的内容类型:\t券:VOUCHER;\t小程序:MINI_APP;\t报名商户:ENROLL_MERCHANT;\t素材:MATERIAL;\t活动城市:CITY;",
  106695. "example" : "VOUCHER"
  106696. }
  106697. }
  106698. },
  106699. "RecruitEnrollRuleData" : {
  106700. "type" : "object",
  106701. "properties" : {
  106702. "recruit_voucher_rules" : {
  106703. "type" : "array",
  106704. "description" : "招商方案可提报的券的规则列表,不同的券有不同的规则。",
  106705. "items" : {
  106706. "$ref" : "#/components/schemas/RecruitVoucherRule"
  106707. }
  106708. },
  106709. "schema" : {
  106710. "type" : "string",
  106711. "description" : "素材的要求,json字符串,使用时需要把此字符串解析成json对象。\tfield:提报的字段key\tlabel:字段说明\trequired:是否必填\ttype:字段类型。包含:图片(IMAGE)、文本(TEXT)、数据源(DATASOURCE)等\trules:字段约束规则\t 图片(IMAGE):\t image_size:图片宽高,单位是PX\t file_type:图片类型\t file_size:表示图片大小的最大值,单位是KB\t image_aspect_ratio: 图片宽高比例\t 文本(TEXT):\t unicode_length:文本长度,单位为Byte\t 数据源(DATASOURCE):\t unicode_length:文本长度,单位为Byte",
  106712. "example" : "[{\"field\":\"activityImage\",\"label\":\"活动图片\",\"type\":\"IMAGE\",\"required\":true,\"rules\":{\"image_size\":[400,300],\"file_type\":[\"jpg\"],\"file_size\":500}},{\"field\":\"contentId\",\"label\":\"内容ID\",\"required\":true,\"rules\":{\"unicode_length\":[2,512]},\"type\":\"DATASOURCE\"}]"
  106713. }
  106714. }
  106715. },
  106716. "RecruitMaterial" : {
  106717. "type" : "object",
  106718. "properties" : {
  106719. "data" : {
  106720. "type" : "string",
  106721. "description" : "提报的素材内容,json字符串,使用时需要把此字符串解析成json对象。\t字段来源于“招商方案查询接口(https://opendocs.alipay.com/pre-open/02bhl7)”中返回的素材字段field。如:activityImage、contentId等。\t字段类型mediaType包含:\t IMAGE,图片类型\t TEXT,文本类型\t DATASOURCE,数据源类型, 如:内容ID(contentId)字段类型为DATASOURCE\t字段取值:\t 图片(IMAGE):\t aftsFileId:“营销图片资源上传接口(https://opendocs.alipay.com/pre-open/02bhlj)”返回的图片唯一资源ID\t 文本(TEXT):\t text:文本内容\t 数据源(DATASOURCE):\t text:当前仅支持内容ID值,可通过“内容批量查询接口(https://opendocs.alipay.com/pre-apis/02lu12,仅供受邀用户使用)”查询内容ID。"
  106722. },
  106723. "description" : {
  106724. "type" : "string",
  106725. "description" : "对这个素材的描述,用于后续管理该素材"
  106726. },
  106727. "material_audit_info" : {
  106728. "type" : "string",
  106729. "description" : "素材审核信息,展示给商家的素材审核不通过的意见。素材审核通过时该字段为空。\t报名详情查询接口不用填写该字段。"
  106730. },
  106731. "name" : {
  106732. "type" : "string",
  106733. "description" : "素材名名称"
  106734. },
  106735. "subject_id" : {
  106736. "type" : "string",
  106737. "description" : "关联的报名主体ID。\tenroll_scene_type是VOUCHER时,报名主体ID是activity_id;enroll_scene_type是MINI_APP时,报名主体ID是mini_app_id"
  106738. }
  106739. }
  106740. },
  106741. "RecruitMiniApp" : {
  106742. "type" : "object",
  106743. "properties" : {
  106744. "mini_app_id" : {
  106745. "type" : "string",
  106746. "description" : "小程序ID"
  106747. }
  106748. }
  106749. },
  106750. "RecruitPlanLight" : {
  106751. "type" : "object",
  106752. "properties" : {
  106753. "description" : {
  106754. "type" : "string",
  106755. "description" : "招商方案描述:富文本内容,可能包含html标签",
  106756. "example" : "<p><span style=\\\"color:#000000\\\"><span style=\\\"font-size:14px\\\"><span style=\\\"background-color:#ffffff\\\">招商规则说明</span></span></span></p>"
  106757. },
  106758. "enroll_end_time" : {
  106759. "type" : "string",
  106760. "description" : "报名结束时间",
  106761. "example" : "2021-01-01 01:01:01"
  106762. },
  106763. "enroll_scene_type" : {
  106764. "type" : "string",
  106765. "description" : "招商方案所属报名场景\t枚举值:\tVOUCHER:券报名场景;\tMINI_APP:小程序报名场景;",
  106766. "example" : "VOUCHER"
  106767. },
  106768. "enroll_start_time" : {
  106769. "type" : "string",
  106770. "description" : "报名开始时间",
  106771. "example" : "2021-01-01 01:01:01"
  106772. },
  106773. "logo" : {
  106774. "type" : "string",
  106775. "description" : "方案头图链接,150x150 以上尺寸的方形图片",
  106776. "example" : "https://xxxx"
  106777. },
  106778. "plan_id" : {
  106779. "type" : "string",
  106780. "description" : "招商方案ID",
  106781. "example" : "2021041201000100000000999999"
  106782. },
  106783. "plan_name" : {
  106784. "type" : "string",
  106785. "description" : "招商方案名称",
  106786. "example" : "中秋招商方案"
  106787. },
  106788. "status" : {
  106789. "type" : "string",
  106790. "description" : "方案状态: 可用:ENABLED",
  106791. "example" : "ENABLED"
  106792. }
  106793. }
  106794. },
  106795. "RecruitVoucher" : {
  106796. "type" : "object",
  106797. "properties" : {
  106798. "activity_id" : {
  106799. "type" : "string",
  106800. "description" : "券活动id。支持商家券(创建商家券请参考https://opendocs.alipay.com/apis/01xm17)和支付券(创建支付券请参考https://opendocs.alipay.com/pre-apis/027185,仅供受邀用户使用),取值均为返回结果的activity_id字段。"
  106801. }
  106802. }
  106803. },
  106804. "RecruitVoucherRule" : {
  106805. "type" : "object",
  106806. "properties" : {
  106807. "amount_max" : {
  106808. "type" : "string",
  106809. "description" : "券面额(每张代金券可以抵扣的金额)的的最大值。 币种为人民币,单位为元。小数点以后最多保留两位。 该字段为空时表示不限制。",
  106810. "example" : "15.00"
  106811. },
  106812. "amount_min" : {
  106813. "type" : "string",
  106814. "description" : "券面额(每张代金券可以抵扣的金额)的最小值。 币种为人民币,单位为元。小数点以后最多保留两位。 该字段为空时表示不限制。",
  106815. "example" : "12.00"
  106816. },
  106817. "denomination_percent_max" : {
  106818. "type" : "string",
  106819. "description" : "券优惠比例的最大值。20代表优惠比例最多是20%。券优惠券比例=券优惠面额/门槛金额。\t浮点类型,取值范围为[1,100],左右均是闭区间,小数点以后最多保留两位。\t该字段为空时表示不限制。",
  106820. "example" : "20"
  106821. },
  106822. "denomination_percent_min" : {
  106823. "type" : "string",
  106824. "description" : "券优惠比例的最小值。10代表优惠比例最少是10%。券优惠券比例=券优惠面额/门槛金额。\t浮点类型,取值范围为[1,100],左右均是闭区间,小数点以后最多保留两位。\t该字段为空时表示不限制。",
  106825. "example" : "10"
  106826. },
  106827. "floor_amount_max" : {
  106828. "type" : "string",
  106829. "description" : "券门槛金额的最大值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。",
  106830. "example" : "20.00"
  106831. },
  106832. "floor_amount_min" : {
  106833. "type" : "string",
  106834. "description" : "券门槛金额的最小值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。",
  106835. "example" : "10.00"
  106836. },
  106837. "origin_amount_max" : {
  106838. "type" : "string",
  106839. "description" : "券原价的最大值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。",
  106840. "example" : "20.00"
  106841. },
  106842. "origin_amount_min" : {
  106843. "type" : "string",
  106844. "description" : "券原价的最小值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。",
  106845. "example" : "10.00"
  106846. },
  106847. "publish_end_time_max" : {
  106848. "type" : "string",
  106849. "description" : "券发放结束时间的最大值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。",
  106850. "example" : "2022-01-13 23:59:59"
  106851. },
  106852. "publish_end_time_min" : {
  106853. "type" : "string",
  106854. "description" : "券发放结束时间的最小值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。",
  106855. "example" : "2019-09-10 00:00:00"
  106856. },
  106857. "publish_start_time_max" : {
  106858. "type" : "string",
  106859. "description" : "券发放开始时间的最大值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。",
  106860. "example" : "2022-01-13 23:59:59"
  106861. },
  106862. "publish_start_time_min" : {
  106863. "type" : "string",
  106864. "description" : "券发放开始时间的最小值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。",
  106865. "example" : "2019-09-10 00:00:00"
  106866. },
  106867. "refund_type" : {
  106868. "type" : "array",
  106869. "description" : "退券类型要求,列表,总共有两种类型:\t过期退OVERDUE_REFUND\t随时退CAN_REFUND\t该字段为空时表示不限制。",
  106870. "items" : {
  106871. "type" : "string"
  106872. },
  106873. "example" : "[\"CAN_REFUND\",\"OVERDUE_REFUND\"]"
  106874. },
  106875. "sale_amount_max" : {
  106876. "type" : "string",
  106877. "description" : "用户购买优惠券需要支付的金额的最大值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。",
  106878. "example" : "20.00"
  106879. },
  106880. "sale_amount_min" : {
  106881. "type" : "string",
  106882. "description" : "用户购买优惠券需要支付的金额的最小值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。",
  106883. "example" : "10.00"
  106884. },
  106885. "use_channel" : {
  106886. "type" : "array",
  106887. "description" : "券核销渠道要求,列表,总共有两个渠道:\t球房SHOP\t小程序MINI_APP\t该字段为空时表示不限制。",
  106888. "items" : {
  106889. "type" : "string"
  106890. },
  106891. "example" : "[ \"SHOP\", \"MINI_APP\" ]"
  106892. },
  106893. "valid_days_after_receive_min" : {
  106894. "type" : "integer",
  106895. "description" : "券生效后至少N天内可以使用。比如:valid_days_after_receive_min=20代表\t券生效后至少20天内可以使用。\t该字段为空时表示不限制。",
  106896. "example" : "20"
  106897. },
  106898. "voucher_activity_type" : {
  106899. "type" : "string",
  106900. "description" : "券活动类型。支持七种商家券类型和两种支付券类型。\t\t枚举值:\t商家券类型:\t\tALL_FIX_ORDER_VOUCHER 全场满减券;\t\tITEM_FIX_ORDER_VOUCHER 单品满减券;\t\tALL_DISCOUNT_ORDER_VOUCHER 全场折扣券;\t\tITEM_DISCOUNT_ORDER_VOUCHER 单品折扣券;\t\tITEM_SPE_ORDER_VOUCHER 单品特价券;\t\tEXCHANGE_GROUP_BUY_ORDER_VOUCHER 兑换团购券;\t\tEXCHANGE_FIX_ORDER_VOUCHER 兑换代金券;\t\t支付券类型:\t\tALL_FIX_VOUCHER 全场满减券;\t\tITEM_FIX_VOUCHER 单品满减券;\t\t创建商家券参考https://opendocs.alipay.com/apis/01xm17\t创建支付券参考https://opendocs.alipay.com/pre-apis/027185(仅供受邀用户使用)\t不同的创建券的参数创建出不同类型的券:\t 1. 根据voucher_type区分满减券、折扣券、特价券、兑换券\t 2. 根据goods_name是否为空区分单品券、全场券(当voucher_type为满减券、折扣券、特价券)\t 3. 根据voucher_use_rule.exchange_voucher.biz_type区分团购券、代金券(当voucher_type为兑换券)",
  106901. "example" : "ITEM_FIX_ORDER_VOUCHER"
  106902. },
  106903. "voucher_quantity_limit_per_user_max" : {
  106904. "type" : "integer",
  106905. "description" : "每人领取限制的最大值。\t默认按照支付宝uid进行领取限制。\t该字段为空时表示不限制。",
  106906. "example" : "20"
  106907. },
  106908. "voucher_quantity_limit_per_user_min" : {
  106909. "type" : "integer",
  106910. "description" : "每人领取限制的最小值。\t默认按照支付宝uid进行领取限制。\t该字段为空时表示不限制。",
  106911. "example" : "10"
  106912. },
  106913. "voucher_quantity_max" : {
  106914. "type" : "integer",
  106915. "description" : "券库存数量的最大值。\t该字段为空时表示不限制。",
  106916. "example" : "20"
  106917. },
  106918. "voucher_quantity_min" : {
  106919. "type" : "integer",
  106920. "description" : "券库存数量的最小值。\t该字段为空时表示不限制。",
  106921. "example" : "10"
  106922. },
  106923. "voucher_valid_begin_time_min" : {
  106924. "type" : "string",
  106925. "description" : "券可使用的开始时间的最小值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。",
  106926. "example" : "2022-01-13 23:59:59"
  106927. },
  106928. "voucher_valid_end_time_max" : {
  106929. "type" : "string",
  106930. "description" : "券可使用的结束时间的最大值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。",
  106931. "example" : "2022-01-13 23:59:59"
  106932. }
  106933. }
  106934. },
  106935. "RefundChargeInfo" : {
  106936. "type" : "object",
  106937. "properties" : {
  106938. "charge_type" : {
  106939. "type" : "string",
  106940. "description" : "收单手续费trade,花呗分期手续hbfq,其他手续费charge"
  106941. },
  106942. "refund_charge_fee" : {
  106943. "type" : "string",
  106944. "description" : "实退费用。单位:元。"
  106945. },
  106946. "refund_sub_fee_detail_list" : {
  106947. "type" : "array",
  106948. "description" : "组合支付退费明细",
  106949. "items" : {
  106950. "$ref" : "#/components/schemas/RefundSubFee"
  106951. }
  106952. },
  106953. "switch_fee_rate" : {
  106954. "type" : "string",
  106955. "description" : "签约费率"
  106956. }
  106957. }
  106958. },
  106959. "RefundGoodsDetail" : {
  106960. "type" : "object",
  106961. "properties" : {
  106962. "goods_id" : {
  106963. "type" : "string",
  106964. "description" : "商品编号。\t对应支付时传入的goods_id",
  106965. "example" : "apple-01"
  106966. },
  106967. "refund_amount" : {
  106968. "type" : "string",
  106969. "description" : "该商品的退款总金额,单位为元",
  106970. "example" : "19.50"
  106971. }
  106972. }
  106973. },
  106974. "RefundRoyaltyResult" : {
  106975. "type" : "object",
  106976. "properties" : {
  106977. "refund_amount" : {
  106978. "type" : "string",
  106979. "description" : "退分账金额。单位:元。",
  106980. "example" : "10"
  106981. },
  106982. "result_code" : {
  106983. "type" : "string",
  106984. "description" : "退分账结果码",
  106985. "example" : "SUCCESS"
  106986. },
  106987. "royalty_type" : {
  106988. "type" : "string",
  106989. "description" : "分账类型.\r\t普通分账为:transfer;\r\t补差为:replenish;\r\t为空默认为分账transfer;",
  106990. "example" : "transfer"
  106991. },
  106992. "trans_in" : {
  106993. "type" : "string",
  106994. "description" : "转入人支付宝账号对应用户ID",
  106995. "example" : "2088102210397302"
  106996. },
  106997. "trans_in_email" : {
  106998. "type" : "string",
  106999. "description" : "转入人支付宝账号",
  107000. "example" : "zen_gwen@hotmail.com"
  107001. },
  107002. "trans_out" : {
  107003. "type" : "string",
  107004. "description" : "转出人支付宝账号对应用户ID",
  107005. "example" : "2088102210397302"
  107006. },
  107007. "trans_out_email" : {
  107008. "type" : "string",
  107009. "description" : "转出人支付宝账号",
  107010. "example" : "alipay-test03@alipay.com"
  107011. }
  107012. }
  107013. },
  107014. "RefundSubFee" : {
  107015. "type" : "object",
  107016. "properties" : {
  107017. "refund_charge_fee" : {
  107018. "type" : "string",
  107019. "description" : "实退费用。单位:元。"
  107020. },
  107021. "switch_fee_rate" : {
  107022. "type" : "string",
  107023. "description" : "签约费率"
  107024. }
  107025. }
  107026. },
  107027. "RegionInfo" : {
  107028. "type" : "object",
  107029. "properties" : {
  107030. "area_code" : {
  107031. "type" : "string",
  107032. "description" : "地址所属区代码"
  107033. },
  107034. "area_name" : {
  107035. "type" : "string",
  107036. "description" : "地址所属区名称"
  107037. },
  107038. "city_code" : {
  107039. "type" : "string",
  107040. "description" : "地址所属市代码"
  107041. },
  107042. "city_name" : {
  107043. "type" : "string",
  107044. "description" : "地址所属市名称"
  107045. },
  107046. "province_code" : {
  107047. "type" : "string",
  107048. "description" : "地址所属省份代码"
  107049. },
  107050. "province_name" : {
  107051. "type" : "string",
  107052. "description" : "地址所属省份名称"
  107053. }
  107054. }
  107055. },
  107056. "ReplyRecord" : {
  107057. "type" : "object",
  107058. "properties" : {
  107059. "content" : {
  107060. "type" : "string",
  107061. "description" : "回复内容"
  107062. },
  107063. "gmt_create" : {
  107064. "type" : "string",
  107065. "description" : "回复时间"
  107066. },
  107067. "images" : {
  107068. "type" : "array",
  107069. "description" : "回复图片",
  107070. "items" : {
  107071. "type" : "string"
  107072. }
  107073. },
  107074. "replier_role" : {
  107075. "type" : "string",
  107076. "description" : "回复角色\t商家:MERCHANT \t审核小二:AUDITOR"
  107077. },
  107078. "status" : {
  107079. "type" : "string",
  107080. "description" : "状态。只在replier_role = ‘AUDITOR’时有值。\tappealSuccess:申诉通过\tappealFailed:申诉不通过\trectifyPass:整改通过\trectifyReject:整改不通过"
  107081. }
  107082. }
  107083. },
  107084. "ReplyRecordResponse" : {
  107085. "type" : "object",
  107086. "properties" : {
  107087. "content" : {
  107088. "type" : "string",
  107089. "description" : "回复内容",
  107090. "example" : "已退款退货给您,物流单号为:12344444"
  107091. },
  107092. "gmt_create" : {
  107093. "type" : "string",
  107094. "description" : "回复时间",
  107095. "example" : "2020-02-14 14:23:12"
  107096. },
  107097. "images" : {
  107098. "type" : "array",
  107099. "description" : "回复图片",
  107100. "items" : {
  107101. "type" : "string"
  107102. },
  107103. "example" : "[\"http://mdn.alipay.com/wsdk/img?fileid=A*ME4GQq2j-5oAAAAAAAAAAAAAAQAAAQ&amp;t=83fed12ef006ebcd8df04dfe79faad6c&amp;bi=openpunsh&amp;ts=0&amp;zoom=original\"]"
  107104. },
  107105. "replier_name" : {
  107106. "type" : "string",
  107107. "description" : "回复人名称",
  107108. "example" : "刘*"
  107109. },
  107110. "replier_role" : {
  107111. "type" : "string",
  107112. "description" : "用户:USER \t商家:MERCHANT\t系统:SYSTEM\t审核小二:AUDITOR\t政府单位:GOVERNMENT",
  107113. "example" : "USER"
  107114. }
  107115. }
  107116. },
  107117. "Role" : {
  107118. "type" : "object",
  107119. "properties" : {
  107120. "ccs_instance_id" : {
  107121. "type" : "string",
  107122. "description" : "部门id(即租户实例ID、数据权限ID)",
  107123. "example" : "ZPASFSCN"
  107124. },
  107125. "create_time" : {
  107126. "type" : "string",
  107127. "description" : "创建时间",
  107128. "example" : "2020-11-10 21:14:00"
  107129. },
  107130. "creator_id" : {
  107131. "type" : "string",
  107132. "description" : "创建人id",
  107133. "example" : "20184359929433"
  107134. },
  107135. "description" : {
  107136. "type" : "string",
  107137. "description" : "角色描述描述",
  107138. "example" : "这个角色是....."
  107139. },
  107140. "function_ids" : {
  107141. "type" : "array",
  107142. "description" : "角色关联额功能点id",
  107143. "items" : {
  107144. "type" : "string"
  107145. },
  107146. "example" : "[\"43511\",\"345343\"]"
  107147. },
  107148. "id" : {
  107149. "type" : "string",
  107150. "description" : "角色id",
  107151. "example" : "12"
  107152. },
  107153. "name" : {
  107154. "type" : "string",
  107155. "description" : "角色名",
  107156. "example" : "知识库管理员"
  107157. },
  107158. "update_time" : {
  107159. "type" : "string",
  107160. "description" : "最后修改时间",
  107161. "example" : "2020-11-10 21:20:00"
  107162. },
  107163. "updater_id" : {
  107164. "type" : "string",
  107165. "description" : "最后修改人id",
  107166. "example" : "20190443599294"
  107167. }
  107168. }
  107169. },
  107170. "RoleId" : {
  107171. "type" : "object",
  107172. "properties" : {
  107173. "ccs_instance_id" : {
  107174. "type" : "string",
  107175. "description" : "部门id(即租户实例ID、数据权限ID)"
  107176. },
  107177. "role_id" : {
  107178. "type" : "string",
  107179. "description" : "角色ID"
  107180. }
  107181. }
  107182. },
  107183. "RoyaltyDetail" : {
  107184. "type" : "object",
  107185. "properties" : {
  107186. "amount" : {
  107187. "type" : "string",
  107188. "description" : "分账金额",
  107189. "example" : "10.00"
  107190. },
  107191. "detail_id" : {
  107192. "type" : "string",
  107193. "description" : "支付宝分账明细单号,每笔分账业务执行的明细单号",
  107194. "example" : "2023030610032004370215900000"
  107195. },
  107196. "error_code" : {
  107197. "type" : "string",
  107198. "description" : "分账失败错误码,只在分账失败时返回",
  107199. "example" : "TXN_RESULT_ACCOUNT_BALANCE_NOT_ENOUGH"
  107200. },
  107201. "error_desc" : {
  107202. "type" : "string",
  107203. "description" : "分账错误描述信息",
  107204. "example" : "分账余额不足"
  107205. },
  107206. "execute_dt" : {
  107207. "type" : "string",
  107208. "description" : "分账执行时间",
  107209. "example" : "2021-07-30 12:00:00"
  107210. },
  107211. "operation_type" : {
  107212. "type" : "string",
  107213. "description" : "分账操作类型。有以下几种类型: replenish(补差)、replenish_refund(退补差)、transfer(分账)、transfer_refund(退分账)",
  107214. "example" : "transfer"
  107215. },
  107216. "state" : {
  107217. "type" : "string",
  107218. "description" : "分账状态,SUCCESS成功,FAIL失败,PROCESSING处理中",
  107219. "example" : "FAIL"
  107220. },
  107221. "trans_in" : {
  107222. "type" : "string",
  107223. "description" : "分账转入账号,只有在operation_type为replenish_refund(退补差),transfer(分账)才返回该字段或trans_in_open_id。trans_in_open_id为分账转入方的openId,当trans_in_open_id不为空的时候,请优先使用trans_in_open_id。",
  107224. "example" : "2088111111112222"
  107225. },
  107226. "trans_in_open_id" : {
  107227. "type" : "string",
  107228. "description" : "分账转入方的OpenId,OpenId为用户在该应用下支付宝的唯一用户标识。",
  107229. "example" : "095PJtAPYb2UkQ0mXk_X86Z_Pd7PtySKX-U3zUEwONcu3wc"
  107230. },
  107231. "trans_in_type" : {
  107232. "type" : "string",
  107233. "description" : "分账转入账号类型,userId表示是支付宝账号对应的支付宝唯一用户号,loginName表示是支付宝登录号,secondMerchantID表示是二级商户id。\t只有在operation_type为replenish_refund(退补差),transfer(分账)才返回该字段",
  107234. "example" : "userId"
  107235. },
  107236. "trans_out" : {
  107237. "type" : "string",
  107238. "description" : "分账转出账号,只有在operation_type为replenish(补差),transfer_refund(退分账)类型才返回该字段或trans_out_open_id字段。trans_out_open_id字段为分账转出方的openId,当trans_out_open_id 字段不为空时,请优先使用trans_out_open_id。",
  107239. "example" : "2088111111111111"
  107240. },
  107241. "trans_out_open_id" : {
  107242. "type" : "string",
  107243. "description" : "分账转出方的OpenId,OpenId为用户在该应用下支付宝内的唯一用户标识。",
  107244. "example" : "095PJtAPYb2UkQ0mXk_X86Z_Pd7PtySKX-U3zUEwONcu3wc"
  107245. },
  107246. "trans_out_type" : {
  107247. "type" : "string",
  107248. "description" : "分账转出账号类型,userId表示是支付宝账号对应的支付宝唯一用户号,loginName表示是支付宝登录号,secondMerchantID表示是二级商户id。\t只有在operation_type为replenish(补差),transfer_refund(退分账)类型才返回该字段",
  107249. "example" : "userId"
  107250. }
  107251. }
  107252. },
  107253. "RoyaltyDetailInfo" : {
  107254. "type" : "object",
  107255. "properties" : {
  107256. "amount" : {
  107257. "type" : "string",
  107258. "description" : "分账金额,单位为元",
  107259. "example" : "10.00"
  107260. },
  107261. "desc" : {
  107262. "type" : "string",
  107263. "description" : "分账描述",
  107264. "example" : "分账给2088101126708402"
  107265. },
  107266. "trans_in_account_id" : {
  107267. "type" : "string",
  107268. "description" : "分账转入账户id。当分账账户id类型是cardSerialNo时,本参数为用户在支付宝绑定的卡编号;当分账账户id类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号;当分账账户id类型是loginName时,本参数为用户的支付宝登录号;当分账账户id类型是openId时,本参数为用户的在该应用下的支付宝OpenId; 当 trans_in_account_type 为defaultSettle时,本参数必须为空",
  107269. "example" : "2088101126708402"
  107270. },
  107271. "trans_in_account_id_type" : {
  107272. "type" : "string",
  107273. "description" : "分账转入账户id类型。 当trans_in_account_type 为bankCard时,本参数为cardSerialNo,表示分账账户id是银行卡编号; 当trans_in_account_type 为alipayBalance时,本参数为userId或者loginName或者openId,其中userId表示分账账户id是支付宝唯一用户号,loginName表示分账账户id是支付宝登录号,openId表示分账账户id是支付宝OpenId; 当 trans_in_account_type 为 defaultSettle 时,本参数必须为空。",
  107274. "example" : "cardSerialNo"
  107275. },
  107276. "trans_in_account_type" : {
  107277. "type" : "string",
  107278. "description" : "分账账户类型。 bankCard: 分账账户为银行卡; alipayBalance: 分账账户为支付宝余额户; defaultSettle: 按默认结算规则分账",
  107279. "example" : "alipayBalance"
  107280. },
  107281. "trans_in_entity_id" : {
  107282. "type" : "string",
  107283. "description" : "分账转出主体账 号。\r\t\r\t当分账转出主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID\r\t\r\t当分账转出类型为Store,本参数为StoreID",
  107284. "example" : "SecondMerchant"
  107285. },
  107286. "trans_in_entity_type" : {
  107287. "type" : "string",
  107288. "description" : "分账转入主体类型。 SecondMerchant:分账转入主体为二级商户\r\t\r\tStore: 结算球房",
  107289. "example" : "Store"
  107290. },
  107291. "trans_in_sub_merchant" : {
  107292. "$ref" : "#/components/schemas/SubMerchant"
  107293. },
  107294. "trans_out_entity_id" : {
  107295. "type" : "string",
  107296. "description" : "分账转出主体账。\r\t\r\t当分账转出主体类型为SecondMerchant,本参数为二级商户的SecondMerchantId\r\t\r\t当分账转出类型为Store,本参数为StoreID",
  107297. "example" : "2088"
  107298. },
  107299. "trans_out_entity_type" : {
  107300. "type" : "string",
  107301. "description" : "分账转出主体类型。 SecondMerchant:结算主体为二级商户\r\t\r\tStore: 结算球房",
  107302. "example" : "SecondMerchant"
  107303. },
  107304. "trans_out_sub_merchant" : {
  107305. "$ref" : "#/components/schemas/SubMerchant"
  107306. }
  107307. }
  107308. },
  107309. "RoyaltyDetailInfos" : {
  107310. "type" : "object",
  107311. "properties" : {
  107312. "amount" : {
  107313. "type" : "string",
  107314. "description" : "分账的金额,单位为元"
  107315. },
  107316. "amount_percentage" : {
  107317. "type" : "string",
  107318. "description" : "分账的比例,值为20代表按20%的比例分账"
  107319. },
  107320. "batch_no" : {
  107321. "type" : "string",
  107322. "description" : "分账批次号\r\t分账批次号。\r\t目前需要和转入账号类型为bankIndex配合使用。"
  107323. },
  107324. "desc" : {
  107325. "type" : "string",
  107326. "description" : "分账描述信息"
  107327. },
  107328. "out_relation_id" : {
  107329. "type" : "string",
  107330. "description" : "商户分账的外部关联号,用于关联到每一笔分账信息,商户需保证其唯一性。\r\t如果为空,该值则默认为“商户网站唯一订单号+分账序列号”"
  107331. },
  107332. "serial_no" : {
  107333. "type" : "integer",
  107334. "description" : "分账序列号,表示分账执行的顺序,必须为正整数"
  107335. },
  107336. "trans_in" : {
  107337. "type" : "string",
  107338. "description" : "如果转入账号类型为userId,本参数为接受分账金额的支付宝账号对应的支付宝唯一用户号。以2088开头的纯16位数字。\r\t&#61548;\t如果转入账号类型为bankIndex,本参数为28位的银行编号(商户和支付宝签约时确定)。\r\t如果转入账号类型为storeId,本参数为商户的球房ID。"
  107339. },
  107340. "trans_in_type" : {
  107341. "type" : "string",
  107342. "description" : "接受分账金额的账户类型:\r\t&#61548;\tuserId:支付宝账号对应的支付宝唯一用户号。\r\t&#61548;\tbankIndex:分账到银行账户的银行编号。目前暂时只支持分账到一个银行编号。\r\tstoreId:分账到球房对应的银行卡编号。\r\t默认值为userId。"
  107343. },
  107344. "trans_out" : {
  107345. "type" : "string",
  107346. "description" : "如果转出账号类型为userId,本参数为要分账的支付宝账号对应的支付宝唯一用户号。以2088开头的纯16位数字。"
  107347. },
  107348. "trans_out_type" : {
  107349. "type" : "string",
  107350. "description" : "要分账的账户类型。\r\t目前只支持userId:支付宝账号对应的支付宝唯一用户号。\r\t默认值为userId。"
  107351. }
  107352. }
  107353. },
  107354. "RoyaltyEntity" : {
  107355. "type" : "object",
  107356. "properties" : {
  107357. "account" : {
  107358. "type" : "string",
  107359. "description" : "分账接收方账号。 当分账方类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号,以2088开头的纯16位数字; 当分账方类型是loginName时,本参数为用户的支付宝登录号;当分账方类型是openId时,本参数传递支付宝openId信息。"
  107360. },
  107361. "account_open_id" : {
  107362. "type" : "string",
  107363. "description" : "分账接收方openId,本参数为分账接收方在该应用(AppId)下的唯一用户标识,仅用于分账关系查询接口出参。"
  107364. },
  107365. "bind_login_name" : {
  107366. "type" : "string",
  107367. "description" : "作为查询返回结果:分账收款方绑定时的支付宝登录号。分账关系绑定(alipay.trade.royalty.relation.bind)时,通过type为loginName绑定传入的支付宝登录号,若使用userId绑定则不返回。"
  107368. },
  107369. "login_name" : {
  107370. "type" : "string",
  107371. "description" : "作为查询返回结果:当前userId对应的支付宝登录号。当login_name与bind_login_name不相等时,表明该支付宝账户发生了登录号变更。"
  107372. },
  107373. "memo" : {
  107374. "type" : "string",
  107375. "description" : "分账关系描述"
  107376. },
  107377. "name" : {
  107378. "type" : "string",
  107379. "description" : "分账接收方真实姓名。\t绑定分账关系时:\t当分账方类型是userId时,本参数可以不传,若上传则进行校验不上传不会校验。\t当分账方类型是loginName时,本参数必传。\t解绑分账关系时:作为请求参数可不填,分账关系查询时不作为返回结果返回"
  107380. },
  107381. "type" : {
  107382. "type" : "string",
  107383. "description" : "分账接收方方类型。 userId:表示是支付宝账号对应的支付宝唯一用户号;loginName:表示是支付宝登录号;openId:表示支付宝openId。"
  107384. }
  107385. }
  107386. },
  107387. "RoyaltyInfo" : {
  107388. "type" : "object",
  107389. "properties" : {
  107390. "royalty_detail_infos" : {
  107391. "type" : "array",
  107392. "description" : "分账明细的信息,可以描述多条分账指令,json数组。",
  107393. "items" : {
  107394. "$ref" : "#/components/schemas/RoyaltyDetailInfos"
  107395. }
  107396. },
  107397. "royalty_type" : {
  107398. "type" : "string",
  107399. "description" : "分账类型\r\t卖家的分账类型,目前只支持传入ROYALTY(普通分账类型)。"
  107400. }
  107401. }
  107402. },
  107403. "Scene" : {
  107404. "type" : "object",
  107405. "properties" : {
  107406. "scene_id" : {
  107407. "type" : "string",
  107408. "description" : "场景Id,最长32位,英文字母、数字以及下划线,开发者自定义",
  107409. "example" : "1234"
  107410. }
  107411. }
  107412. },
  107413. "SchoolBaseInfo" : {
  107414. "type" : "object",
  107415. "properties" : {
  107416. "campus_info" : {
  107417. "type" : "array",
  107418. "description" : "校区信息",
  107419. "items" : {
  107420. "$ref" : "#/components/schemas/CampusInfo"
  107421. }
  107422. },
  107423. "city_code" : {
  107424. "type" : "string",
  107425. "description" : "城市编码",
  107426. "example" : "620900"
  107427. },
  107428. "inst_id" : {
  107429. "type" : "string",
  107430. "description" : "学校内标",
  107431. "example" : "2088000151541822"
  107432. },
  107433. "inst_name" : {
  107434. "type" : "string",
  107435. "description" : "学校名称",
  107436. "example" : "复旦大学"
  107437. },
  107438. "inst_std_code" : {
  107439. "type" : "string",
  107440. "description" : "学校外标",
  107441. "example" : "12510181450882098Q"
  107442. },
  107443. "province_code" : {
  107444. "type" : "string",
  107445. "description" : "省份编码",
  107446. "example" : "370000"
  107447. }
  107448. }
  107449. },
  107450. "SchoolSimpleInfo" : {
  107451. "type" : "object",
  107452. "properties" : {
  107453. "campus_info" : {
  107454. "$ref" : "#/components/schemas/CampusInfo"
  107455. },
  107456. "city_code" : {
  107457. "type" : "string",
  107458. "description" : "城市编码",
  107459. "example" : "620900"
  107460. },
  107461. "inst_id" : {
  107462. "type" : "string",
  107463. "description" : "学校内标",
  107464. "example" : "2088000151541822"
  107465. },
  107466. "inst_name" : {
  107467. "type" : "string",
  107468. "description" : "学校名称",
  107469. "example" : "复旦大学"
  107470. },
  107471. "inst_std_code" : {
  107472. "type" : "string",
  107473. "description" : "学校外标",
  107474. "example" : "12510181450882098Q"
  107475. },
  107476. "province_code" : {
  107477. "type" : "string",
  107478. "description" : "省份编码",
  107479. "example" : "370000"
  107480. }
  107481. }
  107482. },
  107483. "SearchAbilityOrderData" : {
  107484. "type" : "object",
  107485. "properties" : {
  107486. "access_type" : {
  107487. "type" : "string",
  107488. "description" : "申请单类型",
  107489. "example" : "BRAND_BOX"
  107490. },
  107491. "app_name" : {
  107492. "type" : "string",
  107493. "description" : "小程序名称",
  107494. "example" : "小程序名称"
  107495. },
  107496. "app_status" : {
  107497. "type" : "string",
  107498. "description" : "小程序状态 ON_LINE、OFF_LINE",
  107499. "example" : "ON_LINE"
  107500. },
  107501. "appid" : {
  107502. "type" : "string",
  107503. "description" : "小程序id",
  107504. "example" : "2021001105612404"
  107505. },
  107506. "apply_id" : {
  107507. "type" : "string",
  107508. "description" : "申请单id",
  107509. "example" : "AP20200212100002488"
  107510. },
  107511. "apply_type" : {
  107512. "type" : "string",
  107513. "description" : "申请类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达",
  107514. "example" : "BRAND_BOX"
  107515. },
  107516. "audit_status" : {
  107517. "type" : "string",
  107518. "description" : "申请状态 AGREE、REJECT、EDIT、AUDIT",
  107519. "example" : "AGREE"
  107520. },
  107521. "biz_id" : {
  107522. "type" : "string",
  107523. "description" : "bizId 为品牌box的boxID",
  107524. "example" : "C100038430_2019042421000001069599_FUNCTION"
  107525. },
  107526. "box_status" : {
  107527. "type" : "string",
  107528. "description" : "品牌box的上下架状态 ONLINE OFFLINE",
  107529. "example" : "ONLINE"
  107530. },
  107531. "brand_template_id" : {
  107532. "type" : "string",
  107533. "description" : "品牌的模板id ONE_WITH_TWO:一拖二、DEFAULT:一拖四",
  107534. "example" : "DEFAULT"
  107535. },
  107536. "children" : {
  107537. "type" : "array",
  107538. "description" : "二级服务信息",
  107539. "items" : {
  107540. "$ref" : "#/components/schemas/SearchAbilityOrderInfoOpenApi"
  107541. }
  107542. },
  107543. "data_key" : {
  107544. "type" : "string",
  107545. "description" : "二级服务的唯一标识",
  107546. "example" : "2019042421000001069599"
  107547. },
  107548. "gmt_modified" : {
  107549. "type" : "string",
  107550. "description" : "更新时间",
  107551. "example" : "2020-10-16 12:00:21"
  107552. },
  107553. "id" : {
  107554. "type" : "string",
  107555. "description" : "服务的唯一标识(优先使用serviceCode可忽略)",
  107556. "example" : "3131231"
  107557. },
  107558. "is_old_data" : {
  107559. "type" : "string",
  107560. "description" : "是否是老工单",
  107561. "example" : "false"
  107562. },
  107563. "major_status" : {
  107564. "type" : "string",
  107565. "description" : "服务主状态,INITIAL:初始化;VALID:已生效;INVALID:已失效",
  107566. "example" : "INITIAL"
  107567. },
  107568. "online_time" : {
  107569. "type" : "string",
  107570. "description" : "上架时间",
  107571. "example" : "2020-10-10 12:32:31"
  107572. },
  107573. "open_status" : {
  107574. "type" : "boolean",
  107575. "description" : "服务的可见性状态",
  107576. "example" : "true"
  107577. },
  107578. "operator" : {
  107579. "type" : "string",
  107580. "description" : "下架操作者",
  107581. "example" : "20881231231"
  107582. },
  107583. "reject_reason" : {
  107584. "type" : "string",
  107585. "description" : "驳回原因",
  107586. "example" : "驳回原因"
  107587. },
  107588. "scene_code" : {
  107589. "type" : "string",
  107590. "description" : "场景码",
  107591. "example" : "HOT_WORD_RANKING"
  107592. },
  107593. "scene_name" : {
  107594. "type" : "string",
  107595. "description" : "场景名称",
  107596. "example" : "场景名称"
  107597. },
  107598. "service_code" : {
  107599. "type" : "string",
  107600. "description" : "服务码",
  107601. "example" : "2019121121000102523089"
  107602. },
  107603. "sub_service_desc" : {
  107604. "type" : "string",
  107605. "description" : "子功能描述",
  107606. "example" : "子功能描述"
  107607. },
  107608. "sub_service_name" : {
  107609. "type" : "string",
  107610. "description" : "子功能名称",
  107611. "example" : "子功能名称"
  107612. }
  107613. }
  107614. },
  107615. "SearchAbilityOrderInfoOpenApi" : {
  107616. "type" : "object",
  107617. "properties" : {
  107618. "access_type" : {
  107619. "type" : "string",
  107620. "description" : "申请单类型",
  107621. "example" : "BASE"
  107622. },
  107623. "app_name" : {
  107624. "type" : "string",
  107625. "description" : "小程序名称",
  107626. "example" : "搜索1"
  107627. },
  107628. "app_status" : {
  107629. "type" : "string",
  107630. "description" : "小程序状态",
  107631. "example" : "ON_LINE"
  107632. },
  107633. "audit_status" : {
  107634. "type" : "string",
  107635. "description" : "审核状态",
  107636. "example" : "AUDIT_PASS"
  107637. },
  107638. "biz_id" : {
  107639. "type" : "string",
  107640. "description" : "运营申请单详情biz_id",
  107641. "example" : "2021001105610428"
  107642. },
  107643. "box_status" : {
  107644. "type" : "string",
  107645. "description" : "上架状态",
  107646. "example" : "ONLINE"
  107647. },
  107648. "brand_template_id" : {
  107649. "type" : "string",
  107650. "description" : "品牌模板id",
  107651. "example" : "ONE_WITH_TWO"
  107652. },
  107653. "data_key" : {
  107654. "type" : "string",
  107655. "description" : "二级服务唯一标识",
  107656. "example" : "23232234"
  107657. },
  107658. "gmt_modified" : {
  107659. "type" : "string",
  107660. "description" : "最近更新时间",
  107661. "example" : "2020-12-11"
  107662. },
  107663. "id" : {
  107664. "type" : "string",
  107665. "description" : "唯一id",
  107666. "example" : "123424"
  107667. },
  107668. "is_old_data" : {
  107669. "type" : "boolean",
  107670. "description" : "是否老工单",
  107671. "example" : "false"
  107672. },
  107673. "major_status" : {
  107674. "type" : "string",
  107675. "description" : "服务主状态",
  107676. "example" : "VALID"
  107677. },
  107678. "online_time" : {
  107679. "type" : "string",
  107680. "description" : "上架时间",
  107681. "example" : "2020-11-12"
  107682. },
  107683. "open_status" : {
  107684. "type" : "boolean",
  107685. "description" : "小程序可见性",
  107686. "example" : "true"
  107687. },
  107688. "operator" : {
  107689. "type" : "string",
  107690. "description" : "下架操作者",
  107691. "example" : "232323"
  107692. },
  107693. "reject_reason" : {
  107694. "type" : "string",
  107695. "description" : "驳回原因",
  107696. "example" : "驳回原因"
  107697. },
  107698. "scene_code" : {
  107699. "type" : "string",
  107700. "description" : "场景码",
  107701. "example" : "sss"
  107702. },
  107703. "scene_name" : {
  107704. "type" : "string",
  107705. "description" : "场景名称",
  107706. "example" : "aaa"
  107707. },
  107708. "search_app_id" : {
  107709. "type" : "string",
  107710. "description" : "小程序id",
  107711. "example" : "2021001105610428"
  107712. },
  107713. "sepc_code" : {
  107714. "type" : "string",
  107715. "description" : "应用标识",
  107716. "example" : "SP_MINI_APP"
  107717. },
  107718. "service_code" : {
  107719. "type" : "string",
  107720. "description" : "服务码",
  107721. "example" : "234345454"
  107722. },
  107723. "sub_service_desc" : {
  107724. "type" : "string",
  107725. "description" : "子功能描述",
  107726. "example" : "111"
  107727. },
  107728. "sub_service_name" : {
  107729. "type" : "string",
  107730. "description" : "子功能名称",
  107731. "example" : "子功能"
  107732. }
  107733. }
  107734. },
  107735. "SearchApplyPageQueryRequest" : {
  107736. "type" : "object",
  107737. "properties" : {
  107738. "apply_type" : {
  107739. "type" : "string",
  107740. "description" : "申请类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达",
  107741. "example" : "BRAND_BOX"
  107742. },
  107743. "audit_status_list" : {
  107744. "type" : "array",
  107745. "description" : "筛选状态数组 AUDIT AGREE REJECT CANCEL EDIT",
  107746. "items" : {
  107747. "type" : "string"
  107748. },
  107749. "example" : "[\"AUDIT\",\"AGREE\"]"
  107750. },
  107751. "category_code" : {
  107752. "type" : "string",
  107753. "description" : "类目编码",
  107754. "example" : "2021001162676276"
  107755. },
  107756. "name" : {
  107757. "type" : "string",
  107758. "description" : "服务名称",
  107759. "example" : "服务名称"
  107760. },
  107761. "page_num" : {
  107762. "type" : "string",
  107763. "description" : "当前页码",
  107764. "example" : "10"
  107765. },
  107766. "page_size" : {
  107767. "type" : "string",
  107768. "description" : "页面的显示记录条数",
  107769. "example" : "3"
  107770. },
  107771. "service_code" : {
  107772. "type" : "string",
  107773. "description" : "服务code",
  107774. "example" : "2020062021000575859547"
  107775. },
  107776. "service_id" : {
  107777. "type" : "string",
  107778. "description" : "小程序appid",
  107779. "example" : "2020072301000006648885"
  107780. },
  107781. "start_row" : {
  107782. "type" : "string",
  107783. "description" : "起始记录,起始:0",
  107784. "example" : "1"
  107785. },
  107786. "sub_service_code" : {
  107787. "type" : "string",
  107788. "description" : "二级服务code",
  107789. "example" : "2020062021000575859547"
  107790. }
  107791. }
  107792. },
  107793. "SearchBaseItems" : {
  107794. "type" : "object",
  107795. "properties" : {
  107796. "can_search" : {
  107797. "type" : "boolean",
  107798. "description" : "搜索可见性",
  107799. "example" : "true"
  107800. },
  107801. "key_words" : {
  107802. "type" : "array",
  107803. "description" : "提报关键词列表",
  107804. "items" : {
  107805. "type" : "string"
  107806. },
  107807. "example" : "[\"111\",\"222\",\"333\"]"
  107808. }
  107809. }
  107810. },
  107811. "SearchBaseOrderCreateApiRequest" : {
  107812. "type" : "object",
  107813. "properties" : {
  107814. "access_type" : {
  107815. "type" : "string",
  107816. "description" : "搜索直达类型 BASE:基础信息,只支持基础信息工单提报",
  107817. "example" : "BASE"
  107818. },
  107819. "appid" : {
  107820. "type" : "string",
  107821. "description" : "小程序Id",
  107822. "example" : "2021001105612404"
  107823. },
  107824. "base_items" : {
  107825. "$ref" : "#/components/schemas/SearchBaseItems"
  107826. },
  107827. "descprise" : {
  107828. "type" : "string",
  107829. "description" : "服务描述",
  107830. "example" : "服务描述"
  107831. },
  107832. "is_draft" : {
  107833. "type" : "boolean",
  107834. "description" : "是否为草稿态",
  107835. "example" : "true"
  107836. },
  107837. "order_id" : {
  107838. "type" : "string",
  107839. "description" : "申请单id,仅仅驳回或修改是传入",
  107840. "example" : "AP20200212100002488"
  107841. },
  107842. "spec_code" : {
  107843. "type" : "string",
  107844. "description" : "服务的类型 SP_MINI_APP 小程序 SP_PUBLIC_APP 生活号",
  107845. "example" : "SP_MINI_APP"
  107846. }
  107847. }
  107848. },
  107849. "SearchBoxAccountModule" : {
  107850. "type" : "object",
  107851. "properties" : {
  107852. "app_infos" : {
  107853. "type" : "array",
  107854. "description" : "应用信息列表",
  107855. "items" : {
  107856. "$ref" : "#/components/schemas/SearchBoxAppInfo"
  107857. }
  107858. },
  107859. "module_id" : {
  107860. "type" : "string",
  107861. "description" : "模块ID",
  107862. "example" : "20220308000000168465"
  107863. },
  107864. "module_type" : {
  107865. "type" : "string",
  107866. "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图",
  107867. "example" : "BOX_EXCLUSIVE_ACCOUNTS"
  107868. }
  107869. }
  107870. },
  107871. "SearchBoxActivity" : {
  107872. "type" : "object",
  107873. "properties" : {
  107874. "box_activity_id" : {
  107875. "type" : "string",
  107876. "description" : "活动id",
  107877. "example" : "20211223000000100000"
  107878. },
  107879. "box_id" : {
  107880. "type" : "string",
  107881. "description" : "搜索直达id",
  107882. "example" : "20211130000000100415"
  107883. },
  107884. "end_time" : {
  107885. "type" : "string",
  107886. "description" : "活动结束时间",
  107887. "example" : "2022-09-30 23:59:59"
  107888. },
  107889. "fail_reason" : {
  107890. "type" : "string",
  107891. "description" : "审核失败原因",
  107892. "example" : "品牌触发词必须完整包含品牌名称且不得使用泛词,建议调整。"
  107893. },
  107894. "material_type" : {
  107895. "type" : "string",
  107896. "description" : "IMAGE-图片/VIDEO-视频",
  107897. "example" : "IMAGE"
  107898. },
  107899. "material_url" : {
  107900. "type" : "string",
  107901. "description" : "当material_type=\"IMAGE\"时,为图片url;当material_type=\"VIDEO\"时,为视频url",
  107902. "example" : "http://mdn.alipayobjects.com/mrch_spc/afts/img/A*0XA2Qo_omj4AAAAAAAAAAAAADsF1AQ/original"
  107903. },
  107904. "run_status" : {
  107905. "type" : "string",
  107906. "description" : "运行状态,INITIAL-初始,ONLINE-已上架,EXPIRE-已失效,OFFLINE-已下架",
  107907. "example" : "ONLINE"
  107908. },
  107909. "start_time" : {
  107910. "type" : "string",
  107911. "description" : "活动开始时间",
  107912. "example" : "2022-02-10 08:00:00"
  107913. },
  107914. "status" : {
  107915. "type" : "string",
  107916. "description" : "配置状态,INITIAL-初始/AUDIT-审核中/CANCEL-已取消/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架/EXPIRE-已失效",
  107917. "example" : "ONLINE"
  107918. },
  107919. "target_appid" : {
  107920. "type" : "string",
  107921. "description" : "跳转应用ID",
  107922. "example" : "2021001191699651"
  107923. },
  107924. "target_appname" : {
  107925. "type" : "string",
  107926. "description" : "目标小程序名称",
  107927. "example" : "目标小程序名称"
  107928. },
  107929. "target_regions" : {
  107930. "type" : "array",
  107931. "description" : "投放目标区域",
  107932. "items" : {
  107933. "$ref" : "#/components/schemas/DeliveryTargetRegion"
  107934. }
  107935. },
  107936. "title" : {
  107937. "type" : "string",
  107938. "description" : "活动标题",
  107939. "example" : "活动标题"
  107940. },
  107941. "video_info" : {
  107942. "$ref" : "#/components/schemas/SearchBoxActivityVideoInfo"
  107943. }
  107944. }
  107945. },
  107946. "SearchBoxActivityVideoInfo" : {
  107947. "type" : "object",
  107948. "properties" : {
  107949. "video_btn_text" : {
  107950. "type" : "string",
  107951. "description" : "视频按钮文案,2-4个汉字"
  107952. },
  107953. "video_coverimg_id" : {
  107954. "type" : "string",
  107955. "description" : "视频封面图片id,图片id可以通过调用接口alipay.open.file.upload上传图片,获取图片id(bizCode:search_box_videocover)。<a href=\"https://opendocs.alipay.com/b/03al6f\"> 图片规范 </a>"
  107956. },
  107957. "video_sub_title" : {
  107958. "type" : "string",
  107959. "description" : "视频副标题,2-16个汉字"
  107960. },
  107961. "video_title" : {
  107962. "type" : "string",
  107963. "description" : "视频主标题,2-10个汉字"
  107964. }
  107965. }
  107966. },
  107967. "SearchBoxAppInfo" : {
  107968. "type" : "object",
  107969. "properties" : {
  107970. "app_name" : {
  107971. "type" : "string",
  107972. "description" : "应用名称"
  107973. },
  107974. "app_type" : {
  107975. "type" : "string",
  107976. "description" : "应用类型,TINY_APP-小程序/PUBLIC_APP-生活号/SHOP_APP-球房应用"
  107977. },
  107978. "relate_appid" : {
  107979. "type" : "string",
  107980. "description" : "应用ID"
  107981. }
  107982. }
  107983. },
  107984. "SearchBoxAreaKeyWordModule" : {
  107985. "type" : "object",
  107986. "properties" : {
  107987. "latest_audit_area_keyword_info" : {
  107988. "$ref" : "#/components/schemas/SearchBoxKeywordInfo"
  107989. },
  107990. "module_id" : {
  107991. "type" : "string",
  107992. "description" : "模块id",
  107993. "example" : "20220308000000168465"
  107994. },
  107995. "module_type" : {
  107996. "type" : "string",
  107997. "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图",
  107998. "example" : "BOX_EXCLUSIVE_AREA_KEYWORD"
  107999. },
  108000. "valid_area_keyword_info" : {
  108001. "$ref" : "#/components/schemas/SearchBoxKeywordInfo"
  108002. }
  108003. }
  108004. },
  108005. "SearchBoxBasicInfo" : {
  108006. "type" : "object",
  108007. "properties" : {
  108008. "box_id" : {
  108009. "type" : "string",
  108010. "description" : "搜索直达配置id",
  108011. "example" : "20220117000000112680"
  108012. },
  108013. "brand_id" : {
  108014. "type" : "string",
  108015. "description" : "品牌id",
  108016. "example" : "1000467882"
  108017. },
  108018. "name" : {
  108019. "type" : "string",
  108020. "description" : "搜索直达名称",
  108021. "example" : "搜索直达名称"
  108022. },
  108023. "status" : {
  108024. "type" : "string",
  108025. "description" : "搜索直达配置状态,INITIAL-初始/ONLINE-已上架/EXPIRE-已失效/OFFLINE-已下架",
  108026. "example" : "ONLINE"
  108027. },
  108028. "target_appid" : {
  108029. "type" : "string",
  108030. "description" : "小程序id",
  108031. "example" : "2018092561507369"
  108032. }
  108033. }
  108034. },
  108035. "SearchBoxBasicInfoModule" : {
  108036. "type" : "object",
  108037. "properties" : {
  108038. "apply_no" : {
  108039. "type" : "string",
  108040. "description" : "申请单号",
  108041. "example" : "2022010700503000000000487728"
  108042. },
  108043. "box_desc" : {
  108044. "type" : "string",
  108045. "description" : "介绍,已生效的数据",
  108046. "example" : "品牌介绍"
  108047. },
  108048. "fail_reason" : {
  108049. "type" : "string",
  108050. "description" : "审核失败原因",
  108051. "example" : "品牌触发词必须完整包含品牌名称且不得使用泛词,建议调整。"
  108052. },
  108053. "gmt_modified" : {
  108054. "type" : "string",
  108055. "description" : "修改时间",
  108056. "example" : "2022-01-07 18:22:04"
  108057. },
  108058. "latest_audit_box_desc" : {
  108059. "type" : "string",
  108060. "description" : "介绍,最近一次审核内容",
  108061. "example" : "品牌介绍"
  108062. },
  108063. "module_id" : {
  108064. "type" : "string",
  108065. "description" : "模块配置ID",
  108066. "example" : "20220308000000168465"
  108067. },
  108068. "module_type" : {
  108069. "type" : "string",
  108070. "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图",
  108071. "example" : "BOX_EXCLUSIVE_BASE"
  108072. },
  108073. "status" : {
  108074. "type" : "string",
  108075. "description" : "状态,INITIAL-初始/AUDIT-审核中/CANCEL-已取消/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架/EXPIRE-已失效",
  108076. "example" : "AUDIT"
  108077. }
  108078. }
  108079. },
  108080. "SearchBoxImageModule" : {
  108081. "type" : "object",
  108082. "properties" : {
  108083. "apply_no" : {
  108084. "type" : "string",
  108085. "description" : "申请单号"
  108086. },
  108087. "fail_reason" : {
  108088. "type" : "string",
  108089. "description" : "审核失败原因"
  108090. },
  108091. "gmt_modified" : {
  108092. "type" : "string",
  108093. "description" : "修改时间"
  108094. },
  108095. "module_id" : {
  108096. "type" : "string",
  108097. "description" : "模块ID"
  108098. },
  108099. "module_type" : {
  108100. "type" : "string",
  108101. "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图"
  108102. },
  108103. "status" : {
  108104. "type" : "string",
  108105. "description" : "状态,INITIAL-初始/AUDIT-审核中/CANCEL-已取消/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架/EXPIRE-已失效"
  108106. }
  108107. }
  108108. },
  108109. "SearchBoxKeyWordModule" : {
  108110. "type" : "object",
  108111. "properties" : {
  108112. "apply_no" : {
  108113. "type" : "string",
  108114. "description" : "申请单号",
  108115. "example" : "2022010700503000000000487728"
  108116. },
  108117. "fail_reason" : {
  108118. "type" : "string",
  108119. "description" : "审核失败原因",
  108120. "example" : "品牌触发词必须完整包含品牌名称且不得使用泛词,建议调整。"
  108121. },
  108122. "gmt_modified" : {
  108123. "type" : "string",
  108124. "description" : "修改时间",
  108125. "example" : "2022-01-07 18:22:04"
  108126. },
  108127. "keywords" : {
  108128. "type" : "array",
  108129. "description" : "自定义触发词(生效中)",
  108130. "items" : {
  108131. "type" : "string"
  108132. },
  108133. "example" : "[\"自定义触发词\"]"
  108134. },
  108135. "latest_audit_keywords" : {
  108136. "type" : "array",
  108137. "description" : "自定义触发词(最近一次审核内容)",
  108138. "items" : {
  108139. "type" : "string"
  108140. },
  108141. "example" : "[\"自定义触发词\"]"
  108142. },
  108143. "module_id" : {
  108144. "type" : "string",
  108145. "description" : "模块配置ID",
  108146. "example" : "20220308000000168465"
  108147. },
  108148. "module_type" : {
  108149. "type" : "string",
  108150. "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图",
  108151. "example" : "BOX_EXCLUSIVE_KEYWORD"
  108152. },
  108153. "status" : {
  108154. "type" : "string",
  108155. "description" : "状态,INITIAL-初始/AUDIT-审核中/CANCEL-已取消/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架/EXPIRE-已失效",
  108156. "example" : "ONLINE"
  108157. }
  108158. }
  108159. },
  108160. "SearchBoxKeywordInfo" : {
  108161. "type" : "object",
  108162. "properties" : {
  108163. "apply_no" : {
  108164. "type" : "string",
  108165. "description" : "申请单号"
  108166. },
  108167. "fail_reason" : {
  108168. "type" : "string",
  108169. "description" : "审核失败原因"
  108170. },
  108171. "gmt_modified" : {
  108172. "type" : "string",
  108173. "description" : "修改时间"
  108174. },
  108175. "keywords" : {
  108176. "type" : "array",
  108177. "description" : "关键词",
  108178. "items" : {
  108179. "type" : "string"
  108180. }
  108181. },
  108182. "module_id" : {
  108183. "type" : "string",
  108184. "description" : "模块ID"
  108185. },
  108186. "status" : {
  108187. "type" : "string",
  108188. "description" : "ONLINE--上架\tREJECT--驳回\tOFFLINE-已下架"
  108189. }
  108190. }
  108191. },
  108192. "SearchBoxServiceInfo" : {
  108193. "type" : "object",
  108194. "properties" : {
  108195. "service_category_code" : {
  108196. "type" : "string",
  108197. "description" : "服务类目编码"
  108198. },
  108199. "service_category_name" : {
  108200. "type" : "string",
  108201. "description" : "服务类目名称"
  108202. },
  108203. "service_code" : {
  108204. "type" : "string",
  108205. "description" : "服务编码"
  108206. },
  108207. "service_name" : {
  108208. "type" : "string",
  108209. "description" : "服务名称"
  108210. }
  108211. }
  108212. },
  108213. "SearchBoxServiceModule" : {
  108214. "type" : "object",
  108215. "properties" : {
  108216. "module_id" : {
  108217. "type" : "string",
  108218. "description" : "模块ID",
  108219. "example" : "20220308000000168465"
  108220. },
  108221. "module_type" : {
  108222. "type" : "string",
  108223. "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图",
  108224. "example" : "BOX_EXCLUSIVE_FUNCTIONS"
  108225. },
  108226. "service_infos" : {
  108227. "type" : "array",
  108228. "description" : "服务信息列表",
  108229. "items" : {
  108230. "$ref" : "#/components/schemas/SearchBoxServiceInfo"
  108231. }
  108232. }
  108233. }
  108234. },
  108235. "SearchOperPageQueryRequest" : {
  108236. "type" : "object",
  108237. "properties" : {
  108238. "access_type" : {
  108239. "type" : "string",
  108240. "description" : "申请类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达",
  108241. "example" : "BRAND_BOX"
  108242. },
  108243. "appid" : {
  108244. "type" : "string",
  108245. "description" : "小程序ID",
  108246. "example" : "2021001105612404"
  108247. },
  108248. "page_num" : {
  108249. "type" : "string",
  108250. "description" : "当前页",
  108251. "example" : "1"
  108252. },
  108253. "page_size" : {
  108254. "type" : "string",
  108255. "description" : "每页显示条数",
  108256. "example" : "2"
  108257. },
  108258. "scene_code" : {
  108259. "type" : "string",
  108260. "description" : "场景码",
  108261. "example" : "HOT_WORD_RANKING"
  108262. },
  108263. "spec_code" : {
  108264. "type" : "string",
  108265. "description" : "服务类型 SP_MINI_APP 小程序 SP_PUBLIC_APP 生活号",
  108266. "example" : "SP_MINI_APP"
  108267. }
  108268. }
  108269. },
  108270. "SearchOrderBrandDetail" : {
  108271. "type" : "object",
  108272. "properties" : {
  108273. "brand_detail" : {
  108274. "$ref" : "#/components/schemas/BrandDetail"
  108275. },
  108276. "key" : {
  108277. "type" : "string",
  108278. "description" : "工单详情key值",
  108279. "example" : "425d8560-35da-11eb-9de8-217f5d8e3c76"
  108280. }
  108281. }
  108282. },
  108283. "SearchOrderDetailData" : {
  108284. "type" : "object",
  108285. "properties" : {
  108286. "access_type" : {
  108287. "type" : "string",
  108288. "description" : "申请单类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达",
  108289. "example" : "BASE"
  108290. },
  108291. "app_category" : {
  108292. "type" : "string",
  108293. "description" : "小程序类目名",
  108294. "example" : "旅行住宿_国际货运代理和报关行"
  108295. },
  108296. "app_icon" : {
  108297. "type" : "string",
  108298. "description" : "小程序图标",
  108299. "example" : "http://appstoreisvpic.alipayobjects.com/dev/bec7d11f-bb62-4abf-9a75-0d10407b4ed8.png"
  108300. },
  108301. "app_name" : {
  108302. "type" : "string",
  108303. "description" : "小程序名称",
  108304. "example" : "小程序名称"
  108305. },
  108306. "app_status" : {
  108307. "type" : "string",
  108308. "description" : "小程序状态",
  108309. "example" : "ON_LINE"
  108310. },
  108311. "appid" : {
  108312. "type" : "string",
  108313. "description" : "小程序ID",
  108314. "example" : "2014060600164699"
  108315. },
  108316. "base_order_status" : {
  108317. "$ref" : "#/components/schemas/OrderStatusData"
  108318. },
  108319. "biz_id" : {
  108320. "type" : "string",
  108321. "description" : "bizid 业务id",
  108322. "example" : "765432123456"
  108323. },
  108324. "box_order_status" : {
  108325. "$ref" : "#/components/schemas/OrderStatusData"
  108326. },
  108327. "box_status" : {
  108328. "type" : "string",
  108329. "description" : "上下架状态 ONLINE OFFLINE",
  108330. "example" : "ONLINE"
  108331. },
  108332. "brand_template_id" : {
  108333. "type" : "string",
  108334. "description" : "品牌的模板id ONE_WITH_TWO:一拖二、DEFAULT:一拖四",
  108335. "example" : "DEFAULT"
  108336. },
  108337. "brandbox_orderstatus" : {
  108338. "$ref" : "#/components/schemas/OrderStatusData"
  108339. },
  108340. "can_modify_keyword" : {
  108341. "type" : "boolean",
  108342. "description" : "是否可修改关键词",
  108343. "example" : "true"
  108344. },
  108345. "describe" : {
  108346. "type" : "string",
  108347. "description" : "服务描述",
  108348. "example" : "搜索提报测试小程序3"
  108349. },
  108350. "detail_base_items" : {
  108351. "$ref" : "#/components/schemas/SearchOrderDetailDataBaseItems"
  108352. },
  108353. "detail_brand_items" : {
  108354. "$ref" : "#/components/schemas/SearchOrderDetailDataBrandItems"
  108355. },
  108356. "detail_service_items" : {
  108357. "$ref" : "#/components/schemas/SearchOrderDetailDataServiceItems"
  108358. },
  108359. "final_status" : {
  108360. "type" : "string",
  108361. "description" : "最终状态",
  108362. "example" : "AGREE"
  108363. },
  108364. "gmtmodified" : {
  108365. "type" : "string",
  108366. "description" : "最后修改时间",
  108367. "example" : "2020-10-15 11:34:23"
  108368. },
  108369. "keyword_gmt_modified" : {
  108370. "type" : "string",
  108371. "description" : "关键词的修改时间",
  108372. "example" : "2020-10-14 14:25:50"
  108373. },
  108374. "online_time" : {
  108375. "type" : "string",
  108376. "description" : "上架时间",
  108377. "example" : "2020-10-15 11:34:23"
  108378. },
  108379. "operator_type" : {
  108380. "type" : "string",
  108381. "description" : "操作人员类型",
  108382. "example" : "操作人员类型"
  108383. },
  108384. "order_id" : {
  108385. "type" : "string",
  108386. "description" : "申请单id",
  108387. "example" : "AP2020101501254498"
  108388. },
  108389. "partner_type" : {
  108390. "type" : "string",
  108391. "description" : "查询服务提供者生态类型 一二三方 1 | 2 | 3",
  108392. "example" : "1"
  108393. },
  108394. "reject_node" : {
  108395. "type" : "string",
  108396. "description" : "驳回节点",
  108397. "example" : "驳回节点"
  108398. },
  108399. "reject_reason" : {
  108400. "type" : "string",
  108401. "description" : "驳回原因",
  108402. "example" : "驳回原因"
  108403. },
  108404. "scene_code" : {
  108405. "type" : "string",
  108406. "description" : "场景码",
  108407. "example" : "HOT_WORD_RANKING"
  108408. },
  108409. "scene_name" : {
  108410. "type" : "string",
  108411. "description" : "场景名称",
  108412. "example" : "场景名称"
  108413. },
  108414. "service_code" : {
  108415. "type" : "string",
  108416. "description" : "服务code",
  108417. "example" : "2019121121000102523089"
  108418. },
  108419. "service_name" : {
  108420. "type" : "string",
  108421. "description" : "服务名",
  108422. "example" : "服务名"
  108423. },
  108424. "status" : {
  108425. "type" : "string",
  108426. "description" : "申请单状态 AGREE、REJECT、AUDIT",
  108427. "example" : "AUDIT"
  108428. },
  108429. "sub_service_code" : {
  108430. "type" : "string",
  108431. "description" : "二级服务code",
  108432. "example" : "2019121121000102523089"
  108433. },
  108434. "template_id" : {
  108435. "type" : "string",
  108436. "description" : "模板Id",
  108437. "example" : "WALLET-SEARCH@boxFunctionCommon"
  108438. },
  108439. "template_name" : {
  108440. "type" : "string",
  108441. "description" : "模板名称",
  108442. "example" : "二级服务菜单直达"
  108443. }
  108444. }
  108445. },
  108446. "SearchOrderDetailDataBaseItems" : {
  108447. "type" : "object",
  108448. "properties" : {
  108449. "can_search" : {
  108450. "type" : "string",
  108451. "description" : "搜索可见性",
  108452. "example" : "true"
  108453. },
  108454. "desc" : {
  108455. "type" : "string",
  108456. "description" : "描述信息",
  108457. "example" : "描述信息"
  108458. },
  108459. "img" : {
  108460. "type" : "string",
  108461. "description" : "img地址",
  108462. "example" : "https://appstoreisvpic.alipayobjects.com/prod/37945fc8-d09b-4b3a-a472-4673c55e9dc9.png"
  108463. },
  108464. "key_word" : {
  108465. "type" : "string",
  108466. "description" : "关键词",
  108467. "example" : "测试"
  108468. },
  108469. "name" : {
  108470. "type" : "string",
  108471. "description" : "应用名称",
  108472. "example" : "测试1"
  108473. },
  108474. "region" : {
  108475. "type" : "string",
  108476. "description" : "基础工单详情region",
  108477. "example" : "0"
  108478. },
  108479. "serv_can_search" : {
  108480. "type" : "string",
  108481. "description" : "搜索可见性",
  108482. "example" : "true"
  108483. },
  108484. "serv_search_keywords" : {
  108485. "type" : "string",
  108486. "description" : "搜索关键词",
  108487. "example" : "搜索"
  108488. },
  108489. "template_id" : {
  108490. "type" : "string",
  108491. "description" : "模板id",
  108492. "example" : "WALLET-SEARCH@boxFunctionCommon"
  108493. },
  108494. "url" : {
  108495. "type" : "string",
  108496. "description" : "跳转url链接",
  108497. "example" : "https://appstoreisvpic.alipayobjects.com/prod"
  108498. }
  108499. }
  108500. },
  108501. "SearchOrderDetailDataBrandItems" : {
  108502. "type" : "object",
  108503. "properties" : {
  108504. "biz_id" : {
  108505. "type" : "string",
  108506. "description" : "工单详情bizid",
  108507. "example" : "C100038430_2020081121000352488483_FUNCTION"
  108508. },
  108509. "box_status" : {
  108510. "type" : "string",
  108511. "description" : "上下架状态",
  108512. "example" : "ONLINE"
  108513. },
  108514. "brand_box_keywords" : {
  108515. "type" : "string",
  108516. "description" : "关键词信息",
  108517. "example" : "烟草"
  108518. },
  108519. "brand_detail_list" : {
  108520. "type" : "array",
  108521. "description" : "工单详情数据信息",
  108522. "items" : {
  108523. "$ref" : "#/components/schemas/SearchOrderBrandDetail"
  108524. }
  108525. },
  108526. "brand_template_id" : {
  108527. "type" : "string",
  108528. "description" : "品牌展示模板类型",
  108529. "example" : "ONE_WITH_TWO"
  108530. },
  108531. "channel" : {
  108532. "type" : "string",
  108533. "description" : "工单详情数据channel",
  108534. "example" : "OPENINSIGHT"
  108535. },
  108536. "merchant_type" : {
  108537. "type" : "string",
  108538. "description" : "工单详情数据merchant_type",
  108539. "example" : "GENERAL"
  108540. },
  108541. "template_id" : {
  108542. "type" : "string",
  108543. "description" : "模板id",
  108544. "example" : "WALLET-SEARCH@boxContent"
  108545. }
  108546. }
  108547. },
  108548. "SearchOrderDetailDataServiceItems" : {
  108549. "type" : "object",
  108550. "properties" : {
  108551. "area_codes" : {
  108552. "type" : "string",
  108553. "description" : "服务工单详情area_codes",
  108554. "example" : "1"
  108555. },
  108556. "carrier_code" : {
  108557. "type" : "string",
  108558. "description" : "carrier_code",
  108559. "example" : "2019021863152020"
  108560. },
  108561. "carrier_list" : {
  108562. "type" : "string",
  108563. "description" : "服务工单数据carrier_list",
  108564. "example" : "111"
  108565. },
  108566. "category_attribute_value" : {
  108567. "type" : "string",
  108568. "description" : "服务工单category_attribute_value",
  108569. "example" : "111"
  108570. },
  108571. "category_code" : {
  108572. "type" : "string",
  108573. "description" : "类目id",
  108574. "example" : "C100038432"
  108575. },
  108576. "category_ids" : {
  108577. "type" : "string",
  108578. "description" : "类目id",
  108579. "example" : "XS3120"
  108580. },
  108581. "channel_type" : {
  108582. "type" : "string",
  108583. "description" : "渠道类型",
  108584. "example" : "MERCHANT_SELF_MANAGE_MINI_APP"
  108585. },
  108586. "desc" : {
  108587. "type" : "string",
  108588. "description" : "描述",
  108589. "example" : "描述"
  108590. },
  108591. "img" : {
  108592. "type" : "string",
  108593. "description" : "img地址",
  108594. "example" : "https://mdn.alipayobjects.com/openpt_appstore/afts/img/A*1o71SaApF5YAAAAAAAAAAAAAATcnAQ/original"
  108595. },
  108596. "key_word" : {
  108597. "type" : "string",
  108598. "description" : "关键词",
  108599. "example" : "关键词"
  108600. },
  108601. "key_word_list" : {
  108602. "type" : "string",
  108603. "description" : "关键词列表",
  108604. "example" : "测试"
  108605. },
  108606. "logo" : {
  108607. "type" : "string",
  108608. "description" : "logo图片地址",
  108609. "example" : "https://mdn.alipayobjects.com/openpt_appstore/afts/img/A*1o71SaApF5YAAAAAAAAAAAAAATcnAQ/original"
  108610. },
  108611. "name" : {
  108612. "type" : "string",
  108613. "description" : "应用名称",
  108614. "example" : "应用名称"
  108615. },
  108616. "parent_service_code" : {
  108617. "type" : "string",
  108618. "description" : "服务编码",
  108619. "example" : "2019041721000201048200"
  108620. },
  108621. "region" : {
  108622. "type" : "string",
  108623. "description" : "服务工单详情region",
  108624. "example" : "1"
  108625. },
  108626. "serv_search_catalogs" : {
  108627. "type" : "string",
  108628. "description" : "serv_search_catalogs",
  108629. "example" : "C100038432"
  108630. },
  108631. "serv_search_keywords" : {
  108632. "type" : "string",
  108633. "description" : "关键词",
  108634. "example" : "关键词"
  108635. },
  108636. "service_code" : {
  108637. "type" : "string",
  108638. "description" : "2020112321000021082348",
  108639. "example" : "服务码"
  108640. },
  108641. "service_name" : {
  108642. "type" : "string",
  108643. "description" : "服务名称",
  108644. "example" : "测试1"
  108645. },
  108646. "service_time_end" : {
  108647. "type" : "string",
  108648. "description" : "服务结束时间",
  108649. "example" : "23:59:59"
  108650. },
  108651. "service_time_start" : {
  108652. "type" : "string",
  108653. "description" : "服务开始时间",
  108654. "example" : "00:00:00"
  108655. },
  108656. "short_desc" : {
  108657. "type" : "string",
  108658. "description" : "服务短描述",
  108659. "example" : "服务短描述"
  108660. },
  108661. "spec_code" : {
  108662. "type" : "string",
  108663. "description" : "应用标识",
  108664. "example" : "SP_SEARCH_SERVICE"
  108665. },
  108666. "template_id" : {
  108667. "type" : "string",
  108668. "description" : "模板id",
  108669. "example" : "WALLET-SEARCH@boxFunctionCommon"
  108670. }
  108671. }
  108672. },
  108673. "SearchOrderRequest" : {
  108674. "type" : "object",
  108675. "properties" : {
  108676. "apply_id" : {
  108677. "type" : "string",
  108678. "description" : "申请单id",
  108679. "example" : "AP20200212100002488"
  108680. },
  108681. "apply_type" : {
  108682. "type" : "string",
  108683. "description" : "申请类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达",
  108684. "example" : "BASE"
  108685. },
  108686. "brand_template_id" : {
  108687. "type" : "string",
  108688. "description" : "品牌的模板id ONE_WITH_TWO:一拖二、DEFAULT:一拖四",
  108689. "example" : "DEFAULT"
  108690. },
  108691. "service_code" : {
  108692. "type" : "string",
  108693. "description" : "服务code",
  108694. "example" : "2019121121000102523089"
  108695. },
  108696. "spec_code" : {
  108697. "type" : "string",
  108698. "description" : "服务的类型默认使用小程序 SP_MINI_APP 小程序 SP_PUBLIC_APP 生活号",
  108699. "example" : "SP_MINI_APP"
  108700. }
  108701. }
  108702. },
  108703. "SearchPartAgreeInfo" : {
  108704. "type" : "object",
  108705. "properties" : {
  108706. "audit_info" : {
  108707. "type" : "string",
  108708. "description" : "剔除数据名称",
  108709. "example" : "单车"
  108710. },
  108711. "audit_operator" : {
  108712. "type" : "string",
  108713. "description" : "剔除数据的operator信息",
  108714. "example" : "liming"
  108715. },
  108716. "audit_reason" : {
  108717. "type" : "string",
  108718. "description" : "剔除原因",
  108719. "example" : "剔除原因"
  108720. },
  108721. "audit_type" : {
  108722. "type" : "string",
  108723. "description" : "剔除数据类型",
  108724. "example" : "aaa"
  108725. }
  108726. }
  108727. },
  108728. "SeatInfo" : {
  108729. "type" : "object",
  108730. "properties" : {
  108731. "seat_class" : {
  108732. "type" : "string",
  108733. "description" : "座位等级",
  108734. "example" : "一等座"
  108735. },
  108736. "seat_no" : {
  108737. "type" : "string",
  108738. "description" : "座位号",
  108739. "example" : "12车12D"
  108740. }
  108741. }
  108742. },
  108743. "SendRule" : {
  108744. "type" : "object",
  108745. "properties" : {
  108746. "allow_repeat_send" : {
  108747. "type" : "string",
  108748. "description" : "是否允许重复发奖:\r\ttrue代表允许,false代表不允许\r\t默认不设置,表明用户领取券后如果没有核销则不允许再次领取券\r\t如果设置为true,表明如果用户领取券后没有核销,还可以继续领取该券(只有配置publish_channels中type为URL_WITH_TOKEN外部发券时,该字段生效)",
  108749. "example" : "true"
  108750. },
  108751. "min_cost" : {
  108752. "type" : "string",
  108753. "description" : "发券最低消费金额,单位元\r\t活动类型为消费送且不是消费送礼包时设置\r\t多营销工具之间不允许设置重复值",
  108754. "example" : "100"
  108755. },
  108756. "send_budget" : {
  108757. "type" : "string",
  108758. "description" : "券的预算数量(仅对口令送随机抽奖有效,即当活动类型为GUESS_SEND,且营销工具PromoTool的个数大于1时,此字段必填,其余情况此字段必为空)",
  108759. "example" : "1234"
  108760. },
  108761. "send_num" : {
  108762. "type" : "string",
  108763. "description" : "发券数目\r\t最少发1张券,最多发5张券",
  108764. "example" : "1"
  108765. }
  108766. }
  108767. },
  108768. "SenderIstd" : {
  108769. "type" : "object",
  108770. "properties" : {
  108771. "address" : {
  108772. "type" : "string",
  108773. "description" : "地址(街道、小区、大厦等,用于定位)"
  108774. },
  108775. "address_detail" : {
  108776. "type" : "string",
  108777. "description" : "地址详情(楼号、单元号、层号)"
  108778. },
  108779. "city" : {
  108780. "type" : "string",
  108781. "description" : "城市名称,如杭州市"
  108782. },
  108783. "coordinate_type" : {
  108784. "type" : "integer",
  108785. "description" : "坐标类型,0:火星坐标(高德,腾讯地图均采用火星坐标) 1:百度坐标, 目前只支持0"
  108786. },
  108787. "lat" : {
  108788. "type" : "string",
  108789. "description" : "纬度"
  108790. },
  108791. "lng" : {
  108792. "type" : "string",
  108793. "description" : "经度"
  108794. },
  108795. "mobile_no" : {
  108796. "type" : "string",
  108797. "description" : "手机号"
  108798. },
  108799. "name" : {
  108800. "type" : "string",
  108801. "description" : "姓名"
  108802. }
  108803. }
  108804. },
  108805. "ServiceCodeIstd" : {
  108806. "type" : "object",
  108807. "properties" : {
  108808. "service_code" : {
  108809. "type" : "string",
  108810. "description" : "即时配送公司服务代码",
  108811. "example" : "fengniao01"
  108812. }
  108813. }
  108814. },
  108815. "ServiceRecordCatRequest" : {
  108816. "type" : "object",
  108817. "properties" : {
  108818. "cat_name" : {
  108819. "type" : "string",
  108820. "description" : "类目名称(需要每一级用;分隔封装)"
  108821. },
  108822. "first_cat" : {
  108823. "type" : "string",
  108824. "description" : "一级类目编码"
  108825. },
  108826. "fourth_cat" : {
  108827. "type" : "string",
  108828. "description" : "四级类目编码"
  108829. },
  108830. "instence_code" : {
  108831. "type" : "string",
  108832. "description" : "类目树编码"
  108833. },
  108834. "second_cat" : {
  108835. "type" : "string",
  108836. "description" : "二级类目编码"
  108837. },
  108838. "third_cat" : {
  108839. "type" : "string",
  108840. "description" : "三级类目编码"
  108841. }
  108842. }
  108843. },
  108844. "SettleCardInfo" : {
  108845. "type" : "object",
  108846. "properties" : {
  108847. "account_branch_name" : {
  108848. "type" : "string",
  108849. "description" : "开户支行名"
  108850. },
  108851. "account_holder_name" : {
  108852. "type" : "string",
  108853. "description" : "卡户名"
  108854. },
  108855. "account_inst_city" : {
  108856. "type" : "string",
  108857. "description" : "开户行所在地-市"
  108858. },
  108859. "account_inst_id" : {
  108860. "type" : "string",
  108861. "description" : "开户行简称缩写"
  108862. },
  108863. "account_inst_name" : {
  108864. "type" : "string",
  108865. "description" : "银行名称"
  108866. },
  108867. "account_inst_province" : {
  108868. "type" : "string",
  108869. "description" : "开户行所在地-省"
  108870. },
  108871. "account_no" : {
  108872. "type" : "string",
  108873. "description" : "银行卡号"
  108874. },
  108875. "account_type" : {
  108876. "type" : "string",
  108877. "description" : "卡类型\r\t借记卡-DC\r\t信用卡-CC"
  108878. },
  108879. "bank_code" : {
  108880. "type" : "string",
  108881. "description" : "联行号"
  108882. },
  108883. "usage_type" : {
  108884. "type" : "string",
  108885. "description" : "账号使用类型\r\t对公-01\r\t对私-02"
  108886. }
  108887. }
  108888. },
  108889. "SettleClause" : {
  108890. "type" : "object",
  108891. "properties" : {
  108892. "amount" : {
  108893. "type" : "string",
  108894. "description" : "结算金额,单位为元",
  108895. "example" : "0.1"
  108896. },
  108897. "currency" : {
  108898. "type" : "string",
  108899. "description" : "结算币种,支持人民币:CNY",
  108900. "example" : "CNY"
  108901. },
  108902. "settle_account_entity" : {
  108903. "type" : "string",
  108904. "description" : "结算账号所属于的结算主体类型。\tsecondMerchant 二级商户的结算账号\tstore 球房的结算账号\t如果不填,默认为settleEntityType对应的类型",
  108905. "example" : "secondMerchant"
  108906. },
  108907. "settle_account_id" : {
  108908. "type" : "string",
  108909. "description" : "结算账户id。\t\t当结算账户id类型是cardSerialNo时,本参数为用户在支付宝绑定的卡编号;当结算账户id类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号;当结算账户id类型是loginName时,本参数为用户的支付宝登录号; 当 settle_account_type 为defaultSettle时,本参数必须为空",
  108910. "example" : "15912345678"
  108911. },
  108912. "settle_account_id_type" : {
  108913. "type" : "string",
  108914. "description" : "结算账户id类型。 \t当settle_account_type 为bankCard时,本参数为cardSerialNo,表示结算账户id是银行卡编号; 当settle_account_type 为alipayBalance时,本参数为userId或者loginName,其中userId表示结算账户id是支付宝唯一用户号,loginName表示结算账户id是支付宝登录号; 当 settle_account_type 为 defaultSettle 时,本参数必须为空",
  108915. "example" : "loginName"
  108916. },
  108917. "settle_account_type" : {
  108918. "type" : "string",
  108919. "description" : "结算账户类型。\t\tbankCard: 结算账户为银行卡;\talipayBalance: 结算账户为支付宝余额户;\tdefaultSettle: 按默认结算规则结算",
  108920. "example" : "alipayBalance"
  108921. },
  108922. "settle_entity_id" : {
  108923. "type" : "string",
  108924. "description" : "结算主体账号。\r\t当结算主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID",
  108925. "example" : "19023454"
  108926. },
  108927. "settle_entity_type" : {
  108928. "type" : "string",
  108929. "description" : "结算主体类型。\r\tSecondMerchant:结算主体为二级商户",
  108930. "example" : "SecondMerchant"
  108931. },
  108932. "sub_merchant" : {
  108933. "$ref" : "#/components/schemas/SubMerchant"
  108934. }
  108935. }
  108936. },
  108937. "SettleConfirmExtendParams" : {
  108938. "type" : "object",
  108939. "properties" : {
  108940. "royalty_freeze" : {
  108941. "type" : "string",
  108942. "description" : "是否进行资金冻结,用于后续分账,true表示冻结,false或不传表示不冻结",
  108943. "example" : "true"
  108944. }
  108945. }
  108946. },
  108947. "SettleDetailInfo" : {
  108948. "type" : "object",
  108949. "properties" : {
  108950. "actual_amount" : {
  108951. "type" : "string",
  108952. "description" : "仅在直付通账期模式下,当一笔交易需要分多次发起部分确认结算时使用,表示本次确认结算的实际结算金额。传递本字段后,原amount字段不再生效,结算金额以本字段为准。如已经发生过部分确认结算、不传递本字段则默认按剩余待结算金额一次性结算。"
  108953. },
  108954. "amount" : {
  108955. "type" : "string",
  108956. "description" : "结算的金额,单位为元。在创建订单和支付接口时必须和交易金额相同。在结算确认接口时必须等于交易金额减去已退款金额。直付通账期模式下,如使用部分结算能力、传递了actual_amount字段,则忽略本字段的校验、可不传。"
  108957. },
  108958. "settle_entity_id" : {
  108959. "type" : "string",
  108960. "description" : "结算主体标识。当结算主体类型为SecondMerchant时,为二级商户的SecondMerchantID;当结算主体类型为Store时,为球房的外标。"
  108961. },
  108962. "settle_entity_type" : {
  108963. "type" : "string",
  108964. "description" : "结算主体类型。\r\t二级商户:SecondMerchant;商户或者直连商户球房:Store"
  108965. },
  108966. "summary_dimension" : {
  108967. "type" : "string",
  108968. "description" : "结算汇总维度,按照这个维度汇总成批次结算,由商户指定。\t\t目前需要和结算收款方账户类型为cardAliasNo配合使用"
  108969. },
  108970. "trans_in" : {
  108971. "type" : "string",
  108972. "description" : "结算收款方。当结算收款方类型是cardAliasNo时,本参数为用户在支付宝绑定的卡编号;结算收款方类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号,以2088开头的纯16位数字;当结算收款方类型是loginName时,本参数为用户的支付宝登录号;当结算收款方类型是defaultSettle时,本参数不能传值,保持为空。"
  108973. },
  108974. "trans_in_type" : {
  108975. "type" : "string",
  108976. "description" : "结算收款方的账户类型。\t\tcardAliasNo:结算收款方的银行卡编号;\tuserId:表示是支付宝账号对应的支付宝唯一用户号;\tloginName:表示是支付宝登录号;\tdefaultSettle:表示结算到商户进件时设置的默认结算账号,结算主体为球房时不支持传defaultSettle;"
  108977. }
  108978. }
  108979. },
  108980. "SettleEntity" : {
  108981. "type" : "object",
  108982. "properties" : {
  108983. "settle_entity_id" : {
  108984. "type" : "string",
  108985. "description" : "结算主体账号\t当结算主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID;当结算主体类型为MerchantStore,本参数为商户球房ID。",
  108986. "example" : "19023454"
  108987. },
  108988. "settle_entity_type" : {
  108989. "type" : "string",
  108990. "description" : "结算主体类型\tSecondMerchant:结算主体为二级商户;MerchantStore:结算主体为商户球房",
  108991. "example" : "SecondMerchant"
  108992. }
  108993. }
  108994. },
  108995. "SettleExtendParams" : {
  108996. "type" : "object",
  108997. "properties" : {
  108998. "royalty_finish" : {
  108999. "type" : "string",
  109000. "description" : "冻结分账场景下生效,其他场景传入无效。\t代表该交易分账是否完结,可选值:true/false,不传默认为false。\ttrue:代表分账完结,则本次分账处理完成后会把该笔交易的剩余冻结金额全额解冻。\tfalse:代表分账未完结。",
  109001. "example" : "true"
  109002. }
  109003. }
  109004. },
  109005. "SettleExtraParams" : {
  109006. "type" : "object",
  109007. "properties" : {
  109008. "quit_type" : {
  109009. "type" : "string",
  109010. "description" : "quit_type为USER_CANCEL_QUIT或者SETTLE_APPLY_QUIT",
  109011. "example" : "SETTLE_APPLY_QUIT"
  109012. },
  109013. "settle_adjust_reason" : {
  109014. "type" : "string",
  109015. "description" : "action_type选择PAY_TO_ZERO时必填,\t\"SERVICE_CANCELED\":\"服务已取消\",\t\"OTHER_CHANNEL_PERFORMANCE\":\"户已通过其他方式履约\"",
  109016. "example" : "SERVICE_CANCELED或OTHER_CHANNEL_PERFORMANCE"
  109017. }
  109018. }
  109019. },
  109020. "SettleInfo" : {
  109021. "type" : "object",
  109022. "properties" : {
  109023. "settle_detail_infos" : {
  109024. "type" : "array",
  109025. "description" : "结算详细信息,json数组,目前只支持一条。",
  109026. "items" : {
  109027. "$ref" : "#/components/schemas/SettleDetailInfo"
  109028. }
  109029. },
  109030. "settle_period_time" : {
  109031. "type" : "string",
  109032. "description" : "该笔订单的超期自动确认结算时间,到达期限后,将自动确认结算。此字段只在签约账期结算模式时有效。取值范围:1d~365d。d-天。 该参数数值不接受小数点。"
  109033. }
  109034. }
  109035. },
  109036. "ShopBusinessTime" : {
  109037. "type" : "object",
  109038. "properties" : {
  109039. "close_time" : {
  109040. "type" : "string",
  109041. "description" : "关门时间 格式:HH:mm"
  109042. },
  109043. "open_time" : {
  109044. "type" : "string",
  109045. "description" : "开门时间 格式:HH:mm"
  109046. },
  109047. "week_day" : {
  109048. "type" : "integer",
  109049. "description" : "本对象表示周几的营业时间。1~6表示周一到周六,7表示周日"
  109050. }
  109051. }
  109052. },
  109053. "ShopCategoryConfigInfo" : {
  109054. "type" : "object",
  109055. "properties" : {
  109056. "id" : {
  109057. "type" : "string",
  109058. "description" : "类目ID",
  109059. "example" : "2016031800159500"
  109060. },
  109061. "is_leaf" : {
  109062. "type" : "string",
  109063. "description" : "是否是叶子节点",
  109064. "example" : "true"
  109065. },
  109066. "level" : {
  109067. "type" : "string",
  109068. "description" : "类目层级",
  109069. "example" : "3"
  109070. },
  109071. "link" : {
  109072. "type" : "string",
  109073. "description" : "类目层级路径",
  109074. "example" : "美食-中餐-淮扬菜"
  109075. },
  109076. "nm" : {
  109077. "type" : "string",
  109078. "description" : "类目名称",
  109079. "example" : "淮扬菜"
  109080. }
  109081. }
  109082. },
  109083. "ShopCategoryInfo" : {
  109084. "type" : "object",
  109085. "properties" : {
  109086. "category_id" : {
  109087. "type" : "string",
  109088. "description" : "类目编号",
  109089. "example" : "2015050700000018"
  109090. },
  109091. "category_level" : {
  109092. "type" : "string",
  109093. "description" : "类目层级,目前最多支持1、2、3三级",
  109094. "example" : "2"
  109095. },
  109096. "category_name" : {
  109097. "type" : "string",
  109098. "description" : "类目名称",
  109099. "example" : "美食"
  109100. }
  109101. }
  109102. },
  109103. "ShopCommentInfo" : {
  109104. "type" : "object",
  109105. "properties" : {
  109106. "avg_popularity" : {
  109107. "type" : "string",
  109108. "description" : "店铺30天平均人气值",
  109109. "example" : "76"
  109110. },
  109111. "avg_popularity_name" : {
  109112. "type" : "string",
  109113. "description" : "avg_popularity字段展示文案",
  109114. "example" : "口碑人气"
  109115. },
  109116. "score" : {
  109117. "type" : "string",
  109118. "description" : "球房评分,评分越高,球房质量越高",
  109119. "example" : "3.2"
  109120. },
  109121. "star" : {
  109122. "type" : "string",
  109123. "description" : "球房星级,0~5,越高,店铺质量越高",
  109124. "example" : "4.0"
  109125. }
  109126. }
  109127. },
  109128. "ShopExtInfo" : {
  109129. "type" : "object",
  109130. "properties" : {
  109131. "key_name" : {
  109132. "type" : "string",
  109133. "description" : "KV数据对的key,表示该kv对象表示什么含义。"
  109134. },
  109135. "value" : {
  109136. "type" : "string",
  109137. "description" : "kv对象的值"
  109138. }
  109139. }
  109140. },
  109141. "ShopQueryOpenApiVO" : {
  109142. "type" : "object",
  109143. "properties" : {
  109144. "business_address" : {
  109145. "$ref" : "#/components/schemas/AddressInfo"
  109146. },
  109147. "business_time" : {
  109148. "type" : "array",
  109149. "description" : "店铺经营时间",
  109150. "items" : {
  109151. "$ref" : "#/components/schemas/ShopBusinessTime"
  109152. }
  109153. },
  109154. "contact_mobile" : {
  109155. "type" : "string",
  109156. "description" : "店铺联系手机",
  109157. "example" : "13901390139"
  109158. },
  109159. "contact_phone" : {
  109160. "type" : "string",
  109161. "description" : "店铺的联系固话",
  109162. "example" : "010-62286228"
  109163. },
  109164. "new_shop_category" : {
  109165. "type" : "string",
  109166. "description" : "新版球房类目标准二级类目code。类目标准及与原shop_category映射关系参见文档https://gw.alipayobjects.com/os/bmw-prod/4b3f82df-e53e-4b84-bc41-fe025101e726.xlsx",
  109167. "example" : "B0001"
  109168. },
  109169. "shop_category" : {
  109170. "type" : "string",
  109171. "description" : "店铺类目,取值参见文件https://mif-pub.alipayobjects.com/ShopCategory.xlsx 中的三级球房类目",
  109172. "example" : "1001"
  109173. },
  109174. "shop_id" : {
  109175. "type" : "string",
  109176. "description" : "蚂蚁店铺id",
  109177. "example" : "2018011900502000000005124744"
  109178. },
  109179. "shop_info_status" : {
  109180. "type" : "string",
  109181. "description" : "当前名称、地址、经纬度信息准确一致,可用于数字化经营场景消费(01=已认证,02=待优化,03=审核中,99=未知)",
  109182. "example" : "01"
  109183. },
  109184. "shop_name" : {
  109185. "type" : "string",
  109186. "description" : "店铺名称",
  109187. "example" : "肯德基中关村店"
  109188. },
  109189. "shop_status" : {
  109190. "type" : "string",
  109191. "description" : "球房状态,01正常,03冻结",
  109192. "example" : "01"
  109193. },
  109194. "shop_type" : {
  109195. "type" : "string",
  109196. "description" : "店铺经营类型,01表示直营,02表示加盟",
  109197. "example" : "01"
  109198. },
  109199. "store_id" : {
  109200. "type" : "string",
  109201. "description" : "球房编号,表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号",
  109202. "example" : "NO0001"
  109203. }
  109204. }
  109205. },
  109206. "ShopRecommendInfo" : {
  109207. "type" : "object",
  109208. "properties" : {
  109209. "recommend" : {
  109210. "type" : "string",
  109211. "description" : "球房修改建议",
  109212. "example" : "请修改店名为真实经营的球房名称,如有分店,请修改成品牌(分店名),如大润发(杭州西溪店)"
  109213. },
  109214. "recommend_address" : {
  109215. "type" : "string",
  109216. "description" : "推荐详细地址",
  109217. "example" : "杭州市西湖区**路**号"
  109218. },
  109219. "recommend_latitude" : {
  109220. "type" : "string",
  109221. "description" : "推荐纬度",
  109222. "example" : "30.111"
  109223. },
  109224. "recommend_longtitude" : {
  109225. "type" : "string",
  109226. "description" : "推荐经度",
  109227. "example" : "120.3333"
  109228. },
  109229. "recommend_name" : {
  109230. "type" : "string",
  109231. "description" : "推荐球房名称",
  109232. "example" : "大润发(杭州西溪店)"
  109233. },
  109234. "unconfidence_reason" : {
  109235. "type" : "string",
  109236. "description" : "球房不置信原因",
  109237. "example" : "店名不准确"
  109238. }
  109239. }
  109240. },
  109241. "ShopSummaryQueryResponse" : {
  109242. "type" : "object",
  109243. "properties" : {
  109244. "address" : {
  109245. "type" : "string",
  109246. "description" : "球房地址",
  109247. "example" : "万塘路18号黄龙时代广场"
  109248. },
  109249. "branch_shop_name" : {
  109250. "type" : "string",
  109251. "description" : "分店名",
  109252. "example" : "万塘路店"
  109253. },
  109254. "brand_name" : {
  109255. "type" : "string",
  109256. "description" : "品牌名,不填写则默认为其它品牌",
  109257. "example" : "肯德基"
  109258. },
  109259. "business_time" : {
  109260. "type" : "string",
  109261. "description" : "经营时间",
  109262. "example" : "10:00-14:00"
  109263. },
  109264. "category_infos" : {
  109265. "type" : "array",
  109266. "description" : "球房类目列表",
  109267. "items" : {
  109268. "$ref" : "#/components/schemas/ShopCategoryInfo"
  109269. }
  109270. },
  109271. "city_code" : {
  109272. "type" : "string",
  109273. "description" : "城市编码,国标码,详见国家统计局数据 <a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/AreaCodeList.zip\">点此下载</a>",
  109274. "example" : "140500"
  109275. },
  109276. "district_code" : {
  109277. "type" : "string",
  109278. "description" : "区县编码,国标码,详见国家统计局数据 <a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/AreaCodeList.zip\">点此下载</a>",
  109279. "example" : "140521"
  109280. },
  109281. "ext_info" : {
  109282. "type" : "string",
  109283. "description" : "json 字符串表示额外信息;\r\t\r\torder_biz_mode: 点餐营业模式, REGULAR-正餐、LIGHT_FAST-轻快餐;\r\tpre_order: 预点餐服务可用状态, 1-服务可用、0-服务不可用\r\torder: 到店点餐服务可用状态:1-服务可用、0-服务不可用",
  109284. "example" : "{\"order_biz_mode\":\"REGULAR\",\"order\":\"1\",\"pre_order\":\"1\"}"
  109285. },
  109286. "gmt_create" : {
  109287. "type" : "string",
  109288. "description" : "创建时间",
  109289. "example" : "2016-06-23 21:15:04.593"
  109290. },
  109291. "is_show" : {
  109292. "type" : "string",
  109293. "description" : "球房是否在客户端显示,T表示显示,F表示隐藏",
  109294. "example" : "T"
  109295. },
  109296. "latitude" : {
  109297. "type" : "string",
  109298. "description" : "纬度,只有在query_type=KB_PROMOTER非空",
  109299. "example" : "31.226948"
  109300. },
  109301. "longitude" : {
  109302. "type" : "string",
  109303. "description" : "经度,只有在query_type=KB_PROMOTER非空",
  109304. "example" : "121.549728"
  109305. },
  109306. "main_image" : {
  109307. "type" : "string",
  109308. "description" : "球房首图",
  109309. "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
  109310. },
  109311. "main_shop_name" : {
  109312. "type" : "string",
  109313. "description" : "主球房名",
  109314. "example" : "海底捞"
  109315. },
  109316. "per_pay" : {
  109317. "type" : "string",
  109318. "description" : "人均价格。单位是分。例如:2000,表示20元",
  109319. "example" : "100"
  109320. },
  109321. "pic_coll" : {
  109322. "type" : "string",
  109323. "description" : "图片集,是map转化成的json串,key是图片id,value是图片url",
  109324. "example" : "{\"IUFIDASFIEUIOFKSFIUFE83IEI\":\"http://object.alipay.com/getpic.do?kjkdjkjj\"}"
  109325. },
  109326. "province_code" : {
  109327. "type" : "string",
  109328. "description" : "省份编码,国标码,详见国家统计局数据 <a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/AreaCodeList.zip\">点此下载</a>",
  109329. "example" : "110000"
  109330. },
  109331. "shop_comment_info" : {
  109332. "$ref" : "#/components/schemas/ShopCommentInfo"
  109333. },
  109334. "shop_id" : {
  109335. "type" : "string",
  109336. "description" : "球房ID",
  109337. "example" : "2015052100077000000000120773"
  109338. },
  109339. "shop_type" : {
  109340. "type" : "string",
  109341. "description" : "COMMON(普通球房)、MALL(商圈)",
  109342. "example" : "COMMON"
  109343. },
  109344. "status" : {
  109345. "type" : "string",
  109346. "description" : "球房状态,OPEN:营业中、PAUSE:暂停营业、FREEZE:已冻结、CLOSE:球房已关闭",
  109347. "example" : "OPEN"
  109348. }
  109349. }
  109350. },
  109351. "SignAddressInfo" : {
  109352. "type" : "object",
  109353. "properties" : {
  109354. "city_code" : {
  109355. "type" : "string",
  109356. "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)"
  109357. },
  109358. "country_code" : {
  109359. "type" : "string",
  109360. "description" : "国家编码,中国默认:156"
  109361. },
  109362. "detail_address" : {
  109363. "type" : "string",
  109364. "description" : "详细地址"
  109365. },
  109366. "district_code" : {
  109367. "type" : "string",
  109368. "description" : "区县编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)"
  109369. },
  109370. "latitude" : {
  109371. "type" : "string",
  109372. "description" : "纬度,浮点型,小数点后最多保留6位 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker"
  109373. },
  109374. "longitude" : {
  109375. "type" : "string",
  109376. "description" : "经度,浮点型, 小数点后最多保留6位。 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker"
  109377. },
  109378. "province_code" : {
  109379. "type" : "string",
  109380. "description" : "省份编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)"
  109381. }
  109382. }
  109383. },
  109384. "SignData" : {
  109385. "type" : "object",
  109386. "properties" : {
  109387. "ori_app_id" : {
  109388. "type" : "string",
  109389. "description" : "签名商户开放平台应用APPID",
  109390. "example" : "2021000185629012"
  109391. },
  109392. "ori_char_set" : {
  109393. "type" : "string",
  109394. "description" : "编码类型(大小写敏感)",
  109395. "example" : "UTF-8"
  109396. },
  109397. "ori_out_biz_no" : {
  109398. "type" : "string",
  109399. "description" : "ori_out_biz_no_001",
  109400. "example" : "商户订单号"
  109401. },
  109402. "ori_sign" : {
  109403. "type" : "string",
  109404. "description" : "签名密文",
  109405. "example" : "EqHFP0z4a9iaQ1ep=="
  109406. },
  109407. "ori_sign_type" : {
  109408. "type" : "string",
  109409. "description" : "签名算法(大小写敏感)",
  109410. "example" : "RSA2"
  109411. },
  109412. "partner_id" : {
  109413. "type" : "string",
  109414. "description" : "2088041181118800",
  109415. "example" : "签名被授权方支付宝账号ID"
  109416. }
  109417. }
  109418. },
  109419. "SignField" : {
  109420. "type" : "object",
  109421. "properties" : {
  109422. "auto_execute" : {
  109423. "type" : "string",
  109424. "description" : "平台自动签",
  109425. "example" : "true"
  109426. },
  109427. "signer" : {
  109428. "$ref" : "#/components/schemas/Signer"
  109429. },
  109430. "struct_key" : {
  109431. "type" : "string",
  109432. "description" : "模板组件id",
  109433. "example" : "18247776929e433784636126b33b08a3"
  109434. }
  109435. }
  109436. },
  109437. "SignFieldBean" : {
  109438. "type" : "object",
  109439. "properties" : {
  109440. "sign_field_type" : {
  109441. "type" : "string",
  109442. "description" : "签署类型:\t\tplatform-平台自动签:无需指定签署人。创建流程后,系统将自动盖上商户的默认企业印章。\t\tperson-个人签署:需要指定签署人个人信息。创建流程后,需通过签署插件完成签署。\torg-企业签署:需要指定签署企业信息与经办人个人信息。创建流程后,需经办人代企业完成签署。(企业暂不支持插件签署,可通过获取签署地址接口获取企业签署地址)",
  109443. "example" : "person"
  109444. },
  109445. "signer" : {
  109446. "$ref" : "#/components/schemas/SignerBean"
  109447. },
  109448. "struct_key" : {
  109449. "type" : "string",
  109450. "description" : "签署区key值",
  109451. "example" : "signer1"
  109452. }
  109453. }
  109454. },
  109455. "SignRestrictInfo" : {
  109456. "type" : "object",
  109457. "properties" : {
  109458. "restrict_product" : {
  109459. "type" : "string",
  109460. "description" : "产品码,支付宝定义的产品码",
  109461. "example" : "I1011000100000000001"
  109462. },
  109463. "restrict_reason" : {
  109464. "type" : "string",
  109465. "description" : "受限的原因",
  109466. "example" : "经营资质不符合要求"
  109467. },
  109468. "restrict_reason_code" : {
  109469. "type" : "string",
  109470. "description" : "受限原因编码",
  109471. "example" : "001"
  109472. },
  109473. "restrict_version" : {
  109474. "type" : "string",
  109475. "description" : "受限版本,02-受限版 04-极速版",
  109476. "example" : "02"
  109477. }
  109478. }
  109479. },
  109480. "Signer" : {
  109481. "type" : "object",
  109482. "properties" : {
  109483. "email" : {
  109484. "type" : "string",
  109485. "description" : "邮箱",
  109486. "example" : "593100192@tsign.cn"
  109487. },
  109488. "id_number" : {
  109489. "type" : "string",
  109490. "description" : "证件号",
  109491. "example" : "330304199806083911"
  109492. },
  109493. "id_type" : {
  109494. "type" : "string",
  109495. "description" : "证件类型,详见个人证件类型说明(http://open.esign.cn/docs/xy/%E6%8E%A5%E5%8F%A3%E6%96%87%E6%A1%A3/%E9%99%84%E5%BD%95/%E4%B8%AA%E4%BA%BA%E8%AF%81%E4%BB%B6%E7%B1%BB%E5%9E%8B.html),默认CRED_PSN_CH_IDCARD (证件号不为空,则必填)",
  109496. "example" : "CRED_PSN_CH_IDCARD"
  109497. },
  109498. "mobile" : {
  109499. "type" : "string",
  109500. "description" : "手机号",
  109501. "example" : "18888888888"
  109502. },
  109503. "name" : {
  109504. "type" : "string",
  109505. "description" : "姓名",
  109506. "example" : "姓名"
  109507. },
  109508. "user_id" : {
  109509. "type" : "string",
  109510. "description" : "支付宝userId",
  109511. "example" : "2088102924502823"
  109512. }
  109513. }
  109514. },
  109515. "SignerBean" : {
  109516. "type" : "object",
  109517. "properties" : {
  109518. "email" : {
  109519. "type" : "string",
  109520. "description" : "个人邮箱",
  109521. "example" : "593100192@tsign.cn"
  109522. },
  109523. "id_number" : {
  109524. "type" : "string",
  109525. "description" : "个人证件号",
  109526. "example" : "330304199801011111"
  109527. },
  109528. "id_type" : {
  109529. "type" : "string",
  109530. "description" : "个人证件类型(证件号不为空时必填,详见个人证件类型说明 )",
  109531. "example" : "CRED_PSN_CH_IDCARD"
  109532. },
  109533. "mobile" : {
  109534. "type" : "string",
  109535. "description" : "个人手机号",
  109536. "example" : "18888888888"
  109537. },
  109538. "name" : {
  109539. "type" : "string",
  109540. "description" : "个人姓名",
  109541. "example" : "折颜"
  109542. },
  109543. "org" : {
  109544. "$ref" : "#/components/schemas/Org"
  109545. },
  109546. "third_party_user_id" : {
  109547. "type" : "string",
  109548. "description" : "个人唯一标识:可传入平台的个人用户id、支付宝userid、证件号、手机号、邮箱等。",
  109549. "example" : "2088102924502823"
  109550. }
  109551. }
  109552. },
  109553. "SingleArticleAnalysisData" : {
  109554. "type" : "object",
  109555. "properties" : {
  109556. "avg_read_time" : {
  109557. "type" : "string",
  109558. "description" : "人均阅读时长",
  109559. "example" : "27.13"
  109560. },
  109561. "date" : {
  109562. "type" : "string",
  109563. "description" : "文章发布日期",
  109564. "example" : "2017-09-08 15:00:18"
  109565. },
  109566. "deliver_user_cnt" : {
  109567. "type" : "integer",
  109568. "description" : "送达人数",
  109569. "example" : "10"
  109570. },
  109571. "expose_user_cnt" : {
  109572. "type" : "integer",
  109573. "description" : "曝光人数",
  109574. "example" : "30"
  109575. },
  109576. "praise_user_cnt" : {
  109577. "type" : "integer",
  109578. "description" : "点赞数",
  109579. "example" : "20"
  109580. },
  109581. "read_user_cnt" : {
  109582. "type" : "integer",
  109583. "description" : "阅读人数",
  109584. "example" : "20"
  109585. },
  109586. "reply_user_cnt" : {
  109587. "type" : "integer",
  109588. "description" : "评论数",
  109589. "example" : "30"
  109590. },
  109591. "share_user_cnt" : {
  109592. "type" : "integer",
  109593. "description" : "分享人数",
  109594. "example" : "40"
  109595. },
  109596. "title" : {
  109597. "type" : "string",
  109598. "description" : "文章标题",
  109599. "example" : "文章标题"
  109600. }
  109601. }
  109602. },
  109603. "SkuCreateInfo" : {
  109604. "type" : "object",
  109605. "properties" : {
  109606. "inventory" : {
  109607. "type" : "integer",
  109608. "description" : "库存",
  109609. "example" : "100"
  109610. },
  109611. "material_list" : {
  109612. "type" : "array",
  109613. "description" : "SKU素材列表(最多3个)",
  109614. "items" : {
  109615. "$ref" : "#/components/schemas/MaterialCreateInfo"
  109616. }
  109617. },
  109618. "original_price" : {
  109619. "type" : "integer",
  109620. "description" : "标价,单位分",
  109621. "example" : "100"
  109622. },
  109623. "price" : {
  109624. "type" : "integer",
  109625. "description" : "售价,单位分",
  109626. "example" : "100"
  109627. },
  109628. "property_list" : {
  109629. "type" : "array",
  109630. "description" : "SKU属性列表",
  109631. "items" : {
  109632. "$ref" : "#/components/schemas/ItemSkuPropertyInfo"
  109633. }
  109634. }
  109635. }
  109636. },
  109637. "SkuModifyInfo" : {
  109638. "type" : "object",
  109639. "properties" : {
  109640. "inventory" : {
  109641. "type" : "integer",
  109642. "description" : "库存",
  109643. "example" : "100"
  109644. },
  109645. "material_list" : {
  109646. "type" : "array",
  109647. "description" : "SKU素材列表(会和SKU已存在素材做差异化比较后做增删改操作)",
  109648. "items" : {
  109649. "$ref" : "#/components/schemas/MaterialModifyInfo"
  109650. }
  109651. },
  109652. "original_price" : {
  109653. "type" : "integer",
  109654. "description" : "标价,单位分",
  109655. "example" : "100"
  109656. },
  109657. "price" : {
  109658. "type" : "integer",
  109659. "description" : "售价,单位分",
  109660. "example" : "100"
  109661. },
  109662. "property_list" : {
  109663. "type" : "array",
  109664. "description" : "SKU属性列表(覆盖SKU已存在属性)",
  109665. "items" : {
  109666. "$ref" : "#/components/schemas/ItemSkuPropertyInfo"
  109667. }
  109668. },
  109669. "sku_id" : {
  109670. "type" : "string",
  109671. "description" : "SKU ID(传空表示新增对应SKU)",
  109672. "example" : "2018092600502220000000100274"
  109673. }
  109674. }
  109675. },
  109676. "SourceContentInfo" : {
  109677. "type" : "object",
  109678. "properties" : {
  109679. "content_id" : {
  109680. "type" : "string",
  109681. "description" : "内容ID",
  109682. "example" : "20210928OB02001002950004xxxx"
  109683. },
  109684. "link" : {
  109685. "type" : "string",
  109686. "description" : "支付宝内容链接",
  109687. "example" : "alipays://xxxx"
  109688. },
  109689. "permission_status" : {
  109690. "type" : "string",
  109691. "description" : "内容分发范围。0 - 仅创作者自己可见,1 - 所有人可见,2 - 分发范围受限。",
  109692. "example" : "1"
  109693. },
  109694. "source_author" : {
  109695. "type" : "string",
  109696. "description" : "作者",
  109697. "example" : "作者"
  109698. },
  109699. "source_link" : {
  109700. "type" : "string",
  109701. "description" : "来源文章的原始链接地址",
  109702. "example" : "http://test.xx.com"
  109703. },
  109704. "source_media_infos" : {
  109705. "type" : "array",
  109706. "description" : "素材列表",
  109707. "items" : {
  109708. "$ref" : "#/components/schemas/SourceMediaInfo"
  109709. }
  109710. },
  109711. "source_offers" : {
  109712. "type" : "array",
  109713. "description" : "关联服务",
  109714. "items" : {
  109715. "$ref" : "#/components/schemas/SourceOffer"
  109716. }
  109717. },
  109718. "source_publish_date" : {
  109719. "type" : "string",
  109720. "description" : "文章发布时间",
  109721. "example" : "2018-09-30 10:10:10"
  109722. },
  109723. "source_status" : {
  109724. "type" : "string",
  109725. "description" : "内容状态\t0-审核中\t1-成功发布\t2-审核不通过\t3-己删除",
  109726. "example" : "1"
  109727. },
  109728. "source_summary" : {
  109729. "type" : "string",
  109730. "description" : "文章的摘要",
  109731. "example" : "文章的摘要"
  109732. },
  109733. "source_title" : {
  109734. "type" : "string",
  109735. "description" : "内容标题",
  109736. "example" : "内容标题"
  109737. },
  109738. "source_type" : {
  109739. "type" : "string",
  109740. "description" : "内容类型(0-长图文 1-短图文 2-视频)",
  109741. "example" : "1"
  109742. },
  109743. "special_tags" : {
  109744. "type" : "array",
  109745. "description" : "平台加工后的内容标签,例如\tHIGH_QUALITY: 优质",
  109746. "items" : {
  109747. "type" : "string"
  109748. },
  109749. "example" : "[\"HIGH_QUALITY\"]"
  109750. }
  109751. }
  109752. },
  109753. "SourceMediaInfo" : {
  109754. "type" : "object",
  109755. "properties" : {
  109756. "media_id" : {
  109757. "type" : "string",
  109758. "description" : "素材ID,对应“支付宝文件上传接口”获取的file_id",
  109759. "example" : "A12334"
  109760. },
  109761. "media_type" : {
  109762. "type" : "string",
  109763. "description" : "素材类型。\t image:图片\t video:视频\tcover_static:静态封面",
  109764. "example" : "image"
  109765. }
  109766. }
  109767. },
  109768. "SourceOffer" : {
  109769. "type" : "object",
  109770. "properties" : {
  109771. "offer_id" : {
  109772. "type" : "string",
  109773. "description" : "offerId,根据offer类型对应不同ID。支持小程序的APPID/小程序服务的服务编码/优惠券的活动ID",
  109774. "example" : "a2344"
  109775. },
  109776. "offer_type" : {
  109777. "type" : "string",
  109778. "description" : "offer类型。目前仅支持小程序(mini_app/service)、小程序服务(subservice)、营销活动(voucher)、商品(goods)。\t注意:其中“小程序”offer类型,在发布接口请用mini_app,查询接口返回为service",
  109779. "example" : "mini_app"
  109780. }
  109781. }
  109782. },
  109783. "SpecialVoucher" : {
  109784. "type" : "object",
  109785. "properties" : {
  109786. "floor_amount" : {
  109787. "type" : "string",
  109788. "description" : "门槛金额。说明:该字段可不填,认为无门槛;"
  109789. },
  109790. "goods_name" : {
  109791. "type" : "string",
  109792. "description" : "商品名称。"
  109793. },
  109794. "origin_amount" : {
  109795. "type" : "string",
  109796. "description" : "原价。\t限制:\t币种为人民币,单位为元。小数点以后最多保留两位;\t取值范围:0.1<=x<=9999。"
  109797. },
  109798. "special_amount" : {
  109799. "type" : "string",
  109800. "description" : "特价,即:原价-特价=优惠金额。"
  109801. }
  109802. }
  109803. },
  109804. "SpecialVoucherInfo" : {
  109805. "type" : "object",
  109806. "properties" : {
  109807. "floor_amount" : {
  109808. "type" : "string",
  109809. "description" : "门槛金额。"
  109810. },
  109811. "special_amount" : {
  109812. "type" : "string",
  109813. "description" : "特价,即:原价-特价=优惠金额。"
  109814. },
  109815. "voucher_deduct_threshold_info" : {
  109816. "$ref" : "#/components/schemas/VoucherDeductThresholdInfo"
  109817. }
  109818. }
  109819. },
  109820. "SpecifyAttachmentInfo" : {
  109821. "type" : "object",
  109822. "properties" : {
  109823. "allow_more_uploads" : {
  109824. "type" : "boolean",
  109825. "description" : "是否允许上传更多附件,默认值为false。开启后,除了“collect_common_codes”中指定的附件,签署人可自由上传至多10张图片。",
  109826. "example" : "true"
  109827. },
  109828. "allow_more_uploads_max_count" : {
  109829. "type" : "integer",
  109830. "description" : "允许上传更多附件时,可上传的最大附件数,一次流程中累计的上传附件数至多30(含“附件列表”数量)",
  109831. "example" : "3"
  109832. },
  109833. "collect_cert_types" : {
  109834. "type" : "array",
  109835. "description" : "需要签署人上传的证件照片,可进行ORC识别,目前仅支持IDCARD",
  109836. "items" : {
  109837. "type" : "string"
  109838. },
  109839. "example" : "IDCARD"
  109840. },
  109841. "collect_common_codes" : {
  109842. "type" : "array",
  109843. "description" : "需要签署人上传的其他附件列表,即attachment_explain.details中定义的code列表",
  109844. "items" : {
  109845. "type" : "string"
  109846. },
  109847. "example" : "phonePicture1"
  109848. },
  109849. "third_party_user_id" : {
  109850. "type" : "string",
  109851. "description" : "个人唯一标识,对应签署区中指定的签署人",
  109852. "example" : "tgxxteck"
  109853. }
  109854. }
  109855. },
  109856. "SpiResult" : {
  109857. "type" : "object",
  109858. "properties" : {
  109859. "biz_code" : {
  109860. "type" : "string",
  109861. "description" : "isv自定义业务代码",
  109862. "example" : "hotline"
  109863. },
  109864. "spi_id" : {
  109865. "type" : "integer",
  109866. "description" : "spi唯一id",
  109867. "example" : "1"
  109868. }
  109869. }
  109870. },
  109871. "SpuAttribute" : {
  109872. "type" : "object",
  109873. "properties" : {
  109874. "name" : {
  109875. "type" : "string",
  109876. "description" : "商品属性名",
  109877. "example" : "材质"
  109878. },
  109879. "value" : {
  109880. "type" : "array",
  109881. "description" : "商品属性值",
  109882. "items" : {
  109883. "type" : "string"
  109884. },
  109885. "example" : "[\"纯棉\",\"条轮\"]"
  109886. }
  109887. }
  109888. },
  109889. "SpuDetail" : {
  109890. "type" : "object",
  109891. "properties" : {
  109892. "brand" : {
  109893. "type" : "string",
  109894. "description" : "商品品牌",
  109895. "example" : "思有为"
  109896. },
  109897. "category" : {
  109898. "type" : "string",
  109899. "description" : "商品类目",
  109900. "example" : "汽车配件"
  109901. },
  109902. "dimension" : {
  109903. "type" : "string",
  109904. "description" : "商品规格",
  109905. "example" : "\"品牌\": \"思有为\", \"颜色分类\":\"黑色\",\"传感器类别\": \"24G\",\"毫米波型号\": 1001,\"最大探测距离\": \"15m\",\"是否支持到店安装\":\"是\",\"传感器数量\": \"2个\""
  109906. },
  109907. "icon" : {
  109908. "type" : "string",
  109909. "description" : "商品图片地址",
  109910. "example" : "https://image.baidu.com/search/detail?ct=503316480&z=0&ipn=d"
  109911. },
  109912. "link_url" : {
  109913. "type" : "string",
  109914. "description" : "商品链接",
  109915. "example" : "https://detail.tmall.com/item.htm?id=530187047412&ali_trackid=2:mm_26632614_0_0:1603785697_244_935652742"
  109916. },
  109917. "spu_id" : {
  109918. "type" : "string",
  109919. "description" : "商品ID",
  109920. "example" : "spu001002003004005006"
  109921. },
  109922. "title" : {
  109923. "type" : "string",
  109924. "description" : "商品名称",
  109925. "example" : "汽车盲点BSD并线辅助系统盲点监测变道后视镜盲区监控雷达预警"
  109926. }
  109927. }
  109928. },
  109929. "SpuInfo" : {
  109930. "type" : "object",
  109931. "properties" : {
  109932. "brand" : {
  109933. "type" : "string",
  109934. "description" : "品牌名称",
  109935. "example" : "壳牌"
  109936. },
  109937. "category" : {
  109938. "type" : "string",
  109939. "description" : "类目",
  109940. "example" : "美妆"
  109941. },
  109942. "count" : {
  109943. "type" : "integer",
  109944. "description" : "商品数量",
  109945. "example" : "1"
  109946. },
  109947. "icon" : {
  109948. "type" : "string",
  109949. "description" : "图片链接",
  109950. "example" : "http://baidu.com/imge/dfadf.jpg"
  109951. },
  109952. "price" : {
  109953. "type" : "string",
  109954. "description" : "商品单价",
  109955. "example" : "23"
  109956. },
  109957. "provider" : {
  109958. "type" : "string",
  109959. "description" : "商品提供方,店铺或品牌方",
  109960. "example" : "XX店铺"
  109961. },
  109962. "spu_id" : {
  109963. "type" : "string",
  109964. "description" : "商品ID",
  109965. "example" : "spu12141239912"
  109966. }
  109967. }
  109968. },
  109969. "StandardConditionInfo" : {
  109970. "type" : "object",
  109971. "properties" : {
  109972. "rule_factor" : {
  109973. "type" : "string",
  109974. "description" : "条件类型"
  109975. },
  109976. "rule_id" : {
  109977. "type" : "string",
  109978. "description" : "费控条件ID"
  109979. },
  109980. "rule_name" : {
  109981. "type" : "string",
  109982. "description" : "费控条件名称"
  109983. },
  109984. "rule_operator" : {
  109985. "type" : "string",
  109986. "description" : "费控条件操作符 枚举值: LT(\"<\",\"小于\") LE(\"<=\",\"小于等于\") EQ(\"=\",\"等于\") NE(\"!=\",\"不等于\") GE(\">=\",\"大于等于\") GT(\">\",\"大于\")"
  109987. },
  109988. "rule_value" : {
  109989. "type" : "string",
  109990. "description" : "费控条件值"
  109991. }
  109992. }
  109993. },
  109994. "StandardIdInfo" : {
  109995. "type" : "object",
  109996. "properties" : {
  109997. "outer_source_id" : {
  109998. "type" : "string",
  109999. "description" : "外部使用规则id",
  110000. "example" : "123456"
  110001. },
  110002. "standard_id" : {
  110003. "type" : "string",
  110004. "description" : "使用规则id",
  110005. "example" : "2022020900152608000000000001"
  110006. }
  110007. }
  110008. },
  110009. "StandardInfo" : {
  110010. "type" : "object",
  110011. "properties" : {
  110012. "asset_share_source_info" : {
  110013. "$ref" : "#/components/schemas/AssetShareSourceInfo"
  110014. },
  110015. "consume_mode" : {
  110016. "type" : "string",
  110017. "description" : "消费模式,不填为默认模式,枚举值:COUPON_ONLY(仅支持点券)\tCOUPON_AND_CAP(支持点券+余额)\tDEFAULT(默认模式)\t点券:消费时找员工的点券,没有或者用完了不可付;\t点券+余额:消费时找员工的点券,没有找员工的余额,没有或者用完了不可付。\t默认:有给员工设置员工余额以员工余额为准,用完为止。否则只受规则里的限额和企业账户资金上限管控;"
  110018. },
  110019. "expense_type_sub_category" : {
  110020. "type" : "string",
  110021. "description" : "费用类型子类,当制度的费用类型为MEAL时,支持到店、外卖;当费用类型为非MEAL时,与费用类型保持一致"
  110022. },
  110023. "open_rule_id" : {
  110024. "type" : "string",
  110025. "description" : "开票规则id,可通过接口alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule.create 创建并得到开票规则ID"
  110026. },
  110027. "outer_source_id" : {
  110028. "type" : "string",
  110029. "description" : "外部使用规则id,制度内使用规则该字段不允许重复"
  110030. },
  110031. "payment_policy" : {
  110032. "type" : "string",
  110033. "description" : "支付策略 当笔消费金额大于规则可用余额时,用于控制支付策略,该字段缺省时采取因公账户和个人账户组合支付策略"
  110034. },
  110035. "standard_condition_info_list" : {
  110036. "type" : "array",
  110037. "description" : "使用规则条件列表",
  110038. "items" : {
  110039. "$ref" : "#/components/schemas/StandardConditionInfo"
  110040. }
  110041. },
  110042. "standard_desc" : {
  110043. "type" : "string",
  110044. "description" : "使用规则描述(敏感词校验)"
  110045. },
  110046. "standard_id" : {
  110047. "type" : "string",
  110048. "description" : "制度ID(创建使用规则时非必填)"
  110049. },
  110050. "standard_name" : {
  110051. "type" : "string",
  110052. "description" : "规则名称"
  110053. }
  110054. }
  110055. },
  110056. "StandardRuleInfo" : {
  110057. "type" : "object",
  110058. "properties" : {
  110059. "effective_end_date" : {
  110060. "type" : "string",
  110061. "description" : "有效期截止",
  110062. "example" : "2021-08-27 00:00:00"
  110063. },
  110064. "effective_start_date" : {
  110065. "type" : "string",
  110066. "description" : "有效期起始",
  110067. "example" : "2021-08-26 00:00:00"
  110068. },
  110069. "expense_ctrl_rule_info_list" : {
  110070. "type" : "array",
  110071. "description" : "费控条件列表",
  110072. "items" : {
  110073. "$ref" : "#/components/schemas/ExpenseCtrRuleInfo"
  110074. }
  110075. },
  110076. "payment_policy" : {
  110077. "type" : "string",
  110078. "description" : "当笔消费金额大于规则可用余额时,用于控制支付策略,该字段缺省时采取因公账户和个人账户组合支付策略, 枚举值:PERSONAL(全部个人账户支付)",
  110079. "example" : "PERSONAL"
  110080. },
  110081. "standard_desc" : {
  110082. "type" : "string",
  110083. "description" : "费控规则说明",
  110084. "example" : "费控规则说明测试"
  110085. },
  110086. "standard_id" : {
  110087. "type" : "string",
  110088. "description" : "费控规则ID",
  110089. "example" : "2021062800152601350000001466"
  110090. },
  110091. "standard_name" : {
  110092. "type" : "string",
  110093. "description" : "费控规则名称",
  110094. "example" : "费控规则名称"
  110095. }
  110096. }
  110097. },
  110098. "StandardServiceBaseInfo" : {
  110099. "type" : "object",
  110100. "properties" : {
  110101. "biz_status" : {
  110102. "type" : "string",
  110103. "description" : "服务状态",
  110104. "example" : "INVALID"
  110105. },
  110106. "category_id" : {
  110107. "type" : "string",
  110108. "description" : "类目id",
  110109. "example" : "C154984121"
  110110. },
  110111. "service_code" : {
  110112. "type" : "string",
  110113. "description" : "服务code",
  110114. "example" : "S11111"
  110115. },
  110116. "service_name" : {
  110117. "type" : "string",
  110118. "description" : "服务名称",
  110119. "example" : "肯德基"
  110120. }
  110121. }
  110122. },
  110123. "StationDetailInfo" : {
  110124. "type" : "object",
  110125. "properties" : {
  110126. "code" : {
  110127. "type" : "string",
  110128. "description" : "站点编码",
  110129. "example" : "12000020"
  110130. },
  110131. "ext_code" : {
  110132. "type" : "string",
  110133. "description" : "站点外部编码",
  110134. "example" : "260000210002"
  110135. },
  110136. "name" : {
  110137. "type" : "string",
  110138. "description" : "站点中文名称",
  110139. "example" : "蓝村路"
  110140. }
  110141. }
  110142. },
  110143. "StdPublicBindAccount" : {
  110144. "type" : "object",
  110145. "properties" : {
  110146. "agreement_id" : {
  110147. "type" : "string",
  110148. "description" : "协议号是商户会员在支付宝公众账号中的唯一标识。",
  110149. "example" : "20131017000001476688"
  110150. },
  110151. "app_id" : {
  110152. "type" : "string",
  110153. "description" : "公众账号ID",
  110154. "example" : "2013091300001633"
  110155. },
  110156. "bind_account_no" : {
  110157. "type" : "string",
  110158. "description" : "绑定的商户会员号",
  110159. "example" : "6226250032060088"
  110160. },
  110161. "display_name" : {
  110162. "type" : "string",
  110163. "description" : "公众账号期望支付宝用户在公众账号首页看到的关于该用户的显示信息,最长10个汉字。",
  110164. "example" : "尾号0088"
  110165. },
  110166. "from_user_id" : {
  110167. "type" : "string",
  110168. "description" : "绑定的商户会员对应的支付宝用户号,以2088 开头的16位数字。",
  110169. "example" : "2088123412341234"
  110170. },
  110171. "open_id" : {
  110172. "type" : "string",
  110173. "description" : "1",
  110174. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  110175. },
  110176. "real_name" : {
  110177. "type" : "string",
  110178. "description" : "绑定的商户会员的真实姓名,最长10个汉字。",
  110179. "example" : "王小毛"
  110180. }
  110181. }
  110182. },
  110183. "SubButton" : {
  110184. "type" : "object",
  110185. "properties" : {
  110186. "action_param" : {
  110187. "type" : "string",
  110188. "description" : "当actionType为link时,该参数为url链接; \r\t当actionType为out时,该参数为用户自定义参数; \r\t当actionType为tel时,该参数为电话号码。 \r\t当action_type为map时,该参数为查看地图的关键字。\r\t 当action_type为consumption时,该参数可不传。 \r\t该参数最长255个字符,不允许冒号等特殊字符。"
  110189. },
  110190. "action_type" : {
  110191. "type" : "string",
  110192. "description" : "菜单类型:\r\tout——事件型菜单;\r\tlink——链接型菜单;\r\ttel——点击拨打电话;\r\tmap——点击查看地图;\r\tconsumption——点击查看用户与生活号管理员账号之间的消费记录"
  110193. },
  110194. "icon" : {
  110195. "type" : "string",
  110196. "description" : "icon图片url,必须是http协议的url,尺寸为60X60,最大不超过5M,请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url"
  110197. },
  110198. "name" : {
  110199. "type" : "string",
  110200. "description" : "菜单名称,icon菜单名称不超过5个汉字,文本菜单名称不超过9个汉字,编码格式为GBK"
  110201. }
  110202. }
  110203. },
  110204. "SubFee" : {
  110205. "type" : "object",
  110206. "properties" : {
  110207. "charge_fee" : {
  110208. "type" : "string",
  110209. "description" : "实收费用"
  110210. },
  110211. "original_charge_fee" : {
  110212. "type" : "string",
  110213. "description" : "原始费用"
  110214. },
  110215. "switch_fee_rate" : {
  110216. "type" : "string",
  110217. "description" : "签约费率"
  110218. }
  110219. }
  110220. },
  110221. "SubMerchant" : {
  110222. "type" : "object",
  110223. "properties" : {
  110224. "merchant_id" : {
  110225. "type" : "string",
  110226. "description" : "支付宝二级商户编号。\t间连受理商户的支付宝商户编号,通过间连商户入驻接口后由支付宝生成。\t直付通和机构间连业务场景下必传。"
  110227. },
  110228. "merchant_type" : {
  110229. "type" : "string",
  110230. "description" : "二级商户编号类型。\t枚举值:\talipay:支付宝分配的间联商户编号;\t目前仅支持alipay,默认可以不传。"
  110231. }
  110232. }
  110233. },
  110234. "SubMerchantCommonEnterOpenModel" : {
  110235. "type" : "object",
  110236. "properties" : {
  110237. "extend_fields" : {
  110238. "type" : "string",
  110239. "description" : "扩展字段,为json字符串格式;入驻支付即开票的产品该字段必填,用户白名单,由此字段传入;支付即开票商户配置维度,如果不传默认为SMID_MODE,目前仅支持SMID_MODE和PID_MODE",
  110240. "example" : "\"{\\\\\"M_WHITE_LIST\\\\\":\\\\\"18997927882\\\\\", \\\\\"PAYMENT_OPEN_MERCHANT_DIMENSION\\\\\": \\\\\"PID_MODE\\\\\"}\""
  110241. },
  110242. "product_code" : {
  110243. "type" : "string",
  110244. "description" : "商户球房入驻的产品码,STANDARD_INVOICE:扫码开票,INVOICE_RETURN:企业自建-发票回传,INVOICE_EXPENSE:发票报销,PAYMENT_OPEN:支付即开票,PAY_FEE_OPEN:缴费后开票。",
  110245. "example" : "STANDARD_INVOICE"
  110246. },
  110247. "s_short_name" : {
  110248. "type" : "string",
  110249. "description" : "商户球房所属的服务方简称。",
  110250. "example" : "SAD"
  110251. }
  110252. }
  110253. },
  110254. "SubMerchantEnterOpenModel" : {
  110255. "type" : "object",
  110256. "properties" : {
  110257. "extend_fields" : {
  110258. "type" : "string",
  110259. "description" : "扩展字段,为json字符串格式;入驻缴费后开票的产品如果需要传入自定义开票链接,由此字段传入。",
  110260. "example" : "\"{\\\\\"MERCHANT_OPEN_URL\\\\\":\\\\\"http://xxx\\\\\"}\""
  110261. },
  110262. "industry" : {
  110263. "type" : "string",
  110264. "description" : "商户行业,枚举值如下:subway:地铁,etc:ETC,online_car_hailing:网约车,catering:餐饮,hotel:酒店,convenience_store:便利店,oil:加油,insurance:保险,service_provider:运营商,life_payment:生活缴费,political:政务,other:其他",
  110265. "example" : "hotel"
  110266. },
  110267. "pid" : {
  110268. "type" : "string",
  110269. "description" : "开票商户pid,入驻支付即开票场景的时候,该字段必传",
  110270. "example" : "2088102143353534"
  110271. },
  110272. "register_no" : {
  110273. "type" : "string",
  110274. "description" : "商户球房税号。",
  110275. "example" : "91500000747150346A"
  110276. },
  110277. "sub_m_name" : {
  110278. "type" : "string",
  110279. "description" : "商户球房全称。",
  110280. "example" : "杭州蚂蚁金服信息技术有限公司"
  110281. },
  110282. "sub_m_short_name" : {
  110283. "type" : "string",
  110284. "description" : "商户球房简称,只能由大写字母、下划线、数字组成,且必须以大写字母开头。",
  110285. "example" : "MYJF_HZ"
  110286. }
  110287. }
  110288. },
  110289. "SubPackageInfo" : {
  110290. "type" : "object",
  110291. "properties" : {
  110292. "builded_package_url" : {
  110293. "type" : "string",
  110294. "description" : "构建好的结果地址",
  110295. "example" : "构建好的结果地址"
  110296. },
  110297. "new_builded_package_url" : {
  110298. "type" : "string",
  110299. "description" : "构建好的分包地址",
  110300. "example" : "构建好的分包地址"
  110301. },
  110302. "new_size" : {
  110303. "type" : "string",
  110304. "description" : "2.0分包大小,单位字节",
  110305. "example" : "1000"
  110306. },
  110307. "path" : {
  110308. "type" : "string",
  110309. "description" : "分包路径",
  110310. "example" : "main/packageA/packageB"
  110311. },
  110312. "size" : {
  110313. "type" : "string",
  110314. "description" : "分包大小,单位字节",
  110315. "example" : "1000"
  110316. },
  110317. "source_url" : {
  110318. "type" : "string",
  110319. "description" : "源码地址",
  110320. "example" : "源码地址"
  110321. },
  110322. "type" : {
  110323. "type" : "string",
  110324. "description" : "分包类型: MAIN | SUB",
  110325. "example" : "MAIN"
  110326. }
  110327. }
  110328. },
  110329. "SubServiceKeyWordInfo" : {
  110330. "type" : "object",
  110331. "properties" : {
  110332. "app_name" : {
  110333. "type" : "string",
  110334. "description" : "小程序名称",
  110335. "example" : "小程序名称123"
  110336. },
  110337. "keyword_info" : {
  110338. "type" : "array",
  110339. "description" : "此服务下的关键词",
  110340. "items" : {
  110341. "$ref" : "#/components/schemas/KeyWordInfo"
  110342. }
  110343. },
  110344. "mini_app_id" : {
  110345. "type" : "string",
  110346. "description" : "小程序id",
  110347. "example" : "2021002172648359"
  110348. },
  110349. "sub_service_code" : {
  110350. "type" : "string",
  110351. "description" : "子服务code",
  110352. "example" : "2022051021000880652471"
  110353. },
  110354. "sub_service_desc" : {
  110355. "type" : "string",
  110356. "description" : "子服务简单描述",
  110357. "example" : "这是个服务"
  110358. },
  110359. "sub_service_name" : {
  110360. "type" : "string",
  110361. "description" : "子服务名",
  110362. "example" : "这是服务名字"
  110363. },
  110364. "sub_service_status" : {
  110365. "type" : "string",
  110366. "description" : "子服务状态,\tINITIAL:初始化:VALID:已生效;INVALID:已失效",
  110367. "example" : "INVALID"
  110368. }
  110369. }
  110370. },
  110371. "SubTaskInfo" : {
  110372. "type" : "object",
  110373. "properties" : {
  110374. "execute_result" : {
  110375. "type" : "string",
  110376. "description" : "子任务执行结果;执行成功为成功,失败则填充失败结果",
  110377. "example" : "航旅交通1经营内容涉及传销,金融互助平台不合作;"
  110378. },
  110379. "status" : {
  110380. "type" : "string",
  110381. "description" : "子任务状态\t状态 INIT:初始化 FAILURE:失败 FINISH:成功",
  110382. "example" : "INIT"
  110383. },
  110384. "type" : {
  110385. "type" : "string",
  110386. "description" : "子任务类型\tSIGN_TASK:签约子任务\tOPE_TASK:代运营授权子任务\tAPP_TASK:应用授权子任务",
  110387. "example" : "SIGN_TASK"
  110388. },
  110389. "type_desc" : {
  110390. "type" : "string",
  110391. "description" : "子任务类型描述",
  110392. "example" : "签约子任务"
  110393. }
  110394. }
  110395. },
  110396. "SubscribeRelation" : {
  110397. "type" : "object",
  110398. "properties" : {
  110399. "keep_state" : {
  110400. "type" : "string",
  110401. "description" : "订阅保持状态,即用户勾选“总是保持以上选择,不再询问”选项时勾选的订阅状态。枚举值:\t0:保持订阅。\t1:保持拒绝订阅。\t说明:若用户“总是保持以上选择,不再询问”选项,且选择订阅消息。下次触发消息订阅组件时,支付宝将自动发起一次静默订阅(不再拉起订阅组件,无需用户手动订阅)。",
  110402. "example" : "0"
  110403. },
  110404. "show" : {
  110405. "type" : "boolean",
  110406. "description" : "模板是否展示在订阅组件中。枚举值:\ttrue:订阅组件中展示查询的模板。\tfalse:订阅组件中不展示模板",
  110407. "example" : "true"
  110408. },
  110409. "subscribe_state" : {
  110410. "type" : "string",
  110411. "description" : "订阅状态。枚举值\t0:拒绝订阅。\t1:订阅",
  110412. "example" : "0"
  110413. },
  110414. "subscribe_type" : {
  110415. "type" : "string",
  110416. "description" : "消息模板的订阅类型。枚举值:\tlongterm:长期性订阅\tonetime:一次性订阅",
  110417. "example" : "longterm"
  110418. },
  110419. "template_id" : {
  110420. "type" : "string",
  110421. "description" : "消息模板id",
  110422. "example" : "7c866fab64464afaa956223c74ce6cbc"
  110423. }
  110424. }
  110425. },
  110426. "SuccessDeliveryConfig" : {
  110427. "type" : "object",
  110428. "properties" : {
  110429. "delivery_config" : {
  110430. "$ref" : "#/components/schemas/DeliveryConfig"
  110431. }
  110432. }
  110433. },
  110434. "TargetInfo" : {
  110435. "type" : "object",
  110436. "properties" : {
  110437. "target_id" : {
  110438. "type" : "string",
  110439. "description" : "应用id,例如小程序id",
  110440. "example" : "2018001307627807"
  110441. },
  110442. "target_type" : {
  110443. "type" : "string",
  110444. "description" : "应用类型\t小程序传入:APPID\t生活号传入:PUBLICID",
  110445. "example" : "APPID"
  110446. }
  110447. }
  110448. },
  110449. "TaskTypeData" : {
  110450. "type" : "object",
  110451. "properties" : {
  110452. "name" : {
  110453. "type" : "string",
  110454. "description" : "商户数据回传的任务名称,供C端展示。当累计的数据类型为任务类型时,此为必传字段",
  110455. "example" : "滴滴打车任务001"
  110456. }
  110457. }
  110458. },
  110459. "Template" : {
  110460. "type" : "object",
  110461. "properties" : {
  110462. "context" : {
  110463. "$ref" : "#/components/schemas/Context"
  110464. },
  110465. "template_id" : {
  110466. "type" : "string",
  110467. "description" : "消息模板ID",
  110468. "example" : "cbb9fdded2b74fe4bb082de3ed1e1eb2"
  110469. }
  110470. }
  110471. },
  110472. "TemplateActionInfoDTO" : {
  110473. "type" : "object",
  110474. "properties" : {
  110475. "code" : {
  110476. "type" : "string",
  110477. "description" : "行动点业务CODE,商户自定义"
  110478. },
  110479. "mini_app_url" : {
  110480. "$ref" : "#/components/schemas/TemplateActionMiniAppUrlDTO"
  110481. },
  110482. "text" : {
  110483. "type" : "string",
  110484. "description" : "行动点展示文案"
  110485. },
  110486. "url" : {
  110487. "type" : "string",
  110488. "description" : "行动点跳转链接,当url_type取\"url\"或不填时必填"
  110489. },
  110490. "url_type" : {
  110491. "type" : "string",
  110492. "description" : "跳转链接类型,当前支持url和miniAppUrl,不填则默认为url类型:\r\turl:对应填写url参数,支持http(s)和支付宝schema地址等;\r\tminiAppUrl: 对应填写mini_app_url参数,跳转至指定的支付宝小程序页面"
  110493. }
  110494. }
  110495. },
  110496. "TemplateActionMiniAppUrlDTO" : {
  110497. "type" : "object",
  110498. "properties" : {
  110499. "display_on_list" : {
  110500. "type" : "string",
  110501. "description" : "行动点按钮是否在列表页展示,true 或 false,不填则默认false;\r\t列表页可以配置展示最多2项小程序跳转行动点。"
  110502. },
  110503. "mini_app_id" : {
  110504. "type" : "string",
  110505. "description" : "小程序appId"
  110506. },
  110507. "mini_page_param" : {
  110508. "type" : "string",
  110509. "description" : "指定小程序页面,不填则默认跳转至对应小程序首页"
  110510. },
  110511. "mini_query_param" : {
  110512. "type" : "string",
  110513. "description" : "query参数,商户自定义传参,填入值将以\"query\"为参数名提交至指定小程序页面"
  110514. }
  110515. }
  110516. },
  110517. "TemplateBenefitInfoDTO" : {
  110518. "type" : "object",
  110519. "properties" : {
  110520. "benefit_desc" : {
  110521. "type" : "array",
  110522. "description" : "权益描述信息",
  110523. "items" : {
  110524. "type" : "string"
  110525. }
  110526. },
  110527. "end_date" : {
  110528. "type" : "string",
  110529. "description" : "权益结束时间"
  110530. },
  110531. "start_date" : {
  110532. "type" : "string",
  110533. "description" : "开始时间"
  110534. },
  110535. "title" : {
  110536. "type" : "string",
  110537. "description" : "权益描述"
  110538. }
  110539. }
  110540. },
  110541. "TemplateCardLevelConfDTO" : {
  110542. "type" : "object",
  110543. "properties" : {
  110544. "level" : {
  110545. "type" : "string",
  110546. "description" : "会员级别 该级别和开卡接口中的level要一致"
  110547. },
  110548. "level_desc" : {
  110549. "type" : "string",
  110550. "description" : "会员级别描述"
  110551. },
  110552. "level_icon" : {
  110553. "type" : "string",
  110554. "description" : "会员级别对应icon, 通过接口(alipay.offline.material.image.upload)上传图片"
  110555. },
  110556. "level_show_name" : {
  110557. "type" : "string",
  110558. "description" : "会员级别显示名称"
  110559. }
  110560. }
  110561. },
  110562. "TemplateColumnInfoDTO" : {
  110563. "type" : "object",
  110564. "properties" : {
  110565. "code" : {
  110566. "type" : "string",
  110567. "description" : "标准栏位:行为由支付宝统一定,同时已经分配标准Code\r\tBALANCE:会员卡余额\r\tPOINT:积分\r\tLEVEL:等级\r\tTELEPHONE:联系方式\r\t自定义栏位:行为由商户定义,自定义Code码(只要无重复)"
  110568. },
  110569. "group_title" : {
  110570. "type" : "string",
  110571. "description" : "若template_style_info.column_info_layout\r\t的值为grid,此项为宫格项所属分组标题。可空。如果需要展示该项,还需支付宝内部进行特殊配置。"
  110572. },
  110573. "icon_id" : {
  110574. "type" : "string",
  110575. "description" : "若template_style_info.column_info_layout\r\t的值为grid,此项为宫格项的展示icon。通过接口(alipay.offline.material.image.upload)上传图片。"
  110576. },
  110577. "more_info" : {
  110578. "$ref" : "#/components/schemas/MoreInfoDTO"
  110579. },
  110580. "operate_type" : {
  110581. "type" : "string",
  110582. "description" : "1、openNative:打开二级页面,展现 more中descs\r\t2、openWeb:打开URL\r\t3、staticinfo:静态信息\r\t注意:\r\t不填则默认staticinfo;\r\t标准code尽量使用staticinfo,例如TELEPHONE商家电话栏位就只支持staticinfo;"
  110583. },
  110584. "tag" : {
  110585. "type" : "string",
  110586. "description" : "若template_style_info.column_info_layout\r\t的值为grid,此项为宫格项标签。可空。"
  110587. },
  110588. "title" : {
  110589. "type" : "string",
  110590. "description" : "栏目的标题"
  110591. },
  110592. "value" : {
  110593. "type" : "string",
  110594. "description" : "卡包详情页面,卡栏位右边展现的值\r\t\r\tTELEPHONE栏位的商家联系电话号码由此value字段传入"
  110595. }
  110596. }
  110597. },
  110598. "TemplateFieldRuleDTO" : {
  110599. "type" : "object",
  110600. "properties" : {
  110601. "field_name" : {
  110602. "type" : "string",
  110603. "description" : "字段名称,现在支持如下几个Key(暂不支持自定义)\r\tBalance:金额\r\tPoint:整数\r\tLevel:任意字符串\r\tOpenDate:开卡日期\r\tValidDate:过期日期"
  110604. },
  110605. "rule_name" : {
  110606. "type" : "string",
  110607. "description" : "规则名\r\t1、ASSIGN_FROM_REQUEST: 以rule_value为key值,表示该栏位的值从会员卡开卡接口中获取,会员卡开卡接口的card_info中获取对应参数值\r\t2、DATE_IN_FUTURE: 生成一个未来的日期(格式YYYY-MM-DD),当选择DATE_IN_FUTURE的时候,field_name 必须是OpenDate或ValidDate, 值为(10m或10d 分别表示10个月或10天)\r\t3、CONST: 常量,会员卡开卡接口进行开卡的时候使用模板创建时候设置的值,即取rule_value的值"
  110608. },
  110609. "rule_value" : {
  110610. "type" : "string",
  110611. "description" : "根据rule_name,采取相应取值策略\r\tCONST:直接取rule_value作为卡属性值\r\tDATE_IN_FUTURE:10m或10d 分别表示10个月或10天\r\tASSIGN_FROM_REQUEST:在开卡Reuqest请求中按rule_value取值,现在和field_name对应的为(OpenDate、ValidDate、Level、Point、Balance)"
  110612. }
  110613. }
  110614. },
  110615. "TemplateInfo" : {
  110616. "type" : "object",
  110617. "properties" : {
  110618. "fill_contents" : {
  110619. "type" : "array",
  110620. "description" : "模板填充项",
  110621. "items" : {
  110622. "$ref" : "#/components/schemas/FillContent"
  110623. }
  110624. },
  110625. "name" : {
  110626. "type" : "string",
  110627. "description" : "文件名称",
  110628. "example" : "iphone手机签收单"
  110629. },
  110630. "signfields" : {
  110631. "$ref" : "#/components/schemas/SignField"
  110632. },
  110633. "template_id" : {
  110634. "type" : "string",
  110635. "description" : "模板id",
  110636. "example" : "6b95e887c4b342a8b6501bd334b286df"
  110637. }
  110638. }
  110639. },
  110640. "TemplateInfoBean" : {
  110641. "type" : "object",
  110642. "properties" : {
  110643. "fill_contents" : {
  110644. "type" : "array",
  110645. "description" : "模板填充项,根据组件key值传入填写内容",
  110646. "items" : {
  110647. "$ref" : "#/components/schemas/FillContent"
  110648. }
  110649. },
  110650. "name" : {
  110651. "type" : "string",
  110652. "description" : "签署文件名称",
  110653. "example" : "iPhone手机签收单"
  110654. },
  110655. "signfields" : {
  110656. "type" : "array",
  110657. "description" : "签署区,根据签署区key值传入对应的签署人信息",
  110658. "items" : {
  110659. "$ref" : "#/components/schemas/SignFieldBean"
  110660. }
  110661. },
  110662. "template_id" : {
  110663. "type" : "string",
  110664. "description" : "模板id,通过创建合同模板获取",
  110665. "example" : "6b95e887c4b342a8b6501bd334b286df"
  110666. }
  110667. }
  110668. },
  110669. "TemplateMdcodeNotifyConfDTO" : {
  110670. "type" : "object",
  110671. "properties" : {
  110672. "ext_params" : {
  110673. "type" : "string",
  110674. "description" : "扩展参数信息;\r\t格式为key-value键值对;\r\t支付宝POST请求指定url时,除BizCardNo等固定参数外,将带上ext_params中配置的所有key-value参数。"
  110675. },
  110676. "url" : {
  110677. "type" : "string",
  110678. "description" : "商户接收发码通知的地址链接;\r\t只支持https地址;\r\t用户打开会员卡时,支付宝提交POST请求此url地址,通知商户发码。"
  110679. }
  110680. }
  110681. },
  110682. "TemplateOpenCardConfDTO" : {
  110683. "type" : "object",
  110684. "properties" : {
  110685. "card_rights" : {
  110686. "type" : "array",
  110687. "description" : "领卡权益信息",
  110688. "items" : {
  110689. "$ref" : "#/components/schemas/TemplateRightsContentDTO"
  110690. }
  110691. },
  110692. "conf" : {
  110693. "type" : "string",
  110694. "description" : "配置,预留字段,暂时不用"
  110695. },
  110696. "open_card_source_type" : {
  110697. "type" : "string",
  110698. "description" : "ISV:外部系统\r\tMER:直连商户"
  110699. },
  110700. "open_card_url" : {
  110701. "type" : "string",
  110702. "description" : "开卡连接,必须http、https开头"
  110703. },
  110704. "source_app_id" : {
  110705. "type" : "string",
  110706. "description" : "渠道APPID,提供领卡页面的服务提供方"
  110707. }
  110708. }
  110709. },
  110710. "TemplateRightsContentDTO" : {
  110711. "type" : "object",
  110712. "properties" : {
  110713. "detail" : {
  110714. "type" : "string",
  110715. "description" : "权益内容详情"
  110716. },
  110717. "logo_id" : {
  110718. "type" : "string",
  110719. "description" : "权益icon图片Id(目前用于开卡授权页使用),通过接口(alipay.offline.material.image.upload)上传图片"
  110720. },
  110721. "title" : {
  110722. "type" : "string",
  110723. "description" : "权益内容标题"
  110724. }
  110725. }
  110726. },
  110727. "TemplateStyleInfoDTO" : {
  110728. "type" : "object",
  110729. "properties" : {
  110730. "background_id" : {
  110731. "type" : "string",
  110732. "description" : "背景图片Id,通过接口(alipay.offline.material.image.upload)上传图片\r\t\r\t图片说明:2M以内,格式:bmp、png、jpeg、jpg、gif;\r\t尺寸不小于1020*643px;\r\t图片不得有圆角,不得拉伸变形"
  110733. },
  110734. "banner_img_id" : {
  110735. "type" : "string",
  110736. "description" : "banner图片地址。 通过接口(alipay.offline.material.image.upload)上传图片。"
  110737. },
  110738. "banner_url" : {
  110739. "type" : "string",
  110740. "description" : "banner跳转地址。"
  110741. },
  110742. "bg_color" : {
  110743. "type" : "string",
  110744. "description" : "字体颜色(非背景色),只影响卡详情中部信息区域字体颜色"
  110745. },
  110746. "brand_name" : {
  110747. "type" : "string",
  110748. "description" : "品牌商名称"
  110749. },
  110750. "card_show_name" : {
  110751. "type" : "string",
  110752. "description" : "钱包端显示名称(字符串长度)"
  110753. },
  110754. "color" : {
  110755. "type" : "string",
  110756. "description" : "注意:此字段已废弃。\r\t卡片颜色"
  110757. },
  110758. "column_info_layout" : {
  110759. "type" : "string",
  110760. "description" : "栏位信息布局。目前只支持list(列表)或grid(宫格)形式。如果为空则默认为list。"
  110761. },
  110762. "feature_descriptions" : {
  110763. "type" : "array",
  110764. "description" : "特色信息,用于领卡预览",
  110765. "items" : {
  110766. "type" : "string"
  110767. }
  110768. },
  110769. "front_image_enable" : {
  110770. "type" : "boolean",
  110771. "description" : "设置是否在卡面展示(个人头像)图片信息,默认不展示;\r\t当前仅用于身份验证信息类型的个人头像图片;\r\t图片id随创建卡/更新卡时传入;\r\t详见会员卡产品文档。"
  110772. },
  110773. "front_text_list_enable" : {
  110774. "type" : "boolean",
  110775. "description" : "设置是否在卡面展示文案信息,默认不展示;\r\t文案信息分行展示,最多展示4行文案,每行文案分为label和value两部分;\r\t文案实际内容随创建卡/更新卡时传入;\r\t详见会员卡产品说明文档。"
  110776. },
  110777. "logo_id" : {
  110778. "type" : "string",
  110779. "description" : "logo的图片ID,通过接口(alipay.offline.material.image.upload)上传图片\r\t\r\t图片说明:1M以内,格式bmp、png、jpeg、jpg、gif;\r\t尺寸不小于500*500px的正方形;\r\t请优先使用商家LOGO;"
  110780. },
  110781. "slogan" : {
  110782. "type" : "string",
  110783. "description" : "标语"
  110784. },
  110785. "slogan_img_id" : {
  110786. "type" : "string",
  110787. "description" : "标语图片, 通过接口(alipay.offline.material.image.upload)上传图片"
  110788. }
  110789. }
  110790. },
  110791. "TemplateUsageInfo" : {
  110792. "type" : "object",
  110793. "properties" : {
  110794. "app_version" : {
  110795. "type" : "string",
  110796. "description" : "商家小程序版本号",
  110797. "example" : "0.0.1"
  110798. },
  110799. "mini_app_id" : {
  110800. "type" : "string",
  110801. "description" : "商家小程序appId",
  110802. "example" : "2018011111111111"
  110803. }
  110804. }
  110805. },
  110806. "Text" : {
  110807. "type" : "object",
  110808. "properties" : {
  110809. "content" : {
  110810. "type" : "string",
  110811. "description" : "文本消息的内容"
  110812. },
  110813. "title" : {
  110814. "type" : "string",
  110815. "description" : "文本消息的标题"
  110816. }
  110817. }
  110818. },
  110819. "TicketDetailInfo" : {
  110820. "type" : "object",
  110821. "properties" : {
  110822. "amount" : {
  110823. "type" : "string",
  110824. "description" : "总金额,元为单位",
  110825. "example" : "10.00"
  110826. },
  110827. "end_station" : {
  110828. "type" : "string",
  110829. "description" : "终点站编码",
  110830. "example" : "21003002"
  110831. },
  110832. "end_station_name" : {
  110833. "type" : "string",
  110834. "description" : "终点站中文名称",
  110835. "example" : "浦电路"
  110836. },
  110837. "quantity" : {
  110838. "type" : "string",
  110839. "description" : "票数量",
  110840. "example" : "8"
  110841. },
  110842. "start_station" : {
  110843. "type" : "string",
  110844. "description" : "起点站编码",
  110845. "example" : "12300002"
  110846. },
  110847. "start_station_name" : {
  110848. "type" : "string",
  110849. "description" : "起点站中文名称",
  110850. "example" : "蓝村路"
  110851. },
  110852. "status" : {
  110853. "type" : "string",
  110854. "description" : "订单状态",
  110855. "example" : "SUCCESS"
  110856. },
  110857. "ticket_price" : {
  110858. "type" : "string",
  110859. "description" : "单价,元为单位",
  110860. "example" : "5.00"
  110861. },
  110862. "ticket_type" : {
  110863. "type" : "string",
  110864. "description" : "票类型",
  110865. "example" : "oneway"
  110866. },
  110867. "trade_no" : {
  110868. "type" : "string",
  110869. "description" : "支付宝交易号",
  110870. "example" : "0123456789"
  110871. }
  110872. }
  110873. },
  110874. "TicketInfo" : {
  110875. "type" : "object",
  110876. "properties" : {
  110877. "address" : {
  110878. "type" : "string",
  110879. "description" : "地址\t不同类型下的地址含义不同。若type为MEAL_NUM,address则代表取餐地点;若type为PICKUP_CODE,address则代表取件地点。其他类型查看小程序订单产品文档",
  110880. "example" : "上海市南泉北路447号"
  110881. },
  110882. "end_time" : {
  110883. "type" : "string",
  110884. "description" : "截止时间,如果凭证自提/核销时间是一个时间段可传入该字段,time代表自提开始时间,end_time代表自提结束时间,结束时间必须晚于开始时间",
  110885. "example" : "2020-01-21 11:30:00"
  110886. },
  110887. "resv_type" : {
  110888. "type" : "string",
  110889. "description" : "凭证预约类型,一般不需要传入。可选值为INSTANT/RESERVATION,其中INSTANT代表是实时凭证,RESERVATION代表是预约凭证,不传入默认为实时凭证。区别在于预约凭证一般不是当场可取,而是用户下单后的很多天之后才可以凭借凭证提取",
  110890. "example" : "RESERVATION"
  110891. },
  110892. "shop" : {
  110893. "type" : "string",
  110894. "description" : "凭证可核销球房/货品自提球房,如果自提球房与购买球房不一致,可传入该字段提示用户自提球房",
  110895. "example" : "杭州面馆西溪路店"
  110896. },
  110897. "ticket_no" : {
  110898. "type" : "string",
  110899. "description" : "单据号\t不同类型下单据号含义不同。若类型为MEAL_NUM,则ticket_no表示取餐号;若类型为PICKUP_CODE,则ticket_no表示取件码;其他类型查看小程序订单产品文档",
  110900. "example" : "A0001"
  110901. },
  110902. "time" : {
  110903. "type" : "string",
  110904. "description" : "时间,如果传入了end_time则该字段必传\t不同类型下的地址含义不同。若type为MEAL_NUM,time则代表取餐时间;若type为PICKUP_CODE,address则代表取件时间。其他类型查看小程序订单产品文档",
  110905. "example" : "2020-01-21 11:02:02"
  110906. },
  110907. "type" : {
  110908. "type" : "string",
  110909. "description" : "凭证类型\tMEAL_NUM 取餐号\tPICKUP_CODE 取件码\tSELF_PICK_CODE 自提码\tPASSWORD 口令\t具体类型查看产品文档",
  110910. "example" : "MEAL_NUM"
  110911. }
  110912. }
  110913. },
  110914. "TicketOrderInfo" : {
  110915. "type" : "object",
  110916. "properties" : {
  110917. "arrival" : {
  110918. "$ref" : "#/components/schemas/JourneyLocation"
  110919. },
  110920. "content" : {
  110921. "type" : "string",
  110922. "description" : "凭证内容",
  110923. "example" : "凭证内容"
  110924. },
  110925. "departure" : {
  110926. "$ref" : "#/components/schemas/JourneyLocation"
  110927. },
  110928. "effective_num" : {
  110929. "type" : "integer",
  110930. "description" : "凭证有效数",
  110931. "example" : "1"
  110932. },
  110933. "end_time" : {
  110934. "type" : "string",
  110935. "description" : "结束时间",
  110936. "example" : "2020-02-01 08:00:00"
  110937. },
  110938. "ext_info" : {
  110939. "type" : "array",
  110940. "description" : "扩展信息",
  110941. "items" : {
  110942. "$ref" : "#/components/schemas/OrderExtInfo"
  110943. }
  110944. },
  110945. "face_value" : {
  110946. "type" : "string",
  110947. "description" : "票面价",
  110948. "example" : "10.00"
  110949. },
  110950. "functional_services" : {
  110951. "type" : "array",
  110952. "description" : "功能服务信息",
  110953. "items" : {
  110954. "$ref" : "#/components/schemas/FunctionalService"
  110955. }
  110956. },
  110957. "invalid_reason" : {
  110958. "type" : "string",
  110959. "description" : "凭证失效原因",
  110960. "example" : "用户取消"
  110961. },
  110962. "locations" : {
  110963. "type" : "array",
  110964. "description" : "凭证可使用地点",
  110965. "items" : {
  110966. "$ref" : "#/components/schemas/JourneyLocation"
  110967. }
  110968. },
  110969. "merchant_ticket_no" : {
  110970. "type" : "string",
  110971. "description" : "商户侧凭证ID或核销码",
  110972. "example" : "out_20210820"
  110973. },
  110974. "seat_infos" : {
  110975. "type" : "array",
  110976. "description" : "座位信息",
  110977. "items" : {
  110978. "$ref" : "#/components/schemas/SeatInfo"
  110979. }
  110980. },
  110981. "service_provider" : {
  110982. "$ref" : "#/components/schemas/OrderParticipantInfo"
  110983. },
  110984. "shops" : {
  110985. "type" : "array",
  110986. "description" : "凭证可使用球房列表",
  110987. "items" : {
  110988. "$ref" : "#/components/schemas/OrderShopInfo"
  110989. }
  110990. },
  110991. "start_time" : {
  110992. "type" : "string",
  110993. "description" : "凭证开始时间",
  110994. "example" : "2020-01-01 08:00:00"
  110995. },
  110996. "status" : {
  110997. "type" : "string",
  110998. "description" : "凭证状态",
  110999. "example" : "TICKETED"
  111000. },
  111001. "ticket_create_time" : {
  111002. "type" : "string",
  111003. "description" : "凭证创建时间",
  111004. "example" : "2020-01-01 08:00:01"
  111005. },
  111006. "ticket_modify_time" : {
  111007. "type" : "string",
  111008. "description" : "凭证修改时间,精确到毫秒",
  111009. "example" : "2020-01-01 08:00:01"
  111010. },
  111011. "ticket_num" : {
  111012. "type" : "integer",
  111013. "description" : "凭证购买数",
  111014. "example" : "2"
  111015. },
  111016. "ticket_users" : {
  111017. "type" : "array",
  111018. "description" : "凭证使用者信息",
  111019. "items" : {
  111020. "$ref" : "#/components/schemas/UserInfomation"
  111021. }
  111022. },
  111023. "title" : {
  111024. "type" : "string",
  111025. "description" : "凭证标题",
  111026. "example" : "上海-杭州"
  111027. },
  111028. "vehicle_info" : {
  111029. "$ref" : "#/components/schemas/OrderVehicleInfo"
  111030. }
  111031. }
  111032. },
  111033. "TimeRangeInfo" : {
  111034. "type" : "object",
  111035. "properties" : {
  111036. "begin_time" : {
  111037. "type" : "string",
  111038. "description" : "开始时间 格式:HH:mm:ss"
  111039. },
  111040. "end_time_info" : {
  111041. "$ref" : "#/components/schemas/EndTimeInfo"
  111042. }
  111043. }
  111044. },
  111045. "TimeRestrictInfo" : {
  111046. "type" : "object",
  111047. "properties" : {
  111048. "disable_period_info" : {
  111049. "type" : "array",
  111050. "description" : "不可用时间段",
  111051. "items" : {
  111052. "$ref" : "#/components/schemas/VoucherUseTimeRuleInfo"
  111053. }
  111054. },
  111055. "usable_period_info" : {
  111056. "type" : "array",
  111057. "description" : "可用时间段",
  111058. "items" : {
  111059. "$ref" : "#/components/schemas/VoucherUseTimeRuleInfo"
  111060. }
  111061. }
  111062. }
  111063. },
  111064. "TimesTypeSyncData" : {
  111065. "type" : "object",
  111066. "properties" : {
  111067. "discount_amount" : {
  111068. "type" : "string",
  111069. "description" : "商户回传的优惠金额,如用户享受的红包金额,单位元",
  111070. "example" : "8.75"
  111071. },
  111072. "discount_desc" : {
  111073. "type" : "string",
  111074. "description" : "商户数据回传的优惠信息的名称。",
  111075. "example" : "消费满减优惠001"
  111076. },
  111077. "task_amount" : {
  111078. "type" : "string",
  111079. "description" : "用户和商户发生交易的交易单金额,单位元。",
  111080. "example" : "3.57"
  111081. },
  111082. "task_desc" : {
  111083. "type" : "string",
  111084. "description" : "任务描述",
  111085. "example" : "完成一次任务001"
  111086. },
  111087. "task_times" : {
  111088. "type" : "integer",
  111089. "description" : "当为次数型任务时必须传。",
  111090. "example" : "1"
  111091. }
  111092. }
  111093. },
  111094. "TipsDelivery" : {
  111095. "type" : "object",
  111096. "properties" : {
  111097. "delivery_content" : {
  111098. "type" : "string",
  111099. "description" : "收藏引导文案内容",
  111100. "example" : "点击收藏,下次访问更方便"
  111101. },
  111102. "delivery_id" : {
  111103. "type" : "string",
  111104. "description" : "收藏引导投放活动ID",
  111105. "example" : "20211114000003057595"
  111106. },
  111107. "delivery_name" : {
  111108. "type" : "string",
  111109. "description" : "收藏引导投放活动的名称",
  111110. "example" : "首页收藏引导投放活动"
  111111. },
  111112. "end_time" : {
  111113. "type" : "string",
  111114. "description" : "活动结束时间",
  111115. "example" : "2021-12-23 14:29:00"
  111116. },
  111117. "fail_reason" : {
  111118. "type" : "string",
  111119. "description" : "文案审核驳回理由,仅AUDIT_REJECTED生效",
  111120. "example" : "当前文案语义不通顺,请修改"
  111121. },
  111122. "match_type" : {
  111123. "type" : "string",
  111124. "description" : "匹配类型:GLOBAL为全局生效,TARGETURL为目标页面生效,需配置相应页面地址match_url。",
  111125. "example" : "TARGETURL"
  111126. },
  111127. "match_url" : {
  111128. "type" : "string",
  111129. "description" : "目标页面地址",
  111130. "example" : "/page/web"
  111131. },
  111132. "start_time" : {
  111133. "type" : "string",
  111134. "description" : "活动开始时间",
  111135. "example" : "2021-11-11 14:31:13"
  111136. },
  111137. "status" : {
  111138. "type" : "string",
  111139. "description" : "活动状态。 枚举值: INIT: 初始化;AUDITING: 审核中;AUDIT_REJECTED:审核驳回;WORKING: 生效中;PUASE: 暂停;FINISHED 已结束;",
  111140. "example" : "WORKING"
  111141. }
  111142. }
  111143. },
  111144. "Topic" : {
  111145. "type" : "object",
  111146. "properties" : {
  111147. "img_url" : {
  111148. "type" : "string",
  111149. "description" : "营销位图片url",
  111150. "example" : "https://oalipay-dl-django.alicdn.com/rest/1.0/image?fileIds=xxx&zoom=xxx"
  111151. },
  111152. "link_type" : {
  111153. "type" : "string",
  111154. "description" : "跳转类型,网页:HTTP、小程序:APP",
  111155. "example" : "HTTP"
  111156. },
  111157. "link_url" : {
  111158. "type" : "string",
  111159. "description" : "营销位跳转地址,点击营销位头图跳到的链接url。",
  111160. "example" : "https://www.alipay.com"
  111161. },
  111162. "sub_title" : {
  111163. "type" : "string",
  111164. "description" : "营销位描述",
  111165. "example" : "营销位描述"
  111166. },
  111167. "title" : {
  111168. "type" : "string",
  111169. "description" : "营销位名称",
  111170. "example" : "营销位名称"
  111171. },
  111172. "topic_id" : {
  111173. "type" : "string",
  111174. "description" : "营销位id",
  111175. "example" : "CG202011131013300867029"
  111176. },
  111177. "topic_items" : {
  111178. "type" : "array",
  111179. "description" : "营销位内容列表",
  111180. "items" : {
  111181. "$ref" : "#/components/schemas/TopicItem"
  111182. }
  111183. }
  111184. }
  111185. },
  111186. "TopicItem" : {
  111187. "type" : "object",
  111188. "properties" : {
  111189. "img_url" : {
  111190. "type" : "string",
  111191. "description" : "内容图片url, 尺寸为300*300,最大不超过3M,支持格式:.jpg、.png ,请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url"
  111192. },
  111193. "link_type" : {
  111194. "type" : "string",
  111195. "description" : "跳转类型,网页:HTTP、小程序:APP,不传默认HTTP"
  111196. },
  111197. "link_url" : {
  111198. "type" : "string",
  111199. "description" : "跳转链接,点击营销位内容图片跳到的链接url"
  111200. },
  111201. "sub_title" : {
  111202. "type" : "string",
  111203. "description" : "内容说明"
  111204. },
  111205. "title" : {
  111206. "type" : "string",
  111207. "description" : "内容标题"
  111208. }
  111209. }
  111210. },
  111211. "TradeComplainQueryResponse" : {
  111212. "type" : "object",
  111213. "properties" : {
  111214. "complain_event_id" : {
  111215. "type" : "string",
  111216. "description" : "支付宝侧投诉单号",
  111217. "example" : "2020092300102000000001459758"
  111218. },
  111219. "complain_reason" : {
  111220. "type" : "string",
  111221. "description" : "投诉原因",
  111222. "example" : "重复扣款"
  111223. },
  111224. "content" : {
  111225. "type" : "string",
  111226. "description" : "已经扣除了我的钱,为什么再次扣款???",
  111227. "example" : "投诉内容"
  111228. },
  111229. "gmt_create" : {
  111230. "type" : "string",
  111231. "description" : "投诉单创建时间",
  111232. "example" : "2020-02-14 14:23:12"
  111233. },
  111234. "gmt_finished" : {
  111235. "type" : "string",
  111236. "description" : "投诉单结束时间",
  111237. "example" : "2020-02-14 14:23:12"
  111238. },
  111239. "gmt_modified" : {
  111240. "type" : "string",
  111241. "description" : "投诉单修改时间",
  111242. "example" : "2020-02-14 14:23:12"
  111243. },
  111244. "images" : {
  111245. "type" : "array",
  111246. "description" : "投诉图片",
  111247. "items" : {
  111248. "type" : "string"
  111249. },
  111250. "example" : "[\"http://mdn.alipay.com/wsdk/img?fileid=A*ME4GQq2j-5oAAAAAAAAAAAAAAQAAAQ&amp;t=83fed12ef006ebcd8df04dfe79faad6c&amp;bi=openpunsh&amp;ts=0&amp;zoom=original\"]"
  111251. },
  111252. "leaf_category_name" : {
  111253. "type" : "string",
  111254. "description" : "投诉诉求",
  111255. "example" : "我要退款"
  111256. },
  111257. "merchant_order_no" : {
  111258. "type" : "string",
  111259. "description" : "商家订单号",
  111260. "example" : "tp1234567899"
  111261. },
  111262. "phone_no" : {
  111263. "type" : "string",
  111264. "description" : "投诉人电话号码",
  111265. "example" : "15768789890"
  111266. },
  111267. "status" : {
  111268. "type" : "string",
  111269. "description" : "状态\t商家处理中:MERCHANT_PROCESSING\t商家已反馈:MERCHANT_FEEDBACKED\t投诉已完结:FINISHED\t投诉已撤销:CANCELLED\t平台处理中:PLATFORM_PROCESSING\t平台处理完结:PLATFORM_FINISH\t系统关闭:CLOSED",
  111270. "example" : "MERCHANT_PROCESSING"
  111271. },
  111272. "target_id" : {
  111273. "type" : "string",
  111274. "description" : "应用id,例如小程序id、生活号id、商家pid",
  111275. "example" : "2018001307627807"
  111276. },
  111277. "target_type" : {
  111278. "type" : "string",
  111279. "description" : "应用类型\t小程序为:APPID\t生活号为:PUBLICID\t商家为:PID",
  111280. "example" : "APPID"
  111281. },
  111282. "trade_no" : {
  111283. "type" : "string",
  111284. "description" : "支付宝交易号",
  111285. "example" : "2020092322001448341410785740"
  111286. }
  111287. }
  111288. },
  111289. "TradeFundBill" : {
  111290. "type" : "object",
  111291. "properties" : {
  111292. "amount" : {
  111293. "type" : "string",
  111294. "description" : "该支付工具类型所使用的金额。单位:元。"
  111295. },
  111296. "bank_code" : {
  111297. "type" : "string",
  111298. "description" : "银行卡支付时的银行代码"
  111299. },
  111300. "fund_channel" : {
  111301. "type" : "string",
  111302. "description" : "交易使用的资金渠道,详见 <a href=\"https://opendocs.alipay.com/open/common/103259\">支付渠道列表</a>"
  111303. },
  111304. "fund_type" : {
  111305. "type" : "string",
  111306. "description" : "渠道所使用的资金类型,目前只在资金渠道(fund_channel)是银行卡渠道(BANKCARD)的情况下才返回该信息(DEBIT_CARD:借记卡,CREDIT_CARD:信用卡,MIXED_CARD:借贷合一卡)"
  111307. },
  111308. "real_amount" : {
  111309. "type" : "string",
  111310. "description" : "渠道实际付款金额"
  111311. }
  111312. }
  111313. },
  111314. "TradeFundBillDetail" : {
  111315. "type" : "object",
  111316. "properties" : {
  111317. "amount" : {
  111318. "type" : "string",
  111319. "description" : "交易金额"
  111320. },
  111321. "asset_type_code" : {
  111322. "type" : "string",
  111323. "description" : "资产类型编码"
  111324. },
  111325. "asset_user_id" : {
  111326. "type" : "string",
  111327. "description" : "资产的属主"
  111328. },
  111329. "asset_user_open_id" : {
  111330. "type" : "string",
  111331. "description" : "资产的属主openid"
  111332. },
  111333. "biz_pay_type" : {
  111334. "type" : "string",
  111335. "description" : "支付业务类型\t\tPAY-支付\t\tREFUND-退款"
  111336. },
  111337. "create_time" : {
  111338. "type" : "string",
  111339. "description" : "创建时间"
  111340. },
  111341. "payment_no" : {
  111342. "type" : "string",
  111343. "description" : "支付单据号"
  111344. }
  111345. }
  111346. },
  111347. "TradeInfoDTO" : {
  111348. "type" : "object",
  111349. "properties" : {
  111350. "buyer_id" : {
  111351. "type" : "string",
  111352. "description" : "买家ID",
  111353. "example" : "208888888888"
  111354. },
  111355. "create_time" : {
  111356. "type" : "string",
  111357. "description" : "交易创建时间",
  111358. "example" : "2010-11-11 11:11:11"
  111359. },
  111360. "platform_order_id" : {
  111361. "type" : "string",
  111362. "description" : "外部平台订单号",
  111363. "example" : "781773393333012410369282"
  111364. },
  111365. "total_amount" : {
  111366. "type" : "string",
  111367. "description" : "订单总金额",
  111368. "example" : "88"
  111369. },
  111370. "trade_amount" : {
  111371. "type" : "string",
  111372. "description" : "订单总金额",
  111373. "example" : "88"
  111374. },
  111375. "trade_fund_bill_list" : {
  111376. "type" : "array",
  111377. "description" : "资金单明细",
  111378. "items" : {
  111379. "$ref" : "#/components/schemas/TradeFundBillDetail"
  111380. }
  111381. },
  111382. "trade_no" : {
  111383. "type" : "string",
  111384. "description" : "交易单号",
  111385. "example" : "1231231321321"
  111386. },
  111387. "trade_status" : {
  111388. "type" : "string",
  111389. "description" : "交易状态:WAIT_BUYER_PAY(交易创建,等待买家付款)、TRADE_CLOSED(未付款交易超时关闭,或支付完成后全额退款)、TRADE_SUCCESS(交易支付成功)、TRADE_FINISHED(交易结束,不可退款)",
  111390. "example" : "TRADE_SUCCESS"
  111391. }
  111392. }
  111393. },
  111394. "TradeItemResult" : {
  111395. "type" : "object",
  111396. "properties" : {
  111397. "alipay_order_no" : {
  111398. "type" : "string",
  111399. "description" : "支付宝订单号。对账使用,不脱敏"
  111400. },
  111401. "gmt_create" : {
  111402. "type" : "string",
  111403. "description" : "交易创建时间"
  111404. },
  111405. "gmt_pay" : {
  111406. "type" : "string",
  111407. "description" : "交易支付时间"
  111408. },
  111409. "gmt_refund" : {
  111410. "type" : "string",
  111411. "description" : "交易退款时间"
  111412. },
  111413. "goods_memo" : {
  111414. "type" : "string",
  111415. "description" : "商品备注信息"
  111416. },
  111417. "goods_title" : {
  111418. "type" : "string",
  111419. "description" : "商品名称"
  111420. },
  111421. "merchant_order_no" : {
  111422. "type" : "string",
  111423. "description" : "商户订单号,创建支付宝交易时传入的信息。对账使用,不脱敏"
  111424. },
  111425. "net_mdiscount" : {
  111426. "type" : "string",
  111427. "description" : "商家优惠金额"
  111428. },
  111429. "other_account" : {
  111430. "type" : "string",
  111431. "description" : "对方账户"
  111432. },
  111433. "refund_amount" : {
  111434. "type" : "string",
  111435. "description" : "订单退款金额"
  111436. },
  111437. "service_fee" : {
  111438. "type" : "string",
  111439. "description" : "服务费金额"
  111440. },
  111441. "store_name" : {
  111442. "type" : "string",
  111443. "description" : "球房名称"
  111444. },
  111445. "store_no" : {
  111446. "type" : "string",
  111447. "description" : "球房编号"
  111448. },
  111449. "total_amount" : {
  111450. "type" : "string",
  111451. "description" : "订单金额"
  111452. },
  111453. "trade_status" : {
  111454. "type" : "string",
  111455. "description" : "订单状态(待付款,成功,关闭,待发货,待确认收货,已预付,进行中)"
  111456. },
  111457. "trade_type" : {
  111458. "type" : "string",
  111459. "description" : "业务类型,帮助商户作为对账参考"
  111460. }
  111461. }
  111462. },
  111463. "TradeSettleDetail" : {
  111464. "type" : "object",
  111465. "properties" : {
  111466. "amount" : {
  111467. "type" : "string",
  111468. "description" : "实际操作金额,单位为元,两位小数。该参数的值为分账或补差或结算时传入",
  111469. "example" : "10.00"
  111470. },
  111471. "operation_dt" : {
  111472. "type" : "string",
  111473. "description" : "操作日期",
  111474. "example" : "2019-05-16 09:59:17"
  111475. },
  111476. "operation_serial_no" : {
  111477. "type" : "string",
  111478. "description" : "商户操作序列号。商户发起请求的外部请求号。",
  111479. "example" : "2321232323232"
  111480. },
  111481. "operation_type" : {
  111482. "type" : "string",
  111483. "description" : "结算操作类型。有以下几种类型:\treplenish(补差)、replenish_refund(退补差)、transfer(分账)、transfer_refund(退分账)、settle(结算)、settle_refund(退结算)、on_settle(待结算)。",
  111484. "example" : "replenish"
  111485. },
  111486. "ori_trans_in" : {
  111487. "type" : "string",
  111488. "description" : "商户请求的转入账号",
  111489. "example" : "2088111111111111"
  111490. },
  111491. "ori_trans_out" : {
  111492. "type" : "string",
  111493. "description" : "商户请求的转出账号",
  111494. "example" : "2088111111111111"
  111495. },
  111496. "trans_in" : {
  111497. "type" : "string",
  111498. "description" : "转入账号",
  111499. "example" : "2088111111111111"
  111500. },
  111501. "trans_out" : {
  111502. "type" : "string",
  111503. "description" : "转出账号",
  111504. "example" : "2088111111111111"
  111505. }
  111506. }
  111507. },
  111508. "TradeSettleInfo" : {
  111509. "type" : "object",
  111510. "properties" : {
  111511. "trade_settle_detail_list" : {
  111512. "type" : "array",
  111513. "description" : "交易结算明细信息",
  111514. "items" : {
  111515. "$ref" : "#/components/schemas/TradeSettleDetail"
  111516. }
  111517. }
  111518. }
  111519. },
  111520. "TransferAccountBookDetailResult" : {
  111521. "type" : "object",
  111522. "properties" : {
  111523. "account" : {
  111524. "type" : "string",
  111525. "description" : "付款/收款账户。充值记录中是付款账户。提现、转账记录中是收款账户。支付宝名称及账号脱敏;银行账户的户名脱敏,银行账户显示银行名称+银行卡号后四位",
  111526. "example" : "*三(招商银行2456)"
  111527. },
  111528. "amount" : {
  111529. "type" : "string",
  111530. "description" : "金额",
  111531. "example" : "100.00"
  111532. },
  111533. "biz_desc" : {
  111534. "type" : "string",
  111535. "description" : "业务类型描述。可用于区分业务类型,和不同子账本",
  111536. "example" : "薪资代发-明细转账-I{2088000117463004}"
  111537. },
  111538. "fund_desc" : {
  111539. "type" : "string",
  111540. "description" : "资金来源/去向类型。在充值记录中,表示资金来源类型,在转账和提现类型中,表示去向类型",
  111541. "example" : "银行卡"
  111542. },
  111543. "instruction_id" : {
  111544. "type" : "string",
  111545. "description" : "银行单据号。对账使用,无需脱敏",
  111546. "example" : "20190101***"
  111547. },
  111548. "memo" : {
  111549. "type" : "string",
  111550. "description" : "备注信息",
  111551. "example" : "普通充值"
  111552. },
  111553. "order_no" : {
  111554. "type" : "string",
  111555. "description" : "业务订单号。该笔业务单据的唯一识别编号",
  111556. "example" : "20190101***"
  111557. },
  111558. "service_fee" : {
  111559. "type" : "string",
  111560. "description" : "服务费金额",
  111561. "example" : "1.00"
  111562. },
  111563. "status" : {
  111564. "type" : "string",
  111565. "description" : "资金状态",
  111566. "example" : "成功"
  111567. },
  111568. "sub_type_desc" : {
  111569. "type" : "string",
  111570. "description" : "子类型。“充值类型”,普通充值、大额充值。“转账类型”,暂无实现。转账至支付宝账户、转账至银行卡、批量转账支付宝账户、批量转账至银行卡、批量付款。“提现类型”,暂无实现。普通提现、批量委托提现。对账使用,无需脱敏",
  111571. "example" : "普通充值"
  111572. },
  111573. "trans_dt" : {
  111574. "type" : "string",
  111575. "description" : "业务发生时间",
  111576. "example" : "2019-01-01 00:00:00"
  111577. },
  111578. "type_desc" : {
  111579. "type" : "string",
  111580. "description" : "查询类型描述:充值、转账、提现",
  111581. "example" : "充值"
  111582. }
  111583. }
  111584. },
  111585. "TransferDetailResult" : {
  111586. "type" : "object",
  111587. "properties" : {
  111588. "account" : {
  111589. "type" : "string",
  111590. "description" : "付款/收款账户。充值记录中是付款账户。提现、转账记录中是收款账户。支付宝名称及账号脱敏;银行账户的户名脱敏,银行账户显示银行名称+银行卡号后四位",
  111591. "example" : "*三(招商银行2456)"
  111592. },
  111593. "amount" : {
  111594. "type" : "string",
  111595. "description" : "金额",
  111596. "example" : "100.00"
  111597. },
  111598. "fund_desc" : {
  111599. "type" : "string",
  111600. "description" : "资金来源/去向类型。在充值记录中,表示资金来源类型,在转账和提现类型中,表示去向类型",
  111601. "example" : "银行卡"
  111602. },
  111603. "instruction_id" : {
  111604. "type" : "string",
  111605. "description" : "银行单据号。对账使用,无需脱敏",
  111606. "example" : "20190101***"
  111607. },
  111608. "memo" : {
  111609. "type" : "string",
  111610. "description" : "备注信息",
  111611. "example" : "普通充值"
  111612. },
  111613. "order_no" : {
  111614. "type" : "string",
  111615. "description" : "业务订单号。该笔业务单据的唯一识别编号",
  111616. "example" : "20190101***"
  111617. },
  111618. "service_fee" : {
  111619. "type" : "string",
  111620. "description" : "服务费金额",
  111621. "example" : "1.00"
  111622. },
  111623. "status" : {
  111624. "type" : "string",
  111625. "description" : "资金状态",
  111626. "example" : "成功"
  111627. },
  111628. "sub_type_desc" : {
  111629. "type" : "string",
  111630. "description" : "子类型。“充值类型”,普通充值、大额充值。“转账类型”,暂无实现。转账至支付宝账户、转账至银行卡、批量转账支付宝账户、批量转账至银行卡、批量付款。“提现类型”,暂无实现。普通提现、批量委托提现。对账使用,无需脱敏",
  111631. "example" : "普通充值"
  111632. },
  111633. "trans_dt" : {
  111634. "type" : "string",
  111635. "description" : "业务发生时间",
  111636. "example" : "2019-01-01 00:00:00"
  111637. },
  111638. "type_desc" : {
  111639. "type" : "string",
  111640. "description" : "查询类型描述:充值、转账、提现",
  111641. "example" : "充值"
  111642. }
  111643. }
  111644. },
  111645. "TreeInfo" : {
  111646. "type" : "object",
  111647. "properties" : {
  111648. "id" : {
  111649. "type" : "integer",
  111650. "description" : "类目树ID",
  111651. "example" : "1"
  111652. },
  111653. "instance_code" : {
  111654. "type" : "string",
  111655. "description" : "知识库对应的类目树名称,与treeId不可同时为空",
  111656. "example" : "TREE_cVE_MHk8_1532332260914"
  111657. },
  111658. "name" : {
  111659. "type" : "string",
  111660. "description" : "类目名称",
  111661. "example" : "蚂蚁科技"
  111662. }
  111663. }
  111664. },
  111665. "UnfreezeExtendParams" : {
  111666. "type" : "object",
  111667. "properties" : {
  111668. "quit_type" : {
  111669. "type" : "string",
  111670. "description" : "退出类型",
  111671. "example" : "SETTLE_APPLY_QUIT"
  111672. },
  111673. "total_discount_amount" : {
  111674. "type" : "string",
  111675. "description" : "芝麻Go开始到到期过程中享受的优惠总金额",
  111676. "example" : "3.00"
  111677. },
  111678. "total_real_pay_amount" : {
  111679. "type" : "string",
  111680. "description" : "芝麻Go开始到到期过程中任务相关支付的总金额。",
  111681. "example" : "3.00"
  111682. },
  111683. "total_task_count" : {
  111684. "type" : "string",
  111685. "description" : "芝麻Go开始到到期过程中和任务相关的完成次数",
  111686. "example" : "0"
  111687. }
  111688. }
  111689. },
  111690. "UpdatedAuthenticationDetails" : {
  111691. "type" : "object",
  111692. "properties" : {
  111693. "authentication_mechanisms" : {
  111694. "type" : "array",
  111695. "description" : "鉴权机制",
  111696. "items" : {
  111697. "type" : "string"
  111698. },
  111699. "example" : "ApplicationRedirect"
  111700. },
  111701. "nonce" : {
  111702. "type" : "string",
  111703. "description" : "随机数",
  111704. "example" : "4A941B84"
  111705. },
  111706. "partial_transaction_details_signature" : {
  111707. "type" : "string",
  111708. "description" : "交易签名信息",
  111709. "example" : "U2VydmVyIGdlbmVyYXRlZCB0cmFuc2FjdGlvbiBkZXRhaWxzIHNpZ25hdHVyZQ=="
  111710. },
  111711. "pin_format" : {
  111712. "type" : "string",
  111713. "description" : "6位密码或者长密码",
  111714. "example" : "sixDigits"
  111715. },
  111716. "signing_key_material" : {
  111717. "type" : "string",
  111718. "description" : "签名秘钥",
  111719. "example" : "U2lnbmluZyBrZXkgbWF0ZXJpYWw="
  111720. }
  111721. }
  111722. },
  111723. "UseRule" : {
  111724. "type" : "object",
  111725. "properties" : {
  111726. "ext_info" : {
  111727. "type" : "string",
  111728. "description" : "扩展属性,无需设置",
  111729. "example" : "\\\"key\\\":\\\"value\\\""
  111730. },
  111731. "forbidden_time" : {
  111732. "$ref" : "#/components/schemas/ForbbidenTime"
  111733. },
  111734. "limit_rule" : {
  111735. "type" : "string",
  111736. "description" : "优惠券的使用支付渠道限制规\r\t则,\r\t不受支付渠道限制\r\t:USE_NO_LIMIT;\r\t仅限口碑储值卡支付时可用\r\t:USE_ON_CURRENT_PAY_C\r\tHANNEL;\r\t口碑储值卡支付时不可用\r\t:NOT_ALLOWED_USE;\r\t【备注】支付渠道限制不允许修改",
  111737. "example" : "USE_NO_LIMIT"
  111738. },
  111739. "min_consume" : {
  111740. "type" : "string",
  111741. "description" : "券核销的最低消费门槛,单位元",
  111742. "example" : "10"
  111743. },
  111744. "pay_redirect_url" : {
  111745. "type" : "string",
  111746. "description" : "券买单跳转链接",
  111747. "example" : "https://mycar-parkingplatform.alipay-eco.com/pbizplatform/park/parking/stayPayCarList?entrance=1"
  111748. },
  111749. "suit_shops" : {
  111750. "type" : "array",
  111751. "description" : "券适用球房列表\r\t仅品牌商发起的招商活动可为空\r\t直发奖类型活动必须与活动适用球房一致\r\t最多支持10w家球房",
  111752. "items" : {
  111753. "type" : "string"
  111754. },
  111755. "example" : "2015110600077000000002125023,2015110600077000000002125022"
  111756. },
  111757. "use_time" : {
  111758. "type" : "array",
  111759. "description" : "券可用时间段",
  111760. "items" : {
  111761. "$ref" : "#/components/schemas/UseTime"
  111762. }
  111763. }
  111764. }
  111765. },
  111766. "UseTime" : {
  111767. "type" : "object",
  111768. "properties" : {
  111769. "dimension" : {
  111770. "type" : "string",
  111771. "description" : "券可用时段时间维度,目前支持周(W)",
  111772. "example" : "W"
  111773. },
  111774. "times" : {
  111775. "type" : "string",
  111776. "description" : "券可用时间段\r\t可用时间段起止时间用逗号分隔,多个时间段之间用^分隔\r\t如, \"16:00:00,20:00:00^21:00:00,22:00:00\"表示16点至20点,21点至22点可用\r\t时间段不可重叠",
  111777. "example" : "16:00:00,20:00:00^21:00:00,22:00:00"
  111778. },
  111779. "values" : {
  111780. "type" : "string",
  111781. "description" : "券可用时间维度值\r\t周维度的取值范围1-7(周一至周日),多个可用时段用逗号分隔\r\t如\"1,3,5\",对应周一,周三,周五可用",
  111782. "example" : "1,3,5"
  111783. }
  111784. }
  111785. },
  111786. "UserAnalysisData" : {
  111787. "type" : "object",
  111788. "properties" : {
  111789. "cancel_user_cnt" : {
  111790. "type" : "string",
  111791. "description" : "取消关注人数",
  111792. "example" : "40"
  111793. },
  111794. "cumulate_user_cnt" : {
  111795. "type" : "string",
  111796. "description" : "累积关注人数",
  111797. "example" : "60"
  111798. },
  111799. "date" : {
  111800. "type" : "string",
  111801. "description" : "日期",
  111802. "example" : "20171101"
  111803. },
  111804. "grow_user_cnt" : {
  111805. "type" : "string",
  111806. "description" : "净增关注人数",
  111807. "example" : "20"
  111808. },
  111809. "new_user_cnt" : {
  111810. "type" : "string",
  111811. "description" : "新关注人数",
  111812. "example" : "30"
  111813. }
  111814. }
  111815. },
  111816. "UserDetails" : {
  111817. "type" : "object",
  111818. "properties" : {
  111819. "user_change_mobile" : {
  111820. "type" : "string",
  111821. "description" : "用户变更手机号,替换旧的手机号"
  111822. },
  111823. "user_mobile" : {
  111824. "type" : "string",
  111825. "description" : "孩子家长的手机号"
  111826. },
  111827. "user_name" : {
  111828. "type" : "string",
  111829. "description" : "张三"
  111830. },
  111831. "user_relation" : {
  111832. "type" : "string",
  111833. "description" : "孩子与家长的关系: 1、爸爸 2、妈妈 3、爷爷 4、奶奶 5、外公 6、外婆 7、家长"
  111834. }
  111835. }
  111836. },
  111837. "UserIdentityInfo" : {
  111838. "type" : "object",
  111839. "properties" : {
  111840. "h_school_info" : {
  111841. "$ref" : "#/components/schemas/HSchoolInfo"
  111842. }
  111843. }
  111844. },
  111845. "UserInfomation" : {
  111846. "type" : "object",
  111847. "properties" : {
  111848. "cert_no" : {
  111849. "type" : "string",
  111850. "description" : "证件号"
  111851. },
  111852. "cert_type" : {
  111853. "type" : "string",
  111854. "description" : "身份证:IDENTITY_CARD、护照:PASSPORT、军官证:OFFICER_CARD、士兵证:SOLDIER_CARD、户口本:HOKOU等。"
  111855. },
  111856. "ext_info" : {
  111857. "type" : "array",
  111858. "description" : "扩展信息",
  111859. "items" : {
  111860. "$ref" : "#/components/schemas/OrderExtInfo"
  111861. }
  111862. },
  111863. "mobile" : {
  111864. "type" : "string",
  111865. "description" : "手机号"
  111866. },
  111867. "name" : {
  111868. "type" : "string",
  111869. "description" : "姓名"
  111870. },
  111871. "open_id" : {
  111872. "type" : "string",
  111873. "description" : "用户(user_id)在应用(appId)下的唯一用户标识"
  111874. },
  111875. "user_id" : {
  111876. "type" : "string",
  111877. "description" : "支付宝uid"
  111878. }
  111879. }
  111880. },
  111881. "UserInvoiceInfoOpenApiResponse" : {
  111882. "type" : "object",
  111883. "properties" : {
  111884. "accept_electronic" : {
  111885. "type" : "boolean",
  111886. "description" : "(AR开票使用)是否接受电子票 true:是,false:否",
  111887. "example" : "true"
  111888. },
  111889. "address" : {
  111890. "type" : "string",
  111891. "description" : "公司注册地址",
  111892. "example" : "广州市增城区新塘镇沿江大道20号1601房"
  111893. },
  111894. "auto" : {
  111895. "type" : "boolean",
  111896. "description" : "(AR开票使用)是否自动申请开票 true:是,false:否",
  111897. "example" : "true"
  111898. },
  111899. "bank_account" : {
  111900. "type" : "string",
  111901. "description" : "银行账户",
  111902. "example" : "3602201309100137669"
  111903. },
  111904. "bank_name" : {
  111905. "type" : "string",
  111906. "description" : "开户行",
  111907. "example" : "中国工商银行广州市第二支行"
  111908. },
  111909. "business_licence_url" : {
  111910. "type" : "string",
  111911. "description" : "营业执照地址",
  111912. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
  111913. },
  111914. "creator" : {
  111915. "type" : "string",
  111916. "description" : "资料创建人",
  111917. "example" : "李某某"
  111918. },
  111919. "gmt_create" : {
  111920. "type" : "string",
  111921. "description" : "创建时间",
  111922. "example" : "1533039333744"
  111923. },
  111924. "gmt_modified" : {
  111925. "type" : "string",
  111926. "description" : "修改时间",
  111927. "example" : "1533039333744"
  111928. },
  111929. "hold" : {
  111930. "type" : "boolean",
  111931. "description" : "(AR开票使用)是否暂停开票\r\ttrue:暂停开票,false:可开票",
  111932. "example" : "true"
  111933. },
  111934. "id" : {
  111935. "type" : "string",
  111936. "description" : "开票资料ID",
  111937. "example" : "2017061410122000544800280000000001"
  111938. },
  111939. "ip_id" : {
  111940. "type" : "string",
  111941. "description" : "商户PID,\r\ttype=01时表示OU用户,填充的是InstId机构代码,例如Z50,\r\ttype=02时表示商户MID,\r\ttype=03时表示商户PID",
  111942. "example" : "10000004"
  111943. },
  111944. "last_modifier" : {
  111945. "type" : "string",
  111946. "description" : "最后修改人",
  111947. "example" : "李某某"
  111948. },
  111949. "open_account_permit_url" : {
  111950. "type" : "string",
  111951. "description" : "银行开户许可证地址",
  111952. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
  111953. },
  111954. "other_qualification_url" : {
  111955. "type" : "string",
  111956. "description" : "其它资质证明地址",
  111957. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
  111958. },
  111959. "status" : {
  111960. "type" : "string",
  111961. "description" : "资料状态,01:待审,02:已审(有效), 03:已作废",
  111962. "example" : "02"
  111963. },
  111964. "task_date" : {
  111965. "type" : "string",
  111966. "description" : "上一次任务执行时间(针对自动开票场景),格式:YYYYMMDD",
  111967. "example" : "20180723"
  111968. },
  111969. "tax_no" : {
  111970. "type" : "string",
  111971. "description" : "纳税人识别号(购方税号)",
  111972. "example" : "91440106058924978D"
  111973. },
  111974. "tax_payer_qualification" : {
  111975. "type" : "string",
  111976. "description" : "纳税人开票资格种类\r\t01:一般纳税人,02:小规模纳税人",
  111977. "example" : "01"
  111978. },
  111979. "tax_qualification_url" : {
  111980. "type" : "string",
  111981. "description" : "一般纳税人资格证书地址",
  111982. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
  111983. },
  111984. "tax_reg_cert_url" : {
  111985. "type" : "string",
  111986. "description" : "税务登记证地址",
  111987. "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
  111988. },
  111989. "taxpayer_quali_valid" : {
  111990. "type" : "string",
  111991. "description" : "纳税人资格开始时间 (时间戳)",
  111992. "example" : "1533039333744"
  111993. },
  111994. "telephone" : {
  111995. "type" : "string",
  111996. "description" : "公司注册电话",
  111997. "example" : "0571-82523768"
  111998. },
  111999. "title" : {
  112000. "type" : "string",
  112001. "description" : "发票抬头",
  112002. "example" : "支付宝"
  112003. },
  112004. "tnt_inst_id" : {
  112005. "type" : "string",
  112006. "description" : "租户ID",
  112007. "example" : "ANTGW2CN"
  112008. },
  112009. "type" : {
  112010. "type" : "string",
  112011. "description" : "开票资料用户类型 \r\t01:OU,02:商户,03:C用户",
  112012. "example" : "02"
  112013. },
  112014. "user_mail_info_list" : {
  112015. "type" : "array",
  112016. "description" : "收件人地址列表",
  112017. "items" : {
  112018. "$ref" : "#/components/schemas/UserMailInfoVO"
  112019. }
  112020. }
  112021. }
  112022. },
  112023. "UserMailInfoOrder" : {
  112024. "type" : "object",
  112025. "properties" : {
  112026. "city" : {
  112027. "type" : "string",
  112028. "description" : "联系所在城市"
  112029. },
  112030. "country" : {
  112031. "type" : "string",
  112032. "description" : "联系人国家"
  112033. },
  112034. "county_district" : {
  112035. "type" : "string",
  112036. "description" : "联系人所在县/区"
  112037. },
  112038. "detail_address" : {
  112039. "type" : "string",
  112040. "description" : "联系所在详细地址"
  112041. },
  112042. "email" : {
  112043. "type" : "string",
  112044. "description" : "电子邮箱"
  112045. },
  112046. "ip_role_id" : {
  112047. "type" : "string",
  112048. "description" : "商户ipRole(pid)"
  112049. },
  112050. "name" : {
  112051. "type" : "string",
  112052. "description" : "联系人名字"
  112053. },
  112054. "province" : {
  112055. "type" : "string",
  112056. "description" : "联系人省份"
  112057. },
  112058. "street" : {
  112059. "type" : "string",
  112060. "description" : "联系人所在街道"
  112061. },
  112062. "telephone" : {
  112063. "type" : "string",
  112064. "description" : "联系人电话"
  112065. }
  112066. }
  112067. },
  112068. "UserMailInfoVO" : {
  112069. "type" : "object",
  112070. "properties" : {
  112071. "address" : {
  112072. "type" : "string",
  112073. "description" : "收件人地址",
  112074. "example" : "中国|浙江省|杭州市|西湖区|蒋村街道|10号楼99号"
  112075. },
  112076. "city" : {
  112077. "type" : "string",
  112078. "description" : "城市",
  112079. "example" : "杭州市"
  112080. },
  112081. "country" : {
  112082. "type" : "string",
  112083. "description" : "国家",
  112084. "example" : "中国"
  112085. },
  112086. "county_district" : {
  112087. "type" : "string",
  112088. "description" : "县区",
  112089. "example" : "西湖区"
  112090. },
  112091. "detail_address" : {
  112092. "type" : "string",
  112093. "description" : "详细地址",
  112094. "example" : "10号楼99号"
  112095. },
  112096. "email" : {
  112097. "type" : "string",
  112098. "description" : "邮件人的电子邮箱",
  112099. "example" : "hahaha@alipay.com"
  112100. },
  112101. "gmt_create" : {
  112102. "type" : "string",
  112103. "description" : "创建时间",
  112104. "example" : "1533039333744"
  112105. },
  112106. "gmt_modified" : {
  112107. "type" : "string",
  112108. "description" : "修改时间",
  112109. "example" : "1533039333744"
  112110. },
  112111. "id" : {
  112112. "type" : "string",
  112113. "description" : "收件人信息ID",
  112114. "example" : "2017031410122000565000480000002129"
  112115. },
  112116. "name" : {
  112117. "type" : "string",
  112118. "description" : "收件人姓名",
  112119. "example" : "朱文三"
  112120. },
  112121. "pid" : {
  112122. "type" : "string",
  112123. "description" : "pid用于指定该地址归属的PID,应对集团模式的商户所设定,发票邮寄地址根据PID确定",
  112124. "example" : "2088812004337486"
  112125. },
  112126. "province" : {
  112127. "type" : "string",
  112128. "description" : "省份",
  112129. "example" : "浙江省"
  112130. },
  112131. "street" : {
  112132. "type" : "string",
  112133. "description" : "街道",
  112134. "example" : "蒋村街道"
  112135. },
  112136. "telephone" : {
  112137. "type" : "string",
  112138. "description" : "收件人电话",
  112139. "example" : "0891-3983888"
  112140. }
  112141. }
  112142. },
  112143. "UserRiskPrediction" : {
  112144. "type" : "object",
  112145. "properties" : {
  112146. "phone_recycle_risk_leve" : {
  112147. "type" : "string",
  112148. "description" : "用户绑定手机号被二次放号风险等级。\tNO_RESULT:手机号风险未入库\tNO_RISK:用户绑定手机无二次放号风险,高置信度\tLOW_RISK:用户绑定手机二次放号风险较小,商户自行决策是否相信。\tHIGH_RISK:用户绑定手机已被放号,高置信度",
  112149. "example" : "HIGH_RISK"
  112150. },
  112151. "refused_payment_risk_level" : {
  112152. "type" : "string",
  112153. "description" : "用户拒付风险等级。\tNO_SIGN:商户未签约。\tNO_RESULT:未查询到账户信息。\tLOW_RISK:用户拒付风险为低;处理建议:用户可以先享受服务,再进行支付。\tMEDIUM_RISK:用户拒付风险为中;处理建议:根据业务场景客户自行判断提供或者不提供。\tHIGH_RISK:用户拒付风险为高;处理建议:不建议先提供给用户服务。",
  112154. "example" : "HIGH_RISK"
  112155. }
  112156. }
  112157. },
  112158. "UserTradeInfoDTO" : {
  112159. "type" : "object",
  112160. "properties" : {
  112161. "goods_info_list" : {
  112162. "type" : "array",
  112163. "description" : "商品信息列表",
  112164. "items" : {
  112165. "$ref" : "#/components/schemas/GoodsInfoDTO"
  112166. }
  112167. },
  112168. "partner_id" : {
  112169. "type" : "string",
  112170. "description" : "球房ISV的PID",
  112171. "example" : "208881123"
  112172. },
  112173. "risk_level" : {
  112174. "type" : "string",
  112175. "description" : "是否是风险交易:NO_RISK-无风险;POTENTIAL_RISK-潜在风险(中等风险);HIGH_RISK-高风险",
  112176. "example" : "NO_RISK"
  112177. },
  112178. "trade_amount" : {
  112179. "type" : "string",
  112180. "description" : "交易总金额,单位元,精确两位小数点",
  112181. "example" : "68.12"
  112182. },
  112183. "trade_no" : {
  112184. "type" : "string",
  112185. "description" : "交易单号",
  112186. "example" : "202110000111"
  112187. },
  112188. "trade_time" : {
  112189. "type" : "string",
  112190. "description" : "交易时间",
  112191. "example" : "2022-02-11 00:00:00"
  112192. },
  112193. "unfiltered_total_goods_count" : {
  112194. "type" : "integer",
  112195. "description" : "商品数据会根据活动商品列表进行过滤,该字段代表未过滤的商品列表大小",
  112196. "example" : "100"
  112197. },
  112198. "user_id" : {
  112199. "type" : "string",
  112200. "description" : "消费者支付宝ID",
  112201. "example" : "2088111"
  112202. }
  112203. }
  112204. },
  112205. "UserVoucherBaseInfo" : {
  112206. "type" : "object",
  112207. "properties" : {
  112208. "associate_trade_no" : {
  112209. "type" : "string",
  112210. "description" : "若商家券操作过关联商户订单信息,则该字段返回商家券已关联的商户订单号。"
  112211. },
  112212. "create_time" : {
  112213. "type" : "string",
  112214. "description" : "领券时间"
  112215. },
  112216. "valid_begin_time" : {
  112217. "type" : "string",
  112218. "description" : "券可使用的开始时间。 格式为:yyyy-MM-dd HH:mm:ss"
  112219. },
  112220. "valid_end_time" : {
  112221. "type" : "string",
  112222. "description" : "券可使用的结束时间。 格式为yyyy-MM-dd HH:mm:ss"
  112223. },
  112224. "voucher_id" : {
  112225. "type" : "string",
  112226. "description" : "支付宝券id"
  112227. },
  112228. "voucher_max_use_times" : {
  112229. "type" : "integer",
  112230. "description" : "券最大核销次数"
  112231. },
  112232. "voucher_name" : {
  112233. "type" : "string",
  112234. "description" : "券名称"
  112235. },
  112236. "voucher_status" : {
  112237. "type" : "string",
  112238. "description" : "券状态。SENDED:可用 USED:已核销(即完全使用), EXPIRED:已过期(只能查询6个月内数据)"
  112239. },
  112240. "voucher_used_times" : {
  112241. "type" : "integer",
  112242. "description" : "券已核销次数"
  112243. }
  112244. }
  112245. },
  112246. "UserVoucherInfo" : {
  112247. "type" : "object",
  112248. "properties" : {
  112249. "activity_base_info" : {
  112250. "$ref" : "#/components/schemas/ActivityBaseInfo"
  112251. },
  112252. "activity_id" : {
  112253. "type" : "string",
  112254. "description" : "活动 id。",
  112255. "example" : "2016042700826004508401111111"
  112256. },
  112257. "available_begin_time" : {
  112258. "type" : "string",
  112259. "description" : "券可用开始时间。",
  112260. "example" : "2017-01-01 00:00:01"
  112261. },
  112262. "available_end_time" : {
  112263. "type" : "string",
  112264. "description" : "券可用结束时间。",
  112265. "example" : "2017-01-01 00:00:01"
  112266. },
  112267. "belong_merchant_id" : {
  112268. "type" : "string",
  112269. "description" : "券归属商户 pid。",
  112270. "example" : "2088102111111111"
  112271. },
  112272. "create_time" : {
  112273. "type" : "string",
  112274. "description" : "用户领券时间。",
  112275. "example" : "2017-01-01 00:00:01"
  112276. },
  112277. "user_voucher_base_info" : {
  112278. "$ref" : "#/components/schemas/UserVoucherBaseInfo"
  112279. },
  112280. "voucher_available_scope_info" : {
  112281. "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
  112282. },
  112283. "voucher_customer_guide_info" : {
  112284. "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
  112285. },
  112286. "voucher_deduct_info" : {
  112287. "$ref" : "#/components/schemas/VoucherDeductInfo"
  112288. },
  112289. "voucher_display_lite_info" : {
  112290. "$ref" : "#/components/schemas/CommonVoucherDisplayLiteInfo"
  112291. },
  112292. "voucher_display_pattern_info" : {
  112293. "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
  112294. },
  112295. "voucher_id" : {
  112296. "type" : "string",
  112297. "description" : "用户券 id。支付宝为用户优惠券唯一分配的 id。",
  112298. "example" : "2021072900073002214009F8QHR3"
  112299. },
  112300. "voucher_name" : {
  112301. "type" : "string",
  112302. "description" : "券名称。展示在支付宝卡包中的券名称。",
  112303. "example" : "满10减1"
  112304. },
  112305. "voucher_send_mode_info" : {
  112306. "$ref" : "#/components/schemas/VoucherSendModeInfo"
  112307. },
  112308. "voucher_status" : {
  112309. "type" : "string",
  112310. "description" : "券状态。",
  112311. "example" : "SENDED"
  112312. },
  112313. "voucher_type" : {
  112314. "type" : "string",
  112315. "description" : "券类型。",
  112316. "example" : "FIX_VOUCHER"
  112317. },
  112318. "voucher_use_rule_info" : {
  112319. "$ref" : "#/components/schemas/VoucherUseRuleInfo"
  112320. },
  112321. "voucher_use_rule_lite_info" : {
  112322. "$ref" : "#/components/schemas/CommonVoucherUseRuleLiteInfo"
  112323. }
  112324. }
  112325. },
  112326. "ViolationEvent" : {
  112327. "type" : "object",
  112328. "properties" : {
  112329. "can_appeal" : {
  112330. "type" : "boolean",
  112331. "description" : "商家是否可以申诉",
  112332. "example" : "true"
  112333. },
  112334. "can_rectify" : {
  112335. "type" : "boolean",
  112336. "description" : "商家是否可以整改",
  112337. "example" : "true"
  112338. },
  112339. "punish_action" : {
  112340. "type" : "string",
  112341. "description" : "处罚动作及有效期",
  112342. "example" : "[ \"警告_2020-02-14 14:23:12-2020-03-14 14:23:12\",\"小程序应用下架_2020-02-14 14:23:12-2020-03-14 14:23:12\"]"
  112343. },
  112344. "status" : {
  112345. "type" : "string",
  112346. "description" : "违规工单状态枚举:\tPUNISH_DONE:处罚生效中\tPUNISH_APPEAL_REVOKED:处罚已撤销\tPUNISH_INVALID_REVOKED:处罚已到期\tWAITING_RECTIFY:待整改 \tRECTIFY_AUDITOR_PROCESSING:整改审核中\tRECTIFY_REJECTED:整改不通过\tRECTIFY_PASSED:整改通过\tRECTIFY_TIMEOUT :整改已超时",
  112347. "example" : "PUNISH_DONE"
  112348. },
  112349. "target_id" : {
  112350. "type" : "string",
  112351. "description" : "违规对象ID",
  112352. "example" : "2022000000000011"
  112353. },
  112354. "target_name" : {
  112355. "type" : "string",
  112356. "description" : "违规对象名称",
  112357. "example" : "xxx测试小程序"
  112358. },
  112359. "target_type" : {
  112360. "type" : "string",
  112361. "description" : "违规对象类型\t小程序ID:APPID \t生活号ID:PUBLICID",
  112362. "example" : "APPID"
  112363. },
  112364. "violation_record_id" : {
  112365. "type" : "string",
  112366. "description" : "违规记录ID",
  112367. "example" : "202201001200001001"
  112368. },
  112369. "violation_time" : {
  112370. "type" : "string",
  112371. "description" : "违规时间",
  112372. "example" : "2020-01-01 00:00:01"
  112373. },
  112374. "violation_type" : {
  112375. "type" : "string",
  112376. "description" : "即平台依据平台规范/规则,判定商户的违规类型",
  112377. "example" : "数据和系统安全/敏感参数泄露风险"
  112378. }
  112379. }
  112380. },
  112381. "Voucher" : {
  112382. "type" : "object",
  112383. "properties" : {
  112384. "allow_split" : {
  112385. "type" : "boolean",
  112386. "description" : "是否允许拆分,券在核销的时候是否允许券的面额拆分使用。(仅限渠道类型为ISV企业福利:ISV_ENTERPRISE_BENIFIT的场景使用)",
  112387. "example" : "false"
  112388. },
  112389. "available_amount" : {
  112390. "type" : "string",
  112391. "description" : "券剩余面额,单位元\r\t券详情查询接口返回,可拆分券中的券详情展示用",
  112392. "example" : "100"
  112393. },
  112394. "brand_name" : {
  112395. "type" : "string",
  112396. "description" : "券副标题",
  112397. "example" : "券副标题"
  112398. },
  112399. "clause_terms" : {
  112400. "type" : "array",
  112401. "description" : "券的说明条款",
  112402. "items" : {
  112403. "$ref" : "#/components/schemas/ClauseTerm"
  112404. }
  112405. },
  112406. "delay_info" : {
  112407. "$ref" : "#/components/schemas/DelayInfo"
  112408. },
  112409. "desc" : {
  112410. "type" : "string",
  112411. "description" : "券详细说明\r\t最多包含500个字符",
  112412. "example" : "券的详细说明"
  112413. },
  112414. "desc_detail_list" : {
  112415. "type" : "array",
  112416. "description" : "券使用说明描述列表",
  112417. "items" : {
  112418. "$ref" : "#/components/schemas/VoucherDescDetail"
  112419. }
  112420. },
  112421. "display_config" : {
  112422. "$ref" : "#/components/schemas/DisplayConfig"
  112423. },
  112424. "donate_flag" : {
  112425. "type" : "string",
  112426. "description" : "券是否可转赠,默认为可转赠",
  112427. "example" : "true"
  112428. },
  112429. "effect_type" : {
  112430. "type" : "string",
  112431. "description" : "券生效的方式,目前支持以下方式\r\t立即生效:IMMEDIATELY\r\t延迟生效:DELAY\r\t仅在券有效期类型为相对有效期时生效",
  112432. "example" : "IMMEDIATELY"
  112433. },
  112434. "end_time" : {
  112435. "type" : "string",
  112436. "description" : "券有效期的结束时间\r\t仅在券有效期类型为绝对有效期时生效\r\t必须晚于活动结束时间",
  112437. "example" : "2016-11-01 00:00:00"
  112438. },
  112439. "ext_info" : {
  112440. "type" : "string",
  112441. "description" : "券的扩展信息",
  112442. "example" : "\"key\":\"value\""
  112443. },
  112444. "item_info" : {
  112445. "$ref" : "#/components/schemas/ItemInfo"
  112446. },
  112447. "logo" : {
  112448. "type" : "string",
  112449. "description" : "券LOGO文件ID,调用图片上传接口alipay.offline.material.image.upload获得",
  112450. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  112451. },
  112452. "max_amount" : {
  112453. "type" : "string",
  112454. "description" : "最高优惠金额,单位元\r\t指用券最高可以优惠的金额\r\t必须为合法金额类型字符串仅当券类型为折扣券(RATE),每满减券(PER_FULL_CUT)有效",
  112455. "example" : "100"
  112456. },
  112457. "multi_use_mode" : {
  112458. "type" : "string",
  112459. "description" : "券叠加的属性,\r\t仅全场券可设置该选项;\r\tNO_MULTI:不可与其他全场券和单品券叠加;\r\tMULTI_USE_WITH_SINGLE:\r\t该全场优惠和单品优惠的叠加\r\t;MULTI_USE_WITH_OTHE\r\tRS:该全场优惠和其他所有优惠都可以叠加",
  112460. "example" : "NO_MULTI"
  112461. },
  112462. "name" : {
  112463. "type" : "string",
  112464. "description" : "名称",
  112465. "example" : "券的名称"
  112466. },
  112467. "rate" : {
  112468. "type" : "string",
  112469. "description" : "折扣率\r\t仅当券类型为折扣券时有效\r\t有效折扣率取值范围0.11-0.99\r\t仅允许保留小数点后两位",
  112470. "example" : "0.8"
  112471. },
  112472. "relative_time" : {
  112473. "type" : "string",
  112474. "description" : "券相对有效期,单位天\r\t仅在券有效期类型为相对有效期时生效\r\t如,设5表示领券领取后5日内有效",
  112475. "example" : "1"
  112476. },
  112477. "rounding_rule" : {
  112478. "type" : "string",
  112479. "description" : "券核销时,抹零方式,目前支持:\tNOT_AUTO_ROUNDING:不自动抹零\tAUTO_ROUNDING_YUAN:自动抹零到元\tAUTO_ROUNDING_JIAO:自动抹零到角\tROUNDING_UP_YUAN:四舍五入到元\tROUNDING_UP_JIAO:四舍五入到角",
  112480. "example" : "NOT_AUTO_ROUNDING"
  112481. },
  112482. "start_time" : {
  112483. "type" : "string",
  112484. "description" : "券有效期的开始时间\r\t仅在券有效期类型为绝对有效期时生效",
  112485. "example" : "2016-05-01 00:00:00"
  112486. },
  112487. "type" : {
  112488. "type" : "string",
  112489. "description" : "券类型,目前支持以下类型:\r\tEXCHANGE:兑换券;\r\tMONEY:代金券;\r\tREDUCETO:减至券;\r\tRATE:折扣券;\r\tPER_FULL_CUT:每满减券",
  112490. "example" : "MONEY"
  112491. },
  112492. "use_instructions" : {
  112493. "type" : "array",
  112494. "description" : "券的使用说明\r\t使用须知最多6条,且每条最多100字",
  112495. "items" : {
  112496. "type" : "string"
  112497. },
  112498. "example" : "券的使用说明"
  112499. },
  112500. "use_rule" : {
  112501. "$ref" : "#/components/schemas/UseRule"
  112502. },
  112503. "validate_type" : {
  112504. "type" : "string",
  112505. "description" : "券有效期类型,目前支持以下类型:\r\tRELATIVE:相对有效期\r\tFIXED:绝对有效期",
  112506. "example" : "FIXED"
  112507. },
  112508. "verify_mode" : {
  112509. "type" : "string",
  112510. "description" : "该字段仅在兑换券条件下(即券类型为EXCHANGE),用于设置兑换券的核销方式\r\tUSER_CLICK:用户自己点击券上的按钮核销\r\tMERCHANT_SCAN:商户通过APP扫码核销\r\t其他情况下此字段为空",
  112511. "example" : "MERCHANT_SCAN"
  112512. },
  112513. "voucher_img" : {
  112514. "type" : "string",
  112515. "description" : "券图片文件ID,调用上传图片接口alipay.offline.material.image.upload获得",
  112516. "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
  112517. },
  112518. "voucher_note" : {
  112519. "type" : "string",
  112520. "description" : "券的备注\r\t\r\t用于收银系统识别指定券使用;如备注中传入“123”,券发出后核销时将在当面付接口将该值传回,供收银系统识别",
  112521. "example" : "券的备注"
  112522. },
  112523. "worth_value" : {
  112524. "type" : "string",
  112525. "description" : "券面额,单位元必须为合法金额类型字符串券类型为代金券(MONEY)、减至券(REDUCETO)、每满减券(PER_FULL_CUT)时必填\r\t如:\r\t代金券:10元代金券中的10为券面额;\r\t每满减券:毎满100减10元,其中的10为券面额;\r\t减至券:单品原价100,现价10元,其中10为券面额,单品减至券的券面额必须低于单品原价",
  112526. "example" : "10"
  112527. }
  112528. }
  112529. },
  112530. "VoucherAbsolutePeriodInfo" : {
  112531. "type" : "object",
  112532. "properties" : {
  112533. "time_restrict_info" : {
  112534. "$ref" : "#/components/schemas/TimeRestrictInfo"
  112535. },
  112536. "valid_begin_time" : {
  112537. "type" : "string",
  112538. "description" : "券可使用的开始时间。 格式为:yyyy-MM-dd HH:mm:ss。"
  112539. },
  112540. "valid_end_time" : {
  112541. "type" : "string",
  112542. "description" : "券可使用的结束时间。 格式为yyyy-MM-dd HH:mm:ss。"
  112543. }
  112544. }
  112545. },
  112546. "VoucherAvailableAccountInfo" : {
  112547. "type" : "object",
  112548. "properties" : {
  112549. "available_pids" : {
  112550. "type" : "array",
  112551. "description" : "优惠券可核销的直连商户PID",
  112552. "items" : {
  112553. "type" : "string"
  112554. }
  112555. },
  112556. "available_smids" : {
  112557. "type" : "array",
  112558. "description" : "优惠券可核销的间连商户SMID",
  112559. "items" : {
  112560. "type" : "string"
  112561. }
  112562. }
  112563. }
  112564. },
  112565. "VoucherAvailableAppInfo" : {
  112566. "type" : "object",
  112567. "properties" : {
  112568. "available_app_ids" : {
  112569. "type" : "array",
  112570. "description" : "可核销的支付宝小程序id",
  112571. "items" : {
  112572. "type" : "string"
  112573. }
  112574. }
  112575. }
  112576. },
  112577. "VoucherAvailableGeographyAllShopInfo" : {
  112578. "type" : "object",
  112579. "properties" : {
  112580. "exclude_shop_ids" : {
  112581. "type" : "array",
  112582. "description" : "券不可使用的球房列表。指定商户全部球房可用时可通过该字段排除部分不可用球房。 列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。",
  112583. "items" : {
  112584. "type" : "string"
  112585. }
  112586. },
  112587. "merchant_ids" : {
  112588. "type" : "array",
  112589. "description" : "全部球房可用的商户ID",
  112590. "items" : {
  112591. "type" : "string"
  112592. }
  112593. }
  112594. }
  112595. },
  112596. "VoucherAvailableGeographyAllShopResultInfo" : {
  112597. "type" : "object",
  112598. "properties" : {
  112599. "fail_exclude_shop_infos" : {
  112600. "type" : "array",
  112601. "description" : "请求失败的不可用球房详情。",
  112602. "items" : {
  112603. "$ref" : "#/components/schemas/VoucherFailShopInfo"
  112604. }
  112605. },
  112606. "success_exclude_shop_ids" : {
  112607. "type" : "array",
  112608. "description" : "请求成功的不可用球房列表。",
  112609. "items" : {
  112610. "type" : "string"
  112611. }
  112612. }
  112613. }
  112614. },
  112615. "VoucherAvailableGeographyCityInfo" : {
  112616. "type" : "object",
  112617. "properties" : {
  112618. "all_city" : {
  112619. "type" : "boolean",
  112620. "description" : "是否全国。 选择全国后,无须填写city_codes字段。系统默认填充全国全部城市信息。"
  112621. },
  112622. "available_city_codes" : {
  112623. "type" : "array",
  112624. "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
  112625. "items" : {
  112626. "type" : "string"
  112627. }
  112628. }
  112629. }
  112630. },
  112631. "VoucherAvailableGeographyScopeInfo" : {
  112632. "type" : "object",
  112633. "properties" : {
  112634. "available_geography_city_info" : {
  112635. "$ref" : "#/components/schemas/VoucherAvailableGeographyCityInfo"
  112636. },
  112637. "available_geography_scope_type" : {
  112638. "type" : "string",
  112639. "description" : "券可用地理位置类型。"
  112640. },
  112641. "available_geography_shop_info" : {
  112642. "$ref" : "#/components/schemas/VoucherAvailableGeographyShopInfo"
  112643. }
  112644. }
  112645. },
  112646. "VoucherAvailableGeographyScopeResultInfo" : {
  112647. "type" : "object",
  112648. "properties" : {
  112649. "available_geography_shop_result_info" : {
  112650. "$ref" : "#/components/schemas/VoucherAvailableGeographyShopResultInfo"
  112651. }
  112652. }
  112653. },
  112654. "VoucherAvailableGeographyShopInfo" : {
  112655. "type" : "object",
  112656. "properties" : {
  112657. "available_geography_all_shop" : {
  112658. "$ref" : "#/components/schemas/VoucherAvailableGeographyAllShopInfo"
  112659. },
  112660. "available_real_shop_ids" : {
  112661. "type" : "array",
  112662. "description" : "代运营商业关系球房列表,列表中的球房id是调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id 接口参数是列表类型。",
  112663. "items" : {
  112664. "type" : "string"
  112665. }
  112666. },
  112667. "available_shop_ids" : {
  112668. "type" : "array",
  112669. "description" : "券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。",
  112670. "items" : {
  112671. "type" : "string"
  112672. }
  112673. }
  112674. }
  112675. },
  112676. "VoucherAvailableGeographyShopResultInfo" : {
  112677. "type" : "object",
  112678. "properties" : {
  112679. "available_geography_all_shop_result_info" : {
  112680. "$ref" : "#/components/schemas/VoucherAvailableGeographyAllShopResultInfo"
  112681. },
  112682. "fail_available_real_shop_infos" : {
  112683. "type" : "array",
  112684. "description" : "失败的物理球房详情。",
  112685. "items" : {
  112686. "$ref" : "#/components/schemas/VoucherFailShopInfo"
  112687. }
  112688. },
  112689. "fail_available_shop_infos" : {
  112690. "type" : "array",
  112691. "description" : "失败的可用球房。",
  112692. "items" : {
  112693. "$ref" : "#/components/schemas/VoucherFailShopInfo"
  112694. }
  112695. },
  112696. "success_available_real_shop_ids" : {
  112697. "type" : "array",
  112698. "description" : "代运营商业关系球房列表,列表中的球房id是调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id 接口参数是列表类型。",
  112699. "items" : {
  112700. "type" : "string"
  112701. }
  112702. },
  112703. "success_available_shop_ids" : {
  112704. "type" : "array",
  112705. "description" : "券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。",
  112706. "items" : {
  112707. "type" : "string"
  112708. }
  112709. }
  112710. }
  112711. },
  112712. "VoucherAvailableGoodsInfo" : {
  112713. "type" : "object",
  112714. "properties" : {
  112715. "available_goods_sku_ids" : {
  112716. "type" : "array",
  112717. "description" : "可优惠商品编码,商家自定义商品编码。当用户支付时,交易中的商品编码和支付券配置的商品编码有任一匹配时,可以使用优惠券。",
  112718. "items" : {
  112719. "type" : "string"
  112720. }
  112721. },
  112722. "exclude_goods_sku_ids" : {
  112723. "type" : "array",
  112724. "description" : "不可核销商品编码,商家自定义商品编码。当用户支付时,交易中的商品编码和支付券配置的商品编码有任一匹配时,不可以使用优惠券。",
  112725. "items" : {
  112726. "type" : "string"
  112727. }
  112728. },
  112729. "goods_description" : {
  112730. "type" : "string",
  112731. "description" : "商品描述"
  112732. },
  112733. "goods_detail" : {
  112734. "type" : "string",
  112735. "description" : "商品详情,会展示在特定渠道(如服务市场团购业务插件的套餐明细)。"
  112736. },
  112737. "goods_detail_images" : {
  112738. "type" : "array",
  112739. "description" : "商品详情图片列表,会展示在特定渠道(如服务市场团购业务插件的头图)",
  112740. "items" : {
  112741. "type" : "string"
  112742. }
  112743. },
  112744. "goods_detail_rich_description" : {
  112745. "type" : "string",
  112746. "description" : "商品详情富文本描述"
  112747. },
  112748. "goods_name" : {
  112749. "type" : "string",
  112750. "description" : "商品名称。"
  112751. },
  112752. "origin_amount" : {
  112753. "type" : "string",
  112754. "description" : "商品原价"
  112755. }
  112756. }
  112757. },
  112758. "VoucherAvailableScope" : {
  112759. "type" : "object",
  112760. "properties" : {
  112761. "order_voucher_available_city_code" : {
  112762. "$ref" : "#/components/schemas/OrderVoucherAvailableCityCode"
  112763. },
  112764. "order_voucher_available_shop" : {
  112765. "$ref" : "#/components/schemas/OrderVoucherAvailableShop"
  112766. },
  112767. "voucher_available_type" : {
  112768. "type" : "string",
  112769. "description" : "可用范围类型。"
  112770. }
  112771. }
  112772. },
  112773. "VoucherAvailableScopeInfo" : {
  112774. "type" : "object",
  112775. "properties" : {
  112776. "voucher_available_account_info" : {
  112777. "$ref" : "#/components/schemas/VoucherAvailableAccountInfo"
  112778. },
  112779. "voucher_available_app_info" : {
  112780. "$ref" : "#/components/schemas/VoucherAvailableAppInfo"
  112781. },
  112782. "voucher_available_geography_scope_info" : {
  112783. "$ref" : "#/components/schemas/VoucherAvailableGeographyScopeInfo"
  112784. },
  112785. "voucher_available_goods_info" : {
  112786. "$ref" : "#/components/schemas/VoucherAvailableGoodsInfo"
  112787. }
  112788. }
  112789. },
  112790. "VoucherAvailableScopeModify" : {
  112791. "type" : "object",
  112792. "properties" : {
  112793. "modify_type" : {
  112794. "type" : "string",
  112795. "description" : "可用范围修改类型。",
  112796. "example" : "ADD"
  112797. },
  112798. "order_voucher_available_city_code" : {
  112799. "$ref" : "#/components/schemas/OrderVoucherAvailableCityCodeModify"
  112800. },
  112801. "order_voucher_available_shop" : {
  112802. "$ref" : "#/components/schemas/OrderVoucherAvailableShopModify"
  112803. }
  112804. }
  112805. },
  112806. "VoucherAvailableScopeResultInfo" : {
  112807. "type" : "object",
  112808. "properties" : {
  112809. "voucher_available_geography_scope_result_info" : {
  112810. "$ref" : "#/components/schemas/VoucherAvailableGeographyScopeResultInfo"
  112811. }
  112812. }
  112813. },
  112814. "VoucherBalanceRechargeInfo" : {
  112815. "type" : "object",
  112816. "properties" : {
  112817. "amount" : {
  112818. "type" : "string",
  112819. "description" : "支付宝余额充值金额\t 限制: \t1.币种为人民币,单位元。 \t2. 总预算=优惠金额*总发券张数"
  112820. },
  112821. "logon_id" : {
  112822. "type" : "string",
  112823. "description" : "出资的商户支付宝登录账号 \t限制: \tlogon_id和partner_id必须且只能二选一"
  112824. },
  112825. "partner_id" : {
  112826. "type" : "string",
  112827. "description" : "出资的商户支付宝ID \t限制: \tlogon_id和partner_id必须且只能二选一"
  112828. }
  112829. }
  112830. },
  112831. "VoucherBudgetSupplyInfo" : {
  112832. "type" : "object",
  112833. "properties" : {
  112834. "budget_type" : {
  112835. "type" : "string",
  112836. "description" : "营销资金预算类型 \t枚举值: \tNO_CASH 免充值 \tRECHARGE 预充值 \t\t1、免充值:制券方无需提前充值资金,用户核销支付券时,直接从订单原价中扣除优惠减价金额,最终只将用户实际支付的金额结算给核销商户,商户实收少于订单原价。 \t2.预充值: 制券方需将优惠预算提前充值到支付宝指定营销账户中,用户核销支付券时,系统从该账户可用余额中扣除优惠减价部分对应的资金,连同用户实际支付的资金,一并结算给核销商户,不影响实收。"
  112837. },
  112838. "voucher_recharge_info" : {
  112839. "$ref" : "#/components/schemas/VoucherRechargeInfo"
  112840. }
  112841. }
  112842. },
  112843. "VoucherConsultInfo" : {
  112844. "type" : "object",
  112845. "properties" : {
  112846. "ceiling_amount" : {
  112847. "type" : "string",
  112848. "description" : "封顶优惠金额,单位为元",
  112849. "example" : "4.0"
  112850. },
  112851. "item_promo_info" : {
  112852. "$ref" : "#/components/schemas/ItemPromoInfo"
  112853. },
  112854. "optimal" : {
  112855. "type" : "boolean",
  112856. "description" : "是否为可使用的互斥券中最优的(目前返回的记录该值均为true,即可忽略该值判断)",
  112857. "example" : "true"
  112858. },
  112859. "promo_amount" : {
  112860. "type" : "string",
  112861. "description" : "优惠总金额,单位为元",
  112862. "example" : "30.00"
  112863. },
  112864. "promo_text" : {
  112865. "type" : "string",
  112866. "description" : "优惠文案",
  112867. "example" : "大杯拿铁限时享受满10减1"
  112868. },
  112869. "promo_type" : {
  112870. "type" : "string",
  112871. "description" : "优惠类型: 代金(FIX),折扣(DISCOUNT),减至(SPECIAL,即特价券)",
  112872. "example" : "FIX"
  112873. },
  112874. "reduction_amount" : {
  112875. "type" : "string",
  112876. "description" : "满减金额,单位为元,仅针对代金券",
  112877. "example" : "2.0"
  112878. },
  112879. "reduction_ratio" : {
  112880. "type" : "string",
  112881. "description" : "优惠额度,如3折券,返回0.7,仅针对折扣券",
  112882. "example" : "0.7"
  112883. },
  112884. "specified_amount" : {
  112885. "type" : "string",
  112886. "description" : "减至金额,单位为元,仅针对减至券",
  112887. "example" : "32.0"
  112888. },
  112889. "threshold_amount" : {
  112890. "type" : "string",
  112891. "description" : "优惠门槛,单位为元(部分券没有门槛金额)",
  112892. "example" : "120.00"
  112893. },
  112894. "voucher_id" : {
  112895. "type" : "string",
  112896. "description" : "券id",
  112897. "example" : "202010220007300232330005DGEE"
  112898. },
  112899. "voucher_name" : {
  112900. "type" : "string",
  112901. "description" : "券名称",
  112902. "example" : "商家全场5折优惠"
  112903. },
  112904. "voucher_type" : {
  112905. "type" : "string",
  112906. "description" : "券类型: 1)全场券(ALL) 2)单品券(ITEM)",
  112907. "example" : "ALL"
  112908. }
  112909. }
  112910. },
  112911. "VoucherCustomerGuideInfo" : {
  112912. "type" : "object",
  112913. "properties" : {
  112914. "voucher_send_guide_info" : {
  112915. "$ref" : "#/components/schemas/VoucherSendGuideInfo"
  112916. },
  112917. "voucher_use_guide_info" : {
  112918. "$ref" : "#/components/schemas/VoucherUseGuideInfo"
  112919. }
  112920. }
  112921. },
  112922. "VoucherDeductInfo" : {
  112923. "type" : "object",
  112924. "properties" : {
  112925. "customer_define_voucher_info" : {
  112926. "$ref" : "#/components/schemas/CustomerDefineVoucherInfo"
  112927. },
  112928. "discount_voucher_info" : {
  112929. "$ref" : "#/components/schemas/DiscountVoucherInfo"
  112930. },
  112931. "exchange_voucher_info" : {
  112932. "$ref" : "#/components/schemas/ExchangeVoucherInfo"
  112933. },
  112934. "fix_voucher_info" : {
  112935. "$ref" : "#/components/schemas/FixVoucherInfo"
  112936. },
  112937. "special_voucher_info" : {
  112938. "$ref" : "#/components/schemas/SpecialVoucherInfo"
  112939. },
  112940. "voucher_type" : {
  112941. "type" : "string",
  112942. "description" : "券类型。"
  112943. }
  112944. }
  112945. },
  112946. "VoucherDeductThresholdInfo" : {
  112947. "type" : "object",
  112948. "properties" : {
  112949. "customer_define_voucher_threshold_desc" : {
  112950. "type" : "string",
  112951. "description" : "自定义门槛描述"
  112952. },
  112953. "voucher_express_info" : {
  112954. "$ref" : "#/components/schemas/VoucherExpressInfo"
  112955. },
  112956. "voucher_goods_quantity_specification_info" : {
  112957. "$ref" : "#/components/schemas/VoucherGoodsQuantitySpecificationInfo"
  112958. }
  112959. }
  112960. },
  112961. "VoucherDescDetail" : {
  112962. "type" : "object",
  112963. "properties" : {
  112964. "details" : {
  112965. "type" : "array",
  112966. "description" : "具体描述信息列表",
  112967. "items" : {
  112968. "type" : "string"
  112969. },
  112970. "example" : "周一到周五可用"
  112971. },
  112972. "images" : {
  112973. "type" : "array",
  112974. "description" : "图片描述信息",
  112975. "items" : {
  112976. "type" : "string"
  112977. },
  112978. "example" : "https://dl.django.t.taobao.com/rest/1.0/image?fileIds=RY7twkJVR26nz8OeXRIjvAAAACMAAQED&zoom=original"
  112979. },
  112980. "title" : {
  112981. "type" : "string",
  112982. "description" : "券说明的标题",
  112983. "example" : "温馨提示"
  112984. },
  112985. "url" : {
  112986. "type" : "string",
  112987. "description" : "券外部详情描述",
  112988. "example" : "www.alipay.com"
  112989. }
  112990. }
  112991. },
  112992. "VoucherDetail" : {
  112993. "type" : "object",
  112994. "properties" : {
  112995. "amount" : {
  112996. "type" : "string",
  112997. "description" : "优惠券面额,它应该会等于商家出资加上其他出资方出资"
  112998. },
  112999. "id" : {
  113000. "type" : "string",
  113001. "description" : "券id"
  113002. },
  113003. "memo" : {
  113004. "type" : "string",
  113005. "description" : "优惠券备注信息"
  113006. },
  113007. "merchant_contribute" : {
  113008. "type" : "string",
  113009. "description" : "商家出资(特指发起交易的商家出资金额)"
  113010. },
  113011. "name" : {
  113012. "type" : "string",
  113013. "description" : "券名称"
  113014. },
  113015. "other_contribute" : {
  113016. "type" : "string",
  113017. "description" : "其他出资方出资金额,可能是支付宝,可能是品牌商,或者其他方,也可能是他们的一起出资"
  113018. },
  113019. "other_contribute_detail" : {
  113020. "type" : "array",
  113021. "description" : "优惠券的其他出资方明细",
  113022. "items" : {
  113023. "$ref" : "#/components/schemas/ContributeDetail"
  113024. }
  113025. },
  113026. "purchase_ant_contribute" : {
  113027. "type" : "string",
  113028. "description" : "如果使用的这张券是用户购买的,则该字段代表用户在购买这张券时平台优惠的金额"
  113029. },
  113030. "purchase_buyer_contribute" : {
  113031. "type" : "string",
  113032. "description" : "如果使用的这张券是用户购买的,则该字段代表用户在购买这张券时用户实际付款的金额"
  113033. },
  113034. "purchase_merchant_contribute" : {
  113035. "type" : "string",
  113036. "description" : "如果使用的这张券是用户购买的,则该字段代表用户在购买这张券时商户优惠的金额"
  113037. },
  113038. "template_id" : {
  113039. "type" : "string",
  113040. "description" : "券模板id"
  113041. },
  113042. "type" : {
  113043. "type" : "string",
  113044. "description" : "券类型,如:\tALIPAY_FIX_VOUCHER - 全场代金券\tALIPAY_DISCOUNT_VOUCHER - 折扣券\tALIPAY_ITEM_VOUCHER - 单品优惠券\tALIPAY_CASH_VOUCHER - 现金抵价券\tALIPAY_BIZ_VOUCHER - 商家全场券\t注:不排除将来新增其他类型的可能,商家接入时注意兼容性避免硬编码"
  113045. }
  113046. }
  113047. },
  113048. "VoucherDisplayInfo" : {
  113049. "type" : "object",
  113050. "properties" : {
  113051. "brand_logo" : {
  113052. "type" : "string",
  113053. "description" : "商家logo。需要通过\talipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_BRAND_LOGO,返回的resource_id即为该参数的值"
  113054. },
  113055. "brand_name" : {
  113056. "type" : "string",
  113057. "description" : "商户品牌名称。如果不设置品牌名称,则默认使用支付宝商家系统中维护的商家别名。如果没有维护商家别名,则使用默认名称:商家优惠。用户领取优惠券后,品牌名称会对用户进行展示"
  113058. },
  113059. "customer_service_mobile" : {
  113060. "type" : "string",
  113061. "description" : "客服电话"
  113062. },
  113063. "customer_service_url" : {
  113064. "type" : "string",
  113065. "description" : "客服链接"
  113066. },
  113067. "voucher_comment" : {
  113068. "type" : "string",
  113069. "description" : "券补充说明,该字段为可运营字段,可描述商品特色\t会展示在用户支付宝卡包券详情页"
  113070. },
  113071. "voucher_description" : {
  113072. "type" : "string",
  113073. "description" : "券详细使用说明。"
  113074. },
  113075. "voucher_detail_images" : {
  113076. "type" : "array",
  113077. "description" : "券详细图列表,会展示在用户支付宝卡包券详情页。需要通过\talipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_DETAIL_IMAGE\t,接口返回的resource_id即为该参数的值。上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过2MB。",
  113078. "items" : {
  113079. "type" : "string"
  113080. }
  113081. },
  113082. "voucher_image" : {
  113083. "type" : "string",
  113084. "description" : "券详情页封面图,会展示在用户支付宝卡包券详情页。需要通过\talipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_IMAGE,接口返回的resource_id即为该参数的值"
  113085. }
  113086. }
  113087. },
  113088. "VoucherDisplayInfoModify" : {
  113089. "type" : "object",
  113090. "properties" : {
  113091. "brand_logo" : {
  113092. "type" : "string",
  113093. "description" : "商家logo \t需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_BRAND_LOGO,返回的resource_id即为该参数的值",
  113094. "example" : "adeDSktiQO-u5vJUqVbcQwAAACMAAQED"
  113095. },
  113096. "brand_name" : {
  113097. "type" : "string",
  113098. "description" : "商户品牌名称。",
  113099. "example" : "商家优惠"
  113100. },
  113101. "customer_service_mobile" : {
  113102. "type" : "string",
  113103. "description" : "客服电话",
  113104. "example" : "81XXXXXXX"
  113105. },
  113106. "customer_service_url" : {
  113107. "type" : "string",
  113108. "description" : "客服链接",
  113109. "example" : "alipay://xxxx"
  113110. },
  113111. "voucher_comment" : {
  113112. "type" : "string",
  113113. "description" : "券补充说明,该字段为可运营字段,可描述商品特色 会展示在用户支付宝卡包券详情页。",
  113114. "example" : "食材新鲜,品质之选"
  113115. },
  113116. "voucher_description" : {
  113117. "type" : "string",
  113118. "description" : "券详细使用说明。",
  113119. "example" : "1、本券不可兑换现金,不可找零。2、每个用户最多可以领取1张。3、如果订单发生退款,优惠券无法退还。"
  113120. },
  113121. "voucher_detail_images" : {
  113122. "type" : "array",
  113123. "description" : "券详细图列表,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_DETAIL_IMAGE ,接口返回的resource_id即为该参数的值 上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过2MB。",
  113124. "items" : {
  113125. "type" : "string"
  113126. },
  113127. "example" : "[\"adeDSktiQO-u5vJUqVbcQwAAACMAAQE1\",\"adeDSktiQO-u5vJUqVbcQwAAACMAAQE2\",\"adeDSktiQO-u5vJUqVbcQwAAACMAAQE3\"]"
  113128. },
  113129. "voucher_image" : {
  113130. "type" : "string",
  113131. "description" : "券详情页封面图,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_IMAGE,接口返回的resource_id即为该参数的值。",
  113132. "example" : "adeDSktiQO-u5vJUqVbcQwAAACMAAQED"
  113133. }
  113134. }
  113135. },
  113136. "VoucherDisplayPatternInfo" : {
  113137. "type" : "object",
  113138. "properties" : {
  113139. "brand_logo" : {
  113140. "type" : "string",
  113141. "description" : "商家logo 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_BRAND_LOGO,返回的resource_id即为该参数的值。"
  113142. },
  113143. "brand_logo_url" : {
  113144. "type" : "string",
  113145. "description" : "商家品牌logo链接"
  113146. },
  113147. "brand_name" : {
  113148. "type" : "string",
  113149. "description" : "商户品牌名称。 如果不设置品牌名称,则默认使用支付宝商家系统中维护的商家别名。 如果没有维护商家别名,则使用默认名称: 商家优惠。 用户领取优惠券后,品牌名称会对用户进行展示。"
  113150. },
  113151. "customer_service_mobile" : {
  113152. "type" : "string",
  113153. "description" : "客服电话。"
  113154. },
  113155. "customer_service_url" : {
  113156. "type" : "string",
  113157. "description" : "客服链接。"
  113158. },
  113159. "voucher_description" : {
  113160. "type" : "string",
  113161. "description" : "券详细使用说明。"
  113162. },
  113163. "voucher_detail_image_urls" : {
  113164. "type" : "array",
  113165. "description" : "券详情链接",
  113166. "items" : {
  113167. "type" : "string"
  113168. }
  113169. },
  113170. "voucher_detail_images" : {
  113171. "type" : "array",
  113172. "description" : "券详细图列表,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_DETAIL_IMAGE ,接口返回的resource_id即为该参数的值 上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过2MB。",
  113173. "items" : {
  113174. "type" : "string"
  113175. }
  113176. },
  113177. "voucher_image" : {
  113178. "type" : "string",
  113179. "description" : "券详情页封面图,会展示在用户支付宝卡包券详情页。\t需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_IMAGE,接口返回的resource_id即为该参数的值。"
  113180. },
  113181. "voucher_image_url" : {
  113182. "type" : "string",
  113183. "description" : "券封面链接"
  113184. },
  113185. "voucher_name" : {
  113186. "type" : "string",
  113187. "description" : "券名称。"
  113188. }
  113189. }
  113190. },
  113191. "VoucherExchangeGoodsInfo" : {
  113192. "type" : "object",
  113193. "properties" : {
  113194. "exchange_goods_name" : {
  113195. "type" : "string",
  113196. "description" : "兑换商品名称"
  113197. }
  113198. }
  113199. },
  113200. "VoucherExpressInfo" : {
  113201. "type" : "object",
  113202. "properties" : {
  113203. "pay_express" : {
  113204. "type" : "string",
  113205. "description" : "邮费标识,属于券的服务,用于用户门槛信息展示"
  113206. }
  113207. }
  113208. },
  113209. "VoucherFailShopInfo" : {
  113210. "type" : "object",
  113211. "properties" : {
  113212. "fail_message" : {
  113213. "type" : "string",
  113214. "description" : "请求失败提示信息。"
  113215. },
  113216. "fail_reasons" : {
  113217. "type" : "array",
  113218. "description" : "请求失败的原因。",
  113219. "items" : {
  113220. "type" : "string"
  113221. }
  113222. },
  113223. "real_shop_id" : {
  113224. "type" : "string",
  113225. "description" : "请求失败的物理球房 id。"
  113226. },
  113227. "shop_id" : {
  113228. "type" : "string",
  113229. "description" : "请求失败的支付球房 ID。"
  113230. }
  113231. }
  113232. },
  113233. "VoucherFileInfo" : {
  113234. "type" : "object",
  113235. "properties" : {
  113236. "file_download_url" : {
  113237. "type" : "string",
  113238. "description" : "发票文件下载"
  113239. },
  113240. "file_name" : {
  113241. "type" : "string",
  113242. "description" : "文件名"
  113243. },
  113244. "file_type" : {
  113245. "type" : "string",
  113246. "description" : "文件类型"
  113247. }
  113248. }
  113249. },
  113250. "VoucherGoodsQuantitySpecificationInfo" : {
  113251. "type" : "object",
  113252. "properties" : {
  113253. "directional_type" : {
  113254. "type" : "string",
  113255. "description" : "定向类型用于规格设置,比如:FIX 表示 固定满X件,APPOINT 表示指定第N件"
  113256. },
  113257. "specification_quantity" : {
  113258. "type" : "integer",
  113259. "description" : "数量"
  113260. },
  113261. "specification_unit" : {
  113262. "type" : "string",
  113263. "description" : "单位"
  113264. }
  113265. }
  113266. },
  113267. "VoucherInventoryInfo" : {
  113268. "type" : "object",
  113269. "properties" : {
  113270. "send_count" : {
  113271. "type" : "integer",
  113272. "description" : "已发放数量。"
  113273. },
  113274. "use_count" : {
  113275. "type" : "integer",
  113276. "description" : "已核销数量。"
  113277. }
  113278. }
  113279. },
  113280. "VoucherMiniAppSendGuideInfo" : {
  113281. "type" : "object",
  113282. "properties" : {
  113283. "mini_app_url" : {
  113284. "type" : "string",
  113285. "description" : "小程序发券链接"
  113286. }
  113287. }
  113288. },
  113289. "VoucherMiniAppUseGuideInfo" : {
  113290. "type" : "object",
  113291. "properties" : {
  113292. "mini_app_service_codes" : {
  113293. "type" : "array",
  113294. "description" : "小程序服务编码,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。",
  113295. "items" : {
  113296. "type" : "string"
  113297. }
  113298. },
  113299. "mini_app_url" : {
  113300. "type" : "string",
  113301. "description" : "小程序核销链接"
  113302. }
  113303. }
  113304. },
  113305. "VoucherPackageActivityInfo" : {
  113306. "type" : "object",
  113307. "properties" : {
  113308. "activity_base_info" : {
  113309. "$ref" : "#/components/schemas/ActivityBaseInfo"
  113310. },
  113311. "voucher_available_scope_info" : {
  113312. "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
  113313. },
  113314. "voucher_deduct_info" : {
  113315. "$ref" : "#/components/schemas/VoucherDeductInfo"
  113316. },
  113317. "voucher_display_pattern_info" : {
  113318. "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
  113319. },
  113320. "voucher_send_mode_info" : {
  113321. "$ref" : "#/components/schemas/VoucherSendModeInfo"
  113322. },
  113323. "voucher_use_rule_info" : {
  113324. "$ref" : "#/components/schemas/VoucherUseRuleInfo"
  113325. }
  113326. }
  113327. },
  113328. "VoucherPackageBaseInfo" : {
  113329. "type" : "object",
  113330. "properties" : {
  113331. "purchase_end_time" : {
  113332. "type" : "string",
  113333. "description" : "券包购买结束时间"
  113334. },
  113335. "purchase_start_time" : {
  113336. "type" : "string",
  113337. "description" : "券包购买开始时间"
  113338. },
  113339. "voucher_package_id" : {
  113340. "type" : "string",
  113341. "description" : "券包id"
  113342. },
  113343. "voucher_package_name" : {
  113344. "type" : "string",
  113345. "description" : "券包名称"
  113346. },
  113347. "voucher_package_status" : {
  113348. "type" : "string",
  113349. "description" : "券包状态。 CREATED:已创建, ENABLE: 已发布(包含进行中和已过期,已过期以voucher_package_purchase_end_time为准), PAUSED: 已暂停, DISABLE: 已停止;"
  113350. },
  113351. "voucher_total_amount" : {
  113352. "type" : "string",
  113353. "description" : "券包总价值(单位是元): 券包下券的优惠总额(满减券指优惠面额,折扣券指优惠上限,特价券指原价减去特价)"
  113354. }
  113355. }
  113356. },
  113357. "VoucherPackageConsultResult" : {
  113358. "type" : "object",
  113359. "properties" : {
  113360. "consult_result_code" : {
  113361. "type" : "string",
  113362. "description" : "券包购买咨询结果code:\tSUCCESS:可以领取;\tPRODUCT_NOT_ENABLE:产品不可用;\tNOT_IN_SELL_TIME:不在销售时间内;\tPRODUCT_SOLD_OUT:产品售罄;\tUSER_PURCHASE_LIMIT:用户购买上限;\tOTHER:不可购买,未知原因",
  113363. "example" : "SUCCESS"
  113364. },
  113365. "voucher_package_id" : {
  113366. "type" : "string",
  113367. "description" : "券包id",
  113368. "example" : "IP20220628016671405804297103167741"
  113369. }
  113370. }
  113371. },
  113372. "VoucherPackageInfo" : {
  113373. "type" : "object",
  113374. "properties" : {
  113375. "voucher_package_base_info" : {
  113376. "$ref" : "#/components/schemas/VoucherPackageBaseInfo"
  113377. },
  113378. "voucher_package_sales_lite_info" : {
  113379. "$ref" : "#/components/schemas/VoucherPackageSalesLiteInfo"
  113380. }
  113381. }
  113382. },
  113383. "VoucherPackageModeInfo" : {
  113384. "type" : "object",
  113385. "properties" : {
  113386. "voucher_package_id" : {
  113387. "type" : "string",
  113388. "description" : "券包id,对应alipay.marketing.activity.voucherpackage.query中voucher_package_id。"
  113389. }
  113390. }
  113391. },
  113392. "VoucherPackageSalesInfo" : {
  113393. "type" : "object",
  113394. "properties" : {
  113395. "budget" : {
  113396. "type" : "integer",
  113397. "description" : "券包售卖预算,单位是份数",
  113398. "example" : "1000"
  113399. },
  113400. "pay_channel" : {
  113401. "type" : "string",
  113402. "description" : "券包购买支付渠道\tpcredit:花呗\tcreditCard:信用卡\tcredit_group:花呗与信用卡\t为空则不限渠道",
  113403. "example" : "pcredit"
  113404. },
  113405. "purchase_url" : {
  113406. "type" : "string",
  113407. "description" : "券包购买链接",
  113408. "example" : "http://123.htm"
  113409. },
  113410. "sale_count_limit_in_period" : {
  113411. "type" : "integer",
  113412. "description" : "券包售卖期限内最大购买次数",
  113413. "example" : "5"
  113414. },
  113415. "sale_period_limit" : {
  113416. "type" : "string",
  113417. "description" : "券包购买期限类型\tNO:不限制 \tALL:售卖时间内 \tDAY:天 \tWEEK:周 \tMONTH:月",
  113418. "example" : "NO"
  113419. },
  113420. "sale_price" : {
  113421. "type" : "string",
  113422. "description" : "券包售卖价格,单位是元",
  113423. "example" : "1.99"
  113424. }
  113425. }
  113426. },
  113427. "VoucherPackageSalesLiteInfo" : {
  113428. "type" : "object",
  113429. "properties" : {
  113430. "budget" : {
  113431. "type" : "integer",
  113432. "description" : "券包预算,单位是份数",
  113433. "example" : "100"
  113434. },
  113435. "sale_price" : {
  113436. "type" : "string",
  113437. "description" : "券包售卖价格,单位是元",
  113438. "example" : "3.99"
  113439. }
  113440. }
  113441. },
  113442. "VoucherPackageUseRule" : {
  113443. "type" : "object",
  113444. "properties" : {
  113445. "use_rule_desc" : {
  113446. "type" : "string",
  113447. "description" : "券包使用规则",
  113448. "example" : "当前券包的券必须在线下扫码点餐场景使用"
  113449. }
  113450. }
  113451. },
  113452. "VoucherRechargeInfo" : {
  113453. "type" : "object",
  113454. "properties" : {
  113455. "recharge_type" : {
  113456. "type" : "string",
  113457. "description" : "预充值方式。 \t枚举值:\tALIPAY_BALANCE 支付宝余额预充值"
  113458. },
  113459. "voucher_balance_recharge_info" : {
  113460. "$ref" : "#/components/schemas/VoucherBalanceRechargeInfo"
  113461. }
  113462. }
  113463. },
  113464. "VoucherRefundDetailInfo" : {
  113465. "type" : "object",
  113466. "properties" : {
  113467. "voucher_refund_use_times" : {
  113468. "type" : "integer",
  113469. "description" : "本次取消核销次数",
  113470. "example" : "1"
  113471. }
  113472. }
  113473. },
  113474. "VoucherRelativePeriodInfo" : {
  113475. "type" : "object",
  113476. "properties" : {
  113477. "time_restrict_info" : {
  113478. "$ref" : "#/components/schemas/TimeRestrictInfo"
  113479. },
  113480. "valid_days_after_receive" : {
  113481. "type" : "integer",
  113482. "description" : "券生效后 N 天内可以使用。 可以配合wait_days_after_receive 字段使用。"
  113483. },
  113484. "wait_days_after_receive" : {
  113485. "type" : "integer",
  113486. "description" : "用户领券后需要等待 N 天,券才可以生效。 \t字段值为 0 表示用户领券后立刻生效。"
  113487. }
  113488. }
  113489. },
  113490. "VoucherSaleModeInfo" : {
  113491. "type" : "object",
  113492. "properties" : {
  113493. "fund_custody_mode" : {
  113494. "type" : "string",
  113495. "description" : "资金托管方式"
  113496. },
  113497. "overdue_refundable" : {
  113498. "type" : "boolean",
  113499. "description" : "是否支持优惠券过期后,自动退款给用户。 不填默认否,枚举值: true:是 false:否。自动退款功能需要服务商在优惠券过期时,主动调用alipay.marketing.activity.order.refund接口进行退款。 如果配置优惠券时选择了过期自动退款,但是实际券过期后,服务商没有进行退款,那么用户投诉后,需要服务商进行解决。"
  113500. },
  113501. "overdue_refundable_need_confirm" : {
  113502. "type" : "boolean",
  113503. "description" : "在支持过期自动退款后,支付宝发起自动退款前 是否需要向商户确认退款。 不填默认否,枚举值: true:是 false:否。\t\t如果选择了 true:是 ,则需要商户配合接入 过期自动退款前是否需要向商户确认SPI(spi.alipay.marketing.activity.order.refundconfirm) 以及 退款确认结果API(alipay.marketing.activity.order.refundconfirmcommit)"
  113504. },
  113505. "payee_pid" : {
  113506. "type" : "string",
  113507. "description" : "收款账号。 目前的结算规则是,每核销一笔优惠券,支付宝会打款到该收款账户。"
  113508. },
  113509. "refundable" : {
  113510. "type" : "boolean",
  113511. "description" : "购买的优惠券是否允许退款。 不填默认否,枚举值: true:是 false:否"
  113512. },
  113513. "refundable_need_confirm" : {
  113514. "type" : "boolean",
  113515. "description" : "在支持随时退后,支付宝发起退款前用于判断是否需要向商户确认退款。 不填默认否,枚举值: true:是 false:否。 如果选择了 true:是 ,则需要商户配合接入退款前是否需要向商户确认SPI(spi.alipay.marketing.activity.order.refundconfirm)"
  113516. },
  113517. "sale_amount" : {
  113518. "type" : "string",
  113519. "description" : "用户购买优惠券需要支付的金额"
  113520. },
  113521. "settle_info" : {
  113522. "$ref" : "#/components/schemas/BizfundSettleInfo"
  113523. }
  113524. }
  113525. },
  113526. "VoucherSendGuide" : {
  113527. "type" : "object",
  113528. "properties" : {
  113529. "voucher_detail_url" : {
  113530. "type" : "string",
  113531. "description" : "领(购)券详情页链接,从支付宝公域跳转到服务商(商户)自定义领(购)券详情页。"
  113532. }
  113533. }
  113534. },
  113535. "VoucherSendGuideInfo" : {
  113536. "type" : "object",
  113537. "properties" : {
  113538. "mini_app_send_guide_info" : {
  113539. "$ref" : "#/components/schemas/VoucherMiniAppSendGuideInfo"
  113540. },
  113541. "send_guide_mode" : {
  113542. "type" : "array",
  113543. "description" : "发放引导模式",
  113544. "items" : {
  113545. "type" : "string"
  113546. }
  113547. }
  113548. }
  113549. },
  113550. "VoucherSendGuideModify" : {
  113551. "type" : "object",
  113552. "properties" : {
  113553. "voucher_detail_url" : {
  113554. "type" : "string",
  113555. "description" : "领(购)券详情页链接,从支付宝公域跳转到服务商(商户)自定义领(购)券详情页。说明:当 voucher_type=EXCHANGE_VOUCHER 时,该字段可修改,其他不允许修改。",
  113556. "example" : "alipays://platformapi/startapp?appId=xxxx"
  113557. }
  113558. }
  113559. },
  113560. "VoucherSendModeInfo" : {
  113561. "type" : "object",
  113562. "properties" : {
  113563. "voucher_package_mode_info" : {
  113564. "$ref" : "#/components/schemas/VoucherPackageModeInfo"
  113565. },
  113566. "voucher_sale_mode_info" : {
  113567. "$ref" : "#/components/schemas/VoucherSaleModeInfo"
  113568. },
  113569. "voucher_send_mode" : {
  113570. "type" : "string",
  113571. "description" : "券发放模式。"
  113572. },
  113573. "voucher_send_rule_info" : {
  113574. "$ref" : "#/components/schemas/VoucherSendRuleInfo"
  113575. }
  113576. }
  113577. },
  113578. "VoucherSendRuleDetail" : {
  113579. "type" : "object",
  113580. "properties" : {
  113581. "natural_person_limit" : {
  113582. "type" : "boolean",
  113583. "description" : "是否开启自然人领取限制。自然人表示按照身份证纬度进行领取限制。"
  113584. },
  113585. "phone_number_limit" : {
  113586. "type" : "boolean",
  113587. "description" : "是否开启电话号码领取限制。"
  113588. },
  113589. "voucher_quantity" : {
  113590. "type" : "integer",
  113591. "description" : "发行券的数量。"
  113592. },
  113593. "voucher_quantity_limit_per_user" : {
  113594. "type" : "integer",
  113595. "description" : "每人领取限制。默认按照支付宝uid进行领取限制;\t不填写或填入0,默认没有领取限制。"
  113596. }
  113597. }
  113598. },
  113599. "VoucherSendRuleDetailModify" : {
  113600. "type" : "object",
  113601. "properties" : {
  113602. "natural_person_limit" : {
  113603. "type" : "boolean",
  113604. "description" : "是否开启自然人领取限制。 自然人表示按照身份证纬度进行领取限制。",
  113605. "example" : "true"
  113606. },
  113607. "phone_number_limit" : {
  113608. "type" : "string",
  113609. "description" : "是否开启电话号码领取限制。",
  113610. "example" : "true"
  113611. },
  113612. "voucher_quantity_limit_per_user" : {
  113613. "type" : "integer",
  113614. "description" : "每人领取限制。 默认按照支付宝uid进行领取限制;",
  113615. "example" : "1"
  113616. }
  113617. }
  113618. },
  113619. "VoucherSendRuleInfo" : {
  113620. "type" : "object",
  113621. "properties" : {
  113622. "max_quantity_by_day" : {
  113623. "type" : "integer",
  113624. "description" : "设置此字段,允许指定单天最大发券数量。"
  113625. },
  113626. "natural_person_limit" : {
  113627. "type" : "boolean",
  113628. "description" : "是否开启自然人领取限制。 自然人表示按照身份证纬度进行领取限制。"
  113629. },
  113630. "phone_number_limit" : {
  113631. "type" : "boolean",
  113632. "description" : "是否开启电话号码领取限制。"
  113633. },
  113634. "phone_number_need_input_limit" : {
  113635. "type" : "boolean",
  113636. "description" : "下单时是否需要用户填写手机号码"
  113637. },
  113638. "publish_end_time" : {
  113639. "type" : "string",
  113640. "description" : "券发放结束时间。 格式为:yyyy-MM-dd HH:mm:ss"
  113641. },
  113642. "publish_start_time" : {
  113643. "type" : "string",
  113644. "description" : "券发放开始时间。 格式为:yyyy-MM-dd HH:mm:ss"
  113645. },
  113646. "quantity" : {
  113647. "type" : "integer",
  113648. "description" : "发行券的数量。"
  113649. },
  113650. "quantity_limit_per_user" : {
  113651. "type" : "integer",
  113652. "description" : "每人领取限制。 默认按照支付宝账号进行领取限制; 不填写或填入0表示没有领取限制."
  113653. },
  113654. "quantity_limit_per_user_period_type" : {
  113655. "type" : "string",
  113656. "description" : "周期限领配置,限制每人在固定周期内领取张数(voucher_quantity_limit_per_user),默认LIFE_CYCLE"
  113657. },
  113658. "real_name_limit" : {
  113659. "type" : "boolean",
  113660. "description" : "限制支付宝实名用户才能领取支付券,默认为false表示不限制 枚举值 true\\false"
  113661. }
  113662. }
  113663. },
  113664. "VoucherSummary" : {
  113665. "type" : "object",
  113666. "properties" : {
  113667. "publish_count" : {
  113668. "type" : "integer",
  113669. "description" : "券已发放数量。"
  113670. },
  113671. "used_count" : {
  113672. "type" : "integer",
  113673. "description" : "券已核销数量。"
  113674. }
  113675. }
  113676. },
  113677. "VoucherUseDetailInfo" : {
  113678. "type" : "object",
  113679. "properties" : {
  113680. "voucher_use_times" : {
  113681. "type" : "integer",
  113682. "description" : "本次核销次数",
  113683. "example" : "1"
  113684. }
  113685. }
  113686. },
  113687. "VoucherUseDetailResultInfo" : {
  113688. "type" : "object",
  113689. "properties" : {
  113690. "voucher_max_un_use_times" : {
  113691. "type" : "integer",
  113692. "description" : "剩余可核销次数"
  113693. }
  113694. }
  113695. },
  113696. "VoucherUseGuide" : {
  113697. "type" : "object",
  113698. "properties" : {
  113699. "mini_app_id" : {
  113700. "type" : "string",
  113701. "description" : "券可用的小程序appId,卡包详情页可跳转到该appId"
  113702. },
  113703. "mini_app_path" : {
  113704. "type" : "string",
  113705. "description" : "指定跳转到mini_app_id时的具体页面路径。"
  113706. },
  113707. "mini_app_use_guide" : {
  113708. "type" : "boolean",
  113709. "description" : "小程序核销。"
  113710. },
  113711. "offline_code_use_guide" : {
  113712. "type" : "boolean",
  113713. "description" : "线下扫码核销。"
  113714. },
  113715. "service_codes" : {
  113716. "type" : "array",
  113717. "description" : "小程序服务编码,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。",
  113718. "items" : {
  113719. "type" : "string"
  113720. }
  113721. }
  113722. }
  113723. },
  113724. "VoucherUseGuideInfo" : {
  113725. "type" : "object",
  113726. "properties" : {
  113727. "mini_app_use_guide_info" : {
  113728. "$ref" : "#/components/schemas/VoucherMiniAppUseGuideInfo"
  113729. },
  113730. "use_guide_mode" : {
  113731. "type" : "array",
  113732. "description" : "使用引导模式",
  113733. "items" : {
  113734. "type" : "string"
  113735. }
  113736. }
  113737. }
  113738. },
  113739. "VoucherUseGuideModify" : {
  113740. "type" : "object",
  113741. "properties" : {
  113742. "mini_app_id" : {
  113743. "type" : "string",
  113744. "description" : "券可用的小程序 appId,卡包详情页可跳转到该 appId。",
  113745. "example" : "2021238412323412"
  113746. },
  113747. "mini_app_path" : {
  113748. "type" : "string",
  113749. "description" : "指定跳转到 mini_app_id 时的具体页面路径。",
  113750. "example" : "/index/path/path&query=xx%3dxx"
  113751. },
  113752. "service_codes" : {
  113753. "type" : "array",
  113754. "description" : "小程序服务编码,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。",
  113755. "items" : {
  113756. "type" : "string"
  113757. },
  113758. "example" : "[\"2020030921000303380758\"]"
  113759. }
  113760. }
  113761. },
  113762. "VoucherUseRule" : {
  113763. "type" : "object",
  113764. "properties" : {
  113765. "discount_voucher" : {
  113766. "$ref" : "#/components/schemas/DiscountVoucher"
  113767. },
  113768. "exchange_voucher" : {
  113769. "$ref" : "#/components/schemas/ExchangeVoucher"
  113770. },
  113771. "fix_voucher" : {
  113772. "$ref" : "#/components/schemas/FixVoucher"
  113773. },
  113774. "special_voucher" : {
  113775. "$ref" : "#/components/schemas/SpecialVoucher"
  113776. },
  113777. "voucher_available_scope" : {
  113778. "$ref" : "#/components/schemas/VoucherAvailableScope"
  113779. },
  113780. "voucher_valid_period" : {
  113781. "$ref" : "#/components/schemas/VoucherValidPeriod"
  113782. }
  113783. }
  113784. },
  113785. "VoucherUseRuleInfo" : {
  113786. "type" : "object",
  113787. "properties" : {
  113788. "quantity_limit_per_user" : {
  113789. "type" : "integer",
  113790. "description" : "核销次数限制。"
  113791. },
  113792. "quantity_limit_per_user_period_type" : {
  113793. "type" : "string",
  113794. "description" : "核销周期。"
  113795. },
  113796. "voucher_max_use_times" : {
  113797. "type" : "integer",
  113798. "description" : "券最大核销次数。"
  113799. },
  113800. "voucher_use_ext_info" : {
  113801. "type" : "string",
  113802. "description" : "自定义扩展信息"
  113803. },
  113804. "voucher_use_time_info" : {
  113805. "$ref" : "#/components/schemas/VoucherUseTimeInfo"
  113806. }
  113807. }
  113808. },
  113809. "VoucherUseRuleModify" : {
  113810. "type" : "object",
  113811. "properties" : {
  113812. "exchange_voucher" : {
  113813. "$ref" : "#/components/schemas/ExchangeVoucherModify"
  113814. },
  113815. "voucher_available_scope" : {
  113816. "$ref" : "#/components/schemas/VoucherAvailableScopeModify"
  113817. },
  113818. "voucher_valid_period" : {
  113819. "$ref" : "#/components/schemas/VoucherValidPeriodModify"
  113820. }
  113821. }
  113822. },
  113823. "VoucherUseTimeInfo" : {
  113824. "type" : "object",
  113825. "properties" : {
  113826. "absolute_period_info" : {
  113827. "$ref" : "#/components/schemas/VoucherAbsolutePeriodInfo"
  113828. },
  113829. "period_type" : {
  113830. "type" : "string",
  113831. "description" : "券有效期。"
  113832. },
  113833. "relative_period_info" : {
  113834. "$ref" : "#/components/schemas/VoucherRelativePeriodInfo"
  113835. }
  113836. }
  113837. },
  113838. "VoucherUseTimeRuleInfo" : {
  113839. "type" : "object",
  113840. "properties" : {
  113841. "date_rule_info" : {
  113842. "$ref" : "#/components/schemas/DateRuleInfo"
  113843. },
  113844. "holiday_rule_info" : {
  113845. "$ref" : "#/components/schemas/HolidayRuleInfo"
  113846. },
  113847. "rule_type" : {
  113848. "type" : "string",
  113849. "description" : "规则类型"
  113850. },
  113851. "week_rule_info" : {
  113852. "$ref" : "#/components/schemas/WeekRuleInfo"
  113853. }
  113854. }
  113855. },
  113856. "VoucherValidPeriod" : {
  113857. "type" : "object",
  113858. "properties" : {
  113859. "type" : {
  113860. "type" : "string",
  113861. "description" : "券有效期。"
  113862. },
  113863. "valid_begin_time" : {
  113864. "type" : "string",
  113865. "description" : "券可使用的开始时间。格式为:yyyy-MM-dd HH:mm:ss"
  113866. },
  113867. "valid_days_after_receive" : {
  113868. "type" : "integer",
  113869. "description" : "券生效后N天内可以使用。可以配合wait_days_after_receive字段使用。"
  113870. },
  113871. "valid_end_time" : {
  113872. "type" : "string",
  113873. "description" : "券可使用的结束时间。格式为yyyy-MM-dd HH:mm:ss"
  113874. },
  113875. "wait_days_after_receive" : {
  113876. "type" : "integer",
  113877. "description" : "用户领券后需要等待N天,券才可以生效。如果该字段填入0或者不填写,则用户领券后立刻生效。"
  113878. }
  113879. }
  113880. },
  113881. "VoucherValidPeriodModify" : {
  113882. "type" : "object",
  113883. "properties" : {
  113884. "valid_begin_time" : {
  113885. "type" : "string",
  113886. "description" : "券可使用的开始时间。格式为:yyyy-MM-dd HH:mm:ss。",
  113887. "example" : "2017-01-10 00:00:00"
  113888. },
  113889. "valid_days_after_receive" : {
  113890. "type" : "integer",
  113891. "description" : "券生效后 N 天内可以使用。",
  113892. "example" : "3"
  113893. },
  113894. "valid_end_time" : {
  113895. "type" : "string",
  113896. "description" : "券可使用的结束时间。格式为yyyy-MM-dd HH:mm:ss。",
  113897. "example" : "2017-01-13 23:59:59"
  113898. },
  113899. "wait_days_after_receive" : {
  113900. "type" : "integer",
  113901. "description" : "用户领券后需要等待 N 天,券才可以生效。",
  113902. "example" : "2"
  113903. }
  113904. }
  113905. },
  113906. "WaitRepaymentOrderInfo" : {
  113907. "type" : "object",
  113908. "properties" : {
  113909. "advance_order_id" : {
  113910. "type" : "string",
  113911. "description" : "垫资单id",
  113912. "example" : "20190128002630010000170001187808"
  113913. },
  113914. "alipay_user_id" : {
  113915. "type" : "string",
  113916. "description" : "买家的支付宝用户id",
  113917. "example" : "2088302483540171"
  113918. },
  113919. "biz_product" : {
  113920. "type" : "string",
  113921. "description" : "通常为商户签约的收单产品码",
  113922. "example" : "GENERAL_WITHHOLDING"
  113923. },
  113924. "open_id" : {
  113925. "type" : "string",
  113926. "description" : "买家的支付宝用户id",
  113927. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  113928. },
  113929. "orig_biz_order_id" : {
  113930. "type" : "string",
  113931. "description" : "原始的业务单号,通常为支付宝交易号",
  113932. "example" : "2018060821001001820554093702"
  113933. },
  113934. "wait_repayment_amount" : {
  113935. "type" : "integer",
  113936. "description" : "垫资金额",
  113937. "example" : "2.04"
  113938. }
  113939. }
  113940. },
  113941. "WaybillInvoice" : {
  113942. "type" : "object",
  113943. "properties" : {
  113944. "waybill_amount" : {
  113945. "type" : "string",
  113946. "description" : "即时配送运单金额",
  113947. "example" : "100"
  113948. },
  113949. "waybill_no" : {
  113950. "type" : "string",
  113951. "description" : "即时配送运单编号",
  113952. "example" : "waybill_no_00001"
  113953. }
  113954. }
  113955. },
  113956. "WaybillInvoiceIstd" : {
  113957. "type" : "object",
  113958. "properties" : {
  113959. "reason" : {
  113960. "type" : "string",
  113961. "description" : "失败原因,需要传单个配送单的驳回原因",
  113962. "example" : "开票失败原因"
  113963. },
  113964. "shop_no" : {
  113965. "type" : "string",
  113966. "description" : "商家球房编号",
  113967. "example" : "shop_no_00001"
  113968. },
  113969. "waybill_amount" : {
  113970. "type" : "string",
  113971. "description" : "即时配送运单金额,waybill_invoce_status为1的情况下不能为空",
  113972. "example" : "100"
  113973. },
  113974. "waybill_invoice_status" : {
  113975. "type" : "integer",
  113976. "description" : "明细的运单开票状态,1:开票成功 2:不可开票 3:可开票;整体开票状态为0的情况下,无开票明细;整体开票状态为1,明细开票状态全部是1;整体开票状态为2,明细开票状态为2或者3",
  113977. "example" : "0"
  113978. },
  113979. "waybill_no" : {
  113980. "type" : "string",
  113981. "description" : "即时配送运单编号",
  113982. "example" : "waybillNo_20200811"
  113983. }
  113984. }
  113985. },
  113986. "WaybillInvoiceQueryIstd" : {
  113987. "type" : "object",
  113988. "properties" : {
  113989. "reason" : {
  113990. "type" : "string",
  113991. "description" : "失败原因,需要传单个即时配送运单的驳回原因",
  113992. "example" : "开票金额错误"
  113993. },
  113994. "shop_no" : {
  113995. "type" : "string",
  113996. "description" : "商家球房编号",
  113997. "example" : "shop_no_20200818"
  113998. },
  113999. "waybill_amount" : {
  114000. "type" : "string",
  114001. "description" : "即时配送运单金额,waybill_invoce_status为1的情况下不能为空",
  114002. "example" : "200"
  114003. },
  114004. "waybill_invoice_status" : {
  114005. "type" : "integer",
  114006. "description" : "明细的运单开票状态,1:开票成功 2:不可开票 3:可开票;整体开票状态为0的情况下,无开票明细;整体开票状态为1,明细开票状态全部是1;整体开票状态为2,明细开票状态全部为2",
  114007. "example" : "0"
  114008. },
  114009. "waybill_no" : {
  114010. "type" : "string",
  114011. "description" : "即时配送运单编号",
  114012. "example" : "waybill_no_20200811"
  114013. }
  114014. }
  114015. },
  114016. "WeekRuleInfo" : {
  114017. "type" : "object",
  114018. "properties" : {
  114019. "time_range_info" : {
  114020. "$ref" : "#/components/schemas/TimeRangeInfo"
  114021. },
  114022. "week_day" : {
  114023. "type" : "string",
  114024. "description" : "星期数,以“,”连接多个星期数"
  114025. }
  114026. }
  114027. },
  114028. "WidgetActivityInfo" : {
  114029. "type" : "object",
  114030. "properties" : {
  114031. "activity_click_url" : {
  114032. "type" : "string",
  114033. "description" : "活动点击跳转到小程序的链接地址",
  114034. "example" : "alipays://platformapi/startapp?appId= 2017072607907880&page=pages/index/index?param=xxxx"
  114035. },
  114036. "activity_id" : {
  114037. "type" : "string",
  114038. "description" : "活动的唯一标识,同一个小程序橱窗下,该标识唯一,请开发者自行保证",
  114039. "example" : "8948968498"
  114040. },
  114041. "activity_name" : {
  114042. "type" : "string",
  114043. "description" : "活动名称",
  114044. "example" : "这是一个活动名称"
  114045. },
  114046. "activity_picture_urls" : {
  114047. "type" : "array",
  114048. "description" : "活动图片链接,最多不能超过5个",
  114049. "items" : {
  114050. "type" : "string"
  114051. },
  114052. "example" : "[\"https://xxx.xxx.com/xxx.jpg\"]"
  114053. }
  114054. }
  114055. },
  114056. "WidgetGoodsInfo" : {
  114057. "type" : "object",
  114058. "properties" : {
  114059. "buying_url" : {
  114060. "type" : "string",
  114061. "description" : "该商品的小程序购买链接,如果需要进行公域推广,请字段请必填"
  114062. },
  114063. "goods_brand" : {
  114064. "type" : "string",
  114065. "description" : "商品品牌,如果需要进行公域推广,该字段请必填"
  114066. },
  114067. "goods_comment" : {
  114068. "type" : "string",
  114069. "description" : "商品辅助说明文案"
  114070. },
  114071. "goods_description_label" : {
  114072. "type" : "string",
  114073. "description" : "商品说明标签(如-随心退)"
  114074. },
  114075. "goods_id" : {
  114076. "type" : "string",
  114077. "description" : "商品的唯一标识,同一个小部件下,该标识唯一,请开发者自行保证"
  114078. },
  114079. "goods_label" : {
  114080. "type" : "string",
  114081. "description" : "营销标签(如-限量特价),每个商品仅支持一个营销标签"
  114082. },
  114083. "goods_name" : {
  114084. "type" : "string",
  114085. "description" : "商品名称"
  114086. },
  114087. "goods_type" : {
  114088. "type" : "string",
  114089. "description" : "商品所属品类"
  114090. },
  114091. "main_pic_url" : {
  114092. "type" : "string",
  114093. "description" : "商品主图片地址,如果需要进行公域推广,该字段请必填。"
  114094. },
  114095. "need_public_promo" : {
  114096. "type" : "boolean",
  114097. "description" : "是否需要进行公域推广,默认情况下为false"
  114098. },
  114099. "order_number" : {
  114100. "type" : "integer",
  114101. "description" : "商品排序,自然整数, 数字越小越靠前"
  114102. },
  114103. "original_price" : {
  114104. "type" : "string",
  114105. "description" : "单位\"元\"的商品原价,传入数字,不需要传入\"元\"。如果需要进行公域推广,该字段请必填。"
  114106. },
  114107. "publish_cities" : {
  114108. "type" : "string",
  114109. "description" : "投放城市的列表,详见https://www.mca.gov.cn/article/sj/xzqh/2020/2020/202007170301.html,有多个用英文,分隔。如果没有限制则不传入"
  114110. },
  114111. "remaining_quantity" : {
  114112. "type" : "integer",
  114113. "description" : "剩余库存,如果需要进行公域推广,该字段请必填,并且当剩余库存为0时,请及时同步。"
  114114. },
  114115. "sell_price" : {
  114116. "type" : "string",
  114117. "description" : "单位\"元\"的售价,传入数字,不需要传入\"元\"。如果需要进行公域推广,该字段请必填。"
  114118. },
  114119. "sell_tag_list" : {
  114120. "type" : "array",
  114121. "description" : "商品的卖点标签,如果需要进行公域推广,请至少填写两个卖点标签。",
  114122. "items" : {
  114123. "type" : "string"
  114124. }
  114125. },
  114126. "sold_quantity" : {
  114127. "type" : "integer",
  114128. "description" : "已售数量"
  114129. },
  114130. "status" : {
  114131. "type" : "string",
  114132. "description" : "商品状态,商品的上下架,默认情况为上架,上架为ONLINE,下架为OFFLINE"
  114133. },
  114134. "total_quantity" : {
  114135. "type" : "integer",
  114136. "description" : "总库存量"
  114137. }
  114138. }
  114139. },
  114140. "ZMGOBasicConfig" : {
  114141. "type" : "object",
  114142. "properties" : {
  114143. "biz_type" : {
  114144. "type" : "string",
  114145. "description" : "商户在芝麻GO配置的业务身份编码"
  114146. },
  114147. "contact" : {
  114148. "type" : "string",
  114149. "description" : "商家客服电话"
  114150. },
  114151. "isv_pid" : {
  114152. "type" : "string",
  114153. "description" : "运营商商户支付宝ID。若非ISV代理模式,也就是商户自运营模式,此属性取值与partner_id一致。"
  114154. },
  114155. "merchant_custom_logo" : {
  114156. "type" : "string",
  114157. "description" : "商户LOGO"
  114158. },
  114159. "out_biz_no" : {
  114160. "type" : "string",
  114161. "description" : "外部业务单号,供幂等使用,需保证每次请求的值都不同"
  114162. },
  114163. "partner_id" : {
  114164. "type" : "string",
  114165. "description" : "商户的支付宝ID,即为此商户创建芝麻GO模板"
  114166. },
  114167. "template_name" : {
  114168. "type" : "string",
  114169. "description" : "芝麻GO模板名称"
  114170. },
  114171. "template_no" : {
  114172. "type" : "string",
  114173. "description" : "模板编号"
  114174. }
  114175. }
  114176. },
  114177. "ZMGOCycleFlexConfig" : {
  114178. "type" : "object",
  114179. "properties" : {
  114180. "cycle_flex_withhold_fee_name" : {
  114181. "type" : "string",
  114182. "description" : "周期灵活扣的费用名称"
  114183. },
  114184. "cycle_flex_withhold_max_price" : {
  114185. "type" : "string",
  114186. "description" : "周期灵活扣单期扣款的最大额度"
  114187. },
  114188. "cycle_flex_withhold_total_period_count" : {
  114189. "type" : "integer",
  114190. "description" : "周期灵活扣的总期数"
  114191. }
  114192. }
  114193. },
  114194. "ZMGOCycleWithholdConfig" : {
  114195. "type" : "object",
  114196. "properties" : {
  114197. "deduct_plan" : {
  114198. "type" : "array",
  114199. "description" : "扣款计划",
  114200. "items" : {
  114201. "type" : "string"
  114202. }
  114203. },
  114204. "exemption_period" : {
  114205. "type" : "string",
  114206. "description" : "豁免期天数"
  114207. },
  114208. "period" : {
  114209. "type" : "string",
  114210. "description" : "周期"
  114211. },
  114212. "period_type" : {
  114213. "type" : "string",
  114214. "description" : "扣款周期类型,支持DAY-天模式,MONTH-月模式"
  114215. },
  114216. "support_cycle_withhold_high_mode" : {
  114217. "type" : "boolean",
  114218. "description" : "是否支持周期扣高级模式,高级模式下扣款计划中内一起的扣款金额可以进行定制"
  114219. },
  114220. "support_exemption_period" : {
  114221. "type" : "boolean",
  114222. "description" : "是否支持豁免期,如果支持豁免期,用户开通后再豁免期内退出无需扣款"
  114223. },
  114224. "withhold_mode" : {
  114225. "type" : "string",
  114226. "description" : "设置扣款模式,目前支持每月固定日期或固定时间间隔"
  114227. }
  114228. }
  114229. },
  114230. "ZMGOExtConfig" : {
  114231. "type" : "object",
  114232. "properties" : {
  114233. "text_content_fill_rule_id" : {
  114234. "type" : "string",
  114235. "description" : "文本内容填充规则ID"
  114236. },
  114237. "text_content_fill_variable" : {
  114238. "type" : "string",
  114239. "description" : "文本内容填充变量,变量key由运营同学提供"
  114240. }
  114241. }
  114242. },
  114243. "ZMGOObligationConfig" : {
  114244. "type" : "object",
  114245. "properties" : {
  114246. "benefit_url" : {
  114247. "type" : "string",
  114248. "description" : "芝麻GO管理页做任务按钮对应链接"
  114249. },
  114250. "obligation_amount" : {
  114251. "type" : "string",
  114252. "description" : "完成任务所需的最少额度,当obligation_template取值为:OBTL002时必传"
  114253. },
  114254. "obligation_template" : {
  114255. "type" : "string",
  114256. "description" : "承诺模式下,义务的类型,包含次数类型和金额类型:\t OBTL001(\"OBTL001\", \"在x时间内完成n次\"),\t OBTL002(\"OBTL002\", \"在x时间内达到n元金额\")"
  114257. },
  114258. "obligation_times" : {
  114259. "type" : "string",
  114260. "description" : "完成任务所需的最少次数,当obligation_template取值为:OBTL001时必填"
  114261. },
  114262. "promise_type_desc" : {
  114263. "type" : "string",
  114264. "description" : "任务描述"
  114265. },
  114266. "task_progress_redirect_schema" : {
  114267. "type" : "string",
  114268. "description" : "芝麻GO管理页任务进度重定向链接"
  114269. }
  114270. }
  114271. },
  114272. "ZMGOOpenConfig" : {
  114273. "type" : "object",
  114274. "properties" : {
  114275. "apply_button_desc" : {
  114276. "type" : "string",
  114277. "description" : "开通页按钮文案描述;传入内容后开通页点击开通按钮展示文案会使用该字段传入内容"
  114278. },
  114279. "appoint_date" : {
  114280. "type" : "string",
  114281. "description" : "固定到期时间或每月的第几日。 (1)当period_mode为APPOINT_DATE时,取值固定日期,如\"2022-06-01 00:00:00\",表示协议在6月1号0点到期; (2)当period_mode为FIX_DATE,取值\"3\",表示协议在period_time个月后的3号到期。"
  114282. },
  114283. "card_color_scheme" : {
  114284. "type" : "string",
  114285. "description" : "芝麻GO卡颜色。 C_BLACK(\"C_BLACK\", \"黑色\"), C_RED(\"C_RED\", \"红色\"), C_GREEN(\"C_GREEN\", \"绿色\"), C_LIGHT_BLUE(\"C_LIGHT_BLUE\", \"浅蓝色\"), C_BLUE(\"C_BLUE\", \"蓝色\"), C_ORANGE(\"C_ORANGE\",\"橙色\"), C_PURPLE(\"C_PURPLE\", \"紫色\");"
  114286. },
  114287. "custom_open_tip_list" : {
  114288. "type" : "string",
  114289. "description" : "未完成任务规则详情"
  114290. },
  114291. "custom_open_tips" : {
  114292. "type" : "string",
  114293. "description" : "规则详情"
  114294. },
  114295. "freeze_amount" : {
  114296. "type" : "string",
  114297. "description" : "担保金额额度"
  114298. },
  114299. "min_sign_interval" : {
  114300. "type" : "string",
  114301. "description" : "用户签约间隔时间"
  114302. },
  114303. "period_mode" : {
  114304. "type" : "string",
  114305. "description" : "芝麻GO义务到期的计算方式。包括: RELATIVE_DATE(\"RELATIVE_DATE\", \"相对日期\"), ABSOLATE_DATE(\"ABSOLATE_DATE\", \"绝对日期(当日开始计算)\"), ABSOLUTE_PLUS_1_DATE(\"ABSOLUTE_PLUS_1_DATE\", \"绝对日期(次日开始计算)\"), FIX_DATE(\"FIX_DATE\", \"固定日期\"), APPOINT_DATE(\"APPOINT_DATE\", \"指定日期\"),"
  114306. },
  114307. "period_time" : {
  114308. "type" : "string",
  114309. "description" : "周期时长\t当period_mode为RELATIVE_DATE、ABSOLATE_DATE、ABSOLUTE_PLUS_1_DATE、FIX_DATE时必填"
  114310. },
  114311. "show_sign_success_page" : {
  114312. "type" : "boolean",
  114313. "description" : "是否展示签约完成页"
  114314. },
  114315. "sign_again_schema" : {
  114316. "type" : "string",
  114317. "description" : "用户签约商户活动到期"
  114318. },
  114319. "sign_success_task_button_desc" : {
  114320. "type" : "string",
  114321. "description" : "签约完成页任务按钮描述,当展示签约完成页=true的时候 改内容必填"
  114322. },
  114323. "support_expire_deferral" : {
  114324. "type" : "boolean",
  114325. "description" : "是否支持延期特权"
  114326. }
  114327. }
  114328. },
  114329. "ZMGOQuitConfig" : {
  114330. "type" : "object",
  114331. "properties" : {
  114332. "quit_desc" : {
  114333. "type" : "string",
  114334. "description" : "退出提示"
  114335. },
  114336. "quit_jump_url" : {
  114337. "type" : "string",
  114338. "description" : "退出跳转商家页地址,当quit_type取值为:QUIT_MERCHANT_JUMP,必传"
  114339. },
  114340. "quit_type" : {
  114341. "type" : "string",
  114342. "description" : "退出芝麻GO方式,取值:\t (1)QUIT_COMMON(\"QUIT_COMMON\", \"标准退出\"),\t(2)QUIT_MERCHANT_JUMP(\"QUIT_MERCHANT_JUMP\", \"商家页退出\"),\t(3)QUIT_ONLY_TIPS(\"QUIT_ONLY_TIPS\", \"仅退出提示\")"
  114343. }
  114344. }
  114345. },
  114346. "ZMGORightConfig" : {
  114347. "type" : "object",
  114348. "properties" : {
  114349. "cumulative_preferential_redirect_schema" : {
  114350. "type" : "string",
  114351. "description" : "芝麻GO管理页已享优惠进度的重定向链接"
  114352. },
  114353. "custom_benefit_desc" : {
  114354. "type" : "string",
  114355. "description" : "权益描述"
  114356. },
  114357. "custom_sub_benefit_desc" : {
  114358. "type" : "string",
  114359. "description" : "权益描述子标题"
  114360. }
  114361. }
  114362. },
  114363. "ZMGOSettlementConfig" : {
  114364. "type" : "object",
  114365. "properties" : {
  114366. "custom_fee_name" : {
  114367. "type" : "string",
  114368. "description" : "会员费扣费名称"
  114369. },
  114370. "cycle_flex_withhold_config" : {
  114371. "$ref" : "#/components/schemas/ZMGOCycleFlexConfig"
  114372. },
  114373. "cycle_withhold_config" : {
  114374. "$ref" : "#/components/schemas/ZMGOCycleWithholdConfig"
  114375. },
  114376. "exp_stop_delay_days" : {
  114377. "type" : "integer",
  114378. "description" : "预计结算延迟天数,当exp_stop_time_mode取值RELATIVE_DATE、ABSOLATE_DATE、ABSOLUTE_PLUS_1_DATE时,必传"
  114379. },
  114380. "exp_stop_time" : {
  114381. "type" : "string",
  114382. "description" : "预期结算时间,当exp_stop_time_mode取值APPOINT_DATE时,必传"
  114383. },
  114384. "exp_stop_time_mode" : {
  114385. "type" : "string",
  114386. "description" : "预计结算时间模式,取值:(1)RELATIVE_DATE(\"RELATIVE_DATE\", \"相对日期\"), (2)ABSOLATE_DATE(\"ABSOLATE_DATE\", \"绝对日期(当日开始计算)\"), (3)ABSOLUTE_PLUS_1_DATE(\"ABSOLUTE_PLUS_1_DATE\", \"绝对日期(次日开始计算)\"), (4)APPOINT_DATE(\"APPOINT_DATE\", \"指定日期\")"
  114387. },
  114388. "fulfilltimes_custom_settlement_plan" : {
  114389. "type" : "string",
  114390. "description" : "按履约次数灵活扣款计划。当settlement_type取值为fulfillTimesCustomSettlement时,此属性必传"
  114391. },
  114392. "settlement_type" : {
  114393. "type" : "string",
  114394. "description" : "结算类型,取值:\t BENEFIT_SETTLEMENT(\"benefitSettlement\", \"按权益金额结算\"),\t FULFILL_TIMES_CUSTOM_SETTLEMENT(\"fulfillTimesCustomSettlement\",\"按履约次数扣款\")"
  114395. }
  114396. }
  114397. },
  114398. "ZMGoOutDiscountInfo" : {
  114399. "type" : "object",
  114400. "properties" : {
  114401. "discount_amount" : {
  114402. "type" : "string",
  114403. "description" : "商户回传的优惠金额,如用户享受的红包金额,单位元",
  114404. "example" : "8.75"
  114405. },
  114406. "discount_name" : {
  114407. "type" : "string",
  114408. "description" : "商户数据回传的优惠信息的名称",
  114409. "example" : "滴滴打车优惠001"
  114410. },
  114411. "discount_type" : {
  114412. "type" : "string",
  114413. "description" : "优惠信息的类型。为枚举值,商户可任意选择一个值作为入参传入。可取值:\t(\"exclusiveBenefit\",\"专享优惠\"),\t(\"exclusiveDiscount\",\"专享折扣\"),\t(\"appreciationBenefit\", \"增值权益\"),\t(\"memberPoint\", \"会员积分\")",
  114414. "example" : "exclusiveBenefit"
  114415. }
  114416. }
  114417. },
  114418. "ZMGoTradeInfo" : {
  114419. "type" : "object",
  114420. "properties" : {
  114421. "amount" : {
  114422. "type" : "string",
  114423. "description" : "用户和商户发生交易的交易单金额,单位元",
  114424. "example" : "3.57"
  114425. },
  114426. "trade_no" : {
  114427. "type" : "string",
  114428. "description" : "用户和商户发生交易的交易单号,仅在商户需要回传交易信息时传入。",
  114429. "example" : "2020081722001435461000061785"
  114430. }
  114431. }
  114432. },
  114433. "ZhimaCreditPayafteruseCreditagreementQueryErrorResponseModel" : {
  114434. "required" : [ "code", "message" ],
  114435. "type" : "object",
  114436. "properties" : {
  114437. "code" : {
  114438. "type" : "string",
  114439. "description" : "错误码",
  114440. "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "EXTRA_PARAM_FORMAT_ERROR", "INVALID_PARAMETER", "CREDIT_AUTH_NOT_EXIST", "ILLEGAL_QUERY", "CREDIT_AGREEMENT_NOT_EXIST", "DEPEND_FAILURE" ]
  114441. },
  114442. "links" : {
  114443. "type" : "string",
  114444. "description" : "解决方案链接"
  114445. },
  114446. "message" : {
  114447. "type" : "string",
  114448. "description" : "错误描述"
  114449. }
  114450. }
  114451. },
  114452. "ZhimaCreditPayafteruseCreditagreementQueryResponseModel" : {
  114453. "type" : "object",
  114454. "properties" : {
  114455. "agreement_status" : {
  114456. "type" : "string",
  114457. "description" : "开通/授权状态,VALID: 有效,INVALID: 无效",
  114458. "example" : "VALID"
  114459. },
  114460. "biz_time" : {
  114461. "type" : "string",
  114462. "description" : "开通时间,agreement_status为VALID有效。",
  114463. "example" : "2020-09-15 11:23:04"
  114464. },
  114465. "credit_agreement_id" : {
  114466. "type" : "string",
  114467. "description" : "芝麻开通/授权协议号",
  114468. "example" : "ZMOP99202011240100520025162811"
  114469. },
  114470. "ext_info" : {
  114471. "type" : "string",
  114472. "description" : "该字段只在特殊业务场景下,根据业务方约定返回;一般业务场景下不需要消费该字段",
  114473. "example" : "{\"key\":\"value\"}"
  114474. },
  114475. "out_agreement_no" : {
  114476. "type" : "string",
  114477. "description" : "商户外部协议号",
  114478. "example" : "2014070700166653"
  114479. }
  114480. }
  114481. },
  114482. "ZhimaCreditPayafteruseCreditagreementTransferErrorResponseModel" : {
  114483. "required" : [ "code", "message" ],
  114484. "type" : "object",
  114485. "properties" : {
  114486. "code" : {
  114487. "type" : "string",
  114488. "description" : "错误码",
  114489. "enum" : [ "SYSTEM_ERROR", "OUT_AGREEMENT_NO_DUPLICATE", "DEDUCT_AGREEMENT_INVALID", "ZHIMA_EVALUATE_NO_PASS", "CHECK_SIGN_SALES_FAIL", "SIGN_MODE_NOT_MATCH", "INVALID_PARAMETER", "USER_EXIST_VALID_AGREEMENT" ]
  114490. },
  114491. "links" : {
  114492. "type" : "string",
  114493. "description" : "解决方案链接"
  114494. },
  114495. "message" : {
  114496. "type" : "string",
  114497. "description" : "错误描述"
  114498. }
  114499. }
  114500. },
  114501. "ZhimaCreditPayafteruseCreditagreementTransferModel" : {
  114502. "type" : "object",
  114503. "properties" : {
  114504. "category_id" : {
  114505. "type" : "string",
  114506. "description" : "芝麻外部类目",
  114507. "example" : "credit_pay_test"
  114508. },
  114509. "deduct_agreement_no" : {
  114510. "type" : "string",
  114511. "description" : "用户的代扣协议号",
  114512. "example" : "20215401139331610689"
  114513. },
  114514. "out_agreement_no" : {
  114515. "type" : "string",
  114516. "description" : "商户外部协议号,不同的支付宝用户需要传递不同的外部单号",
  114517. "example" : "2014070700166653"
  114518. },
  114519. "zm_service_id" : {
  114520. "type" : "string",
  114521. "description" : "芝麻信用服务ID",
  114522. "example" : "2020050722001440031000061082"
  114523. }
  114524. }
  114525. },
  114526. "ZhimaCreditPayafteruseCreditagreementTransferResponseModel" : {
  114527. "type" : "object",
  114528. "properties" : {
  114529. "credit_agreement_id" : {
  114530. "type" : "string",
  114531. "description" : "芝麻开通协议号",
  114532. "example" : "ZMOP99202011240100520025162811"
  114533. },
  114534. "out_agreement_no" : {
  114535. "type" : "string",
  114536. "description" : "商户外部协议号",
  114537. "example" : "2014070700166653"
  114538. }
  114539. }
  114540. },
  114541. "ZhimaCreditPayafteruseCreditbizorderFinishErrorResponseModel" : {
  114542. "required" : [ "code", "message" ],
  114543. "type" : "object",
  114544. "properties" : {
  114545. "code" : {
  114546. "type" : "string",
  114547. "description" : "错误码",
  114548. "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "ORDER_NOT_EXIST", "INVALID_PARAMETER", "ORDER_STATUS_INVALID", "MERCHANT_NO_PERMISSION_OPERATE_ORDER" ]
  114549. },
  114550. "links" : {
  114551. "type" : "string",
  114552. "description" : "解决方案链接"
  114553. },
  114554. "message" : {
  114555. "type" : "string",
  114556. "description" : "错误描述"
  114557. }
  114558. }
  114559. },
  114560. "ZhimaCreditPayafteruseCreditbizorderFinishModel" : {
  114561. "type" : "object",
  114562. "properties" : {
  114563. "credit_biz_order_id" : {
  114564. "type" : "string",
  114565. "description" : "信用服务订单号",
  114566. "example" : "ZMCB20201021200102012"
  114567. },
  114568. "is_fulfilled" : {
  114569. "type" : "string",
  114570. "description" : "用户此订单是否守约。\t传true时,用户在芝麻信用-守约记录中,该笔订单是已守约状态;\t传false时,用户在芝麻信用-守约记录中,该笔订单是已取消状态。",
  114571. "example" : "true"
  114572. },
  114573. "out_request_no" : {
  114574. "type" : "string",
  114575. "description" : "商户外部请求号",
  114576. "example" : "2014070700166653"
  114577. },
  114578. "remark" : {
  114579. "type" : "string",
  114580. "description" : "商户对本次操作的附言描述",
  114581. "example" : "完结订单"
  114582. }
  114583. }
  114584. },
  114585. "ZhimaCreditPayafteruseCreditbizorderFinishResponseModel" : {
  114586. "type" : "object",
  114587. "properties" : {
  114588. "credit_biz_order_id" : {
  114589. "type" : "string",
  114590. "description" : "信用服务订单号",
  114591. "example" : "ZMCB20201021200102012"
  114592. },
  114593. "order_status" : {
  114594. "type" : "string",
  114595. "description" : "信用服务订单状态.INIT: 下单状态; TRADE_CLOSED: 订单取消或者交易全额退款; TRADE_FINISHED:扣款成功状态",
  114596. "example" : "INIT"
  114597. },
  114598. "out_request_no" : {
  114599. "type" : "string",
  114600. "description" : "商户外部请求号",
  114601. "example" : "4977164666634053"
  114602. }
  114603. }
  114604. },
  114605. "ZhimaCreditPayafteruseCreditbizorderOrderErrorResponseModel" : {
  114606. "required" : [ "code", "message" ],
  114607. "type" : "object",
  114608. "properties" : {
  114609. "code" : {
  114610. "type" : "string",
  114611. "description" : "错误码",
  114612. "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "INVALID_PARAMETER", "CREDIT_AGREEMENT_INVALID", "CHECK_SIGN_SALES_FAIL", "ZHIMA_EVALUATE_NO_PASS", "SIGN_SALES_CHANGE", "ZHIMA_CHECK_NO_PASS" ]
  114613. },
  114614. "links" : {
  114615. "type" : "string",
  114616. "description" : "解决方案链接"
  114617. },
  114618. "message" : {
  114619. "type" : "string",
  114620. "description" : "错误描述"
  114621. }
  114622. }
  114623. },
  114624. "ZhimaCreditPayafteruseCreditbizorderOrderModel" : {
  114625. "type" : "object",
  114626. "properties" : {
  114627. "amount_type" : {
  114628. "type" : "string",
  114629. "description" : "只有当传递了order_amount时,该参数才有意义; 1)该参数不传时,默认为ORDER_AMOUNT。 2)传ORDER_AMOUNT时,表示order_amount传入的金额为后付金额,在发起扣款时,最大扣款支付金额为order_amount传入的值; 3)传RISK_AMOUNT时,表示ORDER_AMOUNT传入的金额为风险预估金额,在发起扣款时,最大扣款支付金额为商户签约时约定的上限额度。",
  114630. "example" : "RISK_AMOUNT"
  114631. },
  114632. "body" : {
  114633. "type" : "string",
  114634. "description" : "订单描述",
  114635. "example" : "Iphone6 16G"
  114636. },
  114637. "category_id" : {
  114638. "type" : "string",
  114639. "description" : "芝麻外部类目",
  114640. "example" : "credit_pay_after_use"
  114641. },
  114642. "credit_agreement_id" : {
  114643. "type" : "string",
  114644. "description" : "芝麻开通协议号",
  114645. "example" : "ZMOP99202011240100520025162811"
  114646. },
  114647. "extend_params" : {
  114648. "type" : "string",
  114649. "description" : "业务扩展参数",
  114650. "example" : "{\"key\":\"value\"}"
  114651. },
  114652. "order_amount" : {
  114653. "type" : "string",
  114654. "description" : "订单金额,该金额为当前订单扣款的累计最大额度。例如,下单时传递10.00,则扣款时最大支付金额为10元。若该参数不传,则默认使用商户签约时约定的上限额度。芝麻速办业务场景(极速回收、极速返利、极速退款等)商户请求时,order_amount必传,且amount_type类型需传递ORDER_AMOUNT。",
  114655. "example" : "88.66"
  114656. },
  114657. "out_order_no" : {
  114658. "type" : "string",
  114659. "description" : "商户外部订单号,保证不重复",
  114660. "example" : "out00120312323232"
  114661. },
  114662. "product_code" : {
  114663. "type" : "string",
  114664. "description" : "产品码,不传默认为CREDIT_PAY_AFTER_USE",
  114665. "example" : "CREDIT_PAY_AFTER_USE"
  114666. },
  114667. "subject" : {
  114668. "type" : "string",
  114669. "description" : "订单标题。\t注意:不可使用特殊字符,如 /,=,& 等。",
  114670. "example" : "Iphone6 16G"
  114671. }
  114672. }
  114673. },
  114674. "ZhimaCreditPayafteruseCreditbizorderOrderResponseModel" : {
  114675. "type" : "object",
  114676. "properties" : {
  114677. "credit_biz_order_id" : {
  114678. "type" : "string",
  114679. "description" : "信用服务订单号",
  114680. "example" : "ZMCB99202103310000450000041833"
  114681. },
  114682. "out_order_no" : {
  114683. "type" : "string",
  114684. "description" : "商户传入的外部订单号",
  114685. "example" : "out1210212021212"
  114686. }
  114687. }
  114688. },
  114689. "ZhimaCreditPayafteruseCreditbizorderQueryErrorResponseModel" : {
  114690. "required" : [ "code", "message" ],
  114691. "type" : "object",
  114692. "properties" : {
  114693. "code" : {
  114694. "type" : "string",
  114695. "description" : "错误码",
  114696. "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "INVALID_PARAMETER", "ILLEGAL_QUERY" ]
  114697. },
  114698. "links" : {
  114699. "type" : "string",
  114700. "description" : "解决方案链接"
  114701. },
  114702. "message" : {
  114703. "type" : "string",
  114704. "description" : "错误描述"
  114705. }
  114706. }
  114707. },
  114708. "ZhimaCreditPayafteruseCreditbizorderQueryResponseModel" : {
  114709. "type" : "object",
  114710. "properties" : {
  114711. "create_time" : {
  114712. "type" : "string",
  114713. "description" : "订单创建时间",
  114714. "example" : "2020-09-15 11:23:04"
  114715. },
  114716. "credit_agreement_id" : {
  114717. "type" : "string",
  114718. "description" : "芝麻开通协议号",
  114719. "example" : "ZMOP2014070700166653"
  114720. },
  114721. "credit_biz_order_id" : {
  114722. "type" : "string",
  114723. "description" : "信用服务订单号",
  114724. "example" : "ZMCB20201021200102012"
  114725. },
  114726. "order_status" : {
  114727. "type" : "string",
  114728. "description" : "信用服务订单状态。INIT: 下单状态;TRADE_CLOSED: 订单取消或者交易全额退款; TRADE_FINISHED:扣款成功状态",
  114729. "example" : "INIT"
  114730. },
  114731. "product_code" : {
  114732. "type" : "string",
  114733. "description" : "产品码",
  114734. "example" : "CREDIT_PAY_AFTER_USE"
  114735. },
  114736. "total_amount" : {
  114737. "type" : "string",
  114738. "description" : "信用服务订单金额",
  114739. "example" : "88.88"
  114740. },
  114741. "trade_no" : {
  114742. "type" : "string",
  114743. "description" : "支付宝交易号",
  114744. "example" : "2021030422001428451400037476"
  114745. },
  114746. "zm_service_id" : {
  114747. "type" : "string",
  114748. "description" : "芝麻信用服务ID",
  114749. "example" : "2020050722001440031000061082"
  114750. }
  114751. }
  114752. },
  114753. "ZhimaCreditPeZmgoAgreementQueryErrorResponseModel" : {
  114754. "required" : [ "code", "message" ],
  114755. "type" : "object",
  114756. "properties" : {
  114757. "code" : {
  114758. "type" : "string",
  114759. "description" : "错误码",
  114760. "enum" : [ "ZMGO_BIZ_AGR_NULL" ]
  114761. },
  114762. "links" : {
  114763. "type" : "string",
  114764. "description" : "解决方案链接"
  114765. },
  114766. "message" : {
  114767. "type" : "string",
  114768. "description" : "错误描述"
  114769. }
  114770. }
  114771. },
  114772. "ZhimaCreditPeZmgoAgreementQueryResponseModel" : {
  114773. "type" : "object",
  114774. "properties" : {
  114775. "agreement_id" : {
  114776. "type" : "string",
  114777. "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花芝轻会员协议号。",
  114778. "example" : "20185513447859192007"
  114779. },
  114780. "agreement_name" : {
  114781. "type" : "string",
  114782. "description" : "协议名称",
  114783. "example" : "花呗先享会员"
  114784. },
  114785. "agreement_status" : {
  114786. "type" : "string",
  114787. "description" : "协议状态。Y表示状态有效,P表示状态失效中,N表示状态已失效",
  114788. "example" : "Y"
  114789. },
  114790. "alipay_user_id" : {
  114791. "type" : "string",
  114792. "description" : "支付宝用户userId",
  114793. "example" : "2088302424419340"
  114794. },
  114795. "biz_type" : {
  114796. "type" : "string",
  114797. "description" : "代表签约芝麻GO所属业务类型",
  114798. "example" : "zm_zmgo"
  114799. },
  114800. "open_id" : {
  114801. "type" : "string",
  114802. "description" : "支付宝用户userId",
  114803. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  114804. },
  114805. "sign_time" : {
  114806. "type" : "string",
  114807. "description" : "该条芝麻GO协议签约时间",
  114808. "example" : "2021-09-27 00:00:00"
  114809. },
  114810. "start_time" : {
  114811. "type" : "string",
  114812. "description" : "该芝麻GO协议开始时间",
  114813. "example" : "2021-09-27 00:00:00"
  114814. }
  114815. }
  114816. },
  114817. "ZhimaCreditPeZmgoAgreementUnsignErrorResponseModel" : {
  114818. "required" : [ "code", "message" ],
  114819. "type" : "object",
  114820. "properties" : {
  114821. "code" : {
  114822. "type" : "string",
  114823. "description" : "错误码",
  114824. "enum" : [ "INVALID_PARAMETER", "ZMGO_BIZ_AGR_SYSTEM_ERROR", "ZMGO_BIZ_ORDER_SYSTEM_ERROR", "SETTLE_BALANCE_ACCOUNT_ERROR", "ZMGO_SYSTEM_AMOUNT_NOT_CLEAR", "ZMGO_BIZ_AGR_ERROR", "ZMGO_CREATE_WPN_SYSTEM_ERROR" ]
  114825. },
  114826. "links" : {
  114827. "type" : "string",
  114828. "description" : "解决方案链接"
  114829. },
  114830. "message" : {
  114831. "type" : "string",
  114832. "description" : "错误描述"
  114833. }
  114834. }
  114835. },
  114836. "ZhimaCreditPeZmgoAgreementUnsignModel" : {
  114837. "type" : "object",
  114838. "properties" : {
  114839. "agreement_id" : {
  114840. "type" : "string",
  114841. "description" : "支付宝系统中用以唯一标识用户签约记录的编号。",
  114842. "example" : "ZMGO_AGR2020122710020604120000000001"
  114843. },
  114844. "alipay_user_id" : {
  114845. "type" : "string",
  114846. "description" : "支付宝的用户id",
  114847. "example" : "2088302841345600"
  114848. },
  114849. "open_id" : {
  114850. "type" : "string",
  114851. "description" : "支付宝的用户id",
  114852. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  114853. },
  114854. "partner_id" : {
  114855. "type" : "string",
  114856. "description" : "商户ID",
  114857. "example" : "2088302424614288"
  114858. },
  114859. "quit_type" : {
  114860. "type" : "string",
  114861. "description" : "quit_type为USER_CANCEL_QUIT或者SETTLE_APPLY_QUIT",
  114862. "example" : "SETTLE_APPLY_QUIT"
  114863. }
  114864. }
  114865. },
  114866. "ZhimaCreditPeZmgoAgreementUnsignResponseModel" : {
  114867. "type" : "object",
  114868. "properties" : {
  114869. "agreement_id" : {
  114870. "type" : "string",
  114871. "description" : "支付宝系统中用以唯一标识用户签约记录的编号。",
  114872. "example" : "ZMGO_AGR2020122710020604120000000001"
  114873. },
  114874. "withhold_plan_no" : {
  114875. "type" : "string",
  114876. "description" : "调用芝麻GO结算受理接口时,需要传入该值",
  114877. "example" : "ZMGO_WHD2021022210020603120000301613"
  114878. }
  114879. }
  114880. },
  114881. "ZhimaCreditPeZmgoBizoptCloseErrorResponseModel" : {
  114882. "required" : [ "code", "message" ],
  114883. "type" : "object",
  114884. "properties" : {
  114885. "code" : {
  114886. "type" : "string",
  114887. "description" : "错误码",
  114888. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_OPT_STATUS_CHECK_FAILURE", "BIZ_OPT_NOT_EXIST", "BIZ_OPT_ERROR", "ZMGO_BIZ_OPT_NULL", "BIZ_OPT_UPDATE_FAILURE", "REQUEST_ACCESS_ILLEGAL" ]
  114889. },
  114890. "links" : {
  114891. "type" : "string",
  114892. "description" : "解决方案链接"
  114893. },
  114894. "message" : {
  114895. "type" : "string",
  114896. "description" : "错误描述"
  114897. }
  114898. }
  114899. },
  114900. "ZhimaCreditPeZmgoBizoptCloseModel" : {
  114901. "type" : "object",
  114902. "properties" : {
  114903. "alipay_user_id" : {
  114904. "type" : "string",
  114905. "description" : "支付宝用户Id",
  114906. "example" : "2088302841345600"
  114907. },
  114908. "open_id" : {
  114909. "type" : "string",
  114910. "description" : "支付宝用户Id",
  114911. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  114912. },
  114913. "out_request_no" : {
  114914. "type" : "string",
  114915. "description" : "商户本次操作的请求流水号,由商户生成,请确保唯一性",
  114916. "example" : "99202005050100930053707258"
  114917. },
  114918. "partner_id" : {
  114919. "type" : "string",
  114920. "description" : "商户Id",
  114921. "example" : "2088302424614288"
  114922. },
  114923. "template_id" : {
  114924. "type" : "string",
  114925. "description" : "芝麻GO配置模板Id",
  114926. "example" : "2021012300020903090008858258"
  114927. }
  114928. }
  114929. },
  114930. "ZhimaCreditPeZmgoBizoptCloseResponseModel" : {
  114931. "type" : "object",
  114932. "properties" : {
  114933. "biz_opt_no" : {
  114934. "type" : "string",
  114935. "description" : "芝麻GO签约申请时生成的签约申请单据号",
  114936. "example" : "ZMGO_OPT2021020110020607850000006001"
  114937. },
  114938. "open_id" : {
  114939. "type" : "string",
  114940. "description" : "蚂蚁统一会员ID",
  114941. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  114942. },
  114943. "out_request_no" : {
  114944. "type" : "string",
  114945. "description" : "商户本次操作的请求流水号",
  114946. "example" : "9e8cc8da16866a79161ee033cb58497b"
  114947. },
  114948. "partner_id" : {
  114949. "type" : "string",
  114950. "description" : "商户ID",
  114951. "example" : "2088302424614288"
  114952. },
  114953. "user_id" : {
  114954. "type" : "string",
  114955. "description" : "蚂蚁统一会员ID",
  114956. "example" : "2088302841345600"
  114957. }
  114958. }
  114959. },
  114960. "ZhimaCreditPeZmgoCumulationSyncErrorResponseModel" : {
  114961. "required" : [ "code", "message" ],
  114962. "type" : "object",
  114963. "properties" : {
  114964. "code" : {
  114965. "type" : "string",
  114966. "description" : "错误码",
  114967. "enum" : [ "REQUEST_PARAM_ILLEGAL", "SYSTEM_ERROR", "INVALID_PARAMETER", "REQUEST_ACCESS_ILLEGAL", "INVALID_BIZ_ACTION", "EASY_MEMBER_CONSULT_FAIL", "INVALID_CUMULATE_MODE", "IDEMPOTENT_ERROR", "INVALID_CUMULATE_TYPE", "PAY_ORDER_NOT_EXIST", "ORDER_AMOUNT_ILLEGAL", "DISCOUNT_AMOUNT_ILLEGAL", "REFUND_TIME_ILLEGAL", "REFUND_ILLEGAL", "BUYER_INFO_ERROR", "SELLER_INFO_ERROR", "TRADE_NOT_EXIST" ]
  114968. },
  114969. "links" : {
  114970. "type" : "string",
  114971. "description" : "解决方案链接"
  114972. },
  114973. "message" : {
  114974. "type" : "string",
  114975. "description" : "错误描述"
  114976. }
  114977. }
  114978. },
  114979. "ZhimaCreditPeZmgoCumulationSyncModel" : {
  114980. "type" : "object",
  114981. "properties" : {
  114982. "agreement_no" : {
  114983. "type" : "string",
  114984. "description" : "芝麻go协议号,唯一标识一个芝麻go协议。为必传入参。",
  114985. "example" : "20195108518085620000"
  114986. },
  114987. "amount_type_data" : {
  114988. "$ref" : "#/components/schemas/AmountTypeData"
  114989. },
  114990. "biz_action" : {
  114991. "type" : "string",
  114992. "description" : "数据回传的动作类型,为枚举值,为必传入参。\t可取值:\t(\"ORDER_PAID\", \"正向支付\"),(\"ORDER_REFUND\", \"逆向退款\")。\t其中ORDER_PAID表示回传为正向的,即订单金额累加,优惠累加,任务次数累加;而ORDER_REFUND表示回传为逆向的,即订单金额退款,优惠退款,任务次数回退。",
  114993. "example" : "ORDER_PAID"
  114994. },
  114995. "biz_time" : {
  114996. "type" : "string",
  114997. "description" : "交易发生时间,包括:订单交易时间,优惠核销时间,以及任务完成时间。为必传入参。\t如:用户在【2019-03-08 00:00:00】核销了一个红包,但是【2019-03-10 00:00:00】才进行数据回传,此时biz_time取值红包核销的时间,也就是【2019-03-08 00:00:00】。",
  114998. "example" : "2019-03-08 19:51:35"
  114999. },
  115000. "cumulate_data_type" : {
  115001. "type" : "string",
  115002. "description" : "累计类型。为枚举值,为必传入参。\t可取值:(\"AMOUNT\", \"金额类型\"),(\"TASK\", \"任务类型\"),(\"AMOUNT_TASK\", \"额度和任务类型\")。\t其中,交易解耦模式仅允许AMOUNT或TASK。而交易绑定模式下,仅允许AMOUNT_TASK。",
  115003. "example" : "AMOUNT"
  115004. },
  115005. "ext_info" : {
  115006. "type" : "string",
  115007. "description" : "扩展字段,格式为Json格式的字符串,非必传。",
  115008. "example" : "{\"number\":\"20200303938282939\"}"
  115009. },
  115010. "has_alipay_trade" : {
  115011. "type" : "boolean",
  115012. "description" : "是否为支付宝交易。仅在累计模式为【交易绑定模式】下被消费。当芝麻Go模板配置的累计模式为交易绑定模式时,此时需传入扩展参数是否为支付宝交易。若是支付宝交易,传值true,否则为false。若不传此字段,默认为false。\t若为true,则会对交易号trade_no进行校验,校验是否为支付宝交易,以及用户userId和商户partnerId是否一致,若校验不通过,累计失败。",
  115013. "example" : "false"
  115014. },
  115015. "open_id" : {
  115016. "type" : "string",
  115017. "description" : "用户userId,蚂蚁统一会员ID,为必传入参。",
  115018. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  115019. },
  115020. "out_biz_no" : {
  115021. "type" : "string",
  115022. "description" : "外部业务号。需保证唯一,为必传入参。\t若接口调用失败,提示信息为更换幂等号,商户更换此字段重新发起调用。",
  115023. "example" : "2020081211223006150094012926289"
  115024. },
  115025. "partner_id" : {
  115026. "type" : "string",
  115027. "description" : "商户ID,为必传入参。",
  115028. "example" : "2088621805983504"
  115029. },
  115030. "pay_out_biz_no" : {
  115031. "type" : "string",
  115032. "description" : "逆向对应的正向外部业务号。逆向场景为必传入参。也就是biz_action为ORDER_REFUND时为必传入参。\t逆向时需通过此字段明确对应的正向的外部业务号。",
  115033. "example" : "2020081211223006150094012926289"
  115034. },
  115035. "request_from" : {
  115036. "type" : "string",
  115037. "description" : "取固定值ExternalMerchantSource,为必传入参。表示数据回传来源为外部商户,数据回传内部逻辑需感知。",
  115038. "example" : "ExternalMerchantSource"
  115039. },
  115040. "task_type_data" : {
  115041. "$ref" : "#/components/schemas/TaskTypeData"
  115042. },
  115043. "user_id" : {
  115044. "type" : "string",
  115045. "description" : "用户userId,蚂蚁统一会员ID,为必传入参。",
  115046. "example" : "2088602002015001"
  115047. }
  115048. }
  115049. },
  115050. "ZhimaCreditPeZmgoCumulationSyncResponseModel" : {
  115051. "type" : "object",
  115052. "properties" : {
  115053. "agreement_no" : {
  115054. "type" : "string",
  115055. "description" : "芝麻go协议号,唯一标识一个芝麻go协议。\t累计成功后返回此字段。",
  115056. "example" : "20195108518085620000"
  115057. },
  115058. "fail_reason" : {
  115059. "type" : "string",
  115060. "description" : "数据回传失败原因描述。\t累计失败后返回此字段。",
  115061. "example" : "入参userId为空"
  115062. },
  115063. "open_id" : {
  115064. "type" : "string",
  115065. "description" : "用户userId,蚂蚁统一会员ID。\t累计成功后返回此字段。",
  115066. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  115067. },
  115068. "out_biz_no" : {
  115069. "type" : "string",
  115070. "description" : "外部业务号。需保证唯一,若接口调用失败,提示信息为更换幂等号,商户更换此字段重新发起调用。\t累计成功后返回此字段。",
  115071. "example" : "2020081211223006150094012926289"
  115072. },
  115073. "user_id" : {
  115074. "type" : "string",
  115075. "description" : "用户userId,蚂蚁统一会员ID。\t累计成功后返回此字段。",
  115076. "example" : "2088602002015001"
  115077. }
  115078. }
  115079. },
  115080. "ZhimaCreditPeZmgoPreorderCreateErrorResponseModel" : {
  115081. "required" : [ "code", "message" ],
  115082. "type" : "object",
  115083. "properties" : {
  115084. "code" : {
  115085. "type" : "string",
  115086. "description" : "错误码",
  115087. "enum" : [ "INVALID_PARAMETER", "CUSTOM_FREEZE_AMOUNT_NOT_SUPPORT", "NOTIFY_URL_NOT_SUPPORT", "ORDER_INDEPOTENT_FAILED", "TEMPLATE_INVALID", "MERCHANT_AGREEMENT_CHECK_FAILED", "FREEZE_AMOUNT_INVALID", "ORDER_HAS_CLOSED", "SYSTEM_ERROR", "NOT_SUPPORT_DYNAMIC_TEMPLATE", "REQUEST_ACCESS_ILLEGAL" ]
  115088. },
  115089. "links" : {
  115090. "type" : "string",
  115091. "description" : "解决方案链接"
  115092. },
  115093. "message" : {
  115094. "type" : "string",
  115095. "description" : "错误描述"
  115096. }
  115097. }
  115098. },
  115099. "ZhimaCreditPeZmgoPreorderCreateModel" : {
  115100. "type" : "object",
  115101. "properties" : {
  115102. "alipay_open_id" : {
  115103. "type" : "string",
  115104. "description" : "支付宝用户ID。同一个外部请求号,调用方要确保支付宝userId取值不变",
  115105. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  115106. },
  115107. "alipay_user_id" : {
  115108. "type" : "string",
  115109. "description" : "支付宝用户ID。同一个外部请求号,调用方要确保支付宝userId取值不变",
  115110. "example" : "2088759402857364"
  115111. },
  115112. "biz_time" : {
  115113. "type" : "string",
  115114. "description" : "业务发生时间,如2016-07-06 00:00:02\t签约超时关单时间依赖这个时间\t这个时间会做幂等校验,如果创单幂等,但时间不同会失败",
  115115. "example" : "2016-07-06 00:00:02"
  115116. },
  115117. "custom_temp_conf" : {
  115118. "type" : "string",
  115119. "description" : "废弃字段,勿用",
  115120. "example" : "SHOW_AGREEMENT_LIST=true"
  115121. },
  115122. "expire_aisle_data" : {
  115123. "type" : "string",
  115124. "description" : "协议到期后通知",
  115125. "example" : "业务方到期标识"
  115126. },
  115127. "ext_template_conf" : {
  115128. "$ref" : "#/components/schemas/ExtTemplateConf"
  115129. },
  115130. "extend_params" : {
  115131. "$ref" : "#/components/schemas/PreOrderExtInfo"
  115132. },
  115133. "freeze_amount" : {
  115134. "type" : "string",
  115135. "description" : "冻结金额,单位:元",
  115136. "example" : "1.00"
  115137. },
  115138. "isv_pid" : {
  115139. "type" : "string",
  115140. "description" : "ISV商户ID",
  115141. "example" : "2088374762857463"
  115142. },
  115143. "out_request_no" : {
  115144. "type" : "string",
  115145. "description" : "外部请求号,唯一",
  115146. "example" : "ORDER_12345678"
  115147. },
  115148. "partner_id" : {
  115149. "type" : "string",
  115150. "description" : "商户ID",
  115151. "example" : "2088437463829741"
  115152. },
  115153. "partner_user_identifier" : {
  115154. "type" : "string",
  115155. "description" : "商户侧用户唯一标识。ex.商户侧uid",
  115156. "example" : "user102934889234"
  115157. },
  115158. "pay_aisle_data" : {
  115159. "type" : "string",
  115160. "description" : "结算成功后通知",
  115161. "example" : "业务方结算标识"
  115162. },
  115163. "sign_aisle_data" : {
  115164. "type" : "string",
  115165. "description" : "签约成功后通知",
  115166. "example" : "业务方签约标识"
  115167. },
  115168. "template_id" : {
  115169. "type" : "string",
  115170. "description" : "签约芝麻GO的模板ID",
  115171. "example" : "2020122200020903760008552025"
  115172. },
  115173. "timeout_express" : {
  115174. "type" : "string",
  115175. "description" : "超时关单时间\t默认1H。1m~15d。m表示分钟,h表示小时,d表示天。该参数数值不接受小数点, 如1.5h,可转换为90m\t签约超时关单时间依赖这个时间",
  115176. "example" : "15m"
  115177. }
  115178. }
  115179. },
  115180. "ZhimaCreditPeZmgoPreorderCreateResponseModel" : {
  115181. "type" : "object",
  115182. "properties" : {
  115183. "biz_type" : {
  115184. "type" : "string",
  115185. "description" : "业务类型",
  115186. "example" : "hongbaoqiandao"
  115187. },
  115188. "partner_id" : {
  115189. "type" : "string",
  115190. "description" : "商户ID",
  115191. "example" : "2088990000000000"
  115192. },
  115193. "preorder_no" : {
  115194. "type" : "string",
  115195. "description" : "芝麻GO预创建单号",
  115196. "example" : "ZMGO_ASO2019071000020903940000062019"
  115197. }
  115198. }
  115199. },
  115200. "ZhimaCreditPeZmgoSettleApplyErrorResponseModel" : {
  115201. "required" : [ "code", "message" ],
  115202. "type" : "object",
  115203. "properties" : {
  115204. "code" : {
  115205. "type" : "string",
  115206. "description" : "错误码",
  115207. "enum" : [ "INVALID_PARAMETER", "PAY_AMOUNT_IDEMPOTENT_ERROR", "SETTLE_ACCEPT_NOT_SUPPORT", "SETTLE_WITHHOLD_PLAN_NOT_EXIST", "SETTLE_WITHHOLD_PLAN_NO_ERROR", "ZMGO_CONFIG_SYSTEM_ERROR", "SETTLE_BALANCE_ACCOUNT_ERROR", "SETTLE_BIZ_ORDER_NOT_EXIST", "ZMGO_BIZ_ORDER_SYSTEM_ERROR", "ZMGO_SYSTEM_AMOUNT_NOT_CLEAR", "ZMGO_CREATE_WPN_SYSTEM_ERROR", "ZMGO_BIZ_AGR_SYSTEM_ERROR", "SETTLE_ILLEGAL_RPC", "SETTLE_WITHHOLD_PLAN_STATUS_ERROR", "SETTLE_BIZ_AGREEMENT_STATUS_FINISH", "BALANCE_AVAILABLE_AMOUNT_NOT_ENOUGH", "ZMGO_ACCEPTED_SYSTEM_ERROR", "SYSTEM_ERROR", "SETTLE_INVALID_SETTLEMENT_INFO", "PAY_AMOUNT_CHECK_ERROR", "CYCLE_WITHHOLD_NOTIN_ACCEPT_TIME", "CYCLE_WITHHOLD_PAY_AMOUNT_ERROR", "REQUEST_ACCESS_ILLEGAL" ]
  115208. },
  115209. "links" : {
  115210. "type" : "string",
  115211. "description" : "解决方案链接"
  115212. },
  115213. "message" : {
  115214. "type" : "string",
  115215. "description" : "错误描述"
  115216. }
  115217. }
  115218. },
  115219. "ZhimaCreditPeZmgoSettleApplyModel" : {
  115220. "type" : "object",
  115221. "properties" : {
  115222. "action_type" : {
  115223. "type" : "string",
  115224. "description" : "DEFAULT_SETTLE 默认结算模式;\tPAY_TO_ZERO 支付转0元;",
  115225. "example" : "DEFAULT_SETTLE或PAY_TO_ZERO"
  115226. },
  115227. "agreement_id" : {
  115228. "type" : "string",
  115229. "description" : "支付宝系统中用以唯一标识用户签约记录的编号。",
  115230. "example" : "ZMGO_AGR2020122710020604120000000001"
  115231. },
  115232. "alipay_open_id" : {
  115233. "type" : "string",
  115234. "description" : "买家在支付宝的用户id",
  115235. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  115236. },
  115237. "alipay_user_id" : {
  115238. "type" : "string",
  115239. "description" : "买家在支付宝的用户id",
  115240. "example" : "2088101117955611"
  115241. },
  115242. "out_request_no" : {
  115243. "type" : "string",
  115244. "description" : "商户本次操作的请求流水号,用于标示请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。",
  115245. "example" : "8077735255938032"
  115246. },
  115247. "partner_id" : {
  115248. "type" : "string",
  115249. "description" : "商户ID",
  115250. "example" : "2088102146225135"
  115251. },
  115252. "pay_amount" : {
  115253. "type" : "string",
  115254. "description" : "需要支付的金额,单位为:元(人民币),精确到小数点后两位",
  115255. "example" : "2.00"
  115256. },
  115257. "settle_extend_params" : {
  115258. "$ref" : "#/components/schemas/SettleExtraParams"
  115259. },
  115260. "total_discount_amount" : {
  115261. "type" : "string",
  115262. "description" : "芝麻GO任务开始到到期过程中和任务相关享受的总优惠金额,单位为:元(人民币),精确到小数点后两位。",
  115263. "example" : "3.00"
  115264. },
  115265. "total_real_pay_amount" : {
  115266. "type" : "string",
  115267. "description" : "芝麻GO任务开始到到期过程中和任务相关支付的总金额,单位为:元(人民币),精确到小数点后两位。",
  115268. "example" : "3.00"
  115269. },
  115270. "total_task_count" : {
  115271. "type" : "string",
  115272. "description" : "芝麻GO任务开始到到期过程中和任务相关完成的任务次数",
  115273. "example" : "0"
  115274. },
  115275. "withhold_plan_no" : {
  115276. "type" : "string",
  115277. "description" : "芝麻GO结算时,需要传入的扣款单据号。来源于协议到期通知消息,外部商户接入时,该参数必填",
  115278. "example" : "ZMGO_WHD2021010510020603410000006001"
  115279. }
  115280. }
  115281. },
  115282. "ZhimaCreditPeZmgoSettleApplyResponseModel" : {
  115283. "type" : "object",
  115284. "properties" : {
  115285. "agreement_id" : {
  115286. "type" : "string",
  115287. "description" : "支付宝系统中用以唯一标识用户签约记录的编号。",
  115288. "example" : "ZMGO_AGR2020122710020604120000000001"
  115289. },
  115290. "fail_reason" : {
  115291. "type" : "string",
  115292. "description" : "根据商户传入的轻会员协议结算周期内累计消费数据与支付宝端轻会员协议结算周期内消费数据比对之后,若数据不一致,则会返回对应的异常数据比对结果。",
  115293. "example" : "累计支付宝支付金额不一致,支付宝:100.00元,商户:150.00元"
  115294. },
  115295. "out_request_no" : {
  115296. "type" : "string",
  115297. "description" : "商户本次操作的请求流水号,用于标示请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。",
  115298. "example" : "8077735255938032"
  115299. },
  115300. "settle_status" : {
  115301. "type" : "string",
  115302. "description" : "Y(\"Y\", \"支付成功\"),\tP(\"P\", \"支付中\"),\tN(\"N\", \"支付失败\"),",
  115303. "example" : "P"
  115304. },
  115305. "withhold_plan_no" : {
  115306. "type" : "string",
  115307. "description" : "芝麻GO结算时,需要传入的扣款单据号。来源于协议到期通知消息",
  115308. "example" : "ZMGO_WHD2021010510020603410000006001"
  115309. }
  115310. }
  115311. },
  115312. "ZhimaCreditPeZmgoSettleRefundErrorResponseModel" : {
  115313. "required" : [ "code", "message" ],
  115314. "type" : "object",
  115315. "properties" : {
  115316. "code" : {
  115317. "type" : "string",
  115318. "description" : "错误码",
  115319. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_NOT_EXIST", "REFUND_AMOUNT_CHECK_ERROR", "REQUEST_PARAM_ILLEGAL", "REQUEST_ACCESS_ILLEGAL", "REFUND_PARAM_IS_ERROR", "REFUND_AGREEMENT_STATUS_NOT_SUPPORT", "AUTH_OPT_ORDER_NOT_EXIST", "REFUND_OPT_ORDER_NOT_UNIQUE", "REFUND_OPT_ORDER_NOT_EXIST", "REFUND_TRADE_NO_NOT_EXIST", "REFUND_REQUEST_NO_IDEMPOTENT_FAIL", "AGREEMENT_AND_USER_NOT_MATCH", "REFUND_AMOUNT_IS_ILLEGAL", "REFUND_PAY_AMOUNT_IS_EMPTY", "REFUND_AMOUNT_IS_ZERO", "TRADENO_AND_AUTHOPT_NOT_MATCH", "OPTID_AND_TRADENO_ALL_EMPTY", "AGREEMENT_AND_PARTNER_NOT_MATCH", "REFUND_LAST_TIME_SUCCESS", "REFUND_LAST_TIME_FAIL", "REFUND_LAST_TIME_INIT", "REFUND_AGREEMENT_NOT_EXIST", "UNITRADEPROD_EXECUTE_ERROR", "TRADE_HAS_CLOSE", "SELLER_BALANCE_NOT_ENOUGH", "REFUND_AMT_NOT_EQUAL_TOTAL", "TRADE_NOT_EXIST", "TRADE_HAS_FINISHED", "REASON_TRADE_REFUND_FEE_ERR", "TRADE_NOT_ALLOW_REFUND", "REFUND_FEE_ERROR", "REASON_TRADE_BEEN_FREEZEN", "TRADE_STATUS_ERROR", "REFUND_LAST_TIME_ACCEPT", "REFUND_PAY_AMOUNT_IS_ZERO", "SETTLE_REFUND_ERROR", "SETTLE_REFUND_AMOUNT_ERROR", "SETTLE_WITHHOLD_PLAN_NOT_EXIST", "SETTLE_WITHHOLD_PLAN_STATUS_ERROR", "SETTLE_REFUND_BALANCE_ERROR", "SETTLE_BIZ_AGREEMENT_NOT_EXIST", "SETTLE_REFUND_REQUEST_NO_ERROR", "SETTLE_REFUND_ILLEGAL_ACCESS", "SETTLE_REFUND_TIME_ERROR", "SETTLE_REFUND_NOT_SUPPORT" ]
  115320. },
  115321. "links" : {
  115322. "type" : "string",
  115323. "description" : "解决方案链接"
  115324. },
  115325. "message" : {
  115326. "type" : "string",
  115327. "description" : "错误描述"
  115328. }
  115329. }
  115330. },
  115331. "ZhimaCreditPeZmgoSettleRefundModel" : {
  115332. "type" : "object",
  115333. "properties" : {
  115334. "agreement_id" : {
  115335. "type" : "string",
  115336. "description" : "签约芝麻GO的业务协议号,在签约成功、结算成功等通知中回回传给商户。",
  115337. "example" : "ZMGO_AGR2021010510020604080000006001"
  115338. },
  115339. "alipay_open_id" : {
  115340. "type" : "string",
  115341. "description" : "支付宝用户ID",
  115342. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  115343. },
  115344. "alipay_user_id" : {
  115345. "type" : "string",
  115346. "description" : "支付宝用户ID",
  115347. "example" : "2088302841345600"
  115348. },
  115349. "memo" : {
  115350. "type" : "string",
  115351. "description" : "本次退款说明",
  115352. "example" : "退款"
  115353. },
  115354. "out_request_no" : {
  115355. "type" : "string",
  115356. "description" : "外部请求号",
  115357. "example" : "99202005050100930053707258"
  115358. },
  115359. "partner_id" : {
  115360. "type" : "string",
  115361. "description" : "商户ID",
  115362. "example" : "2088302424614288"
  115363. },
  115364. "refund_amount" : {
  115365. "type" : "string",
  115366. "description" : "退款金额,单位为:元(人民币),精确到小数点后两位",
  115367. "example" : "3.00"
  115368. },
  115369. "refund_type" : {
  115370. "type" : "string",
  115371. "description" : "退款类型:\tMEMBER_FEE_REFUND 会员费结算退款 ,WITHHOLD_FEE_REFUND 周期扣款金额退款。\t不填写默认为 MEMBER_FEE_REFUND",
  115372. "example" : "MEMBER_FEE_REFUND"
  115373. },
  115374. "withhold_plan_no" : {
  115375. "type" : "string",
  115376. "description" : "芝麻侧扣款计划单据号,在结算扣款成功的通知消息中会回传。",
  115377. "example" : "ZMGO_WHD2021010510020603410000006001"
  115378. }
  115379. }
  115380. },
  115381. "ZhimaCreditPeZmgoSettleRefundResponseModel" : {
  115382. "type" : "object",
  115383. "properties" : {
  115384. "fail_reason" : {
  115385. "type" : "string",
  115386. "description" : "退款操作错误原因描述",
  115387. "example" : "退款金额超限"
  115388. },
  115389. "out_request_no" : {
  115390. "type" : "string",
  115391. "description" : "外部请求号",
  115392. "example" : "99202005050100930053707258"
  115393. },
  115394. "refund_amount" : {
  115395. "type" : "string",
  115396. "description" : "本次请求退款金额",
  115397. "example" : "3.00"
  115398. },
  115399. "refund_opt_no" : {
  115400. "type" : "string",
  115401. "description" : "芝麻GO退款生成的内部唯一流水,外部商户可以拿这个参数进行对账",
  115402. "example" : "ZMGO_OPT202107271002060716000012522x"
  115403. },
  115404. "retry" : {
  115405. "type" : "boolean",
  115406. "description" : "此字段含义,商家接入时需咨询对接技术。",
  115407. "example" : "true"
  115408. },
  115409. "withhold_plan_no" : {
  115410. "type" : "string",
  115411. "description" : "本次退款的扣款计划单号",
  115412. "example" : "ZMGO_WHD2021010510020603410000006001"
  115413. }
  115414. }
  115415. },
  115416. "ZhimaCreditPeZmgoSettleUnfreezeErrorResponseModel" : {
  115417. "required" : [ "code", "message" ],
  115418. "type" : "object",
  115419. "properties" : {
  115420. "code" : {
  115421. "type" : "string",
  115422. "description" : "错误码",
  115423. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ZMGO_CONFIG_SYSTEM_ERROR", "BALANCE_AVAILABLE_AMOUNT_NOT_ENOUGH", "BALANCE_ACCOUNT_MISSING", "BIZ_ORDER_NOT_EXIST_FAILURE", "SETTLE_BIZ_AGREEMENT_NOT_EXIST", "UNFREEZE_AGR_N_STATUS", "BIZ_OPT_IDEMPOTENT_FAILURE", "BIZ_OPT_UPDATE_FAILURE", "BALANCE_USER_LOCK_COLLISION", "BALANCE_IDEMPOTENT_CHECK_FAILURE", "BALANCE_SYSTEM_AMOUNT_NOT_ENOUGH", "REQUEST_ACCESS_ILLEGAL" ]
  115424. },
  115425. "links" : {
  115426. "type" : "string",
  115427. "description" : "解决方案链接"
  115428. },
  115429. "message" : {
  115430. "type" : "string",
  115431. "description" : "错误描述"
  115432. }
  115433. }
  115434. },
  115435. "ZhimaCreditPeZmgoSettleUnfreezeModel" : {
  115436. "type" : "object",
  115437. "properties" : {
  115438. "agreement_id" : {
  115439. "type" : "string",
  115440. "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花呗先享协议号",
  115441. "example" : "20185513447859192007"
  115442. },
  115443. "alipay_open_id" : {
  115444. "type" : "string",
  115445. "description" : "买家在支付宝的用户id",
  115446. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  115447. },
  115448. "alipay_user_id" : {
  115449. "type" : "string",
  115450. "description" : "买家在支付宝的用户id",
  115451. "example" : "2088101117955611"
  115452. },
  115453. "biz_time" : {
  115454. "type" : "string",
  115455. "description" : "解冻成功时间",
  115456. "example" : "2014-09-15 11:23:04"
  115457. },
  115458. "order_title" : {
  115459. "type" : "string",
  115460. "description" : "解冻的描述",
  115461. "example" : "2088411663864410"
  115462. },
  115463. "out_request_no" : {
  115464. "type" : "string",
  115465. "description" : "商户本次操作的请求流水号,用于标识请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。由商户传入,最终返回给商户。",
  115466. "example" : "8077735255938032"
  115467. },
  115468. "partner_id" : {
  115469. "type" : "string",
  115470. "description" : "商户ID",
  115471. "example" : "2088411663864410"
  115472. },
  115473. "unfreeze_amount" : {
  115474. "type" : "string",
  115475. "description" : "解冻金额",
  115476. "example" : "3.00"
  115477. },
  115478. "unfreeze_extend_params" : {
  115479. "$ref" : "#/components/schemas/UnfreezeExtendParams"
  115480. }
  115481. }
  115482. },
  115483. "ZhimaCreditPeZmgoSettleUnfreezeResponseModel" : {
  115484. "type" : "object",
  115485. "properties" : {
  115486. "fail_reaseon" : {
  115487. "type" : "string",
  115488. "description" : "失败原因",
  115489. "example" : "余额户可用资金不足"
  115490. },
  115491. "retry" : {
  115492. "type" : "string",
  115493. "description" : "是否可以重试",
  115494. "example" : "true|false"
  115495. },
  115496. "unfreeze_amount" : {
  115497. "type" : "string",
  115498. "description" : "解冻金额字符串",
  115499. "example" : "1.00"
  115500. },
  115501. "unfreeze_status" : {
  115502. "type" : "string",
  115503. "description" : "解冻状态",
  115504. "example" : "Y/N"
  115505. }
  115506. }
  115507. },
  115508. "ZhimaCustomerJobworthAuthenticationQueryErrorResponseModel" : {
  115509. "required" : [ "code", "message" ],
  115510. "type" : "object",
  115511. "properties" : {
  115512. "code" : {
  115513. "type" : "string",
  115514. "description" : "错误码",
  115515. "enum" : [ "USER_NOT_AUTHORIZE", "TOKEN_INVALID", "NOT_OPEN_ZM", "USER_NOT_OPEN_JOBWORTH", "INVALID_PARAMETER", "JOB_WORTH_BLACK_LIST", "SYSTEM_ERROR" ]
  115516. },
  115517. "links" : {
  115518. "type" : "string",
  115519. "description" : "解决方案链接"
  115520. },
  115521. "message" : {
  115522. "type" : "string",
  115523. "description" : "错误描述"
  115524. }
  115525. }
  115526. },
  115527. "ZhimaCustomerJobworthAuthenticationQueryResponseModel" : {
  115528. "type" : "object",
  115529. "properties" : {
  115530. "identity_result" : {
  115531. "type" : "string",
  115532. "description" : "SUCCESS代表可信,FAILED代表不可信,WAITING_VERIFY代表未知需要等待结果",
  115533. "example" : "SUCCESS/FAILED/WAITING_VERIFY"
  115534. },
  115535. "identity_result_skip_url" : {
  115536. "type" : "string",
  115537. "description" : "身份认证查询结果页面的小程序链接,有芝麻提供,用户在端内可直接访问",
  115538. "example" : "alipays://platformapi/startapp?appId"
  115539. },
  115540. "token_status" : {
  115541. "type" : "string",
  115542. "description" : "代表订单状态",
  115543. "example" : "FINISH"
  115544. }
  115545. }
  115546. },
  115547. "ZhimaCustomerJobworthCloudresumeQueryErrorResponseModel" : {
  115548. "required" : [ "code", "message" ],
  115549. "type" : "object",
  115550. "properties" : {
  115551. "code" : {
  115552. "type" : "string",
  115553. "description" : "错误码",
  115554. "enum" : [ "USER_NOT_AUTHORIZE", "QUERY_DATA_IS_NULL", "SYSTEM_ERROR" ]
  115555. },
  115556. "links" : {
  115557. "type" : "string",
  115558. "description" : "解决方案链接"
  115559. },
  115560. "message" : {
  115561. "type" : "string",
  115562. "description" : "错误描述"
  115563. }
  115564. }
  115565. },
  115566. "ZhimaCustomerJobworthCloudresumeQueryResponseModel" : {
  115567. "type" : "object",
  115568. "properties" : {
  115569. "birthday" : {
  115570. "type" : "string",
  115571. "description" : "出身日期",
  115572. "example" : "出生日期"
  115573. },
  115574. "certificates" : {
  115575. "type" : "array",
  115576. "description" : "证书名称",
  115577. "items" : {
  115578. "$ref" : "#/components/schemas/CloudResumeCertificateInfo"
  115579. }
  115580. },
  115581. "education_experiences" : {
  115582. "type" : "array",
  115583. "description" : "教育经历",
  115584. "items" : {
  115585. "$ref" : "#/components/schemas/CloudResumeEducationExperience"
  115586. }
  115587. },
  115588. "gender" : {
  115589. "type" : "string",
  115590. "description" : "性别",
  115591. "example" : "男 or 女"
  115592. },
  115593. "phone" : {
  115594. "type" : "string",
  115595. "description" : "手机号码",
  115596. "example" : "1234"
  115597. },
  115598. "pic_url" : {
  115599. "$ref" : "#/components/schemas/CloudResumeHeadPic"
  115600. },
  115601. "position_intentions" : {
  115602. "type" : "array",
  115603. "description" : "求职期望",
  115604. "items" : {
  115605. "$ref" : "#/components/schemas/CloudResumePositionIntention"
  115606. }
  115607. },
  115608. "skills" : {
  115609. "type" : "array",
  115610. "description" : "技能信息",
  115611. "items" : {
  115612. "$ref" : "#/components/schemas/CloudResumeSkillInfo"
  115613. }
  115614. },
  115615. "user_name" : {
  115616. "type" : "string",
  115617. "description" : "姓名",
  115618. "example" : "姓名"
  115619. },
  115620. "work_experiences" : {
  115621. "type" : "array",
  115622. "description" : "工作经历",
  115623. "items" : {
  115624. "$ref" : "#/components/schemas/CloudResumeWorkExperience"
  115625. }
  115626. },
  115627. "work_start_date" : {
  115628. "type" : "integer",
  115629. "description" : "工作开始日期",
  115630. "example" : "123"
  115631. }
  115632. }
  115633. },
  115634. "ZhimaCustomerJobworthInfoQueryErrorResponseModel" : {
  115635. "required" : [ "code", "message" ],
  115636. "type" : "object",
  115637. "properties" : {
  115638. "code" : {
  115639. "type" : "string",
  115640. "description" : "错误码",
  115641. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BLACK_CONTROL", "JOB_ID_NOT_MATCH", "CONFIG_ERROR_WITHOUT_SERVICE_ID", "USER_NOT_AUTHORIZE", "ILLEGAL_ARGUMENT" ]
  115642. },
  115643. "links" : {
  115644. "type" : "string",
  115645. "description" : "解决方案链接"
  115646. },
  115647. "message" : {
  115648. "type" : "string",
  115649. "description" : "错误描述"
  115650. }
  115651. }
  115652. },
  115653. "ZhimaCustomerJobworthInfoQueryResponseModel" : {
  115654. "type" : "object",
  115655. "properties" : {
  115656. "acceptance_id" : {
  115657. "type" : "string",
  115658. "description" : "受理台单号作为jsapi的一个参数。如果不使用jsapi可以忽略",
  115659. "example" : "ZMEV99202108230100080001977388"
  115660. },
  115661. "auth_token" : {
  115662. "type" : "string",
  115663. "description" : "用于授权校验,授权之前需要通过token校验",
  115664. "example" : "124780137240912384128394"
  115665. },
  115666. "html_url" : {
  115667. "type" : "string",
  115668. "description" : "h5url",
  115669. "example" : "https://ssss"
  115670. },
  115671. "picture_url" : {
  115672. "type" : "string",
  115673. "description" : "职得工作证图片url,可以直接用于展示",
  115674. "example" : "http://www.123.com"
  115675. },
  115676. "scene_result" : {
  115677. "type" : "boolean",
  115678. "description" : "场景授权结果",
  115679. "example" : "true"
  115680. },
  115681. "sub_code" : {
  115682. "type" : "string",
  115683. "description" : "业务编码",
  115684. "example" : "USER_NOT_OPEN_ZHIMA"
  115685. },
  115686. "sub_msg" : {
  115687. "type" : "string",
  115688. "description" : "业务中文结果信息",
  115689. "example" : "用户没有开通芝麻"
  115690. },
  115691. "update_url" : {
  115692. "type" : "string",
  115693. "description" : "工作证图片更新的url,需要跳转到工作证小程序中进行更新",
  115694. "example" : "http://www.123123.com"
  115695. },
  115696. "url" : {
  115697. "type" : "string",
  115698. "description" : "职得工作证跳转小程序链接",
  115699. "example" : "http://www.123.com?XXX"
  115700. }
  115701. }
  115702. },
  115703. "ZhimaCustomerJobworthJobdataAddErrorResponseModel" : {
  115704. "required" : [ "code", "message" ],
  115705. "type" : "object",
  115706. "properties" : {
  115707. "code" : {
  115708. "type" : "string",
  115709. "description" : "错误码",
  115710. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ILLEGAL_ARGUMENT" ]
  115711. },
  115712. "links" : {
  115713. "type" : "string",
  115714. "description" : "解决方案链接"
  115715. },
  115716. "message" : {
  115717. "type" : "string",
  115718. "description" : "错误描述"
  115719. }
  115720. }
  115721. },
  115722. "ZhimaCustomerJobworthJobdataAddModel" : {
  115723. "type" : "object",
  115724. "properties" : {
  115725. "cert_no" : {
  115726. "type" : "string",
  115727. "description" : "身份证证件号",
  115728. "example" : "1101121983010****5"
  115729. },
  115730. "cert_type" : {
  115731. "type" : "string",
  115732. "description" : "0:身份证1:护照2:台湾同胞回乡证3:港澳居民往来内地通行证4:台湾居民通行证5:港澳居民通行证",
  115733. "example" : "0"
  115734. },
  115735. "conn_key" : {
  115736. "type" : "string",
  115737. "description" : "关联key,受理台返回",
  115738. "example" : "abcd12345678"
  115739. },
  115740. "job_data_list" : {
  115741. "type" : "array",
  115742. "description" : "回传信息",
  115743. "items" : {
  115744. "$ref" : "#/components/schemas/JobWorthJobdata"
  115745. }
  115746. },
  115747. "open_id" : {
  115748. "type" : "string",
  115749. "description" : "支付宝uid",
  115750. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  115751. },
  115752. "user_id" : {
  115753. "type" : "string",
  115754. "description" : "支付宝uid",
  115755. "example" : "2088302586280165"
  115756. },
  115757. "user_name" : {
  115758. "type" : "string",
  115759. "description" : "用户中文名",
  115760. "example" : "张三"
  115761. }
  115762. }
  115763. },
  115764. "ZhimaCustomerJobworthJobdataAddResponseModel" : {
  115765. "type" : "object",
  115766. "properties" : {
  115767. "acceptance_id" : {
  115768. "type" : "string",
  115769. "description" : "受理台单号,用来调用工作证受理台",
  115770. "example" : "abcd1234"
  115771. },
  115772. "sub_code" : {
  115773. "type" : "string",
  115774. "description" : "错误码",
  115775. "example" : "INVALID_PARAMETER"
  115776. },
  115777. "sub_msg" : {
  115778. "type" : "string",
  115779. "description" : "业务中文结果信息",
  115780. "example" : "参数有误"
  115781. },
  115782. "url" : {
  115783. "type" : "string",
  115784. "description" : "职得工作证跳转小程序链接",
  115785. "example" : "http://www.123.com?XXX"
  115786. }
  115787. }
  115788. },
  115789. "ZhimaCustomerJobworthPictureUploadErrorResponseModel" : {
  115790. "required" : [ "code", "message" ],
  115791. "type" : "object",
  115792. "properties" : {
  115793. "code" : {
  115794. "type" : "string",
  115795. "description" : "错误码",
  115796. "enum" : [ "ILLEGAL_ARGUMENT", "PICTURE_UPLOAD_LIMIT_ERROR", "PICTURE_TYPE_ERROR", "SYSTEM_ERROR" ]
  115797. },
  115798. "links" : {
  115799. "type" : "string",
  115800. "description" : "解决方案链接"
  115801. },
  115802. "message" : {
  115803. "type" : "string",
  115804. "description" : "错误描述"
  115805. }
  115806. }
  115807. },
  115808. "ZhimaCustomerJobworthPictureUploadModel" : {
  115809. "type" : "object",
  115810. "properties" : {
  115811. "content" : {
  115812. "type" : "string",
  115813. "description" : "图片对应的base64字符串,支持jpg和png,1M之内",
  115814. "example" : "-"
  115815. },
  115816. "pic_type" : {
  115817. "type" : "string",
  115818. "description" : "只能传入指定类型,具体类型看文档",
  115819. "example" : "JOB_DATA_UPLOAD"
  115820. }
  115821. }
  115822. },
  115823. "ZhimaCustomerJobworthPictureUploadResponseModel" : {
  115824. "type" : "object",
  115825. "properties" : {
  115826. "pic_id" : {
  115827. "type" : "string",
  115828. "description" : "图片返回ID",
  115829. "example" : "abcd123456"
  115830. },
  115831. "sub_code" : {
  115832. "type" : "string",
  115833. "description" : "错误码",
  115834. "example" : "PICTURE_UPLOAD_LIMIT_ERROR"
  115835. },
  115836. "sub_msg" : {
  115837. "type" : "string",
  115838. "description" : "错误原因",
  115839. "example" : "图片上传限制"
  115840. }
  115841. }
  115842. },
  115843. "ZhimaCustomerJobworthPositionAddErrorResponseModel" : {
  115844. "required" : [ "code", "message" ],
  115845. "type" : "object",
  115846. "properties" : {
  115847. "code" : {
  115848. "type" : "string",
  115849. "description" : "错误码",
  115850. "enum" : [ "INVALID_PARAMETER" ]
  115851. },
  115852. "links" : {
  115853. "type" : "string",
  115854. "description" : "解决方案链接"
  115855. },
  115856. "message" : {
  115857. "type" : "string",
  115858. "description" : "错误描述"
  115859. }
  115860. }
  115861. },
  115862. "ZhimaCustomerJobworthPositionAddModel" : {
  115863. "type" : "object",
  115864. "properties" : {
  115865. "jobworth_position_info" : {
  115866. "$ref" : "#/components/schemas/JobWorthPositionInfo"
  115867. }
  115868. }
  115869. },
  115870. "ZhimaCustomerJobworthPositionAddResponseModel" : {
  115871. "type" : "object",
  115872. "properties" : {
  115873. "position_id" : {
  115874. "type" : "string",
  115875. "description" : "岗位信息ID",
  115876. "example" : "123456789012345678901234"
  115877. },
  115878. "sub_code" : {
  115879. "type" : "string",
  115880. "description" : "业务错误",
  115881. "example" : "SALARY_ERROR"
  115882. },
  115883. "sub_msg" : {
  115884. "type" : "string",
  115885. "description" : "业务错误信息",
  115886. "example" : "薪水格式错误"
  115887. }
  115888. }
  115889. },
  115890. "ZhimaMerchantSubsidiariesApplyErrorResponseModel" : {
  115891. "required" : [ "code", "message" ],
  115892. "type" : "object",
  115893. "properties" : {
  115894. "code" : {
  115895. "type" : "string",
  115896. "description" : "错误码",
  115897. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "CREDIT_SERVICE_ID_NOT_EXIST", "SECURITY_RISK_ERROR", "SECURITY_RISK_NOT_PASS", "BIZ_FAIL", "PROCESS_DUPLICATION_ERROR", "DATA_UPDATE_ERROR", "PROCESS_ADD_ERROR", "FILE_TYPE_ILLEGAL", "FILE_VERIFY_WIDTH_HEIGHT_FAIL", "FILE_LOGO_CHECK_FAIL" ]
  115898. },
  115899. "links" : {
  115900. "type" : "string",
  115901. "description" : "解决方案链接"
  115902. },
  115903. "message" : {
  115904. "type" : "string",
  115905. "description" : "错误描述"
  115906. }
  115907. }
  115908. },
  115909. "ZhimaMerchantSubsidiariesApplyModel" : {
  115910. "type" : "object",
  115911. "properties" : {
  115912. "pid" : {
  115913. "type" : "string",
  115914. "description" : "商户pid",
  115915. "example" : "2088101117955612"
  115916. },
  115917. "service_id" : {
  115918. "type" : "string",
  115919. "description" : "信用服务id",
  115920. "example" : "20210413000000000000xxxxxxxx"
  115921. },
  115922. "smid" : {
  115923. "type" : "string",
  115924. "description" : "二级商户进件id",
  115925. "example" : "2088101118048455"
  115926. },
  115927. "sub_merchant_contact_number" : {
  115928. "type" : "string",
  115929. "description" : "子商户联系电话",
  115930. "example" : "200-000-0000"
  115931. },
  115932. "sub_merchant_jump_link" : {
  115933. "type" : "string",
  115934. "description" : "子商户跳转链接",
  115935. "example" : "https://xxxxxxxx"
  115936. },
  115937. "sub_merchant_logo_url" : {
  115938. "type" : "string",
  115939. "description" : "子商户logo地址",
  115940. "example" : "https://xxxxxxxx"
  115941. },
  115942. "sub_merchant_name" : {
  115943. "type" : "string",
  115944. "description" : "子商户名",
  115945. "example" : "XXX商户"
  115946. },
  115947. "sub_pid" : {
  115948. "type" : "string",
  115949. "description" : "子商户id",
  115950. "example" : "2088101117955611"
  115951. }
  115952. }
  115953. },
  115954. "ZhimaMerchantSubsidiariesApplyResponseModel" : {
  115955. "type" : "object",
  115956. "properties" : {
  115957. "biz_error_code" : {
  115958. "type" : "string",
  115959. "description" : "业务错误码",
  115960. "example" : "1001"
  115961. },
  115962. "biz_error_message" : {
  115963. "type" : "string",
  115964. "description" : "业务错误信息",
  115965. "example" : "处理失败"
  115966. },
  115967. "order_no" : {
  115968. "type" : "string",
  115969. "description" : "工单标识",
  115970. "example" : "100010"
  115971. }
  115972. }
  115973. },
  115974. "ZhimaMerchantSubsidiariesCloseErrorResponseModel" : {
  115975. "required" : [ "code", "message" ],
  115976. "type" : "object",
  115977. "properties" : {
  115978. "code" : {
  115979. "type" : "string",
  115980. "description" : "错误码",
  115981. "enum" : [ "SYSTEM_ERROR", "BIZ_FAIL", "INVALID_PARAMETER", "DATA_UPDATE_ERROR", "PROCESS_CANCEL_ERROR", "NO_AUTHORITY_HANDLE_DISSENT" ]
  115982. },
  115983. "links" : {
  115984. "type" : "string",
  115985. "description" : "解决方案链接"
  115986. },
  115987. "message" : {
  115988. "type" : "string",
  115989. "description" : "错误描述"
  115990. }
  115991. }
  115992. },
  115993. "ZhimaMerchantSubsidiariesCloseModel" : {
  115994. "type" : "object",
  115995. "properties" : {
  115996. "order_no" : {
  115997. "type" : "string",
  115998. "description" : "工单标识",
  115999. "example" : "100010"
  116000. }
  116001. }
  116002. },
  116003. "ZhimaMerchantSubsidiariesCloseResponseModel" : {
  116004. "type" : "object",
  116005. "properties" : {
  116006. "biz_error_code" : {
  116007. "type" : "string",
  116008. "description" : "业务错误码",
  116009. "example" : "1001"
  116010. },
  116011. "biz_error_message" : {
  116012. "type" : "string",
  116013. "description" : "业务错误信息",
  116014. "example" : "处理失败"
  116015. },
  116016. "order_memo" : {
  116017. "type" : "string",
  116018. "description" : "工单审核备注",
  116019. "example" : "审核通过"
  116020. },
  116021. "order_no" : {
  116022. "type" : "string",
  116023. "description" : "工单标识,业务成功时返回工单号",
  116024. "example" : "100010"
  116025. },
  116026. "order_status" : {
  116027. "type" : "string",
  116028. "description" : "工单状态",
  116029. "example" : "AGREE"
  116030. }
  116031. }
  116032. },
  116033. "ZhimaMerchantZmgoCumulateQueryErrorResponseModel" : {
  116034. "required" : [ "code", "message" ],
  116035. "type" : "object",
  116036. "properties" : {
  116037. "code" : {
  116038. "type" : "string",
  116039. "description" : "错误码",
  116040. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
  116041. },
  116042. "links" : {
  116043. "type" : "string",
  116044. "description" : "解决方案链接"
  116045. },
  116046. "message" : {
  116047. "type" : "string",
  116048. "description" : "错误描述"
  116049. }
  116050. }
  116051. },
  116052. "ZhimaMerchantZmgoCumulateQueryResponseModel" : {
  116053. "type" : "object",
  116054. "properties" : {
  116055. "aggr_amount" : {
  116056. "type" : "string",
  116057. "description" : "总共累计金额",
  116058. "example" : "99.99"
  116059. },
  116060. "aggr_discount_amount" : {
  116061. "type" : "string",
  116062. "description" : "总共累计优惠金额",
  116063. "example" : "83.88"
  116064. },
  116065. "aggr_times" : {
  116066. "type" : "integer",
  116067. "description" : "总共累计次数",
  116068. "example" : "4"
  116069. },
  116070. "agreement_id" : {
  116071. "type" : "string",
  116072. "description" : "芝麻go协议号,唯一标识一个芝麻go协议。",
  116073. "example" : "20195108518085620000"
  116074. },
  116075. "detail_list" : {
  116076. "type" : "array",
  116077. "description" : "详情数据列表",
  116078. "items" : {
  116079. "$ref" : "#/components/schemas/CumulateDataDetail"
  116080. }
  116081. },
  116082. "fail_reason" : {
  116083. "type" : "string",
  116084. "description" : "查询失败原因",
  116085. "example" : "协议已经失效"
  116086. },
  116087. "page_no" : {
  116088. "type" : "integer",
  116089. "description" : "分页参数,返回传入的值。",
  116090. "example" : "1"
  116091. },
  116092. "page_size" : {
  116093. "type" : "integer",
  116094. "description" : "分页参数,返回传入的值。",
  116095. "example" : "20"
  116096. }
  116097. }
  116098. },
  116099. "ZhimaMerchantZmgoCumulateSyncErrorResponseModel" : {
  116100. "required" : [ "code", "message" ],
  116101. "type" : "object",
  116102. "properties" : {
  116103. "code" : {
  116104. "type" : "string",
  116105. "description" : "错误码",
  116106. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_STATUS_INVALID" ]
  116107. },
  116108. "links" : {
  116109. "type" : "string",
  116110. "description" : "解决方案链接"
  116111. },
  116112. "message" : {
  116113. "type" : "string",
  116114. "description" : "错误描述"
  116115. }
  116116. }
  116117. },
  116118. "ZhimaMerchantZmgoCumulateSyncModel" : {
  116119. "type" : "object",
  116120. "properties" : {
  116121. "agreement_id" : {
  116122. "type" : "string",
  116123. "description" : "芝麻go协议号,唯一标识一个芝麻go协议。",
  116124. "example" : "20195108518085620000"
  116125. },
  116126. "amount_type_sync_data" : {
  116127. "$ref" : "#/components/schemas/AmountTypeSyncData"
  116128. },
  116129. "biz_action" : {
  116130. "type" : "string",
  116131. "description" : "数据回传的动作类型。枚举如下:\t* POSITIVE:正向回传,即订单金额累加,优惠累加,任务次数累加。\t* REVERSE:逆向回传,即订单金额退款,优惠退款,任务次数回退。",
  116132. "example" : "POSITIVE"
  116133. },
  116134. "biz_time" : {
  116135. "type" : "string",
  116136. "description" : "回传数据发生的实际时间,包括:订单交易时间,优惠核销时间,以及任务完成时间。为必传入参。 如:用户在【2019-03-08 00:00:00】核销了一个红包,但是【2019-03-10 00:00:00】才进行数据回传,此时biz_time取值红包核销的时间,也就是【2019-03-08 00:00:00】。",
  116137. "example" : "2019-03-08 19:51:35"
  116138. },
  116139. "data_type" : {
  116140. "type" : "string",
  116141. "description" : "回传数据类型,枚举:\tTASK - 进度型,影响进度\tDISCOUNT - 优惠型",
  116142. "example" : "TASK"
  116143. },
  116144. "discount_type_sync_data" : {
  116145. "$ref" : "#/components/schemas/DiscountTypeSyncData"
  116146. },
  116147. "open_id" : {
  116148. "type" : "string",
  116149. "description" : "用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  116150. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  116151. },
  116152. "out_biz_no" : {
  116153. "type" : "string",
  116154. "description" : "外部业务号,唯一标识一笔回传数据。",
  116155. "example" : "2020081211223006150094012926289"
  116156. },
  116157. "provider_pid" : {
  116158. "type" : "string",
  116159. "description" : "数据回传的商户 ID,即和用户发生业务来往的 PID 主体。商户账号在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
  116160. "example" : "2088621805983504"
  116161. },
  116162. "refer_out_biz_no" : {
  116163. "type" : "string",
  116164. "description" : "逆向对应的正向外部业务号。逆向场景为必传入参。也就是biz_action为REVERSE时为必传入参。 逆向时需通过此字段明确对应的正向的外部业务号。",
  116165. "example" : "2020081211223006150094012926289"
  116166. },
  116167. "sub_biz_action" : {
  116168. "type" : "string",
  116169. "description" : "数据回传动作子类型,枚举值,为必传入参。\tADD - 新增数据\tUPDATE - 修改数据\t备注:UPDATE只能更新金额信息。",
  116170. "example" : "ADD"
  116171. },
  116172. "times_type_sync_data" : {
  116173. "$ref" : "#/components/schemas/TimesTypeSyncData"
  116174. },
  116175. "user_id" : {
  116176. "type" : "string",
  116177. "description" : "用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。\t",
  116178. "example" : "2088602002015001"
  116179. }
  116180. }
  116181. },
  116182. "ZhimaMerchantZmgoCumulateSyncResponseModel" : {
  116183. "type" : "object",
  116184. "properties" : {
  116185. "agreement_id" : {
  116186. "type" : "string",
  116187. "description" : "芝麻go协议号,唯一标识一个芝麻go协议。",
  116188. "example" : "20195108518085620000"
  116189. },
  116190. "fail_reason" : {
  116191. "type" : "string",
  116192. "description" : "数据回传失败原因描述",
  116193. "example" : "协议已经失效"
  116194. },
  116195. "out_biz_no" : {
  116196. "type" : "string",
  116197. "description" : "外部业务号,唯一标识一笔回传数据。",
  116198. "example" : "2020081211223006150094012926289"
  116199. }
  116200. }
  116201. },
  116202. "ZhimaMerchantZmgoTemplateCreateErrorResponseModel" : {
  116203. "required" : [ "code", "message" ],
  116204. "type" : "object",
  116205. "properties" : {
  116206. "code" : {
  116207. "type" : "string",
  116208. "description" : "错误码",
  116209. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "CHECK_DEFAULT_VALUE_FAIL", "INVALID_CYCLE_FLEX_WITHHOLD_CONFIG", "INVALID_FULFILL_TIMES_SETTLE_PLAN", "INVALID_FREEZE_AMOUNT", "INVALID_CUSTOM_OPEN_TIP_LIST", "INVALID_SETTLEMENT_TYPE", "INVALID_QUIT_TYPE", "INVALID_BIZ_TYPE", "INVALID_PERIOD_MODE", "INVALID_APPOINT_DATE", "INVALID_PERIOD_TIME", "REQUEST_ACCESS_ILLEGAL", "INVALID_TEXT_CONTENT_FILL_VARIABLE", "INVALID_TEXT_CONTENT_FILL_RULEID", "CUSTOM_MERCHANT_LOGO_PREFIX_ILLEGAL", "CONTENT_SEC_CHECK_FAIL" ]
  116210. },
  116211. "links" : {
  116212. "type" : "string",
  116213. "description" : "解决方案链接"
  116214. },
  116215. "message" : {
  116216. "type" : "string",
  116217. "description" : "错误描述"
  116218. }
  116219. }
  116220. },
  116221. "ZhimaMerchantZmgoTemplateCreateModel" : {
  116222. "type" : "object",
  116223. "properties" : {
  116224. "basic_config" : {
  116225. "$ref" : "#/components/schemas/ZMGOBasicConfig"
  116226. },
  116227. "ext_config" : {
  116228. "$ref" : "#/components/schemas/ZMGOExtConfig"
  116229. },
  116230. "obligation_config" : {
  116231. "$ref" : "#/components/schemas/ZMGOObligationConfig"
  116232. },
  116233. "open_config" : {
  116234. "$ref" : "#/components/schemas/ZMGOOpenConfig"
  116235. },
  116236. "quit_config" : {
  116237. "$ref" : "#/components/schemas/ZMGOQuitConfig"
  116238. },
  116239. "right_config" : {
  116240. "$ref" : "#/components/schemas/ZMGORightConfig"
  116241. },
  116242. "settlement_config" : {
  116243. "$ref" : "#/components/schemas/ZMGOSettlementConfig"
  116244. }
  116245. }
  116246. },
  116247. "ZhimaMerchantZmgoTemplateCreateResponseModel" : {
  116248. "type" : "object",
  116249. "properties" : {
  116250. "template_no" : {
  116251. "type" : "string",
  116252. "description" : "芝麻GO模板号",
  116253. "example" : "ZMGO_TPL202206091002000195047"
  116254. }
  116255. }
  116256. },
  116257. "ZhimaMerchantZmgoTemplateQueryErrorResponseModel" : {
  116258. "required" : [ "code", "message" ],
  116259. "type" : "object",
  116260. "properties" : {
  116261. "code" : {
  116262. "type" : "string",
  116263. "description" : "错误码",
  116264. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "REQUEST_ACCESS_ILLEGAL" ]
  116265. },
  116266. "links" : {
  116267. "type" : "string",
  116268. "description" : "解决方案链接"
  116269. },
  116270. "message" : {
  116271. "type" : "string",
  116272. "description" : "错误描述"
  116273. }
  116274. }
  116275. },
  116276. "ZhimaMerchantZmgoTemplateQueryResponseModel" : {
  116277. "type" : "object",
  116278. "properties" : {
  116279. "basic_config" : {
  116280. "$ref" : "#/components/schemas/ZMGOBasicConfig"
  116281. },
  116282. "ext_config" : {
  116283. "$ref" : "#/components/schemas/ZMGOExtConfig"
  116284. },
  116285. "obligation_config" : {
  116286. "$ref" : "#/components/schemas/ZMGOObligationConfig"
  116287. },
  116288. "open_config" : {
  116289. "$ref" : "#/components/schemas/ZMGOOpenConfig"
  116290. },
  116291. "quit_config" : {
  116292. "$ref" : "#/components/schemas/ZMGOQuitConfig"
  116293. },
  116294. "right_config" : {
  116295. "$ref" : "#/components/schemas/ZMGORightConfig"
  116296. },
  116297. "settlement_config" : {
  116298. "$ref" : "#/components/schemas/ZMGOSettlementConfig"
  116299. }
  116300. }
  116301. },
  116302. "ZhubUidTelPair" : {
  116303. "type" : "object",
  116304. "properties" : {
  116305. "open_id" : {
  116306. "type" : "string",
  116307. "description" : "支付宝用户open_id",
  116308. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  116309. },
  116310. "phone" : {
  116311. "type" : "string",
  116312. "description" : "手机号",
  116313. "example" : "13817337490"
  116314. },
  116315. "user_id" : {
  116316. "type" : "string",
  116317. "description" : "支付宝uid",
  116318. "example" : "2088302193568425"
  116319. }
  116320. }
  116321. },
  116322. "ZolozAuthenticationCustomerFacemanageCreateErrorResponseModel" : {
  116323. "required" : [ "code", "message" ],
  116324. "type" : "object",
  116325. "properties" : {
  116326. "code" : {
  116327. "type" : "string",
  116328. "description" : "错误码",
  116329. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "EXTRACT_FAIL", "UNABLE_GET_IMAGE", "ILLEGAL_CERT", "NOT_OPEN_SMILE", "UID_NOT_FOUND" ]
  116330. },
  116331. "links" : {
  116332. "type" : "string",
  116333. "description" : "解决方案链接"
  116334. },
  116335. "message" : {
  116336. "type" : "string",
  116337. "description" : "错误描述"
  116338. }
  116339. }
  116340. },
  116341. "ZolozAuthenticationCustomerFacemanageCreateModel" : {
  116342. "type" : "object",
  116343. "properties" : {
  116344. "areacode" : {
  116345. "type" : "string",
  116346. "description" : "地域编码",
  116347. "example" : "010"
  116348. },
  116349. "biz_type" : {
  116350. "type" : "string",
  116351. "description" : "人脸产品能力,预热场景,需要传college,k12,scenic,subway,traffic。具体值视具体场景",
  116352. "example" : "1"
  116353. },
  116354. "bizscale" : {
  116355. "type" : "string",
  116356. "description" : "业务量规模",
  116357. "example" : "99999999活跃人数"
  116358. },
  116359. "brandcode" : {
  116360. "type" : "string",
  116361. "description" : "商户品牌",
  116362. "example" : "KFC"
  116363. },
  116364. "devicenum" : {
  116365. "type" : "string",
  116366. "description" : "商户机具唯一编码,关键参数\t人脸预热,传logicGroupId",
  116367. "example" : "123456"
  116368. },
  116369. "extinfo" : {
  116370. "type" : "string",
  116371. "description" : "拓展参数",
  116372. "example" : "{}"
  116373. },
  116374. "facetype" : {
  116375. "type" : "string",
  116376. "description" : "入库类型 IDCARD:身份证 ALIPAY_USER:支付宝用户id, ALIPAY_TEL:手机号入库 CUSTOMER:自定义 DIRECT_CLIENT_PRE:本地预写入 DIRECT_CLIENT:本地客户端库 ENCLOSED:封闭场景",
  116377. "example" : "DIRECT_CLIENT"
  116378. },
  116379. "faceval" : {
  116380. "type" : "string",
  116381. "description" : "入库用户信息 人脸预热,alipayUid必填",
  116382. "example" : "示例[{\"alipayUid\":\"2088402144983195\",\"customUserId\":\"01\", \"faceContent\":\"base64String\"}]"
  116383. },
  116384. "group" : {
  116385. "type" : "string",
  116386. "description" : "分组5",
  116387. "example" : "group0"
  116388. },
  116389. "storecode" : {
  116390. "type" : "string",
  116391. "description" : "球房编码",
  116392. "example" : "HZ1000435"
  116393. },
  116394. "validtimes" : {
  116395. "type" : "string",
  116396. "description" : "有效期天数,如7天、30天、365天",
  116397. "example" : "7"
  116398. }
  116399. }
  116400. },
  116401. "ZolozAuthenticationCustomerFacemanageCreateResponseModel" : {
  116402. "type" : "object",
  116403. "properties" : {
  116404. "result" : {
  116405. "type" : "string",
  116406. "description" : "业务结果",
  116407. "example" : "{}"
  116408. },
  116409. "retcode" : {
  116410. "type" : "string",
  116411. "description" : "返回码",
  116412. "example" : "OK_SUCCESS"
  116413. },
  116414. "retcodesub" : {
  116415. "type" : "string",
  116416. "description" : "返回详细码",
  116417. "example" : "Z3161"
  116418. },
  116419. "retmessage" : {
  116420. "type" : "string",
  116421. "description" : "返回信息",
  116422. "example" : "成功"
  116423. },
  116424. "retmessagesub" : {
  116425. "type" : "string",
  116426. "description" : "返回详细信息",
  116427. "example" : "非法参数类型"
  116428. }
  116429. }
  116430. },
  116431. "ZolozAuthenticationCustomerFacemanageDeleteErrorResponseModel" : {
  116432. "required" : [ "code", "message" ],
  116433. "type" : "object",
  116434. "properties" : {
  116435. "code" : {
  116436. "type" : "string",
  116437. "description" : "错误码",
  116438. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
  116439. },
  116440. "links" : {
  116441. "type" : "string",
  116442. "description" : "解决方案链接"
  116443. },
  116444. "message" : {
  116445. "type" : "string",
  116446. "description" : "错误描述"
  116447. }
  116448. }
  116449. },
  116450. "ZolozAuthenticationCustomerFacemanageDeleteModel" : {
  116451. "type" : "object",
  116452. "properties" : {
  116453. "areacode" : {
  116454. "type" : "string",
  116455. "description" : "地域编码",
  116456. "example" : "010"
  116457. },
  116458. "biz_type" : {
  116459. "type" : "string",
  116460. "description" : "人脸产品能力",
  116461. "example" : "1"
  116462. },
  116463. "bizscale" : {
  116464. "type" : "string",
  116465. "description" : "业务量",
  116466. "example" : "9999999999"
  116467. },
  116468. "brandcode" : {
  116469. "type" : "string",
  116470. "description" : "商户品牌",
  116471. "example" : "KFC"
  116472. },
  116473. "devicenum" : {
  116474. "type" : "string",
  116475. "description" : "商户机具唯一编码,关键参数",
  116476. "example" : "商户机具唯一编码"
  116477. },
  116478. "extinfo" : {
  116479. "type" : "string",
  116480. "description" : "拓展参数",
  116481. "example" : "{}"
  116482. },
  116483. "facetype" : {
  116484. "type" : "string",
  116485. "description" : "入库类型\tIDCARD:身份证\tALIPAY_USER:支付宝用户id,\tALIPAY_TEL:手机号入库\tCUSTOMER:自定义",
  116486. "example" : "IDCARD,ALIPAY_USER, ALIPAY_TEL,CUSTOMER"
  116487. },
  116488. "faceval" : {
  116489. "type" : "string",
  116490. "description" : "入库用户信息",
  116491. "example" : "类型为IDCARD数据格式:[{\"certName\": \"张三\",\"certNo\":\"3101101999xxxxxxxx\",\"certType\":\"IDCARD\"}]类型ALIPAY_USER数据格式:[{\"alipayUid\":\"20885022\"}]"
  116492. },
  116493. "group" : {
  116494. "type" : "string",
  116495. "description" : "分组",
  116496. "example" : "group0"
  116497. },
  116498. "storecode" : {
  116499. "type" : "string",
  116500. "description" : "球房编码",
  116501. "example" : "HZ1000435"
  116502. },
  116503. "validtimes" : {
  116504. "type" : "string",
  116505. "description" : "有效期天数,如7天、30天、365天",
  116506. "example" : "7"
  116507. }
  116508. }
  116509. },
  116510. "ZolozAuthenticationCustomerFacemanageDeleteResponseModel" : {
  116511. "type" : "object",
  116512. "properties" : {
  116513. "result" : {
  116514. "type" : "string",
  116515. "description" : "返回值",
  116516. "example" : "{}"
  116517. },
  116518. "retcode" : {
  116519. "type" : "string",
  116520. "description" : "返回码",
  116521. "example" : "OK_SUCCESS"
  116522. },
  116523. "retcodesub" : {
  116524. "type" : "string",
  116525. "description" : "返回详细码",
  116526. "example" : "Z3111"
  116527. },
  116528. "retmessage" : {
  116529. "type" : "string",
  116530. "description" : "返回信息",
  116531. "example" : "成功"
  116532. },
  116533. "retmessagesub" : {
  116534. "type" : "string",
  116535. "description" : "返回详细信息",
  116536. "example" : "出库成功"
  116537. }
  116538. }
  116539. },
  116540. "ZolozAuthenticationCustomerFtokenQueryErrorResponseModel" : {
  116541. "required" : [ "code", "message" ],
  116542. "type" : "object",
  116543. "properties" : {
  116544. "code" : {
  116545. "type" : "string",
  116546. "description" : "错误码",
  116547. "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR", "FTOKEN_INVALID", "TOKEN_NOT_FOUND", "UID_NOT_FOUND", "TOKEN_EXPIRED", "TOKEN_CONSUMED" ]
  116548. },
  116549. "links" : {
  116550. "type" : "string",
  116551. "description" : "解决方案链接"
  116552. },
  116553. "message" : {
  116554. "type" : "string",
  116555. "description" : "错误描述"
  116556. }
  116557. }
  116558. },
  116559. "ZolozAuthenticationCustomerFtokenQueryModel" : {
  116560. "type" : "object",
  116561. "properties" : {
  116562. "biz_type" : {
  116563. "type" : "string",
  116564. "description" : "1、1:1人脸验证能力\r\t2、1:n人脸搜索能力(支付宝uid入库)\r\t3、1:n人脸搜索能力(支付宝手机号入库)\r\t4、手机号和人脸识别综合能力",
  116565. "example" : "1"
  116566. },
  116567. "ext_info" : {
  116568. "$ref" : "#/components/schemas/FaceExtInfo"
  116569. },
  116570. "ftoken" : {
  116571. "type" : "string",
  116572. "description" : "人脸token",
  116573. "example" : "fp0593e8d5c136277f13fd5bc36c13a7db7"
  116574. },
  116575. "zim_id" : {
  116576. "type" : "string",
  116577. "description" : "刷脸初始化流程中产生的zimId值",
  116578. "example" : "3b35b4677de2c69bb5bab69a4a5168d62"
  116579. }
  116580. }
  116581. },
  116582. "ZolozAuthenticationCustomerFtokenQueryResponseModel" : {
  116583. "type" : "object",
  116584. "properties" : {
  116585. "age_check_result" : {
  116586. "type" : "string",
  116587. "description" : "年龄是否在指定范围内,未指定范围则返回空,true/false",
  116588. "example" : "true"
  116589. },
  116590. "authimg_base_64" : {
  116591. "type" : "string",
  116592. "description" : "图片base64 encodeString",
  116593. "example" : "图片base64 encodeString"
  116594. },
  116595. "cert_name" : {
  116596. "type" : "string",
  116597. "description" : "证件姓名",
  116598. "example" : "张三"
  116599. },
  116600. "cert_no" : {
  116601. "type" : "string",
  116602. "description" : "身份证号码",
  116603. "example" : "身份证号码"
  116604. },
  116605. "face_id" : {
  116606. "type" : "string",
  116607. "description" : "由ISV定义的对自然人唯一编码,举例可以是身份证号码和姓名的MD5值,或者是其他编码方式,要求脱敏、随机且在ISV可以唯一说明一个自然人",
  116608. "example" : "6458f8361582010447730145389650"
  116609. },
  116610. "open_id" : {
  116611. "type" : "string",
  116612. "description" : "支付宝用户open_id",
  116613. "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
  116614. },
  116615. "uid" : {
  116616. "type" : "string",
  116617. "description" : "支付宝uid",
  116618. "example" : "2088002842508713"
  116619. },
  116620. "uid_tel_pair_list" : {
  116621. "type" : "array",
  116622. "description" : "用户名信息返回的列表",
  116623. "items" : {
  116624. "$ref" : "#/components/schemas/ZhubUidTelPair"
  116625. }
  116626. }
  116627. }
  116628. },
  116629. "ZolozAuthenticationCustomerSmilepayInitializeErrorResponseModel" : {
  116630. "required" : [ "code", "message" ],
  116631. "type" : "object",
  116632. "properties" : {
  116633. "code" : {
  116634. "type" : "string",
  116635. "description" : "错误码",
  116636. "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "MACHINE_SERVICE_SUSPEND", "BIZ_ID_REPEAT" ]
  116637. },
  116638. "links" : {
  116639. "type" : "string",
  116640. "description" : "解决方案链接"
  116641. },
  116642. "message" : {
  116643. "type" : "string",
  116644. "description" : "错误描述"
  116645. }
  116646. }
  116647. },
  116648. "ZolozAuthenticationCustomerSmilepayInitializeModel" : {
  116649. "type" : "object",
  116650. "properties" : {
  116651. "service_id" : {
  116652. "type" : "string",
  116653. "description" : "刷脸服务Id",
  116654. "example" : "pay-刷脸支付\nauth-刷脸核身"
  116655. },
  116656. "service_params" : {
  116657. "type" : "string",
  116658. "description" : "商户可传入刷脸服务所需的扩展参数,json格式",
  116659. "example" : "{\"key1\": \"value1\"}"
  116660. },
  116661. "zimmetainfo" : {
  116662. "type" : "string",
  116663. "description" : "{ \"apdidToken\": \"设备指纹\", \"appName\": \"应用名称\", \"appVersion\": \"应用版本\", \"bioMetaInfo\": \"生物信息如2.3.0:3,-4\" }",
  116664. "example" : "{ \"apdidToken\": \"设备指纹\", \"appName\": \"应用名称\", \"appVersion\": \"应用版本\", \"bioMetaInfo\": \"生物信息如2.3.0:3,-4\" }"
  116665. }
  116666. }
  116667. },
  116668. "ZolozAuthenticationCustomerSmilepayInitializeResponseModel" : {
  116669. "type" : "object",
  116670. "properties" : {
  116671. "result" : {
  116672. "type" : "string",
  116673. "description" : "返回值",
  116674. "example" : "{\"zimId\":\"54acb4edf8884e9c38c5c3614cc53ae3c\",\"type\":\"zimInit\",\"zimInitClientData\":\"唤起人脸客户端参数\"}"
  116675. }
  116676. }
  116677. },
  116678. "ZolozAuthenticationSmilepayInitializeErrorResponseModel" : {
  116679. "required" : [ "code", "message" ],
  116680. "type" : "object",
  116681. "properties" : {
  116682. "code" : {
  116683. "type" : "string",
  116684. "description" : "错误码",
  116685. "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
  116686. },
  116687. "links" : {
  116688. "type" : "string",
  116689. "description" : "解决方案链接"
  116690. },
  116691. "message" : {
  116692. "type" : "string",
  116693. "description" : "错误描述"
  116694. }
  116695. }
  116696. },
  116697. "ZolozAuthenticationSmilepayInitializeModel" : {
  116698. "type" : "object",
  116699. "properties" : {
  116700. "apdid_token" : {
  116701. "type" : "string",
  116702. "description" : "设备指纹,用于唯一标识一台设备",
  116703. "example" : "40Kl9e97cQcMJka5gfT0arVPq7GTaR6yE5f73mj8zqBW9eOPZQEAAA=="
  116704. },
  116705. "app_name" : {
  116706. "type" : "string",
  116707. "description" : "人脸识别应用名称",
  116708. "example" : "com.alipay.zoloz.smile"
  116709. },
  116710. "app_version" : {
  116711. "type" : "string",
  116712. "description" : "人脸识别应用版本号",
  116713. "example" : "3.7.0.201809191618"
  116714. },
  116715. "base_ver" : {
  116716. "type" : "string",
  116717. "description" : "基础包版本号",
  116718. "example" : "7.1.1"
  116719. },
  116720. "bio_meta_info" : {
  116721. "type" : "string",
  116722. "description" : "生物识别元信息",
  116723. "example" : "3.13.0:12419136,6"
  116724. },
  116725. "device_model" : {
  116726. "type" : "string",
  116727. "description" : "设备型号",
  116728. "example" : "T2"
  116729. },
  116730. "device_type" : {
  116731. "type" : "string",
  116732. "description" : "设备类型",
  116733. "example" : "android"
  116734. },
  116735. "ext_info" : {
  116736. "$ref" : "#/components/schemas/FaceExtParams"
  116737. },
  116738. "machine_info" : {
  116739. "$ref" : "#/components/schemas/FaceMachineInfo"
  116740. },
  116741. "merchant_info" : {
  116742. "$ref" : "#/components/schemas/FaceMerchantInfo"
  116743. },
  116744. "os_version" : {
  116745. "type" : "string",
  116746. "description" : "操作系统版本号",
  116747. "example" : "7.1.1"
  116748. },
  116749. "remote_log_id" : {
  116750. "type" : "string",
  116751. "description" : "业务ID",
  116752. "example" : "bcf71c4290f288f4421ee9d49eedbf1e2840ba"
  116753. },
  116754. "zim_ver" : {
  116755. "type" : "string",
  116756. "description" : "ZIM版本号",
  116757. "example" : "1.0.0"
  116758. }
  116759. }
  116760. },
  116761. "ZolozAuthenticationSmilepayInitializeResponseModel" : {
  116762. "type" : "object",
  116763. "properties" : {
  116764. "ret_code_sub" : {
  116765. "type" : "string",
  116766. "description" : "返回详细码",
  116767. "example" : "Z3161"
  116768. },
  116769. "ret_message_sub" : {
  116770. "type" : "string",
  116771. "description" : "返回详细信息",
  116772. "example" : "操作成功"
  116773. },
  116774. "zim_id" : {
  116775. "type" : "string",
  116776. "description" : "ZIM上下文ID",
  116777. "example" : "e0bdf675bc8b6f442eb03b2109d59c92d"
  116778. },
  116779. "zim_init_client_data" : {
  116780. "type" : "string",
  116781. "description" : "客户端协议",
  116782. "example" : "客户端渲染数据,JSON或PB格式"
  116783. }
  116784. }
  116785. }
  116786. },
  116787. "parameters" : {
  116788. "AuthToken" : {
  116789. "name" : "auth_token",
  116790. "in" : "query",
  116791. "description" : "用户授权令牌",
  116792. "allowEmptyValue" : true,
  116793. "schema" : {
  116794. "type" : "string"
  116795. }
  116796. },
  116797. "TargetAppId" : {
  116798. "name" : "target_app_id",
  116799. "in" : "query",
  116800. "description" : "目标isv应用ID",
  116801. "schema" : {
  116802. "type" : "string"
  116803. }
  116804. }
  116805. }
  116806. }
  116807. }